IP Address Logs - Help
Posted: February 1st, 2012, 8:37 pm
I desperately need a log of IP addresses used for each member so I can see if they are cheating or getting locked out for "legitimate" reasons. Logging IP addresses and doing a geo-locate would help me determine what action to take, such as permanent suspension, on the worst offenders.
I tried using this plugin http://wordpress.org/extend/plugins/simple-login-log/ and it doesn't quite work (logs admin access, and unsuccessful login attempts, but normal logins don't seem to trigger a log entry). It's using this hook to fire its function that appends to the log. Any reason why it wouldn't trigger for a s2 level 1 user?
add_action( 'wp_login', array(&$this, 'login_success') );
Can you guys think of some sort of workaround, and/or incorporate this functionality into S2 member? The plugin I referenced is GPL and shouldn't be too hard to duplicate its (very useful!) functionally.
I tried using this plugin http://wordpress.org/extend/plugins/simple-login-log/ and it doesn't quite work (logs admin access, and unsuccessful login attempts, but normal logins don't seem to trigger a log entry). It's using this hook to fire its function that appends to the log. Any reason why it wouldn't trigger for a s2 level 1 user?
add_action( 'wp_login', array(&$this, 'login_success') );
Can you guys think of some sort of workaround, and/or incorporate this functionality into S2 member? The plugin I referenced is GPL and shouldn't be too hard to duplicate its (very useful!) functionally.