MyBB Community Forums
Automated Recount Statistics - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Development (https://community.mybb.com/forum-68.html)
+---- Thread: Automated Recount Statistics (/thread-91690.html)



Automated Recount Statistics - szeto - 2011-04-06

Hello..

Since I am using third party registration bridge, it seems like the registration does not update the statistic of Newest Member..

So, i would like to ask on how to do this Recount Statistics on automatic basis..
Maybe through cron job or by task manager..

Please guide me

Thank you


RE: Automated Recount Statistics - Yaldaram - 2011-04-06

You've to use the following code where you've used integrating script;
$cache->update_stats(); 

This will update the forum's stats automatically, and you don't have to run recount and rebuild tool again and again Wink


RE: Automated Recount Statistics - szeto - 2011-04-07

Sadly, the integration is just directly save the new user registration and password directly to mybb database without calling any variable from mybb..

so i believe this command will not work..

Er.. why did my thread moved here?