Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-05-2013, 11:45 AM
charris0910 charris0910 is offline
 
Join Date: Aug 2013
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 09-24-2013, 11:25 AM
wdwms wdwms is offline
 
Join Date: May 2002
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 09-24-2013, 02:31 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

The functions_newpost.php file is a remnant from vB4.
Reply With Quote
  #4  
Old 09-24-2013, 03:16 PM
wdwms wdwms is offline
 
Join Date: May 2002
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 10-22-2013, 11:47 PM
wdwms wdwms is offline
 
Join Date: May 2002
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't figure this out. our users are complaining, and the lack of instant email response is killing our traffic!
Reply With Quote
  #6  
Old 11-19-2013, 01:46 AM
wdwms wdwms is offline
 
Join Date: May 2002
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 12-08-2013, 12:28 PM
heredia21 heredia21 is offline
 
Join Date: May 2013
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wdwms View Post
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?
Reply With Quote
  #8  
Old 12-11-2013, 01:01 PM
wdwms wdwms is offline
 
Join Date: May 2002
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by heredia21 View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06508 seconds
  • Memory Usage 2,224KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete