vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   vB4.2 Navigation Manager - how to discussion (https://vborg.vbsupport.ru/showthread.php?t=283146)

nhawk 05-23-2012 01:19 PM

Quote:

Originally Posted by Paul M (Post 2331863)
They will not, the upgrade process does not remove any tabs/menus/links belonging to the core 'vbulletin' product.

Hmm... but it will for other products? Odd that's not considered a bug.

But, I'm not the one who classifies these things. :D

Paul M 05-23-2012 02:15 PM

Not odd at all - the core isnt an add-on, other products are.

Paul M 05-23-2012 05:48 PM

A few points involving 4.2.1

Dont use the navbar_after_links or navbar_after_sublinks template hooks.
They were supposed to have been removed, and will probably go in 4.2.1.

These two hooks are likely to disappear as well - collapse_navigation_state, expand_navigation_state

The reason they existed was because the bit definitions for the state field were not defined in the vb bitfield file (long story), so the hooks were there to cope with any custom ones. However, another change due in 4.2.1 is to convert the state field to use bitfields defined in the vb bitfield file, so it will not be necessary to use any hooks to add to them.

Also, 4.2.1 should see all the Nav Man functions moved out of functions.php into their own file, making it easier to find, update or replace them in the future.

Boofo 05-23-2012 05:54 PM

Quote:

Originally Posted by Paul M (Post 2332012)
A few points involving 4.2.1

Dont use the navbar_after_links or navbar_after_sublinks template hooks.
They were supposed to have been removed, and will probably go in 4.2.1.

These two hooks are likely to disappear as well - collapse_navigation_state, expand_navigation_state

The reason they existed was because the bit definitions for the state field were not defined in the vb bitfield file (long story), so the hooks were there to cope with any custom ones. However, another change due in 4.2.1 is to convert the state field to use bitfields defined in the vb bitfield file, so it will not be necessary to use any hooks to add to them.

Also, 4.2.1 should see all the Nav Man functions moved out of functions.php into their own file, making it easier to find, update or replace them in the future.


What hooks do we use then if we want to add our own sublinb menu? I have one that uses the vb:each to get the post days for searching and I can't use the navigation manager to add that sub-menu.

BirdOPrey5 05-23-2012 05:57 PM

For those who may be looking on just how to change the default page off of the Activity Stream and back to the CMS or Forum check out this thread: https://www.vbulletin.com/forum/show...t-Tab-in-4-2-0

odln018 05-23-2012 06:06 PM

I'm wanting to create a tab called "Special Access", with sub-links that will go to my library, jukebox, etc. There is not any base page to associate it with. It's just a tab with the sublinks. How the heck do I do this?

Lynne indicated I " will require a plugin to define that tab as active.:

Could someone please assist with this?

BirdOPrey5 05-23-2012 06:44 PM

If there's no page what page will show when someone clicks on it?

odln018 05-23-2012 07:00 PM

That's just where I'm messed up, I don't know what kind of page I can make or place there.

Something tells me I'm not going to be able to do this.

Paul M 05-23-2012 07:05 PM

Its perfectly possible to have a tab with no target url defined, so its just to present a set of links.

However, bear in mind that no link will mean the system redirects you to your site default, so you may want to direct it (the tab) to something like forum.php.

nhawk 05-23-2012 07:10 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2332039)
If there's no page what page will show when someone clicks on it?

I've enabled the bug report forms for registered users on my site. Go there and click on the navtab. You'll get a dropdown menu. I think that's what he's talking about.

Quote:

Originally Posted by Paul M (Post 2332048)
Its perfectly possible to have a tab with no target url defined, so its just to present a set of links.

If a dropdown menu with links is what you're talking about.. Please do tell how?

I've tried everything I can think of with the navigation manager with no success.


All times are GMT. The time now is 11:50 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.01257 seconds
  • Memory Usage 1,739KB
  • 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_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