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:
That's 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.