vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Create a New Tab in the navbar (https://vborg.vbsupport.ru/showthread.php?t=226914)

cjwinternet 07-06-2012 08:37 PM

Look at this mess, just to add a bit of navigation.

Lynne 07-06-2012 08:54 PM

Quote:

Originally Posted by cjwinternet (Post 2345616)
Look at this mess, just to add a bit of navigation.

Actually, all of this is unnecessary in vB4.2 (as I state in the first post) because there is now the Navigation Manager.

firebrand media 01-18-2013 08:14 PM

I'm using the plugin method to add tabs to specific forums. I would like to apply the SELECTED class when displaying that class, but I'm not sure what criteria to use. Isn't THIS_SCRIPT always going to forum for those pages?
We're sticking with 4.1 since we've got a lot of modifications to the navigation and we will have to rebuild for 4.2.
With any luck, we can skip 4.2 and go straight to 5 when it's stable. :)

Lynne 01-18-2013 10:12 PM

Quote:

Originally Posted by firebrand media (Post 2397772)
I'm using the plugin method to add tabs to specific forums. I would like to apply the SELECTED class when displaying that class, but I'm not sure what criteria to use. Isn't THIS_SCRIPT always going to forum for those pages?
)

For forums, you can probably use $GLOBALS['forumid'] in the condition.

layyous 02-02-2013 01:59 PM

is there a way to create a tab (that stays in the same forum) just so that it can be used for navigation purposes to links, the reason for this is because i have static pages on the same domain and i don't want to add all the links to them under the forum tab,( by creating a sub menu) instead i want the tabs to act like sub menu's

to elaborate more, i tried creating a tab, (lets call it my links). and in this tab i want a sub menu with links to pointed pages lets say a link is pointing to mydomain.com/mypage.htm

the problem i have here is when i create a tab and have it pointing to (nothing) and click on it the page gets redirected to forum tab again... i dont want this to happen i want the tab to act like a navagation menu while at the same time staying in the forum... and all the sub menus and links show up under this tab

cellarius 02-02-2013 02:37 PM

This article is about PROFILE tabs, not navigation tabs.

Lynne 02-02-2013 03:57 PM

Quote:

Originally Posted by layyous (Post 2401311)
is there a way to create a tab (that stays in the same forum) just so that it can be used for navigation purposes to links, the reason for this is because i have static pages on the same domain and i don't want to add all the links to them under the forum tab,( by creating a sub menu) instead i want the tabs to act like sub menu's

to elaborate more, i tried creating a tab, (lets call it my links). and in this tab i want a sub menu with links to pointed pages lets say a link is pointing to mydomain.com/mypage.htm

the problem i have here is when i create a tab and have it pointing to (nothing) and click on it the page gets redirected to forum tab again... i dont want this to happen i want the tab to act like a navagation menu while at the same time staying in the forum... and all the sub menus and links show up under this tab

I'm sure there is a way to do what you want, but this is not an article about doing it that way. You would need to play with the plugin code and modify it to get what you want.

cellarius 02-03-2013 08:03 AM

Quote:

Originally Posted by cellarius (Post 2401320)
This article is about PROFILE tabs, not navigation tabs.

OK, now I'm the idiot :) Why exactly was I absolutely sure I was in my profile tab article? :D

Sorry ;)

layyous 02-03-2013 10:35 AM

Quote:

Originally Posted by Lynne (Post 2401349)
I'm sure there is a way to do what you want, but this is not an article about doing it that way. You would need to play with the plugin code and modify it to get what you want.

Thank you

Omegatron 03-13-2013 01:09 AM

Quick question. I know the userinfo and options variables are present and usuable in the link portion of the navigation manager and can define other variables there.

Is there a way define a dynamic variable that can be used in the title portion of the vb navigation manager.

I am assuming I will have to ditch the straight xml navigation links I do now and use this method of it being in a plugin.


All times are GMT. The time now is 07:32 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.01541 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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