The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Changing Forum Header
I was wondering wheter someone could help me figure out how to have different headers for the different forums on our site.
Everything else will be the sameother the the image in the header. Running VB 3.8+ Thanks for your help in advance. |
#2
|
||||
|
||||
like a rotating banner? just go to "mods" in here..and search "banner" in "3.8.x"
|
#3
|
|||
|
|||
No this is not what I meant and I apologize if I was confusing in my request for information.
At the top of my main forum page I have an image with our site name and logo. What I am wondering is whether I can have different headers for the different forums I have. For example lets say I run a forum about European cars. The different forums would be Mercedes, BMW, etc. For the Mercedes forum I would like a picture of a Benz in the header while for the BMW forum I would want a BMW picture in the header. Currently all my forums have the same header and I would like to change that. Any advice would be most appreciated. |
#4
|
||||
|
||||
You can just put a condition around the banner based on what forumid you are in:
HTML Code:
<if condition="in_array($forumid, array(x, y, z))"> banner code for in forumid x, y, or z <else /> banner code for other forums </if> |
#5
|
|||
|
|||
Lynne thank you once again for taking an interest in my questions. I really appreciate it and I will post up on how successful I am.
|
#6
|
|||
|
|||
Lynne,
Thanks!! we took the HTML you supplied and put it into the header template. Works perfect!!!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|