Skip to Content Skip to Menu

sef links for user's profile

  • kosmos_
  • kosmos_
  • OFFLINE
  • Posts: 62
  • Thanks: 4
  • Karma: 0
9 years 10 months ago #255552 by kosmos_
sef links for user's profile was created by kosmos_
Are there any ways to create good-looking link for user-profile?

I mean is it possible to create a field for user profile, where user can fill his name and link for his profile will be for example

joomlapolice.com/putin ?

Thanks.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #255660 by krileon
Replied by krileon on topic sef links for user's profile
About the best you can get is domain/alias/task/username. The reason for this is without this information Joomla has no idea where to go. The alias tells Joomla what component it's linking to. The task tells Joomla what task in that component it's going to. Then the username tells CB who it's going to. Removing any of this information will cause issues with pathing. For example if you just had domain/username then Joomla has no idea if username is supposed to be a component (what it excepts) or a CB users profile (Joomla has no idea what that is). If we forced translation of such URLs in our router it's just going to break numerious URLs.


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.

  • kosmos_
  • kosmos_
  • OFFLINE
  • Posts: 62
  • Thanks: 4
  • Karma: 0
9 years 10 months ago #255756 by kosmos_
Replied by kosmos_ on topic sef links for user's profile
Hi krileon.
Thank you for the response. The problem we use russian names and the link on user's profile looks like:
medicine-prof.com/ru/cb-profile/userprofile/%D0%A1%D0%BA%D1%80%D0%B5%D0%B1%D0%B5%D1%86%20%D0%A1%D0%B5%D1%80%D0%B3%D0%B5%D0%B9%20%D0%A1%D0%B5%D1%80%D0%B3%D0%B5%D0%B5%D0%B2%D0%B8%D1%87

is the any way how to make it easy? Thanks.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #255790 by krileon
Replied by krileon on topic sef links for user's profile
Usernames are not URL safe. They're encoded with urlencode. However, your browser should translate and display them perfectly fine in the address bar. There's no fixing your issue as it's just how browsers work. You'll see this same behavior on every website in existence. Copy a URL with Russian characters and paste it into a textarea and you'll see it's URL encoded, but it won't particularly matter as your browser translates it fine in the address bar so the user never sees it unless they copy and paste it somewhere.


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