The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Disallow tags by forum
is this possible?
We have offtopic forums that are being tagged and just cluttering our searching with extraneous nonsense. Is there a way to do that? Thanks |
#2
|
|||
|
|||
Untested but look in the vB SHOWTHREAD template for <!-- thread tags --> and in the template conditional preceding that line, add in the part in bold red:
Code:
<if condition="$show['tag_box'] AND in_array($forumid, array(1,2,3))"> Alternatively and also untested, but if you want to completely disable tags in certain forums, a plugin like the following at the global_start hook should work: Code:
// 4,5,6 are non-tag forum IDs if ($forumid && !in_array($forumid, array(4,5,6))) { $vbulletin->options['threadtagging'] = 0; } |
#3
|
|||
|
|||
Hi there,
I finally got around to testing the first one. Thanks for the tip, I could not make it work. The second one I was too afraid to try. Hopefully in future releases they will make some changes like this. Thanks again. |
#4
|
|||
|
|||
I removed the Tag field so people couldn't enter Tags in the first place.
I found it in: style manager >> new posting templates >> newthread Modifying the string: Code:
<if condition="$show['tag_option']"> If you DON'T want the Tags field displayed for a specific forum, it would be: Code:
<if condition="$show['tag_option'] AND $forumid!=12"> If you DO want it displayed but only for forums 2, 4 and 5, it would be: Code:
<if condition="$show['tag_box'] AND in_array($forumid, array(2,4,5))"> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|