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)

Veer 11-21-2009 10:49 AM

Quote:

Originally Posted by Coroner (Post 1917542)
See in:
AdminCP - vBulletinOptions - Dynamic Navbar
There you will find an example.

I finished the next version (include usergroup permissions and template hook). It will come in a few days.

Sounds good

LoveStream 11-22-2009 02:46 PM

감사합니다. Thank you. I added it too. :)

SuperGLS 11-29-2009 03:45 PM

Great mod. Can't wait to test it out once vB4 is gold. Thanks!

franzis 11-29-2009 09:04 PM

Hello Coroner,

what makes the new version, especially the possibility of new data template hook?

Do you also have a German Spachpaket?

LG Franzis

Coroner 11-30-2009 04:09 AM

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 ?

The Coon 11-30-2009 09:33 AM

At first thank you! ;)

Could you please post an example with usergroup permissions?
I tried this and it does not work:

9|0|7|3|misc.php?do=page&template=Wohnorte|Wohnort e|0|0|2,6

( 2 = Registered Users; 6 = Administrators )

The links are visible (and working) always.

Another Question:
Is it possible, to embed the function (target="_blank") in the future?

THX! Great Addon and nominated! :)

Coroner 11-30-2009 12:03 PM

This is an extended example of the installed "test" LINK (line one).

For usergroups: 4 & 5
PHP Code:

1|0|0|1|test.php|Test 1|1|0|0|4,5

For all usergroups:
PHP Code:

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

or
PHP Code:

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

embeding (target="_blank"):
Yes, no problem.

franzis 11-30-2009 01:28 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 ?

Ja, please, perhaps at http://www.vbulletin-germany.org would certainly welcome a lot.

And thanks for the explanation because of the hooks, I have understood it.

nominated!

LG Franzis

Coroner 11-30-2009 01:55 PM

Original:
Quote:

<phrase name="setting_dynamic_navbar_desc" date="" username="Coroner"><![CDATA[
Enter a link in each line: <b>ID|DHTML|Sub|Sort|URL|Name|Side|Phrase|Usergrou pids|Hook</b><br /><ul>
<li>ID: INT this ID must be unique</li>
<li>DHTML: INT 0 = normal / 1 = is DHTML</li>
<li>Sub: STR (ID) this means when it's a DHTML menue, the ID is the ID of the main link</li>
<li>Sort: INT a unique number inside each menu</li>
<li>URL: STR the link within</li>
<li>Name: STR name of the link</li>
<li>Side: INT 0 = left / 1 = right</li>
<li>Phrase: INT 0 = Text / 1 = Phrase</li>
<li>Usergroup: STR seperate primary Usergroupids by comma (leave blank for all)</li>
<li>Hook: STR </li>
</ul>]]></phrase>
Translated in german:
Quote:

<phrase name="setting_dynamic_navbar_desc" date="" username="Coroner"><![CDATA[
Gebe einen Link pro Zeile ein: <b>ID|DHTML|Sub|Sort|URL|Name|Side|Phrase|Usergrou pids|Hook</b><br /><ul>
<li>ID: INT diese ID muss einmalig sein</li>
<li>DHTML: INT 0 = normal / 1 = ist DHTML</li>
<li>Sub: STR (ID) gemeint ist: wenn es ein DHTML Men? ist, dann ist die ID die ID von dem Ursprung Link</li>
<li>Sort: INT eine einmalige Nummer innerhalb des Men?</li>
<li>URL: STR der Link selber</li>
<li>Name: STR Name des Links</li>
<li>Side: INT 0 = links / 1 = rechts</li>
<li>Phrase: INT 0 = Text / 1 = Phrase</li>
<li>Usergroup: STR trenne die prim?ren Benutzergruppen mit einem Komma (leer lassen f?r alle)</li>
<li>Hook: STR der Hook der benutzt werden soll (navbar_start/navbar_end ist Standard</li>
</ul>]]></phrase>

The Coon 11-30-2009 02:33 PM

Okay, I got it now! :rolleyes: Works fine!

Quote:

Originally Posted by Coroner (Post 1922994)

embeding (target="_blank"):
Yes, no problem.

:up: So it will become one of my Essentials, I guess!
Great!


All times are GMT. The time now is 06:06 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.01240 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (5)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