PDA

View Full Version : Disable "subscribe to thread" in specific forums


Odysseus
05-20-2003, 10:00 PM
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?