Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Double navigation buttons bar Details »»
Double navigation buttons bar
Version: 1.00, by Dream Dream is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 11-06-2006 Last Update: Never Installs: 292
Template Edits
Re-useable Code  
No support by the author.

This was the best solution to have more navbar links I saw so far.

Edit "navbar" template, find

Code:
<!-- breadcrumb, login, pm info -->
add before

Code:
<!-- top nav buttons bar -->
<div align="center">
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width:0px">
    <tr align="center">
        <td class="vbmenu_control"><a href="index.php?$session[sessionurl]">Home</a></td>
        <td class="vbmenu_control"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td>
        <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
        <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
        <if condition="$show['member']">
        <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]">My Threads</a> / <a href="search.php?$session[sessionurl]do=process&showposts=0&exactname=1&searchuser=$bbuserinfo[username]">Replies</a></td>
        <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars  =yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
        <td class="vbmenu_control"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td>
        </if>
        <if condition="$bbuserinfo[usergroupid] == 6">
        <td class="vbmenu_control"><a href="$admincpdir/index.php$session[sessionurl_q]">AdminCP</a></td>
        </if>
     </tr>
    </table>
</div>
<!-- / top nav buttons bar -->
and change the links as you like :P

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-21-2007, 01:22 PM
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks my navbar was getting too crowded.
Reply With Quote
  #13  
Old 02-25-2007, 06:08 AM
lonelime lonelime is offline
 
Join Date: Feb 2005
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

installed
Reply With Quote
  #14  
Old 02-26-2007, 04:23 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I widen it to fit my page, look at my site please.
Reply With Quote
  #15  
Old 03-14-2007, 07:47 AM
Deadly Assassin's Avatar
Deadly Assassin Deadly Assassin is offline
 
Join Date: Aug 2006
Location: VbAnswers.com
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.



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
Reply With Quote
  #16  
Old 03-17-2007, 08:52 PM
BigJimTheLug BigJimTheLug is offline
 
Join Date: Nov 2006
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #17  
Old 03-20-2007, 10:42 AM
deezelpope deezelpope is offline
 
Join Date: Feb 2007
Posts: 1,272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahhhh, much better!! Installed, thanks!!:up:
Reply With Quote
  #18  
Old 04-15-2007, 10:01 AM
auctionguy auctionguy is offline
 
Join Date: Mar 2007
Location: USA
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Hack is just what I needed!!! Thanks alot for creating it!! I love it!!
Reply With Quote
  #19  
Old 04-22-2007, 01:23 AM
joker2040 joker2040 is offline
 
Join Date: Jan 2006
Location: Kentucky
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another great mod from Dream! You can view my install at http://s10planet.com
Reply With Quote
  #20  
Old 04-22-2007, 03:53 AM
l3it3r l3it3r is offline
 
Join Date: May 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent hack!
Reply With Quote
  #21  
Old 04-22-2007, 06:17 PM
kiFF kiFF is offline
 
Join Date: Apr 2007
Location: US
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:38 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.07484 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete