Daily Statistics

Daily Statistics 1.3.5

No permission to download
What version of XF are you running?

I've just done a new install on 1.4.2, and everything works as expected.

Are the stats missing from the forum homepage (as it looks like it's working in the ACP)?

I'm using XF 1.4.2.

So you are saying that looks right? Shouldn't there be some statistics about threads and posts?
 
Hahaha, so you renamed them? :D I haven't thought about that! *g*

But then another question: Shouldn't it be possible to show the addidional stats (last 7 / 30 days) on forum home?
 
I'm having some problems with this addon. It displays the info in the ACP fine, but on forumhome it doesn't. I do have the widget framework installed but even with the framework disabled, nothing displays on forumhome.

Any idea what's happening?

In the attached image you can see what my settings are.

Options- Daily Statistics Options - Admin CP - FTW Gamer.webp
 
Do the stats show in the block at all on the forum home? Do you have any other addons that add stuff to the sidebar (apart from the widget framework)?
 
The most online users add-on replaces the string that my add-on is looking for in the template to add the additional code
PHP:
        public static function templateHooks($name, &$contents, array $params, XenForo_Template_Abstract $template)
        {
            if ($name == 'page_container_sidebar') {

                $search = '<!-- slot: forum_stats_extra -->';

                $params = $template->getParams();
                $most = $template->create('ragtek_sidebarBlock_mostOnlineUsers', $params)->render();
                $replace = $search . $most;
                $contents = preg_replace('#' . $search . '#', $replace, $contents, 1);
            }
        }
 
Ahh, i found the problem. It's all my fault too. I forgot to enable the permissions.

Also, it works fine with "Most Users Online" addon.
 
Last edited:
Just upgrading from 1.2.0 to 1.2.4 on Xenforo 1.4.3 and got this error when upgrading the addon
Callback DailyStats_Listener::extendAdminHome is invalid (Invalid Method).
Upgraded to 1.2.3a first and then to 1.2.4 and it went ok. Just a FYI.
 
Last edited:
Just upgrading from 1.2.0 to 1.2.4 on Xenforo 1.4.3 and got this error when upgrading the addon
Callback DailyStats_Listener::extendAdminHome is invalid (Invalid Method).
Upgraded to 1.2.3a first and then to 1.2.4 and it went ok. Just a FYI.
That could be due to cached PHP files, and the cache not serving the correct file based on the upgrade.
 
i have only 3 rows in widget

new members today
new threats today
new posts today

but there is nothing about 7 days and 30 days
 
i have only 3 rows in widget

new members today
new threats today
new posts today

but there is nothing about 7 days and 30 days
That is because the extended stats are only available in the ACP, and not on the forum home.
 
Back
Top Bottom