View Full Version : Unique headers in each forum
MuhammadC
06-16-2006, 07:29 PM
Hello,
I want to have unique headers in each forum, without creating custom styles for those forums. The reason for this is because almost every forum I have needs a unique header, which would render a user-selected style to be essentially useless.
Any ideas?
Thanks in advance...
darnoldy
06-16-2006, 09:53 PM
I want to have unique headers in each forum...
Any ideas? Well a couple. It depends on how ?unique? you want the headers to be. You could use conditionals or variables to change parts of the header depending on which forum is displaying it. The header really should maintain some consistency across the site?be it color, typography, or iconography.
--don
Freesteyelz
06-16-2006, 10:08 PM
Do you just want unique Header images or unique Headers for each forum? If the latter then follow below (laying out the code as darnoldy explained above):
Top of "header" template add:
<if condition="in_array($forumid, array(x))">
Header "x" code here...
<else />
<if condition="in_array($forumid, array(y))">
Header "y" code here...
<else />
<if condition="in_array($forumid, array(z))">
Header "z" code here...
<else />
Add to the very bottom of your "header" template:
</if></if></if>
Replace the "x", "y" and "z" with your ForumIDs. Notice above I've included 3 conditional fourm headers. Add more by simple copying the code. Make sure that the end </if> tags matches the amount of conditionals you use.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.