vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - Double navigation buttons bar (https://vborg.vbsupport.ru/showthread.php?t=130958)

valdet 02-21-2007 01:22 PM

Many thanks my navbar was getting too crowded.

lonelime 02-25-2007 06:08 AM

this one it looks nice on my forum .. easy and better than the previous released by someone else

installed

blind-eddie 02-26-2007 04:23 PM

How can I widen it to fit my page, look at my site please.

Deadly Assassin 03-14-2007 07:47 AM

what code would i need to be able to show my own images in the Navbar.

I have a modded one and want the second one to look like the first.

This is my navbar now.

http://www.game-image.com/uploads/dbb5c96ec0.jpg

Code:

<td width="37" height="25" align="left" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img src="$stylevar[imgdir_misc]/ambience_nav_home.jpg" alt="" width="37" height="25" border="0" /></a></td>
          <td width="40" height="25" align="left" valign="top"><a href="portal.php"><img src="$stylevar[imgdir_misc]/ambience_nav_portal.jpg" alt="" width="40" height="25" border="0" /></a></td>
          <td width="42" height="25" align="left" valign="top"><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/ambience_nav_cp.jpg" alt="" width="42" height="25" border="0" /></a></td>
                            <if condition="$show['registerbutton']">
                  <td width="55" height="25" align="left" valign="top"><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/ambience_nav_reg2.jpg" alt="" width="55" height="25" border="0" /></a></td>
        <else />
<td width="47" height="25" align="left" valign="top"><a href="register.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/ambience_nav_reg.jpg" alt="" width="47" height="25" border="0" /></a></td>
 <td width="68" height="25" align="left" valign="top"><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/ambience_nav_members.jpg" alt="" width="68" height="25" border="0" /></a></td>
<td width="57" height="25" align="left" valign="top"><a href="z/index.php"><img src="$stylevar[imgdir_misc]/ambience_nav_z.jpg" alt="" width="57" height="25" border="0" /></a></td>
<td width="67" height="25" align="left" valign="top"><a href="photoplog/index.php"><img src="$stylevar[imgdir_misc]/ambience_nav_gallery.jpg" alt="" width="67" height="25" border="0" /></a></td>
<td width="48" height="25" align="left" valign="top"><a href="arcade.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/ambience_nav_arcade.jpg" alt="" width="48" height="25" border="0" /></a></td>
                 
        <td width="91" height="25" align="left" valign="top"  id="navbar_search"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img src="$stylevar[imgdir_misc]/ambience_nav_search.jpg" alt="" width="91" height="25" border="0" /></a><script type="text/javascript"> vbmenu_register("navbar_search" ,1); </script></td>
  <td width="30" height="25" align="left" valign="top"><a href="faq.php$session[sessionurl_q]" accesskey="5"><img src="$stylevar[imgdir_misc]/ambience_nav_faq.jpg" alt="" width="30" height="25" border="0" /></a></td>       
          <td width="54" height="25" align="left" valign="top"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/ambience_nav_calender.jpg" alt="" width="54" height="25" border="0" /></a></td>
<td width="70" height="25" align="left" valign="top" id="usercptools"><a href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_misc]/ambience_nav_qlinks.jpg" alt="" width="70" height="25" border="0" /></a><script type="text/javascript"> vbmenu_register("usercptools" ,1); </script></td>
        </if>
<td width="67" height="25" align="left" valign="top">
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out()"><phrase 1="$bbuserinfo[username]"><img src="$stylevar[imgdir_misc]/ambience_nav_logout.jpg" alt="" width="67" height="25" border="0"</a></td

Can someone please show me hw to change it to my code i have now.

Thanks

BigJimTheLug 03-17-2007 08:52 PM

I've also done this as my current navbar is too long.

I've split it up into two navbars and will allows guest and members equal access to everything.

Before I decided to split the nav, I created space by using "guest" and "member" conditionals to allow certain access to certain groups.

This also works, but a double navbar looks better.

Nice mod.

If you are having trouble with this modification, please cut and paste the code in a text file and then proceed to edit in the text file. It is easier that way.

Also remember, vbulletin gives you a default of what your navbar looks like, so you can get a sense as to what you are doing right and what you are doing wrong.

Cheers.

deezelpope 03-20-2007 10:42 AM

Ahhhh, much better!! Installed, thanks!!:up:

auctionguy 04-15-2007 10:01 AM

The Hack is just what I needed!!! Thanks alot for creating it!! I love it!!

joker2040 04-22-2007 01:23 AM

Another great mod from Dream! You can view my install at http://s10planet.com

l3it3r 04-22-2007 03:53 AM

Excellent hack!

kiFF 04-22-2007 06:17 PM

It doesn't look centered for me. The space between each link is different for some reason.


All times are GMT. The time now is 02:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01284 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete