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

learn more… | top users | synonyms (1)

0
votes
1answer
44 views

pre_user_query meta_query admin user list

I'm attempting to use pre_user_query' to change the query to include somemeta_query` variables. My goal is to only display users in the user list if they share a common meta_value with the current ...
2
votes
1answer
6k views

How to create custom LOGIN and REGISTRATION forms?

I have developed a theme for Wordpress and I need to customize login and registrations form. At the moment, as usual, the login and the registration URL are: http://www.example.com/wp-login.php ...
0
votes
1answer
9 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 ...
3
votes
1answer
26 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( ...
0
votes
1answer
11 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 ...
0
votes
1answer
28 views

Use members from 1 site on another one

I have two different wordpress installations and want to use the same users, I have Site_A with all the users logins with buddypress and bbpress, Site_B will be capable of letting the users from ...
0
votes
1answer
334 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
1answer
87 views

Error: How to allow the “contributor” to upload media in wordpress

am facing a problem with my wordpress site.In my site I prevent/disallow the "contributor" to upload media files. But I want them to upload only the featured image. So what is the trick in that ...
1
vote
1answer
563 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
16 views

View Gravity Forms data on a users papge

I am a newb to the CMS world. I decided to use Wordpress along with Gravity Forms to build a website. I'm using Gravity Forms along with the User registration add-on to gather the data I require, ...
0
votes
1answer
20 views

GravityForm User Submission in Frontend [closed]

I'm trying to find a way about how to display submissions (in a GravityForms Form) from logged in users within their profile in the frontend or at least with the help of a shortcode which can be ...
0
votes
1answer
15 views

Managing Users and Creating Groups [closed]

We're going to be transitioning from a small, outdated CMS that's no longer supported, to WordPress for our new CMS. Our old CMS allows us to restrict access on the back-end so that by default User A ...
-1
votes
1answer
30 views

How to check that if current user (ID) has posts or not

I have a Custom template. In it i want to check that if the current logged in user has custom posts named (student_form) or not if posts equals true i want to redirect it to some page other wise i ...
0
votes
1answer
383 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 ...
0
votes
0answers
20 views

How can I convert wordpress users into buddypress users?

I need to know how to transform Wordpress users into buddypress users, as I'm giving them the Members role, but it's not solving. The reason for that is that only new members are appearing on ...
1
vote
2answers
560 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 = ...
1
vote
0answers
14 views

Accessing current users data within a plugin

I have been working on a WordPress plugin for a couple of days, and I got it to the point where it works - I was however unhappy with the procedural code (I was rushing it for my site, to come back to ...
2
votes
2answers
333 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 ...
0
votes
0answers
14 views

How to Restrict publish post capability of Editor role for a Custom Post Type?

In a project, I have a Custom Post type, In this post type, every one can add Posts, From Contributor to Admin, But All the posts apart from Admin, should not be published. All other Posts including ...
2
votes
1answer
427 views

Getting author page slug from get_users() or get_userdata() functions

wp_list_authors() gives a list of author pages permalinks (site.com/author/john, site.com/author/jenny, etc). I want the same links using get_users() or get_userdata() functions instead. I need these ...
0
votes
1answer
36 views

Page for logged in user to Edit/Delete their own content?

Im new to WordPress, I have been working with Drupal for about 6 years and recently switched over to WP, couldnt be happier :) I have a question that I need some assistance with and was hoping that ...
1
vote
0answers
10 views

How to allow logged out users to upload media?

How do i allow non logged in users access to the media library for uploads? I am making an anonymous blog, i got posting with images to work, but i need the media button above the editor to work so ...
2
votes
1answer
895 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
25 views

Subscriber role - blank page

I did a fresh install of WP4.2 today, but after playing for a while with setting up a custom user roles I realized that the built-in subscriber role is returning blank page instead of the dashboard. ...
0
votes
1answer
326 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 ...
0
votes
1answer
43 views

Call to undefined function wp_insert_user()

I am developing a registration system that will connect our main database from a php website with the database of wordpress. I would like to use the following functions. <?php wp_insert_user( ...
3
votes
1answer
478 views

How to use alias domain for multisite installation?

Is it possible to use alias-domain for multisite installation? I have tried domain-mapping plugin and Multi Domains plugin for WordPress, but this does not solve this problem. Example: I have ...
8
votes
4answers
6k 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 ...
0
votes
1answer
13 views

Associate custom categories to different user IDs

I am trying to associate custom categories created by different users to their userIDs. I did that with custom posts and custom pages, but I really have no idea on how I can do that with the custom ...
1
vote
0answers
36 views

Extending WP_User class and using this sub-class during the whole lifecycle

I am currently struggling with this software design issue I can't seem to get hold of. What I am trying to achieve is the following: for every user on our website, I want to do an API request to a ...
0
votes
0answers
12 views

Change roles automatically after X time

We are developing a site that have three roles: Trial Paid No Paid All users that join to our site have a trial role by default, but we want to change it automatically to No Paid after 15 days. ...
0
votes
0answers
16 views

How to load specific posts on individual pages or based on username?

I've got a few things here... How can I load specific posts on specific pages? The idea is to have an individual page for each user that displays posts allocated to them. Or if its easier, to load ...
0
votes
1answer
706 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 ...
0
votes
1answer
425 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 ...
0
votes
3answers
431 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
24 views

Showing user profile data on front-end

I'm making a profile-page so my members can update they're details trough the front-end. The problem is that the select-box named "Province" won't show the correct data when the page loads. How can i ...
2
votes
1answer
456 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
2answers
23 views

Set user role on registration so can upload file to own media library area

I need my users to be able to upload files to the media library and therefore need to somehow automatically set the user role to something other than the default "subscriber" when they register. I ...
1
vote
1answer
722 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 ...
1
vote
3answers
1k views

get_current_user_id() returns 0?

I'm trying to get the currently login user's id in WordPress. I've used the following code: function users_list() { global $current_user; $current_user = wp_get_current_user(); echo 'User ...
0
votes
1answer
14 views

What's the most secure way to grant a user permission to update in a multisite?

I've created a multisite for a local charitable organization that contains five sub-clinics inside it. I have various plugins running (security, SEO, etc.) in the multisite activated "across the ...
7
votes
3answers
80 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 ...
0
votes
0answers
22 views

Insert query not working for non-logged in user

I am trying to create a function for count post views. for this i have added code in my theme function file. Here is my code: function processpost_views( ){ global $user_ID, $post; ...
0
votes
0answers
19 views

Best way to assign role to user across entire multisite?

We have a content editor role that allows only editing pages/posts, but this user should be able to edit posts/pages on ANY site in the network. The problem is that these users don't have a role on ...
0
votes
0answers
25 views

Hide username discovery

How do I stop my usernames being leaked? To explain I tested my WordPress site on http://wprecon.com, and found that my admin username (that I have changed) was able to be discovered. User ...
5
votes
2answers
136 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 ...
0
votes
1answer
38 views

List users by meta_key and meta_value

The following function will display a list of users based on their meta data: <?php function get_users_by_meta_data( $meta_key, $meta_value ) { $user_query = new WP_User_Query( array( ...
0
votes
1answer
34 views

Modify users.php page to create page/post on button clicked

I am trying to create a new Column in users.php (Wordpress Users Page) with buttons. Each button, associated with the user, has to create a page or a post (based on my programmatically selection). I ...
0
votes
2answers
28 views

Should I use MultiSite for a subdomain based wp site?

I know the question is asked alot of times, but what I am trying to create is a network under the same site. example.com a.example.com b.example.com a.b.example.com and it goes on. With example.com ...
0
votes
1answer
22 views

How to activate the user search

I'm trying to activate the user search in my wordpress site. Which means that I want also the users on the search result. I have tried some plugins, but none of these gives the solution I want. Is ...