vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - [DBTech] vBNavTabs (https://vborg.vbsupport.ru/showthread.php?t=274972)

DragonByte Tech 03-13-2012 09:15 PM

Yes what ever the THIS_SCRIPT value of the page you are linking to needs to be put in that field, or the tab will not highlight.

Chris

lewisforlife 03-13-2012 09:36 PM

I apologize, but I do not understand. How do I set the "THIS_SCRIPT" value of a page? I created the page with BF-Easy Pages and there is no setting for "THIS_SCRIPT". Is there some way for me to do this manually?

Sorry, I am a newbie.

lewisforlife 03-13-2012 09:41 PM

Nevermind, I was able to view the source of the page, and search for THIS_SCRIPT. I figured it out, it was pages.

Thanks.

DragonByte Tech 03-13-2012 10:21 PM

Glad you got it sorted out, let me know if you need anything else. :)

Chris

gajinoz 03-14-2012 01:48 AM

I do have one question ....

I'm trying to get a grip on the THIS_SCRIPT parameter. One of my new tabs links to a page, (well, a thread really), and from the source it tells me that the parameter value is "showthread".

However, another page (thread) I want to link to has the same value.

Possibly I'm being very dense here but if the same value is on both tabs, which one gets highlighted and when?

DragonByte Tech 03-14-2012 03:31 AM

If two tabs have the same THIS_SCRIPT value they will both be highlighted at the same time, so if you choose one they will both be highlighted. That is how vBulletin handles it.

What I would do in your situation in order to have the tab highlight when it is selected is in the field URL To Tab paste the full url to the thread, and instead of selecting THIS_SCRIPT select URL in the field URL To Tab.

This will highlight each tab as it is selected.

Chris

gajinoz 03-14-2012 05:46 AM

Quote:

Originally Posted by DragonByte Tech (Post 2309275)
If two tabs have the same THIS_SCRIPT value they will both be highlighted at the same time, so if you choose one they will both be highlighted. That is how vBulletin handles it.

What I would do in your situation in order to have the tab highlight when it is selected is in the field URL To Tab paste the full url to the thread, and instead of selecting THIS_SCRIPT select URL in the field URL To Tab.

This will highlight each tab as it is selected.

Chris


OK, great, I'll give that a go, thanks.

DragonByte Tech 03-15-2012 01:28 AM

Let me know if it works, it should if it is set up right.

Chris

AaronMiller 03-20-2012 01:27 PM

Hey Chris, nice mod. It looks great and seems pretty simple to use.

I am having a little problem with getting the tabs to highlight when they go to the page they are linked to. I created 2 pages off of the CMS which both use the same THIS_SCRIPT (vbcms) value, so I just used the url parameter tab mode (with full url) and left the this_script field blank. Whenever I go to these pages it still highlights the CMS page. Is there something I missed? I am running vb4.1.11. Thanks for your help.

DragonByte Tech 03-20-2012 04:05 PM

What is it you are linking to in the cms?

I created a tab, linking to article, for Tab Mode I choose URL, so when I clicked on that tab it took me to the article and highlighted the tab.

Chris


All times are GMT. The time now is 08:33 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.01416 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)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