Kunena 6.3.0 released

The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] 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 and issues discovered during the last development stages of K 6.3

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Incorrect links when displaying thank you stats

More
13 years 5 months ago #1 by teratyke
Good Morning
When I set the stats module to display the "top thanks" the links to the users don't work - they link to different user's profiles. The top thanks links in the kunena component are working.
I get the same here on kunena.com (If I look in the showcase at the "top thanks" module).

I will do some further investigation, but any help is appreciated.
Thank you
Rob

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

More
13 years 5 months ago #2 by teratyke
A little more info, it seems that the link is to the last user who said thanks (rather than the user who received the thanks as would make sense),

in /modules/mod_kunenastats/tmpl/default.php the code that outputs the link is as follows..
Code:
<td class="kcol-first"><?php echo CKunenaLink::GetProfileLink($stat->userid, JString::substr ( htmlspecialchars ($stat->username), '0', $this->params->get ( 'titlelength' ) )); ?></td>
The "username" here seems to be correct in that it is the name of the user who has received the thanks. However, userid seems to be for the user who gave the thanks.

I assume that this isn't by design, or maybe my logic is wrong!

Rob

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

More
13 years 5 months ago #3 by xillibit
Hello,

You are close to the issue, just the $stat->userid by $stat->id above in the code that you has showed

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

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

More
13 years 5 months ago #4 by teratyke
Hello
That has resolved my problem!
I might have been close, but I think I would have spent several hours trying to find that solution without your help.
Thank you, sincerely
Rob

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

Time to create page: 0.462 seconds