vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Advanced Navbar Links (https://vborg.vbsupport.ru/showthread.php?t=120517)

Aros 09-05-2007 06:48 AM

Ouch.. You may want to take a look at the way you're using the template system - Right now you may aswell not use templates as you use PHP to output the HTML. This makes it really difficult to customize the hack.

Atsuko 09-05-2007 11:30 PM

Quote:

Originally Posted by Aros (Post 1332694)
Ouch.. You may want to take a look at the way you're using the template system - Right now you may aswell not use templates as you use PHP to output the HTML. This makes it really difficult to customize the hack.

Dear Aros,

Thank you , and would you teach how and where I should check and fix?

DiverTree 10-05-2007 06:18 PM

Quote:

Originally Posted by PimvanJ (Post 1325717)
global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox, $custom_singlelinks,

Quote:

Originally Posted by PimvanJ (Post 1192146)
global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox, $custom_droplinks;

one says to add $custom_singlelinks, and the other says to add $custom_droplinks in the functions.php ... but, neither one work by themselves or with each other to get the links to show up in my arcade. i love this hack so if anybody would mind helping me out on this it would be greatly appreciated. im running vb 3.6.8 with the ibproarcade 2.6.3. any ideas?

should the line end with a ";" or a ","?

i found out the hard way that it ends with a semicolon. :)

DiverTree 10-05-2007 07:28 PM

Quote:

Originally Posted by DiverTree (Post 1353592)
one says to add $custom_singlelinks, and the other says to add $custom_droplinks in the functions.php ... but, neither one work by themselves or with each other to get the links to show up in my arcade. i love this hack so if anybody would mind helping me out on this it would be greatly appreciated. im running vb 3.6.8 with the ibproarcade 2.6.3. any ideas?

should the line end with a ";" or a ","?

i found out the hard way that it ends with a semicolon. :)

if i add ...
Quote:

... $session, $show, $pmbox, $custom_singlelinks, $custom_droplinks;
at the end of line 1241 in the arcade functions.php file, the single links show up, but the dropdown links dont show up at all. could the arcade navbar just underneith the forums navbar be effecting it?

DiverTree 10-05-2007 08:18 PM

it took me a little while, but i got it. i added this to get all the links to work in the arcade ...

Quote:

$custom_droplinks_cat, $custom_droplinks, $custom_singlelinks;
thank you :) everything is working great.:cool:

ETDC 10-07-2007 08:37 PM

Working well with 3.6.8. Thanks.

? How do I move the position of my links/dropdowns along the navbar?

? The links are opening fine in a new window but they're quite large and 'square' in shape; how do I get the new window to follow existing dimensions for all users?

Great mod. :)

youradhere4222 10-28-2007 10:10 PM

I'm sorry... but where the hell are the controls for this? I've been looking all over the ACP.

StreetTriple 10-30-2007 02:38 PM

nice mod!
in the next release, can you add an option to select background color for the new link in navbar?

yotsume 10-30-2007 08:43 PM

Second Navbar For The Links

Is it possible to get this hack to make a second navbar on top of the breadcrumb box. So when you add menus and links they go in a second navbar and not the default.

How can I make a second navbar for this hack?

oatsy 11-25-2007 03:29 PM

Quote:

Originally Posted by youradhere4222 (Post 1370702)
I'm sorry... but where the hell are the controls for this? I've been looking all over the ACP.

In the left menu panel in AdminCP. 6 or 7 down, depending on what other hacks you might have. Under 'Forums & Moderators' for me.


All times are GMT. The time now is 09:08 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.01385 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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