vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=263565

Navbar modification problem
by Krika
13 May 2011 13:28

Hi there, i hope someone can help us out.

We made some changes in the "navbar" to make the navigation more convenient. Since we are not very good programmers we had some problems, but we almost managed to make it work.

Below is a code of the new navbar.
But there is a little problem, the buttons "What's new", "FAQ" are not in selected state if we click them. The "Forum" button stays selected all the time. I hope there is a easy fix for that and someone can help us out.

Here's the current code(navbar):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Here's a pic how the navbar looks:
https://www.vbulletin.org/forum/external/2011/05/13.gif

we would really appreciate if someone can help us out :)

Lynne 13 May 2011 18:30

It's remaining selected because you made it selected all the time by removing the condition around it.

Yours:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Default:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You need to compare yours to the default.

Krika 23 May 2011 12:11

Thanks for the reply Lynne, but we still can't do it (:
Is it possible to manage the highlighted state of the tabs (Forum, What's New, FAQ) without using exclude codes (<vb:if condition="THIS_SCRIPT != 'exclude area'">) and having to add a whole code to create a navbar in the areas that were excluded? And if this is possible, could you please provide us the code we need for that?

Lynne 23 May 2011 16:22

The only way I add navtabs is by adding a plugin and I already posted that code in the articles forum.

Kapeket 26 May 2011 15:54

Thanks for the help Lynne.

Just read the topic.


All times are GMT. The time now is 17:06.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.