The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
User activity logs?
Hi...
Is there a feature to view user logs? such as when the user change password, email address, and using what IP address? lots of member in my forum said they user id got hijacked.. but the problem is.. i cannot see when, or from what ip address the user id got hijacked. and i think this is a good idea, because the logs is very important to troubleshooting a problem. thanks |
#2
|
||||
|
||||
you'd need a query to th database for that information, in phpmyadmin userchangelog table run this query
HTML Code:
SELECT`oldvalue` ,`newvalue` ,`change_time` FROM`userchangelog` WHERE`userid`=1 LIMIT 0 , 30 |
Благодарность от: | ||
Max Taxable |
#3
|
|||
|
|||
hello..
thanks alot.. its works.. but no friendly interface to view this in admincp ? one more thing, in the userchangelog, i saw ipaddress field, how to read that ip, such as: 1854530124 or 3399374709 or 1988691765 |
#4
|
||||
|
||||
just add ipaddress as i have done for the first 3things you see in th query,i think those ae the date/time stamps arent they? you need to check on a unix site for the exact time and date.
|
#5
|
|||
|
|||
There is a mysql function for converting a timestamp, so instead of `change_time` you can use FROM_UNIXTIME(`change_time`). You can even format it the way you like: http://dev.mysql.com/doc/refman/5.0/..._from-unixtime
|
Благодарность от: | ||
Simon Lloyd |
#6
|
||||
|
||||
|
#7
|
|||
|
|||
Quote:
1854530124 <- 185.453.0.124 or 18.545.30.124 ? or ? |
#8
|
||||
|
||||
Thats the date!!!, look at the query it says change_time thats a unix timestamp there isn't any ip information in the user_changelog, didn't you look at it when you were in phpmyadmin?
|
#9
|
|||
|
|||
that a look at this printscreen, it's an ip address field with value "3758089792"
what is the meaning of "3758089792" ? i'm sure its not a valid timestamp, because i convert it to date, the result "Tue, 01 Feb 2089 09:49:52 GMT" thanks |
#10
|
||||
|
||||
That ipaddress column has been added by another mod it's not part of vbulletin!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|