Skip to Content Skip to Menu

Multilingual userprofile switching problem

  • mk3
  • mk3
  • OFFLINE
  • Posts: 137
  • Thanks: 2
  • Karma: -1
6 years 11 months ago #300205 by mk3
When the user IS NOT logged in:

When I'm at English, user profile linke looks like
Code:
site.com/profile/zzz
but when I switch to French , I'm switched to
Code:
site.com/fr/profile
without the username "zzz" at the end.
If I choose this user (zzz) from the userlist (in French), I get the next userprofile link:
Code:
site.com/component/comprofiler/userprofile/zzz?Itemid=153

How to make a correct switching from one language to another, remaining on the same userprofile.

PS: For each language I've created menu items and associated them in Associations tab.
PS2: When the user IS logged in: all works fine.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 11 months ago #300224 by krileon
Replied by krileon on topic Multilingual userprofile switching problem
No idea, that's entirely on Joomla to handle. The language is added to the URL using Joomlas Language Filter system plugin. CB nor any other extension deals with any of that. Suggest posting on the Joomla.org forums regarding URL parameters being lost on language switch.


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.
The following user(s) said Thank You: nant

Please Log in or Create an account to join the conversation.

  • mk3
  • mk3
  • OFFLINE
  • Posts: 137
  • Thanks: 2
  • Karma: -1
6 years 10 months ago - 6 years 10 months ago #300637 by mk3

krileon wrote: No idea, that's entirely on Joomla to handle. The language is added to the URL using Joomlas Language Filter system plugin. CB nor any other extension deals with any of that. Suggest posting on the Joomla.org forums regarding URL parameters being lost on language switch.

Sorry to return to this issue.... but... did you test it?
Really, try copying CB Login menu item for each language menu. You can make Associations, or not make them: this changes nothing. Links to profiles get crazy (on other languages than english)....
The only way to make it function properly is to to leave only one CB Login menu item for all languages in the hidden (or not hidden) Community Builder menu and leave Languages = All (but in this case you wont be able to flawlessly switch user profile from one language to another).

PS: I've also posted this issue in Joomla forum bug section, but it's total silence in there....
Last edit: 6 years 10 months ago by mk3.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 10 months ago #300663 by krileon
Replied by krileon on topic Multilingual userprofile switching problem
You need a Joomla menu item for every language of your site if you're not going to use an all language menu item.

Links to profiles get crazy

That's not very descriptive. What do you mean they get crazy? When CB is adding Itemid to its menu items it'll check against language as well.


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 or Create an account to join the conversation.

  • mk3
  • mk3
  • OFFLINE
  • Posts: 137
  • Thanks: 2
  • Karma: -1
6 years 10 months ago #300692 by mk3

krileon wrote: You need a Joomla menu item for every language of your site if you're not going to use an all language menu item.

Links to profiles get crazy

That's not very descriptive. What do you mean they get crazy? When CB is adding Itemid to its menu items it'll check against language as well.

Yes, that's what I'm saying: when I set a menu item "User Profile" for each language menu and setting it's language NOT to ALL, but for specific language, and then if I go on a english userlist I see normal links as
Code:
site.com/profile/zzz
if remaining on this userlist and switching to french, I see crazy userprofile links like
Code:
site.com/component/comprofiler/userprofile/zzz?Itemid=153
Like I've written on my first post in this topic.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 10 months ago #300708 by krileon
Replied by krileon on topic Multilingual userprofile switching problem
Does the Itemid 153 match the French menu item or the English one? You mentioned when the user is logged in this all works fine. Ensure all your menu items to CBs profile page are set to public access.


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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum