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

XF 1.4 Hiding and showing "ads"?

Discussion in 'XenForo Questions and Support' started by Rum Runner Entertainment, Apr 10, 2015.

  1. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    Is there a way to show a custom "ad" when a guest, but to hide them when logged in?

    This is what I'm referring to:

    Screen Shot 2015-04-09 at 11.57.56 PM.png

    Thanks!
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Use this in the templates:

    Code:
    <xen:if is="!{$visitor.user_id}">
    YOUR AD CODE HERE
    </xen:if>
    
     
  3. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

Share This Page