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

XF 1.1 Staff Online Admins/Mods/etc. Aren't showing up.


I'm not to sure what happened, but the Staff Online doesn't show the staff, at all.

Even on the default style.



I've set the number to 3, corresponding to the code in sidebar_online_users...


<!-- 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:if is="{$user.user_id} != 3">
                                <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 -->
Anyone have a clue?


Jake Bunce

XenForo moderator
Staff member
Maybe those staff members aren't online. Or maybe you are using an addon that overrides the sidebar. Do you have this problem on the default style with all of your addons disabled?


Well-known member
your code is stuffed up for one.
what are you trying to accomplish? are you trying to hide user 3 from showing up in staff online?


Well-known member
that is not default code for either the portal or xf sidebar.
somebody has altered it. it looks like they tried to make member #3 not show up in the staff list.
revert whichever template that is.