Online Statistic's Not Working...


Well-known member
I added the online statistic's to the PAGE_CONTAINER for a custom style:

<div class="pairsJustified">
                <dl class="memberCount"><dt>{xen:phrase members_online}:</dt>
                    <dd>{xen:number $onlineTotals.members}</dd></dl>
                <dl class="guestCount"><dt>{xen:phrase guests_online}:</dt>
                    <dd>{xen:number $onlineTotals.guests}</dd></dl>
                <dl class="visitorCount"><dt>{xen:phrase total_visitors}:</dt>
                    <dd>{xen:number $}</dd></dl>
But the results are zero. Even when I visit the online statistic's page, the results are still zero. What am I missing here?

See screenshot(style is a work in progress)



Well-known member
A template can only work if there is data available to it for use.

In your case, the online statistics are not present in that location. You'll need to create an addon to fetch the actual statistics data and push it to the "PAGE_CONTAINER" (or any other custom template of your choice).