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

BioRage

Member
Hello,

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

Even on the default style.



admin.webp

admin.webp

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

admin.webp

Code:
<!-- block: sidebar_online_staff -->
<xen:if hascontent="true">
    <div class="section staffOnline avatarList">
        <div class="secondaryContent">
            <h3>{xen:phrase staff_online_now}</h3>
            <ul>
                <xen:contentcheck>
                    <xen:foreach loop="$onlineUsers.records" value="$user">
                        <xen:if is="{$user.is_moderator} OR {$user.is_admin}">
                                                 <xen:if is="{$user.user_id} != 3">
                            <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:if>
                    </xen:foreach>
                </xen:contentcheck>
            </ul>
        </div>
    </div>
</xen:if>
<!-- end block: sidebar_online_staff -->

Anyone have a clue?

Thanks.
 
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?
 
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.
 
Top Bottom