Skip to Content Skip to Menu

How change profile URL in browser?

  • ktm640
  • ktm640
  • OFFLINE
  • Posts: 44
  • Thanks: 3
  • Karma: 0
8 years 3 weeks ago #289795 by ktm640
Replied by ktm640 on topic How change profile URL in browser?
I was try to insert user ID into alias with CB Auto Actions to make adress unique.
But I see ID displayed in profile alias twice (in the frontend).

"Leave User as Automatic and leave Access as Everybody" not help.

In Community Builder backend user managment I can't save user after editing!
Get message: Please enter a valid alphanumeric profile url. Must begin with a letter and contain letters, numbers, and dashes only.

I am not programmer (I am designer) and it is difficult to me make a solution.

I don't understand why Community Builder display user login name in profile alias by default, because it is confidential user information.
In my site many users for login name use their emails that also are confidential user information!

Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48711
  • Thanks: 8320
  • Karma: 1447
8 years 2 weeks ago #289824 by krileon
Replied by krileon on topic How change profile URL in browser?

I was try to insert user ID into alias with CB Auto Actions to make adress unique.
But I see ID displayed in profile alias twice (in the frontend).

The user id is automatically added when the profile url isn't alias safe.

In Community Builder backend user managment I can't save user after editing!
Get message: Please enter a valid alphanumeric profile url. Must begin with a letter and contain letters, numbers, and dashes only.

That's because what you supplied isn't valid. CB Auto Actions does not check when you change the alias field via Field action if it's unique and URL alias safe yet. So whatever you supply via CB Auto Actions it must first be a valid URL alias and second be unique until I've this functionality just built into CB Auto Actions.

I am not programmer (I am designer) and it is difficult to me make a solution.

Then the easiest solution is to just let the user decide for themselves by allowing them to supply a custom profile url if they want through profile edit or make the field required on registration and you've your solution for future users.

I don't understand why Community Builder display user login name in profile alias by default, because it is confidential user information.
In my site many users for login name use their emails that also are confidential user information!

What is confidential is entirely based off the site. Facebook and Google both plaster your name across the web. YouTube uses username. The list continues. It's entirely subjective to the usage. Using Email Address as Username is just bad practice on the users part in general and can't help you there other than adjust the validation of the username field to prevent it from allowing email addresses as username.

The best I can suggest is simply make the Profile URL field required and set it to display on both profile edit and registration. Next create a redirect action that on login checks if their alias is empty and if it is then send them to profile edit to fill it out. The redirect is there for existing users so they know it needs completed.

Global
Triggers: onAfterUserLoginSuccess
Type: Redirect
User: User
Access: Everybody
Action
1: [alias] Is Empty
Action
URL: index.php?option=com_comprofiler&view=userdetails
Message: Please fill our your Profile URL. Without doing so your username may be exposed through your Profile URL. Thank you for your understanding.
Type: Warning


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.

  • ktm640
  • ktm640
  • OFFLINE
  • Posts: 44
  • Thanks: 3
  • Karma: 0
8 years 2 weeks ago #289885 by ktm640
Replied by ktm640 on topic How change profile URL in browser?
Thanks for explanation. I will try to use your solution.

But I I still think that must be better if in general configuration you create option to choose url address generating from name field or from username.

Once again thank for excellent support!

Best Regards,
Stas

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48711
  • Thanks: 8320
  • Karma: 1447
8 years 2 weeks ago #289917 by krileon
Replied by krileon on topic How change profile URL in browser?
The URL needs to be unique. Name is not unique. This leaves username, user id, and email address as those are the only unique and enforced unique values for a user. We may add the option later to let you select what field it uses, but we'll have to implement additional usages to increment the alias (e.g. if 2 people have the same name the second person needs a -2 added at the end).


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