vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Dynamic Navbarlinks (https://vborg.vbsupport.ru/showthread.php?t=228166)

franzis 12-03-2009 12:46 PM

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

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:
Code:

        $dynamic_html = '';
        $dynav_hook = array ();

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

and change into:
Code:

        $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

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|
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

Quote:

Originally Posted by franzis (Post 1925210)
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!


All times are GMT. The time now is 10:37 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
  • Page Generation 0.01059 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete