The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Alright, I recently enabled tags on a forum I'm newly an admin on, and people are suggesting icons in place of tags in a subforum called "Gaming."
So basically if a thread is tagged "wii, action-adventure, zelda" I want the threadbit to ignore the action-adventure and zelda tags, and display an icon for the Nintendo Wii in place of the "wii" tag. I'm thinking something like... <if condition="$show['taglist'] AND $forumid == 41"> <if condition="inarray('playstation', $thread[taglist])">$psx_icon</if> <if condition="inarray('n64', $thread[taglist]")>$n64_icon</if> </if> I'm just not sure if $thread[taglist] is an array. And if it's not I need to know how to turn it into one using PHP functions that are safe to use in conditionals. |
#2
|
||||
|
||||
![]()
You would be much better off doing this in a plugin. Find when the tags are processed in showthread.php, and I'm sure there is a hook there to play with.
![]() |
#3
|
|||
|
|||
![]()
I've resigned myself to this fact too. Well, time to learn me some PHP (luckily I have a CS degree).
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|