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

Solved JS Stream displays UserName for Thanks

More
11 years 6 months ago #1 by sunnyjey
With recent update K 2.0.2, the JS stream display USERNAME for Thanks. How do I select to display REALName in place of USERNAME ?

for eg, currently it displays MR. X thanks user 'admin' in the forum message ' Introduce Yourself'.

*'admin' is USerName, I want to display RealName instead.

Thank you in advance.

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

More
11 years 6 months ago #2 by xillibit
Hello,

I don't think that it's possible to choose in stream if you want show realname or username

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
11 years 6 months ago #3 by sunnyjey
Thank you for replying. I have checked Official Jomsocial Kunena plugin, but there is no such user selectable field.

I feel this is bug in recent Kunena 2.2. Earlier it used to display real name correctly. In my site everywhere (Kunena forum & JS) realname is displayed.

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

More
11 years 6 months ago - 11 years 6 months ago #4 by romagromov

xillibit wrote: Hello,

I don't think that it's possible to choose in stream if you want show realname or username


You think this is normal????
Users will kill me, if their usernames will displays in activity stream!!!!
Guys - usernames is confidential information!
Only realnames impossible in public area!!!

In older versions admin could choose username or real name... Why not in this version?

Download Free Software for Windows absolutly free.
Last edit: 11 years 6 months ago by romagromov.

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

More
11 years 6 months ago #5 by xillibit
Hello,

I hadn't said that is normal, i didn't remember how it's works, so i will take a look and give a fix if it's possible

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
11 years 6 months ago - 11 years 6 months ago #6 by romagromov
It seems I fix it....

Need to edit line 91 - replace usermane witn name

Before
Code:
$username = KunenaFactory::getUser($actor)->username;

After
Code:
$username = KunenaFactory::getUser($actor)->name;

in file /plugins/kunena/community/community/activity.php

After this changes NEW entries in activity stream will displays correct.

Download Free Software for Windows absolutly free.
Last edit: 11 years 6 months ago by romagromov.
The following user(s) said Thank You: sunnyjey

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

More
11 years 6 months ago #7 by xillibit
Hello,

this seems correct but you need to add a check to see the name or username in function of a Kunena configuration setting, i will add a fix for that

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
11 years 6 months ago - 11 years 6 months ago #8 by Jiminimonka

sunnyjey wrote: Thank you for replying. I have checked Official Jomsocial Kunena plugin, but there is no such user selectable field.

I feel this is bug in recent Kunena 2.2. Earlier it used to display real name correctly. In my site everywhere (Kunena forum & JS) realname is displayed.


In JomSocial Admin backend; Configuration -> Layout -> Display Name gives the option for Username or Realname, and has always had that option to my knowledge.



Please read the FAQ.
Only one question per topic.
Search before you ask a question.
Attachments:
Last edit: 11 years 6 months ago by Jiminimonka.

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

More
11 years 6 months ago #9 by sunnyjey

romagromov wrote: It seems I fix it....

Need to edit line 91 - replace usermane witn name

Before

Code:
$username = KunenaFactory::getUser($actor)->username;

After
Code:
$username = KunenaFactory::getUser($actor)->name;

in file /plugins/kunena/community/community/activity.php

After this changes NEW entries in activity stream will displays correct.


Thank you romagromov, now it is working correctly.

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

More
11 years 6 months ago #10 by sunnyjey

xillibit wrote: Hello,

this seems correct but you need to add a check to see the name or username in function of a Kunena configuration setting, i will add a fix for that


In both Kunena & Jomsocial configuration, Name Display is set 'RealName'.

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

Time to create page: 2.190 seconds