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

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 - Remove Tabs & Move Search to Profile Box

More
13 years 10 months ago - 13 years 10 months ago #1 by TBC
I searched a bit but didn't find a reference to removing the tabs and not the profile box. I would like to remove the tabbed menu: Recent Discussions, My Discussions, Categories entirely and move the search box to the right side of the profile box (opposite the avatar)

TIA/TBC
Last edit: 13 years 10 months ago by TBC.

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

More
13 years 10 months ago #2 by TBC
Got rid of the tabs and the search box in the fb_layout page but can't seem to locate the collapse/expand piece in the code. Any assistance would be appreciated. I was thinking that I could just disable the feature in the control panel but I'm not seeing it.

Want to keep the profile box in an expanded state and remove the - icon to remove that space above the forum.

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

More
13 years 10 months ago #3 by Cerberus
its in the fb_layout file next line down from bit u have already removed if i remember correctly.

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

More
13 years 10 months ago #4 by TBC
The only thing that I'm trying to get rid of, at this point, is the - + icon to expand/contract the profile box (need to leave it as expanded). Here's what's left of that portion of my fb_layout page but I'm not seeing it.
Code:
function KUNENA_get_menu($cbitemid, $fbConfig, $fbIcons, $my_id, $type, $view = "", $catid = 0, $id = 0, $thread = 0, $is_moderator = false, $numPending = 0) { $func = strtolower(JRequest::getCmd('func', '')); if ($func == '') // Set default as per config settings { switch ($fbConfig->fbdefaultpage) { case 'recent': $func = 'latest'; break; case 'my': $func = $my_id ? 'mylatest' : 'latest'; break; default: $func = 'listcat'; } } $header = '<div id="fb_topmenu" ><div id="Kunena_tab"><ul>'; if ($my_id != 0) { } if ($my_id != 0) { } switch ($type) { case 3: //Threaded view option removed from Kunena // if ($view == "flat") { // $header .= '<li>'; // $header .= CKunenaLink::GetViewLink('view', $id, $catid, 'threaded', '<span>'. _GEN_THREADED_VIEW .'</span>'); // $header .= '</li>'; // } // else // { // $header .= '<li>'; // $header .= CKunenaLink::GetViewLink('view', $id, $catid, 'flat', '<span>'. _GEN_FLAT_VIEW .'</span>'); // $header .= '</li>'; // } break; case 2: //Threaded view option removed from Kunena // if ($view == "flat") // { // $header .= '<li>'; // $header .= CKunenaLink::GetViewLink('showcat', $id, $catid, 'threaded', '<span>'. _GEN_THREADED_VIEW .'</span>'); // $header .= '</li>'; // } // else // { // $header .= '<li>'; // $header .= CKunenaLink::GetViewLink('showcat', $id, $catid, 'flat', '<span>'. _GEN_FLAT_VIEW .'</span>'); // $header .= '</li>'; // } if ($is_moderator) { if ($numPending > 0) { $numcolor = '<font color="red">'; $header .= '<li>'; $header .= CKunenaLink::GetPendingMessagesLink( $catid, '<span>'.(array_key_exists('pendingmessages', $fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['pendingmessages'] . '" border="0" alt="' . $numPending . ' ' . _SHOWCAT_PENDING . '" />' : $numcolor . '' . $numPending . '</font> ' . _SHOWCAT_PENDING).'</span>'); $header .= '</li>'; } } break; case 1: default: break; } if ($fbConfig->enablerulespage) { $header .= ' <li '; if ($func == 'rules' ) $header .= ' class="Kunena_item_active" '; $header .= ' >'.CKunenaLink::GetRulesLink($fbConfig, '<span>'.(array_key_exists('rules', $fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['rules'] . '" border="0" alt="' . _GEN_RULES . '" title="' . _GEN_RULES . '"/>' : _GEN_RULES).'</span>'); $header .= '</li>'; } if ($fbConfig->enablehelppage) { $header .= ' <li '; if ($func == 'faq' ) $header .= ' class="Kunena_item_active" '; $header .= ' >'.CKunenaLink::GetHelpLink($fbConfig, '<span>'.(array_key_exists('help', $fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['help'] . '" border="0" alt="' . _GEN_HELP . '" title="' . _GEN_HELP . '"/>' : _GEN_HELP).'</span>'); $header .= '</li>'; } $header .= '</ul></div></div>'; return $header; } function getSearchBox() { }

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

More
13 years 10 months ago #5 by TBC
Any ideas on how to get rid of the -/+ (collapse and expand icon) next to the search box?

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

More
More
13 years 10 months ago #7 by TBC
Thanks for your reply and I had read that but don't want to remove the profile box, just the expand and contract icon. I can't find anything in the fb_layout page... I'll have a look in the kunena.php page to see if anything makes sense but was hoping someone had a ready reference.

Thanks again.

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

More
13 years 10 months ago #8 by TBC
Had a good look through everything again, including the includes file profilebox.php in the templates folder but am still not seeing it. I'm attaching an image to illustrate exactly what it is that I'm trying to do.

Sorry if I'm missing something blatant, but I'm sure not seeing it.
Attachments:

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

More
13 years 10 months ago #9 by pathfinder

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

More
13 years 10 months ago - 13 years 10 months ago #10 by ugur
root/components/com_kunena/kunena.php
find and delete
Code:
$KunenaTemplate->addVar('kunena-header', 'pb_imgswitchurl', KUNENA_URLIMAGESPATH . "shrink.gif");
Attachments:
Last edit: 13 years 10 months ago by ugur.

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

Time to create page: 0.507 seconds