![]() |
Dynamic Navbarlinks
1 Attachment(s)
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. |
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. |
nice work
|
This looks interesting.
Tagging for later use :) |
thx 4 releasing:)
|
Possible to have it usergroup based? So that only a certain usergroup can see a certain link/dropdown?
|
Great work, thanks! :up:
|
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. |
Quote:
|
thanks
reserved I think this can be done by just template edits ? |
Quote:
|
Quote:
|
Thanks for your hard work. It is greatly appreciated. I will be installing this tomorrow night for sure. Thanks again.
Jason |
I installed an older version of this...I believe it was for 3.6. This is a GREAT addon!
|
Quote:
This is a really nice addon though :) |
Quote:
|
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 |
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. |
When is vbulletin going to do this internally.
THANK YOU! |
Quote:
|
Quote:
|
감사합니다. Thank you. I added it too. :)
|
Great mod. Can't wait to test it out once vB4 is gold. Thanks!
|
Hello Coroner,
what makes the new version, especially the possibility of new data template hook? Do you also have a German Spachpaket? LG Franzis |
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 ? |
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|Wohnort e|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! :) |
This is an extended example of the installed "test" LINK (line one).
For usergroups: 4 & 5 PHP Code:
PHP Code:
PHP Code:
Yes, no problem. |
Quote:
And thanks for the explanation because of the hooks, I have understood it. nominated! LG Franzis |
Original:
Quote:
Quote:
|
Okay, I got it now! :rolleyes: Works fine!
Quote:
Great! |
Quote:
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? :) |
Thank you Coroner, works beautifully.
Do you want the finished German file? LG Franzis |
Quote:
|
Quote:
orginal (template_hook = navbar_end): PHP Code:
PHP Code:
And remember: This function is in beta stage. |
Quote:
I hope this menu product could be cover up the Nav Tab Menu System with it's subordinate template. Excellent! ;) |
Quote:
Quote:
|
1 Attachment(s)
Hello Coroner,
I have a problem, according to my settings I see 2 identical links;) I use this code: Code:
1|0|0|1|arcade.php|Spielhalle|1|0|0 (or 1|0|0|1|arcade.php|Spielhalle|1|0) Attachment 107114 What is wrong? LG Franzis |
Quote:
Code:
1|0|0|1|arcade.php|Spielhalle|1|0|0 |
god
|
I've tested you're 1st example and ... yes, you're right. I've got 2 "spielhalle" links.
Try this one: Code:
1|0|0|1|arcade.php|Spielhalle|1|0|0 |
All times are GMT. The time now is 01:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|