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

Reply
 
Thread Tools Display Modes
  #21  
Old 06-01-2012, 09:51 AM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bosken View Post
They are working fine UNTIL i put the links_index in script field for the links tab.
I could be wrong, but I don't think the underscore character is allowed in script names in the navigation manager.

I ran across this with one of my mods and when I removed the underscore from the name it worked without a problem.
Reply With Quote
  #22  
Old 06-01-2012, 10:29 AM
djrichards djrichards is offline
 
Join Date: Jul 2007
Location: Pascagoula, Mississippi
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
We cannot help troubleshoot tab issues without seeing your settings.

See attached.
Attached Images
File Type: png Screen Shot 2012-06-01 at 7.28.15 AM.png (42.9 KB, 0 views)
Reply With Quote
  #23  
Old 06-01-2012, 12:15 PM
bosken bosken is offline
 
Join Date: Jan 2011
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, same setup/problem I have with underscore title. Only a cosmetic thing so not relly important. Tab still works.
Reply With Quote
  #24  
Old 06-01-2012, 03:32 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NTMID8 View Post
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?
hook location - set_navigation_tab_main
PHP Code:
if (in_array(THIS_SCRIPT, array(' index''online''private''search''showthread''forumdisplay'))) $root 'tab_whatever_it_is'
Quote:
Originally Posted by djrichards View Post
See attached.
And what is this line for all the scripts that should keep that tab highlighted?
PHP Code:
define('THIS_SCRIPT''thenameofthescript'); 
Reply With Quote
  #25  
Old 06-01-2012, 05:05 PM
NTMID8 NTMID8 is offline
 
Join Date: Feb 2004
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, Lynne. I will give that try tonight.
Reply With Quote
  #26  
Old 06-01-2012, 08:55 PM
djrichards djrichards is offline
 
Join Date: Jul 2007
Location: Pascagoula, Mississippi
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
hook location - set_navigation_tab_main
PHP Code:
if (in_array(THIS_SCRIPT, array(' index''online''private''search''showthread''forumdisplay'))) $root 'tab_whatever_it_is'

And what is this line for all the scripts that should keep that tab highlighted?
PHP Code:
define('THIS_SCRIPT''thenameofthescript'); 
OK. I have inferred from the vague explanations here that the "THIS_SCRIPT" value for every possible link from the primary tab URL needs to be entered in the Tab Script(s) field with a period separating each value.

But are you saying that if we need to enter more than 30 characters we need to enter it by manipulating vBulletin code instead of via the interface provided? This is obviously a bug or, at the very least, an oversight in design. Can we expect this to be submitted for resolution in a future release?

However, the tab highlight is the least of my problems with the Navigation Manager. As another stated, it's simply cosmetic but it definitely should be fixed at some point.

My real concern is the problem with the 404 error that occurs EVERY TIME when clicking other tabs after first visiting a tab that points to a URL that is not within the standard /forum path.

You can see this happen at my site (lancisti.net) by first clicking the Photo Gallery tab, then clicking any other tab. You'll see that after clicking the Gallery tab, any other tab click results in the /gallery directory replacing the /forum directory within the URL.

It also seems to somehow break the URL for the icon image in the announcement message at the top of the Gallery page.

Do we need to create another thread to get some help on this issue?
Reply With Quote
  #27  
Old 06-01-2012, 09:35 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would not call creating a plugin "manipulating vbulletin code". It is also an "interface provided" in the software.

As for 30 characters being a bug, you are welcome to enter it into the bug tracker if you feel that way. I don't feel it is a bug when it is so easy to just write a plugin to do what I want.

And, as for the 404 errors, you probably have your URLs set to something like "mypage.php" instead of "/forumdir/mypage.php", so it is looking for the page in the directory you are in. You may want to read up on the different types of relative paths.
Reply With Quote
  #28  
Old 06-01-2012, 11:09 PM
djrichards djrichards is offline
 
