×
Kunena 5.1.7 Released - Security Release (20 Nov 2018)

The Kunena team has announce the arrival of Kunena 5.1.7 [K 5.1.7] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

× This is not a support forum for JomSocial or its related products. For JomSocial support you should visit JomSocial .

The information given in this category is intended to guide users who want to use JomSocial with Kunena and, mostly, was written by Kunena users. The information here is not necessarily accurate, up-to-date nor is it intended to replace the support given by the developers of JomSocial.

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 Jomsocial displays Username in the Activity module

More
4 years 10 months ago #1 by sunnyjey
The bug mentioned in earlier thread has returned back. Unfortunately I cannot reply to the same old thread as it is archived.

www.kunena.org/forum/k-2-0-miscellaneous...-for-thanks?start=10

I have installed latest Jomsocial and Kunena installed on Joomla 2.5. In Kunena Configuration I have selected 'NO' to display Username under USERS tab. In kunena forum it nicely displays REALNAME but in Jomsocial Activiy Module it displays USERNAME.

The fix given in earlier post is not working. Please help.

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

More
4 years 10 months ago #2 by dancespain
It's worst than this. The bug is in line 99 of file /plugins/kunena/community/activity.php

This is the line of code:
$username = KunenaFactory::getUser($actor)->username;

With this line the user thanks itself and is a bug.

The good code is:
$username = KunenaFactory::getUser($target)->username;

And if you like to use name instead username the code is:
$username = KunenaFactory::getUser($target)->name;

But this is only a temporally solve, I hope that developers create the code to get the configuration option and display the correct choice.

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.117 seconds