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

Please Read This First:


Please read the guides posted as sticky topics in this category. For a quicker response, please give as much information to help us understand the problem (see How To Ask Questions The Smart Way and What information should I include when I ask for help (including how to post my configuration report)? ).

This category is only for reporting defects with K 2.0 Please read, before you post, Before you post your question, read this first .

Do not use this category:
  • if this website ( www.kunena.org ) works but works differently to how you expected
  • for requests to add or remove the standard features of Kunena;
  • for questions commonly asked or "how to" in nature (see the FAQs menu tab above);
  • for help with Kunena versions that are not the latest stable release; or
  • for general Joomla or website administration matters

You must include your K 2.0 configuration report; if you do not include your configuration report, your topic may be closed (locked) or deleted without any further warnings from the moderators.

K 2.0 support will cease on 31 August 2013 and this section of the forum will be closed and archived after that time and no further questions will be answered about this version.

Question Top Posters statistics is outputting phantom accounts

More
13 years 1 month ago #141941 by xillibit
The users which you can't see name in stats list are anynomous ?
The categories where the message has been posted is anynomous ?

I don't provide support by PM, because this can be useful for someone else.

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

More
13 years 1 month ago - 13 years 1 month ago #141958 by Winuser

xillibit wrote: The users which you can't see name in stats list are anynomous ?
The categories where the message has been posted is anynomous ?


You have to understand: There is NO user listed. No avatar, no name, no link to a profile.

From a coding perspective, I often find it helpful to look at the actual page output when trying to isolate a bug. Below is a snippet from the backend statistics listing. I'll show the first three Top Posters results. The first and third are valid entries; but look at the second one. I can see now that Kunena is trying to create a statistic for phantom, "Guest" users. Have a look:
Code:
<tbody> <tr> <th>#</th> <th>Username</th> <th>&nbsp;</th> <th>Posts</th> </tr> <tr> <td>1</td> <td> <a class="kuser-user" href="/index.php?option=com_kunena&func=profile&userid=13" title="View ATom's Profile" rel="nofollow">ATom</a> </td> <td> <img class="kstats-bar" src=".../media/kunena/images/bar.png" alt="" height="15" width="100%" /> </td> <td>541</td> </tr> <tr> <td>2</td> <td><span class="kuser-guest"></span><td> <td> <img class="kstats-bar" src=".../media/kunena/images/bar.png" alt="" height="15" width="81%" /> </td> <td>438</td> </tr> <tr> <td>3</td> <td> <a class="kuser-user" href="/index.php?option=com_kunena&func=profile&userid=33" title="View e-mote's Profile" rel="nofollow">e-mote</a> </td> <td> <img class="kstats-bar" src=".../media/kunena/images/bar.png" alt="" height="15" width="74%" /> </td> <td>399</td> </tr>

Maybe what's happening is that Kunena is accumulating post counts every time a user account is deleted. I think this for two reasons:

(1) If a user really had 438 posts, their account would not get deleted. We only delete accounts from inactive members--people who post 0, 1 or 2 messages and then disappear.

(2) Guests are not permitted to post, so technically a "Guest" should always have zero posts.

Please also check if it's possible for a "banned" user to create this kind of problem. I haven't checked if there's a banned member with exactly 438 posts, but it's another possible situation to investigate.
Last edit: 13 years 1 month ago by Winuser.
The following user(s) said Thank You: xillibit

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

More
13 years 1 month ago #141962 by xillibit
I have understtood and reproduced the issue, i need to find a fix now

I don't provide support by PM, because this can be useful for someone else.

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

More
13 years 1 month ago #142058 by Winuser
What is the nature of the problem, exactly? Maybe I can apply a temporary bandage until a permanent solution is available.

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

More
13 years 1 month ago #142071 by xillibit
When you delete an user, there are sill entries created by this user in polls or thankyou. I had started making a fix for that here : github.com/xillibit/Kunena/commit/9a3091...a3e325371045cd875ee8

I don't provide support by PM, because this can be useful for someone else.

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

More
13 years 1 month ago #142078 by Winuser
But where are the phantom post counts coming from?

I know in my case that those numbers cannot be sums of old polls or thank yous, because deleted users are not active enough to participate in polls or give/receive thanks.

Or to put it more simply, how can the Top Posters report be listing data from polls or Thank You? :unsure:

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

Time to create page: 0.233 seconds