vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   New tab not staying selected (https://vborg.vbsupport.ru/showthread.php?t=283498)

Lynne 05-28-2012 05:03 PM

If it's a navtab, not a link/menu item, then you need to add something to the Tab Script(s) textarea to get it to stay (or do a plugin like I wrote). For the calendar, if you look at the top of that file, you'll see this:
HTML Code:

define('THIS_SCRIPT', 'calendar');
So, enter "calendar" (no quotes) into that field.

bosken 05-30-2012 02:26 PM

Ok, managed to solve almost all my tabs to stay highlighted except for this one:

An external app for links. harleyforum.se/links/index.php is the path.

If i put the word index in script field it messes up, obviously. What should I put there?

https://vborg.vbsupport.ru/external/2012/05/6.jpg

Lynne 05-30-2012 04:15 PM

Well, does the file have THIS_SCRIPT defined at the top of it?

bosken 05-30-2012 08:27 PM

Quote:

Originally Posted by Lynne (Post 2334744)
Well, does the file have THIS_SCRIPT defined at the top of it?

Yes Lynne! :D now i understand the whole thing. I was on my iPad so had limited options to view the file correctly. It said links_index Thank you!

--------------- Added [DATE]1338413625[/DATE] at [TIME]1338413625[/TIME] ---------------

However it does not work, first time I click the tab it works, but as soon I go back and click the forum, blog or article tab, it cant find that page, it points forum to mysite.se/links/forum, but should be mysite.se/forum only?

This is my forum tab, default, if it helps you.

https://vborg.vbsupport.ru/external/2012/05/5.jpg

Lynne 05-31-2012 01:10 AM

If your other tabs are not working, then there is another issue going on.

bosken 05-31-2012 07:29 AM

They are working fine UNTIL i put the links_index in script field for the links tab.

Lynne 05-31-2012 03:11 PM

Are you sure that is the correct thing to put there? And when you say they are not working fine, what about them isn't working? We need more detail in order to help.

djrichards 05-31-2012 10:59 PM

I have this same issue with a tab for my PhotoPost vBGallery. The only difference from other tabs is that the target URL is in a directory under public_html instead of being in the forum directory.

There are two issues.
  1. The tab works correctly the first time but when you click to any link on the gallery page, the tab highlight moves back to the Forum tab.
  2. After selecting the Gallery tab, clicking any other tab results in a 404 error because the path into the gallery directory is concatenated into the URL.

Lynne 06-01-2012 02:26 AM

We cannot help troubleshoot tab issues without seeing your settings.

NTMID8 06-01-2012 03:56 AM

I was using the Navbar Tabs Manager prior to v4.2.0 being released, so I understand all about the script names, etc.

I've removed that product so I can use the native Navigation Manager built into v4.2.0 but the problem I am having is that I cannot add all the script names needed for each tab because their is a limit of 30 characters on this field.

Is there a way to overcome this limitation?

For example, my Forum navtab lists the following tab scripts - index.online.private.search

This means that when viewing who's online, private messaging, viewing new posts, etc that the Forum tab stays highlighted and the links underneath remain visible. But when reading a thread (showthread) or viewing the forums (forumdisplay) the tab is no longer highlighted and therefore no link options remain making navigation less friendly.

I'd just like to make the tab scripts line read - index.online.private.search.showthread.forumdispla y - but I can't because for some reason this field was limited to 30 characters?


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

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.01145 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
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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