The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Dynamic Navbarlinks Details »» | |||||||||||||||||||||||||||||||||
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. Download Now
Screenshots
Show Your Support
|
Comments |
#52
|
|||
|
|||
Quote:
|
#53
|
||||
|
||||
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? |
#54
|
|||
|
|||
Nope. But if you are using phrases, change it to text before.
|
#55
|
|||
|
|||
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: Code:
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|| Am I doing something wrong here? |
#56
|
|||
|
|||
Try this here:
Code:
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|| |
#57
|
|||
|
|||
Yes!!! Thank you! That did the trick, now I am completely in love with this addon
*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: Code:
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|| 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 |
#58
|
|||
|
|||
I'll check it after xmas - ok ?
|
#59
|
|||
|
|||
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" |
#60
|
|||
|
|||
How I can add link to all category automatically in one such drop down list ?
|
#61
|
|||
|
|||
Quote:
I have the same problem. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|