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

XF 1.5 ADS conditional statements issue

Betclever

Active member
#1
Hi,

I would like to hide ads for the premium group but it doesn't work correctly even if I use the correct conditional statements.

See capture: https://gyazo.com/3bfe4aa603f6cfcd7d952c5e89d35a39

I would like to totally hide the content to the premium group.

Another question:

I don't know what I have to replace for the conditional statement number 5 => <xen:if is="!{xen:helper ismemberof, $visitor, x}">content.../xen:if>

I mean, I presume $visitor is the group by default but what about mine so the group Premium?

Thank you.
 

Brogan

XenForo moderator
Staff member
#4
The content will not be displayed to anyone who is a member of user group 31.

AdSense takes a while to display ads so test with plain text until you get your conditional statements working.