The plugin is very useful, I just don’t understand why it marks users’ logins one hour behind the real time, and there is no way to change the local time…
]]>How do I export the data for “last login” and “login count” for all users? I added a plugin to export user data, but the last login and login count don’t export.
]]>The login count shown on the List Users page is sorting the user count alphanumerically as opposed to numerically. This is because you’ve used a User Metadata field to hold the count….which is alphanumeric by design.
Are you able to resolve this?
I’m having an odd issue hoping someone can help. I have managewp backups plugin installed. It keeps throwing this error:
Call to undefined function Plainsurf\WordPressPlugin\get_current_screen() occurred in wp-content/plugins/ps-user-login-count/wordpress-login-count.php on line 142 please make sure that?your website?is accessible
Not sure what I need to do
]]>1. Install WPCode snippets library
2. Paste in the following code block into a PHP code type
3. Change the user ID below (currently 100) to the user ID that you want the login count to reset for (positive int only!)
4. Change the login count (200) to whatever you want below
5. Save snippet
6. Turn snippet on
7. Save again (this is what actually runs the snippet)
7. Check user login count in WP admin
8. Turn snippet off
9. Save snippet
10. If you need to run this again in future, change any instances of “01” below to an incrementing number
11. If you need to run this for multiple IDs, leave a comment
function scratchcode_run_code_one_time() {
if ( !get_option('run_only_once_01') ):
// Execute your one time code here
$user_id= 100;
$login_count = intval(200);
update_user_meta( $user_id, 'wp_login_count', ( (int) $login_count ) );
add_option('run_only_once_01', 1);
endif;
}
add_action( 'init', 'scratchcode_run_code_one_time' );
`
]]>Hi there,
How do I reset the counters ?
I couldn’t find how…..
Thank you for helping me with that.
Best regards
Jean-Christophe
Hello,
Please can you add a feature to determine never logged in users.
It will be a new filter tab called (Never Loggedin)
Thanks
]]>