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
  #32  
Old 08-14-2006, 03:10 AM
labrocca labrocca is offline
 
Join Date: Jul 2006
Location: Las Vegas
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What happens if we don't make that template change? What adverse effects are there? I just know I will be updating to 3.6 eventually and prefer to change the templates as little as possible.
Reply With Quote
  #33  
Old 08-14-2006, 06:13 AM
Aylwin Aylwin is offline
 
Join Date: Mar 2005
Location: Finland
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you don't make the template change then the users won't be able to see an option for instant email notification when they subscribe to a forum. In other words, the mod won't work.
Reply With Quote
  #34  
Old 09-29-2006, 09:25 PM
webswimr's Avatar
webswimr webswimr is offline
 
Join Date: Jan 2002
Location: Sarasota, FL
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed this in my 3.6.1 forum (recently upgraded all the way from 2.3.5!). In my old installation, I had hacked to automatically subscribe to new threads that are created within forums to which you are subscribed and also send email notification of the first post of the new thread. This add-on did almost exactly what I needed in the upgraded forum.

I did modify this a bit in my installation. Like others, I wanted that initial post emailed out with the body of the message and wanted instant email subscribers to forums to receive email copies of ALL posts in the new threads, not just the opening post of a new thread. I also wanted the email notification of the new thread opening post to look the same as the email notification for all subsequent posts.

My method of achieving this was to make the template change as specified, modify the foruminstantnotify phrases for email subject & body text to match those found for the notify phrases (with minor variable changes below), and modify the plugin code as per the attached file.

The plugin change grabs the username of subscribed users for use in the email notification and adds an insert query to add a thread subscription for each forum instant subcriber found.

The changes to the email body notify phrase that need to be made when copying to the email body foruminstantnotify phrase are:

change $pagetext to $newpost[message]
change $touser[username] to $subscribe[username]

Worked for me... maybe it will also work for others looking for similar results.
Reply With Quote
  #35  
Old 10-21-2006, 09:47 PM
shanemcse shanemcse is offline
 
Join Date: Feb 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is not working with 3.6.1.

This is what I get after removing the If statement

The following error occurred when attempting to evaluate this template:

The conditional on line 28 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

If I ignore the error then I can no longer subscribe to threads
Reply With Quote
  #36  
Old 03-16-2007, 06:56 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shanemcse View Post
This is not working with 3.6.1.
Was working okay for me with 3.6.4. Still, here's a newer one, with more features, supported up to 3.6.5 currently.
Reply With Quote
  #37  
Old 03-02-2009, 12:34 AM
students_forum's Avatar
students_forum students_forum is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works on 3.7.2
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 02:54 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.04474 seconds
  • Memory Usage 2,260KB
  • Queries Executed 21 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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