Kunena 6.0.8 Released (17 Jan 2023)

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

Question usernames being displayed instead of Real Name

More
1 year 10 months ago - 1 year 10 months ago #21 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: 1 year 10 months ago by Ta.

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

More
1 year 10 months ago #22 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
1 year 10 months ago #23 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
1 year 10 months ago #24 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.

More
1 year 10 months ago #25 by unigene
Thanks xillibit, The fix works for Jomsocial.   

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

Time to create page: 0.237 seconds