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

Question usernames being displayed instead of Real Name

More
5 years 1 month ago #216594 by unigene
Hello,
I have the same issue as xreliable but have Jomsocial instead of easysocial. So it looks as if all integrations are affected?

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

More
5 years 1 month ago #216596 by xillibit
Hello,

Yes all integrations which do profile integration are affected, i need to do the same change that i had done for easysocial. Do-you know on jomsocial where is the setting to choose to display username or name ?

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
5 years 1 month ago - 5 years 1 month ago #216601 by Ta
same issue here with the easy profile addon
github.com/ruud68/plg_kunena_easyprofile

Hopefully you can fix it as Member Names are not displayed anymore in Kunena
Last edit: 5 years 1 month ago by Ta.

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

More
5 years 1 month ago #216604 by xillibit
Is-there too a setting in easyprofile to define if we want display the username or the name ?

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
5 years 1 month ago #216605 by unigene
Regarding Jomsocial the setting to display the Real name or Username is available in the configuration menu / layout.

 

In the plugins\kunena\community\profile.php it might be the last bit of code which returns only the username:

   
The following user(s) said Thank You: xillibit

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

More
5 years 1 month ago #216606 by xillibit
Thanks, in the file plugins\kunena\community\profile.php, the function getProfileName should be changed in that way :
Code:
public function getProfileName($user, $visitorname = '', $escape = true)     {         $cconfig = CFactory::getConfig();         $displayusername = $cconfig->get('displayname');                  if ($displayusername == 'name')         {             return CFactory::getUser($user->id)->name;         }         else         {             return CFactory::getUser($user->id)->username;         }     }

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

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

Time to create page: 0.223 seconds