XF 1.5 Moving Stats Box Below Content

PhoGro

Member
I'm attempting to move the stats box from the sidebar to below the content. To do this I tried to simply place the code below inside the "ad_below_content" template.

Code:
<xen:hook name="ad_below_content" />
<!-- 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 -->
                </div>
            </div>
        </div>
        <!-- end block: forum_stats -->

While I am able to display the Stats box - all the counts are zero. Is there something I'm missing?

Screen Shot 2016-03-11 at 7.07.59 PM.webp
 
The data isn't available in that template.

It would require custom development or an add-on to make it available in other templates.
 
Top Bottom