PDA

View Full Version : Email notification for all replies


Aylwin
04-03-2005, 10:00 PM
This mini mod sends email notifications for all replies to subscribed threads regardless of whether or not the user visits the forums. This is based on a mini mod for vB2 found here: https://vborg.vbsupport.ru/showthread.php?t=32593

Open functions_newpost.php, at around line 1040, find and delete this line:
user.lastactivity > " . intval($lastposttime['dateline']) . " ANDThat's all. :)

It's also a good idea to update the notify phrase by removing "There may be other replies also, but you will not receive any more notifications until you visit the forum again."

amphicar770
04-05-2005, 02:30 PM
Nice work.

If this could be further modified to include the full text of the message that would be great. Ultimately, I would like my users to be able to elect to receive such emails for all posts in a specified forum.

Aylwin
04-05-2005, 06:36 PM
The instant email notifications already include the full text of the message posted. No further modification is necessary.

I, too, would like to have instant email notifications as a user option when subscribing to forums (instead of just Daily and Weekly). I heard this will be a feature in the next release. I just wish it would be available sooner.

sidauhee
06-29-2005, 08:09 AM
Just a thought,

Because currently the email notification doesnt send the mails if i was the one who replied to the thread, does it mean that if i remove the line

user.userid <> " . intval($userid) . " AND (above user.lastactivity > " . intval($lastposttime['dateline']) . " AND)

it will send the notification email even if i was the one who posted the reply?

chinch
03-11-2008, 01:12 AM
this does not seem to work with 3.67... any other ideas?