MyBB Community Forums

Full Version: Buttons within Navigation Bar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

I need some help :/

i have currently added some Facebook/Twitter, social links to my forum. As you can view @ www.mmogamer.co.uk, it's on the left above the tabs.

Is there any possibility i could add them Buttons within my Navigation bar? See image for details:

[Image: 1111zpic.png]

Cheers.
EDIT: Hacking

You cannot find support here.
Ehm? Hacking?

What do you mean?
Quote:Command Line is one of the key concepts of being a hacker, Discuss it here.

And you logo says "Hacking" in it.
Oh, my mistake.

We was planning on adding a "Hacking" category into our forums, but we had decided that it was a bad idea so we deleted it.

I had totally forgot about it being included in the logo, now i know.

Thanks. I have corrected this, will you still be willing to help out?
Edit your Navigation>navigation template.
I tried that before i had posted here,

I am trying to add the following code:

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4eb5c37b3269334c"></script>
<!-- AddThis Button END -->

Editing the template of "nav"

But seems that wherever i put the code within, just doesnt seem to go where i want correctly. I would like the buttons to be on the far right of the bar.

<ul id="breadcrumb">
<li><a href="{$mybb->settings['bburl']}" title="Home"><img src="images/star/home.gif" class="home" alt="Home" /></a>
{$nav}{$activebit}
</ul>
<div style="float:right;">Your Code</div>
Great.

It has worked, as you can see @ http://www.mmogamer.co.uk But there is one problem as you can most likely see for yourself. Is there anyway i can center it within the bar? But keep it to the right, if you know what i mean?

Hope you understand, current code:

<div style="float:right;"><!-- AddThis Button BEGIN -->

<div class="addthis_toolbox addthis_default_style ">

<a class="addthis_button_preferred_1"></a>

<a class="addthis_button_preferred_2"></a>

<a class="addthis_button_preferred_3"></a>

<a class="addthis_button_preferred_4"></a>

<a class="addthis_button_compact"></a>

<a class="addthis_counter addthis_bubble_style"></a>

</div>

<script type="text/javascript" 
src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4eb5c37b3269334c"></script>

<!-- AddThis Button END --></div>
<ul id="breadcrumb">
<li><a href="{$mybb->settings['bburl']}" title="Home"><img src="images/star/home.gif" class="home" alt="Home" /></a>
{$nav}{$activebit}
</ul>

I've tried putting the code elsewhere, doesn't seem to work.
Try this:

<ul id="breadcrumb">
<li><a href="{$mybb->settings['bburl']}" title="Home"><img src="images/star/home.gif" class="home" alt="Home" /></a>
{$nav}{$activebit}<div style="float:right;"><!-- AddThis Button BEGIN -->

<div class="addthis_toolbox addthis_default_style ">

<a class="addthis_button_preferred_1"></a>

<a class="addthis_button_preferred_2"></a>

<a class="addthis_button_preferred_3"></a>

<a class="addthis_button_preferred_4"></a>

<a class="addthis_button_compact"></a>

<a class="addthis_counter addthis_bubble_style"></a>

</div>

<script type="text/javascript" 
src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4eb5c37b3269334c"></script>

<!-- AddThis Button END --></div></ul>

EDIT: Your logo still says hacking in it.
Pages: 1 2