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

learn more… | top users | synonyms (1)

1
vote
1answer
100 views

How change user type from contributor to author

I have 2058 users who are contributors. I need to convert their role to author. How can do it by SQL?
3
votes
1answer
1k views

Can an admin check passwords of registered users?

I have a site where I open accounts for users and hand over login credentials to them. Now, Let's say that a user forgot his password, and wants to reset it. He clicks "Lost your password?" link on ...
0
votes
0answers
6 views

Customize WordPress activation page on a single site

I need to customize the look & feel of the activation page on a single-site Wordpress installation. The only working guide I found after a long search is this Customize user account activation ...
0
votes
2answers
40 views

Showing extra profile fields in admin - problem with underscore

I am saving extra profile fields to my users' profiles - not via User admin but via another method (a plugin, but that's not important - all the user data is there properly). Now I do also want to ...
-2
votes
1answer
48 views

One folder to be accessible by one user

so I am making wordpress website and the idea is that I want to upload different files for the different users but I want the user to see only his files.The problem is that when I copy the url that ...
3
votes
4answers
584 views

How to filter users on admin users page by custom meta field?

The Problem WP appears to remove the value of my query variable before it gets used to filter the list of users. My Code This function adds a custom column to my Users table on /wp-admin/users.php: ...
0
votes
0answers
22 views

Access level seems to have gone from admin to editor

I have a client with a wp site (4.2.2) hosted by GoDaddy. Yesterday, when she logged in a number of links on the dashboard menu were missing = including plugins, settings. Others, like the godaddy ...
0
votes
1answer
20 views

Creating a user from a different website

