The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adsense In VBulletin
I need to insert Adsense below the NavBar and I want it viewable only to guests.
|
#2
|
|||
|
|||
It's relatibvely straight forward, you need to use an If/else statement so that if the user group is unregistered/not logged in then display the adsense code else don't display the code, if your still stuck I'll dig out the exact code as using a similar thing on my own forum
|
#3
|
||||
|
||||
Go to Ad Location Templates/ad_navbar_below and do this:-
Code:
<if condition="$show['guest']"> YOUR ADSENSE CODE </if> |
#4
|
|||
|
|||
Thank You!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|