View Full Version : Top NavBar With Drop Down Menus
MadKad
10-13-2006, 10:00 PM
This mod is a top nav bar mod with drop down menus; it is the same as the standard vb one, the new navbar is in its own template.
This mod is easy to install there are to things you need to do to install this mod:
1) Upload product file
2) Edit navbar template
The mod comes with:
1 xml file
1 read me text file
1 html help file to show how to add links and drop down menus
FAQ:
Q: Nav bar not showing in other mods.
A: Click here (https://vborg.vbsupport.ru/showpost.php?p=1141635&postcount=75) thank you
Q: What mods will this show in
A: please read above why they might not, here are the lists of what I tested them in click here (https://vborg.vbsupport.ru/showpost.php?p=1150839&postcount=94)
This mod is supported here and at MK PitStop Webmaster Forum (http://www.mkpitstop.co.uk/forum), please click install if you use this mod, thank you.
Demo Here = http://www.mkpitstop.co.uk/forum
Hope you like :D
MadKad
10-14-2006, 02:25 PM
first post for later, thanks
bashy
10-14-2006, 04:10 PM
The Extras menu on your demo aint right, i take it this is not how the install will look?
MadKad
10-14-2006, 06:35 PM
The demo on our site is still having links added, when you upload this mod it has exsamples placed within the template so you can get an idea.
When you add the links you want all should be nice :)
MadKad
10-16-2006, 06:44 PM
The Extras menu on your demo aint right, i take it this is not how the install will look?
sorry mate I see what you meen, I didnt check in all browsers and FF looks bad, I will sort this out right away and update the files tomoz when its all sorted.
if people use it plz click install for the updated email :)
Hornstar
10-18-2006, 05:22 AM
Nice looking navbar, I think this is the one ive been waiting for :)
offtopic: btw nothing major but on your vip page it says this "so get in why its at a low cost " should be "so get in while its at a low cost " nothing big, but I was browing your site, and noticed it, always good to have correct spelling when your trying to sell something.
Hornstar
10-18-2006, 06:27 AM
At the very top of the navbar it is missing some color. you will see it is missing the line that runs around the navbar. How do we fix that. (to see what i mean visit my site http://www.gamerzneeds.net/forums/ as your site blends the color in more.)
Thanks
MadKad
10-18-2006, 10:28 AM
Glad you like it, and thanks for spotting that I am no good with spelling and grammer :)
As for that style problem, this one my big mistake and I am sorry, I have updated the file but for them that have installed it all ready its this
Open template: top_nav
Find:
style="border-top-width:0px"
^^Its right at the top in the first open table tag^^
Replace with:
style="border-top-width:1px"
thats it should have sorted the problem, well it did mine :D
Hornstar
10-19-2006, 04:32 AM
Glad you like it, and thanks for spotting that I am no good with spelling and grammer :)
As for that style problem, this one my big mistake and I am sorry, I have updated the file but for them that have installed it all ready its this
Open template: top_nav
Find:
^^Its right at the top in the first open table tag^^
Replace with:
thats it should have sorted the problem, well it did mine :D
fixed it on mine as well.
Thanks.
MadKad
10-19-2006, 06:49 AM
np glad to help :D
romolus
10-19-2006, 08:07 AM
Hy,
I have installing the navbar.
On the Startpage i can see the navbar. All right. But in the Subforums the navbar tool is not present ???
Help please,
Thank's
MadKad
10-19-2006, 08:23 AM
Please could I have two exsample links so that i can see :)
freevisio
10-19-2006, 09:53 PM
Hi,
do you say me how to put the navbar in vbadvanced homepage?
Thanks
MadKad
10-20-2006, 06:14 AM
Hi,
do you say me how to put the navbar in vbadvanced homepage?
Thanks
Yes I can, I dont use vbadvanced my self, but if you could show me your website, and also does it work like templates?
freevisio
10-20-2006, 07:56 AM
At this time I am not using templates, we are making tests for the new forum and this in a provisional address.
http://www.cinematicafx.com/3dsymax/
You can to see that the bar is in the forum but not in CMS
MadKad
10-20-2006, 08:35 AM
Looking at it, it all still works the same, placing the code in the middle of this
<br />
code here
<!-- breadcrumb, login, pm info -->
and thats in the same place as we place it.
if it doesnt work please say as I am allways glad to help :D
freevisio
10-20-2006, 09:41 AM
hello, no, it is not that. vbadvanced has independent files.
The menu bar this in the style vbadvanced "adv_portal", the variable $nav2 doesn't work alone in this place.
MadKad
10-20-2006, 09:54 AM
Are I see, because its a mod you need to be able to pull the verible from your vb scripts, I have this problem with my vbdrupal mod, you need to ask vbadvanced where or is there any ware you can add these veribles, sorry :(
romolus
10-21-2006, 02:22 AM
Please could I have two exsample links so that i can see :)
Hy,
here is the first link to the startpage of the forum:
http://comicportal.gamigo.de/forum/
Now the second link to supcategorie with an other template but the navigation is missing !?
http://comicportal.gamigo.de/forum/forumdisplay.php?f=1595
Thank's
MadKad
10-21-2006, 06:21 AM
I see two different styles, have you installed it on both styles?
romolus
10-21-2006, 02:20 PM
I see two different styles, have you installed it on both styles?
Yes there are 20 different styles in my forum. I have open there Styles and I have installed these script in the nav_top of there 20 styles.
patsalko
10-22-2006, 03:20 PM
great idea but your hack does not work right out of the box like you have in your documention.
I installed 3 times and I am not getting any drop down...
Could you please update the hack or just post clearer directions?
Thanks!
MadKad
10-23-2006, 07:34 AM
Yes there are 20 different styles in my forum. I have open there Styles and I have installed these script in the nav_top of there 20 styles.
If this mod is installed on all styles then it should be working ok with no problems, I only use one style my self so I am not to up on this :cry: sorry
great idea but your hack does not work right out of the box like you have in your documention.
I installed 3 times and I am not getting any drop down...
Could you please update the hack or just post clearer directions?
Thanks!
Upload product xml file, and add the code
<!-- Start nav 2 -->
$nav2
<!-- / End nav 2-->
to your Template: navbar
above:
<!-- breadcrumb, login, pm info -->
thats it there should be one Drop down menu called Drop down containing 4 links in it, to edit it you edit your template top_nav to add more menus etc etc.
This mod is fully set up for you all is needed is for you to add one code to one template and edit your links. If you are still having problems please say and maybe I could look at your website.
Al-Fateh
10-25-2006, 05:26 PM
this navbar only works for /forum ????
can external links be added to it?
seems like everything goes under /forum
Al-Fateh
10-25-2006, 05:37 PM
say i wanna add a link on the navbar directing to www.yahoo.com
can i do that?
MadKad
10-25-2006, 06:34 PM
say i wanna add a link on the navbar directing to www.yahoo.com
can i do that?
yer just add the http:// in the url of the link
ie.
<a href="http://www.yahoo.com">text<a/>
thats it just make sure the http:// is at the start of the url :)
Cocko
11-05-2006, 08:26 AM
need to ask vbadvanced where or is there any ware you can add these veribles, sorry :(
for some reason it's an open task
In CMPS settings under Portal Output Global Variables place nav2
Chadi
11-05-2006, 04:36 PM
I would like to use this but I have a custom theme, Element which is a bit awkward in its modifications. I cannot find
<!-- breadcrumb, login, pm info -->
navbar template
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
<br />
<!-- Nav -->
<div class="nav_border_out">
<div class="nav_border_in">
<if condition="is_array($navbits)">
<table cellpadding="4" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width="15"><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="$scriptpath"><span class="navbar"><strong>$navbits[lastelement]</strong></span></a> </td>
</tr>
</table>
<else />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><if condition="$show['member']">
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> $bbuserinfo[username],
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
</div>
<if condition="$show['pmstats']">
<div class="smallfont"> <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" />
<if condition="$show['pmstats']"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></if>
</div>
</if>
<else />
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[nav_register]</a></div>
</if>
</td>
<td width="50%" align="right"><if condition="$show['member']">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="navbar_forms" name="query" size="20" onfocus="this.value=''" value="$vbphrase[nav_search_form]" tabindex="1001" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</form>
<else />
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<div class="smallfont">
<input type="text" class="navbar_forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<label for="cb_cookieuser_navbar"><input type="hidden" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" /></label>
<input type="password" class="navbar_forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="16" tabindex="102" onfocus="this.value=''" value="Password" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</div>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</if>
</td>
</tr>
</table>
</if>
</div>
</div>
<!-- /Nav -->
<!-- Forum Description -->
<if condition="$show['forumdesc']">
<div class="spacer_small"></div>
<div class="forumdesc_border"><div class="forumdesc"><span class="smallfont"><strong>$foruminfo[title]</strong> $foruminfo[description]</span></div></div>
</if>
<!-- /Forum Description -->
<div class="spacer"></div>
<br />
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</td>
</tr>
<tr>
<td class="thead">$vbphrase[nav_search_options]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[nav_new_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[nav_todays_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / header quick search form -->
</if>
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
</table>
</div>
<!-- / user cp tools menu -->
</if>
<div class="vbmenu_popup" id="journalnavbar_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" align="center">$vbphrase[journal_links]</td></tr>
<tr><td class="vbmenu_option"><a href="journal.php$session[sessionurl_q]">$vbphrase[journal_index]</a></td></tr>
<if condition="$bbuserinfo!=0">
<tr><td class="vbmenu_option"><a href="journal.php?$session[sessionurl]do=gotomyjournal">$vbphrase[my_journal]</a></td></tr>
</if>
</table>
</div>
<!-- / NAVBAR POPUP MENUS -->
<!-- PAGENAV POPUP -->
<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>
<!-- / PAGENAV POPUP -->
</if>
header template
<!-- 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"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
<div align=center>
</div><!-- banners --><img border="0" src="http://www.talkjesus.com/images/right-logo.gif"></td>
</tr>
<tr>
<td height="34" colspan="2">
<!-- nav buttons bar -->
<div align="center">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr align="center">
<td class="nav_menu_control" width="16"><a href="http://www.talkjesus.com/index.php">
<img src="http://www.talkjesus.com/images/home.gif" border="0"></a></td>
<if condition="$show['member']">
<td class="nav_menu_control" width="91"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="nav_menu_control" width="91"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td class="nav_menu_control" width="92"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="nav_menu_control" width="92"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="nav_menu_control" width="92"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<!-- v3 Arcade -->
<td class="nav_menu_control" width="92"><a href="arcade.php$session[sessionurl_q]">Arcade</a></td>
<!-- /v3 Arcade -->
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="nav_menu_control" width="92"><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>
<td id="journalnavbar" class="nav_menu_control" width="92"><a href="#journalnavbar">$vbphrase[journals]</a> <script type="text/javascript"> vbmenu_register("journalnavbar"); </script></td>
<if condition="$show['member']">
<td id="usercptools" class="nav_menu_control" width="92"><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" width="92"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="nav_menu_control" width="92"><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" width="92"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><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 -->
<!-- content table -->
$spacer_open
$_phpinclude_output
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="clientscript/pngfix.js"></script>
<![endif]-->
Just a note, I want a single row only. Please let me know where the code should be pasted.
Chadi
11-05-2006, 04:47 PM
Ok, I simply created a new column in navbar inside header template and added $nav2
See attached results.
Chadi
11-05-2006, 05:14 PM
I cleaned up topnav template
<!--######## start of navbar2 ########-->
<!-- nav2 buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://www.mkpitstop.co.uk/forum" target="_blank">Webmaster Forum</a></td>
<!-- dropdown start -->
<td id="1" class="vbmenu_control"><a href="#1">Drop down</a>
<script type="text/javascript"> vbmenu_register("extra"); </script></td>
<!-- dropdown end -->
</tr>
</table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Drop Down</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
</table>
</if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!--####### end of navbar2 #######-->
Not sure what I'm doing wrong. Still does not dropdown at all.
phovanxua
11-06-2006, 08:23 PM
Installed ...worked on 3.5.4 and 3.6.2 .
It's tooked me about half hour ...figure out ...because you may have difference skin ...and you have to add new button to the either Header or Nav templates .
This is my simple way "Music" drop down menu I added this function to my header : After you import this product .
1.Add new button name to : Nav or header template
- for 3.5.4 version : <td id="1" class="vbmenu_control"><a href="#1">Music</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
- for version 3.6.2 : <td id="1" ><a href="#1">Music</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
2.And find : <!-- / NAVBAR POPUP MENUS -->
Replace with :
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_option"> <a href="Link1"> Music 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 2">Music 2</a></td></tr>
<tr><td class="vbmenu_option"><a href="local_links.php">My MP3</a></td></tr>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
Also this delete file is my option : Go to Nav or Header template
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
Demo here : if you look at the Music button ...you see :)
Demo 1 (http://hatnang.com/forum.php)
Demo 2 (http://vietdetroit.com)
Once again ...if it not in your Nav template , it's will be on your Header template .
Thanks .
Chadi
11-06-2006, 10:03 PM
I cleaned up topnav template
<!--######## start of navbar2 ########-->
<!-- nav2 buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://www.mkpitstop.co.uk/forum" target="_blank">Webmaster Forum</a></td>
<!-- dropdown start -->
<td id="1" class="vbmenu_control"><a href="#1">Drop down</a>
<script type="text/javascript"> vbmenu_register("extra"); </script></td>
<!-- dropdown end -->
</tr>
</table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Drop Down</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
</table>
</if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!--####### end of navbar2 #######-->
Not sure what I'm doing wrong. Still does not dropdown at all.
Can someone please help?
phovanxua
11-07-2006, 12:45 AM
Can someone please help?
What you want to do Menu drop down ?
Just add button or add the whole Nav 2 ?
The way I did is just add 1 button to my Header for the drop down menu .
PM me your site and I can take a look .
Chadi
11-07-2006, 01:01 AM
I added this now
<td class="nav_menu_control" id="1" ><a href="#1">Test</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
It shows "test" with the drop down arrow (good) but clicking it, nothing happens nor anything shows (sub menu).
header
<!-- 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"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
<div align=center>
</div><!-- banners --><img border="0" src="http://www.talkjesus.com/images/right-logo.gif"></td>
</tr>
<tr>
<td height="34" colspan="2">
<!-- nav buttons bar -->
<div align="center">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr align="center">
<td class="nav_menu_control" width="16"><a href="http://www.talkjesus.com/index.php">
<img src="http://www.talkjesus.com/images/home.gif" border="0"></a></td>
<if condition="$show['member']">
<td class="nav_menu_control" width="91"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="nav_menu_control" width="91"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td class="nav_menu_control" width="92"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="nav_menu_control" width="92"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="nav_menu_control" width="92"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<!-- v3 Arcade -->
<td class="nav_menu_control" width="92"><a href="arcade.php$session[sessionurl_q]">Arcade</a></td>
<!-- /v3 Arcade -->
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td class="nav_menu_control" id="1" ><a href="#1">Test</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
<td id="navbar_search" class="nav_menu_control" width="92"><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>
<td id="journalnavbar" class="nav_menu_control" width="92"><a href="#journalnavbar">$vbphrase[journals]</a> <script type="text/javascript"> vbmenu_register("journalnavbar"); </script></td>
<if condition="$show['member']">
<td id="usercptools" class="nav_menu_control" width="92"><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" width="92"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="nav_menu_control" width="92"><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" width="92"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><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 -->
<!-- content table -->
$spacer_open
$_phpinclude_output
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="clientscript/pngfix.js"></script>
<![endif]-->
top_nav
<!--######## start of navbar2 ########-->
<!-- nav2 buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control">Entertainment</td>
<!-- dropdown start -->
<td id="1" class="vbmenu_control"><a href="#1">Drop down</a>
<script type="text/javascript"> vbmenu_register("extra"); </script></td>
<!-- dropdown end -->
</tr>
</table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Drop Down</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
</table>
</if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!--####### end of navbar2 #######-->
What did I do wrong?
phovanxua
11-07-2006, 01:03 AM
Just give me second ...I see your web site show the test ...but no drop .
phovanxua
11-07-2006, 01:09 AM
Did you see this script here <!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_option"> <a href="Link1"> Music 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 2">Music 2</a></td></tr>
<tr><td class="vbmenu_option"><a href="local_links.php">My MP3</a></td></tr>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
Did you add this scriot to your Nav template or Header template ...
Open your Styles and template ....edit Nav templates ...find this
<!-- / NAVBAR POPUP MENUS -->
Add this cript above that word <!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_option"> <a href="Link1"> Music 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 2">Music 2</a></td></tr>
<tr><td class="vbmenu_option"><a href="local_links.php">My MP3</a></td></tr>
</div>
<!-- extras pop end -->
And insert your link at the < a href ="www.yahoo.com">Yahoo</a></td></tr> <=== for example .
You can add more than 1 link as I show above .
Make sure that you edit this script and replace your link :
<tr><td class="vbmenu_option"> <a href="Link1"> Music 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 2">Music 2</a></td></tr>
<tr><td class="vbmenu_option"><a href="local_links.php">My MP3</a></td></tr>
phovanxua
11-07-2006, 01:13 AM
Do not edit the Top Nav ....just leave it alone . the only thing you need to add or edit is your Nav template or Header template .
You almost there .
Chadi
11-07-2006, 01:20 AM
OK but as I mentioned before, <!-- / NAVBAR POPUP MENUS --> does not appear in header nor navbar. The actual nav menu is inside header anyway.
What should I do?
phovanxua
11-07-2006, 01:24 AM
OK but as I mentioned before, <!-- / NAVBAR POPUP MENUS --> does not appear in header nor navbar. The actual nav menu is inside header anyway.
What should I do?
Oh I see ...you using Vbseo ...
I saw this in your header :<!-- / nav buttons bar -->
Add this cript above :<!-- / nav buttons bar -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_option"> <a href="Link1"> Music 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 2">Music 2</a></td></tr>
<tr><td class="vbmenu_option"><a href="local_links.php">My MP3</a></td></tr>
</div>
<!-- extras pop end -->
remmember ...edit your <a href =" link" .....
Try it ...I am not sure it work or not ...because I don't have Vbseo .
Chadi
11-07-2006, 01:26 AM
That screwed up the forumhome. It basically removed everything in between header/footer somehow.
phovanxua
11-07-2006, 01:33 AM
That screwed up the forumhome. It basically removed everything in between header/footer somehow.
sorry about that ....
I saw you have drop down Journal ....so it's should have some thing like nav bar ...so it's can talk to the header ...when you click it ...it's will open .
If it didn't work ...I have to look at your adminCP ....because I don't have Vbseo ...so I don't know exactly where your Nav template .
Or maybe some one in here used Vbseo can help you .
Chadi
11-07-2006, 01:41 AM
This is the journal code from header template
<td id="journalnavbar" class="nav_menu_control" width="92"><a href="#journalnavbar">$vbphrase[journals]</a> <script type="text/javascript"> vbmenu_register("journalnavbar"); </script></td>
phovanxua
11-07-2006, 01:47 AM
This is the journal code from header template
<td id="journalnavbar" class="nav_menu_control" width="92"><a href="#journalnavbar">$vbphrase[journals]</a> <script type="text/javascript"> vbmenu_register("journalnavbar"); </script></td>
That is just for the header ....you should have another script some where work with Journals drop down .
If you use vb 3.6.2 ...then you have to add to header and Nav bar .
If you use vb 3.5.4 it's all right in that nav template .
Like I said ...I don't have Vbseo ...so I don't know exactly where all the template ....but if you use Vbulletin ...I know where they at .
This mod only for Vbulletin ...so that why it's doesn't work on your site ...in order to fix that ...you have to ask some one who use Vbseo .
If you want me take a look ...you had to let me look at your adminCP , just PM me .
I'll be back about an hour .
Good luck to you .
phovanxua
11-07-2006, 02:09 AM
Is there may be anywhere in your style templates had something called : Navigation/breadcrumb templates ....???
Something call Navigation ...find it .
Chadi
11-07-2006, 03:24 AM
Ok I added the script code in navbar. The drop down works, but look at it now.
Its called "entertainment".
What's with the space on the right and the "go to page"?
phovanxua
11-07-2006, 03:25 AM
Chadi ....I saw you have Entertainment drop down menu ...
Copy and paste this over your header Entertainment :
<td id="1" class="nav_menu_control"><a href="#1">Entertainment</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
It's should be look like the Journals dropdown menu.
Chadi
11-07-2006, 03:28 AM
It still looks the same
phovanxua
11-07-2006, 03:34 AM
As I memtion above about delete this cript under your Nav template :
If you delete this script the go to page will be gone ....but your Entertainment will not work when you at the post or view threat ...it's only work at the forum page .
But if you had the Vb 3.6.2 ...it's work perfect .
This is the cript I delete at my site :
Also this delete file is my option : Go to Nav or Header template
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
you can try to see if it work .
But remember ....click yes and save in the history before you edit .
phovanxua
11-07-2006, 03:40 AM
It still looks the same
try this <tr><td id="1" class="nav_menu_control"><a href="#1">Entertainment</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td></tr>
Chadi
11-07-2006, 03:41 AM
Ok look now...still this strange border on bottom of drop down
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
<br />
<!-- Nav -->
<div class="nav_border_out">
<div class="nav_border_in">
<if condition="is_array($navbits)">
<table cellpadding="4" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width="15"><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="$scriptpath"><span class="navbar"><strong>$navbits[lastelement]</strong></span></a> </td>
</tr>
</table>
<else />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><if condition="$show['member']">
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> $bbuserinfo[username],
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
</div>
<if condition="$show['pmstats']">
<div class="smallfont"> <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" />
<if condition="$show['pmstats']"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></if>
</div>
</if>
<else />
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[nav_register]</a></div>
</if>
</td>
<td width="50%" align="right"><if condition="$show['member']">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="navbar_forms" name="query" size="20" onfocus="this.value=''" value="$vbphrase[nav_search_form]" tabindex="1001" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</form>
<else />
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<div class="smallfont">
<input type="text" class="navbar_forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<label for="cb_cookieuser_navbar"><input type="hidden" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" /></label>
<input type="password" class="navbar_forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="16" tabindex="102" onfocus="this.value=''" value="Password" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</div>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</if>
</td>
</tr>
</table>
</if>
</div>
</div>
<!-- /Nav -->
<!-- Forum Description -->
<if condition="$show['forumdesc']">
<div class="spacer_small"></div>
<div class="forumdesc_border"><div class="forumdesc"><span class="smallfont"><strong>$foruminfo[title]</strong> $foruminfo[description]</span></div></div>
</if>
<!-- /Forum Description -->
<div class="spacer"></div>
<br />
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</td>
</tr>
<tr>
<td class="thead">$vbphrase[nav_search_options]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[nav_new_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[nav_todays_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / header quick search form -->
</if>
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
</table>
</div>
<!-- / user cp tools menu -->
</if>
<div class="vbmenu_popup" id="journalnavbar_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" align="center">$vbphrase[journal_links]</td></tr>
<tr><td class="vbmenu_option"><a href="journal.php$session[sessionurl_q]">$vbphrase[journal_index]</a></td></tr>
<if condition="$bbuserinfo!=0">
<tr><td class="vbmenu_option"><a href="journal.php?$session[sessionurl]do=gotomyjournal">$vbphrase[my_journal]</a></td></tr>
</if>
</table>
</div>
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_option"><a href="Link 1">Music 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 2">Music 2</a></td></tr>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!-- PAGENAV POPUP -->
<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
</form>
</td>
</tr>
</table>
</div>
<!-- / PAGENAV POPUP -->
</if>
phovanxua
11-07-2006, 03:42 AM
look above .
phovanxua
11-07-2006, 03:46 AM
Remember about the script you just delete so it will not show the go to page ....
When you go to 1 of your room ...that entertainment will not work ...it's only work at the main page .
So i suggest you just leave it there ....don't delete the sript above ...it's only work for 3.6.2.
it's just didn't look right ...when it show the go to page ...i got VB 3.6.2 ...that delete portion above is work for that version .
apiasto
11-07-2006, 04:31 AM
I see wats wrong,
<td id="1" class="vbmenu_control"><a href="#1">Drop down</a>
<script type="text/javascript"> vbmenu_register("extra"); </script></td>
<!-- dropdown end -->
here vbmenu_register"1" not (extra). you put extra where u have dropdown
and in the second code you suppose to replace ---->NAVBAR POPUP MENU<--
with the second code, dont write the second code under it.as u did in ur 2nd NAV BAR.
the first one should look like this
<td id="1" ><a href="#1"><b>Extra's</B></a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
try it this way ,works for me.
Chadi
11-07-2006, 05:14 PM
I do not know how many times I have to say I do ***NOT*** have ---->NAVBAR POPUP MENU<-- in my templates
I pasted this *again* in header
<td id="1" class="nav_menu_control" width="92"><a href="#1">Entertainment</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
entire header template:
<!-- 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"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
<div align=center>
</div><!-- banners --><img border="0" src="http://www.talkjesus.com/images/right-logo.gif"></td>
</tr>
<tr>
<td height="34" colspan="2">
<!-- nav buttons bar -->
<div align="center">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr align="center">
<td class="nav_menu_control" width="16"><a href="http://www.talkjesus.com/index.php">
<img src="http://www.talkjesus.com/images/home.gif" border="0"></a></td>
<if condition="$show['member']">
<td class="nav_menu_control" width="91"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="nav_menu_control" width="91"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td class="nav_menu_control" width="92"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="nav_menu_control" width="92"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="nav_menu_control" width="92"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<td id="1" class="nav_menu_control" width="92"><a href="#1">Entertainment</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
<!-- v3 Arcade -->
<td class="nav_menu_control" width="92"><a href="arcade.php$session[sessionurl_q]">Arcade</a></td>
<!-- /v3 Arcade -->
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="nav_menu_control" width="92"><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>
<td id="journalnavbar" class="nav_menu_control" width="92"><a href="#journalnavbar">$vbphrase[journals]</a> <script type="text/javascript"> vbmenu_register("journalnavbar"); </script></td>
<if condition="$show['member']">
<td id="usercptools" class="nav_menu_control" width="92"><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" width="92"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="nav_menu_control" width="92"><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" width="92"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><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 -->
<!-- content table -->
$spacer_open
$_phpinclude_output
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="clientscript/pngfix.js"></script>
<![endif]-->
navbar template:
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
<br />
<!-- Nav -->
<div class="nav_border_out">
<div class="nav_border_in">
<if condition="is_array($navbits)">
<table cellpadding="4" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width="15"><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="$scriptpath"><span class="navbar"><strong>$navbits[lastelement]</strong></span></a> </td>
</tr>
</table>
<else />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><if condition="$show['member']">
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> $bbuserinfo[username],
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
</div>
<if condition="$show['pmstats']">
<div class="smallfont"> <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" />
<if condition="$show['pmstats']"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></if>
</div>
</if>
<else />
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[nav_register]</a></div>
</if>
</td>
<td width="50%" align="right"><if condition="$show['member']">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="navbar_forms" name="query" size="20" onfocus="this.value=''" value="$vbphrase[nav_search_form]" tabindex="1001" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</form>
<else />
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<div class="smallfont">
<input type="text" class="navbar_forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<label for="cb_cookieuser_navbar"><input type="hidden" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" /></label>
<input type="password" class="navbar_forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="16" tabindex="102" onfocus="this.value=''" value="Password" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</div>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</if>
</td>
</tr>
</table>
</if>
</div>
</div>
<!-- /Nav -->
<!-- Forum Description -->
<if condition="$show['forumdesc']">
<div class="spacer_small"></div>
<div class="forumdesc_border"><div class="forumdesc"><span class="smallfont"><strong>$foruminfo[title]</strong> $foruminfo[description]</span></div></div>
</if>
<!-- /Forum Description -->
<div class="spacer"></div>
<br />
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</td>
</tr>
<tr>
<td class="thead">$vbphrase[nav_search_options]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[nav_new_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[nav_todays_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / header quick search form -->
</if>
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
</table>
</div>
<!-- / user cp tools menu -->
</if>
<div class="vbmenu_popup" id="journalnavbar_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" align="center">$vbphrase[journal_links]</td></tr>
<tr><td class="vbmenu_option"><a href="journal.php$session[sessionurl_q]">$vbphrase[journal_index]</a></td></tr>
<if condition="$bbuserinfo!=0">
<tr><td class="vbmenu_option"><a href="journal.php?$session[sessionurl]do=gotomyjournal">$vbphrase[my_journal]</a></td></tr>
</if>
</table>
</div>
<!-- / NAVBAR POPUP MENUS -->
<!-- PAGENAV POPUP -->
<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>
<!-- / PAGENAV POPUP -->
</if>
Now, where do I paste the ACTUAL menu code in header or navbar considering I do ***NOT*** have ---->NAVBAR POPUP MENU<-- ?
phovanxua
11-07-2006, 07:55 PM
so what is it right in third script you showed above ????
It's under your Nav template ...read the word
<!-- / NAVBAR POPUP MENUS -->
<!-- PAGENAV POPUP -->
Chadi
11-07-2006, 08:10 PM
You originally said "<!-- / NAVBAR POPUP MENUS -->" which does not exist when I did a keyword search
The menu is still messed up. I'm using vb 3.6.2
navbar
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
<br />
<!-- Nav -->
<div class="nav_border_out">
<div class="nav_border_in">
<if condition="is_array($navbits)">
<table cellpadding="4" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width="15"><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="$scriptpath"><span class="navbar"><strong>$navbits[lastelement]</strong></span></a> </td>
</tr>
</table>
<else />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><if condition="$show['member']">
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> $bbuserinfo[username],
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
</div>
<if condition="$show['pmstats']">
<div class="smallfont"> <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" />
<if condition="$show['pmstats']"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></if>
</div>
</if>
<else />
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[nav_register]</a></div>
</if>
</td>
<td width="50%" align="right"><if condition="$show['member']">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="navbar_forms" name="query" size="20" onfocus="this.value=''" value="$vbphrase[nav_search_form]" tabindex="1001" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</form>
<else />
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<div class="smallfont">
<input type="text" class="navbar_forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<label for="cb_cookieuser_navbar"><input type="hidden" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" /></label>
<input type="password" class="navbar_forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="16" tabindex="102" onfocus="this.value=''" value="Password" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</div>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</if>
</td>
</tr>
</table>
</if>
</div>
</div>
<!-- /Nav -->
<!-- Forum Description -->
<if condition="$show['forumdesc']">
<div class="spacer_small"></div>
<div class="forumdesc_border"><div class="forumdesc"><span class="smallfont"><strong>$foruminfo[title]</strong> $foruminfo[description]</span></div></div>
</if>
<!-- /Forum Description -->
<div class="spacer"></div>
<br />
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</td>
</tr>
<tr>
<td class="thead">$vbphrase[nav_search_options]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[nav_new_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[nav_todays_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / header quick search form -->
</if>
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
</table>
</div>
<!-- / user cp tools menu -->
</if>
<div class="vbmenu_popup" id="journalnavbar_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" align="center">$vbphrase[journal_links]</td></tr>
<tr><td class="vbmenu_option"><a href="journal.php$session[sessionurl_q]">$vbphrase[journal_index]</a></td></tr>
<if condition="$bbuserinfo!=0">
<tr><td class="vbmenu_option"><a href="journal.php?$session[sessionurl]do=gotomyjournal">$vbphrase[my_journal]</a></td></tr>
</if>
</table>
</div>
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_option"> <a href="Link1"> Music 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 2">Music 2</a></td></tr>
<tr><td class="vbmenu_option"><a href="local_links.php">My MP3</a></td></tr>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!-- PAGENAV POPUP -->
<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>
<!-- / PAGENAV POPUP -->
</if>
header
<!-- 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"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
<div align=center>
</div><!-- banners --><img border="0" src="http://www.talkjesus.com/images/right-logo.gif"></td>
</tr>
<tr>
<td height="34" colspan="2">
<!-- nav buttons bar -->
<div align="center">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr align="center">
<td class="nav_menu_control" width="16"><a href="http://www.talkjesus.com/index.php">
<img src="http://www.talkjesus.com/images/home.gif" border="0"></a></td>
<if condition="$show['member']">
<td class="nav_menu_control" width="91"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="nav_menu_control" width="91"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td class="nav_menu_control" width="92"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="nav_menu_control" width="92"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="nav_menu_control" width="92"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<td id="1" class="nav_menu_control" width="92"><a href="#1">Entertainment</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
<!-- v3 Arcade -->
<td class="nav_menu_control" width="92"><a href="arcade.php$session[sessionurl_q]">Arcade</a></td>
<!-- /v3 Arcade -->
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="nav_menu_control" width="92"><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>
<td id="journalnavbar" class="nav_menu_control" width="92"><a href="#journalnavbar">$vbphrase[journals]</a> <script type="text/javascript"> vbmenu_register("journalnavbar"); </script></td>
<if condition="$show['member']">
<td id="usercptools" class="nav_menu_control" width="92"><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" width="92"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="nav_menu_control" width="92"><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" width="92"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><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 -->
<!-- content table -->
$spacer_open
$_phpinclude_output
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="clientscript/pngfix.js"></script>
<![endif]-->
Why is this such a difficult thing to do? This hack clearly is not stable or else this ongoing back and forth would not be necessary at all.
Chadi
11-07-2006, 08:22 PM
See attached please
Where is that last tiny, messed up row with a left centered box coming from on the drop down?
Again, this is my navbar template
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
<br />
<!-- Nav -->
<div class="nav_border_out">
<div class="nav_border_in">
<if condition="is_array($navbits)">
<table cellpadding="4" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width="15"><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="$scriptpath"><span class="navbar"><strong>$navbits[lastelement]</strong></span></a> </td>
</tr>
</table>
<else />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><if condition="$show['member']">
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> $bbuserinfo[username],
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
</div>
<if condition="$show['pmstats']">
<div class="smallfont"> <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" />
<if condition="$show['pmstats']"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></if>
</div>
</if>
<else />
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[nav_register]</a></div>
</if>
</td>
<td width="50%" align="right"><if condition="$show['member']">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="navbar_forms" name="query" size="20" onfocus="this.value=''" value="$vbphrase[nav_search_form]" tabindex="1001" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</form>
<else />
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<div class="smallfont">
<input type="text" class="navbar_forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<label for="cb_cookieuser_navbar"><input type="hidden" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" /></label>
<input type="password" class="navbar_forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="16" tabindex="102" onfocus="this.value=''" value="Password" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</div>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</if>
</td>
</tr>
</table>
</if>
</div>
</div>
<!-- /Nav -->
<!-- Forum Description -->
<if condition="$show['forumdesc']">
<div class="spacer_small"></div>
<div class="forumdesc_border"><div class="forumdesc"><span class="smallfont"><strong>$foruminfo[title]</strong> $foruminfo[description]</span></div></div>
</if>
<!-- /Forum Description -->
<div class="spacer"></div>
<br />
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</td>
</tr>
<tr>
<td class="thead">$vbphrase[nav_search_options]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[nav_new_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[nav_todays_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / header quick search form -->
</if>
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
</table>
</div>
<!-- / user cp tools menu -->
</if>
<div class="vbmenu_popup" id="journalnavbar_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" align="center">$vbphrase[journal_links]</td></tr>
<tr><td class="vbmenu_option"><a href="journal.php$session[sessionurl_q]">$vbphrase[journal_index]</a></td></tr>
<if condition="$bbuserinfo!=0">
<tr><td class="vbmenu_option"><a href="journal.php?$session[sessionurl]do=gotomyjournal">$vbphrase[my_journal]</a></td></tr>
</if>
</table>
</div>
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<td class="thead">Group Name</td>
<tr><td class="vbmenu_option"><a href="Link 1">Option Link 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 2">Option Link 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 3">Option Link 1</a></td></tr>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!-- PAGENAV POPUP -->
<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
</form>
</td>
</tr>
</table>
</div>
<!-- / PAGENAV POPUP -->
</if>
put the popup menu code above this code
<if condition="$show['popups']">
might work and cant hurt.... I had to play around a bit but think thats what fixed it for me....
Chadi
11-07-2006, 09:04 PM
put the popup menu code above this code
<if condition="$show['popups']">
might work and cant hurt.... I had to play around a bit but think thats what fixed it for me....
That completely messed it up also
phovanxua
11-07-2006, 11:52 PM
Chadi ,
My site is 3.6.2 ..it's work perfect fine on my here (vietdetroit.com) if you click at the Music link .
I really don't know where is that box came from ...? My is doesn't have that box space .
apiasto
11-08-2006, 02:31 AM
I do not know how many times I have to say I do ***NOT*** have ---->NAVBAR POPUP MENU<-- in my templates
I pasted this *again* in header
<td id="1" class="nav_menu_control" width="92"><a href="#1">Entertainment</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
entire header template:
<!-- 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"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
<div align=center>
</div><!-- banners --><img border="0" src="http://www.talkjesus.com/images/right-logo.gif"></td>
</tr>
<tr>
<td height="34" colspan="2">
<!-- nav buttons bar -->
<div align="center">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr align="center">
<td class="nav_menu_control" width="16"><a href="http://www.talkjesus.com/index.php">
<img src="http://www.talkjesus.com/images/home.gif" border="0"></a></td>
<if condition="$show['member']">
<td class="nav_menu_control" width="91"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="nav_menu_control" width="91"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td class="nav_menu_control" width="92"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="nav_menu_control" width="92"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="nav_menu_control" width="92"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<td id="1" class="nav_menu_control" width="92"><a href="#1">Entertainment</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
<!-- v3 Arcade -->
<td class="nav_menu_control" width="92"><a href="arcade.php$session[sessionurl_q]">Arcade</a></td>
<!-- /v3 Arcade -->
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="nav_menu_control" width="92"><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>
<td id="journalnavbar" class="nav_menu_control" width="92"><a href="#journalnavbar">$vbphrase[journals]</a> <script type="text/javascript"> vbmenu_register("journalnavbar"); </script></td>
<if condition="$show['member']">
<td id="usercptools" class="nav_menu_control" width="92"><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" width="92"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="nav_menu_control" width="92"><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" width="92"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td class="nav_menu_control" width="92"><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 -->
<!-- content table -->
$spacer_open
$_phpinclude_output
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="clientscript/pngfix.js"></script>
<![endif]-->
navbar template:
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
<br />
<!-- Nav -->
<div class="nav_border_out">
<div class="nav_border_in">
<if condition="is_array($navbits)">
<table cellpadding="4" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width="15"><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="$scriptpath"><span class="navbar"><strong>$navbits[lastelement]</strong></span></a> </td>
</tr>
</table>
<else />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><if condition="$show['member']">
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> $bbuserinfo[username],
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
</div>
<if condition="$show['pmstats']">
<div class="smallfont"> <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" />
<if condition="$show['pmstats']"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></if>
</div>
</if>
<else />
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[nav_register]</a></div>
</if>
</td>
<td width="50%" align="right"><if condition="$show['member']">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="navbar_forms" name="query" size="20" onfocus="this.value=''" value="$vbphrase[nav_search_form]" tabindex="1001" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</form>
<else />
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<div class="smallfont">
<input type="text" class="navbar_forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<label for="cb_cookieuser_navbar"><input type="hidden" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" /></label>
<input type="password" class="navbar_forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="16" tabindex="102" onfocus="this.value=''" value="Password" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</div>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</if>
</td>
</tr>
</table>
</if>
</div>
</div>
<!-- /Nav -->
<!-- Forum Description -->
<if condition="$show['forumdesc']">
<div class="spacer_small"></div>
<div class="forumdesc_border"><div class="forumdesc"><span class="smallfont"><strong>$foruminfo[title]</strong> $foruminfo[description]</span></div></div>
</if>
<!-- /Forum Description -->
<div class="spacer"></div>
<br />
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</td>
</tr>
<tr>
<td class="thead">$vbphrase[nav_search_options]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[nav_new_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[nav_todays_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / header quick search form -->
</if>
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
</table>
</div>
<!-- / user cp tools menu -->
</if>
<div class="vbmenu_popup" id="journalnavbar_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" align="center">$vbphrase[journal_links]</td></tr>
<tr><td class="vbmenu_option"><a href="journal.php$session[sessionurl_q]">$vbphrase[journal_index]</a></td></tr>
<if condition="$bbuserinfo!=0">
<tr><td class="vbmenu_option"><a href="journal.php?$session[sessionurl]do=gotomyjournal">$vbphrase[my_journal]</a></td></tr>
</if>
</table>
</div>
<!-- / NAVBAR POPUP MENUS -->
<!-- PAGENAV POPUP -->
<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>
<!-- / PAGENAV POPUP -->
</if>
Now, where do I paste the ACTUAL menu code in header or navbar considering I do ***NOT*** have ---->NAVBAR POPUP MENU<-- ?
its right there if you look at it,i high litened it in ur navbar temp. I have 3.6.2 and i did it in chestnut skin which is custom.its working fine, iam gonna try it one more time to show you
<td id="1" ><a href="#1"><b>Extra's</B></a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
I put above code in skin header right after user cp (u can put it where u want in between navbar buttons.
then in search tempelate box search navbar like u did, and if u go in the middle of the page u will see it there <!-- / NAVBAR POPUP MENUS -->
u replace this with the second code.thats it
phovanxua
11-08-2006, 04:51 AM
Chadi I found the problem ...
phovanxua
11-08-2006, 04:57 AM
Chadi ...go back to your template find this script whne you add to nav template below ...we missing the </table> and </if> before </div>
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_option"><a href="Link 1">Music 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 2">Music 2</a></td></tr>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
The script below should ne the correct one
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_option"><a href="Link 1">Music 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 2">Music 2</a></td></tr> </table></if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
This is what we missing ====> : </table></if>
RealRnB
11-13-2006, 07:00 AM
thanks for this one
Cocko
11-18-2006, 01:23 PM
topnav does not appear /w system messages
(i.e. no new posts)
anybody know how to fix ?
Cocko
11-19-2006, 10:08 AM
topnav does not appear /w system messages
(i.e. no new posts)
anybody know how to fix ?
same issue /w ibproarcade :(
top_nav is shown in all other pages
(e.g. pp pro, chat, forums, cmps)
what to do (template edits?) for
system-message and ibproarcade ?
edit: fixed issue by adding $nav2
in ./arcade/functions/funktions.php (ibproarcade)
in ./includes/funktions.php (vbulletin_message)
Been Told
11-23-2006, 09:07 AM
Very, very usefull hack, thanks :)
MadKad
11-25-2006, 08:25 PM
so sorry for the lack of Support, vb hasnt been sending me emails on replies to this thread :(
I should be with any one that needs help now sorry, if I am slow again please try our website thank you.
Chadi
11-27-2006, 06:35 PM
Chadi ...go back to your template find this script whne you add to nav template below ...we missing the </table> and </if> before </div>
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_option"><a href="Link 1">Music 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 2">Music 2</a></td></tr>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
The script below should ne the correct one
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="vbmenu_option"><a href="Link 1">Music 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="Link 2">Music 2</a></td></tr> </table></if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
This is what we missing ====> : </table></if>
This worked. Thank you very very much :)
puregraf
11-30-2006, 02:29 AM
will this work with vb 3.5.4 ? because when i click on the link for the drop down menu to drop down, it does, but its at the very far left of the page. how do i line it up?
you can see what i mean if you visit my site
can you tell me whats wrong
thanks
puregraf
11-30-2006, 05:13 PM
now that i added another drop down, the first one isnt working, only the second one??
well i disabled this until i can get help.
phovanxua
12-01-2006, 02:20 AM
now that i added another drop down, the first one isnt working, only the second one??
well i disabled this until i can get help.
Can I see that script where you add it ?
taydu
12-10-2006, 06:25 AM
I love this, is there a way to make it also display in vbadvanced (portal)?
thanks
waller99
12-19-2006, 02:04 PM
same issue /w ibproarcade :(
top_nav is shown in all other pages
(e.g. pp pro, chat, forums, cmps)
what to do (template edits?) for
system-message and ibproarcade ?
edit: fixed issue by adding $nav2
in ./arcade/functions/funktions.php (ibproarcade)
in ./includes/funktions.php (vbulletin_message)
I also added ibProArcade and the top_nav has disappeared. How can I make the top_nav available for the arcade page also? Thanks.
MadKad
12-19-2006, 03:15 PM
Please note people
If the nav mod doesnt work in other hack pages like:
Blog
Arcade
gallery
and all the other hacks that use there own file page, then it is the hack that your nav will not show up on that has the problem, $nav2 is a value and these have to be declard some ware some hacks have the option that all you to add the value in so that it can be used but others dont (infact most dont)
Please ask the people that made the hack that the nav will not show up on to help you sort the problem out, this would be easier than me as I havent used all the hacks out there for VB.
Thank you :)
stangger5
12-22-2006, 04:15 PM
One way to get the top_nav to work in ibProArcade or vba is :
Copy all of the code in top_nav template and put it in the navbar instead of useing $nav2..
waller99
12-22-2006, 04:38 PM
Thanks. I don't know why I didn't do that in the first place. I deleted the top_nav and just copied the code from it into the navbar code where the $top_nav variable was.
hotwheels
12-25-2006, 09:25 PM
very interesting, will look at later.......thanks
MadKad
01-01-2007, 09:42 PM
One way to get the top_nav to work in ibProArcade or vba is :
Copy all of the code in top_nav template and put it in the navbar instead of useing $nav2..
Thanks. I don't know why I didn't do that in the first place. I deleted the top_nav and just copied the code from it into the navbar code where the $top_nav variable was.
just remember that if you add anything to your standerd vb forum top_nav then you will want to copy the code to your ibProArcade template :)
MadKad
01-01-2007, 09:44 PM
<<< ooops rong thread >>
Chadi
01-02-2007, 12:29 AM
All of a sudden the menu is not dropping down, no option for drop down. Not sure what I did wrong, please help
navbar template
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
<br />
<!-- Nav -->
<div class="nav_border_out">
<div class="nav_border_in">
<if condition="is_array($navbits)">
<table cellpadding="4" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width="15"><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="$scriptpath"><span class="navbar"><strong>$navbits[lastelement]</strong></span></a> </td>
</tr>
</table>
<else />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><if condition="$show['member']">
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> $bbuserinfo[username],
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
</div>
<if condition="$show['pmstats']">
<div class="smallfont"> <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" />
<if condition="$show['pmstats']"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></if>
</div>
</if>
<else />
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[nav_register]</a></div>
</if>
</td>
<td width="50%" align="right"><if condition="$show['member']">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="navbar_forms" name="query" size="20" onfocus="this.value=''" value="$vbphrase[nav_search_form]" tabindex="1001" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</form>
<else />
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<div class="smallfont">
<input type="text" class="navbar_forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<label for="cb_cookieuser_navbar"><input type="hidden" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" /></label>
<input type="password" class="navbar_forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="16" tabindex="102" onfocus="this.value=''" value="Password" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</div>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</if>
</td>
</tr>
</table>
</if>
</div>
</div>
<!-- /Nav -->
<!-- Forum Description -->
<if condition="$show['forumdesc']">
<div class="spacer_small"></div>
<div class="forumdesc_border"><div class="forumdesc"><span class="smallfont"><strong>$foruminfo[title]</strong> $foruminfo[description]</span></div></div>
</if>
<!-- /Forum Description -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</td>
</tr>
<tr>
<td class="thead">$vbphrase[nav_search_options]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[nav_new_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[nav_todays_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / header quick search form -->
</if>
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="psistats.php$session[sessionurl_q]">$vbphrase[psistats_link]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
</table>
</div>
<!-- / user cp tools menu -->
</if>
<div class="vbmenu_popup" id="journalnavbar_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" align="center">$vbphrase[journal_links]</td></tr>
<tr><td class="vbmenu_option"><a href="journal.php$session[sessionurl_q]">$vbphrase[journal_index]</a></td></tr>
<if condition="$bbuserinfo!=0">
<tr><td class="vbmenu_option"><a href="journal.php?$session[sessionurl]do=gotomyjournal">$vbphrase[my_journal]</a></td></tr>
</if>
</table>
</div>
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">
Fun Zone
</td>
</tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/arcade.php">Arcade</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/journal.php">Journals</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/misc.php?do=flashchat">Live Chat</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/gallery/index.php">Photo Gallery</a></td></tr>
<tr>
<td class="thead">
Special Tools
</td>
</tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/calendar.php">Calendar</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/vaispy.php">iSpy</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/usercp.php#Notepad">Personal Notepad</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/usercp.php">Refer A Friend!</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/worldtimes.php">World Time Zones</a></td></tr>
<tr>
<td class="thead">
Forum Help Center
</td>
</tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/faq.php">FAQ</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/forum-rules-ten-commandments/53-talk-jesus-10-commandments-rule.html">Forum Rules</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/tutorials.php">Tutorials</a></td></tr>
</table></if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!-- PAGENAV POPUP -->
<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>
<!-- / PAGENAV POPUP -->
</if>
$welcomeheaders
<br />
header
<td class="nav_menu_control" width="84"><a href="#1">Navigation</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
MadKad
01-02-2007, 06:42 PM
Is it just one drop down that isnt working? also can I have the template for the mod nav as you gave me the template called navbar template
Chadi
01-02-2007, 06:45 PM
header and navbar are the only templates involved and its that custom mod (yours) drop down menu called "navigation" (you can see it now) the only one that does not work. It does not show the drop down arrow, nor does anything happen on click.
MadKad
01-02-2007, 06:50 PM
Can I have a look at the website in question :)
also please can I have a look at the code in template named top_nav
Chadi
01-02-2007, 07:01 PM
Even though it is there, I am not using "top nav" but here is the code
<!--######## start of navbar2 ########-->
<!-- nav2 buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://www.mkpitstop.co.uk/forum" target="_blank">Webmaster Forum</a></td>
<td class="vbmenu_control"><a href="link">link</a></td>
<td class="vbmenu_control"><a href="link">link</a></td>
<!-- dropdown start -->
<td id="1" class="vbmenu_control"><a href="#1">Drop down</a>
<script type="text/javascript"> vbmenu_register("extra"); </script></td>
<!-- dropdown end -->
<td class="vbmenu_control"><a href="link">link</a></td>
<td class="vbmenu_control"><a href="link">link</a></td>
<td class="vbmenu_control"><a href="link">link</a></td>
<td class="vbmenu_control"><a href="link">link</a></td>
<td class="vbmenu_control"><a href="link">link</a></td>
</tr>
</table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Drop Down</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
</table>
</if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!--####### end of navbar2 #######-->
If you look at header / navbar they related to each. My actual vb navbar is in header template (due to the way the custom skin was created). But the code to pull it up is in navbar template (code for your mod)
The site is www.talkjesus.com
Using 3.6.4
If you read page 3-5 in this thread, that is where (page 5) I finally got this to work. That was two months ago and it did work. Last night something went wrong but I cannot remember what I did (or perhaps didn't do) to make this happen.
Terminatoronly
01-02-2007, 08:09 PM
Installed nice hack btw
MadKad
01-03-2007, 11:28 AM
Thank you :)
Chadi
01-03-2007, 12:03 PM
Can someone please help me
MadKad
01-03-2007, 07:38 PM
^^ is that vbadvanced?
Chadi
01-04-2007, 06:26 PM
Mine? No. You can see so by visiting my site www.talkjesus.com which I posted before. I don't know why this stopped working
Chadi
01-04-2007, 06:33 PM
Nevermind. Fixed :)
Table in header was missing this
id="1"
No clue how that happened, but appreciate the help offerred.
MadKad
01-04-2007, 06:48 PM
ok np sorry I couldnt help much on that, I still cant see it so I take it you have it set for a usergroup?
SkippySkippy
01-04-2007, 06:49 PM
It's a nice mod, but it only shows up on the forumhome. I would use this if it was global (working in forums, arcade, vbAdvanced, etc.)
-Skip
MadKad
01-04-2007, 07:36 PM
It's a nice mod, but it only shows up on the forumhome. I would use this if it was global (working in forums, arcade, vbAdvanced, etc.)
-Skip
the truble is as said here (https://vborg.vbsupport.ru/showpost.php?p=1141635&postcount=75) its down to the other mod this and not to my mod
it works in these demos:
photoplog (http://www.mkpitstop.co.uk/forum/photoplog/index.php)
Arcade (http://www.mkpitstop.co.uk/forum/arcade.php)
Links and Downloads Manager (http://www.mkpitstop.co.uk/forum/local_links.php)
VBImage host (http://www.mkpitstop.co.uk/forum/vbimghost.php?do=userlist)
User pages (http://www.mkpitstop.co.uk/forum/userpage.php?do=list)
home made non VB page with VB styles (http://www.mkpitstop.co.uk/forum/goto.php?section=ref)
If I install any other mods I will say if they dont work, it doesnt show in VBdrupal but that is because the verable isnt taken from the main vb forum template like said in the past post.
If any one has other hack pages that this shows in please say.
DanCan
01-13-2007, 12:00 PM
Have installed this hack, ought to be simple, but the drop down menu doesn't appear to work. It points to http://www.mysite.com/forum/#1.
What shall I do to make it work?
MadKad
01-13-2007, 05:29 PM
you have to change the links to what you want, can I see the webite?
Sooner95
01-13-2007, 06:59 PM
Beauty. many thanks for this!
DanCan
01-14-2007, 06:08 PM
you have to change the links to what you want, can I see the webite?
Sure: You can find the forums here (http://www.internationalhockeygang.org/forum)
Code used for the test drop down example:
<!-- dropdown start -->
<td id="1" class="vbmenu_control"><a href="#1">test</a>
<script type="text/javascript"> vbmenu_register("extra"); </script></td>
<!-- dropdown end -->
</tr>
</table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">test</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.iihf.com">IIHF</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.swehockey.se">Euro Hockey Tour</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.icehockeychallenge.net">EIHC</a></td>
</tr>
</table>
</if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!--####### end of navbar2 #######-->
MadKad
01-14-2007, 06:14 PM
Sure: You can find the forums here (http://www.internationalhockeygang.org/forum)
Code used for the test drop down example:
<!-- dropdown start -->
<td id="1" class="vbmenu_control"><a href="#1">test</a>
<script type="text/javascript"> vbmenu_register("extra"); </script></td>
<!-- dropdown end -->
</tr>
</table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">test</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.iihf.com">IIHF</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.swehockey.se">Euro Hockey Tour</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.icehockeychallenge.net">EIHC</a></td>
</tr>
</table>
</if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!--####### end of navbar2 #######-->
you have set the id to 1 on one part of the code and id="1_menu" to the other change the id="1_menu"
to
id="1"
that should sort it I think :)
DanCan
01-14-2007, 06:37 PM
you have set the id to 1 on one part of the code and id="1_menu" to the other change the id="1_menu"
to
id="1"
that should sort it I think :)
No that didn't work. It points to this link (ww.internationalhockeygang.org/forum/index.php#1) and the the drop down menu doesn't show.
I have used your code in the original example and it doesn't work. Also I have followed the instructions very carefully. I don't get it.
Terminatoronly
01-20-2007, 11:19 AM
i dont know its not working for me well you please explain it more for me???
MadKad
01-20-2007, 01:55 PM
What isnt working?
Chadi
01-25-2007, 04:23 AM
How do I create two menus instead of one?
MadKad
01-25-2007, 07:31 AM
How do I create two menus instead of one?
copy the menu that is in, and change the id that is for the menu this will add another menu, also it says in the html file that is added :) thank you hope this helps any more problems please say :)
Chadi
01-25-2007, 04:31 PM
[edit] thank you , figured it out now
MadKad
01-25-2007, 06:24 PM
lol ok np :) I was just reading this in my email and coming on to help :D
killugood9000
01-29-2007, 11:06 PM
I have added and used your topnav. its great, but I would also like it to show up on my home page in the same location as my forums (at top of forums). Could you tell me how to do that. I am using vbulletin 3.6.4 with vBadvanced CMPS 2.2.1. I dont think you will need it but here is a link to my site www.alltogethergaming.com. As you can see my regular nav bar on homepage is getting full.
thank you
killugood9000
01-30-2007, 02:24 AM
ok sorry about this but I copy and pasted the top nav code into the navbar template. It worked I now have the topnav on all of my pages. Should I now remove the topnav template from my template styles.
MadKad
01-30-2007, 08:10 AM
you can do if you want, but remember you will need to edit the templates in about two places I think if you do any changes :)
killugood9000
01-30-2007, 09:08 PM
I have made changes to both of my nav bars (top and bottom) through just the navbar template and it works like a charm. Thanks for your response and the topnav.
KILL clicks installed
Ryloth
02-04-2007, 02:35 PM
Ok, I have it installed and the dropdown menu works but its all the way over on the left edge of the Navbar. Also, <td id="1"> makes the nav bar unevenly aligned.
I am not using $nav2, I have that code in the original Navbar template.
Here is the code of the bottom navbar:
<!--######## start of navbar2 ########-->
<!-- nav2 buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<!-- dropdown start -->
<td id="1" class="vbmenu_control"><a href="#1">Arcade</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
<!-- dropdown end -->
<td class="vbmenu_control"><a href="/forums/downloads.php?$session[sessionurl_q]">Downloads</a></td>
</tr>
</table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">The Arcade</td>
<tr>
<td class="vbmenu_option"><a href="/forums/arcade.php?$session[sessionurl_q]">Arcade</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="/forums/forumdisplay.php?f=153">Arcade Forum</a></td>
</tr>
</table>
</if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!--####### end of navbar2 #######-->
Site : http://www.newtiburon.com
curriertech
02-04-2007, 02:37 PM
It's a nice mod, but it only shows up on the forumhome. I would use this if it was global (working in forums, arcade, vbAdvanced, etc.)
-Skip
Add "nav2" to the global output variables box under the main cmps settings.
o0Hubba0o
02-10-2007, 11:58 PM
No that didn't work. It points to this link (ww.internationalhockeygang.org/forum/index.php#1) and the the drop down menu doesn't show.
I have used your code in the original example and it doesn't work. Also I have followed the instructions very carefully. I don't get it.
Mines doing the same thing, and reading through this thread just makes things more confusing. People talking about editing the header and/or navbar, while the instructions in the zip say to edit the top_nav but the first post says to edit the navbar.
So when I click the link that's supposed to be the drop down it just makes the page jump up so the top nav is at the top of the browser page, here's my info. (I'm still in the process of changing the other links)
Site: Graphics Anonymous (http://www.graphicsanonymous.net/forums/index.php)
top_nav:
<!--######## start of navbar2 ########-->
<!-- nav2 buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://www.graphicsanonymous.net/">Home</a></td>
<td class="vbmenu_control"><a href="http://www.graphicsanonymous.net/forums/arcade.php">Arcade</a></td>
<!-- dropdown start -->
<td id="1" class="vbmenu_control"><a href="#1">Tutorials</a>
<script type="text/javascript"> vbmenu_register("extra"); </script></td>
<!-- dropdown end -->
<td class="vbmenu_control"><a href="link">link</a></td>
<td class="vbmenu_control"><a href="link">link</a></td>
<td class="vbmenu_control"><a href="link">link</a></td>
<td class="vbmenu_control"><a href="link">link</a></td>
<td class="vbmenu_control"><a href="link">link</a></td>
</tr>
</table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Tutorials</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.graphicsanonymous.net/forums/forumdisplay.php?f=34">Animations</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.graphicsanonymous.net/forums/forumdisplay.php?f=36">Designs</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.graphicsanonymous.net/forums/forumdisplay.php?f=38">Photo Effects</a></td> </tr>
<tr>
<td class="vbmenu_option"><a href="http://www.graphicsanonymous.net/forums/forumdisplay.php?f=40">Tools: Brushes & More</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.graphicsanonymous.net/forums/forumdisplay.php?f=73">Signature</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.graphicsanonymous.net/forums/forumdisplay.php?f=37">Effects</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.graphicsanonymous.net/forums/forumdisplay.php?f=39">Text</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.graphicsanonymous.net/forums/forumdisplay.php?f=41">Web Stuff</a></td>
</tr>
</table>
</if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!--####### end of navbar2 #######-->
Bat21
02-15-2007, 08:25 AM
Just installed this hack and IE users are getting an
'this.controlobj' is null or not an object
message either in the ststus bar (bottom left) or as an annoying popup message.
FireFox users don't ave any problems.
Any ideas?
Bat21
02-15-2007, 10:13 AM
Sussed it, I had to remove this from the code to get rid of the error message:-
<!-- dropdown start -->
<td id="1" class="vbmenu_control"><a href="#1">Drop down</a>
<script type="text/javascript"> vbmenu_register("extra"); </script></td>
<!-- dropdown end -->
All seems to work fine with it removed.
molieman
03-23-2007, 01:12 PM
Hi, I've upgraded to vBulletin 3.6.5 and just recently found out the TopNav is not working for FoxFire users.
Anyone else having this problem and is there a fix for this?
MadKad
03-29-2007, 10:31 AM
Hi, I've upgraded to vBulletin 3.6.5 and just recently found out the TopNav is not working for FoxFire users.
Anyone else having this problem and is there a fix for this?
still looking into this, I cant really see any problems my self :(
I'm using vBulletin 3.6.5 and the drop down is not working properly in Firefox. See the attached image.
Is there a fix for this?
MadKad
04-21-2007, 04:08 PM
lol I hate Firefox they cant display code right, I will have a look and see what I can do.
can I have your link please :)
Hi,
I sent you a PM with the link.
Thanks for the mod and your help with this problem.
Regards,
Mel
MadKad
04-23-2007, 09:10 AM
Looks like you have added the code
align="center"
to the drop down tables, remove that and all should work fine, its just the ones in the drop down sections, not the main table.
Looks like you have added the code
align="center"
to the drop down tables, remove that and all should work fine, its just the ones in the drop down sections, not the main table.
Ok I removed it but it's still the same.
There must be another reason its doing that?
MadKad
04-23-2007, 01:30 PM
I just looked and its still in
<!-- NAVBAR POPUP MENUS -->
<!-- links pages pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table border="0" align="center" cellpadding="4" cellspacing="1">
<tr>
<td class="thead">Links Pages</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://.com.au/cmps_index.php?page=bands">Bands Djs Performers</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://.com.au/cmps_index.php?page=dance">Dance Schools</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://.com.au/cmps_index.php?page=clubs">Clubs & Associations</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://.com.au/cmps_index.php?page=associated">Associated with RnR</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://.com.au/cmps_index.php?page=venues">Venues & Promoters</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://.com.au/cmps_index.php?page=links">Links outside Vic</a></td>
</tr>
</table>
</div>
<!-- links pages pop end -->
<!-- photos pop start -->
<div class="vbmenu_popup" id="2_menu" style="display:none">
<table border="0" align="center" cellpadding="4" cellspacing="1">
<tr>
<td class="thead">Photos/Reviews</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www..com.au/others/littlemaria" target=blank>Little Maria</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www..com.au/wintersun" target=blank>Wintersun Reviews</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://.com.au/others/ararat" target=blank>Ararat Festival 2004</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www..com.au/houndog" target=blank>Houndog Festival 2002</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www..com.au/others/LouLynnette/rutherglen.htm" target=blank>Rutherglen 2003</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www..com.au/others/glongjukebox" target=blank>Geelong Festival 2003</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www..com.au/hastings" target=blank>Westernport Festival 2002</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www..com.au/waltzingmatilda/tassie" target=blank>Waltzy Tazzy trip 2002</a></td>
</tr>
</table>
</if>
</div>
<!-- photos pop end -->
<!-- / NAVBAR POPUP MENUS -->
these bold ones
Oops! Sorry, those were put there at the start when I added the top nav bar because (when I removed the extra links you had in there) the drop down was not immediately beneath its associated link. I only had 3 links in the nav bar to start with and 2 were drop downs and both were way off to the left. However it didnÂ’t fix the problem and I should have removed them.
Even now, although it is much better because I have added more links, the drop downs are off to the left of their associated link somewhat. IÂ’m not complaining though, IÂ’m just happy to be able to use you mod.
Thanks for your help, I really do appreciate that you have taken the time to help me with this.
Regards, Mel
MadKad
04-24-2007, 11:53 AM
lol I know your not complaining :D
Its just strange as i am using the same code as you and I am ok, the only thing different was the center code.
Woundering if its something on the vbadvanced page :S
DieselMinded
07-08-2007, 04:02 AM
Hey I have HAcked this Mod All Up , I need to consolidate alot of my links to a single drop down can someone aid me please ... Heres My Top Nav Template After I got my hands on it
<!--######## start of navbar2 ########-->
<!-- nav2 buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://www.dieselbombers.com">Home</a></td>
<td class="vbmenu_control"><a href="http://www.dieselbombers.com/donate.php">Donations</a></td>
</if><td class="vbmenu_control"><a href="sweepstakes.php$session[sessionurl_q]" accesskey="5">$vbphrase[sweepstakes]</a></td>
<td class="vbmenu_control">
<a href="http://www.dieselbombers.com/referrers.php">Referrals</a></td>
<td class="vbmenu_control"><a href="http://www.dieselbombers.com/info/toptruck.htm">TOP TRUCK</a></td>
<td class="vbmenu_control">
<a href="http://www.dieselbombers.com/info/sponsors.htm">Sponsors</a></td>
<td class="vbmenu_control">
<a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=500'); return false;">$vbphrase[open_buddy_list]</a></td>
<td class="vbmenu_control"><a href="http://www.cafepress.com/DieselBombers"target="_blank">Bomber Gear</a></td>
</tr>
</table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Drop Down</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
</table>
</if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!--####### end of navbar2 #######-->
I see some of the stuff is there i need ...This is what i would like to happen
Hide All To Guest But
Home
Donations
Sweepstakes
Top Truck
Sponsors
FAQ
Bombers Gear
And Create A Drop Down Titled
Bomb Site
With child's OF
Referrals
http://www.dieselbombers.com/referrers.php
TOP TRUCK
http://www.dieselbombers.com/info/toptruck.htm
Sponsors
http://www.dieselbombers.com/info/sponsors.htm
Members List
http://www.dieselbombers.com/memberlist.php
All To Open a New Page
Thanks Alot to anyone who can help me Get this right Everytime i Try to edit the Nav Bar Templates I have Links All over the place lol
DM
DieselMinded
07-08-2007, 04:08 PM
Anyone have a second to help me out with this?
DieselMinded
07-08-2007, 11:02 PM
I got it , I didnt realize there was a guide in the download
Now to find out how to change the back ground of the drop down..............
troybtj
07-12-2007, 01:38 AM
I would like to use this in place of Tabs, but only show links on navbar if they are members of a particular secondary member group.
What code would I wrap around those links, and what would be a good filler?
Last, download says 3.6.4, I'm running 3.6.7/p1, with vBmp3 Player, vbImagehost, and vbDownloads, are there any known problems with those (I thought I saw mp3 in the incompat list post, but I am using the Xeon one).
Basically, it comes down to "How do I construct a if in usergroup, show this dropdown"? i.e. to a guest it would look entirely different (even empty if there isn't a way to do an "else") than to somebody with full privs.
thanks in advance.
voter
07-26-2007, 09:11 AM
Add "nav2" to the global output variables box under the main cmps settings.
Anybody know, how to explain vbadvanced to put prefixes with Forum's URL in links of top nav bar?
After putting the nav2 variable in vBa CMPS-> Default Settings -> Main Options ->Portal Output Global Variables, it gets visible in CMPS page.
BUT as of my forum is in subdirectory/subforum VB "viparmenia.com/vb" and CMPS is on main directory "viparmenia.com" I need that prefix for correct URL appended to every link in topnavbar menu.
MadKad
07-26-2007, 06:31 PM
This will work on the newist version (should do as its only template change)
As for vbadvanced I cant help as I dont use vbadvanced sorry
DieselMinded
07-26-2007, 09:18 PM
does this upgrade have to be done before the 3.6.8 upgrade?
MadKad
07-26-2007, 09:40 PM
does this upgrade have to be done before the 3.6.8 upgrade?
nope its a template edit so it can be done on all 3.6.x
DieselMinded
07-26-2007, 11:48 PM
What Is this Template Edit for Anyway?
MadKad
07-26-2007, 11:51 PM
To add the template name in where needed so that the nav shows up.
DieselMinded
07-27-2007, 12:19 AM
Mine works Fine Now But it wont when i Upgrade to 3.6.8 unless i Upgrade this Mod First Correct
DM
MadKad
07-27-2007, 09:39 AM
sorry no there has been to change to this mod, we no it will work with the new version this is why we have said it will work with the new version, I didnt explain my self correctly sorry.
DieselMinded
07-27-2007, 08:53 PM
Me No Understand your speakings
Chadi
07-31-2007, 08:27 PM
I'm getting w3 validation errors on this menu.
Line 742, Column 10: value of attribute "id" invalid: "2" cannot start a name. <td id="2" class="nav_menu_control" style="width: 81px"><a href="#1">Info</a> ✉ (http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.talkjesus.com%2 F;errmsg_id=125#errormsg)
It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
In regards to unique ID names, I am having a strange problem.
I have custom drop down menus in navbar and they look like this:
<td id="1" class="nav_menu_control" style="width: 81px">
(in header template)
<div class="vbmenu_popup" id="1_menu" style="display:none">
(in navbar template)
The above is default (showing errors in w3 validation) yet they work fine.
IF I change the ID each to something like below, it shows the menu title but no longer drops down the sub menu, nor shows the down arrow icon (indicating drop down menu)
<td id="menu1" class="nav_menu_control" style="width: 81px">
<div class="vbmenu_popup" id="menu1_menu" style="display:none">
Hornstar
08-01-2007, 06:57 AM
I am having problems since upgrading to 3.6.8 could you please take a quick look at the code below and see if you can find anything wrong:
<!--######## start of navbar2 ########-->
<!-- nav2 buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<!-- Fun Stuff -->
<td id="FunStuff" class="vbmenu_control"><a href="$show[nojs_link]#FunStuff">Fun Stuff</a> <script type="text/javascript"> vbmenu_register("FunStuff"); </script></td>
<!-- /Fun Stuff -->
<!-- Donations -->
<td class="vbmenu_control"><a href="http://www.gamerzneeds.net/forums/donate.php$session[sessionurl_q]">Donate</a></td>
<!-- /Donations -->
<!-- Downloads menu -->
<td class="vbmenu_control"><a href="http://www.gamerzneeds.net/forums/downloads.php">Downloads</a></td>
<!-- /Downloads menu -->
<!-- Newsletter -->
<td class="vbmenu_control"><a href="http://www.gamerzneeds.net/forums/newsletter.php">Newsletter</a></td>
<!-- /Newsletter -->
<!-- Invites -->
<td class="vbmenu_control"><a href="http://www.gamerzneeds.net/forums/invites.php">Invite</a></td>
<!-- /Invites -->
<td class="vbmenu_control"><a href="http://www.gamerzneeds.net/forums/job-opportunities-site-sponsors-earn-money/13134-becoming-site-sponsor.html">Advertise</a></td>
<td class="vbmenu_control"><a href="http://www.buy-host.com" target="_blank">Buy-Host Webhosting</a></td>
</tr>
</table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Drop Down</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
</table>
</if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!-- Create Fun Stuff -->
<if condition="$show['member']">
<!-- your tools menu -->
<div class="vbmenu_popup" id="FunStuff_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Fun Stuff</td></tr>
<tr><td class="vbmenu_option"><a href="http://www.gamerzneeds.net/forums/gznevent.php">GzN Event - Coming Soon!</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.gamerzneeds.net/forums/gallery/index.php">Gallery / Image Hosting</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.gamerzneeds.net/shop/">Buy/Sell - GZN Shop</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.gamerzneeds.net/forums/arcade.php">Arcade</a></td></tr>
</if>
</table>
</div>
<!-- / your tools menu -->
</if>
<!-- End Fun Stuff Edit -->
<!--####### end of navbar2 #######-->
Basically it only occurred when viewing the site as a guest, as a member it looked fine. and the problem was, teh navbar wouldnt stretch to the ends of the navbar, and then it would also throw off the side column hack that im using.
Hopefully something easily fixed, as I love this.
Chadi
08-30-2007, 12:43 AM
I'm getting w3 validation errors on this menu.
In regards to unique ID names, I am having a strange problem.
I have custom drop down menus in navbar and they look like this:
<td id="1" class="nav_menu_control" style="width: 81px">
(in header template)
<div class="vbmenu_popup" id="1_menu" style="display:none">
(in navbar template)
The above is default (showing errors in w3 validation) yet they work fine.
IF I change the ID each to something like below, it shows the menu title but no longer drops down the sub menu, nor shows the down arrow icon (indicating drop down menu)
<td id="menu1" class="nav_menu_control" style="width: 81px">
<div class="vbmenu_popup" id="menu1_menu" style="display:none">
Could someone please help me out on this?
adivor
09-22-2007, 10:17 PM
Please help me, i have installed this great mod but i don't understand help file for make drop down menu, i use now only standard menu :-(
after this code:
<td id="1" class="vbmenu_control"><a href="#1">Test</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
i hade insert:
<a href="http://adivor.it/forum/local_links.php">
but i see 4 link standard in drop down..... help please :-(
SBoards
11-18-2007, 05:17 AM
I see that nobody has posted in this thread in a while. Is it still possible to get some help with adding more than one drop down? Every time I try to add a second drop-down, my forums dissappear, like only the header/footer can be seen.
http://www.thescoreboards.com/forums
MadKad
11-18-2007, 07:02 AM
I see that nobody has posted in this thread in a while. Is it still possible to get some help with adding more than one drop down? Every time I try to add a second drop-down, my forums dissappear, like only the header/footer can be seen.
http://www.thescoreboards.com/forums
Hi what code is it your using?
SBoards
11-18-2007, 02:54 PM
Thanks for stopping by! :)
Here's my code. This code works, I just can't figure out where to put the code for the second drop-down without breaking my forums.
<!--######## start of navbar2 ########-->
<!-- nav2 buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td id="1" class="vbmenu_control"><a href="#1">Getting Started</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
<td class="vbmenu_control"><a href="baseball">Baseball Forums</a></td>
<td class="vbmenu_control"><a href="hockey">Hockey Forums</a></td>
<td class="vbmenu_control"><a href="basketball">Basketball Forums</a></td>
<td class="vbmenu_control"><a href="football">Football Forums</a></td>
<td class="vbmenu_control"><a href="soccer">Soccer Forums</a></td>
<td class="vbmenu_control"><a href="more-sports">More Sports Forums</a></td>
<td class="vbmenu_control"><a href="general">Non-Sports Forums</a></td>
<td class="vbmenu_control"><a href="blog">TSB Blogs</a></td>
</tr>
</table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Have you posted yet today?</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="./">Main Forums Index</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="showgroups.php">Meet The Staff</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="./info-center/29580-thescoreboards-community-standards.html">The Community Standards</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="./welcome-thescoreboards/">Introduce Yourself!</a></td>
</tr>
</table>
</if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!--####### end of navbar2 #######-->
Thanks again!
o0Hubba0o
11-18-2007, 04:06 PM
This should work, I just added one on mine to test it, I post up what I put in since I haven't edited the links yet.
I just added the second one right after the first, you just need to change the 1's to 2's.
<!-- dropdown start -->
<td id="1" class="vbmenu_control"><a href="#1">Drop down</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
<!-- dropdown end -->
<!-- dropdown start -->
<td id="2" class="vbmenu_control"><a href="#2">Drop down 2</a>
<script type="text/javascript"> vbmenu_register("2"); </script></td>
<!-- dropdown end -->
Same with the other code, you need to change the 1 to a 2 in the vbmenu_popup id. Mine broke the forumhome too, but I realized i was missing a closing div tag, but the way I have it here it all works on my site.
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Drop Down</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
</table>
</if>
</div>
<if condition="$show['popups']">
<div class="vbmenu_popup" id="2_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Drop Down</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="link">link</a></td>
</tr>
</table>
</if>
</div>
<!-- extras pop end -->
Then
SBoards
11-19-2007, 01:22 AM
aHa!
I didn't insert another "if" command
Thanks!
SBoards
11-21-2007, 06:07 AM
for some reason it's an open task
In CMPS settings under Portal Output Global Variables place nav2
I just wanted to point out for those of you who have been asking about CMPS... the quoted answer does work.
CLKeenan
11-26-2007, 05:32 AM
Thanks a ton man, awesome hack. Add an interface and you've got an incredibly useful plugin!
malluroses
11-28-2007, 04:43 PM
is there anyhow only members can see the nav links rather than the guest seeing it
i only want registerd members to see the links on the topnavbar
i dont want any guest to see it plz help
o0Hubba0o
11-29-2007, 01:48 AM
is there anyhow only members can see the nav links rather than the guest seeing it
i only want registerd members to see the links on the topnavbar
i dont want any guest to see it plz help
I know you could add an if statement to each link, the bars background would show but not the links. Not really an ideal solution, but it's off the top of my head, I'm sure there's a way you could get the whole bar gone too, maybe even the same if statement.
Something like this I think:
<if condition="$show['member']">LINK</if>
o0Hubba0o
12-02-2007, 04:47 AM
same issue /w ibproarcade :(
top_nav is shown in all other pages
(e.g. pp pro, chat, forums, cmps)
what to do (template edits?) for
system-message and ibproarcade ?
edit: fixed issue by adding $nav2
in ./arcade/functions/funktions.php (ibproarcade)
in ./includes/funktions.php (vbulletin_message)
I was just going through my site trying to get this on pages it was missing and seen this. I wanted to add for those that might still need help with this, if you have access to files to edit them, look for both those files he mentioned and do this edit:
Find: global $header,
And change to: global $header, $nav2,
It will then show up in arcade (I'm using ibproarcade) and in message pages, like when a score doesn't get submited in the arcade the page with that message didn't have the top nav.
Hope that helps some of you, I haven't tried it for anything else, but my guess would be look for the same situation with the includes files.
SBlueman
12-02-2007, 06:02 AM
This is my new navbar. The dropdown menus are not appearing. Can somone look at my code and let me know what could be wrong?
<!--######## start of navbar2 ########-->
<!-- nav2 buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="880" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://gridironfans.com/" target="_self">Home</a></td>
<td id="1" class="vbmenu_control"><a href="#1">Forums</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
<td class="vbmenu_control"><a href="http://gridironfans.com/forums/blogs/" target="_self">NFL Blogs</a></td>
<td id="2" class="vbmenu_control"><a href="#2">AFC News</a>
<script type="text/javascript"> vbmenu_register("2"); </script></td>
<td id="3" class="vbmenu_control"><a href="#3">NFC News</a>
<script type="text/javascript"> vbmenu_register("3"); </script></td>
<td id="4" class="vbmenu_control"><a href="#4">More NFL News</a>
<script type="text/javascript"> vbmenu_register("4"); </script></td>
<td id="5" class="vbmenu_control"><a href="#5">Site Extras</a>
<script type="text/javascript"> vbmenu_register("5"); </script></td>
</tr>
</table>
</div>
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead"><a href="http://gridironfans.com/forums/index.php" target="_self">Forum Index</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/forumdisplay.php?f=91" target="_self">Football Forums</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/forumdisplay.php?f=93" target="_self">GridironFans Central</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/forumdisplay.php?f=158" target="_self">The Lounge</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/forumdisplay.php?f=90" target="_self">VIP Section</a></td>
</tr>
</table></if></div><!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="2" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">AFC News By Team</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Bengals/">Bengals</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Bills/">Bills</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Broncos/">Broncos</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Browns/">Browns</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Chargers/">Chargers</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Chiefs/">Chiefs</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Colts/">Colts</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Dolphins/">Dolphins</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Jaguars/">Jaguars</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Jets/">Jets</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Patriots/">Patriots</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Raiders/">Raiders</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Ravens/">Ravens</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Steelers/">Steelers</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Texans/">Texans</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Titans/">Titans</a></td>
</tr>
</table></if></div><!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="3" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">NFC News By Team</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/49ers/">49ers</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Bears/">Bears</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Buccaneers/">Buccaneers</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Cardinals/">Cardinals</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Cowboys/">Cowboys</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Eagles/">Eagles</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Falcons/">Falcons</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Giants/">Giants</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Lions/">Lions</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Packers/">Packers</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Panthers/">Panthers</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Rams/">Rams</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Redskins/">Redskins</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Saints/">Saints</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Seahawks/">Seahawks</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/Vikings/">Vikings</a></td>
</tr>
</table></if></div><!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="4" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">More NFL News</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/topstory/" target="_self">Top Stories</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/injury/" target="_self">Injury Report</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/rumor/" target="_self">NFL Rumors</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/transaction/" target="_self">Transactions</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/draft/" target="_self">NFL Draft</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/nfl/" target="_self">League News</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/legal/" target="_self">Legal News</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/tags/index.php/score/" target="_self">Scores</a></td>
</tr>
</table></if></div><!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="5" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/view.php?pg=rules" target="_self">Site Rules</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/faq.php" target="_self">F.A.Q.</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/statistics.php" target="_self">Site Stats</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/referrers.php?" target="_self">Referral Stats</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/awards.php" target="_self">Member Awards</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://my.funtrivia.com/private/main.cfm?tid=72521" target="_blank">Daily NFL Trivia</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfanscom.ourtoolbar.com/" target="_blank">Site Toolbar</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/view.php?pg=teamstore" target="_self">Team Shop</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://gridironfans.com/forums/view.php?pg=gridirongear" target="_self">Gridiron Gear</a></td>
</tr>
</table></if></div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
o0Hubba0o
12-02-2007, 07:15 AM
I noticed in all of these:
<!-- extras pop start -->
<div class="vbmenu_popup" id="4" style="display:none">
The id just has the number and not 4_menu, all of them except #1, try checking on that maybe.
SBlueman
12-02-2007, 07:35 AM
That did the trick, thanks!
Saint_ago
01-07-2008, 08:20 AM
Anybody know, how to explain vbadvanced to put prefixes with Forum's URL in links of top nav bar?
After putting the nav2 variable in vBa CMPS-> Default Settings -> Main Options ->Portal Output Global Variables, it gets visible in CMPS page.
BUT as of my forum is in subdirectory/subforum VB "viparmenia.com/vb" and CMPS is on main directory "viparmenia.com" I need that prefix for correct URL appended to every link in topnavbar menu.
Anyone? I'm having the same problem here...
0tolerance
01-21-2008, 01:14 AM
hell yes :), this is exactly what i was looking for..
And too think i was going to code my own mod.. lol
I'm guessing that this would easily adapt to having the main menu button that you click an image instead of just text?
o0Hubba0o
01-21-2008, 02:34 AM
hell yes :), this is exactly what i was looking for..
And too think i was going to code my own mod.. lol
I'm guessing that this would easily adapt to having the main menu button that you click an image instead of just text?
I used images on an old site I had this installed on before, so yes it should. ;)
molieman
01-21-2008, 09:48 AM
I couldn't find this anywhere... I could be blocking it:)
Does this mod work with 3.7?
o0Hubba0o
01-21-2008, 04:37 PM
I couldn't find this anywhere... I could be blocking it:)
Does this mod work with 3.7?
Yes, I just tested on a site I'm redoing, and it works.
When you say you couldn't find it anywhere do you mean you tried installing it and it doesn't show up? Make sure you did the nabar template edit if that's the case.
molieman
01-21-2008, 07:04 PM
When you say you couldn't find it anywhere do you mean you tried installing it and it doesn't show up? Make sure you did the nabar template edit if that's the case.
No, I just meant posted here regarding V3.7. I've got 3.7 running and TopNav works fine :)
AngelBlue
02-04-2008, 08:32 PM
Great hack. My only complaint is that the instructions are wrong (they tell you to go to style manager to find the option to edit the top navbar template... when in fact you have to go to template search and enter top_nav to find it). Other than that, great mod.
o0Hubba0o
02-04-2008, 09:10 PM
Great hack. My only complaint is that the instructions are wrong (they tell you to go to style manager to find the option to edit the top navbar template... when in fact you have to go to template search and enter top_nav to find it). Other than that, great mod.
Well actually the directions are right, it works both ways I suppose but I think most people probably go to style manager though. Then you click on "edit templates" in the drop down next to the style you want to edit the templates for.
MadKad
02-05-2008, 11:40 AM
Well actually the directions are right, it works both ways I suppose but I think most people probably go to style manager though. Then you click on "edit templates" in the drop down next to the style you want to edit the templates for.
I was going to say that :)
Thanks
Kport
02-11-2008, 05:27 PM
cool, thanks.
Chadi
02-19-2008, 11:34 PM
Trying to fix some w3 errors here. Would appreciate some help.
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.talkjesus.com%2F
Example:
Line 864, Column 10: value of attribute "id" invalid: "2" cannot start a name.
<td id="2" class="nav_menu_control" style="width: 77px"><a href="#1">Info</a> The custom menu with drop downs are "Info", "Entertainment" and "Bible" on www.talkjesus.com
header template
<!-- Start Admin Log In As User -->
<if condition="$_REQUEST['admin_log_in_as_user'] OR $_COOKIE[COOKIE_PREFIX . 'admin_log_in_as_user']">
<div align="center" style="color: red; background-color: white; border: 1px solid black; padding:2px"><a href="$vboptions[forumhome].php?$session[sessionurl]&log_out_admin_log_in_as_user=true">$vbphrase[admin_log_out_as_user]</a></div>
</if>
<!-- End Admin Log In As User -->
<!-- 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]">
<img border="0" src="http://www.talkjesus.com/images/element/misc/right-logo.gif" alt="Truth"/></td>
</tr>
<tr>
<td height="34" colspan="2">
<!-- nav buttons bar -->
<div align="center" style="z-index: 100;">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<td class="nav_menu_control" style="width: 16px"><a href="http://www.talkjesus.com/index.php">
<img src="http://www.talkjesus.com/images/home.gif" border="0" alt="Home"/></a></td>
<td id="2" class="nav_menu_control" style="width: 77px"><a href="#1">Info</a>
<script type="text/javascript"> vbmenu_register("2"); </script></td>
<if condition="$show['member']"><else /><if condition="in_array(THIS_SCRIPT, array(index))"><else />
<td class="nav_menu_control" style="width: 77px"><a id="toggle" href="#" name="toggle">$vbphrase[vbstyles_login]</a> </td></if></if>
<if condition="$show['registerbutton']">
<td class="nav_menu_control" style="width: 77px"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
$template_hook[navbar_buttons_left]
<!-- <td class="nav_menu_control"><a href="project.php$session[sessionurl_q]">$vbphrase[projects]</a></td> -->
<td id="1" class="nav_menu_control" style="width: 77px"><a href="#1">
Entertainment</a>
<script type="text/javascript"> vbmenu_register("1"); </script></td>
<td id="3" class="nav_menu_control" style="width: 77px"><a href="#1">
Bible</a>
<script type="text/javascript"> vbmenu_register("3"); </script></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="nav_menu_control" style="width: 77px"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">
<span class="style1a">$vbphrase[new_posts_nav]</span></a></td>
<else />
<td class="nav_menu_control" style="width: 77px"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="nav_menu_control" style="width: 77px"><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>
<if condition="$show['member']">
<td id="journalnavbar" class="nav_menu_control" style="width: 77px"><a href="#journalnavbar">$vbphrase[journals]</a> <script type="text/javascript"> vbmenu_register("journalnavbar"); </script></td>
<td id="usercptools" class="nav_menu_control" style="width: 77px"><a href="$show[nojs_link]#usercptools">My Account</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="nav_menu_control" style="width: 77px"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="nav_menu_control" style="width: 77px"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control" style="width: 77px"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="nav_menu_control" style="width: 78px"><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" style="width: 78px"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td class="nav_menu_control" style="width: 78px"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
<if condition="$show['member']"><else /><if condition="in_array(THIS_SCRIPT, array(index))"><else />
<div class="spacer"></div>
<div id="vbstyles_element" align="right" style="z-index: 10;">
<div id="vbstyles_element_in" align="center">
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<div class="smallfont" style="z-index: -6;">
<input type="text" class="navbar_forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<label for="cb_cookieuser_navbar"><input type="hidden" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" /></label>
<input type="password" class="navbar_forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="16" tabindex="102" onfocus="this.value=''" value="Password" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</div>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</div>
</div>
<div class="spacer_small"></div></if></if>
...will post navbar template in next post
Chadi
02-19-2008, 11:34 PM
navbar template
<script type="text/javascript">
<!--
function openRadioAndTV(){
radioAndTVWindow = window.open('radioandtv.php', 'radioandtv', 'directories=no,height=500,width=700,location=no,m enubar=no,resizable=yes,status=no,scrollbars=yes,t oolbar=no');
}
//-->
</script>
<if condition="in_array(THIS_SCRIPT, array(index))"><br /><else /></if>
<if condition="$show['member']"><if condition="in_array(THIS_SCRIPT, array(index))"><else /><br /></if><else /></if>
<!-- Nav -->
<div class="nav_border_out">
<div class="nav_border_in">
<if condition="is_array($navbits)">
<table cellpadding="4" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width="15"><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="$scriptpath"><span class="navbar"><strong>$navbits[lastelement]</strong></span></a> </td>
</tr>
</table>
<else />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><if condition="$show['member']">
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> $bbuserinfo[username],
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
</div>
<if condition="$show['pmstats']">
<div class="smallfont"> <img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" />
<if condition="$show['pmstats']"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></if>
</div>
</if>
<else />
<div class="smallfont"><img src="$stylevar[imgdir_button]/lastpost_1.gif" alt="" class="inlineimg" /> <a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[nav_register]</a></div>
</if>
</td>
<td width="50%" align="right"><if condition="$show['member']">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="navbar_forms" name="query" size="20" onfocus="this.value=''" value="$vbphrase[nav_search_form]" tabindex="1001" />
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</form>
<else />
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<div class="smallfont">
<input type="text" class="navbar_forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
<label for="cb_cookieuser_navbar"><input type="hidden" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" /></label>
<input type="password" class="navbar_forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="16" tabindex="102" onfocus="this.value=''" value="Password" />
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar2" accesskey="c" />$vbphrase[remember_me]</label>
<input type="image" src="$stylevar[imgdir_button]/go.gif" style="vertical-align: middle;"/>
</div>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</if>
</td>
</tr>
</table>
</if>
</div>
</div>
<!-- /Nav -->
<!-- Forum Description -->
<if condition="$show['forumdesc']">
<div class="spacer_small"></div>
<div class="forumdesc_border"><div class="forumdesc"><span class="smallfont"><strong>$foruminfo[title]</strong> $foruminfo[description]</span></div></div>
</if>
<!-- /Forum Description -->
<div class="spacer"></div>
<br />
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</div>
</form>
</td>
</tr>
<tr>
<td class="thead">$vbphrase[nav_search_options]</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[nav_new_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[nav_todays_posts]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
$template_hook[navbar_search_menu]
</table>
</div>
<!-- / header quick search form -->
$zointstags_searchform
</if>
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
$template_hook[navbar_quick_links_menu_pos1]
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
$template_hook[navbar_quick_links_menu_pos2]
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option" id="vbfavorites"><a href="usercp.php?$session[sessionurl]">My Favorites</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
$template_hook[navbar_quick_links_menu_pos3]
</table>
</div>
<!-- / user cp tools menu -->
</if>
<div class="vbmenu_popup" id="journalnavbar_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" align="center">$vbphrase[journal_links]</td></tr>
<tr><td class="vbmenu_option"><a href="journal.php$session[sessionurl_q]">$vbphrase[journal_index]</a></td></tr>
<if condition="$bbuserinfo!=0">
<tr><td class="vbmenu_option"><a href="journal.php?$session[sessionurl]do=gotomyjournal">$vbphrase[my_journal]</a></td></tr>
</if>
</table>
</div>
<!-- / NAVBAR POPUP MENUS -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">
Fun Zone
</td>
</tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/arcade.php">Arcade</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/journal.php">Journals</a></td></tr>
<tr><td class="vbmenu_option"><if condition="in_array($bbuserinfo['usergroupid'], array(2,6,7))">
<a href="http://www.talkjesus.com/misc.php?do=page&template=chat">Live Chat</a><else />Live Chat: Members Only</if></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/gallery/index.php">Photo Gallery</a></td></tr>
<tr><td class="vbmenu_option"><a href="javascript:openRadioAndTV()">$vbphrase[rs_radiostations]</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/streaming-audio/">Streaming Audio</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/streaming-video/">Streaming Video</a></td></tr>
<tr>
<td class="thead">
Special Tools
</td>
</tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/calendar.php">Calendar / Events</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/vaispy.php">iSpy</a></td></tr>
<tr><td class="vbmenu_option"><a href="worldmap.php$session[sessionurl_q]">Members World Map</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/usercp.php">Refer A Friend!</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/tags/">Tag Cloud</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/worldtimes.php">World Time Zones</a></td></tr>
</table>
</div>
<!-- extras pop end -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="2_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">
Appreciation
</td>
</tr>
<tr><td class="vbmenu_option"><a href="billspaypal.php?">$vbphrase[billspp_donate]</a></td></tr>
<tr>
<td class="thead">
Help Center
</td>
</tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/faq.php">FAQ</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/forum-rules-ten-commandments/53-talk-jesus-10-commandments-rule.html">Forum Rules</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/press-stand/12096-forum-etiquette.html">Forum Etiquette</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/showgroups.php">Moderators</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/press-stand/3028-statement-faith.html">Statement of Faith</a></td></tr>
<tr>
<td class="thead">
Info Center
</td>
</tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/blog/">Forum Blog</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/rss_feeds.php">Forum RSS Feeds</a></td></tr>
<tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">Members List</a></td></tr>
<tr><td class="vbmenu_option"><a href="news.php">RSS News</a></td></tr>
<tr><td class="vbmenu_option"><a href="psistats.php">Site Statistics</a></td></tr>
<tr><td class="vbmenu_option"><a href="misc.php?do=topstats">Top Statistics</a></td></tr>
</table></div>
<!-- extras pop end -->
<!-- extras pop start -->
<div class="vbmenu_popup" id="3_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">
Study Resources
</td>
</tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/misc.php?do=page&template=bible_kjv">Bible (KJV)</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/misc.php?do=page&template=bible_web">Bible (World English)</a></td></tr>
<tr><td class="vbmenu_option"><a href="glossary.php$session[sessionurl_q]">$vbphrase[glossary]</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.talkjesus.com/glossary.php?do=listglossary&c=4">Maps</a></td></tr>
</table>
</div>
<!-- extras pop end -->
<!-- PAGENAV POPUP -->
<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>
<!-- / PAGENAV POPUP -->
</if>
Mysterious Ride
05-04-2008, 01:49 PM
I'm very new at all of this and I was wondering what do I use to upload the product-top nav XML Document?
SBlueman
05-04-2008, 10:40 PM
I am using the Navbar Forumjump (https://vborg.vbsupport.ru/showthread.php?t=157353) modification and want to add this to my top navbar. Any suggestions?
SBlueman
05-07-2008, 03:31 AM
I am using the Navbar Forumjump (https://vborg.vbsupport.ru/showthread.php?t=157353) modification and want to add this to my top navbar. Any suggestions?
Anyone?
PGAmerica
05-20-2008, 08:23 PM
What template do I edit to add this top_nav mod to my vbadvanced?
INK3S
06-15-2008, 04:11 PM
excellent hack, very easy to use.. thank you! we have this working also with CMPS & ibproarcade on 3.7.1. since many others have these installed, i would recommend adding these to the instructions. this post (https://vborg.vbsupport.ru/showpost.php?p=1393345&postcount=152) was very helpful for the arcade edit, thanks!
i have a very small but annoying problem that someone else mentioned & fixed, but i haven't. i know i could probably fix this by adding the topnav code into the main navbar template, but i'd prefer to keep them separate the way they are.
our site url: www.ink3s.org - the border on the top of nav2 is color #c2c2c2 (light grey), and there is no border around the sides. i compared this part of the code to the code in navbar:
nav2:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
navbar:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
when i copy the navbar code into nav2, it put a black border around it (which is what i want), but also puts a border on each td (which i don't want).
i also looked @ style manager/main CSS - the tborder class mentions nothing of #c2c2c2. when i added "border: 1px #000000;" to the "Extra CSS Attributes", i got no border @ all. where else can i look to fix this? it's driving me insane lol.
TalkBolts
06-16-2008, 09:14 AM
Is anyone using this with vBadvanced CMPS? The top nav bar drops on the vBadvanced front page and I can't figure out why.
TalkBolts
06-16-2008, 09:17 AM
I'm very new at all of this and I was wondering what do I use to upload the product-top nav XML Document?
Admin Control Panel --> Plugins & Products --> Manage Products --> Add/Import Product
From there, browse to the XML file and click on [Import].
TalkBolts
06-16-2008, 09:42 AM
Is anyone using this with vBadvanced CMPS? The top nav bar drops on the vBadvanced front page and I can't figure out why.
I hate quoting myself, but I found the answer to this and thought I should post it in case anyone has the same problem.
If you have the vBadvanced CMPS installed and want this hack to work, go to:
Admin CP => vBa CMPS => Default Settings => Main Options => Portal Output Global Variables
Once there, add "nav2" (without the quotes) and the topnav bar will work on the front page also.
PGAmerica
02-08-2009, 02:44 PM
I am having a small problem with drop-down menus. On the main navbar, all the drop-down menus align perfectly under the main item.
On the top_nav, they are dropping down about 100 pixels to the left. Look at the attached image.
How do I get my drop-down menus to drop down in the right spot?
PGAmerica
02-11-2009, 07:13 PM
Any answer to this would be appreciated.
PGAmerica
02-16-2009, 06:02 PM
Is this even being supported anymore?
UKBusinessLive
02-16-2009, 06:07 PM
Is this even being supported anymore?
Why don't you take a look here if its any help to you ?? ;)
https://vborg.vbsupport.ru/showthread.php?t=203525
PGAmerica
02-16-2009, 07:37 PM
Thank you, I will check that out
o0Hubba0o
02-17-2009, 03:24 AM
Any answer to this would be appreciated.
Try checking the alignment like in this post, it seems this person was having that same issue: post 123 (https://vborg.vbsupport.ru/showpost.php?p=1234013&postcount=123)
cbiweb
07-13-2009, 05:01 PM
Having the same alignment problem as others, and no fix in sight, even the above mentioned one. In Firefox and IE the menu is way off to the left. Why is it doing that? I really don't want to have to register at MK Pitstop just for this one issue.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.