Kunena 6.3.2 released

The Kunena team has announce the arrival of Kunena 6.3.2 [K 6.3.2] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.

Solved Kunena Latest - Latest Topics Bug

More
8 months 2 weeks ago - 8 months 2 weeks ago #1 by Goldie
Hi,

I installed Kunena 6.2.0 and KunenaLatest 6.0.3 (ßlus Kunena Discuss). I added a module KunenaLatest and configured to show All categories with latest topics of 1 month backwards.

Looks perfect but then a user noticed that it would also list posts from categories where normal users do not have Read access. If they click on such a post it will of course not open. I verified with Kunena 5 that such posts were never showed to normal users or guests. If I change configuration to Latest Posts instead it does not show posts from hidden categories. But of course every latest post of same topic are listed here.

I verifed PHP of KunenaLatest and found that it calls method getLatestTopic in libraries/src/Forum/Topic/KunenaTopicHelper.php . It calls KunenaCategoryHelper::getCategories .

So it is clear that problem resides with method getLatestTopic. It should only select topics from categories which are readable by current user (guest or normal user) while it should be visible to moderators for example. Using Kunena Menu Recent Topics works correctly .

My temporary solution:
  1. Instead of selecting category "All" I selected all categories manually incl. internal category for moderators
  2. I added parameter "read" to KunenaCategoryHelper::getCategories call
Code:
$categories = KunenaCategoryHelper::getCategories($categories, $reverse, "read");

That is not a real solution but it works for the time being.

Can someone please confirm this bug and add to bug list ?

Best regards and keep the good work going, Goldie
Last edit: 8 months 2 weeks ago by Goldie.

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #2 by xillibit
Hello,

I have made fix for both Kunena and the module kunena altest, the fixes will be in the next release, if you want try to a test site with nightly build : For the Kunena latest module, you need to select All if you haven't selected categories and save it

I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: Leen, Goldie

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #3 by Leen
During the test here locally, everything seems to be fine

L.v.d.A
The following user(s) said Thank You: xillibit

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago - 8 months 1 week ago #4 by Goldie
Hi xillibit,

I can also confirm that it now works well in my test system. I only saw that you hand over category -1 when selecting ALL categories.

Thanks for quick support !
Last edit: 8 months 1 week ago by Goldie.

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #5 by Goldie
And I saw that Kunena - Uddeim integration now also started to work again.

Please Log in or Create an account to join the conversation.

Time to create page: 0.446 seconds