Advertisement:
NameCheap

Author Topic: Notify Modification Last Post  (Read 28307 times)

Offline mightyharimau

  • Newbie
  • *
  • Posts: 3
Re: Notify Modification Last Post
« Reply #60 on: January 23, 2014, 04:42:20 AM »
Help, there is a package error when installing version 1.1 to SMF version 2.0.6.

The package error is at ./Sources/Sub-Post.php

I tried following the below command but it seems that the error still persist.

Code: (Find) [Select]
   // Mark inserted topic as read.
Code: (Add Before) [Select]

   if ($modSettings['ModifyLastPostMail'] || $modSettings['ModifyLastPostBump'] || $modSettings['ModifyLastPostIcon'])
      NotifyUpdateLastMessages($msgOptions, $topicOptions);

Would appreciate your kind help.

Thanks,
Selvan

Offline NekoJonez

  • Full Member
  • ***
  • Posts: 426
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Re: Notify Modification Last Post
« Reply #61 on: January 23, 2014, 04:52:40 AM »
I'm looking into the same issue right now. Please give me a moment.



"// Mark inserted topic as read." is incomplete. Check what it's for you with an editor.
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Offline mightyharimau

  • Newbie
  • *
  • Posts: 3
Re: Notify Modification Last Post
« Reply #62 on: January 23, 2014, 05:36:04 AM »
This is the command line on my side,

// Mark inserted topic as read (only for the user calling this function).


Offline NekoJonez

  • Full Member
  • ***
  • Posts: 426
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Re: Notify Modification Last Post
« Reply #63 on: January 31, 2014, 07:25:27 AM »
I have one file not found...
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Online Branko.

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 3,283
  • Gender: Male
  • U zemlji slijepih, jednooki je kralj
    • SATForum
Re: Notify Modification Last Post
« Reply #64 on: January 31, 2014, 08:13:25 AM »
Which file can not be found?
Strong people don't put others down, they lift them up.

Offline NekoJonez

  • Full Member
  • ***
  • Posts: 426
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Re: Notify Modification Last Post
« Reply #65 on: January 31, 2014, 08:20:46 AM »
./Themes/default/scripts/xml_topic.js
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 62,916
Re: Notify Modification Last Post
« Reply #66 on: January 31, 2014, 08:21:34 AM »
A file which was phased out years ago.
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor

Offline NekoJonez

  • Full Member
  • ***
  • Posts: 426
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Re: Notify Modification Last Post
« Reply #67 on: January 31, 2014, 08:22:53 AM »
So, what should I do? Install with ignore the missing file?
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 62,916
Re: Notify Modification Last Post
« Reply #68 on: January 31, 2014, 09:15:53 AM »
Um... just think for a minute. If a mod was written for a 5 year old version of SMF such that files don't even EXIST now, does it sound like a good idea to try installing it? Heck, the version of SMF this was built for predates the Curve theme in SMF 2.x...
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor

Online Branko.

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 3,283
  • Gender: Male
  • U zemlji slijepih, jednooki je kralj
    • SATForum
Re: Notify Modification Last Post
« Reply #69 on: January 31, 2014, 10:22:13 AM »
./Themes/default/scripts/xml_topic.js

Unpack NotifyModificationLastPost 1.3.zip then open (in Notepad++) install_2.xml
Find in line 155 this : <file name="$themedir/scripts/xml_topic.js"> and replace with <file name="$themedir/scripts/topic.js"> and save it.

Also, some changes are needed in this file:
Line 146 // Mark inserted topic as read. replace with // Mark inserted topic as read (only for the user calling this function). because this comment is modified in latest versions ( @mightyharimau have this problem )

Keep in mind this:
Um... just think for a minute. If a mod was written for a 5 year old version of SMF such that files don't even EXIST now, does it sound like a good idea to try installing it? Heck, the version of SMF this was built for predates the Curve theme in SMF 2.x...
Strong people don't put others down, they lift them up.

Offline Nicholaus

  • Semi-Newbie
  • *
  • Posts: 27
Re: Notify Modification Last Post
« Reply #70 on: January 31, 2014, 12:02:11 PM »
Hey! I've seen better mods. But this is interested by me.

Offline NekoJonez

  • Full Member
  • ***
  • Posts: 426
  • Gender: Male
  • Stuff
    • @NekoJonez on Twitter
    • My blog
Re: Notify Modification Last Post
« Reply #71 on: February 01, 2014, 10:06:23 AM »
./Themes/default/scripts/xml_topic.js

Unpack NotifyModificationLastPost 1.3.zip then open (in Notepad++) install_2.xml
Find in line 155 this : <file name="$themedir/scripts/xml_topic.js"> and replace with <file name="$themedir/scripts/topic.js"> and save it.

Also, some changes are needed in this file:
Line 146 // Mark inserted topic as read. replace with // Mark inserted topic as read (only for the user calling this function). because this comment is modified in latest versions ( @mightyharimau have this problem )

Keep in mind this:
Um... just think for a minute. If a mod was written for a 5 year old version of SMF such that files don't even EXIST now, does it sound like a good idea to try installing it? Heck, the version of SMF this was built for predates the Curve theme in SMF 2.x...

Agreed with both of you. But I think this is a feature that belongs in SMF. Or is it already in SMF in the latest version?
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 62,916
Re: Notify Modification Last Post
« Reply #72 on: February 01, 2014, 07:02:55 PM »
No it is not in 2.0, since no major features were added after 2.0 RC1 when this was originally written.

I have no plans to add this in 2.1 even with the major overhaul of notifications.
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor

Offline TrIn@dOr

  • Newbie
  • *
  • Posts: 1
Re: Notify Modification Last Post
« Reply #73 on: October 24, 2014, 08:50:40 AM »
So, which mod can we use to quick-bump posts?

Thanks.

Online Branko.

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 3,283
  • Gender: Male
  • U zemlji slijepih, jednooki je kralj
    • SATForum
Re: Notify Modification Last Post
« Reply #74 on: October 24, 2014, 06:05:29 PM »
Strong people don't put others down, they lift them up.