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

learn more… | top users | synonyms (1)

0
votes
1answer
30 views

How to add an attribute to a user?

I have looked for an answer, and couldn't find a clear and relevant answer yet. I want to add more attribute to the users not to display, but only store information about them. The information will ...
0
votes
1answer
43 views

Trying to display user meta by “name” - not by “ID”

I have a form on my website where users can submit their own posts and one of the fields has a dropdown containing various countries so a user can enter their location. I would like this location to ...
-1
votes
1answer
97 views

Check if username doesn't exists

I have a script that imports users via an .csv file. The script checks if a user exists and if so updates it's metadata. If the user does exists but the "status" field contains the word 'archived' it ...
0
votes
0answers
36 views

Change theme layout via “Appearance Customize Screen” on per user basis

I have added some options to the "customizer screen" in the appearance settings on the dashboard of my Wordpress Child theme. All works well by specifying additional headers and theme color options in ...
0
votes
2answers
84 views

Import users once a day without a plugin

I need to import users to my WP database once a day. So I have a script that runs once a day to do an action. The problem that I'm having is that I'm a little over my head on this one. Another ...
0
votes
2answers
31 views

Display Users and user url's

I need some help I have the iteration working for listing the wordpress users however I also want to wrap their names in links and can't seem to get the user url to work... Nothing is returned to me. ...
0
votes
0answers
23 views

How to create user group and add its menu icon to dashboard top level admin menu?

I would like to use the user registration under users to create an option page similar to a custom post type. Afterward, I would like to be able to directly access the created users group by clicking ...
0
votes
2answers
124 views

Manage users custom column add class “num”

I have customized my admin users column to show the purchased leads of a role "lead buyer". The value of the column is a decimal (the number of leads). The "posts" column of the users table has a ...
0
votes
1answer
40 views

custom login form, guide me

i need to make a custom login form but i got a hard time finding references from my google search so i hope someone here is able to point towards some links to lay the grounds for me. A standard ...
1
vote
0answers
34 views

Undeleting a deleted user

I have deleted a subscriber and now everything is gone that I had on my website! How do I 'undelete' him?
0
votes
0answers
25 views

Authenticate Login / Problem when user is created

// check active status (login) add_filter( 'wp_authenticate_user', 'check_active', 30, 3 ); function check_active( $user, $username) { global $current_user,$wpdb; $user_info = get_user_by( 'login', ...
0
votes
0answers
41 views

Use This Code in Frontend

