Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Question how to remove myprofile-button?

More
17 years 7 months ago - 17 years 7 months ago #10132 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.
Last edit: 17 years 7 months ago by masteryoda1047.

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

More
17 years 7 months ago #10189 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
17 years 7 months ago #10253 by masteryoda1047
thank you for your help!

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

Time to create page: 0.110 seconds