amykhar
03-23-2003, 10:00 PM
As many of you know, I have a little April Fool's joke in the works. I used this as part of that joke and am releasing it in case anybody else feels silly or in case somebody is really concerned about their own privacy.
Normally, when a user is online, his IP address shows up to admins. His IP is also logged when he posts. Well, if one admin is playing a joke on another admin, having that IP showing is suboptimal. Therefore, this hack hardcodes a value for IP and for the resolved hostname in the who's online page and posts for a specific member.
To install this code, you should be able to know how to find a members's userid and know how to read php enough to customize this hack with your own values for userid, ip address, and host.
If the user in question has already made posts that you would like to convert to the hard-coded IP, a simple query will handle that for you: (This step is OPTIONAL)
UPDATE post set ipaddress='X' where userid=Y;
(replace X and Y with the appropriate values)
The hack is included in the text file. It's working on my board as we speak :D
No screenshots necessary :D
Normally, when a user is online, his IP address shows up to admins. His IP is also logged when he posts. Well, if one admin is playing a joke on another admin, having that IP showing is suboptimal. Therefore, this hack hardcodes a value for IP and for the resolved hostname in the who's online page and posts for a specific member.
To install this code, you should be able to know how to find a members's userid and know how to read php enough to customize this hack with your own values for userid, ip address, and host.
If the user in question has already made posts that you would like to convert to the hard-coded IP, a simple query will handle that for you: (This step is OPTIONAL)
UPDATE post set ipaddress='X' where userid=Y;
(replace X and Y with the appropriate values)
The hack is included in the text file. It's working on my board as we speak :D
No screenshots necessary :D