I want to move the usercp, logout ... to the menu but when I include that in header it still appears after logout,. Can anybody please help me how to include these.
I was able to add the admincp by adding the $admincplink to the header as one of <li>
Hello.. you will have to add them in a condition.
Open
global.php
Find
eval("\$welcomeblock = \"".$templates->get("header_welcomeblock_member")."\";");
Above it add
$custom_header_links = "<li><a href=\"{$mybb->settings['bburl']}/usercp.php\"><strong>{$lang->welcome_usercp}</strong></a></li> <li><a href=\"{$mybb->settings['bburl']}/member.php?action=logout&uid={$mybb->user['uid']}\">{$lang->welcome_logout}</a></li>";
Now in the
header template
find
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
Above it add
{$custom_header_links}
*the links are already coded to suit the list (with <li></li>)