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.

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.

Question [SOLVED] Hide Profile Tab

More
17 years 5 months ago - 17 years 4 months ago #21195 by arn34
Hi !

is there a way to hide "My Profile" tab as you can do with "Help" or "Rules" ?

I just don't need it as I use CB integration and the profile link is elsewhere on the page. And last but not least, it breaks my template as this is the only tab displaying above the others (the template width is not big enough for all the tabs).

I guess there is no "out of the box" solution, so I navigated through the code but did not found where this tab was created. Neither can I hide it through CSS as the tab as no specific class or id.

Could someone tell me in which php file I could find the tab creation ?

TIA

Arnaud
Last edit: 17 years 4 months ago by Spock.

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

More
17 years 5 months ago #21197 by @quila
Replied by @quila on topic Re:Hide Profile Tab
Hi arn,

\components\com_kunena\template\default_ex\fb_layout.php

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

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

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

More
17 years 4 months ago #21253 by arn34
Replied by arn34 on topic Re:Hide Profile Tab
This is exactly what I needed !

Thanks a lot !

Best reguards,

Arnaud

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

Time to create page: 0.107 seconds