- Posts: 10
- Thank you received: 1
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
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Merged [Merged topic] Real name (Username) displayed in profile information
13 years 11 months ago #125507
by Malanor
Replied by Malanor on topic Re: [Merged topic] Real name (Username) displayed in profile information
I have the same problem.
And i don't understand the cause, when you say "If you choose to display a user's real name then you will see "<real-name> (<username>)" displayed when people view that person's user profile. That's how Kunena was designed to work. If you want to change this then you will have to change the way that Kunena works."
In all other views i can choose <real name> by reason that i don't show the <username>.
It couldn't be "Kunena design" that the <username> then shows up in Profile view.
And over a year is no solution for the issue to find here?
And i don't understand the cause, when you say "If you choose to display a user's real name then you will see "<real-name> (<username>)" displayed when people view that person's user profile. That's how Kunena was designed to work. If you want to change this then you will have to change the way that Kunena works."
In all other views i can choose <real name> by reason that i don't show the <username>.
It couldn't be "Kunena design" that the <username> then shows up in Profile view.
And over a year is no solution for the issue to find here?
Please Log in or Create an account to join the conversation.
13 years 11 months ago #125511
by sozzled
(1) What do you see now? (Give us an example)
(2) What would you like to see as the solution? (Give us an example)
Thank you.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re: [Merged topic] Real name (Username) displayed in profile information
What is the solution that you are expecting to find? Perhaps, you could show us?Malanor wrote: And over a year is no solution for the issue to find here?
(1) What do you see now? (Give us an example)
(2) What would you like to see as the solution? (Give us an example)
Thank you.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
13 years 11 months ago - 13 years 11 months ago #125516
by Malanor
Replied by Malanor on topic Re: [Merged topic] Real name (Username) displayed in profile information
And exactly this i have solved now.
I'm not an PHP-Developer, but i can use the fgrep command right.
I have searched for the right code that shows this "<name> (<username>)", is it in /components/com_kunena/template/default/profile/summary.php
The matching code is:
It shows the normal view of profile name, like this:
Then i have searched in whole com_kunena directory about the definition of $this->name and found this in ./funcs/profile.php
Here i could affiliate the variable and try this in summary.php
And now shows me only "<name>" without "(<username>)":
To prevent override the custom code from updates i have put summary.php in my template-directory:
/components/com_kunena/template/<my.template>/profile/summary.php
I'm not an PHP-Developer, but i can use the fgrep command right.
I have searched for the right code that shows this "<name> (<username>)", is it in /components/com_kunena/template/default/profile/summary.php
The matching code is:
Code:
<h2><span class="k-name"><?php echo JText::_('COM_KUNENA_USER_PROFILE'); ?> <?php echo $this->escape($this->name); ?></span>
It shows the normal view of profile name, like this:
Then i have searched in whole com_kunena directory about the definition of $this->name and found this in ./funcs/profile.php
Here i could affiliate the variable and try this in summary.php
Code:
<h2><span class="k-name"><?php echo JText::_('COM_KUNENA_USER_PROFILE'); ?> <?php echo $this->escape($this->user->name); ?></span>
And now shows me only "<name>" without "(<username>)":
To prevent override the custom code from updates i have put summary.php in my template-directory:
/components/com_kunena/template/<my.template>/profile/summary.php
Last edit: 13 years 11 months ago by Malanor.
The following user(s) said Thank You: jsanglier
Please Log in or Create an account to join the conversation.
13 years 11 months ago #125517
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic [Merged topic] Real name (Username) displayed in profile information
Thanks. I'm pleased to see that you have solved your problem.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
13 years 10 months ago #126698
by jsanglier
Replied by jsanglier on topic Re: [Merged topic] Real name (Username) displayed in profile information
Thanks for that!
For us it is a security issue that we do not display usernames, so this is important.
For anyone who has the same issue with K 2.0, the file to edit is template/your-template/html/user/default.php
For us it is a security issue that we do not display usernames, so this is important.
For anyone who has the same issue with K 2.0, the file to edit is template/your-template/html/user/default.php
Please Log in or Create an account to join the conversation.
Time to create page: 0.219 seconds