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

Forum Statistics box

Discussion in 'XenForo Questions and Support' started by Peggy, May 7, 2011.

  1. Peggy

    Peggy Well-Known Member

    I would like to remove the forum stats box on the XF index page, since I have it on the portal.
    How would I go about removing it, or commenting it out? And where?
  2. Kier

    Kier XenForo Developer Staff Member

    It's in the sidebar portion of the forum_list template.
    Peggy likes this.
  3. borbole

    borbole Well-Known Member

    At the template mentioned above by Kier, find the following code and either remove it or comment it out.

    <!-- 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 -->
    Peggy likes this.
  4. Peggy

    Peggy Well-Known Member

    Thanks guys!
    borbole likes this.
  5. borbole

    borbole Well-Known Member

    You are welcome :)

Share This Page