The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
64 views

How to override WordPress registration and insert an auto-generated username?

I need to auto-generate usernames upon WordPress registration. I have a custom registration form set up and would like to create the username in functions.php. Can someone tell me why this isn't ...
0
votes
0answers
30 views

Disable author admin just use name.

I have a WPMU installation where I am super admin and im developing my blog there for my team. When I click on my name on the post, to show all my post its redirecting me to /blog/author/admin instead ...
0
votes
0answers
8 views

How to disable special characters in usernames? [duplicate]

For a reason, I want to disable characters like -,@,_, that are allowed in usernames. Is this possible? How do I do this?
1
vote
1answer
79 views

php function to display commenter username or login

I want to display the commenters username or login name in a comment template. I know there is a function comment_author_link(), but this displays the "display name publicly as" name and not ...
0
votes
1answer
38 views

Username from e-mail

Which files do I have to edit to get a grip on $_POST data sent by the registration form? I want to explode $_POST['email'] and build an username from that. I simply want to allow people to register ...
0
votes
1answer
60 views

Default Display Name As Username

I don't know why it's so hard to find a solution for this but nothing seems to work when i finally find an answer.. I want to simply make the default display name as the users login/username.. I ...
1
vote
2answers
71 views

Why can't I update username through Wordpress API?

