Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 05-28-2012, 05:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #12  
Old 05-30-2012, 02:26 PM
bosken bosken is offline
 
Join Date: Jan 2011
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?

Reply With Quote
  #13  
Old 05-30-2012, 04:15 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, does the file have THIS_SCRIPT defined at the top of it?
Reply With Quote
  #14  
Old 05-30-2012, 08:27 PM
bosken bosken is offline
 
Join Date: Jan 2011
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Well, does the file have THIS_SCRIPT defined at the top of it?
Yes Lynne! 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.

Reply With Quote
  #15  
Old 05-31-2012, 01:10 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If your other tabs are not working, then there is another issue going on.
Reply With Quote
  #16  
Old 05-31-2012, 07:29 AM
bosken bosken is offline
 
Join Date: Jan 2011
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They are working fine UNTIL i put the links_index in script field for the links tab.
Reply With Quote
  #17  
Old 05-31-2012, 03:11 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 05-31-2012, 10:59 PM
djrichards djrichards is offline
 
Join Date: Jul 2007
Location: Pascagoula, Mississippi
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #19  
Old 06-01-2012, 02:26 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We cannot help troubleshoot tab issues without seeing your settings.
Reply With Quote
  #20  
Old 06-01-2012, 03:56 AM
NTMID8 NTMID8 is offline
 
Join Date: Feb 2004
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:22 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.04155 seconds
  • Memory Usage 2,275KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete