vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Instant Thread Notification for Subscribed Forums (https://vborg.vbsupport.ru/showthread.php?t=98822)

labrocca 08-14-2006 03:10 AM

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.

Aylwin 08-14-2006 06:13 AM

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.

webswimr 09-29-2006 09:25 PM

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.

shanemcse 10-21-2006 09:47 PM

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

Tralala 03-16-2007 06:56 PM

Quote:

Originally Posted by shanemcse (Post 1101645)
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.

students_forum 03-02-2009 12:34 AM

works on 3.7.2 :)


All times are GMT. The time now is 04:28 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.01024 seconds
  • Memory Usage 1,727KB
  • 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_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
  • (6)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