• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Remove Staff Online Box from sidebar

Peggy

Well-known member
If you're like me, you don't really care to show the Staff Online box in your sidebar. I'm sure you could wrap it in a conditional to hide it, but I'd rather just remove it.

Thanks to Jake for the instructions.

Open the sidebar_online_users template, find and remove this entire block of code:

Code:
<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}">
                            <li>
                                <xen:avatar user="$user" size="s" img="true" />
                                <a href="{xen:link members, $user}" class="username">{xen:helper richUserName, $user}</a>
                                <div class="userTitle">{xen:helper userTitle, $user}</div>
                            </li>
                        </xen:if>
                    </xen:foreach>
                </xen:contentcheck>
            </ul>
        </div>
    </div>
</xen:if>


That's it.
 
Thanks Peggy, this is what I have on XenFans as well, we try not to <em> the staff.
 
Top Bottom