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
  #2  
Old 07-12-2005, 02:27 AM
dreck's Avatar
dreck dreck is offline
 
Join Date: Nov 2004
Location: Pickens SC
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the idea... I have my 2nd navbar with a space below the original. I tried yours & I haven't deside which one I like best.

Thanks!
Reply With Quote
  #3  
Old 07-12-2005, 09:27 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I saw your forum yeah its a matter of taste, I just needed space to throw some links at

here are a couple interesting links to fill out gaps if you need

My Topics (topics you started sorted by last reply)

Code:
	<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>
	</if>
My Replies (topics I replied sorted by last reply)

Code:
	<if condition="$show['member']">
		<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=process&showposts=0&exactname=1&searchuser=$bbuserinfo[username]">My Replies</a></td>
	</if>

edit: changed "topics I replied" to "my replies", kinda nicer
Reply With Quote
  #4  
Old 07-13-2005, 03:28 AM
Gio Gio is offline
 
Join Date: Aug 2004
Location: Washington DC
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed my site is more user friendly now than ever.
Reply With Quote
  #5  
Old 07-13-2005, 04:56 AM
Horsham R/C Horsham R/C is offline
 
Join Date: Mar 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream
I saw your forum yeah its a matter of taste, I just needed space to throw some links at

here are a couple interesting links to fill out gaps if you need

My Topics (topics you started sorted by last reply)

Code:
	<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>
	</if>
My Replies (topics I replied sorted by last reply)

Code:
	<if condition="$show['member']">
		<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=process&showposts=0&exactname=1&searchuser=$bbuserinfo[username]">My Replies</a></td>
	</if>

edit: changed "topics I replied" to "my replies", kinda nicer
Does this work in 3.0 ?
Reply With Quote
  #6  
Old 07-13-2005, 05:11 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for sharing your mod Dream.

Could you please place your mod instructions in a .txt and attach it in a zip? It's easier for members to refer back to the modification if required if they can save it on their computers.

Thank you.
Reply With Quote
  #7  
Old 07-13-2005, 06:04 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

done

Quote:
Originally Posted by Gio
Installed my site is more user friendly now than ever.
cool, you did it wrong though... you replaced your navbar for this one, that way people wont be able to register in your forums, you should revert your navbar

Quote:
Originally Posted by Horsham R/C
Does this work in 3.0 ?
those links? dont know, try calling them directly and see if they work
Reply With Quote
  #8  
Old 07-13-2005, 09:45 AM
JD210 JD210 is offline
 
Join Date: Dec 2004
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure does work in 3.0. I installed it on my site yesterday and it works perfectly.
Reply With Quote
  #9  
Old 07-13-2005, 05:55 PM
Horsham R/C Horsham R/C is offline
 
Join Date: Mar 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JD210
Sure does work in 3.0. I installed it on my site yesterday and it works perfectly.
What I quoted and not the hack. I already installed the hack. The dependancies that Dream posted require those of which are in 3.5.
Reply With Quote
  #10  
Old 07-13-2005, 08:30 PM
JD210 JD210 is offline
 
Join Date: Dec 2004
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes those work as well, I have them added to my site and they work, the only change I made is I put them in the Quick Links instead of the navbar.
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 02:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09886 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
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
  • (7)bbcode_code
  • (4)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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