The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
different header background image for different categoy
how do i write the conditionals and which templates do i modify to display a different background for the header? like in here
and here |
#2
|
||||
|
||||
I believe it is:
forumhome_forumbit_level1_nopost forumhome_forumbit_level2_nopost add the img html wherever you want the image to be displayed ... HTML Code:
<img src="$stylevar[imgdir_misc]/cat_$forumid.gif" alt="" border="0" />
NOTE: when saving images replace $forumid with forum id of forum where you want image to be displayed the other template is the "navbar" |
#3
|
|||
|
|||
thanks! adding an image wasn't exactly what i wanted but i needed to know which template to edit and the bbcode for forum id...
did it this way (added the codes in green): Code:
<td background="$stylevar[imgdir_misc]/cat_$forumid.gif" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> may i know what's the difference between the *post and *nopost templates? |
#4
|
||||
|
||||
you should use CSS for 'background' ... or, at the very least change the doctype if you are not coding in valid XHTML
the difference is one is used for categories |
#5
|
|||
|
|||
i'm not using CSS because i don't want it to affect all my tcat class...
|
#6
|
||||
|
||||
it won't effect your tcat class if you use -- style="background:url(/images/yourimage$forumid.gif)"
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|