I need to create users for example.com, however I only have access to dev.example.com's dashboard now. Can I still create them for example.com from dev.example.com's dashboard? (I see a "website" ...
0
votes
1answer
33 views

Redirect admin 403 “Cheatin uh?” admin pages

Blocking role capabilities on the admin returns the 403 "Cheatin Uh?" page. What is the best way to redirect this to 403 page to perhaps the dashboard, homepage, or a custom 403 page? I know I could ...
1
vote
1answer
46 views

Custom taxonomy on users with UI

WP lets us register_taxonomy() with users as the object type, thus creating taxonomies mapped to user IDs rather than post IDs. https://codex.wordpress.org/Function_Reference/register_taxonomy ...
2
votes
1answer
35 views

How can I add information underneath the user's name on the users.php page?

I know how to add columns to the users.php users page with manage_users_columns and manage_users_custom_column, but I don't know to modify the information shown in the default columns (e.g. username, ...
0
votes
2answers
193 views

How to show a gloabl message on a user profile page (in back end)?

I want to show a global message for all users in their profile page. I do not want to edit profile.php what is the hook to do this? Basically I want to add a div to show a paragraph below the ...
0
votes
0answers
27 views

Fast User Query Using SQL vs WP_User_Query

I've found that WP_User_Query() is very slow when dealing with more than 1,000 users and I have decided to use custom MySQL queries. In my code below, I pulled only user_id to make it work faster and ...
0
votes
1answer
23 views

Adding another field to user table

I would like to add another field to user such as address, phone no. Added related fields in wp_users and add some come and updated with wp_update_user but it doesn't work. I can add in wp_usermeta ...
1
vote
0answers
22 views

User profile updates password even if not filled (Theme my login) in Firefox?

I'm using Theme My Login plugin. It works fine, besides this case, only in Firefox. Updating user profile change password even if password field has not been filled, resulting in the impossibility to ...
0
votes
1answer
23 views

OAuth 2 and saving the authenticated user

I have quite a peculiar scenario. I have one WordPress site (Site A) where I have a large amount of users that have registered and I use the s2member plugin to subscribe these members to allow access ...
7
votes
2answers
2k views

Update post counts (published, draft, unattached) in admin interface

I am working on a multi-user WordPress setup and have made it so a particular type of user can only see and interact with posts, images, pages etc that they have authored. The code to make this happen ...
1
vote
1answer
29 views

Wordpress has a trash for users? (Wrong result for count_user, greater than expected)

I am using count_users() function to count users on my wordpress sites. In my administration area -> 'Users' I can see 7 users, but the function returns 9. After some time, searching for errors in my ...
0
votes
1answer
44 views

Check if user is online?

I simply want to show green circle after username if user is online and nothing if user is offline. I've found this 5 years old question but both of the ideas seems bad because I've been told than ...
-1
votes
1answer
57 views

You do not have permission to access this document on form submit

I have few little problem. If i submitted the user credential for login no matter login detail correct or incorrect page goes to Forbidden on submit button. What i do for this problem Forbidden page ...
-1
votes
1answer
10 views

WordPress Multisite (Network) some site users added to main site users list as subscriber

We have installed WordPress Multisite (Network) and created some sites. On the main site admin > users, it displays some users from other sites listed as subscriber user. Please advice how this ...
0
votes
1answer
5k 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
46 views

Upload files programmatically to users

i'm using pods plugin to add new custom fields to user so i added 4 files custom fields and then trying to upload files to this fields from registration page and create new user but when i upload the ...
2
votes
1answer
501 views

Delete user from frontend

Hi I am working on a frontend admin where a user must be able to delete his account. current_user() is a custom made function of me that retrieves the user meta data. Does anyone know how I can make ...
0
votes
0answers
37 views

How do I hide specific user profile fields?

I am using a membership plugin which pulls default WordPress user profiles to a directory. I want to hide these fields from my registered site users. I have searched for plugins and found nothing that ...
17
votes
2answers
18k 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 ...
0
votes
1answer
25 views

Sort users by userID by default on users.php

I want to sort users by UserID on users.php by default. Its currently ordered by username as default. Is their any hook to alter the order_by option on users.php ?
0
votes
0answers
54 views

How can I track registered wordpress users with Clicky analytics by user role?

I use Yoast's Clicky analytics plugin to easily integrate Clicky tracking for my wordpress website. (I tagged this question with the google-analytics tag because I do not have enough points to create ...
1
vote
5answers
4k views

How to check if a user exists by a given id

Is there any way to check if a user id exists? I want to create a function similar to username_exists() but which returns if the id exists or not.
1
vote
3answers
44 views

Detecting all admins that are logged in

I'm trying to find all users that are logged in to WordPress. I can detect myself, but I want to be able to find the other admins. Here is my current code to find myself. if (user_can( ...
-3
votes
1answer
104 views

Ultimate Member: How to change the permalink base for user profile page

I am using Ultimate Member plugin, currently the user profile base link is http://www.example.com/profile/user-name I want to change it to http://www.example.com/user/user-name Any idea how to ...
3
votes
4answers
2k views

Wordpress auto login after registration not working

So I looked up a bunch of threads trying to figure out how to automatically log a user in after registration, and came up with this. function log_me_the_f_in( $user_id ) { $user = ...
0
votes
0answers
17 views

Allow a user to update another user's profile

I have a membership site using the Woocommerce Membership Plugin with a number of levels of memberships: student, standard and institutional. They are all able to go in and update their own ...
0
votes
1answer
36 views

multiple wordpress installation with shared usertable on an different database

I have multiple wordpress installation, and I would like them to share the same usertable. The wordpress installations are already up and running, and they all have their own database. Is it ...
0
votes
0answers
13 views

Multisite User Directory

I run a multisite and want a user directory, for various reason I'm not able to use BuddyPress. I want to make a new page on the admin console that all my users can access that will have a directory ...
0
votes
0answers
18 views

External User & Woocommerce

I am evaluating the following: What i have: A big custom-coded Community (600k users) A custom coded shop inside the community which sucks What do i want: Leave the community as it is Exclude the ...
0
votes
0answers
22 views

Restricting access in the admin area to allow creation and editing of just one Custom Post Type

Lets say I have a normal WP installation that has posts, pages etc. Lets then say that I added a few Custom Post Types (via functions.php not a plugin). Lets say one of the CPT's is called 'drinks'. ...
2
votes
3answers
2k views

How to export bbPress (forums, topics, replies) and all users?

I've searched a little and I could not find a straight working answer. I want to export all users and their bbPress(2.1.2) forums, topics and replies to another fresh WordPress installation? If ...
1
vote
2answers
40 views

Disable delete user

My site has custom post type 'Portfolio'. If a user has at least one Portfolio, how can I disable the option to delete that user? I found the action/hook delete_user, but it doesn't seem right for ...
1
vote
2answers
42 views

Wordpress SQL Issue not returning correct reselts

So, I have been working on an SQL query involving the users and usermeta tables in wordpress. I am not getting the correct results. I have the following query written SELECT * FROM ...
0
votes
2answers
1k views

Best way to get user id for get_users function?

I'm trying to make a table of users by role type. What is the best-practices method of getting the user id? My goal is to print each users first & last names, username and email. What I have now: ...
0
votes
3answers
2k views

get current user not working

I was trying this code to get current user info, but showing nothing. My WordPress version is 3.3.1 <?php wp_get_current_user(); /** * @example Safe usage: $current_user = ...
23
votes
3answers
11k 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 ...
1
vote
1answer
41 views

How to Prevent deleting user accounts in WordPress Back-end?

I have tried to find similar question. And I have not get any existing one. I want to prevent deleting administrators from the back end users table. only two admins can delete all users, But other ...
0
votes
3answers
75 views

Need to manually add multiple WP users with same e-mail address (with good reason)

For starters, I'm aware of the concerns generally brought up by many when someone looks for a way to skip duplicate e-mail checks for creating new user accounts. However, In my case, I believe the ...
1
vote
1answer
152 views

Reset Wordpress website

I have a website to demo plugins, and I want to allow users to login, but I am not sure how to reset the website once they log out. Is there a way to create a separate instance of Wordpress for each ...
0
votes
1answer
26 views

Restrict Access to the User Profile

What I want is, give different Roles different kind of access to the user profile. For example, I want to show the section "Name" but not the section "Contact information". From other sections I just ...
0
votes
0answers
79 views

Display user role name instead of user role id in wordpress

I want to display the user role name next to them on an event attendee page. So far I've got it to work using this code: $aanmelding = $EM_Booking->get_person()->ID; $user = new ...
0
votes
2answers
450 views

Prevent Admin user to edit/see super admin from users list

How do I hide my super admin from the users list? My client has to be the ability to create users, but not edit/see my super admin user. Is that possible?
1
vote
5answers
26k views

How to change user`s avatar?

Is there a way o changing user's avatar without plugins? Why there's no "Avatar Upload" section in Users > Your Profile? I can't use a plugin. Am I blind or being forced to use Gravatar? ;/