Join Date: Jul 2007
Location: Pascagoula, Mississippi
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
And, as for the 404 errors, you probably have your URLs set to something like "mypage.php" instead of "/forumdir/mypage.php", so it is looking for the page in the directory you are in. You may want to read up on the different types of relative paths.
I find that to be a pretty amazing response. Especially since you've already seen what my URL setting is and are completely wrong. MORE especially since I've tried every possible version of the URL and the results are exactly the same. You may want to "read up" on my previous posts. And as I previously stated, the tab URL has to point to "/gallerydir/mypage.php", not "/forumdir/mypage.php". So then, are you unable to help me with this or simply unwilling?

Quote:
I would not call creating a plugin "manipulating vbulletin code". It is also an "interface provided" in the software.
When one has to write new code to add into a file, it's called manipulating code, regardless of whether or not the system provides a rudimentary interface for doing so. I can understand that for someone who is a coder, this is simple and obvious stuff. But not everyone who buys this product is a coder. If they were, they'd likely not be here asking for assistance.

Quote:
As for 30 characters being a bug, you are welcome to enter it into the bug tracker if you feel that way. I don't feel it is a bug when it is so easy to just write a plugin to do what I want.
My mistake. I thought I was conversing with someone who is providing official support for vBulletin. Apparently, this is only a forum for people who write code for a living.

No worries. I'll find someone else capable of helping me.
Reply With Quote
  #29  
Old 06-01-2012, 11:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djrichards View Post
I find that to be a pretty amazing response. Especially since you've already seen what my URL setting is and are completely wrong. MORE especially since I've tried every possible version of the URL and the results are exactly the same. You may want to "read up" on my previous posts. And as I previously stated, the tab URL has to point to "/gallerydir/mypage.php", not "/forumdir/mypage.php". So then, are you unable to help me with this or simply unwilling?
I'm not talking about the gallery tab, I'm talking about the other tabs you are having problems with. If you go to your gallery, you are in the /gallery directory. Then you click on a tab to forum.php and it goes to /gallery/forum.php since you are using a relative path (not a root relative path).

Quote:
Originally Posted by djrichards View Post
My mistake. I thought I was conversing with someone who is providing official support for vBulletin. Apparently, this is only a forum for people who write code for a living.

No worries. I'll find someone else capable of helping me.
This is an all volunteer run site - there is no official support here on vbulletin.org. I happen to work for vbulletin and help moderate their official site, vbulletin.com, but this site, vbulletin.org, is run by volunteers.

However, you are welcome to find someone else to help you. I'll stop responding to your posts since you don't find my responses helpful.
Reply With Quote
Благодарность от:
borbole
  #30  
Old 06-01-2012, 11:54 PM
djrichards djrichards is offline
 
Join Date: Jul 2007
Location: Pascagoula, Mississippi
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
I happen to work for vbulletin and help moderate their official site, vbulletin.com
I know. That's why I thought I was dealing with a professional.

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

Quote:
Originally Posted by Lynne View Post
I'm not talking about the gallery tab, I'm talking about the other tabs you are having problems with. If you go to your gallery, you are in the /gallery directory. Then you click on a tab to forum.php and it goes to /gallery/forum.php since you are using a relative path (not a root relative path).
My other tabs are set to the default values entered during the installation. Sounds like that's what you should be taking back to your real job so they can fix it in a future release.

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

Originally Posted by Lynne
Quote:
I'm not talking about the gallery tab, I'm talking about the other tabs you are having problems with. If you go to your gallery, you are in the /gallery directory. Then you click on a tab to forum.php and it goes to /gallery/forum.php since you are using a relative path (not a root relative path).
Nope. Again, not the answer. Now it throws 404 errors and URLs with /gallery/forum/mypage.php.

Next!
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 06:12 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.04310 seconds
  • Memory Usage 2,306KB
  • 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
  • (4)bbcode_php
  • (13)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
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete