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

Staff Online (sidebar)


XenForo moderator
Staff member
Edit the sidebar_online_users template and wrap the staff block in xen:comment tags.

<!-- block: sidebar_online_staff -->
<xen:if hascontent="true">
    <div class="section staffOnline avatarList">
        <div class="secondaryContent">
            <h3>{xen:phrase staff_online_now}</h3>
                    <xen:foreach loop="$onlineUsers.records" value="$user">
                        <xen:if is="{$user.is_moderator} OR {$user.is_admin}">
                                <xen:avatar user="$user" size="s" img="true" />
                                <xen:username user="$user" rich="true" />
                                <div class="userTitle">{xen:helper userTitle, $user}</div>
<!-- end block: sidebar_online_staff -->

Or add this to EXTRA.css:
.section.staffOnline.avatarList {
display: none;


XenForo moderator
Staff member
Just remember using EXTRA.css will still allow the source code to be viewed and see a list of staff.

Using xen:comment tags the content isn't rendered at all.