Is there a way to void sharing of username (based on ip address or login at same time in different location) for WordPress? If there is a plugin just to track IP address and login time, it should be fine too. Thanks
Leave a Reply
You must be logged in to post a comment.
you could add this to your functions.php or a plugin file.
This will work in only one direction though. Any time a new login is processed it will lock out the old one. If you wish to reverse that you’ll probably need to write a lot more code so that a user can break a lockout etc.
You could also accomplish this by replacing the appropriate functions in ‘wp-includes/pluggable.php’
I’ve tested the above code to work with WordPress 3.1.
Tested in 3.6.1 and works well, except the function “check_one_cookie” has to be updated like this:
$storedcookie should be relaced by $storedcookie[0]
(and do not forget to replace the COOKIEPATH, COOKIE_DOMAIN by your own data)
I’ve not used this, but the IP Logger WordPress plugin looks promising. It has a lot of logging and management features.