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

learn more… | top users | synonyms (1)

0
votes
0answers
17 views

Unique display name

I'm trying to make it so that display name has to be unique. Here is what I tried: /* * adding action when user profile is updated */ add_action( 'personal_options_update', 'check_display_name' ); ...
0
votes
1answer
345 views

How to set different users for different pages?

I am designing a site in which I wish to have different users (logged in) for different pages. Illustration: Suppose I have subscribers A,B,C,D,E,F and pages 1,2 and 3. I wish to have the follwing ...
0
votes
1answer
16 views

Assign published posts to another user automatically

Usually, I write posts as admin, as this is more comfortable from the blog administration point of view. But I want the posts to be assigned automatically to another existing user with editor ...
0
votes
0answers
8 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 ...
1
vote
2answers
361 views

Exclude subscriber users from user list

I want to exclude Subscribers from a user list. My code is: $users = $wpdb->get_results( "SELECT display_name FROM $wpdb->users ORDER BY display_name ASC" ); How can I change that so ...
0
votes
1answer
365 views

call wp_insert_user in custom class doesnt work

im creating a custom class to manage users in wordpress and chamilo but this is not the point. Class looks like this: class Platform { private $security_key = '..'; private $secret_key; ...
0
votes
0answers
18 views

Limit the amount of people on a site

Is it possible to give a site a single login and be able to cap the number of simultaneous users? I need to create a site with a limited number of simultaneous users. This way if people leave there ...
0
votes
0answers
9 views

User activation by function

I have a user registration process which creates the user name and password but does not activate the account. I'm looking for a function which will allow the user account to be activated within ...
0
votes
1answer
1k views

How to get user ID on the registration and add in to custom table

I am trying to get user ID on registration and automatically add that ID to my custom table. I am using wp-members plugin for registration. So is it possible to get user ID on the fly while ...
0
votes
0answers
20 views

Get most active users sort by comment count

how can I display a list of the most active users (with permalink and thumb) sort by comments count? I found this on WP Codex that list all the users, but I don't know how to sort by comment count. ...
0
votes
1answer
43 views

Add user to group based on coupon code in WooCommerce [closed]

We have a woocommerce site with a product we need to track the coupon users so we can later filter and sort them. Users who use a free trial coupon, need to be added to a group, but not full priced ...
0
votes
1answer
23 views

form submission problem

I made this little code to update user info, not meta fields, but it crashes the php. It doesn't execute the wp_update_user, don't know why. Am I missing something? $user_ID = $_POST['ID']; ...
0
votes
2answers
122 views

Bulk delete users from a csv list

I have a WordPress site with 65,000 registered users, about 10,000 of those users are spam bots, inactive account, hard email bonces etc. I have them gathered in a CSV list, how can I use that csv ...
0
votes
1answer
438 views

Force (new) users to update profile first time logging in after csv import using s2member

I have a large number of user profiles that I will be generating. Some of these user data sets lack an email address. I want to assign a username and a password for them to use to login, but upon ...
1
vote
1answer
590 views

Display custom fields in frontside user profile

I installed the CIMY User Extra Fields plugin to add new custom fields in theuser profile. I added 1 custom field for gender to the user profile but it displays only in the admin panel user profile. ...
0
votes
0answers
13 views

Multisite: Network Admin > Sites - users listed

We have a multisite network in development, with woocommerce network-enabled and in use on all sites. On the network admin's list of sites, there are users listed by each of the network sites. ...
0
votes
1answer
6 views

Changed meta_key value in structures, now dashboard shows zero users

I was trying to edit the email form field so that it accepts int values like of a phone number. I knew very less about how database values work and this is what i did: 1. Figured out that email field ...
0
votes
1answer
17 views

Control what custom posts a user can see

I've been looking into user roles and it would seem that there are 100 plugins to help me control what a user can edit or publish but they don't get any more specific. We have a custom post type ...
0
votes
0answers
8 views

User roles: edit_post set but custom post type & posts not editable

I have a custom post type with the capability_type of "post". I then have a new user role with the following set: 'read' => true, 'edit_posts' => true, ...
1
vote
3answers
6k views

User Profile / Add Custom Fields

Hello: I am trying to add 7 custom fields to the standard Wordpress wp-admin/profile.php page. There are a few site which suggest a simple bit of code to do this, for example: ...
0
votes
0answers
21 views

How do I add and verify new user meta data?

I'd like to give users a field that they can fill out -- with an option for me to verify / not verify. Take for example every user has a field -- Total Cars Owned : [number] They can enter in ...
0
votes
0answers
14 views

Hide user profile from front end

Is it possible to hide a user profile from the front of the website, and from search results? I am using users to create a staff directory, but one member of staff doesn't want for people to see her ...
0
votes
0answers
18 views

Manage taxonomy for categories of users just like the native wordpress taxonomy for categories of post

i should realize a post-categories like component for users, exactly I would like to get every functionality that wordpress dispose for hierarchical taxonomies. Focus up about: Admin Case admin ...
0
votes
1answer
366 views

WP_User_Query not searching

I currently have the following code, and a user named "Clark Farm" in the user_business table. The code below returns nothing. If I remove the search term then all of the users are listed. I'm trying ...
1
vote
1answer
42 views

Execute a function when admin changes the user role

How can I execute a function, when admin changes the user role of a user? I have two user roles: one is agent and the other one is client . My need is that when admin changes the user role of ...
0
votes
1answer
19 views

How to get current user on a multi site that is using domain mapping?

When I use the following code on a single blog site it works but if fails on a multi site that uses the domain mapping plugin. This code is in a plugin that is called by a short code. global ...
0
votes
1answer
432 views

New User Registration email

I am receiving an email notification whenever a new user is added to my site. I need to change the default 'send-to' address. It is using a personal email, rather than my 'webmaster' email. Where is ...
1
vote
1answer
21 views

Preventing auto-filling of e-mail addresses on profile.php

This may be more of a web browser issue (Safari is my primary browser), but it's extremely irksome. For some reason on one of my sites I'm developing whenever I edit a user account in profile.php it ...
0
votes
1answer
14 views

Cloning admin pages like users.php

In my project I want to make a new menu position which will be actually a copy of 'Users' page but with some additional filters/modifications. For example as a result I need to have another menu ...
0
votes
1answer
6 views

Registered access area

I want to do in my wordpress site appears wp-login.php for guests in all site, not just in an article or something. How i could do that? Wich files i should modify? Registered users and admin users ...
2
votes
2answers
341 views

Allow User to Edit Page Based on their Email

Quick Info I am using the Posts 2 Posts plugin in order to create a relation between Teachers and the Classes they teach. The teacher's page is a custom post type of faculty in which teachers are ...
1
vote
1answer
50 views

Current user in plugin returns NULL

I am currently developing a plugin and I am trying to make use of the $current_user global. class Something { public function __construct() { $this->get_user(); var_dump( $this->user ...
1
vote
1answer
773 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
33 views

Filter user list that meta_value is empty

I am trying to get all users that meta value is empty so i tried many variations and cant get the list of all user that birthday field is empty (not set). ...
0
votes
1answer
51 views

Sort users by “birthday” using WP_User_Query

I have created user meta that holds user birthday (birthday). birthday is date field. Now i am trying to figure how to sort (get) all users that have birthday based on specific month. I have ...
2
votes
2answers
71 views

How to change user_login with wp-cli?

How to change the username with wp-cli? This does not work: wp user update old_login --user-login=new_login
4
votes
2answers
2k views

How to programatically change username (user_login)?

As in the title, how to programatically change user's login? I wanted to use wp_insert_user function, but it appears that when updating current user, it doesn't change their username. Should I use ...
2
votes
1answer
932 views

How to remove “Super Admin” from All Users for those that are not a “Super Admin”?

I would like to remove the filter at the top that says "Super Admin" for users that are not a "Super Admin". How do I go about doing this? This screenshot shows what I am talking about:
0
votes
1answer
54 views

Wordpress C# User Login

I have a very basic C# login system first i've work with localhost and basic databasebase username-password but now i want to connect my project to my website which is wordpress then i realize ...
0
votes
0answers
14 views

Add new WordPress user to MailChimp list

There is a lot of plugins to integrate WordPress with MailChimp. But none of them allow me to add new user's email to MailChimp. Can anyone suggest one?
1
vote
1answer
46 views

How to add a user profile page to frontend?

I am looking in using wordpress for ecommerce by using woocommerce, as a newbie i don't know how to set up a user profile page outside wordpress installation (so the clients don't see the back end ...
1
vote
0answers
46 views

Spam users registers even when registration is disabled

I'm getting a lot of spam users registering on my site, even though I have disabled All users can register in the control panel and comments is disabled on all posts. Are anyone else experiencing ...
0
votes
1answer
824 views

Plugin permissions for Editor role

I've added a plugin called Orbisius Simple Notice but I notice this applied to several plugins I have installed. The plugin works fine when logged in as an Admin. However, my clients who manage the ...
1
vote
1answer
33 views

Set default page for user account in admin

I have set up an ecommerce site using wordpress/woocommerce and am now adding the users who will be dealing with the orders to the site. The only part of the site that they need to have access to is ...
0
votes
1answer
43 views

Extend WP_User_Query or WP_User to return all custom fields?

I'm trying to pull out list of about 5000+ member records for CSV export. The query is timed out and I suppose the reason is that in order to populate the CSV file I need to iterate over those 5000 ...
0
votes
3answers
475 views

WordPress Multisite and S2Member - How to add new users to all blogs?

We have WordPress setup to run as Multisite and are using the S2Member plugin. We are also using a modified version of the 'Multisite User Management' plugin. The Multisite User Management has a ...
0
votes
1answer
23 views

Make new users automatically approved

I'm allowing new user registrations on my site and checked "Anyone can register" and set the default role to Subscriber, but for some reason users still need manual approval. This is annoying because ...
0
votes
1answer
23 views

Make certain pages uneditable by editors?

My Wordpress page has a few editors. They need this permission because they need to be allowed to change the posts/pages of others. However there two pages I want only me, the administrator to be able ...
1
vote
1answer
90 views

Multisite - One user allowed access to all sites?

I am creating a multisite environment where each site is a classroom blog in the same school. Is it possible to create one parent user with access to all sites? That way parents don't have to keep ...
0
votes
0answers
29 views

Wordpress registration without wp-login.php and wp-admin folder, is it possible?

If i know well, the Wordpress use the wp-login.php to login/logout and register new users. Is it possible to make custome registration without wp-login.php and wp-admin folder?