Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] 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.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.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.

Question [SOLVED] Hide Profile Tab

More
16 years 11 months ago - 16 years 10 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: 16 years 10 months ago by Spock.

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

More
16 years 11 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
16 years 11 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.241 seconds