The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forum Jump for Navbar Details »» | |||||||||||||||||||||||||
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:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
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
|
Comments |
#32
|
||||
|
||||
Wow, this is sweet, I just can't find the first step in my navbar
Could someone please help me out, heres my navbar code: PHP Code:
|
#33
|
||||
|
||||
Anyone please?
|
#34
|
||||
|
||||
Sorry, I had surgery last week and had been off for recovery until recently
Try this (don't forget to make the edits) |
#35
|
||||
|
||||
Quote:
Hey man, is that my navbar?, thanks alot man, sorry about your surgery, how are you recovering? |
#36
|
||||
|
||||
I put that code in but this is what happens(image attached)
|
#37
|
||||
|
||||
Sore, really sore. Is your main navigation in your header, as opposed to your navbar?
|
#38
|
||||
|
||||
Sorry about that man, hope everything goes good with you.
I'm not sure, but here's my header template PHP Code:
|
#39
|
||||
|
||||
Ok, try reverting your navbar back to what you posted originally, and then try this for your header...
Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="header_bg"> <tr> <td align="$stylevar[left]" valign="top" height="112"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]"> $header_advertisement <!-- banners --> </td> </tr> <tr> <td height="34" colspan="2"> <!-- nav buttons bar --> <div align="center"> <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> <tr align="center"> <if condition="$show['member']"> <td class="nav_menu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td class="nav_menu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> <td class="nav_menu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td> <td class="nav_menu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> <td class="nav_menu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> <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="vbmenu_control"><a href="#forumjump">Forum Jump</a> <script type="text/javascript"> vbmenu_register("forumjump"); </script></td> </if> <if condition="$show['member']"> <td id="usercptools" class="nav_menu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> </if> <else /> <if condition="$show['searchbuttons']"> <td class="nav_menu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <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> </if> <td class="nav_menu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> <if condition="$show['member']"> <td class="nav_menu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&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> </if> </if> <if condition="$show['member']"> <td class="nav_menu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td> </if> </tr> </table> </div> <!-- / nav buttons bar --> </td></tr> </table> <!-- /logo --> <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> <!-- content table --> $spacer_open $leftcolumn_advertisement $_phpinclude_output $welcomeheaders |
#40
|
||||
|
||||
Hey it looked like it worked thanks, but one thing. In the pic attached you can see that its not really aligning with the lines/style thing and I was wondering how I could put this on the far left have it come out to the right?
Thanks very much, I greatly appreciate this help Heres my site to see a better www.talkfitness.org |
#41
|
||||
|
||||
Ok, try doing this, in the header, find:
Code:
<td id="forumjump" class="vbmenu_control"><a href="#forumjump">Forum Jump</a> <script type="text/javascript"> vbmenu_register("forumjump"); </script></td> Code:
<td id="forumjump" class="nav_menu_control"><a href="#forumjump">Forum Jump</a> <script type="text/javascript"> vbmenu_register("forumjump"); </script></td> Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|