The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi all,
i need better control of adsense. The only thing i?m asking is the ability to turn of some usergroups from having the advertiments. Thats all. I only want it for unreg. groups. No need of ads in post or other strange stuff. I have of course been looking at different ad-ons, but theres always a lot of issues. I just need this simple feature to turn som groups off. Help aprechiated. www.expatonline.se/fort |
#2
|
||||
|
||||
![]()
All you need to do if you just want to show it to guests, is wrap this code around your adsense:
HTML Code:
<if condition="$show[guest]"> YOUR ADSENSE CODE HERE </if> |
#3
|
|||
|
|||
![]()
Nice, thanx. But where exactely should i put this?
I´m new to adsense, and the "code" your refering to is the same code that verifyes my adsense contract? Thanx |
#4
|
||||
|
||||
![]()
It goes around whatever code they gave you for your banners or whatever you might have
|
#5
|
|||
|
|||
![]()
Well, i just dont get it, sorry. I only see the "activate" options under advertisments--> google adsense options in the settings.
I also see my code that reads pub-991735954XXXXXXX. But where, exactely do i put the mentioned code? In the templates? Please clarify? |
#6
|
||||
|
||||
![]()
Yes, in the ad_location_xxxx templates that you need.
|
#7
|
|||
|
|||
![]()
Ok, thanx. I might be stupid but i really dont get it. Do i need to put this code in EVERY single template?
I apprechiate your help and all, but you just have to unfold this just a little more. Please. For example i see this in FORUMHOME <br /> $ad_location[ad_forumhome_afterforums] <br /> Is this where the code should be inserted? |
#8
|
||||
|
||||
![]()
If you want to do it the hard way, yes. But to do it the easy way, you would need to open up your template (for example: ad_forumhome_afterforums) and place that conditional in the template.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|