Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Dynamic Navbarlinks Details »»
Dynamic Navbarlinks
Version: 1.5 PL1, by Coroner Coroner is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.0 Rating:
Released: 11-16-2009 Last Update: 01-03-2010 Installs: 136
Uses Plugins
Additional Files  
No support by the author.

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

File Type: zip DynaimcNavbar v1.3 - vB4.zip (2.6 KB, 248 views)
File Type: zip DynaimcNavbar v1.5 - vB4.zip (3.2 KB, 246 views)
File Type: zip DynaimcNavbar v1.5 PL1 - vB4.zip (3.0 KB, 468 views)

Screenshots

File Type: png Bild 1.png (24.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 11-30-2009, 03:22 PM
LoveStream LoveStream is offline
 
Join Date: Jan 2009
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coroner View Post
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?

Reply With Quote
  #33  
Old 11-30-2009, 04:33 PM
franzis franzis is offline
 
Join Date: Aug 2007
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Coroner, works beautifully.

Do you want the finished German file?

LG Franzis
Reply With Quote
  #34  
Old 11-30-2009, 06:58 PM
Coroner Coroner is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 797
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by franzis View Post
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
Reply With Quote
  #35  
Old 11-30-2009, 07:08 PM
Coroner Coroner is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 797
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LoveStream View Post
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.
Reply With Quote
  #36  
Old 12-01-2009, 04:45 AM
LoveStream LoveStream is offline
 
Join Date: Jan 2009
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coroner View Post
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!
Reply With Quote
  #37  
Old 12-01-2009, 11:21 AM
Coroner Coroner is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 797
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LoveStream View Post
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.
Reply With Quote
  #38  
Old 12-03-2009, 08:27 AM
franzis franzis is offline
 
Join Date: Aug 2007
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #39  
Old 12-03-2009, 11:16 AM
Coroner Coroner is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 797
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by franzis View Post
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.
Reply With Quote
  #40  
Old 12-03-2009, 12:27 PM
MertTurk's Avatar
MertTurk MertTurk is offline
 
Join Date: Apr 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

god
Reply With Quote
  #41  
Old 12-03-2009, 12:31 PM
Coroner Coroner is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 797
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06071 seconds
  • Memory Usage 2,354KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (4)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete