Refers to accounts with the ability to login and participate in a WordPress site.

learn more… | top users | synonyms (1)

24
votes
1answer
50k views

How to change the default registration email ? (plugin and/or non-plugin)

After a new user registration, WP sends out an email with the login / password, and a link to the login page. Is there a way to change this defaut email template? I'd also like to change the subject ...
20
votes
2answers
10k views

Editor can create any new user except administrator

I have set up a WordPress site for a client. The client has the Editor role, however I have installed the Members plugin and given the client the capability to add new users to the WP admin. This is ...
19
votes
2answers
9k views

Getting a List of Currently Available Roles on a WordPress Site?

When writing WordPress plugins there is often a need to set up options for which roles on the site have access to certain functionality or content. To do this a plugin dev needs to fetch the list of ...
14
votes
3answers
3k views

Multiple developers / editors working on a site in progress

Background I'm nearing the final stages of constructing my first fairly large WordPress site, and I'm now encountering some friction. For the most part, the site was developed on my local machine and ...
13
votes
2answers
12k views

How To Add Custom Form Fields To The User Profile Page?

The user profile page has the following fields: Username First Name Last Name Nickname Display name Contact Info E-mail Website AIM Yahoo IM Jabber / Google Talk How can more fields be added to ...
12
votes
2answers
7k views

How to check if a user (not current user) is logged in?

I need to display the online status (online/offline) for each author page (custom author page template). is_user_logged_in() only applies to the current user and I can't find a relevant approach ...
11
votes
8answers
13k views

How to restrict dashboard access to Admins only?

How would we restrict access to the WP admin area to all users except admins? The users on our site have their own profile pages which do all the functions they need. So admin should be off limits to ...
11
votes
2answers
18k views

How to check if a user is in a specific role?

I have a pretty specific requirement to show different text in a field label on the user profile page based on the current user's role. I can't seem to figure out how to check whether the current use ...
11
votes
3answers
691 views

Make display name unique

Right now you can make your Display Name whatever you want, you can even impersonate an admin. Is it possible to make the Display Name unique?
10
votes
1answer
862 views

Is there a is_user_logged_in() for multisite?

Is there a is_user_logged_in() function for Wordpress MU / Multisite (3.0+) where I can add in the network site ID like is_user_logged_in(2) where 2 would be the site_id? Update: After a little ...
10
votes
2answers
3k views

Setting admin edit panels & metaboxes positions and visibility for ALL users and admins

My WP 3.3 setup involves several post types and customized edit panels with Advanced Custom Fields plugin (which creates many metaboxes) and other plugins such as SEO metabox panel, Scribu's ...
9
votes
1answer
5k views

How to use same email for multiple users

I have a very big multisite. And I got a request to enable option that multiple users can use the same email. I found a plugin "Allow Multiple Accounts" which doesn't work properly. I should figure ...
8
votes
1answer
16k views

If current user is admin or editor

How can I check to see if the current logged in user is an admin or an editor? I know how to do each singularly <?php if( current_user_can('editor')) { ?> stuff here for editors ...
8
votes
4answers
7k views

Remove Ability for Other Users to View Administrator in User List?

(Moderator's note: Original title was "Remove Admin from User Menu") I have created a client administrator role which is essentially an Editor with ability to add/remove users. The article "Editor ...
8
votes
8answers
13k views

Is there a way (plugin?) to restrict a user to being able to edit just one page?

We use wordpress like a CMS and would very much like to allow users to have a "homepage". Ideally they'd be prevented from mucking up the whole site. Is there a simple way to limit users editing ...
8
votes
2answers
2k views

Wordpress usermeta scaling for thousands of users

I have developed a CRM plugin for a client integrated with Wordpress user management and I stored additional information for each user under the wp_usermeta table. However, the client's customer ...
8
votes
3answers
1k views

Confirmation required on email change

I'm just wondering why wordpress doesn't send confirmation mail every time user change his/her email address. How do we know that email address is not fake or mistyped? So can anyone give me some ...
8
votes
1answer
326 views

WP_User_Query and non-unique usermeta data

We have an issue with a WP plugin that we wrote and maintain - Export User Data A user has reported an issue that non-unique user meta data records are not being returned correctly - here In the ...
7
votes
4answers
5k views

How to search all user meta from users.php in the admin

The search form at the top of the users listing in the Admin area (wp-admin/users.php) is limited and does not search all of the user meta fields, such as bio, instant messenger handles, etc. I've not ...
7
votes
4answers
5k views

Showing User's Post Counts by Custom Post Type in the Admin's User List?

I'm trying to figure out how to hook into the /wp-admin/users.php manage page to create custom columns for showing the number of posts users have for the custom post types on WPHonors.com. I created ...
7
votes
4answers
373 views

How can 2 blogs share the same users

I have a running normal WP blog (blog 1). I want to create a Q&A section for my users, so I setup another blog with WP-Answer theme (blog 2). The problem is I don't want my users at blog 1 have ...
7
votes
2answers
342 views

alphabetically order role drop-down selection in dashboard

The site I'm working on will have a very large number of unique user roles via a members plugin. Because of that, I'd like to have the Role drop-down selection on the Add New User page to display ...
7
votes
4answers
8k views

Change the Author Slug from Username to Nickname

Hi to the community, is it possible to change the default username slug to nickname if is available? By default the url is something like: http://domain.tld/author/(admin) , is it possible to ...
7
votes
1answer
2k views

Custom post type for 'staff' versus using wordpress user profiles?

A scenario I keep coming across is where an organisation might have several staff for whom I want to have some sort of listing and a single profile page with biographical information. Typically I ...
7
votes
3answers
4k views

Groups of capabilities: users with multiple roles?

I'm pretty sure I understand the roles and capabilities setup in WordPress: granular capabilities, grouped together in roles that can be assigned to users. Code should check the granular capabilities, ...
7
votes
4answers
3k views

wordpress multisite, how to keep user on subdomain throughout registration process?

I am running wp subdomain multisite in combination with domain mapping. This means I can create a new subdomain site xyz.site.com and map the domain name 'xyz.com' to that site. The problem I have is ...
7
votes
3answers
83 views

Is there a way to merge two users?

I have two users and I would like to merge then into one. All the answers I could find online to this question focus on transferring ownership of posts, but this is a network site and I need to ...
6
votes
2answers
3k views

user_login vs. user_nicename

When you call the get_users() functions, a list of user objects are returned. Each of those users has a number of properties. What is the difference between user_login and user_nicename in those ...
6
votes
1answer
3k views

Commenting in user profile page?

I am trying to build custom user profile with the guidance of this tutorial: How to make a WordPress profile page I have successfully implemented it to my theme, everything is working well. Now what ...
6
votes
3answers
536 views

Ban a user and end their session

I'm working on a plugin derived from this tutorial. So far, the plugin adds a checkbox on a user's profile edit page where admins can ban the user. If checked, the user will receive a message upon ...
6
votes
1answer
80 views

Is it safe to store a user setting you don't want the user to ever modify as a user option?

I have added some custom user options to the profile page on my site, and most are all OK for the user to modify themselves. These options live in their own section. The users have read access and ...
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 ...
6
votes
1answer
1k views

Migrating Wordpress users into Disqus

I'm thinking of migrating my comment system from Wordpress to Disqus. I'm pretty satisfied with options it offers, but I have one problem: I have few hundred registrated users on my Wordpress ...
6
votes
1answer
216 views

Automatically delete inactive users after 2 months

I am trying to modify this function: // automatically delete users after 7 days in wordpress function wcs_auto_delete_users() { global $wpdb; $query = $wpdb->prepare( "SELECT ID FROM ...
6
votes
1answer
3k views

How to display the status of users (online - offline) in archive.php

I am using the code the user status How to check if a user (not current user) is logged in?. On page profile of the author it works well (thank you guys). But if I put on the archive page, at the ...
5
votes
3answers
5k views

Why are my roles not visible in a Multi-site/Network?

My network is showing roles in some sites and not in others. For some reason that I can't explain, when I add a new user, I have no role to choose from on the drop down box of a sub-site in my ...
5
votes
4answers
2k views

How to hide media uploads by other users in the Media menu?

Simply put - how might I completely hide media files uploaded by any other users other then themselves? Id like to disable access to these links & files since they are a way for non-admin users to ...
5
votes
2answers
171 views

Is it possible to sign in with user_email in Wordpress?

is it possible to sign in with user_email instead of user_login, please ? Thanks.
5
votes
1answer
482 views

Disallowing Users of a Custom Role from Deleting or Adding Administrators?

(Moderator's note: The original title was "Custom User Role Restrictions") A project I am working on requires me to create two new user roles - one for the owner of the website and the other for ...
5
votes
1answer
74 views

Get the name of user who updated post

Does anyone know how to get the name of the user who last updated a post/page please? (Not the post author). I can see that it is visible in the post/page revisions but don't know how to access it. ...
5
votes
1answer
78 views

How to allow an user role to create a new user under a role which lower than his level only?

I have three extra roles in my site. Doctor Receptionist Guest those roles are added by following code: * adding Doctor role */ $doctor_role = add_role( 'Doctor', __('Doctor'), array( ...
5
votes
1answer
2k views

Display a registered user profile page

I have a website where users can register, login and their edit profile, they can comment but not post. What I am looking for is a way to display a user profile page (where I display the gravatar and ...
5
votes
2answers
168 views

Different back-end colour scheme for the different sites of a multisite

Is it possible to have a different back-end colour scheme selected for the different sites of a multisite? i.e. "Sunrise" for Site A and "Midnight" for Site B If it's not possible for the user to ...
5
votes
2answers
150 views

Is there an upper limit for users in WP?

Right now I use a single WP table to feed several sites. We have about 72K users and I have started noticing that to see the "Users" page it takes about 30 seconds on our otherwise pretty fast ...
5
votes
1answer
526 views

User-Specific Timezones? Hack? Plugin?

Is there any way, whether it be a hack, a plugin, etc., to give users their own timezone? I am using a purchased SMS plugin. Users (my clients) login and are able to send out text messages when they ...
5
votes
1answer
311 views

Override Wordpress user with Oauth2 account

I am trying to setup Wordpress as an OAuth2 client. All of our users are stored in our proprietary CMS which is an OAuth provider. We have very little (to no) users in our Wordpress database, ...
4
votes
4answers
1k views

Replacing the Wordpress password validation

I have a custom application with thousands of users who already have a password stored. I would like to set up a self hosted wordpress site to accompany that application and to use the usernames and ...
4
votes
4answers
8k views

How to restrict access to uploaded files?

I have a restricted area on a website that can only be accessed by logged in users. For that I created a page template with a 'current_user_can()' condition. My problem is that the documents attached ...
4
votes
1answer
4k views

How to let user set password on registration

I´m working on a front end registration form adn have gotten as far as getting the standard registration form to work, but... I´d like to add the oportunity to let the user choose his/her own ...
4
votes
2answers
915 views

how to use joomla password format in wordpress?

I need to import more than 1000 users from joomla to wordpress. I can do that with csv. My main concern are passwords. I did some googling and found out that it is possible to change wordpress ...