The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello, in my new skin i dont have the space to use adsense, so i thought i might add it into the notices code, but i need to do it only for that skin, so I need an If statement to determine the style ID
|
#2
|
|||
|
|||
![]()
Try:
Code:
<if condition="STYLEID == XX"> </if> |
#3
|
||||
|
||||
![]()
Are you talking about in templates or in actual PHP code? If it is in templates, it is rather easy to accomplish without an if statement, but PHP requires a little more.
|
#4
|
|||
|
|||
![]()
the if statement didnt work,
what else? I am talking about it templates |
#5
|
||||
|
||||
![]()
If you are adding code to a template, you don't need a conditional. Just add it to the styles you want it to show on.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|