Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Subscribed threads in notifications Details »»
Subscribed threads in notifications
Version: 1.00, by MoMan MoMan is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 07-23-2011 Last Update: 07-23-2011 Installs: 102
Uses Plugins
 
No support by the author.

This is a re-release of my subscribed threads mod for vb 3.8: https://vborg.vbsupport.ru/showthread.php?t=250461 It has been reported to work on vB 4.x.

What does it do?

It adds a notification whenever any of your subscribed threads are updated (i.e. they contain unread posts). These notifications make it much easier for users to find what's new on the forum.

It uses the same code as the native vbulletin thread marking system, and supports cookie-based marking as well as database marking.

How do I install?

Upload the attached product file via the admin control panel.

------------------

Enjoy!

Download Now

File Type: xml product-adam_subsct.xml (3.0 KB, 416 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
10 благодарности(ей) от:
BlueCheri, CAG CheechDogg, findingpeace, fxwoody, Guthatron, Lee Roberts, LOGECT, predpriemach, Pvtiste, Sayid

Comments
  #2  
Old 07-24-2011, 12:21 PM
chriske chriske is offline
 
Join Date: Oct 2008
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will try this out! Thanks

Edit:
Is it possible to make an option so that members can choose (in usercp) if they want to receive these notifications?
Reply With Quote
  #3  
Old 07-24-2011, 01:15 PM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chriske View Post
Will try this out! Thanks

Edit:
Is it possible to make an option so that members can choose (in usercp) if they want to receive these notifications?
Yes it is- in fact, I have such an option on my site. Just add a new profile field (preferebly a checkbox labeled as "disable notifications") via your admin cp, and then change one line in the plugin:

PHP Code:
if ($vbulletin->userinfo['userid'] > 0)


PHP Code:
if ($vbulletin->userinfo['userid'] > AND !$vbulletin->userinfo['fieldX'])


where X is the number of the custom profile field you just added.
Reply With Quote
  #4  
Old 07-24-2011, 01:25 PM
LOGECT's Avatar
LOGECT LOGECT is offline
 
Join Date: Jun 2010
Location: Copenhagen
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, thanks a lot.
Please let me know why that 'New Subscribed Threads' phrase doesn't appear here ?



Thank you.
Attached Images
File Type: jpg 3.jpg (20.0 KB, 0 views)
Reply With Quote
  #5  
Old 07-24-2011, 02:11 PM
chriske chriske is offline
 
Join Date: Oct 2008
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MoMan View Post
Yes it is- in fact, I have such an option on my site. Just add a new profile field (preferebly a checkbox labeled as "disable notifications") via your admin cp, and then change one line in the plugin:

PHP Code:
if ($vbulletin->userinfo['userid'] > 0)


PHP Code:
if ($vbulletin->userinfo['userid'] > AND !$vbulletin->userinfo['fieldX'])


where X is the number of the custom profile field you just added.
Thanks for the fast reply

Does this disable all notifications?
I don't want my users to be able to disable all notifications.

For instance I use this mod:
FractalizeR: Show items, awaiting moderation in notifications area
Reply With Quote
  #6  
Old 07-24-2011, 02:47 PM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good mod.

Thanx
Reply With Quote
  #7  
Old 07-24-2011, 03:35 PM
rajubd rajubd is offline
 
Join Date: Jun 2009
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to add disable mail in subscription thread ? so member can choice which way they want to notify?
Reply With Quote
  #8  
Old 07-24-2011, 06:17 PM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Does this disable all notifications?
I don't want my users to be able to disable all notifications.
No, just this one.

Quote:
is it possible to add disable mail in subscription thread ? so member can choice which way they want to notify?
Not currently a feature of this plugin. I don't think very many users would need that.

Quote:
Great mod, thanks a lot.
Please let me know why that 'New Subscribed Threads' phrase doesn't appear here ?
That's weird- check in your phrase manager if the phrase new_subscribed_threads is there, and if not, add it as a global phrase.

Also try changing $vbphrase[new_subscribed_threads] to $vbphrase['new_subscribed_threads'] in the plugin itself, as the former is technically incorrect (I've now fixed this in the xml file).
Reply With Quote
  #9  
Old 07-25-2011, 06:59 AM
LOGECT's Avatar
LOGECT LOGECT is offline
 
Join Date: Jun 2010
Location: Copenhagen
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MoMan View Post
That's weird- check in your phrase manager if the phrase new_subscribed_threads is there, and if not, add it as a global phrase.

Also try changing $vbphrase[new_subscribed_threads] to $vbphrase['new_subscribed_threads'] in the plugin itself, as the former is technically incorrect (I've now fixed this in the xml file).
Thanks for your reply, the phrase is there and changing $vbphrase[new_subscribed_threads] to $vbphrase['new_subscribed_threads'] doesn't fix the issue.
Reply With Quote
  #10  
Old 07-25-2011, 07:56 AM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try putting global $vbphrase; in the plugin file, or just hard-code the text if you want it to "just work".
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 09:30 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.05295 seconds
  • Memory Usage 2,341KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete