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)

Boofo 08-16-2010 06:05 AM

That is how it is supposed to work. When I go to private messages, my Forum tab is selected. Or am I missing what you are wanting to do?

pedrossi 08-16-2010 06:21 AM

Yeah, I want the new tab to be selected when I go to private messages, rather than the Forum tab. Sorry if I wasn't clear before.

cellarius 08-16-2010 06:38 AM

Quote:

Originally Posted by pedrossi (Post 2084632)
Yeah, I want the new tab to be selected when I go to private messages, rather than the Forum tab..

Change in your code:
PHP Code:

if (THIS_SCRIPT == 'member'

to
PHP Code:

if (THIS_SCRIPT == 'member' OR THIS_SCRIPT == 'private'


pedrossi 08-16-2010 03:56 PM

Wow, so simple. That did it! I thought there would be a conflict, but I guess not?

Anyway, many thanks :)

Boofo 08-16-2010 04:34 PM

Quote:

Originally Posted by cellarius (Post 2084635)
Change in your code:
PHP Code:

if (THIS_SCRIPT == 'member'

to
PHP Code:

if (THIS_SCRIPT == 'member' OR THIS_SCRIPT == 'private'


Whew! Thanks for bailing me out once again, sir. ;)

cellarius 08-16-2010 04:44 PM

Quote:

Originally Posted by Boofo (Post 2084829)
Whew! Thanks for bailing me out once again, sir. ;)

Anytime ;)

Boofo 08-16-2010 05:46 PM

I wasn't quite sure what he was wanting. Must have been the old age confusion creeping up on me. ;)

Boofo 08-18-2010 10:52 PM

I found an easy way to make any new tabs have the same links under it as the forum tab does. If anyone is interested in how to do that, contact me and I will show you. You will also be able to add links in between the other links just like in the forum tab.

nlwin 08-31-2010 09:46 PM

Is this plugin works in vBulletin 4.0.5? I tried it and it doesn't work for me. Any idea? :D

Lynne 09-01-2010 12:07 AM

Yes, it works in 4.0.5.


All times are GMT. The time now is 10:43 AM.

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.03843 seconds
  • Memory Usage 1,741KB
  • 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_php_printable
  • (3)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