vb.org Archive

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

Dr.LoVe 06-24-2009 11:29 PM

wooooooooow it's amazing but maybe it take long time to understand this Mod

i'll try

thank you

willy888 07-06-2009 09:52 PM

Excelled mod It works perfect
How can I make it appear in other style except the default ?

Coroner 07-07-2009 04:26 AM

This mod uses the template_hooks from the navbar.

willy888 07-07-2009 04:54 AM

What can I add to navbar template and where to make it appear to new style ?
Please more detail ?

Code:

A "good" navbar Template with the following 3 template_hooks:

  1. $template_hook[navbar_buttons_right]
  2. $template_hook[navbar_buttons_left]
  3. $ad_location[ad_navbar_below]

If one of these HOOKs missing, the links could not be shown.

How can I instert them in navbar ?

Coroner 07-07-2009 09:55 AM

Those are the default HOOKs in the template "navbar".

If you miss it, simply open the Template and insert the codes.

Example:
$ad_location[ad_navbar_below]
is the last entry in the template

Code:

                </if>
                $template_hook[navbar_buttons_right]
                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="login.php?

and
Code:

                </if>
                $template_hook[navbar_buttons_left]
                <td class="vbmenu_control"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>


applebeef 07-07-2009 11:51 PM

Hi coroner is it possible to sort the position of the links on the navbar?

Coroner 07-08-2009 04:50 AM

Not at the moment.

VonDoom 07-12-2009 05:44 AM

My navbar is in the header location. What do i have to change to get this to work with the navbar in the header? Ive been monkeeing around with the code but cant figure it out myself.

Thanks, this is a great hack weather or not it works for me..

Coroner 07-12-2009 09:54 AM

I think, you have to change the template_hooks or use you own (you have to change 'em in the product)

VonDoom 07-12-2009 10:41 PM

Can you give me an example of what im looking for in your product? As these three hooks are not referenced in the product at least not that i can see.

Either way this hack still rocks and works perfectly when your navbar is in the default template. this gets a 5 rating for sure.


All times are GMT. The time now is 02:25 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.01407 seconds
  • Memory Usage 1,731KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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