vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Instant email in Forum subscription, how to? (https://vborg.vbsupport.ru/showthread.php?t=234291)

JohnnieOO 01-27-2010 01:38 PM

Instant email in Forum subscription, how to?
 
I currently run 3.8.4. I have a desire to allow users of a specific forum to receive instant email subscription for new posts/threads in that forum. The current forum subscription options only include daily or weekly updates. Can anyone help me figure out how to add an instant email to this feature (like the instant email thread subscription).

Thanks,

Johnnie

Lynne 01-27-2010 02:16 PM

I do not believe there is an option for instant email for the forum, only for threads. That could be pretty server intensive if everytime there is a new post in a forum, emails get sent out to a ton of users.

JohnnieOO 01-27-2010 02:29 PM

Lynne, I have a private forum for only a handful of users. They have asked for this feature and so I am exploring the feasability for only the private forum.

Lynne 01-27-2010 04:26 PM

First, you'd have to add that option for the forum - probably look at the template code and add it there (right now, there is a condition around it that stops it from showing up when subscribing to a forum - $show[subscriptions] or something like that, I can't remember off the top of my head).

Then, you will have to look into the thread code that sends an email automatically when a user is subscribed to the thread. You'll have to add to that code to check if a user is subscribed to the forum to get instant emails and send them then.

JohnnieOO 02-09-2010 01:05 PM

Thanks Lynn,
Unfortunately for me, that is all above my skill level (which is quite low).

Johnnie


All times are GMT. The time now is 05:53 AM.

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.00967 seconds
  • Memory Usage 1,708KB
  • 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)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