![]() |
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 ? |
All times are GMT. The time now is 01:51 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:
|