![]() |
Login log - Log successful login attempts
1 Attachment(s)
Hi,
This plugin will allow you to log all successful login attempts of all users. This can be useful to see if users share their account or if the account of someone got hijacked. Usernames and IP addresses can be clicked. It will log the following - Userid - Username - IP - ISP (Internet Service Provider) - Country - HTTP user agent Settings: - Enable/disable the product. - Exclude usergroups from being logged. - Purge the logs. Picture https://vborg.vbsupport.ru/attachmen...1&d=1401289428 Installation 1. Download the .zip file specified. 2. Upload the contents of the upload folder to the root of your forum. 3. Import the product with the .xml file in the import folder. Note The script will log using the current time on the server, in case there's a difference between the server time and your local computer time, you can change the offset in the loginlog.php script on line 12. Also keep in mind that the country and/or ISP resolving might not be 100% accurate and that it might show no value in the logs. Credits Telize.com its API is being used to get the ISP and country off the IP address. Let me know if it works well. :) Changelog 11 June 2014 V4: Added the table_prefix global to the login hook. 5 June 2014 V3: Fixed searching only showing the last 25 entries. Pagination will now work as intended. 30 May 2014 V2: Changed hook location, added enable/disable setting and a setting to exclude usergroups. 28 May 2014 V1: Fixed a little mistake with the filter. |
Thanks for sharing. :)
|
Looks good but you may want to fix the double user sessions being logged. Mobile/Tapatalk seem to cause a lot of trouble and tripple actions.
|
Quote:
I use the login_process hook, which is defined as "creates new session once $vbulletin->userinfo has been set to the newly logged in user". Could you change the hook at the plugin manager to login_verify_success instead of login_process, see if that works? I can't test that myself as I don't have Tapatalk installed. |
Can you target this for specific usergroups?
|
Quote:
|
I updated the plugin.
Changed hook location, added enable/disable setting and a setting to exclude usergroups. |
thank you
|
Quote:
|
Quote:
|
All times are GMT. The time now is 06:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|