-3
votes
2answers
125 views

Limit username to specific characters (A-Z and 0-9)

How do I limit the username field upon registration to A-Z and 0-9 for single site? So no spaces, hyphens, underscores, dots etc.
6
votes
1answer
217 views

Filter username field on registration for profanity and unwanted words

How do I add a filter to the username field to stop new users from registering using unwanted words such as administrator or general profanity? Ideally, if I could add a large list of words that are ...
0
votes
1answer
66 views

allow only lowercase user registrations

I'm trying to get allow only lowercase usernames are valid usernames in my wordpress blog. I managed to write a function but it does not seem to work. add_filter('validate_username' , 'simple_user', ...
2
votes
1answer
1k views

Showing the user's username in registration email or activation page with BuddyPress [closed]

a) I would like the person's username to be included in their activation email once they have registered. e.g. Activation email would look like: Thanks for registering! To complete the activation of ...
3
votes
1answer
109 views

How to prevent certain usernames from being registered?

How can i prevent or blacklist a list of usernames that i don't want users to register with? And can I add a message if they try to register with one of those names that says 'this username has been ...