MyBB Community Forums

Full Version: How to add stuff to the Nav-Bar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Well, First i give credits to: DennisTT For telling me how to add! Smile

Well, I Made this Tutorial for pepole who doesnt know how to add stuff to the Nav-Bar with images.

Well for does who dont know what the hell is a Nav-Bar so here is a picture: [Image: navbar10rd.jpg]

Okey lets get to the point:
Go to your ACP Then ACP--> Templates--> Modify / Delete--> Expend {template name}--> Header.

Then search in the Header this:
<li><a href="$settings[bburl]/search.php">
Founded it? Good now ABOVE That write:
<li><a href="$settings[bburl]/link.php">New Nav-Bar</a></li>
Wopii now we have a new Nav-Bar!

So, We want to add an image, Right? Look at this:
<li><a href="$settings[bburl][color=blue]/link.php[/color]"><img src="$theme[imgdir]/toplinks/[color=orange]image[/color].gif" border="0" alt="$lang->toplinks_[color=orange]image[/color]" />[color=red]New Nav-Bar[/color]</a></li>
Let me explain:
First, Put your desired image in the toplinks folder!
Red = Name of the new Nav-Bar.
Orange = Nav-Bar Image name.
Blue = The link of the new Nav-Bar, The link could be only in the MyBB Folder like:
[bburl]/link.php = http://yourdomain.com/bbfoldername/LINK.php.

Well we got all changed with images Big Grin
From now on the Nav-Bar wont be like this: [Image: navbar10rd.jpg]
It will be like this: [Image: navbar29fn.jpg]

NOTE: The enter forum nav-bar is only an exmpale for the new name, You can change it.
Any questions? Need help with this? Well then, message me at Private Wink
~NadavP
Nice Job!!!

it will help to someone sometime...

=)
Thanks Smile
Can you also make a dropdown menu
Well, Ill check in the ACP, If i will find it so ill post Smile
//NadavP2

--Edit: Its ready, Just waiting to Admins/Mods To move it to the Tutorials forum.--
is it possible to make a link to an other page, not one the forum, but an other website?
Museobanus Wrote:is it possible to make a link to an other page, not one the forum, but an other website?
Yes. You have to replace $settings[bburl]/link.php with your link, for example
<li><a href="http://www.mybboard.com">MyBBoard.com</a></li>
Michael83 Wrote:
Museobanus Wrote:is it possible to make a link to an other page, not one the forum, but an other website?
Yes. You have to replace $settings[bburl]/link.php with your link, for example
<li><a href="http://www.mybboard.com">MyBBoard.com</a></li>

maby I do something wrong, but it dusn't work, I use now this code:

<li><a href="www.museobanus.be">Museobanus.be</a></li>
if I click on it, he show me the page:

http://museobanus.online-urbanus.be/www.museobanus.be

and not

www.museobanus.be
Try this:
<li><a href="http://www.museobanus.be">Museobanus.be</a></li>
oke, It works, thx
Pages: 1 2 3