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

Secondary User Group Conditional

Jeff Fuqua

Well-known member
#1
I'm attempting to block a particular user group from viewing ads.

Here's my code:
<xen:if is="!{xen:helper ismemberof, $visitor, 13}">

Since this user group is a not the primary group, it doesn't seem to be working. Any ideas? Thanks.
 

Chris D

XenForo developer
Staff member
#2
That should work...

You could try:

Code:
<xen:if is="{xen:helper ismemberof, $visitor, 13}">
<xen:else />
Ad code​
</xen:if>
EDIT: By the way, did you recently send me a PM. I remember reading something but I can't find it :confused:

I've just moved house, so more with it now. If you need to, drop me another PM.

Hope GoTitans is going well :)