Yeah need to check the textarea value and make sure it only contains @username and nothing else.
Is this something that can be easily done? I don't want people being able to spoof other peoples usernames etc.
Once a username is in use, it cannot be registered by another, as this screenshot shows.
I think he more or less means disallowing use of certain words or names.
For example you may want to block the use of curse words in names, or famous brand or people names. Or a lot of support forums will block the use of "staff" in their users usernames, administrator,admin, etc.
@Chris Hi guys, cheers for replies. Username already taken solves half the issue. But ideally I'd like to stop people being able to change their usernames full stop. Once someone has a username, that's it. Only an admin can change it if requested.
I can see good arguments for and against that position, but the best option would be to have an option in the ACP that gives the site admin the power to enable/disable changing usernames.
SPHINX last edited by SPHINX
ACP option to enable/disable username changing is a must for us.
A username black list and alpha numeric character set restriction is also very important.
Please add if you get a chance, otherwise we will have to hack it in ourselves before going live.
Regardless, fantastic product. Keep up the good work, looking forward to v0.4.
If you need it that bad and you can hack it, why don't you do a PR. I don't think the devs will object to that.
@SPHINX rather than hacking it in why not do a pull request?
SPHINX last edited by
Fair enough. I will start reviewing the code base when v0.4 comes out.
@sphinx we'd love these in core, let me know if you run into any problems and I can point you in the right direction