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)

LoveStream 11-30-2009 03:22 PM

Quote:

Originally Posted by Coroner (Post 1922883)
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 ?

Thank you for update.

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?

:)

franzis 11-30-2009 04:33 PM

Thank you Coroner, works beautifully.

Do you want the finished German file?

LG Franzis

Coroner 11-30-2009 06:58 PM

Quote:

Originally Posted by franzis (Post 1923101)
Thank you Coroner, works beautifully.

Do you want the finished German file?

LG Franzis

No, not really *smile* It's only in the AdminCP and my it's english

Coroner 11-30-2009 07:08 PM

Quote:

Originally Posted by LoveStream (Post 1923064)
Thank you for update.

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?

:)

Ok - same example as before.

orginal (template_hook = navbar_end):
PHP Code:

1|0|0|1|test.php|Test 1|1|0|

with template_hook:
PHP Code:

1|0|0|1|test.php|Test 1|1|0|0||vbcms_navbar_start 

For CMS you have to change the hook_location to: global_bootstrap_init_complete

And remember: This function is in beta stage.

LoveStream 12-01-2009 04:45 AM

Quote:

Originally Posted by Coroner (Post 1923175)
Ok - same example as before.

orginal (template_hook = navbar_end):
PHP Code:

1|0|0|1|test.php|Test 1|1|0|

with template_hook:
PHP Code:

1|0|0|1|test.php|Test 1|1|0|0||vbcms_navbar_start 

For CMS you have to change the hook_location to: global_bootstrap_init_complete

And remember: This function is in beta stage.

Well, however under vbcms_navbar_start with global_bootstrap_init_complete, the alignment to where side is not effected.

I hope this menu product could be cover up the Nav Tab Menu System with it's subordinate template. Excellent! ;)

Coroner 12-01-2009 11:21 AM

Quote:

Originally Posted by LoveStream (Post 1923357)
Well, however under vbcms_navbar_start with global_bootstrap_init_complete, the alignment to where side is not effected.

See the 1st post.
Quote:

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.

franzis 12-03-2009 08:27 AM

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)
6|0|0|1|forumdisplay.php?f=142|LdG|1|0|0
2|1|0|1||SHG's|1|0|0
3|0|2|2|forumdisplay.php?f=13|SHG-Sucht|1|0|0
4|0|2|3|forumdisplay.php?f=12|SHG-DeBoSvv|1|0|0
5|0|2|4|forumdisplay.php?f=120|SHG-MB|1|0|0

And then comes:
Attachment 107114

What is wrong?

LG Franzis

Coroner 12-03-2009 11:16 AM

Quote:

Originally Posted by franzis (Post 1924584)
Code:

1|0|0|1|arcade.php|Spielhalle|1|0|0 (or 1|0|0|1|arcade.php|Spielhalle|1|0)

Have you tried:
Code:

1|0|0|1|arcade.php|Spielhalle|1|0|0
I don't know, why you insert or 1|0|0|1|arcade.php|Spielhalle|1|0) ? But I think, that's a mistake by copying.

MertTurk 12-03-2009 12:27 PM

god

Coroner 12-03-2009 12:31 PM

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
2|1|0|1||SHG's|1|0|0
3|0|2|2|forumdisplay.php?f=13|SHG-Sucht|1|0|0
4|0|2|3|forumdisplay.php?f=12|SHG-DeBoSvv|1|0|0
5|0|2|4|forumdisplay.php?f=120|SHG-MB|1|0|0
6|0|0|1|forumdisplay.php?f=142|LdG|1|0|0



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.01399 seconds
  • Memory Usage 1,753KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (7)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