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

learn more… | top users | synonyms (1)

0
votes
0answers
4 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 lookked all around the codex and only ...
0
votes
0answers
21 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
12 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
19 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
10 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
0answers
17 views

Login user :Unable to Authenticate

I need to define new user in my site that his role should be writer. I create user, after that i log-in with this user but i get this error: Unable to Authenticate! How can i fix this problem? ...
0
votes
1answer
18 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
14 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 ...
3
votes
1answer
38 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
0answers
20 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
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
32 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
0answers
24 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
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 ...
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 ...
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 ...
0
votes
1answer
44 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( ...
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
37 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
13 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
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. ...
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
1answer
25 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 ...
0
votes
1answer
45 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 ...
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 ...
0
votes
2answers
26 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 ...
0
votes
1answer
38 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
1answer
39 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
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
0answers
16 views

Post workflow with users and moderators

some of my users are allowed to write posts in my blog. I want to associate some "moderators" to their post, so i don't have to check them all myself. I can separate for which user which moderator is ...
0
votes
1answer
51 views

show text If special user is logged

I want to check if special user id is logged in WordPress. i know we have a function name is_user_logged_in() but we can't change the id of user logged in, in this function. I need a function like ...
7
votes
3answers
81 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
1answer
26 views

How to add an attribute to a user?

I have looked for an answer, and couldn't find a clear and relevant answer yet. I want to add more attribute to the users not to display, but only store information about them. The information will ...
0
votes
1answer
34 views

Trying to display user meta by “name” - not by “ID”

I have a form on my website where users can submit their own posts and one of the fields has a dropdown containing various countries so a user can enter their location. I would like this location to ...
-1
votes
1answer
56 views

Check if username doesn't exists

I have a script that imports users via an .csv file. The script checks if a user exists and if so updates it's metadata. If the user does exists but the "status" field contains the word 'archived' it ...
0
votes
0answers
23 views

Change theme layout via “Appearance Customize Screen” on per user basis

I have added some options to the "customizer screen" in the appearance settings on the dashboard of my Wordpress Child theme. All works well by specifying additional headers and theme color options in ...
0
votes
2answers
73 views

Import users once a day without a plugin

I need to import users to my WP database once a day. So I have a script that runs once a day to do an action. The problem that I'm having is that I'm a little over my head on this one. Another ...
0
votes
2answers
24 views

Display Users and user url's

I need some help I have the iteration working for listing the wordpress users however I also want to wrap their names in links and can't seem to get the user url to work... Nothing is returned to me. ...
0
votes
0answers
15 views

How to create user group and add its menu icon to dashboard top level admin menu?

I would like to use the user registration under users to create an option page similar to a custom post type. Afterward, I would like to be able to directly access the created users group by clicking ...
0
votes
2answers
109 views

Manage users custom column add class “num”

I have customized my admin users column to show the purchased leads of a role "lead buyer". The value of the column is a decimal (the number of leads). The "posts" column of the users table has a ...
0
votes
1answer
37 views

custom login form, guide me

i need to make a custom login form but i got a hard time finding references from my google search so i hope someone here is able to point towards some links to lay the grounds for me. A standard ...
1
vote
0answers
34 views

Undeleting a deleted user

I have deleted a subscriber and now everything is gone that I had on my website! How do I 'undelete' him?
0
votes
0answers
19 views

Authenticate Login / Problem when user is created

// check active status (login) add_filter( 'wp_authenticate_user', 'check_active', 30, 3 ); function check_active( $user, $username) { global $current_user,$wpdb; $user_info = get_user_by( 'login', ...
0
votes
0answers
39 views

Use This Code in Frontend

I am using this code, adapted to my needs: <?php /** * Plugin Name: YLDist Profile Checkboxes * Plugin URI: * Description: Profiles * Author: JPowersFreelancing * Author URI: * Version: 1.0 ...
0
votes
1answer
61 views

How to get User Profile path dynamically in wordpress admin panel?

I create registration plugin in front end for user. my all user save as 'subscriber'. Now I wont to get each user profile path from User Profile path dynamically. Simply, Admin Profile path in back ...
1
vote
2answers
48 views

Plugin for limiting user registration based on ip with expiry period?

Unlike most of the spammer/spambot plugins out there, which stop registrations from a known list of spam IPs and email domains, I need to stop malicious users who may try and register more than one ...