![]() |
[OzzModz] Log Selected Members Login/Logout IP
Another mod brought to you by,
https://vborg.vbsupport.ru/external/2015/01/1.png Here is a small modification you can use to log selected users or usergroups IP's when they login or log out of your site. Q. Why do I need such a thing, you ask? A. Sometimes members, or you and your staff, feel their accounts are being compromised and without the hacker posting etc, no IP's are logged and there is no proof. Now you will have a log for such a thing. Also it was requested by, Loget, here Log IP addresses. It is a simple installation, upload the file, ozzmodz_log_login.log, in the UPLOAD folder, to your forum root, then import the product XML, product-ozzmodz_log_login_ip You can edit the options under the settings, OzzModz: Log Login/Logout IP Settings Complete Feature List
Q. Why do I need such a thing, you ask? A. Sometimes members, or you and your staff, feel their accounts are being compromised and without the hacker posting etc, no IP's are logged and there is no proof. Now you will have a log for such a thing. Also it was requested by, Loget, here Log IP addresses. Q. How do I view the log? A. Navigate to the log file, in your forum root, via FTP, and view it from there. Q. How do I clear the log entries? A. You can clear the log by deleting the entries and saving. Q. How do I read the log? A. It will have the info in this format, Date, Time, Userid, Username, IP Address. ------------------------------------------------------------------------------------------- If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ----> Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ----> What does 'Marking As Installed' do ? * It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available. * For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention. * Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications. I appreciate the support! ------------------------------------------------------------------------------------------- v1.0.0 Initial release. v1.1.0 Added logging of usergroups ability. |
Awesome! Though this would be really useful if it logs by usergroup(s) as well. Easier to set than setting it per userID.
|
So you think their is a whole usergroup that may be compromised?
|
Oh, no. There's a forum that I manage that often has people that attempts to scam other people (real money). It's Team Fortress 2 related. The more systems we have in place that logs IP's, shared account information, etc, the better. This would be a good system to have in place as well with the additional logging systems we have already.
|
Ok give me a bit, it should be a simple addition. I should have it done some time today.
|
Thanks, appreciate it.
|
Done. v1.1.0 Added logging of usergroups ability.
Remember to mark as installed if you are using the mod. :) |
Installed, though out of curiosity. Isn't ozzmodz_log_login.log viewable for all if installed in root? I just tried it, and it just downloaded the *.txt file, of which anyone can download. Bit of a security risk. Can't the logs be placed under the AdminCP logs like other log statistics?
|
That is why you have the ability to rename it, the people would have to know the name of the file in order to see it.
|
So you can move the file into your admincp folder, then in the setting use this.
Code:
admincp/ozzmodz_log_login.log |
Great modification! If the logs showed in admincp only, on a page, say ip_logs.php that would be wonderful! :)
Marked as installed. |
I think it is better the way it is, you can save the file to your comp this way, and have a hard copy. :) Thanks for marking as installed.
|
Have you any chance to add option for Log view on Admin CP ? I would like to Log view on Admin CP without cPanel !
|
No as this is stored in a file, not in the DB.
You can download the log by typing the location and name of the log in your browser, Code:
http://mysite.com/forums/ozzmodz_log_login.log |
That good it not use DB !Can you add Admin CP Nav than add option view log location ozzmodz_log_login.log?
|
No, as I would not know what you named the new file to, or what folder you put it in. And as far as I know, there is no way to get that info from the settings, and tie it into a link.
As I said above, just navigate to the file in your browser. It would be the same thing if I was able to add a link in the ACP, you would still be prompted to download the log, or open it with a program. |
I Could Have Done This Myself ! I want share add a menu Login/Logout IP log view on Admin Panel , So Login/Logout IP user can use this Features !
Instructions for Use: 1.Download the XML below. 2.You?ll need a program like Notepad++. Open the XML up in your chosen software and make your adjustments. Code:
http://www.yoursite.com/ozzmodz_log_login.log Login to your Admin cp and the new links will be showing under Login/Logout IP. Attachment 146906 |
Yeah that will work, as long as the users add their file name and location to the file. I don't like doing stuff like that, I prefer it to be automatic. :)
Don't forget to mark as installed if you are using the mod. |
I am not installed or using the mod. I just put my opinion !
|
Not a problem, thanks for your input. :)
|
A suggesting instead saving in a log file if we show user his previous ip and present ip in forum home then user can easily undertsand who logged his account before.
OR Another better option is show last 5 login ips. |
Maybe something to consider for future versions.
|
thanks for this mod, but can you make the store data in Database instead of file. so can be open the log from admincp and sorting data with ip, or date, or username (see how many ip use the member for that account)
also can clear the log from database, also can clear log for exact time only ... |
TBH I avoided putting it in the db don't need unnecessary stuff being stored in there. If you stay on top of the log you will see patterns quickly.
|
Im getting a ton of "unregistered" lines in the log file.
I have no userIDs entered and about 6 usergroups selected, unregistered is not one of them so I don't know why they are being added to the log file. The time stamp also seems to be off 03-11-2014,11:48 PM, 03-11-2014,11:48 AM 03-11-2014,03:48 PM 03-11-2014,11:48 PM 03-11-2014,11:48 AM 03-11-2014,11:48 AM 1) Times are switching from AM to PM 2) there's a random 3:48 time listed (is this based on members time zones not the site time zone? |
Not totally sure, I have not seen that before.
|
doesn't seem to be working for me. Had a member login 2 days in a row, send PMs, but no posts and he's not listed in the log file.
|
Is his user ID set to be recorded, or is he in a group set to be recorded?
|
Quote:
Here's the kicker though: if I choose "No" for the Product Is Active option, it works as intended. Barring the fact that the plugin is not deactivated as it should be, the IPs are logged correctly just for the usergroups selected in the AdminCP. However, the time reported for the logins is still out of whack regardless if the product is set to active or not. E.g (time should be 09:51 for all of them): 04-09-2014,09:51 04-09-2014,09:51 04-09-2014,08:51 04-09-2014,09:51 04-09-2014,08:51 04-09-2014,06:51 04-09-2014,09:51 04-09-2014,06:51 Glitch in the Matrix? :confused: |
Not sure, I'll have to look into this some more.
|
Awesome plugin, Any chance we can look usernames up in the admincp instead of manually going into FTP to check?
|
It has been asked about that before, and to be honest I had no intention of adding tables to the db to store the information. :)
|
I too am getting lots of lines showing Unregistered, and I only have 2 users selected
Any suggestions? ps Have marked as installed |
Try this just for the heck of it.
Quote:
|
i upload in admincp
and using link mysite.com/forum/admincp/ozzmodz_log_login.log its show me only white page also i upload cpnav_log_pannel.xml xml file in include/xml folder then also same white page also edit xml file to link mysite.com/forum/admincp/ozzmodz_log_login.log |
Well, you can not access the log on the site at all.
Q. How do I view the log? A. Navigate to the log file, in your forum root, via FTP, and view it from there. |
sir mean to say we can see detail after download logfile ?
and cant see log detail in admincp ? |
Correct. :)
|
Great seems to work!
Btw how can I disable the "Unregistered" to be logged? |
It only logs them if they are logging in.
|
All times are GMT. The time now is 10:52 PM. |
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:
|