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

learn more… | top users | synonyms (1)

24
votes
4answers
11k views

Getting a List of Currently Available Roles on a WordPress Site?

When writing WordPress plugins there is often a need to set up options for which roles on the site have access to certain functionality or content. To do this a plugin dev needs to fetch the list of ...
0
votes
0answers
23 views

Block user redirection to wp-login.php on leaving password blank in frontend login

When a user leaves the Username / Password / Both Blank and clicks login in frontend buddypress login, he is being redirected to wordpress admin login url stating wrong username/password/empty ...
0
votes
1answer
28 views

How to insert a new user in database via PHP? [on hold]

I'm getting started in WordPress and I can't make a simple insert using PHP code. I saw this code recommended: <?php wp_create_user( $username, $password, $email ); ?> I put this code in my ...
1
vote
0answers
30 views

Where to Store Custom User Fields

I've built an enterprise Wordpress site and we are currently designing an automated import of company user data directly into the Wordpress database, so it's not manual. This user data has more data ...
4
votes
0answers
31 views

Problem with Hebrew characters in username

I wrote a plugin to enable hebrew characters in usernames. This is the full code: add_filter ('sanitize_user', 'hu_sanitize_user', 10, 3); //Overrides the Wordpress sanitize_user filter to allow ...
0
votes
1answer
12 views

Highlight specific user with custom field value

I'm working on a Wordpress project with some friends from school. But there's a problem with highlighting a user on the website. The idea is to create a 'User of the month' thing. In the user ...
1
vote
1answer
15 views

*wpupdateuser* user_login in my WordPress database

Recently, I've started to notice a wpupdateuser user_login in my WordPress databases. Is this correct, or a compromise?
-1
votes
0answers
11 views

get_user_level in Front End Only Users

I'm using a plugin called Front End Only Users and I would like to use php to get a user's level so I can conditionally show hide information in a custom page template. I know I can use shortcodes to ...
-4
votes
1answer
23 views

user can login from single account detail from multiple locations(computer) at the same time [closed]

I want user can login to an account from multiple computer at the same time, i want concurrent login in word-press. is there any plug-in or custom code for concurrent login ?.
7
votes
2answers
96 views

Difference between update_user_meta and update_user_option

Can anyone explain what is the difference between update_user_meta and update_user_option and in which scenarios the both can be used?
0
votes
1answer
16 views

Is there any way to check which wordpress categories was created by which user?

Showing users only those categories which was created by them only. I tried to find relations between categories and users in database but couldn't find any.
0
votes
1answer
32 views

Wordpress each user has each content for a page,how to do that?

I am a newer of PHP language,I have a project of user system,that need each user has each different content,I place the content to a page,when user login,open this page will display that content.To do ...
4
votes
2answers
74 views

How to update user role without logout

I am working on a wordpress project with the following plugins : Woocommerce Woocommerce product vendors WP Job Manager Wp Job Manager products I am trying to upgrade the user role after adding a ...
1
vote
2answers
642 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
1k 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
48 views

Loop 1 user randomly

At the moment I am using wp_user_query to loop users from a specific role(leden) on a webpage. For the overview page this is working fine, but on my homepage I want to feature one random user. I was ...
0
votes
1answer
22 views

How to get all posts belongs to a user between a certain date

I am writing a plugin for my company so I need to get all posts belongs to a user between a certain date which is given by another user. Then I want to count words for each post and finally add them ...
5
votes
3answers
2k views

How to let contributors to create a new revision(draft) editing their published posts

I'm using a custom post type to let contributors have a personal page on the site. Any time a user registers on my site a script creates a custom type post that has the registering user as the ...
0
votes
1answer
510 views

WP_User_Query with more than two custom meta values

I am trying to create a custom user query based on users' metadata. I have the following query created. $users = new WP_User_Query( array( 'search' => '*' . $search_name . '*', ...
0
votes
3answers
72 views

