Hi Again:
Well, this time i'll explain how to customize the forum menu. (the menu that puts Calendar, Memberlist...etc).
Step #1:
Go to AdminCP => Templates & Styles => Templates => YourTemplate => Header Templates => Header (Usually in green).
Step #2
Search for:
Code:
<div class="menu">
<ul>
As you can see, there are several lines like:
Code:
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
And well, it's obvius, if you want to add new items to the menu, just copy one of this lines and modify it:
Code:
<li><a href="{$mybb->settings['bburl']}/urltogo"><img src="{$mybb->settings['bburl']}/images/image.ext" alt="" title="title on mouseover" />Name of the Item</a></li>
And reeplace:
- urltogo: forum url to go. (like /awards.php?), if you want to go to an outside url, just delete
{$mybb->settings['bburl']}, and add the http:....
- image.ext = the Image file that you want to show, with it extension. (Gif, png...whatever).
- title on mouseover = Well, that.
- Name of the item = The name that will appear next to the image.
The place that you add the new line, will determinate where the item will appear.
Code:
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
Your new line here, for example it will show your item at the end of the bar.
</ul>
</div>
------------------
Well, save and test.
Well, that's all, any question, I'll help
enjoy!