Author Profile URL on Blog

3 years 10 months ago #319163 by hayesjames
Replied by hayesjames on topic Author Profile URL on Blog
Now that is strange, have I turned this facility off somewhere maybe. See the attached after a search.
Attachments:

Please Log in to join the conversation.

3 years 10 months ago #319164 by krileon
Replied by krileon on topic Author Profile URL on Blog
It can't be turned off. It's entirely based off the length of the URL during a search being less than 2083 characters. This is set based off the maximum allowed by internet explorer, which today probably isn't as relevant and this can be increased now. Chrome for example has a maximum limit of over 100,000. We'll probably need to do a simple useragent test and just handle this per browser roughly.

forge.joomlapolis.com/issues/8048


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

3 years 10 months ago - 3 years 10 months ago #319165 by hayesjames
Replied by hayesjames on topic Author Profile URL on Blog
Amazing, thanks Kyle. I have only one option selected in that search, or does the search take every field into consideration and mark un selected as null?

Please Log in to join the conversation.

3 years 10 months ago #319178 by krileon
Replied by krileon on topic Author Profile URL on Blog
For the redirect it only considers search inputs actually used. Note it works off non-SEF URL so it could be a lot longer than what you're seeing with SEF on. The redirect behavior can be found in the below.

IN: components\com_comprofiler\comprofiler.html.php
ON: Line 528 - 538

You can var_dump( $pagingUrl ) to see what it would redirect to. You can also var_dump( strlen( $pagingUrl ) ) to see how long it is. As long as its length is less than 2083 and a search is being made it should cause the redirect.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.178 seconds

Facebook Twitter LinkedIn