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

learn more… | top users | synonyms (1)

1
vote
1answer
2k views

Check if specific username is logged in

How can you check if specific username is logged in?
1
vote
0answers
30 views

Authenticate with a Rails app?

There seems to be lots of posts where another app / website uses a WP website to authenticate against. I am looking for the opposite. I have a Rails app that uses Devise for authentication. I have a ...
2
votes
1answer
33 views

Why don't first_name and last_name appear when you print_r the WP_User object?

Here's some simple code, $user = get_userdata(5); print_r($user); echo $user->first_name; And the result, WP_User Object ( [data] => stdClass Object ( [ID] => 9 [...
4
votes
1answer
73 views

How to hide “Filter user list” from “All Users” screen

Is there a way to remove the "Filter user list" from the top of the "All Users" screen for non-admins? For clarification its the section which lists totals for each user role type and filters the ...
0
votes
2answers
178 views

Gather posts into a cart/lightbox and share with another user

Ok I've almost completed a Wordpress site that is a multi-user Image Library. This is a private site, where users must be logged-in to view it. The average user cannot get to the backend (wp-admin) ...
0
votes
1answer
32 views

Change user slug in Buddypress

I am creating a site with Buddypress. Everything is going good so far but default member slug for buddypress is domain.com/members/abc. I want that it as domain.com/abc like facebook and twitter. Any ...
1
vote
0answers
35 views

Bulk lock users without email address?

I'm cleaning-up my database, and for the sake of keeping SPAM down to a minimum I would like lock all of the wordpress user accounts that do not contain an e-mail address. Any ideas how to do this? ...
0
votes
1answer
30 views

The Simple and Correct Way to Add User Meta

I want to give points to users to their activities like writing posts, writing comments, etc. I thought to use user meta to store points. I know that I can use add_user_meta... But the problem ...
0
votes
0answers
43 views

Same users for different installations

Actually I am building a project with Multiple installations. Each installation wants to signup separately. My structure is like thatabc.com , abc.com/1 , abc.com/2 , abc.com/3. These aren't on ...
0
votes
1answer
30 views

'pre_user_query' interfering with user export

I needed to add sortable columns to clients wordpress for custom meta data I created so I used a pre_user_query hook add_action('pre_user_query', 'user_column_orderby'); function user_column_orderby(...
0
votes
1answer
69 views

How to add user meta for all users

I am tring to build a point system for users. To save points I thought to use user meta. So I need to create a meta user called poins for all cureent users as well as futures users. add_user_meta ...
5
votes
2answers
1k views

Wordpress Multisite allow site admin to add user without email confirmation

In Wordpress Multisite,a site admin (not a super admin) doesn't have the option “Add the user without sending them a confirmation email” when adding a new user. Is there a way to bypass the ...
0
votes
0answers
20 views

Add a Filed to WordPress User Table

I am going to give points for users for their activities. I thought to add a field for user table. Is it a bad idea? I use my own function to update that field.
2
votes
2answers
7k views

Make WooCommerce pages accessible for logged in users only

I have a website using WordPress, and an e-commerce using WooCommerce. I would like my shop (and all its pages) to be seen by logged in users only. Via the User Access Manager plugin, I have denied ...
2
votes
4answers
707 views

How to remove Gravatar from Username column

How to remove the Gravatar image from Username column in the All User admin page?
1
vote
1answer
88 views

Get users order by meta key with limit

Each user in system has meta key called points I need to get top 10 users (highest points) How I can do this query ? Should I use get_users() with $args OR native query
0
votes
1answer
28 views

List users of specific role instead of removing them with specific role

I am currently listing all the users except users with administrator role on custom page template with: <?php $allUsers = get_users('orderby=post_count&order=DESC'); $users = array(); ...
1
vote
1answer
982 views

Create a front user register/login/profile & logout without interfering with wp-login.php?

I need to create a register and login link on my home page. Users get to take a quiz on their profile which they can update and what gets posted to a database. How can I do this without interfering ...
0
votes
1answer
35 views

Custom User role not working with custom post type

I am currently working on making a custom user role "adoption_agency". Along with this custom role, i have created a custom post type called "adoptions". I have given "administrators" and "...
0
votes
0answers
145 views

Get first_name on hook user_register

I have created a plugin for saving user info. I have used a action hook user_register, but I don’t get the values of first_name and last_name. What wrong in my code? add_action('user_register','...
1
vote
1answer
38 views

How can I allow users to sign up but prevent them from accessing the Wordpress backend?

I want to allow users to sign up, log in and then capture information based on their interaction with a HTML5 game and some front end forms. I still want to have an admin user who can edit some page ...
0
votes
0answers
18 views

In need of help with a “Notes” section

I am in the process of developing an educational website where each post is a topic of information or a "Module". I would like to give our students the ability to write down quick notes and items to ...
0
votes
2answers
2k views

Plugin that would allow WordPress Authors to “follow” other Authors and query “Activity Info” from that

I have a WordPress blog that is all user based Authors that submit content and such. Currently in the site, you can view other authors profiles but basically just view their content from the author....
-1
votes
3answers
276 views

Check if user is logged in via JS? [duplicate]

Im experimenting with random theme and "new technology" and Im trying to convert whole front-end to pure JS single page application (no page refreshes - like Facebook, Twitter etc) using WP REST API, ...
0
votes
1answer
39 views

how to get recent registered author id?

I have tried to get the recently registered author user ID. i have no code now, because the below code can't use role to filter it. SELECT max(ID) FROM $wpdb->users LIMIT 1 and get_usersfunction ...
0
votes
1answer
49 views

How to add custom detail page for a Subscriber at Admin Panel

I have created a custom page which shows the list of Users(Role = 'Subscriber'). I named this page "Reporting" & It is based on wp_list_table. Now I want to show the user details (having custom ...
0
votes
2answers
220 views

User role permissions based on taxonomies

I was wondering if it's possible to set up user roles in a way that means that users in certain groups can ONLY edit posts that have a specific taxonomy assigned to them e.g: Properties (Post Type) ...
0
votes
1answer
31 views

Creating multiple profiles under one user to assign to particular posts

I am working with WP Job Manager at the moment quite a lot and currently on each job you would like to post you enter a set of details about the company the job is with. This info is then echoed out ...
0
votes
1answer
39 views

UserMeta Changes Meta Value for Post ID

I am building a proprietary LMS(learning management system), and am attempting to add a simple bookmarking function that saves the $post->ID for the last page visited within my "course" CPT(custom ...
1
vote
1answer
101 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
7 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
51 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
58 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
1k 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
23 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
21 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
50 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 ...
2
votes
1answer
38 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
227 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
37 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
36 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
38 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
55 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
47 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
79 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
11 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 ...