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

Before posting in this category, please read sticky topics and, as general background, My Joomla site template makes a mess of Kunena .

If you have questions about third-party templates, please use the User-written Templates category or contact the author directly. This category should only be used for questions about templates developed and supported by the Kunena project.

Question Displaying Both Name AND Username

More
14 years 8 months ago - 14 years 8 months ago #105745 by robbyrobby
The members of my community could really benefit from being able to see both name and username in the Kunena forum. Does anyone know how to do that?

The "Display User Name" option in Kunena CP > Forum Configuration > Users only lets you select between showing either and i can't figure out what in this code for this option to change/add in the profile.vertical.php file:
Code:
<li class="kpost-username"> <?php echo CKunenaLink::GetProfileLink ( intval($this->profile->userid), $this->escape($this->username) ); ?> </li> <?php if ($this->usertype) : ?>
Last edit: 14 years 8 months ago by robbyrobby.

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

More
14 years 8 months ago #105771 by Matias
I'm not sure if this can be reliably be done in Kunena 1.7 (in everywhere at the same time), but it can be done in Kunena 2.0.

If you just want to have both names when showing topics, you can use $this->escape($this->profile->username) and $this->escape($this->profile->name)

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

More
14 years 8 months ago #105798 by etkritikonspoudon
Sorry to jump on this, but (unfortunately) both name and username are being displayed in each member's profile, even if it is set to display just the real name...
Is there a way to fix that?

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

More
14 years 8 months ago #105808 by Matias
You need to do the same in reverse. It's just a variable in the template.

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

More
14 years 8 months ago - 14 years 8 months ago #105828 by etkritikonspoudon

Matias wrote: You need to do the same in reverse. It's just a variable in the template.

I am sorry I am not at all good in putting my hand on the code, also I am not sure what the "reverse" is in this case and if it is clear that in my forum the only instance of the username showing up - contrary to the settings chosen - is the profile page, NOT the the topics...
In the topics themselves the real name appears, as set in the component's parameters. However, in the Profile page, the username appears within parentheses...

Sorry for the miscommunication if any...
Last edit: 14 years 8 months ago by etkritikonspoudon.

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

More
14 years 8 months ago #105870 by Matias
I was just pointing the direction. Now you need to find someone else who will help you (I really need to start finalizing K2.0 for the release).

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

Time to create page: 0.247 seconds