• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Exclude Adsense displays to as specific group

kankan

Active member
#1
Hello,

I have included my Adsense script into many Blocks

Code:
<br>
<div style="text-align: center;">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-xxxxxxxxxx";
/* Forum Channel footer */
google_ad_slot = "xxxxxxxx";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div><br>
Which code should i have to insert in those template so that the script does not run for a specific group (ex : Donator group)

Thank you for the help

Regards
 

kankan

Active member
#3
Great
Thank you Brogan
if i want many groups, is this correct ?

<xen:if is="!{xen:helper ismemberof, $visitor, x or y}">