View Full Version : Navbar
---MAD---
02-15-2006, 01:19 PM
IN vba admin, I chose "no vbulletin navbar".
It doesnt go..I think its because the skin we have installed uses the "head" template instead of the "navbar".
Any idea how i would go around this?
KW802
02-15-2006, 02:02 PM
Link to the URL? Most likely you'd have to use a conditional in your header to bypass that chunk of code when on a CMPS page.
---MAD---
02-15-2006, 02:26 PM
well forum is not offically open so you wont be able to access anything.
www.gameboxforum.com
KW802
02-15-2006, 02:33 PM
Which part exactly are you trying to disable.... the header navbar (Home / UserCP / Menu ....) or the regulard navbar with the user name & password prompt?
---MAD---
02-15-2006, 02:38 PM
the nav bar bit so that i can use the navigation in the CMPS instead :)
Yeah the home/usercp/menu etc
smackLAN
02-15-2006, 02:50 PM
You will most likely need to edit your header template for that style to remove those links and images, then revert your navbar template so all the links are there.
KW802
02-15-2006, 03:06 PM
Mad,
Look for this section of code in your 'header' template...<table bgcolor="#111210" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<!-- This is navigation/button area -->
{The navigation menus}
<!--End navigation/button area -->
</tr>
</table>... and then insert above it...<if condition="!defined('VBA_SCRIPT')">... and then insert below it...</if>... so that it looks like this...
<if condition="!defined('VBA_SCRIPT')">
<table bgcolor="#111210" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<!-- This is navigation/button area -->
{The navigation menus}
<!--End navigation/button area -->
</tr>
</table>
</if>
NOTE: The actual HTML in your 'header' template might appear slightly different since most likely the bgcolor value is a variable and is not hard-coded so I had to go by what shows when viewing the source.
---MAD---
02-15-2006, 03:06 PM
ok hold on.
---MAD---
02-15-2006, 03:10 PM
PERECTO!
Thanks alot! :)
KW802
02-15-2006, 03:11 PM
PERECTO!
Thanks alot! :)No problem. :)
Renae
07-20-2006, 01:05 PM
That worked for me too. Thanks KW802
+EnZo
09-07-2006, 01:18 AM
works here too thanx :)
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.