By Steven Koontz on Thursday, 28 November 2013
Posted in Technical Issues
Replies 11
Likes 0
Views 1.3K
Votes 0
Hi,

I am on EasySocial 1.09 and Joomla 3.2. J3.2 does not allow user names with spaces or special characters. I modified the username field in admin to warn people about this. The problem however is the ES workflow, which on page 1 of registration CORRECTLY VALIDATES a username with a space and lets them go on to step 2. After uploading avatar and cover photo and clicking on continue, is when the red error message appears.

I have already seen two registrations bounce because of this today. I know it's not your fault, just letting you know so something can be done to modify the username field validation to not allow incorrect usernames in J3.2.

[EDIT]
I would also like to add that even using correct usernames, the user cannot log in afterwards. The user is created and visible on the site, but the only way they can log in is if I edit the user in ES and re-enter the password. Otherwise the message "the user name and password do not match or you do not have an account yet"
[/EDIT]

Thanks
Hi,

1. We will fix the spaces issue on username in the next version.

2. The login issue is actually not ES's issue. This is a Joomla 3.2 bug and you have to go to Extensions -> Plugin Manager -> User Plugin (Joomla) -> Ensure that Strong Password is set to YES and [b]make sure that you click save[b].

Issue #2 is a known Joomla 3.2 bug and is caused by the password not generated properly due to the parameter in User Plugin is not initialised properly on Joomla 3.2 installation. By clicking save in the user plugin page, this will reinitialise the parameter and ensure that the password is generated properly.
·
Thursday, 28 November 2013 09:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the info. I had actually tried re-saving the Joomla User plugin, but I did it with Strong Passwords OFF, thinking that was the problem!

All fixed now. Will wait for the update regarding the validation.

I have most of my members with spaces in their usernames, the majority of them from FB and G+ registrations. Am I going to have any problems with them in the future? For now logging in with existing users with spaces doesn't seem to be a problem.
·
Thursday, 28 November 2013 09:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Steven I don't think Facebook allows username in their registration
·
Thursday, 28 November 2013 11:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Steven I don't think Facebook allows username in their registration

I use JFBConnect, and FB usernames are created with the first and last name separated with a period, like john.doe. Joomla won't work without a name and a username, right? So the usernames are generated from the FB name. However, my site is in Spanish and most users have three or four names, and in that case the usernames are generated like 'mariana maria.sanchez' for example.

I am hoping logging in will not be a problem for them in the future. My community is not very active so I can't say if it's an issue or not. However, I CAN say that my backend Super Admin had TWO spaces in the username and I could still log in OK. It was only when I edited the profile to switch languages that I was hit with the invalid username error. So fingers crossed that no current users will be affected by this.

Thanks, guys.
·
Thursday, 28 November 2013 11:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

There is a typo above. What Mark meant was, Facebook doesn't allow spaces in username. Although Joomla does allow it but we strongly discourages it.

We will add a username space checking in the next version.
·
Thursday, 28 November 2013 12:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

After some testing:

Joomla 2.5, 3.0, 3.1 allows spaces in username while Joomla 3.2 does not allow spaces in username. The error message is generated by Joomla, not EasySocial.

And as such, we will go with the route of not allowing spaces in username as this is the new standard set in Joomla 3.2.
·
Thursday, 28 November 2013 13:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jason,

1. We will fix the spaces issue on username in the next version.


Was this fixed in the current version?

Thanks
Chris
·
Wednesday, 18 December 2013 02:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Yep, it's fixed in the current version
·
Wednesday, 18 December 2013 02:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, it is fixed in the current version. It gives a warning when you input a username with a space or special character.
·
Wednesday, 18 December 2013 02:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark, Steven. That's fantastic news!

Chris
·
Wednesday, 18 December 2013 02:24
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Chris
·
Wednesday, 18 December 2013 02:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post