Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
0answers
14 views

Need recommendation for good User Importer [on hold]

I understand that "Asking to recommend a product (plugin, theme, book, hosting provider), tool, library or off-site resource is out of scope of the site, as it attracts opinionated answers and spam..."...
0
votes
0answers
10 views

Intercept password prior to wp_update_user committing and hashing?

I'm using a plugin that uses wp_update_user instead of password_reset and I need to use the password prior to hashing to sync the change to a secondary authentication system. Is there any way to do ...
1
vote
1answer
29 views

How to change user starting role in WordPress MultiSite?

I am using WordPress MultiSite. Where can I change user starting role? It does not show under Settings > General > New User Default Role.
0
votes
0answers
13 views

Limit user roles when users are creating new users in Multisite

I am currently playing with multisite setup of Wordpress, and I have question about limiting user creation with some roles. I have created four new roles, so I have now these: 1. Wordpress roles - ...
0
votes
0answers
9 views

wp-admin/users.php redirects to home

I was trying to redirect authors to go automatically to the homepage. But for some reason I can't go to users anymore in the admin menu with my admin account. When i click on users it redirects me ...
0
votes
1answer
9 views

Didn't get array of users like in delete action WPList table in users tab

I am adding a bulk action assign just like delete. add_filter( 'bulk_actions-users', array( $this, 'add_bulk_action' ) ); /** * Add Bulk Assign Action. * @param array $actions Current ...
0
votes
1answer
22 views

Show Wordpress users in grid with image and name

I'm looking for a way to display Wordpress users on a page in a grid. Ideally with an image and a name. It's for a face book page (not Zuckerberg's blue version) on a company's intranet. In my ...
0
votes
0answers
8 views

Wordpressl user authorization from ionic 3

I am trying to access Wordpress (CMS) and Civicrm (CRM) from Ionic 3 Mobile application - using same login page So, I am trying to login to Wordpress- Using BaseUrl, username and Password - Is this ...
0
votes
1answer
20 views

Is there any action /filter hook I can use to disable login for some user role?

I want to block user role called "pending" loging to the site. (pending is a custom user rolled created by me). Is there any action/filter to block all users who are in "pendin" user role?
0
votes
1answer
23 views

Create relationships between users or user roles

I have a site where doctors and patients are registered. It provides services like where patients (role-patient) are registered themselves and after my support person (role-support) assign that ...
1
vote
0answers
18 views

WP_User_Query - searching multiple fields

I have a search engine where I can search for users on the front end. Profiles have mulitple custom fields. I'm just searching first and last name in this example. The problem is I can search for a ...
0
votes
0answers
20 views

Sort Custom Column in Admin Users Panel

I have added a new column in admin Users Panel that shows the last date when an user has submitted a post. Everything is working well but now I just need to make it get sortable and I am a bit stuck ...
0
votes
1answer
23 views

Possible to have duplicate usernames on different two multisites

I have a multisite set up with two sites setup: example.com/site01 example.com/site02 With both sites, they are using the same custom theme which generates a default list of users (publisher01, ...
-1
votes
0answers
19 views

User Location in a pop-up and in header

How can i implement this feature in wordpress (woocommerce) site. Is there any plugin to do it? for reference check this site licious
0
votes
1answer
25 views

How can I delete a user from entire multisite nework

I'm making a front-end user delete button but it only removes the user from the current installation and I need to remove them from the entire multisite network so they are able to sign up again with ...
0
votes
1answer
11 views

Use WP user status (logged_in) to manage access to independent application

I have WP installed in the root of my website. In the same directory there’s a completely independent application. What I want to do is the following: when the user accesses the page containing the ...
0
votes
0answers
22 views

Toolset / User Role Editor: Custom Role unable to assign custom post type to taxonomy

I created custom type post with taxonomies using toolset and create custom roles for my event manager to handle the website using User Role Editor. I managed to create capabilities via function.php ...
0
votes
1answer
16 views

Disabling user capability to edit_posts or delete_posts in the front-end

I've created a post edit form in front-end of the site, this form is accessible on the front-end ONLY if the user is logged in. Now, for some reason, upon a certain condition is met, I want to DISABLE ...
0
votes
0answers
18 views

Is there a way to let users download images from a gallery?

What is the best way to let users download images from a gallery? I tried using the NextGEN Gallery plugin with the download addon plugin, but it looks horrible on mobile devices. Thanks again, ...
0
votes
1answer
26 views

Delete user from multisite when removed from subsite

I am using the multisite setup of wordpress. My subsites are managed my administrators of other organisations. Problem: When a user is deleted on a subsite by the administrator, its records still ...
0
votes
1answer
15 views

Redirect /member/ to /member/user

Is it possible if an user is loggued to redirect /member/ to /member/user ? (User is the display_name) If yes, how can I do this ? Thank you ! :) thanks to Jack, I tried to search on google "Wp-...
1
vote
3answers
59 views

Redirect users based on custom field

I'm a novice at Wordpress and i'm pretty sure what i'm looking for is really easy. I have an issue with a function that doesn't work : function user_homepage() { if ( is_user_logged_in() ) { ...
0
votes
1answer
33 views

I've removed my /author/ slug but it clashes with new and existing pages. Any fixes?

I've successfully removed my author slug using this tutorial: https://wp-snippet.com/snippets/remove-author-prefix-from-slug/ so it's like website.com/author/cixxy to website.com/cixxy My question ...
0
votes
0answers
13 views

Access the external mySQL database to create, update and delete users though forms on WordPress pages

I have looked around for a WordPress Plugin to manage a divergent group of users. There are three types of users and each of them has a different registration requirement. By using the “standard” ...
0
votes
0answers
8 views

Get online users by their role

I have a couple of members having different custom roles in my site. For Example, when anyone registers, they register under a group and the group name is append with their display_name in wp_users ...
0
votes
1answer
33 views

Change page password every day (predictable password ;) )

I've got a WP page containing a survey. The survey will be accessed by different people everyday (for simplicity say everyday for the whole year). I would like to password protect it and the password ...
0
votes
0answers
15 views

Add another role to a user when they click a button?

On my site, there are roles "user, authors, etc.". Default role for user is "User" which I want to keep it for all users. How to add another role to a user when they click a button? I tried with my ...
0
votes
1answer
45 views

How can I store user preferences in WordPress and retreive them later?

I have a WordPress website where I want to give users some options to sepcify how they want to see the site. For example, they can choose from a given set of fonts, menu color etc. I am assuming this ...
0
votes
1answer
26 views

Cannot Update user meta in custom field

I have field to change user meta but update user meta does not change add_action('user_register', 'save_extra_fields_country_institution_user_form'); add_action('profile_update', '...
0
votes
1answer
25 views

Simulate Update User button click

I have a site running Paid Membership Pro and I'm adding a user membership level via a Webhook from Chargify. I use a function in the Stranger Studios Multiple Memberships Per User plugin https://...
0
votes
0answers
11 views

Mass mail users that linked to a custom post type

On a website for organizing events my client wants to mass email the attendees. So I need to pass the wordpress users that are linked to an event (which is a custom post type) to a mailing plugin, ...
0
votes
1answer
69 views

wp_insert_user always tries the same user name

The page name with my form is "Register", which means the slug is "register". That is the first piece of info that is tied to my theory about my error. When I run wp_insert_user I get a success the ...
0
votes
1answer
21 views

Get user active posts randomly

I am having an array of product ID $products_ids = array(183,185,101); I am having list of user IDs $user_ids= array(142,234,236); I want to get a single post by an user randomly but i have to ...
0
votes
1answer
22 views

How to programmatically read the plan text password when user register?

I have code to check the strength of password. It returns the strength of password. What I want is, I want to read the plan text password when user registering. Then I need to pass that password to ...
1
vote
1answer
15 views

Custom default filtering in the user admin panel disables the other sortable columns

My setup I've got a question on the filtering on the user filter in the admin panel. I've added the code to display the "registration_date" filter, which is working fine. I found this website to ...
-1
votes
1answer
30 views

Woocommerce customer role doesn't change if user is already a subscriber [closed]

I noticed the following behavior on woocommerce : I have a user on my website who is already registered with 'subscriber' role. When I login and checkout on my woocommerce shop, user role still ...
0
votes
0answers
11 views

Add new user & automatically create a page for that user only that user & admins can edit

This is what I want to do is there any plugins available I want to be able to Add a new user & automatically create a page for that user only The only people that can edit that page is that user ...
0
votes
0answers
27 views

Updated user role inncorrect when using wp_get_current_user()

I ran into an issue with updating a user role, and then checking the current role somewhere later in the code. After an entire day of debugging, and a night's rest, I figured it out by chance. See ...
3
votes
2answers
65 views

How can i force Display names to be the same as Usernames?

i need help. My users register to the website. They type their username user_login (see chello) but the Display name (see chello04) is not the same. It has a random two digits at the end. Is there a ...
0
votes
0answers
17 views

How to force authors to 'submit for review'?

So currently when authors add a post they can publish it straight away. How can i change it so that all their posts need to be reviewed first? I've seen a few codes that can solve that but when it ...
0
votes
1answer
28 views

create a table using user meta custom data

I am trying to create a table that is populated by the users: name, points, training completed. All of this data is in the users admin section. Is there a plug in or code I can look at to understand ...
1
vote
1answer
23 views

Function to allow “Anyone can register”?

I'd been crawling the codex but can't seem to find a function that will allow me to programmatically enable the User registration system. Hopefully, I can make a custom plugin that will enable User ...
0
votes
0answers
9 views

User custom data show in a table

I want to show the user that is logged in what his/her points and training are in a table. They are both in the user data section in wp. Any suggestions, add-ons?
1
vote
1answer
30 views

Assign role to user on first login, if they are first (after admin)

I'm running a Wordpress Multisite. I want the first user to log into a new site to be assigned the Administrator role, so they can administer the other roles. The second user, and all users ...
1
vote
1answer
23 views

Modify user profile data through scripting?

I'm developing a site which will have various Unity games hosted on it, and I want to be able to record the scores the users get in their profiles. I've seen various plugins for adding custom fields, ...
1
vote
0answers
23 views

How to add user from front end

These all things are about WordPress, I want to know that how to give permission to "Subscriber" to add another user having a role "shopper" (I have already made a shopper role using code in function....
2
votes
5answers
46 views

Redirect after users complete profile form

I have a user registration form implemented and working correctly on the front end of a website. My main issue is that I would like to redirect a user after completing the profile form. My idea ...
3
votes
0answers
33 views

How to track user progress?

I'm looking to build a very lightweight learning management system of sorts. I'll have 2 custom post types "Course" and "Lesson". I will associate the Lessons to the Courses, probably by using the ...
1
vote
1answer
19 views

wordpress disable login for unverified user

I have buy a theme form marketplace. This page is auto login after registration. I want to disable auto registration after login and without approving user by admin user can't login. How can do that? ...
2
votes
2answers
71 views

wp_delete_user with username

wp_delete_user() function requires user ID and [optional] reassign ID if the content is to be reassigned to another user. All users' user names are also unique as WP doesn't allow duplicate user ...