PDA

View Full Version : Mini Mods - Dynamic Navbarlinks


Coroner
11-16-2009, 10:00 PM
Idea by Ragtek
I only added support for dhtml menu and side selection.

What does it do:
Over your vBulletin Optionen you can create links for the navbar (single or dhtml) without changing any template (you can not use phrases).

Installation:
1st upload the php - then simply import the product.
After import 3 new links were created (the example from image no.2).

Requirements:
2 template_hooks:

$template_hook[navbar_start] (in vB 3.8 it's called: navbar_buttons_right)
$template_hook[navbar_end] (in vB 3.8 it's called: navbar_buttons_left)

If one of these HOOKs missing, the links could not be shown.

(Tested on vB4 Beta 3)

---

[28.11.2009]
Upgrade to version v1.5.
What's new ?
Usergrouppermissions and template_hooks.

You can leave the "old" structure. This will have no effect on the navbar. But ... if you like add to a line or menue:
|2,3,4|navbar_start

This little example means, that the link or menue is only visible for the primary usergroups 2,3 and 4. The Template Hook we're using is "navbar_start".
If you leave the usergroup(s) blank, permission for ALL groups are given.

Some words again:
If you are using a template_hook, the side isn't in use. If you leave the template_hook blank, default hook is "navbar_start" or "navbar_end" depended on the "side". Hook's are in Beta Stage. Normaly, it won't work with CMS.
If you really need it, change the Hook Location from "global_setup_complete" to "global_bootstrap_init_complete". Remember: With this location you can't use phrases.

Alibass
11-17-2009, 04:34 AM
Great work, thanks for doing this so quickly. This is going to make things a lot easier on the navbar. :)

Tagged for a later install.

yilmaz
11-17-2009, 05:23 AM
nice work

Billspaintball
11-17-2009, 05:40 AM
This looks interesting.
Tagging for later use :)

ragtek
11-17-2009, 06:13 AM
thx 4 releasing:)

Bounce
11-17-2009, 03:00 PM
Possible to have it usergroup based? So that only a certain usergroup can see a certain link/dropdown?

rtyagis
11-17-2009, 03:11 PM
Great work, thanks! :up:

Coroner
11-17-2009, 03:15 PM
Not in this version. I've planing another version especially for the vB4 that you can use the "new navbar menu" in a certain Mod. This means, I've creating menues for the forum, blog, cms or ....
Therefor I can try to implement a usergroupbit for it.

But ... this is future talk.

Bounce
11-17-2009, 03:41 PM
Not in this version. I've planing another version especially for the vB4 that you can use the "new navbar menu" in a certain Mod. This means, I've creating menues for the forum, blog, cms or ....
Therefor I can try to implement a usergroupbit for it.

But ... this is future talk.

ok mate, nice add on, will prob use it for something :)

abdobasha2004
11-17-2009, 04:21 PM
thanks
reserved
I think this can be done by just template edits ?

Coroner
11-17-2009, 05:24 PM
thanks
reserved
I think this can be done by just template edits ?

Yes, of course. But in vB 3.8 it isn't easy.

tafreeh
11-17-2009, 10:28 PM
Not in this version. I've planing another version especially for the vB4 that you can use the "new navbar menu" in a certain Mod. This means, I've creating menues for the forum, blog, cms or ....
Therefor I can try to implement a usergroupbit for it.

But ... this is future talk.

Thanks man, great work.. I will be waiting for the upgraded version ...

J226126F1A8D
11-19-2009, 03:14 AM
Thanks for your hard work. It is greatly appreciated. I will be installing this tomorrow night for sure. Thanks again.

Jason

AzzidReign
11-19-2009, 03:18 AM
I installed an older version of this...I believe it was for 3.6. This is a GREAT addon!

shadowedsoul
11-19-2009, 06:54 PM
thanks
reserved
I think this can be done by just template edits ?

Yeah it can be done with just template edits...I actually like the way Lynne came up with that uses a plugin since I can easily add some php code to test for usergroups then.

This is a really nice addon though :)

Veer
11-19-2009, 07:24 PM
Not in this version. I've planing another version especially for the vB4 that you can use the "new navbar menu" in a certain Mod. This means, I've creating menues for the forum, blog, cms or ....
Therefor I can try to implement a usergroupbit for it.

