vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Top NavBar With Drop Down Menus (https://vborg.vbsupport.ru/showthread.php?t=129074)

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.

MelH 04-23-2007 11:25 AM

Quote:

Originally Posted by MadKad (Post 1233893)
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

Quote:


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

MelH 04-23-2007 10:06 PM

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

HTML 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.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&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=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

Quote:

Originally Posted by curriertech (Post 1174448)
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

Quote:

Originally Posted by DiesellMinded (Post 1302565)
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.

Quote:

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

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

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

Quote:

Originally Posted by chadi (Post 1306458)
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

Quote:

Originally Posted by SBoards (Post 1384783)
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.

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

Code:

          <!-- 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.

Code:

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

Quote:

Originally Posted by Cocko (Post 1111058)
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

Quote:

Originally Posted by malluroses (Post 1391136)
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

Quote:

Originally Posted by Cocko (Post 1120673)
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:
Code:

        global $header,

And change to:
Code:

        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?

Code:

<!--######## 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:

Code:

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

yeku 12-16-2007 04:41 PM

Reserved, thank

Saint_ago 01-07-2008 08:20 AM

Quote:

Originally Posted by voter (Post 1302037)
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

Quote:

Originally Posted by 0tolerance (Post 1425532)
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?


All times are GMT. The time now is 04:48 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01867 seconds
  • Memory Usage 1,970KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (1)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete