vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Automatic Thread-tag Subscriptions (https://vborg.vbsupport.ru/showthread.php?t=248053)

vbresults 08-04-2010 10:00 PM

Automatic Thread-tag Subscriptions
 
Overview:
This modification allows users to automatically subscribe to thread tags. The tags in question can be managed through a simple profile input.

When combined with an automatic thread tagger or vBSEO, this modification works like a keyword subscription tool (thanks to Videx for pointing this out).

Compatibility:
4.x, and 3.x*.

* For 3.x users, in AdminCP > Plugins & Products > Plugin Manager, the "Core" plugin must be edited and have it's hook changed from
Code:

global_bootstrap_init_start
to the 4.x-deprecated
Code:

global_start
.

Installation:
Code:

        1. Log into the AdminCP. You are presumed to have setting, product/plugin, and profile field access; these are required to install the modification.
        2. Create a "Single-Line Text Box" profile field.
                Title: "Thread Tag Subscriptions / Subscribed Tags"
                Description: "Enter the thread tags you want automatic subscriptions to, each tag separated by a comma. If you only want to subscribe to a tag in one forum, prefix it with the forum id and a colon (e.g. <code>1:pie</code>). To disable thread tag subscriptions, leave this field blank."
                Max Length of allowed user input: 255
                Display Page: "Options: Messaging/Notification"
        3. Create a "Single-Selection Menu" profile field.
                Title: "Thread Tag Subscriptions / Notification Type"
                Description: "Select how to be notified of updates. You can choose to only display the subscription in your control panel, or have updates emailed to you."
                Options [See Note B]:
                        no_email_notification
                        instant_notification_by_email
                        daily_updates_by_email
                        weekly_updates_by_email
                Display Page: "Options: Messaging/Notification"
        4. Import the product xml.
        5. Remaining in the AdminCP, navigate to "Settings" > "Options" and find "Thread Tag Subscriptions".
        6. Select the two profile fields you just created, per the option description and save.

        The installation is complete. Congratulations! =)

NOTES
        A. For steps #2 & 3, the remaining settings can be left at their defaults.
        B. DO NOT PASTE THE ITEMS BELOW #3 "Options"; THESE ARE PHRASE VARIABLE NAMES TO BE FOUND WITH THE LANGUAGE MANAGER.
                Open a new window for the language manager and find each of the four phrases. When a phrase is found, the full text of the phrase is to be copied and pasted into the options list followed by an empty line.
                THE MODIFICATION WILL NOT FUNCTION IF THIS IS NOT DONE CORRECTLY.

Changelog:
0.2.1: Fixed a bug causing all subscriptions to be control panel-only. Thanks for finding this blackhost!
0.2 (Documentation-only): Added default setting to profile field instructions so they display in the UserCP Notification/Messaging area. *Suggestion by Alfa1
0.2: Rewrote modification with optimizations and reduced product size.

Videx 08-05-2010 11:48 PM

This might actually be useful if any of my members bothered to use tags. Maybe in conjunction with one of those auto-tagging mods? But then, why not just allow a keyword subscription list?

vbresults 08-06-2010 03:01 AM

Quote:

Originally Posted by Videx (Post 2079845)
This might actually be useful if any of my members bothered to use tags. Maybe in conjunction with one of those auto-tagging mods? But then, why not just allow a keyword subscription list?

Keyword relevance issues.

goyo 08-06-2010 05:25 AM

Pretty Neat Idea

Thank You! :)

Videx 08-06-2010 01:31 PM

Quote:

Originally Posted by Lancerforhire (Post 2079901)
Keyword relevance issues.

Please elaborate. I can understand a minimum word length, but I imagine that's built into tags too, to prevent someone from getting all posts with the word "a" or something.

Really, the only thing I have to compare it to is Fatwallet.com, where having subscribed to e.g. "1080p" I get an email notice when that term is used in the post. But they don't even bother with tags.

Maybe a better question would be: How do you get your users to enter tags? I never do it myself, so it's hard for me to even try to encourage them, and there seems to be no incentive at all.

vbresults 08-06-2010 06:44 PM

If you have vBSEO, or as you previously mentioned, an automatic thread tagger, this is not an issue.

Dr.osamA 08-10-2010 07:40 PM

thanxx man

installed +5 stars

vbresults 03-26-2011 04:33 PM

Added version 0.2. :)

Alfa1 03-30-2011 04:22 PM

Brilliant idea! It would be better if the tag subscription options would be available in usercp > edit options > messaging & notifications > under 'default thread subscription mode'.

Is that possible?

vbresults 04-03-2011 07:44 PM

Quote:

Originally Posted by Alfa1 (Post 2179131)
Brilliant idea! It would be better if the tag subscription options would be available in usercp > edit options > messaging & notifications > under 'default thread subscription mode'.

Is that possible?

Absolutely; edit the two profile fields and set the "Display Page" property to "Options: Messaging/Notification".

Thank you for the improvement; adding it to the installation instructions. :)


All times are GMT. The time now is 02:31 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.01226 seconds
  • Memory Usage 1,744KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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