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

Question how to remove myprofile-button?

More
15 years 3 weeks ago - 15 years 3 weeks ago #1 by masteryoda1047
Hi,

i would like to remove the "my profile" button, since i dont need users to let them have access to any profile.
Attachments:
Last edit: 15 years 3 weeks ago by masteryoda1047.

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

More
15 years 3 weeks ago #2 by @quila
Hello masteryoda,

in the file

/components/com_kunena/template/default_ex/fb_layout.php


about line 201
change this
Code:
if ($my_id != 0) { $header .= '<li '; if ($func == 'myprofile' ) $header .= ' class="Kunena_item_active" '; $header .=' >'.CKunenaLink::GetMyProfileLink($fbConfig, $my_id, '<span>'.($fbIcons['profile'] ? '<img src="' . KUNENA_URLICONSPATH . '' . $fbIcons['profile'] . '" border="0" alt="' . _GEN_MYPROFILE . '" title="' . _GEN_MYPROFILE . '"/>' : _GEN_MYPROFILE).'</span>'); $header .= '</li>'; }

width this
Code:
if ($my_id != 0) { // $header .= '<li '; // if ($func == 'myprofile' ) $header .= ' class="Kunena_item_active" '; // $header .=' >'.CKunenaLink::GetMyProfileLink($fbConfig, $my_id, '<span>'.($fbIcons['profile'] ? '<img src="' . KUNENA_URLICONSPATH . '' . $fbIcons['profile'] . '" border="0" alt="' . _GEN_MYPROFILE . '" title="' . _GEN_MYPROFILE . '"/>' : _GEN_MYPROFILE).'</span>'); // $header .= '</li>'; }

and you are done.

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

More
15 years 3 weeks ago #3 by masteryoda1047
thank you for your help!

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

Time to create page: 0.505 seconds