MyBB Community Forums

Full Version: E-mail notification on all new posts on subscribed threads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a simple question regarding subscribed threads. Currently, when a user is subscribed to a thread via e-mail notifications, (s)he is notified only on the first new post on that thread and not on subsequent new posts until (s)he visits the thread.

Is it possible to enable notification on ALL new posts, even if the user as not seen the earlier ones?

NOTE: PM notifications notify on all new posts, so a workaround is possible by enabling e-mail notifications on PMs + subscribing with PM notification but it is ugly.
file => ~/inc/datahandlers/post.php

line => 1113 [GitHub link]
AND u.lastactive>'{$thread['lastpost']}'

line => 1623 [GitHub link]
AND u.lastactive > '{$forum['lastpost']}'

you can remove above 2 code lines & check if it helps

Note: php files should be saved with utf-8 encoding without Byte Order Mark.
in general, we use editor like Notepad++ or file editor at web host panel to edit the files.