UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

Username validation does not give proper message

Josh Lewis · ·
6:07 AM Wednesday, 12 August 2015
None
I finally decided to swap from allowing username spaces using the following regular expression code as mentioned by Jason Rey:

^[a-zA-Z0-9]+$


While it seems that the validation works, adding a space in the username does not give a valid reason for why the username is failing as seen here:

http://stackideas.com/forums?controller=attachment&task=displayFile&tmpl=component&id=19831

It says "Username must be at least 4 characters long". As you can see the username is more than 4 characters long. It's not just an issue with username spaces, special characters create the same result as seen here:

http://stackideas.com/forums?controller=attachment&task=displayFile&tmpl=component&id=19832

If it is too difficult for the system to detect invalid characters, the default message could say "Username must be at least 4 characters long or has invalid characters".
The replies under this section are restricted to logged in users or users with an active subscription with us