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

Remove Staff Online Box...

Discussion in 'XenForo Questions and Support' started by Peggy, Nov 30, 2010.

  1. Peggy

    Peggy Well-Known Member

    Where do I look, to remove this box from the sidebar?

    Thanks in advance.
     
  2. Kier

    Kier XenForo Developer Staff Member

    It's in the sidebar_online_users template.
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Admin CP -> Appearance -> Templates -> sidebar_online_users

    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>
    
    edit - Kier wins ;)
     
  4. Peggy

    Peggy Well-Known Member

    Actually you both win. I wouldn't have known where to start and end the code to remove. :)

    Thanks guys.
     

Share This Page