Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Instant New Thread Notification Details »»
Instant New Thread Notification
Version: 1.02, by RedTyger RedTyger is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.5 Rating:
Released: 03-05-2007 Last Update: 03-17-2007 Installs: 201
Uses Plugins
 
No support by the author.

= New Thread Notification =


Description

Very simple, it adds instant email notification for forums. If you are subscribed to a forum using instant email notification, whenever a new thread is posted you will be sent an email containing the details and the thread text.


Options: (AdminCP > vBulletin Options > New Thread Notification)

Enable new thread notifications?
Choose Yes to enable instant email notification for new threads.

Allow new thread notification for Usergroups:
Enter the IDs of the usergroups you want to allow to subscribe to instant new thread email notifications, separated by commas. (i.e. 1,2,3)

If you only want to exclude usergroups instead of including them, leave this blank to allow everyone to subscribe to instant new thread notifications except those listed below.

Do NOT allow new thread notification for Usergroups:
Enter the IDs of the usergroups you want to exclude from subscribing to instant new thread email notifications, separated by commas. (i.e. 1,2,3) Leave blank to not exclude usergroups.

Allow new thread notification for Forums:
Enter the IDs of the forums you want to allow subscribing to instant new thread email notifications, separated by commas. (i.e. 1,2,3)

If you only want to exclude forums instead of including them, leave this blank to allow instant new thread notifications in every forum except those listed below.

Do NOT allow new thread notification for Forums:
Enter the IDs of the forums you want to exclude from subscribing to instant new thread email notifications, separated by commas. (i.e. 1,2,3) Leave blank to not exclude forums.

Use mailqueue?
Choose Yes for new thread notifications to use mailqueueing as per your settings (Recommended for all except very low traffic forums). Choosing No will bypass mailqueueing and send all emails instantly.


Installation Instructions:
1. Go to AdminCP > Plugins & Products > Manage Products > Add/Import Product.
2. Upload the new_thread_subscription_xxx.xml file.
Done!

To subscribe to new thread notifications just subscribe to a forum as normal. The new option has been added to the list.


Donations

If you have a pressing wish to donate money to me (and of course, you do) to say thank you and to possibly encourage more future work then you can do via the link below. Also, you will go to heaven.

http://redtyger.co.uk/donations.php

Don't panic! The donations link is only hosted on my website so it can be encrypted and not open my email address to spammers.


Changelog
v1.00 Initial release
v1.01 Fixed bug where Instant Email Subscription would appear twice.
v1.02 Fixed bug where a database error would occur when nobody is subscribed to the forum the thread is being posted in.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-14-2007, 06:24 AM
WebmasterSimds WebmasterSimds is offline
 
Join Date: Sep 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a problem with this and the Vboard Newer version. I get a BD error when someone wants to post, and here it is
================================================== ============
Database error in vBulletin 3.6.5:

Invalid SQL:

SELECT email, username
FROM user
WHERE userid IN ();

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3
Error Number : 1064
Date : Wednesday, March 14th 2007 @ 03:20:43 AM
Script : http://www.xxxxxxx.com/Ss/newthread....stthread&f=324
Referrer : http://www.xxxxxxx.com/Ss/newthread....ewthread&f=324
IP Address : xx.xx.xx.82
Username : Someone
Classname : vb_database

================================================== ========

I edited options right after I installed it, and set the member groups that i wanteed to get instant notifications about any topic posted, but when its enabled this happens, when not enabled, its ok to post.

Any Ideas?
Reply With Quote
  #13  
Old 03-14-2007, 04:22 PM
WebmasterSimds WebmasterSimds is offline
 
Join Date: Sep 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So far your upgrade seemed to be working thanks.

I will Keep an eye on it to see how it goes, and if there are any more issues. I will let you know. I have a massive board. So this helps
Reply With Quote
  #14  
Old 03-14-2007, 04:23 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should be fine, but if you have a really huge board doesn't it take forever to actually post the thread? Even with a small mailing list it stalls quite a bit, you might want to look at a different solution.
Reply With Quote
  #15  
Old 03-14-2007, 04:36 PM
WebmasterSimds WebmasterSimds is offline
 
Join Date: Sep 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually no, not at all. I have my own server, and enough power to handle situations like this. and it helps me to test its limits LOL
Reply With Quote
  #16  
Old 03-16-2007, 04:55 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like that this has Admin options; thanks for sharing! Does it allow you to change the email subject and body via phrases too, like this older similar hack did?
Reply With Quote
  #17  
Old 03-16-2007, 05:16 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it does. It's very much like that other modification with some additional optimisation and options.
Reply With Quote
  #18  
Old 03-16-2007, 06:54 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
Yes, it does. It's very much like that other modification with some additional optimisation and options.
Thanks for the reply RedTyger. I did indeed find the newthreadsub phrase, and used the variables to make the email subject more verbose, namely:

PHP Code:
$vboptions[bbtitleSubscription$threadinfo[postusernameposted "$threadinfo[title]in $foruminfo[title_clean
I noticed this doesn't sends out the subscription email to the actual creator of the thread (even if they are subscribed to the forum...) which is smart and very cool.

I like this a lot, thanks for the excellent mod.

One thing about forum subscriptions though, it's not intuitive how to UNSUBSCRIBE. You can only do it from the UserCP. Wouldn't it make sense that for subscribed forums, this menu changed to say "Unsubscribe from this Forum" -- just like it works for Threads?


Is that something this hack could incorporate? I hope you like my suggestion.
Reply With Quote
  #19  
Old 03-18-2007, 12:30 AM
HollyRidge HollyRidge is offline
 
Join Date: Nov 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The version check hack is reporting the wrong version (https://vborg.vbsupport.ru/showthread.php?t=133366). It reports 1.01 when we downloaded and installed the 1.02 hack from here last night on a fresh vb install.
Reply With Quote
  #20  
Old 03-18-2007, 07:01 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

-Reserved- great idea
Reply With Quote
  #21  
Old 03-18-2007, 08:38 AM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HollyRidge View Post
The version check hack is reporting the wrong version (https://vborg.vbsupport.ru/showthread.php?t=133366). It reports 1.01 when we downloaded and installed the 1.02 hack from here last night on a fresh vb install.
Thanks, fixed it. It makes no difference but you can use the new zip if you want.


Quote:
Originally Posted by rjmjr69 View Post
-Reserved- great idea
What are you reserving? And why?
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 11:17 PM.


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.05849 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
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)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete