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
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 ...
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
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
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
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
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
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, ...
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
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
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 ...
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 ...
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
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
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 ...
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 ...
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 ...
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
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 ...
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 ...
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
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 ...
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?
0
votes
1answer
37 views

How to add quick edit and bulk edit fields to users admin section

Salutations, is there a way to add quick edit and bulk edit fields for the users section in wordpress. I have found a lot about post types and custom post types but i'm specifically looking to add ...
0
votes
0answers
12 views

Create sub-profiles with separate posts

I am a php developer, but have not done much as far as plugin development with wordpress. I have a basic grasp as to the methods for creating plugins. I am considering creating a plugin, but was ...
0
votes
1answer
31 views

Save search criteria per user and show on custom user page

I have a property website with a custom search form for minimum and maximum square feet. A registered user executes a search with a min(i.e. 150 sqft) and max(i.e. 300 sqft) select option value. I ...
1
vote
1answer
24 views

Allowing user to edit only certain pages

I would want to allow certain user to edit only one page and it's subpages. How would this be possible? I tried the old Role Scoper, but it seems to have a lot of problems and bugs.
0
votes
1answer
35 views

Username has been exposed

I am running a WordPress installation, I am using the theme created by my own. I haven't displayed any author related information in the theme. But I am getting server logs with ...
0
votes
1answer
40 views

Generate unique number when registering a new user

I know there are userID, username in the database, but I want a formatted and unique number for physical world use. For example: "2014xxxx" 201414:year,xxxx:generate randomly when registering a user. ...
0
votes
3answers
37 views

Create new user from phpMyAdmin

I'm trying to copy site that I have created in free web hosting server to my windows pc that runs WP on WAMP. I copied all files, but took wp-config.php from sample site I run on my PC and have done ...
0
votes
1answer
31 views

Post as someone else

I'm starting a blog where multiple people will be "posting". However, most of my authors don't want to have anything to do with the posting process of WP. So they will be sending the articles to ...
1
vote
0answers
14 views

Where are $current_user->allcaps set?

I recently found a problem with WP in which even the admin has no permission to get to anything on /wp-admin/. Oddly enough, when I compared the $current_user->allcaps to those on a normal site, I ...
0
votes
0answers
27 views

Frontend + Backend Language based on User Setting

My Situation: Most recent Version of WordPress installed Multisite Environment WPML Plugin installed (Most recent Version) Goal: I'd like my Users to be able to Choose their Language at signup ...
0
votes
2answers
44 views

php if username is role

I know you can easily display custom content if a certain logged in user is a certain role using <?php if ( current_user_can('contributor') ) : ?> media files loop <?php endif; ?> ...
0
votes
1answer
40 views

php return username of currently viewed author profile

I'm at a loss. I have profiles developed for my wordpress website, and I want to display content on my page-profile.php that is specific per user profile. I've looked all around the codex and only ...
0
votes
0answers
29 views

Restrict content based on a list of emails, not user IDs

So far the options I've tried include using a form plugin, and have it redirect, but that only checks that the email is valid. This is a potential solution, but not the one we are really looking for. ...
0
votes
2answers
26 views

redirect user to their profile after log in

I would like to know How can i redirect users to their profile after they log in to my website. Right now, when users log in, they get riderected to the home page but i would like for them to get ...
0
votes
1answer
52 views

force registered user as seller

I'm using dokan multivendor, can anyone knows the simple script of forcing all the newly registered to enable the selling mode? when you register as a seller, the selling mode is automatically on, ...
0
votes
0answers
12 views

Share options / settings with another person?

When I hand a wordpress website over to someone else, they do not see the same options and settings that I can see - even if we use the same username / login. This often leads to confusion and ...
0
votes
1answer
129 views

How to get users by a custom field / by user meta data?

I've added a custom field to users profile using the following code: /*** Adding extra field to get the the user who creates the another user during ADD NEW USER ***/ <?php function ...
0
votes
1answer
24 views

How to get a users list by who created them?

I have two users with the capability to create other users. But their roles are not same. Tom - Role is Administrator Jackie - Role is CMS Manger (a custom created role) Both have capability ...