The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Are there conditionals to use for skins?
You see I have too very similar logos on my board, one for the light skins and one for the darks. If I want to edit the header, the lighter skins inherit the changes, but I must change each of the darker skins manually because their dark logo is customised in their style. Is there a conditional for say: if ( skin = skinfo[dark] ) dark logo else light logo /if or maybe if ( skin = skinid[1, 3, 7] ) dark logo else light logo /if Or anything like that at all? I know the style system is designed so the board can look and function completely differently depending on style, but I only have CSS colour changes on mine, if only the logo could just occasionally be different without editing the header every time! |
#2
|
||||
|
||||
![]()
Umm.... Just change the logo in the actual style? If there are more than one style then each one has it's own templates and settings.
|
#3
|
|||
|
|||
![]()
^ ^
yeah but I'm fed up with having to modify my darker headers every time I make a cross-style header modification. Do you see? |
#4
|
|||
|
|||
![]()
So use the header variable in main css settings... (which is by far the best method)
to answer your question, the definition (not variable) is STYLEID HTML Code:
<if condition="STYLEID == X">boo</if> |
#5
|
|||
|
|||
![]()
^ ^
thanks! How would I use that for an array of a few styleids? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|