The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to add different banner above different forums
Hi,
I've set up my templates so that I now have a banner that appears at the top but I now want to display different banners depending on the forum being displayed. I assume that I need some kind of IF statement but cannot find a list of the variables needed. Can anyone provide the code please. |
#2
|
|||
|
|||
Many people have asked for similar items like this. Unique image above each forum. Unique image in forum category bars. But Alas, no one seems to know how to do this. Or not willing to share.:erm:
|
#3
|
|||
|
|||
It's OK now - I found it on the main vbulletin.com site -see http://www.vbulletin.com/forum/showthread.php?t=239757 There are plenty of tips in that section. I simplified the example shown as I just need a banner with a link to someone else's site (for advertiising)
The main variable code appears to be: <if condition="$foruminfo[forumid] == X"> -- put your image code here -- </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|