Tagged: Username Availability Checker
- Hi, 
 I got a bug. When i register a username as : “ianjohnson” it s ok, it s available. Then i try to register with : “Ian Johnson”, with a space between both and i see the message “Congrats ….” it’s available, when i fill all other fields and i submit the form i see on top of the form ” username aleady exists”- How can i fix this bug please ? 
 Many thanks for your help
 Mac
- Hi Mac, 
 Thank you for opening a new topic. I appreciate it.- 1. Are you on a normal WordPress site or multisite? 
 2. Are you using any other plugin that may affect registration/username?- Please let me know and I will assist. - Regards 
 Brajesh
- Hi, - I’m using a normal WordPress site (buddypress). 
 Using those plugins, don’t know if there is no compatibility- – BuddyPress Xprofile Custom Field Types 
 – Smart WP Login
 – Username Changer
 – WordPress Username Availability Checker (your plugin)
 – BuddyPress Profile Pro- Thanks 
- Thank you Mac, 
 I will be getting back in couple of hours with more details.- Regards 
 Brajesh
- Hi, - Please, i m still waiaitng for you, with more details, like you said. - Many thanks - Mac 
- Hi Mac, 
 Please upgrade to 1.1.6 and let me know if that works for you or not?- Regards 
 Brajesh
- Hi, - Thanks for the update but it s not working. Still got the massage “Congrats …” when i tried to register 
 “ian johnson”, ianjohnson is already register.- Thanks for your help 
- Ho, - Yes i do. the issue is when i put a space between name and surname - Thanks 
- Hi Mac, 
 Thank you.- The usernames will be treated different on a normal WordPress install. “ian johnson” becomes “ian-johnson” for nice name. - The problem is BuddyPress is removing the space before inserting user - $user_login = preg_replace( '/\s+/', '', sanitize_user( $user_login, true ) );- This was unexpected. - Anyway, I will push a release today or tomorrow with this fix and will let you know. - Regards 
 Brajesh
You must be logged in to reply to this topic.