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

XF 1.5 Template Conditional - Online Status.

Discussion in 'Styling and Customization Questions' started by Shiro, Oct 13, 2015.

  1. Shiro

    Shiro Well-Known Member

    Is there a template conditional that could be used to hide content from users who choose not to show their online status? I'd like to hide the ArrowChat script from them so that their online status isn't accidentally disclosed.
     
  2. Martok

    Martok Well-Known Member

    Wrap the Arrowchat code in this conditional:

    Code:
    <xen:if is="{$visitor.visible}">
    
    </xen:if>
    Only those who are visible will then see the Arrowchat bar.
     
    Shiro likes this.
  3. Shiro

    Shiro Well-Known Member

    Thanks so much! Worked!
     

Share This Page