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

XF 1.4 How to don't show the avatars of Staff Online Now in the side column of the index page?

Discussion in 'XenForo Questions and Support' started by msibm, Jan 22, 2016.

  1. msibm

    msibm Member

    Thanks!
     
  2. Amaury

    Amaury Well-Known Member

    Template: sidebar_online_users

    Code:
    <xen:foreach loop="$onlineUsers.records" value="$user">
                            <xen:if is="{$user.is_staff}">
                                <li>
                                    <xen:avatar user="$user" size="s" img="true" />
                                    <xen:username user="$user" rich="true" />
                                    <div class="userTitle">{xen:helper userTitle, $user}</div>
                                </li>
                            </xen:if>
                        </xen:foreach>
     
    msibm likes this.

Share This Page