Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

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

Version: 3.5.0 Rating:
Released: 07-11-2005 Last Update: 07-12-2005 Installs: 143
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 Topics</a></td>
		<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=process&showposts=0&exactname=1&searchuser=$bbuserinfo[username]">My 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>
	</tr>
	</table>
</div>
<!-- / top nav buttons bar -->
and change the links as you like :P


edit: you can use this to put a link for the admincp in the navbar

Code:
		<if condition="$bbuserinfo[usergroupid] == 6">
		<td class="vbmenu_control"><a href="$admincpdir/index.php$session[sessionurl_q]">AdminCP</a></td>
		</if>

Show Your Support

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

Comments
  #52  
Old 12-03-2005, 11:47 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BrandiDup
It was my mistake! You were right.


Working like a charm now!!! Thank you very much.
no problem just sharing my experience :ermm:
Reply With Quote
  #53  
Old 12-06-2005, 05:08 PM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is exactly what I was looking for. Thank you very much
Reply With Quote
  #54  
Old 12-15-2005, 10:30 PM
friendly friendly is offline
 
Join Date: Mar 2004
Location: Los Angeles
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*installed* -- just what I needed. Thanks.
Reply With Quote
  #55  
Old 12-17-2005, 08:24 PM
LockeAG's Avatar
LockeAG LockeAG is offline
 
Join Date: Aug 2005
Location: Mexico, DF
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by friendly
*installed* -- just what I needed. Thanks.
I have some kind of problem ... well everything its working great.. but for example I make a vbphrase for MY TOPICS and MY REPLIES, and they dont appear in fact the Text is erased from the navbar...

What should I do?

thanks
Reply With Quote
  #56  
Old 01-02-2006, 12:27 AM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!!!!
Reply With Quote
  #57  
Old 01-09-2006, 02:57 AM
jaybquick jaybquick is offline
 
Join Date: Jan 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome, very usable. Thanks
Reply With Quote
  #58  
Old 01-28-2006, 03:01 AM
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Location: Litchfield, Me
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mode has already been done. I wrote this mode almost two years ago and have been updating it ever sense. It works with 3.5 and allows drop down menus and more.

The only difference is that this hack here is all done in the current navbar.
The hack I created adds an addition navbar in your templates so when you want to make changes you do not have to go into the default navbar and worry about messing any code up. All you have to do is create a template for the second navbar and add a hook location in you ADMINCP and add a one line code to you default navbar and you are done.

The one I wrote discusses 4 different locations where the second navbar can go and explains where to put the code for the location you choose.

You can do the same thing as described in this hack and put it in your default navbar. But I find it easy to have a second navbar template to edit. It is your choice.

You can see this more here:
https://vborg.vbsupport.ru/showthrea...8&page=1&pp=15
Reply With Quote
  #59  
Old 01-30-2006, 11:56 PM
ToyotaDiesel ToyotaDiesel is offline
 
Join Date: Jan 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet mod. I installed it...twice

www.dualsportridersoflouisiana.com/forums
Reply With Quote
  #60  
Old 02-13-2006, 07:00 AM
Joey805 Joey805 is offline
 
Join Date: Jan 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question in regards to this mod. I hard coded a few links into my top nav bar. They show up and work fine when I am logged in but some of them disappear when I log out and viewing the forum as a guest.

Why? I need them to show up all the time.

Thanks,

Joey
Reply With Quote
  #61  
Old 02-13-2006, 07:05 AM
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Location: Litchfield, Me
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Joey805
I have a question in regards to this mod. I hard coded a few links into my top nav bar. They show up and work fine when I am logged in but some of them disappear when I log out and viewing the forum as a guest.

Why? I need them to show up all the time.

Thanks,

Joey
I could help you but you would have to be more specific on what the code is that is not showing up or I would have to look at it.
Reply With Quote
Reply


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:13 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.08094 seconds
  • Memory Usage 2,312KB
  • 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
  • (3)bbcode_quote
  • (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
  • (4)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