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

learn more… | top users | synonyms (1)

0
votes
1answer
52 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 ...
5
votes
3answers
5k views

Why are my roles not visible in a Multi-site/Network?

My network is showing roles in some sites and not in others. For some reason that I can't explain, when I add a new user, I have no role to choose from on the drop down box of a sub-site in my ...
-1
votes
1answer
143 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 ...
4
votes
4answers
9k views

How to restrict access to uploaded files?

I have a restricted area on a website that can only be accessed by logged in users. For that I created a page template with a 'current_user_can()' condition. My problem is that the documents attached ...
0
votes
0answers
48 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
1answer
814 views

Get User Role by ID not working

I'm using the PHP code seen at the bottom of this post to get the user's role from user ID. It works, but fails if the user role has been changed after registering. I've been looking for ages trying ...
0
votes
2answers
140 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
41 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
1answer
691 views

Redirect based on log-in status per JavaScript

I want to check if a user is logged in. If he is, I want to redirect him to page A, and if he isn’t to page B. The redirect should happen per JavaScript after a button has been clicked – so I need ...
0
votes
0answers
38 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
1answer
47 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
35 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
29 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
3answers
3k views

Redirecting or displaying a message on first login

I've been trying to decipher a way to display a message to a user on first login and can't seem to get it to work. I'm not sure what I'm missing, or if there's something else I need to do. Any help ...
0
votes
2answers
116 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 ...
-1
votes
3answers
111 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
0answers
45 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
127 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 ...
0
votes
1answer
62 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 ...
1
vote
2answers
110 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 ...
0
votes
2answers
128 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 ...
0
votes
1answer
104 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
2answers
671 views

customizing wp user with custom fields

I want to allow the admin of a site i'm building to highly customize the wordpress user. This will be a highly advanced plugin so I'm fine creating a whole new page in the admin to do this ...
1
vote
0answers
116 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 ...
2
votes
1answer
198 views

Is there a simple way to manage capabilities per user?

I have a WordPress-Site where some people (non-expert clients) need to create/manage users. The site uses multiple custom post types and each user is assigned permissions for one or several of those ...
0
votes
3answers
2k views

How to keep track of user logins?

I have a client with a private Wordpress blog - that is to say, you need to log in to read it. We are using Counterize to keep track of visits to the site and to find the most popular pages. But now ...
1
vote
1answer
37 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
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? ...
0
votes
1answer
48 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
39 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 ...
4
votes
2answers
643 views

Set a maximum upload count for users on a specific user role

For users with the Contributor user role, I want to restrict the total amount of images that they are allowed to upload. I found this code posted on an answer here: add_filter( 'wp_handle_upload', ...
0
votes
1answer
19 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
89 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 ...
0
votes
2answers
488 views

Delete all subscribers from wp_users and wp_usermeta a few thousand at a time

I have a site with 70K spam subscribers, and I don't need any of them. So I need to delete all subscribers from wp_users and each user's associated meta from wp_usermeta using a query in adminer ...
1
vote
0answers
118 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
70 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
132 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
0answers
49 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
18 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 ...
3
votes
1answer
78 views

Network installation giving errors when viewing or adding a user

I have just installed a fresh version of WP which I have turned in to a network install (using the instructions found here). All seemed to be going well, and I was able to add a new site ...
0
votes
0answers
22 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
34 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 ...
3
votes
3answers
3k views

Whats the best way to share user data across multiple Wordpress websites?

First of all, Multisite isn't what I'm looking for. I have 5 websites using Wordpress all on separate domains that I would like to enable user accounts for. I need user data to be shared across the ...
4
votes
5answers
2k views

How many users can WordPress handle?

I want to design a member login site in WP but I have a doubt that is WordPress can handle more than 40000 users on same database? I am not sure about this so I am stooping my work here. So please ...
0
votes
1answer
547 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
51 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 ...
1
vote
1answer
243 views

MS Access to manage WordPress Database

Now I don't believe this is practical or possible without a large amount of development. My client's old site used MS Access to manage the user's profiles on his old website. His new site uses ...
0
votes
0answers
42 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
965 views

Wordpress User Profile Upload - If page is saved file reset

I have various different extra profile fields which I have set in functions.php however with the upload one if a user uploads an image and saves the form the image is set, however if they go back and ...