The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Post Icons
Right, i have a football forum and i have forums of different leagues (English league, Spanish league ect) and i have post icons of teams logos in the leagues, as you can imagine with around 20 odd teams in each league, doing 20 post icons for each league... i have a lot of post icons and it looks a bit messy. So i thought i'd attempt to neaten it up.
I viewed source to find the HTML i need for the radio buttons because in the post icon templates it was just one variable holding everything.. so i replaced the variable with it's HTML equivilent if that makes sense. I have them all in pure HTML and it all works like normal, now what i need to do is add if statements in, for example around the english club icons i need to put something like "if forum id = 4" and then show those icons, just unsure on what the if statement would be? I tried using "<if condition="in_array($forumid, array(4))">" but it didn't work.... how do i go about doing this? I'm doing this in the Post Icons template if that helps, would be better if an array could be used but not 100% nessacery. Thanks! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|