vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Disable "subscribe to thread" in specific forums (https://vborg.vbsupport.ru/showthread.php?t=53193)

Odysseus 05-20-2003 10:00 PM

Disable "subscribe to thread" in specific forums
 
Welcome to my first hack here at vB.org. :D

What does it do?
You can disable the "subscribe to thread" feature for any forum you whish no user to subscribe to its threads. This can be useful if you have forums with very large threads, for which E-Mail notification doesn't make much sense anyways.

The feature can be turned ON and OFF in the admin control panel at any time you whish to do so. :-)


Hack version: 1.0
Date: 21st May 2003
vBulletin versions: 2.3.0 prooved, all ather previous versions quite likely, too


QUERIES TO RUN: 1
FILES TO EDIT: 2 (5 changes total)
TEMPLATES TO EDIT: 1 (1 change total)
TEMPLATES TO ADD: 1

TIME NEEDED: ~5 Minutes



I'll try to answer your questions and modify the hack according to your suggestions, so feel free to post comments.

Screenshots can be found in posts no. 5, 6 and 7!

Boofo 05-21-2003 03:59 PM

Will this hack add a query for each thread in a forum?

Odysseus 05-21-2003 04:09 PM

No queries are added.
The hack uses one status-field of the $forums[] array which is loaded in showthread.php by default.

The hack only comes to action in the showthread.php, not on the forums index or threadlist.

Koutaru 05-22-2003 01:54 AM

I might be installing this one :) nice

Odysseus 05-22-2003 07:05 AM

I changed the txt file because I found a minor mistake.
Please be sure to download the updated file!






@Koutaru: Thx. :)





Here some screenshots.



Admin center when editing or adding a new forum:

Odysseus 05-22-2003 07:06 AM

A thread that can be subscribed to:

Odysseus 05-22-2003 07:06 AM

At last, a thread that cannot be subscribed to:

Marulatree 02-04-2004 08:21 PM

Is it possible just to run a query to disable all existing subscriptions? If so what is it?


All times are GMT. The time now is 10:01 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.01118 seconds
  • Memory Usage 1,717KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete