1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Please donate today & help us with our growing server costs or buy premium for access to our premium products
    Dismiss Notice

FREE Remove Staff Online Box from sidebar

Discussion in 'Xenforo Template Mods & Extras' started by HAWK, Mar 22, 2016.

  1. HAWK

    HAWK Administrator Staff Member ADMIN

    Likes Received:
    Trophy Points:
    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:

    <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" />
                                    <a href="{xen:link members, $user}" class="username">{xen:helper richUserName, $user}</a>
                                    <div class="userTitle">{xen:helper userTitle, $user}</div>

    That's it.
  2. Insomniac

    Insomniac Registered REGISTERED

    Likes Received:
    Trophy Points:
    Thank you op . I need this . took a bit of searching. Thanks

Share This Page

Post thread