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

learn more… | top users | synonyms (1)

-3
votes
1answer
21 views

How to give different user access to different people?

I have a video tutorial website where I have to provide videos. For that purpose I have to give different user access to those who login to particular courses. So can you please help me what is the ...
0
votes
1answer
38 views

How do i auto approve new user?

I am developing a social networking site on buddypress. and when a new user registers on my website, he gets an activation link in the email, and i have to manually activate his account from admin ...
0
votes
0answers
17 views

Button Action on WordPress Users Admin Page

I want when I select the role and click button filter. button filter action like when I click menu above ( example: subscriber ) and the page display subcriber only. My Code function ...
0
votes
1answer
19 views

How to use a transient inside WP_User_Query

Source: How to check if a user (not current user) is logged in? I'm using a transient that's created when users login. $logged_in_users = get_transient('users_online'); Now i'd like to create an ...
1
vote
0answers
21 views

Max no of simultaneous active sessions for a single user

Is there any limitation to log in with multiple devices simultaneously using a single subscriber (user) account ?
-3
votes
1answer
22 views

how can i inform other users about new user registration? [closed]

I try to inform other users about new user registration in wordpress but I did not succeed. please help me I use ultimate member and user pro plugin.
3
votes
1answer
60 views

Limit content by user registration date

I am looking for a code that will allow me to restrict access to content based on a User Registration Date. Therefore, if a user registers after content has already been posted then the user will not ...
0
votes
2answers
3k views

What is the proper way to get logged in user id in a plugin?

I need to get logged in user id inside my plugin. Is this the proper way? $root = dirname(dirname(dirname(dirname(__FILE__)))); if (file_exists($root.'/wp-load.php')) { require_once($root.'/wp-load....
2
votes
4answers
6k 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 ...
3
votes
3answers
64 views

Custom user avatar in the Wordpress users listing

By default, Wordpress uses Gravatar for user avatars. I've created a custom field for avatar uploads, and I'm using this as users' avatars on various pages in the theme. In the admin - on the all ...
0
votes
0answers
45 views

How to bulk change user role to “No role for this site”

If I edit an individual user, the role dropdown menu has the option "— No role for this site —" (<option value="">— No role for this site —</option>): However this option doesn't exist ...
0
votes
1answer
40 views

Link users to a custom post type

I would like to link a user to a custom post type (college). Does anyone know a good way to do this? The ultimate goal is to display links to view and edit their college I've been using Advanced ...
0
votes
1answer
62 views

How redirect after registration?

I have 2 different pages one is for employee and other one is for employer , After signup I need to redirect page based on user role:- If user role is employee redirected to employee page OR ...
1
vote
1answer
26 views

UberMenu list current user's posts as menu items

I'm attempting to turn users' posts into menu items, without luck. Here's what I have so far, but not working. I would like to use the Advanced custom content by adding a shortcode. add_shortcode( '...
5
votes
1answer
587 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('read'=>'...
1
vote
1answer
144 views

How to add custom query filters in WP_User_Query

I am creating a list of all users in wordpress. For that I am using WP_User_Query with meta_query so that I can show only filtered users. I am stuck where I want to add a custom query filters in ...
1
vote
1answer
30 views

User Last Login Sort Column

I've seen there are several ways to display a user's last login date on the Users page without having to use a 3rd party plugin. Building on that, I'd really like to have the user's last login date ...
2
votes
1answer
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:
0
votes
1answer
14 views

Regenerate user_nicename column

I'm struggling with a database issue. I took control over a solution created by someone else. When inserting / updating users in the database, the earlier developers wrote a custom database script to ...
1
vote
1answer
21 views

Customizing user data

For a school, I'd like to add custom fields to users, such as department, curriculum, date & place of birth, education, phone number, social links.... How can I accomplish this? I see there are ...
4
votes
2answers
40 views

'username_exists' still returns an ID even after deleting record from the database?

Is there some kind of MySQL query cache turned on by default or something? I am trying to work on a user import script and I am seeing some strange results from the username_existsfunction after I ...
3
votes
5answers
2k 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 = get_user_by('id'...
25
votes
4answers
12k 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
47 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 ...
2
votes
0answers
36 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 ...
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
26 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?
-4
votes
1answer
36 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
154 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
17 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
36 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 ...
5
votes
2answers
102 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 ...
0
votes
1answer
49 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
25 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
3k 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 author....
0
votes
3answers
108 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
18 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 ...
2
votes
0answers
28 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 ...
0
votes
1answer
27 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
0answers
39 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 get_avatar($...
0
votes
1answer
25 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 adres(...
1
vote
2answers
789 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
296 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
104 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
22 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: mysite.com/especialidad/...
0
votes
0answers
17 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 ...
2
votes
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
27 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