I'm just wondering about usernames... Why isn't is possible to change this through Wordpress API? (I understand why a user in the admin dashboard can't change username(s) but that isn't really same ...
1
vote
0answers
102 views

Renaming admin user on multisite install by MySQL

As part of a general tightening of security, I want to change the name of the admin user on my multisite install to something less commonly used. This user is admin on all five sites in the network ...
0
votes
1answer
317 views

How to translate “ERROR: Invalid username. Lost your password?”

I want to translate the above message which appears on invalid username. I know the answer is very similar to the one proposed here by I cannot find the exact handler. Thank you.
0
votes
2answers
199 views

How to let the users edit their user names?

Is there a way to let the users edit their usernames? Today, I googled for such a code for a while and had no luck finding a solution except a few plugins. I didn't find any tutorial for doing so. ...
-3
votes
2answers
143 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
233 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 ...
2
votes
1answer
168 views

Change default ordering of display name

WordPress dashboard offers user the opportunity to choose whether their name is output as Firstname Lastname or several other options with Firstname Lastname order the default. I would like that ...
0
votes
1answer
48 views

Username was changed to “admin”

I suspect a hacking incident in my wordpress site. My username was changed to "admin". How to revert back my username safely? Thanks
0
votes
1answer
68 views

Fetch data from a WP page with same name as current username

Ok, so this sounds a little complex, but in theory should be easy. What I'm trying to achieve: ACF data is pulled from a WP page which has the same name as the current logged in user. Basically I ...
0
votes
1answer
80 views

use of nickname and nicename?

nicename is used for author slug in url. But can anyone tell what is the especial use/application of 'nickname' user meta field in wordpress ? or it is just another extra field to show nickname.
0
votes
1answer
21 views

I want to use my username to post blog posts, is this advisable?

I only intend to post blog posts with a one word name (the name of the website), and so I am wandering can I just use my username?? Is this common amongst admin-bloggers to post using their username ...
0
votes
0answers
93 views

Passing user first and last names from external db to WordPress user first and last names using session variables?

This may be a little convoluted, but here it goes. I don't let users register on WordPress to access my member site. I have an outside registration/login system set up and want to continue using ...
0
votes
1answer
136 views

White spaces in username give 404 on author page

As the title says. When users register with white spaces in their usernames, if you try to go to their author page, you get a 404 error. Is there a way to fix the redirect? or should I add a filter ...
3
votes
1answer
530 views

Menu Link Redirect Based on Username or User ID

I am building a client portal where my clients can log in and see all their pending projects, completed projects and create new projects. Though I'm stuck at the start. The dropdown menu is called ...
1
vote
1answer
36 views

Use mulitple usernames?

Can I configure wordpress to use two database usernames, one to read (which has read-only permissions in the database) and one to post (who is hidden in a protected wp-admin directory) for security ...
-2
votes
3answers
238 views

How can I create a virtual user on WordPress

I want to create a virtual user on WordPress, I mean the username and password will not exist in the database or in the Dashboard but if I login, the username and password must be recognized and the ...
1
vote
1answer
939 views

Wordpress User Name Limitations

I need to know what the wp specifications for the usernames are. Like allowed minimum and maximum length, are special characters like ü,ö,ä,ß accepted,..? Unfortunately I couldn't find any insight on ...
0
votes
1answer
189 views

How to allow wordpress to create username with symbols like +

I want to allow users to create username with + symbol. but wordpess removing the symbol by the register validation process. If I gave username as abcd+123, the user registered with username as ...
1
vote
1answer
97 views

Is it possible to incorporate username in a login redirect?

I'm using WP to work as the CMS for a website which will be provided to users of a number of different products. I've successfully created a function which will redirect users based on their role: ...
0
votes
1answer
73 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', ...
0
votes
1answer
99 views

Invalidate username if it contains @ symbol

I would like to let the user login either using username or email. The only way to find the email is by detecting @ symbol using strpos. However WordPress allow @ symbol in username too. Can ...
0
votes
3answers
1k views

How do I display user name, role and site name using HTML tags inside a dashboard notification?

Here's what I have so far as my notification, but I can't find any information around how to input the user's name, role and site name within those sections. You can see where they are supposed to go. ...
1
vote
2answers
2k views

Update user_login to change username

I'm trying to update user_login in the wp_users table, to force update a user's username to their email address on submission of a front end edit profile form. I know WordPress forbids this via the ...
1
vote
1answer
168 views

How can i change the name order in the admin?

When i go to wp-admin/users.php, in the second column i can see the users full name, however, its not in the right order. In Hungary, we use a different name order: ...
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
453 views

Pre-populate Username Field

I have a strange request, but hopefully it's doable. I want to be able to have several logos, for my clients, on my site. Depending on what logo they click it takes them to the login page with the ...
1
vote
1answer
1k views

How to check username availability with ajax at registration

I'm using buddypress which uses its own template form register.php for registration at http://mysite.com/register. I'm looking for a way to show the user whether or not their entered username is ...
0
votes
1answer
283 views

How to recover lost username?

I have a blog (www.ahsrocketlaunch.org) and need to update to the latest version of wordpress. However, I cannot remember the username I used to set up the wordpress account. therefore, I can't ...
0
votes
2answers
1k views

Function to change a label (Username) in a core WordPress File (wp-includes/general-template.php)

Would like to change 'label_username' => __( 'Username' ) on line 258 of wp-includes/general-template.php to 'label_username' => __( 'Username or Email' ) Changing core files is a not recommended ...
6
votes
1answer
751 views

Changing the username character limit from four to less characters

I want to create a user account on my multi-site installation of Wordpress with a username less than 4 characters. But since Wordpress has a limit of usernames at least being 4 characters, this error ...
0
votes
4answers
441 views

Calling User Nickname

I am currently calling a user's nicename in a function I have: $users = $user_query->get_results(); foreach( $users as $user ): echo $user->user_nicename; I'm trying to call ...
0
votes
1answer
2k views

How do I display logged-in username IF logged-in?

I'm working on creating some text that says 'Login' to users that are not logged in, and the user's username or display name when logged in. It seems like it should be an easy problem to solve, and ...
0
votes
1answer
95 views

Why do people use “admin” username by default? [closed]

WordPress users use "admin" username by default to login to admin panel because WordPress suggest this username at the end off install. But "admin" username is the most common username to brute-force ...
1
vote
1answer
186 views

One time username change from frontend?

I'm using facebook connect plugin. Usernames generated by that plugin look like firstname_lastname. I mean it looks ugly. I would like to give the privilege to my users to change the username BUT ...
0
votes
2answers
1k views

Display first name instead of username

I have a plugin that outputs username after login, I want it to display first name instead. Here is the code that does it. global $userdata,$user_identity; get_currentuserinfo(); ...
3
votes
1answer
116 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 ...
0
votes
1answer
430 views

Alphanumeric usernames and error message for it

I'm facing a problem where I haven't seen proper answer anywhere. What I need help with is this: How can I prevent my users registering non-alphanumeric usernames? To be exact, I could prevent it by ...
1
vote
1answer
217 views

how to remotely check a username / password from within a plugin

people need a user account on my site to be able to download a plugin. I want to add an activation function in the plugin so a user must supply their username and password the first time they use the ...
6
votes
2answers
2k views

Where can I find documentation on what characters are allowed in user names and why?

I would love to be able to use spaces in usernames, but this does not seem possible. Is there a writeup in the codex or somewhere that explains what characters are allowed and why it was restricted to ...
0
votes
1answer
496 views

Can anything go wrong if I let users change their usernames?

We are using email addresses as usernames in a current WP 3.1 project. I need to allow users to change their usernames and email addresses, and will build in the option to do so. I am just wondering ...
3
votes
2answers
3k views

Allowing an email as the username?

Is it possible to allow people to utilize their email as their username?