Notify Modification Last Post

Started by M-DVD, January 06, 2009, 07:45:29 AM

Previous topic - Next topic

mightyharimau

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

NekoJonez

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

mightyharimau

This is the command line on my side,

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


NekoJonez

Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Branko.

Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

NekoJonez

./Themes/default/scripts/xml_topic.js
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Arantor

A file which was phased out years ago.

NekoJonez

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

Arantor

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...

Branko.

Quote from: NekoJonez on January 31, 2014, 08:20:46 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:
Quote from: Sir Cumber-Patcher 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...
Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

Nicholaus

Hey! I've seen better mods. But this is interested by me.

NekoJonez

Quote from: Branko. on January 31, 2014, 10:22:13 AM
Quote from: NekoJonez on January 31, 2014, 08:20:46 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:
Quote from: Sir Cumber-Patcher 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...

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

Arantor

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.

TrIn@dOr

So, which mod can we use to quick-bump posts?

Thanks.

Branko.

Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

Gwenwyfar

Yeah, had the same issues, but even fixing them it doesn't work.
(Only saw this topic now :P)

Any other mod options for doing this? I don't want people to simply be able to bump things, I just want edits to mark something as unread and bump it :/
"It is impossible to communicate with one that does not wish to communicate"

Advertisement: