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

learn more… | top users | synonyms (1)

0
votes
1answer
25 views

Sort users by userID by default on users.php

I want to sort users by UserID on users.php by default. Its currently ordered by username as default. Is their any hook to alter the order_by option on users.php ?
0
votes
0answers
54 views

How can I track registered wordpress users with Clicky analytics by user role?

I use Yoast's Clicky analytics plugin to easily integrate Clicky tracking for my wordpress website. (I tagged this question with the google-analytics tag because I do not have enough points to create ...
1
vote
3answers
44 views

Detecting all admins that are logged in

I'm trying to find all users that are logged in to WordPress. I can detect myself, but I want to be able to find the other admins. Here is my current code to find myself. if (user_can( ...
0
votes
0answers
17 views

Allow a user to update another user's profile

I have a membership site using the Woocommerce Membership Plugin with a number of levels of memberships: student, standard and institutional. They are all able to go in and update their own ...
0
votes
0answers
13 views

Multisite User Directory

I run a multisite and want a user directory, for various reason I'm not able to use BuddyPress. I want to make a new page on the admin console that all my users can access that will have a directory ...
0
votes
0answers
18 views

External User & Woocommerce

I am evaluating the following: What i have: A big custom-coded Community (600k users) A custom coded shop inside the community which sucks What do i want: Leave the community as it is Exclude the ...
0
votes
0answers
22 views

Restricting access in the admin area to allow creation and editing of just one Custom Post Type

Lets say I have a normal WP installation that has posts, pages etc. Lets then say that I added a few Custom Post Types (via functions.php not a plugin). Lets say one of the CPT's is called 'drinks'. ...
-3
votes
1answer
104 views

Ultimate Member: How to change the permalink base for user profile page

I am using Ultimate Member plugin, currently the user profile base link is http://www.example.com/profile/user-name I want to change it to http://www.example.com/user/user-name Any idea how to ...
1
vote
2answers
42 views

Wordpress SQL Issue not returning correct reselts

So, I have been working on an SQL query involving the users and usermeta tables in wordpress. I am not getting the correct results. I have the following query written SELECT * FROM ...
1
vote
2answers
40 views

Disable delete user

My site has custom post type 'Portfolio'. If a user has at least one Portfolio, how can I disable the option to delete that user? I found the action/hook delete_user, but it doesn't seem right for ...
1
vote
1answer
42 views

How to Prevent deleting user accounts in WordPress Back-end?

I have tried to find similar question. And I have not get any existing one. I want to prevent deleting administrators from the back end users table. only two admins can delete all users, But other ...
0
votes
3answers
77 views

Need to manually add multiple WP users with same e-mail address (with good reason)

For starters, I'm aware of the concerns generally brought up by many when someone looks for a way to skip duplicate e-mail checks for creating new user accounts. However, In my case, I believe the ...
0
votes
1answer
26 views

Restrict Access to the User Profile

What I want is, give different Roles different kind of access to the user profile. For example, I want to show the section "Name" but not the section "Contact information". From other sections I just ...
0
votes
0answers
79 views

Display user role name instead of user role id in wordpress

I want to display the user role name next to them on an event attendee page. So far I've got it to work using this code: $aanmelding = $EM_Booking->get_person()->ID; $user = new ...
0
votes
0answers
30 views

Textarea is not displaying user data

I am trying to make a form which is editable by user and if the user already added some text it should show that. Once user press submit button, text should be replaced with new text which is input by ...
0
votes
1answer
41 views

How do I add a field on the Users profile? For example, country, age etc

I'm not very good with computers/codes etc. I use a plugin that makes a registration form thingy and in that form I added country, age group, gender and so on. I click the option that will add the ...
0
votes
0answers
22 views

Query Search Not Working for Users

When I search for a User by their first name, all of their posts show up in the dashboard. When I search for that same User and add their last name, it does not show up at all. Not sure why this is ...
1
vote
1answer
38 views

Query posts based on the meta key values of logged-in users?

I searched in WordPress Codes, and all of the online forums and tutorials about this but could not find any relevant solution. What I am trying to achieve is to create a query that lists posts for a ...
0
votes
1answer
26 views

How to make Users sort in reverse order by default?

I have a new site that had over 600+ users imported after the primary development was complete. All but 10 of them are "subscribers" with no admin capability. Since we admins and editors were the ...
1
vote
2answers
96 views

WP_User->add_role producing unexpected results

I recently had to script the adding of a number of roles to a selection of the users in my database. In order to do so I put together a script like this: error_reporting(E_ALL); ...
0
votes
0answers
14 views

Editor user role dashboard permission issues after standalone site has been integrated into multisite

I recently integrated a standalone Wordpress site into a multisite/network instance. When one logs on with a "Editor" user role level to the newly integrated subsite the following message is ...
0
votes
0answers
15 views

view registration page/ log-in page as a user

I'm creating a membership website and I haven't launched the website yet. My question is how can I see simple things as registration forms, and log in pages without already being logged in as ...
0
votes
0answers
35 views

Deleting anonymous wp_users function not working?

So i am "blessed" with the anonymous users created by the plugin WP e-commerce in wp_users and wp_usermeta (this particular WP setup is highly customized). I am trying the following must use plugin, ...
0
votes
1answer
34 views

How to restrict author to only access one custom post type ?

My installed Wordpress have 4 custom post type and 1 default post type. Basically what i want is that the author can also access particular one custom post type. Author must not see other post types.
3
votes
4answers
585 views

How to filter users on admin users page by custom meta field?

The Problem WP appears to remove the value of my query variable before it gets used to filter the list of users. My Code This function adds a custom column to my Users table on /wp-admin/users.php: ...
0
votes
1answer
26 views

Add a sub menu page to the Users menu

I added a new link in my WordPress. The url is wp-admin/users.php?page=business&user_id=2 but when I access the page is says You do not have sufficient permissions to access this page. I know that ...
0
votes
0answers
18 views

How to add new tab and data in Wordpress Users section

I have to add new tab and new data in wordpress users. Please see the image below. The points tab came from the plugin mycred but i don't know what was used. What I think was it was done using: ...
7
votes
1answer
369 views

Different back-end language for different users?

I've been searching the internet for the last hour but I can't find anything up-to-date to do this (all the suggestions are about plugins that haven't been updated in ages, see this question). Is ...
0
votes
0answers
75 views

update_user_meta and wp_update_user not working

I have an array of users that I've successfully updated as described here foreach ($users_out as $key_u => $value_u) { $user_id = $value_u['writer_id']; $user_login = $value_u['username']; ...
1
vote
4answers
231 views

How to get current user's phone number

I'm trying that : <?php $phone = get_user_meta($current_user->ID,'phone_number',true); echo $phone; ?> But it's not working
0
votes
0answers
75 views

Getting invalid user ID error when creating a new user with wp_insert_user

I'm trying to insert users into wordpress from a foreign database and I've prepared my $userdata as foreach ($users_out as $key_u => $value_u) { $user_id = $value_u['writer_id']; ...
2
votes
1answer
46 views

How to work around “that email address has already been used” error?

The following error may occur if a previous registration remains pending with a conflicting email address. That email address has already been used. Please check your inbox for an activation ...
0
votes
1answer
33 views

How to get all logged in user id in buddypress [closed]

I want to get all buddypress logged in user's ID. for that sake i am using $bp->loggedin_user->id But this is not helping.. Please help me to get all logged in user id. Thanks.
0
votes
0answers
17 views

How to track all users logged into a site?

I'm working on a project that may have two or three content creators. I would like to be able to notify any of them if the other(s) are logged in. This is to prevent one user from editing a post that ...
0
votes
2answers
64 views

Custom comment field not showing when logged-in

I've added a custom field in comment by using function comment_label($fields){ unset( $fields['url'] ); $fields['rate'] = '<p class="comment_form_rate" id="rate_recipe"> ...
0
votes
0answers
13 views

Site admin that can see everything, but not save

Maybe it's strange question, but I'm interested in it; Is there any way to allow user display everything, that Admin can see (site options, custom types, plugins settings) but disallow to edit ...
0
votes
0answers
20 views

Hide categories from authors

Is there a possibility to hide certain categories from specific user roles? This must only affect the backend, especially the create post site. On the frontend these "hidden" categories must not be ...
1
vote
1answer
16 views

New users not showing up in Post -> Edit

Background: A client has used first and last names as the user names, and we are trying to replace the old users with new users with more secure user names. We need to assign the posts for the old ...
4
votes
1answer
68 views

Grouping users under parent user

What it needs to be like: one "super user" with user role company normal users with user role employee I don't want "super user" to be able to have more capabilities, especially admin-like ...
1
vote
0answers
18 views

Logins from WP users table use on another page

I'm creating new website and I want use logins from WP table wp_users. I have problem with password encryption. I tried something with PasswordHash(8, True) but it generated string, which doesn't ...
0
votes
1answer
63 views

Change user's display name programmatically

I'd like to change a user's display name using this code snippet in my theme's functions.php file: $user_id = 672; $display_name= 'Les Yeux'; $user_id = wp_update_user( array( 'ID' => $user_id, ...
0
votes
1answer
23 views

Custom Taxonomy user based creation

I need to create a User based Custom Post Custom Taxonomy Term, so in admin and frontend I can relate the Creation/Update & Delete of the term to the current logged in user. Is there a ...
0
votes
1answer
38 views

delete_user_meta Delete one value out of array

The code I have is not working cause the value saved as array and I'm not sure how to fix this. // Remove favorite authors from current users DB function fav_author_remove_user(){ ...
0
votes
1answer
47 views

update_user_meta add value on the top on existing value

I'm working on a plugin that will allow people to favorite authors on WP site. When you click on Favorite this author button, it will send author ID to below function and save that value in DB. ...
0
votes
1answer
44 views

User profile in front-end

I want every user to get a profile in the front-end of my website. So I want to visit website.com/user/user-name and view all the information of this user. Is this somehow possible? I would like to ...
1
vote
1answer
33 views

Create custom post with custom user rules

I am create a custom user post type testimonial and want to give permission to user to edit and delete there post but its show some error. 1. I created user rule. function ...
0
votes
0answers
77 views

Let user delete comment on front end only

I have a edit comments page on my sites front end and have placed a delete comment link for users. The link works however it takes the user to the backend to confirm the comment deletion. I cant have ...
0
votes
3answers
43 views

List all users based on array of domains

I would like to display a list of any users whose emails are detected to have email addresses from an array of domains. $domains = array('domain1.com', 'domain2.com', 'domain3.com'); If any users ...
1
vote
1answer
40 views

How does WordPress connect sites and the wp_users table?

I'm not clear how WordPress connects the wp_users table with the various sites under a Multisite. Say I have a site with blog_id = x then I would assume there's a wp_x_users table that contains the ...
0
votes
0answers
24 views

Can you have the users list pre sorted by specific column?

I would like to organise users by date registered every time an admin visits the users page, without having to click again from: http://localhost:8888/wp-admin/users.php I can add the date ...