vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Instant New Thread email notification (https://vborg.vbsupport.ru/showthread.php?t=301905)

charris0910 09-05-2013 11:45 AM

Instant New Thread email notification
 
Anyone else notice that new thread posts do not generate email notifications? Any subsequent replies to the thread do seem to generate email notifications.

Any fixes for this?

wdwms 09-24-2013 11:25 AM

Yes and its stupid annoying, listed as a bug here: http://tracker.vbulletin.com/browse/VBV-10533

No determined version of when this will come back, its listed as "backlog"

I've found that this feature is actually coded in core/includes/functions_newpost.php

There is a function called: exec_send_notification:

/**
* Sends Thread subscription Notifications
* @param integer The Thread ID
* @param integer The User ID making the Post
* @param integer The Post ID of the new post
*/
function exec_send_notification($threadid, $userid, $postid)

The code of this function clearly does what we want it to; however there is no call to this function anywhere in VB. If someone could tell me where i should call this function we can get a work-around going.

nhawk 09-24-2013 02:31 PM

Actually I believe the notifications are handled in /core/vb/library/content.php.

The functions_newpost.php file is a remnant from vB4.

wdwms 09-24-2013 03:16 PM

Thanks, i found the sendNotifications() function in there, which looks like does what we are looking for.

/includes/vb5/frontend/controller/createcontent.php looks like where this call should go..

not sure i have the expertise to figure this out.

wdwms 10-22-2013 11:47 PM

Can't figure this out. our users are complaining, and the lack of instant email response is killing our traffic!

wdwms 11-19-2013 01:46 AM

Has anyone tackled this yet? I'd be willing to put up some money to get a temporary add-on for this..

--------------- Added [DATE]1384889250[/DATE] at [TIME]1384889250[/TIME] ---------------

Was able to hack it enough to get subscriptions to send, and auto subscribe on a reply to post.. its not perfect, but it will do for now.

heredia21 12-08-2013 12:28 PM

Quote:

Originally Posted by wdwms (Post 2461984)
Has anyone tackled this yet? I'd be willing to put up some money to get a temporary add-on for this..

--------------- Added [DATE]1384889250[/DATE] at [TIME]1384889250[/TIME] ---------------

Was able to hack it enough to get subscriptions to send, and auto subscribe on a reply to post.. its not perfect, but it will do for now.

How did you do it?

wdwms 12-11-2013 01:01 PM

Quote:

Originally Posted by heredia21 (Post 2466777)
How did you do it?

We made our own function that does the email sending, and then found the right spot in /core/vb/library/content.php to include it.

Works for what we need for now.


All times are GMT. The time now is 06:37 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.01031 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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