Daily Statistics

Daily Statistics 1.3.5

No permission to download
Was it showing zero in the ACP and Forum Home?

All the variables are prefixed with DS_

Code:
            <dl>
                <span class="label"><dt>{xen:phrase DS_totalUsers}</a>:</dt></span>
                <dd>{xen:number $DS_totalUsers}</dd>
            </dl>
 
Balls!

Found the problem. On the forum home, there is a double underscore in the variable name!

Code:
                    <dl><dt>{xen:phrase DS_totalUsers}:</dt>
                        <dd>{xen:number $DS__totalUsers}</dd></dl>

I never saw this because I use WidetFramework.
 
I know, it was my home for years. This is us playing a local gig
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
Sorry for going off topic :)
 
Could do with someone else to help me test the above new feature if possible? It's working as far as I can tell, but would rather have someone else double check it with me.
 
I'm about to leave work, so this will be put off until tomorrow. I also need to set up a new test board, as I've been doing all this in VIM on my live board :(
 
Top Bottom