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

XF 1.2 Sidebar questions

Discussion in 'XenForo Questions and Support' started by Ken Black, Nov 30, 2013.

  1. Ken Black

    Ken Black Member

    Hi, how do I get rid of the following in the right hand sidebar :

    Members Online Now


    Forum Statistics

  2. Jeremy

    Jeremy Well-Known Member

    Edit forum_list, find the references to sidebar_online_users, remove that.

    And remove the following block right underneath it:
    		<!-- block: forum_stats -->
    		<div class="section">
    			<div class="secondaryContent statsList" id="boardStats">
    				<h3>{xen:phrase forum_statistics}</h3>
    				<div class="pairsJustified">
    					<dl class="discussionCount"><dt>{xen:phrase discussions}:</dt>
    						<dd>{xen:number $boardTotals.discussions}</dd></dl>
    					<dl class="messageCount"><dt>{xen:phrase messages}:</dt>
    						<dd>{xen:number $boardTotals.messages}</dd></dl>
    					<dl class="memberCount"><dt>{xen:phrase members_count}:</dt>
    						<dd>{xen:number $boardTotals.users}</dd></dl>
    					<dl><dt>{xen:phrase latest_member}:</dt>
    						<dd><xen:username user="$boardTotals.latestUser" /></dd></dl>
    					<!-- slot: forum_stats_extra -->
    		<!-- end block: forum_stats -->
  3. Ken Black

    Ken Black Member

    Thanks Jeremy ! I just wanted to delete these areas because with a new forum, I don't think it looks good to show people the low number of members etc. When my forum grows i can see it being worth it though.
  4. Jeremy

    Jeremy Well-Known Member

    If you'd like the code to remain and not be shown, surround them with a xen:comment.
  5. Ken Black

    Ken Black Member

    Wow, I did not know that. Thank you very much.

Share This Page