It is very simple to edit or add new top link in the header of mybb
- First go to your admin panel.
- Click on Templates & Style tab.
- Click on Templates in the left sidebar.
- Click on the theme name example the default theme.
- Then expand the Header Templates and header.
- Then find these lines.
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
</ul>
</div>
when you find this you need to add a new line take the first line for example.
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
you need to edit the colored lines.
- Red for the link that you what to add.
- Blue for the image or icon that appear at the left side of the top link you need 16x16 size icon.
- Green for the Text that will appear as the top link.
here is th final result
0 Comments for "How to edit or add new top links in MyBB header"