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

XF 1.3 Adsense if conditions?

#1
Hello guys,

i want to add adsense to my forum to adsense templates. but i want to admins,mods not seem adsense only registered and guest groups. how can i do this?

Regards.
 
#4
i don't want show for admin and mods. i will use this code:

Code:
<xen:if is="!{xen:helper ismemberof, $visitor, x, y}">
This content will be hidden from members of user groups x or y
</xen:if>
x=admin
y=moderator

so code is it?

Code:
<xen:if is="!{xen:helper ismemberof, $visitor, admin, moderator}">
This content will be hidden from members of user groups x or y
</xen:if>
@Brogan