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

learn more… | top users | synonyms (1)

0
votes
0answers
13 views

Upload files programmatically to users

i'm using pods plugin to add new custom fields to user so i added 4 files custom fields and then trying to upload files to this fields from registration page and create new user but when i upload the ...
-1
votes
1answer
26 views

How to limit users from accessing other users [on hold]

I'm trying to limit certain users from seeing certain other users within the database. We have a company that allows banks to register within their site with a membership. That company can then add ...
2
votes
1answer
448 views

Delete user from frontend

Hi I am working on a frontend admin where a user must be able to delete his account. current_user() is a custom made function of me that retrieves the user meta data. Does anyone know how I can make ...
0
votes
0answers
9 views

How do I hide specific user profile fields?

I am using a membership plugin which pulls default WordPress user profiles to a directory. I want to hide these fields from my registered site users. I have searched for plugins and found nothing that ...
16
votes
2answers
17k views

How To Add Custom Form Fields To The User Profile Page?

The user profile page has the following fields: Username First Name Last Name Nickname Display name Contact Info E-mail Website AIM Yahoo IM Jabber / Google Talk How can more fields be added to ...
0
votes
1answer
16 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
2answers
434 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
13 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
5answers
3k views

How to check if a user exists by a given id

Is there any way to check if a user id exists? I want to create a function similar to username_exists() but which returns if the id exists or not.
1
vote
3answers
36 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( ...
-1
votes
1answer
17 views

Plugin to allow page redirects based on user role? [closed]

I have installed the UserPro plugin to manage two different user roles on a property company's website - owners and renters. Both roles have access to distinct My Community pages, and neither can see ...
-3
votes
1answer
24 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 ...
3
votes
4answers
1k 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 = ...
0
votes
0answers
14 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
1answer
34 views

multiple wordpress installation with shared usertable on an different database

I have multiple wordpress installation, and I would like them to share the same usertable. The wordpress installations are already up and running, and they all have their own database. Is it ...
0
votes
0answers
10 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
11 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
19 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'. ...
-1
votes
1answer
25 views

Event Manager Plugin

I am using the Events Manager plugin (https://wordpress.org/plugins/events-manager/). All users are able to posts events and can view their own events when logged in. I was wondering does anyone know ...
2
votes
3answers
2k views

How to export bbPress (forums, topics, replies) and all users?

I've searched a little and I could not find a straight working answer. I want to export all users and their bbPress(2.1.2) forums, topics and replies to another fresh WordPress installation? If ...
3
votes
3answers
134 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: ...
1
vote
2answers
33 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 ...
0
votes
2answers
35 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 ...
0
votes
2answers
1k views

Best way to get user id for get_users function?

I'm trying to make a table of users by role type. What is the best-practices method of getting the user id? My goal is to print each users first & last names, username and email. What I have now: ...
0
votes
3answers
1k views

get current user not working

I was trying this code to get current user info, but showing nothing. My WordPress version is 3.3.1 <?php wp_get_current_user(); /** * @example Safe usage: $current_user = ...
1
vote
1answer
657 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. ...
1
vote
2answers
547 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 ...
22
votes
3answers
10k 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 ...
1
vote
1answer
30 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
50 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
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 ...
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:
1
vote
1answer
149 views

Reset Wordpress website

I have a website to demo plugins, and I want to allow users to login, but I am not sure how to reset the website once they log out. Is there a way to create a separate instance of Wordpress for each ...
0
votes
1answer
432 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
1answer
22 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 ...
1
vote
1answer
919 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 ...
0
votes
0answers
10 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
2answers
466 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
2answers
408 views

Prevent Admin user to edit/see super admin from users list

How do I hide my super admin from the users list? My client has to be the ability to create users, but not edit/see my super admin user. Is that possible?
1
vote
5answers
25k views

How to change user`s avatar?

Is there a way o changing user's avatar without plugins? Why there's no "Avatar Upload" section in Users > Your Profile? I can't use a plugin. Am I blind or being forced to use Gravatar? ;/
0
votes
1answer
33 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
0answers
17 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
25 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 ...
3
votes
2answers
3k views

How to obtain the user ID of the current profile being edited in WP-Admin?

Is there a way of obtaining the user ID of the profile being edited in wp-admin? I know it's in the URL if you are editing a user, EX: ./wp-admin/user-edit.php?user_id=427. Could always ...
0
votes
0answers
13 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
2answers
75 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
1answer
18 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 ...
0
votes
0answers
7 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
12 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
27 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, ...