How to edit or add new top links in MyBB header

It is very simple to edit or add new top link in the header of mybb 

  1. First go to your admin panel.
  2. Click on Templates & Style tab.
  3. Click on Templates in the left sidebar.
  4. Click on the theme name example the default theme.
  5. Then expand the Header Templates and header.
  6. 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.

  1. Red for the link that you what to add.
  2. Blue for the image or icon that appear at the left side of the top link you need 16x16 size icon.
  3. Green for the Text that will appear as the top link.
and you need to put you top link line before the </ul> tag.

here is th final result 


0 Comments for "How to edit or add new top links in MyBB header"

Back To Top