But ... this is future talk.
Sounds good, I will wait for that version :)

garretbyrne
11-19-2009, 10:16 PM
I'm sorry but I've installed the plugin but now what? How do I edit them or arrange them.. Sorry not the brightest lately, lol..

Cheers

Coroner
11-20-2009, 04:23 AM
See in:
AdminCP - vBulletinOptions - Dynamic Navbar
There you will find an example.

I finished the next version (include usergroup permissions and template hook). It will come in a few days.

halkum
11-20-2009, 08:33 PM
When is vbulletin going to do this internally.

THANK YOU!

The Coon
11-21-2009, 08:47 AM
I finished the next version (include usergroup permissions and template hook). It will come in a few days.

Great! Thx in advance!

Veer
11-21-2009, 10:49 AM
See in:
AdminCP - vBulletinOptions - Dynamic Navbar
There you will find an example.

I finished the next version (include usergroup permissions and template hook). It will come in a few days.
Sounds good

LoveStream
11-22-2009, 02:46 PM
감사합니다. Thank you. I added it too. :)

SuperGLS
11-29-2009, 03:45 PM
Great mod. Can't wait to test it out once vB4 is gold. Thanks!

franzis
11-29-2009, 09:04 PM
Hello Coroner,

what makes the new version, especially the possibility of new data template hook?

Do you also have a German Spachpaket?

LG Franzis

Coroner
11-30-2009, 04:09 AM
With the "template_hook" you can say, that this links (or menu) is especially for the blog, ...., .... or ... or ... or. If you leave it blank, it's always for the forum (navbar_start / navbar_end).

Do you need a translation ?

The Coon
11-30-2009, 09:33 AM
At first thank you! ;)

Could you please post an example with usergroup permissions?
I tried this and it does not work:

9|0|7|3|misc.php?do=page&template=Wohnorte|Wohnorte|0|0|2,6

( 2 = Registered Users; 6 = Administrators )

The links are visible (and working) always.

Another Question:
Is it possible, to embed the function (target="_blank") in the future?

THX! Great Addon and nominated! :)

Coroner
11-30-2009, 12:03 PM
This is an extended example of the installed "test" LINK (line one).

For usergroups: 4 & 5
1|0|0|1|test.php|Test 1|1|0|0|4,5|
For all usergroups:
1|0|0|1|test.php|Test 1|1|0|0||
or
1|0|0|1|test.php|Test 1|1|0|0

embeding (target="_blank"):
Yes, no problem.

franzis
11-30-2009, 01:28 PM
With the "template_hook" you can say, that this links (or menu) is especially for the blog, ...., .... or ... or ... or. If you leave it blank, it's always for the forum (navbar_start / navbar_end).

Do you need a translation ?

Ja, please, perhaps at http://www.vbulletin-germany.org would certainly welcome a lot.

And thanks for the explanation because of the hooks, I have understood it.

nominated!

LG Franzis

Coroner
11-30-2009, 01:55 PM
Original:
<phrase name="setting_dynamic_navbar_desc" date="" username="Coroner"><![CDATA[
Enter a link in each line: <b>ID|DHTML|Sub|Sort|URL|Name|Side|Phrase|Usergroupid s|Hook</b><br /><ul>
<li>ID: INT this ID must be unique</li>
<li>DHTML: INT 0 = normal / 1 = is DHTML</li>
<li>Sub: STR (ID) this means when it's a DHTML menue, the ID is the ID of the main link</li>
<li>Sort: INT a unique number inside each menu</li>
<li>URL: STR the link within</li>
<li>Name: STR name of the link</li>
<li>Side: INT 0 = left / 1 = right</li>
<li>Phrase: INT 0 = Text / 1 = Phrase</li>
<li>Usergroup: STR seperate primary Usergroupids by comma (leave blank for all)</li>
<li>Hook: STR </li>
</ul>]]></phrase>

Translated in german:
<phrase name="setting_dynamic_navbar_desc" date="" username="Coroner"><![CDATA[
Gebe einen Link pro Zeile ein: <b>ID|DHTML|Sub|Sort|URL|Name|Side|Phrase|Usergroupid s|Hook</b><br /><ul>
<li>ID: INT diese ID muss einmalig sein</li>
<li>DHTML: INT 0 = normal / 1 = ist DHTML</li>
<li>Sub: STR (ID) gemeint ist: wenn es ein DHTML Men? ist, dann ist die ID die ID von dem Ursprung Link</li>
<li>Sort: INT eine einmalige Nummer innerhalb des Men?</li>
<li>URL: STR der Link selber</li>
<li>Name: STR Name des Links</li>
<li>Side: INT 0 = links / 1 = rechts</li>
<li>Phrase: INT 0 = Text / 1 = Phrase</li>
<li>Usergroup: STR trenne die prim?ren Benutzergruppen mit einem Komma (leer lassen f?r alle)</li>
<li>Hook: STR der Hook der benutzt werden soll (navbar_start/navbar_end ist Standard</li>
</ul>]]></phrase>

The Coon
11-30-2009, 02:33 PM
Okay, I got it now! :rolleyes: Works fine!



embeding (target="_blank"):
Yes, no problem.

:up: So it will become one of my Essentials, I guess!
Great!

LoveStream
11-30-2009, 03:22 PM
With the "template_hook" you can say, that this links (or menu) is especially for the blog, ...., .... or ... or ... or. If you leave it blank, it's always for the forum (navbar_start / navbar_end).

Do you need a translation ?

Thank you for update.

Do you mean that if template_hook STR were define, this would be show on the Navtab?

Will you show the example of template_hook?

:)

franzis
11-30-2009, 04:33 PM
Thank you Coroner, works beautifully.

Do you want the finished German file?

LG Franzis

Coroner
11-30-2009, 06:58 PM
Thank you Coroner, works beautifully.

Do you want the finished German file?

LG Franzis

No, not really *smile* It's only in the AdminCP and my it's english

Coroner
11-30-2009, 07:08 PM
Thank you for update.

Do you mean that if template_hook STR were define, this would be show on the Navtab?

Will you show the example of template_hook?

:)

Ok - same example as before.

orginal (template_hook = navbar_end):
1|0|0|1|test.php|Test 1|1|0|0
with template_hook:
1|0|0|1|test.php|Test 1|1|0|0||vbcms_navbar_start
For CMS you have to change the hook_location to: global_bootstrap_init_complete

And remember: This function is in beta stage.

LoveStream
12-01-2009, 04:45 AM
Ok - same example as before.

orginal (template_hook = navbar_end):
1|0|0|1|test.php|Test 1|1|0|0
with template_hook:
1|0|0|1|test.php|Test 1|1|0|0||vbcms_navbar_start
For CMS you have to change the hook_location to: global_bootstrap_init_complete

And remember: This function is in beta stage.

Well, however under vbcms_navbar_start with global_bootstrap_init_complete, the alignment to where side is not effected.

I hope this menu product could be cover up the Nav Tab Menu System with it's subordinate template. Excellent! ;)

Coroner
12-01-2009, 11:21 AM
Well, however under vbcms_navbar_start with global_bootstrap_init_complete, the alignment to where side is not effected.

See the 1st post.
Some words again:
If you are using a template_hook, the side isn't in use. If you leave the template_hook blank, default hook is "navbar_start" or "navbar_end" depended on the "side". Hook's are in Beta Stage. Normaly, it won't work with CMS.
If you really need it, change the Hook Location from "global_setup_complete" to "global_bootstrap_init_complete". Remember: With this location you can't use phrases.

franzis
12-03-2009, 08:27 AM
Hello Coroner,

I have a problem, according to my settings I see 2 identical links;)
I use this code:
1|0|0|1|arcade.php|Spielhalle|1|0|0 (or 1|0|0|1|arcade.php|Spielhalle|1|0)
6|0|0|1|forumdisplay.php?f=142|LdG|1|0|0
2|1|0|1||SHG's|1|0|0
3|0|2|2|forumdisplay.php?f=13|SHG-Sucht|1|0|0
4|0|2|3|forumdisplay.php?f=12|SHG-DeBoSvv|1|0|0
5|0|2|4|forumdisplay.php?f=120|SHG-MB|1|0|0

And then comes:
107114

What is wrong?

LG Franzis

Coroner
12-03-2009, 11:16 AM
1|0|0|1|arcade.php|Spielhalle|1|0|0 (or 1|0|0|1|arcade.php|Spielhalle|1|0)

Have you tried:
1|0|0|1|arcade.php|Spielhalle|1|0|0
I don't know, why you insert or 1|0|0|1|arcade.php|Spielhalle|1|0) ? But I think, that's a mistake by copying.

MertTurk
12-03-2009, 12:27 PM
god

Coroner
12-03-2009, 12:31 PM
I've tested you're 1st example and ... yes, you're right. I've got 2 "spielhalle" links.

Try this one:
1|0|0|1|arcade.php|Spielhalle|1|0|0
2|1|0|1||SHG's|1|0|0
3|0|2|2|forumdisplay.php?f=13|SHG-Sucht|1|0|0
4|0|2|3|forumdisplay.php?f=12|SHG-DeBoSvv|1|0|0
5|0|2|4|forumdisplay.php?f=120|SHG-MB|1|0|0
6|0|0|1|forumdisplay.php?f=142|LdG|1|0|0

franzis
12-03-2009, 12:46 PM
Oh yes, I had tried, then it looks like this:
107121

Excuse me, that I'm doing because of stress;)
I also put up vBH-Add new tabs (https://vborg.vbsupport.ru/showthread.php?t=228507), which can not make other problems?

LG Franzis

Coroner
12-03-2009, 02:22 PM
Crap .... that's my fault.
I've fixed it now. Simply overwrite the PHP file.

What have I done ?
search for:
$dynamic_html = '';
$dynav_hook = array ();

if (!empty ($navigation))
{
foreach ($navigation AS $val)
{
$ismenue = 0;
$hook = 'empty';
foreach ($val AS $key => $navmenue)

and change into:
$dynav_hook = array ();

if (!empty ($navigation))
{
foreach ($navigation AS $val)
{
$ismenue = 0;
$hook = 'empty';
$dynamic_html = '';
foreach ($val AS $key => $navmenue)

The Coon
12-03-2009, 07:00 PM
Sorry, I am confused or simply silly:

There are 10 parameters, or am I wrong? :confused:

107133

Why do I have to write the numbers for the usergroups at the 10th position?

And this (beginning ID2-8):


1|1|0|1||Intern|1|0|0|2,6|
2|0|1|2|misc.php?do=page&template=Cats|Cats|1|0|0|2,6|
3|0|1|3|misc.php?do=page&template=Wohnorte|Wohnorte|1|0|0|2,6|
4|0|1|4||Tutorials|1|0|0|2,6|
5|0|1|5|http://www.coon-blog.de/Tutorials/Bilder_hochladen.html|Bilder hochladen|1|0|0|2,6|
6|0|1|6|http://www.coon-blog.de/Tutorials/Link_einfuegen.html|Link einf?gen|1|0|0|2,6|
7|0|1|7||SUB TEST|1|0|0|2,6|
8|0|1|8|ccc.php|CCC|1|0|0|2,6|


is not working no more since your correction in the php-file, I think. Is that possible?

Greetings!

Coroner
12-04-2009, 04:28 AM
Yes you're wrong. There're eleven parameters.

Position 8 is a break and isn't in use

franzis
12-04-2009, 12:27 PM
Many thanks Coroner, problem is fixed and can now go right off:)

Und ich hoffe du bietest das bald auch im deutschen vB an ;)

LG Franzis

Coroner
12-04-2009, 02:43 PM
Und ich hoffe du bietest das bald auch im deutschen vB an ;)
Sorry, too many differences between the admins and me. That's why all my mod are gone there.

cheers

Welshy2008
12-05-2009, 03:40 PM
Very Nice - Thanks.

Beller
12-05-2009, 06:21 PM
Nice one thanks.
Working fine on Beta 5

anthony parsons
12-16-2009, 08:37 PM
Doesn't work in RC4... got the following error:

Warning: require_once([path]/includes/dynamic_navbar.php) [function.require-once]: failed to open stream: No such file or directory in [path]/packages/vbcms/controller/content.php(272) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/****/*****/public_html/****/includes/dynamic_navbar.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****/public_html/*****/packages/vbcms/controller/content.php(272) : eval()'d code on line 1

Trek
12-16-2009, 09:58 PM
Tagged, I'll be using this for sure shortly!

Coroner
12-17-2009, 11:18 AM
Doesn't work in RC4... got the following error:

Warning: require_once([path]/includes/dynamic_navbar.php) [function.require-once]: failed to open stream: No such file or directory in [path]/packages/vbcms/controller/content.php(272) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/****/*****/public_html/****/includes/dynamic_navbar.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****/public_html/*****/packages/vbcms/controller/content.php(272) : eval()'d code on line 1

You will get those message in all versions (Beta 3,4,5 RC1,2,3,4), cause you haven't uploaded the file dynamic_navbar.php

steven s
12-21-2009, 02:16 PM
I would like to use this on my CMS and forum.

"If you really need it, change the Hook Location from "global_setup_complete" to "global_bootstrap_init_complete". Remember: With this location you can't use phrases."

I changed the hook to global_bootstrap_init_complete.
Do I need to do anything else?

Coroner
12-21-2009, 04:35 PM
Nope. But if you are using phrases, change it to text before.

Antyrael
12-23-2009, 03:32 PM
First of all, thanks for making this cool mod available.

Second, I have a question about adding a DHTML link, or a link with a submenu.
I would like to click the Installed link here, but if there's no dynamic menu, I can't use this :/

This is the content of my Dynamic Navbar settings:

1|0|1|1|misc.php?do=page&template=php_raider|PHP Raider|1|0||
2|1|0|1|DKP|DKP|1|0|| (I also tried 2|1|0|1|DKP|1|0|| and 2|1|0|1|DKP|1|0)
3|0|2|1|misc.php?do=page&template=dkp_icc|Icecrown Citadel|1|0||
4|0|2|2|misc.php?do=page&template=dkp_tier95|Crusader's Coliseum Heroic (Tier 9.5)|1|0||
5|0|2|3|misc.php?do=page&template=dkp_tier9|Crusader's Coliseum (Tier 9)|1|0||


But, there is no DKP button or link and all the 4 actual links just show directly on the navbar.

Am I doing something wrong here?

Coroner
12-23-2009, 04:28 PM
Try this here:
1|0|0|1|misc.php?do=page&template=php_raider |PHP Raider|1|0||
2|1|0|1||DKP|1|0||
3|0|2|2|misc.php?do=page&template=dkp_icc|Icecrown Citadel|1|0||
4|0|2|3|misc.php?do=page&template=dkp_tier95|Crusader's Coliseum Heroic (Tier 9.5)|1|0||
5|0|2|4|misc.php?do=page&template=dkp_tier9|Crusader's Coliseum (Tier 9)|1|0||

Antyrael
12-23-2009, 04:51 PM
Yes!!! Thank you! That did the trick, now I am completely in love with this addon :D

*installed*


Edit:"hmmm, now I added usergroup ID's, seperated by comma's, but even when I'm not logged in I can see the new links :(
(I put the ID's between the 2 || at the end of the lines)

Edit 2: nvm, I got it to work, but I don't understand why there are 3 0 or 1 positions after the text/phrase.
The explanation to the left says ... | Name | Side | Phrase | usergroup(s), while in fact I had to make it ... | Name | Side | Phrase | here's the extra 0 | usergroup(s), like this:
1|0|0|1|misc.php?do=page&template=php_raider |PHP Raider|1|0|0|2,5,6,7,10,13,15,16,17,20|
2|1|0|1||DKP|1|0|0|2,5,6,7,10,13,15,16,17,20|
3|0|2|2|misc.php?do=page&template=dkp_icc|Icecrown Citadel|1|0||
4|0|2|3|misc.php?do=page&template=dkp_tier95|Crusader's Coliseum Heroic|1|0||
5|0|2|4|misc.php?do=page&template=dkp_tier9|Crusader's Coliseum|1|0||
(Yeah, I have a lot of groups :P)

I'm not complaining, I'm very happy I don't have to edit the navbar template anymore, I'm just curious where the extra 0 comes from :)

Coroner
12-23-2009, 06:54 PM
I'll check it after xmas - ok ?

Coroner
12-24-2009, 09:24 AM
Ok, I've checked it today morning and it was working with the permissions.

The "extra 0":
I forgott to rewrite the Admintext:
This 0 is for the target link! 0 means target="_self" and 1 is target="_blank"

Jaffery
12-24-2009, 02:16 PM
How I can add link to all category automatically in one such drop down list ?

hcmagix
01-02-2010, 10:18 AM
Yes!!! Thank you! That did the trick, now I am completely in love with this addon :D

*installed*


Edit:"hmmm, now I added usergroup ID's, seperated by comma's, but even when I'm not logged in I can see the new links :(
(I put the ID's between the 2 || at the end of the lines)

Edit 2: nvm, I got it to work, but I don't understand why there are 3 0 or 1 positions after the text/phrase.
The explanation to the left says ... | Name | Side | Phrase | usergroup(s), while in fact I had to make it ... | Name | Side | Phrase | here's the extra 0 | usergroup(s), like this:
1|0|0|1|misc.php?do=page&template=php_raider |PHP Raider|1|0|0|2,5,6,7,10,13,15,16,17,20|
2|1|0|1||DKP|1|0|0|2,5,6,7,10,13,15,16,17,20|
3|0|2|2|misc.php?do=page&template=dkp_icc|Icecrown Citadel|1|0||
4|0|2|3|misc.php?do=page&template=dkp_tier95|Crusader's Coliseum Heroic|1|0||
5|0|2|4|misc.php?do=page&template=dkp_tier9|Crusader's Coliseum|1|0||
(Yeah, I have a lot of groups :P)

I'm not complaining, I'm very happy I don't have to edit the navbar template anymore, I'm just curious where the extra 0 comes from :)


I have the same problem.

Coroner
01-02-2010, 10:25 AM
Which problem ? Usergroup Access ?

Boots
01-02-2010, 04:30 PM
yeah it doesn't seem to care about the usergroup id's ... unregistered users can still see the menu.

Boots
01-02-2010, 04:48 PM
From your code:


$id = intval ($dynamic_line[0]);
$dhtml = intval ($dynamic_line[1]);
$sub = intval ($dynamic_line[2]);
$sort = intval ($dynamic_line[3]);
$url = $dynamic_line[4];
$name = $dynamic_line[5];
$side = intval ($dynamic_line[6]);
$phras = intval ($dynamic_line[7]);
$break = intval ($dynamic_line[8]);
$usergroups = $dynamic_line[9];
$hook = $dynamic_line[10];


Whatever $break is, it's throwing off the index of the array. $usergroups is actually at position 8 according to your documentation:


0 ID: INT this ID must be unique
1 DHTML: INT 0 = normal / 1 = is DHTML
2 Sub: STR (ID) this means when it's a DHTML menue, the ID is the ID of the main link
3 Sort: INT a unique number inside each menu
4 URL: STR the link within
5 Name: STR name of the link
6 Side: INT 0 = left / 1 = right
7 Phrase: INT 0 = Text / 1 = Phrase
8 Usergroup: STR seperate primary Usergroupids by comma (leave blank for all)
9 Hook: STR

Sworm
01-02-2010, 06:40 PM
Can i ask a question to the author or to any user of this hack?

I would know if, after creating a new tab , if clicked, the new tab, will be blank?

markopete
01-03-2010, 10:32 PM
Hi, I am new to VBulletin, I have installed the addon successfully but have no idea how to edit the menu, for example modify the test links.

Any pointers as to where I can find information to accomplish this would be much appreciated.

Pete

Coroner
01-04-2010, 10:29 AM
@Boots:
I don't know, why there is the value $break. I saw that it was "an older" php script. The $break value is $target. But ... I've upgraded the version to PL1.

@markopete:
In your AdminCP - vBulletin Settings. Scroll down to Dynamic Navbar.

way2xtreme
01-05-2010, 08:25 AM
Normaly, it won't work with CMS.
If you really need it, change the Hook Location from "global_setup_complete" to "global_bootstrap_init_complete". Remember: With this location you can't use phrases.

I tried above but it didn't show, where / what should I check? (the links are showing in forum and i am not using any phrases )

Excellent mod!

texasteamplayer
01-15-2010, 08:31 PM
why isn't there a navbar (and for that matter, a standard menu/button/link editor) for vB, for all the navbars and menu's?

can this be converted into a mode admin-able GUI, where it's simply a matter of clicking "Add a link to the navbar", "add a sub category if this navbar". "add a drop down to this link"?

Then....this becomes a mandatory mod.

BobbeeV
02-04-2010, 01:32 AM
I tried the following code in navbar in VB4 and it is not working. Will this mod fix that?

<!-- second nav button row -->
<div align="center"><table class="tborder" cellpadding="2"cellspacing="3"border=0" width="90%" align="center" style="border-top-width:0px">
<tr>
<if condition="is_member_of($vbulletin->userinfo, 11)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/MP3/Audio2/Audio2Phunt.html">Audio Resources for Purpose Hunters</a></td></if>
<if condition="is_member_of($vbulletin->userinfo, 11)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/PDF/User2PHunter.html">File Resources for Purpose Hunters </a></td></if>

<if condition="is_member_of($vbulletin->userinfo, 13)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/MP3/Audio3/Audio3trainedc.html">Audio Resources for Trained Coaches</a></td></if>
<if condition="is_member_of($vbulletin->userinfo, 13)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/PDF/User3Trained.html">File Resources for Trained Coaches </a></td></if>
</tr>
<tr>
<if condition="is_member_of($vbulletin->userinfo, 12, 10, 9, 6)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/MP3/Audio4/Audio4Certs.html">Audio Resources for Certified Coaches</a></td></if>
<if condition="is_member_of($vbulletin->userinfo, 12, 10, 9, 6)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/PDF/User4Certifying.html">File Resources for Certified Coaches </a></td></if>
<if condition="is_member_of($vbulletin->userinfo, 1, 4, 2, 3, 5, 7)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/MP3/Audio1/Audio1.html">Audio Resources</a></td></if>
<if condition="is_member_of($vbulletin->userinfo, 1, 2)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/PDF/User1.html">File Resources</a></td></if>
<if condition="is_member_of($vbulletin->userinfo, 4, 3, 5, 7)"><td class="vbmenu_control"><a href="http://www.purposefulcoach.com/PDF/User0Visitor.html">File Resources</a></td></if></tr>
</div>
<!-- / second nav button row -->

Coroner
02-04-2010, 04:30 PM
try it ....

BobbeeV
02-10-2010, 12:21 PM
I would...if I could figure it out. Still trying

TimberFloorAu
02-19-2010, 04:54 AM
Absolutely GOLD mate, thanks !

Installed like a dream

ChopSuey
03-02-2010, 10:55 AM
So this work with 4.0.2? Im thinking of adding a forum jump with this.

e36freak
03-07-2010, 08:55 PM
Would it be possible to get an example when using the target blank, the extra 0 or 1?

e36freak
03-21-2010, 12:16 PM
bump it!

ahmedipa
06-28-2010, 06:04 AM
nice very nice thank you so much

compact123
07-21-2010, 09:26 PM
wow so usufull thanks :D

onehost
08-13-2010, 04:23 AM
Is there a navbar mod that will completely replace the current navbar
with the custom navbar, this one only seems to add to the
current navbar, I want to replace the whole navbar not
add to whats already there.

Thanks

tocheli
08-27-2010, 07:12 AM
on my navbar i have 4 default tabs: HOME, FORUM, GALLERY
can i add with this mod subenues ony below FORUM tab or also below HOME etc. ?
tx!

Bulent Tekcan
03-08-2012, 07:23 PM
Hello

I need this DHTML Menu , what is the codes for that ?

Main Link
Sub Link1
Sub Link2
Sub Link3
Sub Link4
Sub Link4

brishi
03-14-2012, 08:05 PM
Will this work in vB 4.1.11 and if so can the links be made to open in another window as in _blank?

gremrock
06-08-2012, 11:24 PM
Brilliant add-on and the update makes it even better. Thanks