Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 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

Category: Mini Mods - Version: 3.7.x Rating:
Released: 03-06-2008 Last Update: Never Installs: 182
Template Edits
Re-useable Code Translations  
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 class="tborder" style="padding:1px; border-bottom-width:0px">
    <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
    <tr align="center">
        <td class="vbmenu_control"><a href="index.php?$session[sessionurl]">Home</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;">Contacts</a></td>
        </if>
        <td class="vbmenu_control"><a href="group.php?$session[sessionurl]">Social Groups</a></td>
        <td class="vbmenu_control"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td>
        <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
  #22  
Old 03-15-2008, 11:58 AM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iogames View Post
What's TMS?
The Template Modificatn System is one of the best vB Hacks ever and has been released by Andreas. You can find it here

Please note: Probably you'll need a lil bit time to understand what TMS can do and it's a lil bit complex too. But once you know how it works you'll never miss it It's simply the best :up:
Reply With Quote
  #23  
Old 03-15-2008, 12:06 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mike-D View Post
The Template Modificatn System is one of the best vB Hacks ever and has been released by Andreas. You can find it here

Please note: Probably you'll need a lil bit time to understand what TMS can do and it's a lil bit complex too. But once you know how it works you'll never miss it It's simply the best :up:
I got lazy and started doing automatic template edits for my hacks.
Reply With Quote
  #24  
Old 03-15-2008, 12:09 PM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 4number8 View Post
How would I add another usergroup to the AdminCP part here.....
I went another way in doing that job. To add a Top Menu in the Top navbar is always the same. I've changed mine completely through TMS and here's the result of the Top Menu...


HTML Code:
<!-- ******************************* -->
<!-- * 1.   TOP-NAVBAR 'LINKS'       -->
<!-- ******************************* -->
<templateedits product="vbulletin" version="3.6.8">
<templateedit template="navbar" varname="top_navbar_links" username="MikeD" version="3.6.8">
<title>Top Navbar 'Links'</title>		
<searchstr><![CDATA[<!-- breadcrumb, login, pm info -->]]></searchstr> <!-- Spot where the Top navbar starting at! -->
<replacestr><![CDATA[<!-- breadcrumb, login, pm info -->
<!-- Top Navbar -->
<if condition="$show['member']"> 
  <div align="center">
    <table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width:0px">
	  <tr align="center">
	   <td class="vbmenu_control"><a href="/vbulletin/upload/index.php">$vbphrase[forum]</a></td>
	   <td class="vbmenu_control"><a href="/vbulletin/upload/portal.php">$vbphrase[portal]</a></td>
	   <td class="vbmenu_control"><a href="/vbulletin/upload/photoplog/index.php">$vbphrase[gallery]</a></td>
	   <td class="vbmenu_control"><a href="/vbulletin/upload/arcade.php">$vbphrase[arcade]</a></td>
	   <td class="vbmenu_control"><a href="/vbulletin/upload/chat/flashchat.php">$vbphrase[chat]</a></td>
<!--   <td class="vbmenu_control"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a></td> -->
       <td class="vbmenu_control"><a href="impressum.php">Impressum</a></td>

			<!-- Administrators & Super Moderators Only -->
			<if condition="in_array($bbuserinfo['usergroupid'], array(5,6))"> <!-- Primary Usergroups! -->
				<td id="admin_links" class="vbmenu_control"><a href="#">Admin/Mod</a><script type="text/javascript"> vbmenu_register("admin_links"); </script></td>
			</if>
	  </tr>
    </table>
  </div>
</if>
<!-- / Top Navbar -->]]></replacestr>
	</templateedit>
Reply With Quote
  #25  
Old 03-15-2008, 12:36 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to see how you did the drop down for that. Can you PM me the code you used for it, sir?
Reply With Quote
  #26  
Old 03-15-2008, 02:16 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I got lazy and started doing automatic template edits for my hacks.
i love you Bobby
Reply With Quote
  #27  
Old 03-15-2008, 02:27 PM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I'd like to see how you did the drop down for that. Can you PM me the code you used for it, sir?
Do you mean me, Sir Bobby ?

Quote:
Originally Posted by KURTZ View Post
i love you Bobby
Yep, love him too
Reply With Quote
  #28  
Old 03-15-2008, 07:50 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
iogames, PM me so we don't clutter up his thread.
If you guys want to use this thread to share codes I don't mind. If you want to release your automatic template version I don't mind either, as I'm not changing this one to automatic template.
Reply With Quote
  #29  
Old 03-15-2008, 09:56 PM
DarkSorrowz DarkSorrowz is offline
 
Join Date: Oct 2007
Location: Canada,Ontario
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DarkSorrowz View Post
How do I make it so I can make it go to another link and not take you to

www.forumhome.com/www.redirectedlink.com

I want it just to take you to

www.redirectedlink.com

when you click it

(Note: Those are not the actual links)
Can anyone tell me?
Reply With Quote
  #30  
Old 03-15-2008, 10:21 PM
R1lover's Avatar
R1lover R1lover is offline
 
Join Date: Apr 2006
Location: Northern Ca
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Been there done that for years...
Reply With Quote
  #31  
Old 03-16-2008, 03:15 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DarkSorrowz View Post
Can anyone tell me?
use the full address, with http:// in front
Quote:
Originally Posted by R1lover View Post
Been there done that for years...
thanks for sharing
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 03:31 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.07518 seconds
  • Memory Usage 2,326KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_html
  • (10)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