The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
if condition for users style
I'm placing adsense on my site but i have two styles. I would like to style my adsense to look like the style that the user is currently viewing. Is there an if condition i can use for this?
|
#2
|
||||
|
||||
would it be tough..??
1. first, create the two different adsense styles at the google adsense website. you'll get two separate codes for each. 2. now, simply put the codes in the style's respective ad location templates or anywhere. thats it |
#3
|
|||
|
|||
oh, sorry. I forgot to mention that i'm using an ad management mod. I can only input in one box that will output in all styles. so doing what you've said above just won't work.
--------------- Added [DATE]1212092322[/DATE] at [TIME]1212092322[/TIME] --------------- A little help please. I've tried the code below which i was sure was going to work but it didn't.. HTML Code:
<if condition="$bbuserinfo['styleid'] == X"> SOME CODE </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|