I am using this code, adapted to my needs: <?php /** * Plugin Name: YLDist Profile Checkboxes * Plugin URI: * Description: Profiles * Author: JPowersFreelancing * Author URI: * Version: 1.0 ...
0
votes
1answer
85 views

How to get User Profile path dynamically in wordpress admin panel?

I create registration plugin in front end for user. my all user save as 'subscriber'. Now I wont to get each user profile path from User Profile path dynamically. Simply, Admin Profile path in back ...
1
vote
2answers
65 views

Plugin for limiting user registration based on ip with expiry period?

Unlike most of the spammer/spambot plugins out there, which stop registrations from a known list of spam IPs and email domains, I need to stop malicious users who may try and register more than one ...
-1
votes
3answers
101 views

What techniques can a user employ to achieve a password rated “strong” in the WordPress password checker

I have strong passwords enforced for all my clients but I got some complaints recently as some users tried to change their password and gave up trying to achieve a strong rating. I was initially ...
0
votes
1answer
40 views

Multisite “Skip Confirmation Email” Log Out Problem

I have a multisite setup where I would like site Administrators to be able to add New Users with the Skip Notification Email option. By default, Wordpress only allows Super Administrators this ...
0
votes
2answers
66 views

How to change WordPress user ID?

Is this enough to change the user ID? I'm doing this for security purposes, where the administrator has user ID=1 and I want to keep all posts, pages and content. UPDATE wp_posts SET ...
0
votes
2answers
108 views

WordPress Multisite - Load users using custom query

I have a basic custom query in WordPRess that loads all the users as shown in the following. SELECT DISTINCT users.* FROM " . $wpdb->users . " as users How do I modify it so that I can load users ...
1
vote
0answers
67 views

Allow up to 5 Concurrent Login Sessions

I'm having trouble implementing a concurrent login check. The site needs to prevent more than 5 concurrent sessions for any particular user at one time. Example: User Matt can have 5 active ...
0
votes
1answer
76 views

Sharing users across multiple sites, each on their own database

I have read many solutions out there for sharing users and checked out the other posts on here, but can't find specifically what I'm after, as they all talk about users on the same database. ...
0
votes
0answers
21 views

Remove users who arent member to any site

I need a function who deletes every user who doesnt belong to a site in WP multisite. I dont want to make it manually, i looking for a code who does it every day. Anyone who thinks they can solve it? ...
1
vote
1answer
27 views

Failed login attempts

I'm using WordFence for site monitoring and overall security. I'm seeing some failed login attempts from a couple of different locations with username "admin" and "companyname". I'm not familiar with ...
0
votes
1answer
42 views

main menu page redirects to user ID

I have a site that displays fitness results to clients. It works by showing them a page based on their UID displaying unique charts and graphs etc. I can redirect members to the unique pages on ...
0
votes
0answers
28 views

post attachment's direct link only available to logged-in user (custom role)

I am making very simple PDF / DOC document library. I am handling the document upload using "ACF File" field (uses the native and core WP attachment functionality). There will be a page that displays ...
0
votes
1answer
28 views

How to activate the user search

I'm trying to activate the user search in my wordpress site. Which means that I want also the users on the search result. I have tried some plugins, but none of these gives the solution I want. Is ...
0
votes
1answer
17 views

What Wordpress file is saving new users to database

I need to know, what Wordpress php file is saving new users to database. I can't find it, but I need to modify new users usernames before it's added to DB. Thank you!
0
votes
2answers
66 views

Customize or avoid new admin email address notification

In a multisite network, when you change the main email address in Settings / General, Wordpress sends an email that must be confirmed by the new email recipient. I need to avoid or customize the ...
1
vote
0answers
76 views

Set Display Name to first and last name (phpmyadmin SQL Query)

I'm trying to change all the users Display Names to be their first and last name. I have looked into a number of plugins and wrote my own PHP to try and accomplish this however the site has over ...
0
votes
0answers
50 views

Wordpress automatically do the login after registration

I'm new to wordpress. I'm modifying a plugin that create an ajax form to register a user. After registration if I refresh the page the user is automatically logged in. I don't want it (I need to send ...
0
votes
1answer
94 views

User list order by user meta

i have created user vote that can vote users or author of posts. so for example have 4 users which looks: user --- ID=1 --- META KEY='_thumbs_rating_up' --- META VALUE='13' user --- ID=2 --- META ...
0
votes
2answers
84 views

Bulk delete users from a csv list

I have a WordPress site with 65,000 registered users, about 10,000 of those users are spam bots, inactive account, hard email bonces etc. I have them gathered in a CSV list, how can I use that csv ...
0
votes
0answers
45 views

Ordering list of users by last name and then by first name

I have a page listing users with certain custom roles, ordered by last name in alphabetical order. So far, so good. The problem is when two users have the same last name (i.e. John Doe and Rick Doe). ...
0
votes
0answers
16 views

Delete users thats not members of a subsite

I need a code on the multisite network area to auto delete everyone on the network that isnt member of a subsite. It should delete them every 24 hours or directly. Is there anyone having the slightest ...
0
votes
0answers
19 views

Edit dashboard based on user ID

Is there a way to edit the dashboard based on the user ID? I know this is relatively straight forward when targeting a user role, but how about ID? For a working example, something along the lines of ...
0
votes
0answers
27 views

Deleted user from subsite can still login (wordpress multisite)

I have a problem with Wordpress Multisite. When I delete a user from a subsite, the user is deleted in the subsites userlist but he can still log in. I dont want this, he should be deleted and denied ...
0
votes
1answer
304 views

Get all user meta by meta key instead of ID

I'm trying to compare user meta values to find highest and lowest values. I have a user meta value set up called "hourly_rate". I want to get the hourly rate for all users and then run PHP's min() and ...
1
vote
1answer
44 views

User can not login

I successfully inserted a new user to WP database and I want this user to be logged in right after this. I do it like this User Login Form <?php function dlf_form() { ?> <form ...
0
votes
1answer
57 views

Get current user outside of Wordpress Multisite

How to get current logged in user in Wordpress Multisite outside of it? I tried the method for Wordpress Singlesite and it give the error Call to a member function set_prefix() on a non-object on ...
0
votes
0answers
33 views

Trying to implement user/login sessions on my Wordpress site

I've been going round in circles for a couple of days so have decided to ask for advice :) I recently migrated a private site to Wordpress and can't get the user/login to work. User logs in here ...
0
votes
1answer
32 views

User rank in wordpress post

I saw awhile ago on a support Forum that you can show a authors rank on a post in wordpress but I can't seem to find the post again but instead of words I want it to show an image if anyone could ...
0
votes
1answer
18 views

What's the most secure way to grant a user permission to update in a multisite?

I've created a multisite for a local charitable organization that contains five sub-clinics inside it. I have various plugins running (security, SEO, etc.) in the multisite activated "across the ...
-1
votes
1answer
97 views

How to restrict the amount of categories/post tags/terms for a post type post

I'm in need of a solution that allows me to restrict the user/author to only use maximum of two categories per new post. One post can only have one or two categories. The only similar solution that ...
1
vote
0answers
34 views

Get the User ID Who Owns a Given Blog ID in Multisite

I am working on creating a function that will take a $blog_id and return the corresponding $user_id of the user who owns/created the blog in a multi site network. public function ...
0
votes
1answer
35 views

Iterate through users and display users meta info at front-page

I have a meta field in user called columnista-destacado I need to iterate through Wordpress users and if that field has valued set (lets said equal 1) then I need to display user meta info at ...
0
votes
0answers
43 views

Delete Users using a Front End Form

I viewed this question and would like to see how it was solved. I've been looking all over for help with this. I'm not sure if this link needs to be used within a <form> element. This is the ...
0
votes
0answers
103 views

is_user_logged_in() not working after domain change

I am relatively new to Wordpress and I recently moved a WordPress website from one domain to another. I went through and fixed all the links and references that I could find. Now my website has all of ...
6
votes
1answer
197 views

Automatically delete inactive users after 2 months

I am trying to modify this function: // automatically delete users after 7 days in wordpress function wcs_auto_delete_users() { global $wpdb; $query = $wpdb->prepare( "SELECT ID FROM ...
0
votes
0answers
26 views

WordPress accepting log ins with blank password and incorrect passwords

I'm working on someone's WP site and one of the bugs they have is that as long as the user is registered and exists in the wp_users table they can log in to the site without entering a password or ...
0
votes
0answers
162 views

User registration and activation email in custom form

I have implemented a custom login and registration form in WP as mentioned here. User can now register but can not login until admin approves that user from backend. I need to implement admin ...
0
votes
0answers
30 views

Bulk user registration

I want to bulk register users for my wordpress site. There could be 50-100 users, so is there any way i can register them at the same time?