The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Conditionals on a non-vB page?
Alright here is what I want to do:
For members registered on my message board, I want to hide my Google Adsense ads - on vB and non-vB pages. How would I go about doing this? I have looked for some time now and it seems pretty complicated... :ermm: :ermm: |
#2
|
||||
|
||||
To hide ads on vB powered page, put
HTML Code:
<if condition="!$bbuserinfo[userid]">Your Ads Code Here</if> |
#3
|
||||
|
||||
Easy.
On the non Vb page (must be a .php page, not .html ) At the very top of the page just add this (Make sure you change the 'path/to/your/forums' to what your forums path is) PHP Code:
PHP Code:
|
#4
|
|||
|
|||
Didnt work for me =( I tried this with an else statement though. COuld that be why?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|