vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Email notification for all replies (https://vborg.vbsupport.ru/showthread.php?t=79305)

Aylwin 04-03-2005 10:00 PM

Email notification for all replies
 
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:
Code:

                        user.lastactivity > " . intval($lastposttime['dateline']) . " AND
That'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?


All times are GMT. The time now is 03:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03502 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete