vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Instant New Thread Notification (https://vborg.vbsupport.ru/showthread.php?t=141280)

RedTyger 03-05-2007 10:00 PM

Instant New Thread Notification
 
= 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.

Feckie (Roger) 03-06-2007 09:52 AM

Will Try Later

projectego 03-06-2007 01:25 PM

Nice one, RedTyger! Thanks alot. :)

FleaBag 03-06-2007 03:13 PM

Great addition, much appreciated. Thanks for sharing!

Cyricx 03-07-2007 02:12 PM

Great addition!!!

valdet 03-09-2007 11:35 AM

Does this work for replies from the Quick Reply box or only from New Reply? and also if any previous posts are edited does this counts that too?

Thanks

RedTyger 03-09-2007 12:00 PM

This modification only enables notification for brand new threads. Replies are already dealt with by the default vBulletin settings.

ccasselman 03-13-2007 01:34 PM

I added this feature to just one forum, however now the threads within there all have 2 entries for "Instant Notification". How can I fix that?

chad

RedTyger 03-13-2007 01:42 PM

Please click install so you can receive update notifications. This has been fixed, download the zip file and reupload the plugin.

projectego 03-13-2007 01:47 PM

Thanks for the update, RedTyger. :)

WebmasterSimds 03-14-2007 06:24 AM

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?

WebmasterSimds 03-14-2007 04:22 PM

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

RedTyger 03-14-2007 04:23 PM

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.

WebmasterSimds 03-14-2007 04:36 PM

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

Tralala 03-16-2007 04:55 PM

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?

RedTyger 03-16-2007 05:16 PM

Yes, it does. It's very much like that other modification with some additional optimisation and options.

Tralala 03-16-2007 06:54 PM

Quote:

Originally Posted by RedTyger (Post 1204987)
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?
https://vborg.vbsupport.ru/external/2007/03/16.jpg

Is that something this hack could incorporate? I hope you like my suggestion. :)

HollyRidge 03-18-2007 12:30 AM

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.

rjmjr69 03-18-2007 07:01 AM

-Reserved- great idea

RedTyger 03-18-2007 08:38 AM

Quote:

Originally Posted by HollyRidge (Post 1205955)
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 (Post 1206135)
-Reserved- great idea

What are you reserving? And why? :confused:

Tralala 03-18-2007 04:46 PM

Quote:

Originally Posted by RedTyger (Post 1206169)
What are you reserving? And why? :confused:

By posting he's probably just "subscribing" to the thread. As a way of keeping tabs on it, since he's interested. Some folks do that instead of using Thread Tools, for some reason.

AyeCapn 03-22-2007 06:42 PM

this looks great!

This is one step closer to the instant post email feature found in Yahoo! groups. I am trying to port a Yahoo group to vB, and that is the biggest selling point for the existing membership base. They love getting those emails.

Fungsten 03-22-2007 09:07 PM

Installed.

JoeZ 03-23-2007 03:52 PM

This is *almost* exactly something I need. Is there a way to make the emails compile for hourly new thread updates? So hourly an email goes out to usergroup showing the new threads?

RedTyger 03-23-2007 06:40 PM

Not at the moment, but should I get the time I'd like to make it so.

Atakan KOC 03-25-2007 06:08 PM

Thanks........

odie3 03-25-2007 10:58 PM

Thanks great mod that I was hoping to find!!!

humax9110 03-26-2007 02:25 AM

Thanks RedTyger for this hack ..

Could you help me in this


https://vborg.vbsupport.ru/showthread.php?t=142912

AyeCapn 03-27-2007 07:06 PM

Quote:

Originally Posted by RedTyger (Post 1210547)
Not at the moment, but should I get the time I'd like to make it so.

I'd be willing to pay for a mod of this mod that would allow listserv behaviour like a Yahoo! group. Email notification of all new posts by those who request that feature. Profile checkbox or something.

AyeCapn 03-27-2007 07:07 PM

also, how can I automatically subscribe my users to all the forums when they sign up?

RedTyger 03-27-2007 07:13 PM

Quote:

Originally Posted by AyeCapn (Post 1213833)
I'd be willing to pay for a mod of this mod that would allow listserv behaviour like a Yahoo! group. Email notification of all new posts by those who request that feature. Profile checkbox or something.

I've never used a Yahoo! group I'm afraid, I don't know what that is... but if you want to hire me, send me a PM with the details and we'll talk about it.


Quote:

Originally Posted by AyeCapn (Post 1213837)
also, how can I automatically subscribe my users to all the forums when they sign up?

You'd have to have a new/extra plugin that modifies the registration page. It's not difficult.

AyeCapn 03-27-2007 07:25 PM

PM sent :cool:

AyeCapn 03-30-2007 01:30 PM

bumpity bump :)

sent that PM but no response yet.

WebmasterSimds 04-15-2007 10:15 PM

I need to un install this and extreemly fast. I did the normal un install but it is still lingering in my system. how can i make sure that I remove it? and how? what things do i need to check for to see if it is gone from my system?? it is pulling my board and server down extreemly bad.

As I said I did the normal un install, but now it is still there somehow

rjmjr69 04-16-2007 05:41 AM

Quote:

Originally Posted by WebmasterSimds (Post 1228628)
I need to un install this and extreemly fast. I did the normal un install but it is still lingering in my system. how can i make sure that I remove it? and how? what things do i need to check for to see if it is gone from my system?? it is pulling my board and server down extreemly bad.

As I said I did the normal un install, but now it is still there somehow


I dont see how this hack would mess with server resources. Did you happen to install anything else? have you tried debugging? Turn off the plug ins? Did you do any template edits when you installed this? You would have to either revert those templates or manually remove the code to finish uninstalling.

RedTyger 04-16-2007 06:50 AM

Quote:

Originally Posted by WebmasterSimds (Post 1228628)
I need to un install this and extreemly fast. I did the normal un install but it is still lingering in my system. how can i make sure that I remove it? and how? what things do i need to check for to see if it is gone from my system?? it is pulling my board and server down extreemly bad.

As I said I did the normal un install, but now it is still there somehow

Still there somehow in what way? You just uninstall the plugin, that's all there is to it. If you still have emails to be sent in the queue those will still be sent, of course. But no more will be added by the plugin.

WebmasterSimds 04-17-2007 01:01 AM

got it....... thanks

Eq4bits 04-19-2007 02:08 PM

Quote:

Originally Posted by RedTyger (Post 1213840)
I've never used a Yahoo! group I'm afraid, I don't know what that is... but if you want to hire me, send me a PM with the details and we'll talk about it.

I'd be willing to contribute as well :D
We moved from Yahoo! groups as well and the only nit-pik my users have is the fact they don't get an email of their own posts even to subscribed threads. They originally missed the 'ease' of posting by email as well but they got over it :wink:
*runs off to install this hack*

RedTyger 04-19-2007 02:11 PM

How timely. I'm not at liberty to give details, but it may be worth your while PMing AyeCapn about the matter.

AyeCapn 04-19-2007 02:21 PM

Quote:

Originally Posted by RedTyger (Post 1231262)
How timely. I'm not at liberty to give details, but it may be worth your while PMing AyeCapn about the matter.

You are the wind beneath my wings.


All times are GMT. The time now is 06:06 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.01356 seconds
  • Memory Usage 1,831KB
  • 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_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete