PDA

View Full Version : Navbar/Link Issues...


Pages : 1 [2]

Brian
05-27-2005, 11:32 AM
What version of the script are you running? If you're not running 1.0.1, upgrade. If you are, try going to this URL:
http://yoursite.com/forum/admincp/vbacmps_install.php?do=settings

Boanerges
05-27-2005, 12:12 PM
That fixed it. Thanks

Our Sponsors
 

stonecold
07-19-2005, 06:45 PM
I have flashchat installed on VB 3.0.7 and every link except the flashchat link works on the VBadvanced home page. the link to flashchat.php is .com/forums/chat/flashchat.php and that link works on the forums page but when I click the flashchat link on the vbadvanced home page it takes me to .com/chat/flashchat.php. All other links work fine ???

Brian
07-20-2005, 11:41 AM
Add chat/flashchat.php to your Navbar Replacements option.

Our Sponsors
 

stonecold
07-20-2005, 05:52 PM
Thank you for your reply

I tried that and also added the entire list to Header Replacements. The link on the homepage is still chat/flashchat.php instead of forums/chat/flashchat.php.

Do you think it would help if I reinstalled vbadvanced?

Brian
07-20-2005, 07:21 PM
Reinstalling wouldn't change anything. Can you post a link to your site?

virtualburn
07-26-2005, 02:57 PM
hi all, I've just read through the posts and still couldn't find the sollution to the problem. I've been using the portal as my homepage and the link to the forum index has worked fine. I just happened to be adding something to the quicklinks pop-up and when I tested it from the Portal it doesn't do anything... all other buttons work accept the quick links and the search pop-up.. ?? any ideas. Works fine on all other pages.

Brian
07-27-2005, 11:46 AM
Link?

virtualburn
07-27-2005, 12:55 PM
Hyper link, Hyperlinked image for 'home'.

The portal is 'index.php' and the forum home is 'home.php', all the [hyper]link popups (the java menu e.g quick links, search) on the navbar work on all other pages apart from the portal, the standard links i.e, calendar, FAQ work ok.

~VB

virtualburn
07-30-2005, 07:56 AM
Sorry Brian, 'Link?' to site /me slaps himself

www.welearn.co.uk
Username: vBa
Password: CMPS

The navbar works fine on the forum homepage but the navbar on the Poartal page seems to have an issue with the java menu's. Thaks for your help.

~to get back to the portal page from the forum there is a link at the bottom, I'll add it to the navbar once this is sorted.

Brian
07-30-2005, 10:34 AM
It looks like the problem is that you've disabled the navbar on your CMPS page, but those div tags are in your navbar (bad coding by whoever did your style). To fix it, just remove the div tags that contain those menus from your navbar template and put them in your header template.

virtualburn
07-30-2005, 11:55 AM
Hi Brian, thanks for taking the time to look at this.

It was me who designed the style, I am a bit of a NooB when it comes to the coding side of things but I'm getting there, design is more my forté. When I checked the CMPS page the navbar was enabled(I've tried it when disabled). I've included my 'navbar' template as it stands and the header also.

I tried cutting the <div> section from the navbar and pasting into the end of the header, still works on forum home but not on portal.

Navbar
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>

<br />






<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="125" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="125" height="27" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="middle">&nbsp;</td>
<td width="125" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="125" height="27" alt=" " border="0" /></td>
</tr>
</table>
<!-- End top category table setup -->

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

<if condition="$bbuserinfo['userid']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont">$vbphrase[username]</td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont">$vbphrase[password]</td>
<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->










<!-- bottom table setup -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60" height="14" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_bottom.gif" width="60" height="14" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/extended_main_table_bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
<td width="60" height="14" align="right" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_bottom.gif" width="60" height="14" alt=" " border="0" /></td>
</tr>
</table>
<!-- End bottom table setup -->
<div style="padding: 7px 7px 7px 7px;"></div>

<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" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</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=getnew">$vbphrase[new_posts_nav]</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&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars =yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

<tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$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['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$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]">$vbphrase[whos_online]</a></td></tr></if>

</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
</if>

Header:
<!-- begin header-->
<div align="center">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" class="border">
<tr>
<td align="left" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="221" height="113" rowspan="3"><img src="$stylevar[imgdir_misc]/surge_hdr_ls.gif" width="221" height="113" alt="" /></td>
<td width="100%" height="113" rowspan="3" style="background-image: url($stylevar[imgdir_misc]/surge_hdr_x.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="1" alt="" /></td>
<td width="531" height="77" colspan="7"><img src="$stylevar[imgdir_misc]/surge_hdr_top.gif" width="531" height="77" alt="" /></td>
</tr>
<tr>
<td width="61" height="22"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_home.gif" width="61" height="22" border="0" alt="" /></a></td>
<td width="81" height="22"><a href="usercp.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_cp.gif" width="81" height="22" border="0" alt="" /></a></td>
<if condition="$show['registerbutton']">
<td width="83" height="22"><a href="register.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_reg.gif" width="83" height="22" border="0" alt="" /></a></td>
<else />
<td width="83" height="22" id="usercptools"><a href="#usercptools"><img src="$stylevar[imgdir_misc]/surge_hdr_links.gif" width="83" height="22" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("usercptools" ,1); </script></td>
</if>

<!-- / header members popup -->

<td width="82" height="22"><a href="memberlist.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_members.gif" width="82" height="22" border="0" alt="" /></a></td>

<!-- / header members popup -->

<td width="89" height="22"><a href="calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_calendar.gif" width="89" height="22" border="0" alt="" /></a></td>
<td width="74" height="22" id="navbar_search"><a href="search.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_search.gif" width="74" height="22" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("navbar_search" ,1); </script></td>
<td width="61" height="22"><a href="faq.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_faq.gif" width="61" height="22" border="0" alt="" /></a></td>
</tr>
<tr>
<td width="531" height="14" colspan="7"><img src="$stylevar[imgdir_misc]/surge_hdr_btm.gif" width="531" height="14" alt="" /></td>
</tr>
</table>
<!-- end header-->

<!-- begin main inner table area-->
<table border="0" width="100%" cellpadding="10" cellspacing="0" bgcolor="#2A355A">
<tr><td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#333E65">
<tr>
<td width="28" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_top.gif" width="28" height="23" alt="" /></td>
<td width="100%" align="left" valign="top"><img src="$stylevar[imgdir_misc]/expand_main_table.gif" width="100%" height="8" alt="" /></td>
<td width="28" align="left" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_top.gif" width="28" height="23" alt="" /></td>
</tr>
</table>
<!-- content table -->
<table bgcolor="#333E65" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>



$spacer_open

$_phpinclude_output

I hope this helps.

~VB

Brian
07-31-2005, 11:50 AM
Ahhh... I figured that you had purchased the style, which is why I said it was bad coding since anyone selling styles should know their way around vB a little better and I've seen that same mistake with several paid styles.
Try chaning each template to this and it *should* do the trick.

Header:
<!-- begin header-->
<div align="center">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" class="border">
<tr>
<td align="left" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="221" height="113" rowspan="3"><img src="$stylevar[imgdir_misc]/surge_hdr_ls.gif" width="221" height="113" alt="" /></td>
<td width="100%" height="113" rowspan="3" style="background-image: url($stylevar[imgdir_misc]/surge_hdr_x.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="1" alt="" /></td>
<td width="531" height="77" colspan="7"><img src="$stylevar[imgdir_misc]/surge_hdr_top.gif" width="531" height="77" alt="" /></td>
</tr>
<tr>
<td width="61" height="22"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_home.gif" width="61" height="22" border="0" alt="" /></a></td>
<td width="81" height="22"><a href="usercp.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_cp.gif" width="81" height="22" border="0" alt="" /></a></td>
<if condition="$show['registerbutton']">
<td width="83" height="22"><a href="register.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_reg.gif" width="83" height="22" border="0" alt="" /></a></td>
<else />
<td width="83" height="22" id="usercptools"><a href="#usercptools"><img src="$stylevar[imgdir_misc]/surge_hdr_links.gif" width="83" height="22" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("usercptools" ,1); </script></td>
</if>

<!-- / header members popup -->

<td width="82" height="22"><a href="memberlist.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_members.gif" width="82" height="22" border="0" alt="" /></a></td>

<!-- / header members popup -->

<td width="89" height="22"><a href="calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_calendar.gif" width="89" height="22" border="0" alt="" /></a></td>
<td width="74" height="22" id="navbar_search"><a href="search.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_search.gif" width="74" height="22" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("navbar_search" ,1); </script></td>
<td width="61" height="22"><a href="faq.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_faq.gif" width="61" height="22" border="0" alt="" /></a></td>
</tr>
<tr>
<td width="531" height="14" colspan="7"><img src="$stylevar[imgdir_misc]/surge_hdr_btm.gif" width="531" height="14" alt="" /></td>
</tr>
</table>
<!-- end header-->

<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" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</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=getnew">$vbphrase[new_posts_nav]</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&amp;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]">$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['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$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]">$vbphrase[whos_online]</a></td></tr></if>

</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
</if>

<!-- begin main inner table area-->
<table border="0" width="100%" cellpadding="10" cellspacing="0" bgcolor="#2A355A">
<tr><td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#333E65">
<tr>
<td width="28" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_top.gif" width="28" height="23" alt="" /></td>
<td width="100%" align="left" valign="top"><img src="$stylevar[imgdir_misc]/expand_main_table.gif" width="100%" height="8" alt="" /></td>
<td width="28" align="left" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_top.gif" width="28" height="23" alt="" /></td>
</tr>
</table>



<!-- content table -->
<table bgcolor="#333E65" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>



$spacer_open

$_phpinclude_output

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 />






<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="125" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="125" height="27" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="middle">&nbsp;</td>
<td width="125" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="125" height="27" alt=" " border="0" /></td>
</tr>
</table>
<!-- End top category table setup -->

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

<if condition="$bbuserinfo['userid']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont">$vbphrase[username]</td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont">$vbphrase[password]</td>
<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->










<!-- bottom table setup -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60" height="14" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_bottom.gif" width="60" height="14" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/extended_main_table_bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
<td width="60" height="14" align="right" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_bottom.gif" width="60" height="14" alt=" " border="0" /></td>
</tr>
</table>
<!-- End bottom table setup -->
<div style="padding: 7px 7px 7px 7px;"></div>

virtualburn
07-31-2005, 07:39 PM
Thanks for taking the time for looking at this, I copied both lots of code into the templates but the issue was not resolved. I'm lost to be honest.

I added a drop down to the members button last night, and had the same issue on the homepage.. after checking i noticed the id's were different, not the case though with the portal, I've also added a drop down on the 'Home' button for a choice between the Forum home or the Portal .. all these drop down's work fine anywhere else apart from the portal page, I am really lost as to what this is.. I'll post an update of my navbar and header.. I've tided them up a bit.

Navbar:<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>

<br />






<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="125" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="125" height="27" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="middle">&nbsp;</td>
<td width="125" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="125" height="27" alt=" " border="0" /></td>
</tr>
</table>
<!-- End top category table setup -->

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

<if condition="$bbuserinfo['userid']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont">$vbphrase[username]</td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont">$vbphrase[password]</td>
<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->










<!-- bottom table setup -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60" height="14" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_bottom.gif" width="60" height="14" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/extended_main_table_bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
<td width="60" height="14" align="right" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_bottom.gif" width="60" height="14" alt=" " border="0" /></td>
</tr>
</table>
<!-- End bottom table setup -->
<div style="padding: 7px 7px 7px 7px;"></div>

<if condition="$show['popups']">
</if>

Header:<!-- begin surge header-->
<div align="center">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" class="border">
<tr>
<td align="left" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="221" height="113" rowspan="3"><img src="$stylevar[imgdir_misc]/surge_hdr_ls.gif" width="221" height="113" alt="" /></td>
<td width="100%" height="113" rowspan="3" style="background-image: url($stylevar[imgdir_misc]/surge_hdr_x.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="1" alt="" /></td>
<td width="531" height="77" colspan="7"><img src="$stylevar[imgdir_misc]/surge_hdr_top.gif" width="531" height="77" alt="" /></td>
</tr>
<tr>

<!-- / header Home popup -->

<td width="61" height="22" id="home"><a href="#home"><img src="$stylevar[imgdir_misc]/surge_hdr_home.gif" width="61" height="22" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("home" ,1); </script></td>

<!-- / header Home popup -->

<td width="81" height="22"><a href="usercp.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_cp.gif" width="81" height="22" border="0" alt="" /></a></td>
<if condition="$show['registerbutton']">
<td width="83" height="22"><a href="register.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_reg.gif" width="83" height="22" border="0" alt="" /></a></td>
<else />
<td width="83" height="22" id="usercptools"><a href="#usercptools"><img src="$stylevar[imgdir_misc]/surge_hdr_links.gif" width="83" height="22" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("usercptools" ,1); </script></td>
</if>

<!-- / header members popup -->

<td width="83" height="22" id="members"><a href="#members"><img src="$stylevar[imgdir_misc]/surge_hdr_members.gif" width="82" height="22" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("members" ,1); </script></td>

<!-- / header members popup -->

<td width="89" height="22"><a href="calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_calendar.gif" width="89" height="22" border="0" alt="" /></a></td>
<td width="74" height="22" id="navbar_search"><a href="search.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_search.gif" width="74" height="22" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("navbar_search" ,1); </script></td>
<td width="61" height="22"><a href="faq.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/surge_hdr_faq.gif" width="61" height="22" border="0" alt="" /></a></td>
</tr>
<tr>
<td width="531" height="14" colspan="7"><img src="$stylevar[imgdir_misc]/surge_hdr_btm.gif" width="531" height="14" alt="" /></td>
</tr>
</table>
<!-- end surge header-->

<!-- begin main inner table area-->
<table border="0" width="100%" cellpadding="10" cellspacing="0" bgcolor="#2A355A">
<tr><td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#333E65">
<tr>
<td width="28" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_top.gif" width="28" height="23" alt="" /></td>
<td width="100%" align="left" valign="top"><img src="$stylevar[imgdir_misc]/expand_main_table.gif" width="100%" height="8" alt="" /></td>
<td width="28" align="left" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_top.gif" width="28" height="23" alt="" /></td>
</tr>
</table>
<!-- content table -->
<table bgcolor="#333E65" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>

<!-- 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" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</div>

<!-- / header quick search form -->

</if>

<if condition="$show['member']">

<!-- / Home menu -->

<div class="vbmenu_popup" id="home_menu" style="display:none">

<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="vbmenu_option"><a href="index.php?$session[sessionurl]">Portal</a></td></tr>

<tr><td class="vbmenu_option"><a href="home.php?$session[sessionurl]">Forum</a></td></tr>

</table>
</div>

<!-- / Home menu -->

<!-- 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=getnew">$vbphrase[new_posts_nav]</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&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars =yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

<tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$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['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$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]">$vbphrase[whos_online]</a></td></tr></if>

</table>
</div>

<!-- / user cp tools menu -->

<!-- / members menu -->

<div class="vbmenu_popup" id="members_menu" style="display:none">

<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[premium_members]</td></tr>

<tr><td class="vbmenu_option"><a href="stickets.php?$session[sessionurl]">$vbphrase[ticket_support]</a></td></tr>

<tr><td class="vbmenu_option"><a href="irc.php?$session[sessionurl]">$vbphrase[live_support]</a></td></tr>

<tr><td class="vbmenu_option"><a href="memberlist.php?$session[sessionurl]">Member List</a></td></tr>

<tr><td class="thead">$vbphrase[members]</td></tr>

<tr><td class="vbmenu_option"><a href="subscriptions.php?$session[sessionurl]">Subscriptions</a></td></tr>
</table>
</div>

<!-- / members menu -->

</if>
<!-- / NAVBAR POPUP MENUS -->


$spacer_open

$_phpinclude_output

Could it be something that isn't loaded in the index.php? (portal)

virtualburn
08-01-2005, 07:54 PM
I have been through everything... I still can't sort this issue out, I've had to create a link using the header image now as nobody can use the navbar to get to the forum's. It's got to be a simple sollution, it always is.. just for the life of me I can't see it.

http://www.virtualburn.co.uk/mad.gif

virtualburn
08-02-2005, 11:37 AM
Just a note about something I've thought about, when clicking the navbar buttons that are using the javascript pop-up it takes the button to the top of the page... as if it was moving to a boookmark?? the forwarding url shown in the status bar shows a # before the javascript ID.. this is also used in bookmarks?? could this be something to do with why it is jumping rather than popping??

Brian
08-02-2005, 12:12 PM
Try moving those div tags out of the table you have them in.

virtualburn
08-02-2005, 09:32 PM
I've tried that.. because the actual navbar works throughout the rest of the site wouldn't that lead you to the suspision that it has something to do with the actual portal page itself.. should it be loading something before it loads the navbar for it to work? I'm lost mate.. I've looked over it compared it.. I'm screwed.

I put this board up in 4 days, designed it added all the hacks, I've got people waiting to join for the support they need, so you can imagine how frustrating this is.

I can give you admin access to take a quick butchers if you like, i just need this sorted.

Brian
08-03-2005, 04:34 PM
Sure, if you'd like to just submit a support ticket via the Members' Area here I'll take a quick look and see if I can spot the problem.

virtualburn
08-03-2005, 08:39 PM
Done, cheers.