Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/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

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 1.7, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question Unusual real name..

More
14 years 1 month ago - 14 years 3 weeks ago #118935 by Ok-Alex
Unusual real name.. was created by Ok-Alex
Hello.
In my __users table I had created one more field "surname" to allow people enter their surname during registration.

Can you tell me, which files I need to edit to display in Kunena forum real name as
Code:
$user->surname . ' ' . $user->name
Last edit: 14 years 3 weeks ago by Ok-Alex. Reason: found spelling mistake...

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

More
14 years 3 weeks ago - 14 years 3 weeks ago #118985 by Ok-Alex
Replied by Ok-Alex on topic Re: Unusual real name..
I found a way to display this in User profile.
Changed summary.php line
Code:
<h2><span class="k-name"><?php echo JText::_('COM_KUNENA_USER_PROFILE'); ?> <?php echo $this->escape($this->name); ?></span>
to
Code:
<h2><span class="k-name"><?php echo JText::_('COM_KUNENA_USER_PROFILE'); ?> <?php $my = JFactory::getUser (); echo $my->surname . ' ' . $my->name ?></span>

But I think this is wrong way..

Oops. This will always display current user name...
Last edit: 14 years 3 weeks ago by Ok-Alex.

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

Time to create page: 0.215 seconds