Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)

[#7331] create user with the same firstname lastname

  • chanteur94
  • chanteur94
  • OFFLINE
  • Posts: 302
  • Thanks: 13
  • Karma: 1
6 years 1 month ago - 6 years 1 month ago #308269 by chanteur94
Hi

My method connection is email
My style of name is Firstname and Lastname
My format name is Name only

My input mask username is Name

When I create a new user with new email but Firstname and Lastname already exist, I have error message (user already exist).

I think that if I want to correct this, I have to change my style of name to email. But I don't want email appears (but username) when I'm on a user link.

So what's the solution.

Tx
Last edit: 6 years 1 month ago by krileon. Reason: Added [#7331] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48609
  • Thanks: 8300
  • Karma: 1446
6 years 1 month ago #308272 by krileon
Replied by krileon on topic create user with the same firstname lastname
You could set the fallback to Email then use CB Auto Actions to alter the Username after registration. Beyond that I recommend just making the username field available as we currently don't have a means of adding random characters onto the username in this case when it already exists.


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.

  • chanteur94
  • chanteur94
  • OFFLINE
  • Posts: 302
  • Thanks: 13
  • Karma: 1
6 years 1 month ago #308290 by chanteur94
Replied by chanteur94 on topic create user with the same firstname lastname
Sorry, but I don't understant what I have to do.

Fallback ?
The username field is avaible but not displayed or editable

Tx

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48609
  • Thanks: 8300
  • Karma: 1446
6 years 1 month ago #308309 by krileon
Replied by krileon on topic create user with the same firstname lastname
If you set the Username field to not display on registration CB will still have to give them a username. It does this by falling back to whatever field you selected for it to use. This is configured within CB > Configuration > User Profile using the Username Fallback parameter. It should be defaulted to Email, but if it was changed to Name you could have issues since in Joomla Name is not unique. You'd need a way to make it unique. The best I can suggest is to set it back to Email then use CB Auto Actions acting on onAfterUserRegistration to alter their username to something more unique.

Have added a feature ticket to see if we can further improve the fallback behavior to automatically handle making it unique to avoid these situations.

forge.joomlapolis.com/issues/7331


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.

Moderators: beatnantkrileon
Powered by Kunena Forum