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

Reply
 
Thread Tools
Forum Jump for Navbar Details »»
Forum Jump for Navbar
Version: 1.00, by davidw davidw is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 12-04-2006 Last Update: Never Installs: 22
Re-useable Code  
No support by the author.

As per Request A Modification (Unpaid)
https://vborg.vbsupport.ru/showthread.php?t=118417

This is a small mod that has a few small steps. Keep in mind this should also work in previous versions of vbulletin and possibly 3.5.x series as well.

Find this area in your navbar (each navbar may differ somewhat)
PHP Code:
<if condition="$show['popups']">
    <if 
condition="$show['searchbuttons']">
        <
td id="navbar_posts" class="vbmenu_control"><a href="search.php?$session[sessionurl_q]accesskey="2">$vbphrase[active_topics_nav]</a> <script type="text/javascript"vbmenu_register("navbar_posts"); </script></td>
        <
td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"vbmenu_register("navbar_search"); </script></if></td>
    </if> 
before the </if> close, put this in:
PHP Code:
<td id="forumjump" class="vbmenu_control"><a href="#forumjump">Forum Jump</a> <script type="text/javascript"vbmenu_register("forumjump"); </script></td
So it should look like this:
PHP Code:
<if condition="$show['popups']">
    <if 
condition="$show['searchbuttons']">
        <
td id="navbar_posts" class="vbmenu_control"><a href="search.php?$session[sessionurl_q]accesskey="2">$vbphrase[active_topics_nav]</a> <script type="text/javascript"vbmenu_register("navbar_posts"); </script></td>
        <
td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"vbmenu_register("navbar_search"); </script></if></td>
        <
td id="forumjump" class="vbmenu_control"><a href="#forumjump">Forum Jump</a> <script type="text/javascript"vbmenu_register("forumjump"); </script></td>
    </if> 
Then find

PHP Code:
<!-- / NAVBAR POPUP MENUS --> 
Above, add:

PHP Code:
<div class="vbmenu_popup" id="forumjump_menu" style="display:none">
    <
table cellpadding="2" cellspacing="1" border="0">
        <
tr>
            <
td> <!-- This will begin a new column -->
                <
table valign="top" width="200" cellpadding="2" cellspacing="1" border="0">
                    <
tr><td class="tcat" onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Category</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                </
table>
                <
table width="200" cellpadding="2" cellspacing="1" border="0">
                    <
tr><td class="tcat" onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Category</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                </
table>
                <
table width="200" cellpadding="2" cellspacing="1" border="0">
                    <
tr><td class="tcat" onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Category</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                </
table>
            </
td>
            <
td> <!-- This will begin a new column -->
                <
table width="200" cellpadding="2" cellspacing="1" border="0">
                    <
tr><td class="tcat" onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Category</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                </
table>
            </
td>
            <
td> <!-- This will begin a new column -->
                <
table width="200" cellpadding="2" cellspacing="1" border="0"
                    <
tr><td class="tcat" onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Category</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                </
table>
                <
table width="200" cellpadding="2" cellspacing="1" border="0">
                    <
tr><td class="tcat" onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Category</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                    <
tr><td onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='" style="cursor:pointer; background-color:#DEE6EF" onmouseover="this.style.backgroundColor='#BAD2F0';" onmouseout="this.style.backgroundColor='#DEE6EF';">Forum Name</td></tr>
                </
table>
            </
td>
            <
td>
        </
tr>
    </
table>
</
div
Make sure each column has the same number of <tr> rows. For any blank rows you want to use, change Forum Name to &nbsp; (blank space).

Change http://www.yourforum.com to the location of your forums so that http://www.yourforum.com/forumdisplay.php?f= and a number will actually display a forum.

Change background-color:#DEE6EF" to suit your needs.
Change onmouseover="this.style.backgroundColor='#BAD2F0';" to suit your needs.
Change onmouseout="this.style.backgroundColor='#DEE6EF';" to suit your needs.
The first and third one I kept the same for clarity.

For example: If column 1 has 15 rows, column 2 should have 15 rows, etc.
Also, keep in mind that if your forum name is long, you may want to add in a <br /> tag somewhere to make it carry over to the next line so that it doesn't bleed.

Smaller size text:
<font size="1">Forum Name</font> Will bring the font size down to a lower level.

Cleanup:
Any rows you do not use, remove this from the line: onclick="window.location='http://www.yourforum.com/forumdisplay.php?f='"

Show Your Support

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

Comments
  #42  
Old 03-21-2007, 12:38 AM
raiderlax's Avatar
raiderlax raiderlax is offline
 
Join Date: Sep 2006
Location: Ontario, Canada
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, thank you so much, it lines up perfectly with the style,

about the other question, I meant instead of having it at the far right, could I place it before the register button, at the far left, like http://forums.digitalpoint.com/ .

Thanks so much once again
Reply With Quote
  #43  
Old 03-21-2007, 12:44 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you could try moving that line out of here...

Code:
<if condition="$show['popups']">        
            <if condition="$show['searchbuttons']">
                <if condition="$show['member']">
                <td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
                <td id="navbar_search" class="nav_menu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
				<td id="forumjump" class="nav_menu_control"><a href="#forumjump">Forum Jump</a> <script type="text/javascript"> vbmenu_register("forumjump"); </script></td>
            </if>
to here:
Code:
<tr align="center">
        <if condition="$show['member']">
(between the two lines.)

If that doesn't work, you may need to do this:
Code:
<tr align="center">
	<if condition="$show['popups']">        
		<if condition="$show['searchbuttons']">
			<td id="forumjump" class="nav_menu_control"><a href="#forumjump">Forum Jump</a> <script type="text/javascript"> vbmenu_register("forumjump"); </script></td>
		</if>
	</if>
	<if condition="$show['member']">
Btw, don't forget to click install.
Reply With Quote
  #44  
Old 03-24-2007, 08:32 AM
BillieJoe BillieJoe is offline
 
Join Date: Mar 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

finally you dont have to scroll down to forumjump anymore.

nice mod , thx.

installed of course.
Reply With Quote
  #45  
Old 12-14-2008, 01:09 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This modification is no longer supported.
This modification has been marked re-usable.
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:59 AM.


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.04120 seconds
  • Memory Usage 2,396KB
  • Queries Executed 19 (?)
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
  • (5)bbcode_php
  • (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
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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