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

XF 1.4 Removing ads for certain users

Discussion in 'XenForo Questions and Support' started by SW48, Feb 25, 2016.

  1. SW48

    SW48 Member

    How do I remove ads for specific users?

    Currently I have "supporting members" that I remove ads for using this piece of code:

    <xen:if is="!{xen:helper ismemberof, $visitor, 3, 4, 5}">

    But they are either supporting members, mods, and admins.

    Now I have a few users that want to support the site and have ads removed but they don't want the "Supporting Member" banner.

    How would I add to the code to remove ads for those specific users?

    Thanks in advance for your help.
  2. Russ

    Russ Well-Known Member

    I'd simply create a new usergroup with no banner attached to it at all and add them to it. They would never know the difference and it'll make your life easier rather than going through and editing the conditional for each new user you want to add.
  3. SW48

    SW48 Member

    I will give that a try. Thanks

Share This Page