Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Instant Thread Notification for Subscribed Forums Details »»
Instant Thread Notification for Subscribed Forums
Version: 1.00, by FQ-Joseph FQ-Joseph is offline
Developer Last Online: Jan 2006 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-19-2005 Last Update: Never Installs: 63
Uses Plugins Template Edits
 
No support by the author.


Instant Thread Notification for Subscribed Forums

Purpose:
This plugin allows your members to select "Instant Email Notification" when they are subscribing to a forum, instead of just the default Daily/Weekly Digests. When a new thread is posted in a subscribed forum, all subscribed users are instantly sent an email alerting them.

Modifications:
Code Hacks: 0
New Products: 1
New Plugins: 1
New Phrases: 2
New Templates: 0
Template Changes: 1

Installation Instructions:

Step 1 (Template Change):
Find the following in the "subscribe_choosetype" template (located under "Subscribed Thread Templates" in the template manager):
Quote:
<if condition="$show['subscribetothread']">
<option value="1" $emailselected[1]>$vbphrase[instant_notification_by_email]</option>
</if>
Replace with:
Quote:
<option value="1" $emailselected[1]>$vbphrase[instant_notification_by_email]</option>
(Just remove the if statement)

Step 2 (install product):
Import the product-instantnotif.xml file into your Product Manager.

Enjoy! - It's installed!

Any users who were already subscribed to a forum will need to re-subscribe in order to select this new option.

You can change the email subject & body by editing the "foruminstantnotify" phrases located under the "Email Body Text" & "Email Subject Text" phrase types.

Show Your Support

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

Comments
  #2  
Old 10-20-2005, 02:06 AM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, quite nice. Thank you.
Reply With Quote
  #3  
Old 10-20-2005, 06:31 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really needed this! Thanks!
Reply With Quote
  #4  
Old 10-20-2005, 12:00 PM
nexialys
Guest
 
Posts: n/a
Default

the template alteration you suggest will deactivate the choice from the settings to display or not the subscription feature... so everybody will always have the right to subscribe, even if the admin set this to NO... not a good thing...

btw your hack work without the template alteration... and this is a good idea for small sites... but would have a heavy serverloads on websites that bring hundreds of posters each days...
Reply With Quote
  #5  
Old 10-20-2005, 12:52 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this!
Reply With Quote
  #6  
Old 10-20-2005, 05:24 PM
FQ-Joseph FQ-Joseph is offline
 
Join Date: Oct 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys
the template alteration you suggest will deactivate the choice from the settings to display or not the subscription feature... so everybody will always have the right to subscribe, even if the admin set this to NO... not a good thing...
I don't think so... ? The template by default will only show the "Instant" option if the users clicked to subscribe to a thread. The alteration simply removes that check, and shows the "Instant" option on all subscribe options pages. If subscriptions are disabled, then that page shouldn't even be accessible (which would be detirmined by a higher "if" then the one I removed).

Quote:
Originally Posted by nexialys
this is a good idea for small sites... but would have a heavy serverloads on websites that bring hundreds of posters each days...
Again, I don't think this would be a big problem. My hack uses the mail queuing system, so if you've got a lot of topics being created (and a lot users subscribed to forums) simply activate the queue system and that should help with the load. Also, this plugin will only send an email when a new trhead is created, not when new posts are made.
Reply With Quote
  #7  
Old 11-03-2005, 01:54 PM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx! Exactly what I needed.
Reply With Quote
  #8  
Old 01-11-2006, 06:37 PM
Thomas Muhr Thomas Muhr is offline
 
Join Date: Jan 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear Joseph,
thanks for this great plug-in, we have successfully implemented it. However, there would be indefinite happiness if we could get the following:
1. When a forum is subscribed change Forum Tools menu item to "Unsubscribe from this Forum"
2. Somehow display the state of being subscribed to a specific forum on the forum's main page.
3. Include the body of the newly posted thread in the notification sent (as is done with thread level notifications) (shouldnt this be an accessible PHP variable??)
4. Being able to recursively un/subscribe to a forum and all its sub forums.

If you can give us any hint to accomplish this I would be very grateful.

Thanks in advance
- Thomas
Reply With Quote
  #9  
Old 02-13-2006, 01:30 PM
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
Location: Germany
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
I have installed this hack and find it useful. However, I would like to include the actual text of the new post in the Email.

Here is the contents of my $vbphrase[foruminstantnotify]

Quote:
Reply here: $vboptions[bburl]/showthread.php?p=$newpost[postid]
Posted by : $bbuserinfo[username]
$post[message] $pagetext
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DO NOT REPLY VIA EMAIL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Replies sent by email will go to the administrator, not the original poster!
To send a private message to the poster, click on the "Reply here" link
(above) and then on $bbuserinfo[username].
Notes:
- This Topic Notification was sent to: $user[username],
- You are currently subscribed to the forum: $foruminfo[title_clean]
- To unsubscribe from this thread, please visit this page:
$vboptions[bburl]/subscription.php?do=usub&f=$foruminfo[forumid]
The Rife Forum - Instant Subscribed Forum Notify - English (US)
As you can see, I tried both $post[message] and $pagetext (which work with other Email templates), but neither of them will echo the post text.

I would appreciate it if this capability could be added, or someone can tell me how I can add it to my system.
Reply With Quote
  #10  
Old 02-14-2006, 05:36 AM
Brock Hamilton Brock Hamilton is offline
 
Join Date: Jan 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in case anyone else wants to know this, Like I just did,

You have to use $newpost[message]
Reply With Quote
Reply

Thread Tools

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 12:53 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.07136 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
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
  • (5)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (10)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