![]() |
1 Attachment(s)
Oh yes, I had tried, then it looks like this:
Attachment 107121 Excuse me, that I'm doing because of stress;) I also put up vBH-Add new tabs, which can not make other problems? LG Franzis |
Crap .... that's my fault.
I've fixed it now. Simply overwrite the PHP file. What have I done ? search for: Code:
$dynamic_html = ''; Code:
$dynav_hook = array (); |
1 Attachment(s)
Sorry, I am confused or simply silly:
There are 10 parameters, or am I wrong? :confused: Attachment 107133 Why do I have to write the numbers for the usergroups at the 10th position? And this (beginning ID2-8): Code:
1|1|0|1||Intern|1|0|0|2,6| Greetings! |
Yes you're wrong. There're eleven parameters.
Position 8 is a break and isn't in use |
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 |
Quote:
cheers |
Very Nice - Thanks.
|
Nice one thanks.
Working fine on Beta 5 |
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 |
Tagged, I'll be using this for sure shortly!
|
Quote:
|
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? |
Nope. But if you are using phrases, change it to text before.
|
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|| Am I doing something wrong here? |
Try this here:
Code:
1|0|0|1|misc.php?do=page&template=php_raider |PHP Raider|1|0|| |
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: 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| 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'll check it after xmas - ok ?
|
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" |
How I can add link to all category automatically in one such drop down list ?
|
Quote:
I have the same problem. |
Which problem ? Usergroup Access ?
|
yeah it doesn't seem to care about the usergroup id's ... unregistered users can still see the menu.
|
From your code:
Code:
$id = intval ($dynamic_line[0]); Whatever $break is, it's throwing off the index of the array. $usergroups is actually at position 8 according to your documentation: Quote:
|
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? |
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 |
@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. |
Quote:
Excellent mod! |
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. |
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 --> |
try it ....
|
I would...if I could figure it out. Still trying
|
Absolutely GOLD mate, thanks !
Installed like a dream |
So this work with 4.0.2? Im thinking of adding a forum jump with this.
|
Would it be possible to get an example when using the target blank, the extra 0 or 1?
|
bump it!
|
nice very nice thank you so much
|
wow so usufull thanks :D
|
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 |
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! |
Hello
I need this DHTML Menu , what is the codes for that ? Code:
Main Link |
All times are GMT. The time now is 12:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|