XF 1.3 Adsense if conditions?

Tayfun

Member
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.
 
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
 
Top Bottom