Look in the postbit_edit template. All you need to do is change the div ids and the JavaScript slightly.
What do you mean? The post_bit template?
Yes in the postbit templates, you'll see "postbit_edit". Just use the same setup, replacing what's inside the div with your own links.
How can I make it a drop down box?
Try this and tell me if it works:
<a href="{$mybb->settings['bburl']}/usercp.php" id="usermenu">User CP</a>
<div id="usermenu_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="usercp.php?action=profile" class="popup_item">Edit Profile</a></div><div class="popup_item_container"><a href="usercp.php?action=avatar" class="popup_item">Change Avatar</a></div><div class="popup_item_container"><a href="usercp.php?action=editsig" class="popup_item">Edit Signature</a></div><div class="popup_item_container"><a href="usercp.php?action=notepad" class="popup_item">Personal Pad</a></div></div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
new PopupMenu("usermenu");
}
// -->
</script>
replace the entire User CP link in the header_welcomeblock_member template with the above code.
Does not work...What i need is a drop down box
this is the the code in that template
<span style="float:left;">
<div id="welcomeblock_back">Willkommen <b>{$mybb->user['username']}</b></div>
</span>
<span style="float:right;">
<div id="bartopmenu">
<li><a href="{$mybb->settings['bburl']}/usercp.php">{$lang->welcome_usercp}</a></li>
<li>{$modcplink}</li>
<li>{$admincplink}</li>
<li><a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
</div>
</span>
Help Me