![]() |
|
Mod Options |
![]() |
|||||||||||
Login log - Log successful login attempts
![]() Developer Last Online: Aug 2021 ![]() ![]() ![]()
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 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. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
The following members like this post: josner, elsa23, puertoblack2003, minhmeo.info, madness85 and 2 others.
|
Comments |
#2
|
|||
|
|||
Thanks for sharing.
![]() No members have liked this post.
|
#3
|
||||
|
||||
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.
No members have liked this post.
|
#4
|
|||
|
|||
Originally Posted by MentaL
Hmm weird, I looked at the PHP code of Tapatalk but I'm unsure what's causing it.![]()
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. No members have liked this post.
|
#5
|
|||
|
|||
Can you target this for specific usergroups?
No members have liked this post.
|
#6
|
|||
|
|||
Will add this feature, keep an eye on this thread.
No members have liked this post.
|
#7
|
|||
|
|||
I updated the plugin.
Changed hook location, added enable/disable setting and a setting to exclude usergroups. No members have liked this post.
|
#9
|
|||
|
|||
Could you also get it to log all actions for admins in a more advanced way? Also thanks for the update.
No members have liked this post.
|
#10
|
|||
|
|||
Could you elaborate this?
No members have liked this post.
|
#11
|
|||
|
|||
When you 'filter' someone (eg, a userID or username) it only shows a single page of results and hiding the rest with no next page, etc. Might be a slight bug/issue.
No members have liked this post.
|
#12
|
|||
|
|||
Working on this! Can expect an update soon.
No members have liked this post.
|
#13
|
|||
|
|||
5 June 2014: Fixed searching only showing the last 25 entries. Pagination will now work as intended.
In case you have this product installed already, you only have to replace the loginlog.php file in the admincp folder. No members have liked this post.
|
#14
|
|||
|
|||
I've installed on 2 different test servers both which have a prefix for all the vbulletin tables of "vb_"
When importing the product it creates the loginlog table with the correct "vb_loginlog" name but when trying to login afterwards using the "login.php" - it gets an error because it's not adding the prefix of "vb_" ie: Table 'mydbname.loginlog' doesn't exist It should be using mydbname.vb_loginlog Hope this makes sense ![]() No members have liked this post.
Last edited by Bluemax712; 10 Jun 2014 at 17:45. |
#15
|
|||
|
|||
Originally Posted by Bluemax712
Oops forgot about that. Fixed in V4, now available to download.
![]()
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 21:03.