Kunena 6.3.8 Released

The Kunena team has announce the arrival of Kunena 6.3.8 [K 6.3.8] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.

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
12 years 11 months ago - 12 years 11 months ago #1 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: 12 years 11 months ago by Ok-Alex. Reason: found spelling mistake...

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

More
12 years 11 months ago - 12 years 11 months ago #2 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: 12 years 11 months ago by Ok-Alex.

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

Time to create page: 0.341 seconds