The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello again. Ok, this may seem like a dumb question, but bear with me. I need to know which variable has the styleid of the currently loaded style so I can build conditionals around it. Yes, I know I can have a seperate copy of phpinclude_start for each style, but I don't want that - I want each child style to inherit all templates from the default and the only thing each style would change is the CSS.
|
#2
|
||||
|
||||
![]() Quote:
Thats the whole idea, all templates are stored in the master parrent style, then style changes are applied to all the lesser templates. |
#3
|
||||
|
||||
![]()
Ok, the logo in the $header of my site is rotated by forum using a hack that stores the image's name. I need to change the version of the image by styleset because some have dark backgrounds and others have light ones, and so on. So in PHP include start...
PHP Code:
|
#4
|
||||
|
||||
![]() Quote:
$bbuserinfo[styleid]_$stylevar[titleimage] ;P |
#5
|
||||
|
||||
![]()
And if the forum overrides the user's style choice??
|
#6
|
||||
|
||||
![]() Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|