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
5 years 1 month ago #216395
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic usernames being displayed instead of Real Name
On the file \plg_kunena_easysocial\profile.php, at the replace the existing getprofilename method by this one :
Code:
public function getProfileName($user, $visitorname = '', $escape = true)
{
$config = ES::config();
$displayusername = $config->get('users.displayName');
if ( $displayusername == 'username')
{
return FD::user($user->id)->username;
}
else
{
return FD::user($user->id)->name;
}
}
I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: xreliable
Please Log in or Create an account to join the conversation.
5 years 1 month ago #216398
by xreliable
Replied by xreliable on topic usernames being displayed instead of Real Name
thank you but in case this is affecting anyone else and for when you fix the plugin, this doesn't work. I get:
Rendering Error in layout Widget/MenuBar: Class 'KunenaProfileEasySocial' not found.
Rendering Error in layout Topic/Item/Message: syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST).
Rendering Error in layout Widget/MenuBar: Class 'KunenaProfileEasySocial' not found.
Rendering Error in layout Topic/Item/Message: syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST).
Please Log in or Create an account to join the conversation.
5 years 1 month ago #216414
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic usernames being displayed instead of Real Name
The change is here in github :
github.com/Kunena/Kunena-Forum/commit/70...3bc3e25249b7881048d4
At which place do-you have this error ?
At which place do-you have this error ?
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.
5 years 1 month ago #216461
by xreliable
Replied by xreliable on topic usernames being displayed instead of Real Name
any kunena forum page the formatting of the site becomes hosed and these error show.
Please Log in or Create an account to join the conversation.
5 years 1 month ago #216462
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic usernames being displayed instead of Real Name
I have checked on my test site, all the Kunena pages but i don't see these errors. Do-you have a test site to allow me to look at it ?
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.
5 years 4 weeks ago #216488
by xreliable
Replied by xreliable on topic usernames being displayed instead of Real Name
This is on a live site. I fell back to my fix because it was working without error. I'll try your fix again on your next release and if necessary I'll setup a test site.I have checked on my test site, all the Kunena pages but i don't see these errors. Do-you have a test site to allow me to look at it ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.236 seconds