Integrating WordPress to my website, while keeping my own authentication system

I've recently integrated WordPress to my website and I've been trying to find out the correct way to replace Wordpress' authentication system with the one on my website. My website already has a user ...
0
votes
1answer
16 views

Suggest Users basing on User taxonomy

My question is for getting informations or directions about how to move for a task I have to do. This is just a request for advices due to the fact I'm not an expert in wordpress development. My task ...
1
vote
0answers
25 views

Use author author display name in permalink structure for pages and posts

I need to add the author name as a subdirectory prefix for all user's posts and pages. For example: example.com/johndoe/ //The author page for John Doe example.com/johndoe/category/test-post/ //Test ...
1
vote
2answers
46 views

Role can edit just one page [closed]

I've built a site for a client, only ten pages, nothing especially big, and created a role for the group members called Blogger, as the staff need to all be able to both blog and access a couple of ...
1
vote
1answer
689 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
1answer
18 views

How to insert new values to Wordpress user Firstname and Surname Fields via DB

I have a custom sign up form in my Wordpress site which has confirmation email functionality for activating the account. For the confirmation step am keeping another DB table where am keeping the ...
0
votes
1answer
429 views

Remove email verification when new user register

Please note I'm not posting this question without doing google search, but the problem is every single result I found is either about BuddyPress or WP Multisite, but I have a WP Single installation ...
0
votes
0answers
30 views

Show avatar, alternative avatar, or blank avatar

On author.php, I am already using the following get_avatar code with fallback, to 1) show a user avatar or, 2) if none is present, show a generic avatar_default.png: <?php echo ...
0
votes
1answer
12 views

get_user_by asking for string while string is given

I've added an extra field to the login form. When trying to get the user's value of that field(before checking if it's equal) I have a get_user_by('login', $username);. $username being an email ...
0
votes
2answers
476 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 ...
2
votes
2answers
1k 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:
1
vote
2answers
758 views

How do you disable account activation in WPMU and then log the user in right away?

Is there a way to disable account activation for WPMU then log the user in and redirect them to another page? I am running on WPMU with BuddyPress.
0
votes
0answers
15 views

Support manage user

i building new read story website. I want to manage user groups, each group will have members of the group and assigned to a category. example: I will create two translated groups: group A, group B ...
10
votes
1answer
286 views

How to Merge Two Authors Into One?

I have several posts in my WordPress site. Some posts belong to Author1 while others belong to Author2. Is there a way (plugin?) to merge the authors (For e.g. merge Author1 into Author2) and have all ...
0
votes
1answer
33 views

How to Create a User Profile Page?

Note : Before make this question as duplicate question, please read the question because my question is different from other questions in WP stack exchange.. I wanted to add a user profile system ...
0
votes
0answers
11 views

Filter User Query via URL Like Posts

I have two taxonomies assigned to users and I use them to create a user query and output the users. One of the taxonomies is ESPECIALIDAD, the other is REGION. When I am in: ...
0
votes
2answers
577 views

How to add follow functionality to multi-author wordpress site?

is there any way to add "follow" functionality to Wordpress ? so that every logged-in user can follow his favorite author and only can see post from authors that he followed them .. A possible ...
0
votes
0answers
14 views

same users different websites other then wordpress

I am creating a network of sites. I have some wordpress installations as well as some other scripts installations. I know that i can use single wordpress users table for different wordpress ...
1
vote
2answers
1k views

How can I set wp_dropdown_users so that it shows only authors?

I want to list in a drop-down box all users who have role "author" How can i do it? Thank you
0
votes
2answers
26 views

Hide hour from displaying when using user_registered

$user->user_registered displays "Registered since: 2014-08-18 07:25:22" I just want to show the date, not the hour. How can I hide the hour and just show the date? thank you
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
17 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
27 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
68 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) ...
5
votes
1answer
464 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
25 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
32 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
26 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
26 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
28 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 ...