The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
There is a way to execute a certain code inside a css file rather than another code?
For example i have in additional.css Code:
....... ...... code ...... ....... Code:
if(THIS_SCRIPT=="index") {code} else code1 |
#2
|
||||
|
||||
![]()
Create a new plugin:
Product: vBulletin Hook Location: parse_templates Title: Custom Style Changes Code: PHP Code:
You can specify more definitions but don't use for example {vb stylevars} actually type out the code in your css definition(s). Of course you can do tons of other things here and even add more code to run this in certain styles only etc. ![]() Edit: Here's a more complex albeit rough example: PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|