- Posts: 77
- Thank you received: 5
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.
The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, the ideas in these topics may not work with later versions and, for that reason, the topics are locked.
Question Display Post Count?
I thought i should post this
Since i didnt found any documentation about new API yet, i had to do some reverse engineering and find out how to do this.
It is very simple, and if you use K16 i suggest you to use this, rather than SQL based hack
Again: Make sure you pass the $userid properly
BTW, i would really love to see some API docs ASAP. Reverse eng. sucks, and you know that
Please Log in or Create an account to join the conversation.
You would'nt have any time to help with the API documentation by any chance?
We could need someone that drives that....
We love stars on the Joomla Extension Directory .
Please Log in or Create an account to join the conversation.
I do learn fast, can understand the code when i see it, but trust me, im not the person you would pick to explain how Kunena's API work (if you know what i mean)
Anyway, i feel honored with this proposal and i thank you, but really, someone with more PHP knowledge should do it.
My Best
Sinisa
Please Log in or Create an account to join the conversation.
WinuxFF wrote: Hi people
I thought i should post this
Since i didnt found any documentation about new API yet, i had to do some reverse engineering and find out how to do this.
It is very simple, and if you use K16 i suggest you to use this, rather than SQL based hack
Again: Make sure you pass the $userid properly
Code:<?php require_once JPATH_ROOT.DS."administrator".DS."components".DS."com_kunena".DS."api.php"; $posts = KunenaUserAPI::getPosts($userid); echo $posts->total; ?>
BTW, i would really love to see some API docs ASAP. Reverse eng. sucks, and you know that
I am a massive noob when it comes to all things coding, but I'm trying to learn.
Where exactly and in what file would I put this code in order to make this fix?
Please Log in or Create an account to join the conversation.
Specifically in Jomsocial, you can either use profile.index.php or profile.header.php
Please Log in or Create an account to join the conversation.
Is there a way to fix this?
Please Log in or Create an account to join the conversation.