- Posts: 14
- Thank you received: 0
Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released
The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.
If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.
Question Recount statistics cron job?
We're having an issue on our forum where the topic counts keep being off. However, that issue is quickly fixed whenever we use the "recount statistics" tool. But we have to manually use it for the counts to be correct. Is there a way we could run the recount statistics function on a cron job or something a like? Totally possible for us to code a plugin to run it as well.
Thanks!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- jackyjoy123
-
- Offline
- New Member
-
- Posts: 2
- Thank you received: 0
Hello,
We're having an issue on our forum where the topic counts keep being off. However, that issue is quickly fixed whenever we use the "recount statistics" tool. But we have to manually use it for the counts to be correct. Is there a way we could run the recount statistics function on a cron job or something a like? Totally possible for us to code a plugin to run it as well.
Thanks!
thanks for the awesome information
jackyjoy
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Kubik-Rubik
-
- Offline
- Moderator
-
- Posts: 68
- Thank you received: 18
The recounting is executed via Ajax requests running this function \KunenaAdminControllerTools::dorecount (administrator/components/com_kunena/controllers/tools.php).
You could extract the calls within this function into a custom CLI script or system plugin to automate this process.
Have success!
Kubik-Rubik Joomla! Extensions
kubik-rubik.de
Please Log in or Create an account to join the conversation.
Hey Jackjoy,
The recounting is executed via Ajax requests running this function \KunenaAdminControllerTools::dorecount (administrator/components/com_kunena/controllers/tools.php).
You could extract the calls within this function into a custom CLI script or system plugin to automate this process.
Have success!
I did find that function and try to use it on a seperate script and allow the server to run a cron job on it, but it didn't seem to work as it was expecting soem sort of tokens from Joomla or the session? Unsure, but would it be possible for you to extract that working code for me and then I could run it with a cron job and see it it works?
Thanks!
Please Log in or Create an account to join the conversation.