SMFNEW Support Forum

Your Forum => Tips & Resources => Outdated (Closed for posting) => Topic started by: Nick on November 10, 2009, 04:55:52 pm

Title: [MYBB] Adding toplinks to your theme
Post by: Nick on November 10, 2009, 04:55:52 pm
This tutorial is for MYBB.

Description: Adds links into your header allowing you to get around your website easier.
Preview
(https://www.support.smfnew.com/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2F14lhd78.jpg&hash=0112805104010d30503491eb36a30a389cfe0e0b)

Firstly find

Code: [Select]
<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>
Above it add
Code: [Select]
<li><a href="{$mybb->settings['bburl']}/portal.php">Portal</a></li>
Now obviously you can change the link and "Portal" to whatever you want and you can add as many as you want. Make sure you dont overcrowd the header though as you want your forum to look professional. You can link anything in your header even a thread. All you would need to do is add

showthread.php?tid=ID

After

Code: [Select]
<li><a href="{$mybb->settings['bburl']}/
If you want to center your new header then add

Code: [Select]
<center> </center>
Before the first
Code: [Select]
<li>

of your header material and the last

Code: [Select]
</li>
 :D.
Title: Re: Adding toplinks to your theme
Post by: Shole on November 10, 2009, 04:58:23 pm
Nice to bad it isnt for SMF :(
Title: Re: Adding toplinks to your theme
Post by: Shawn on November 10, 2009, 05:19:50 pm
Good tutorial, it should help people out alot.
Title: Re: Adding toplinks to your theme
Post by: GuruMoose on November 13, 2009, 07:16:50 am
We need some for SMF man. I might start working on coding now.
SimplePortal 2.3.7 © 2008-2024, SimplePortal