![]() |
IP address field, want to wipe it clean.
I would like to remove all the IPaddress enteries for a specific user.
Looking at mysql database I see the IP address for someone when they made a post. I would like to remove all records of an IP address for a specific user. Any hacks or suggestion on how to do this? Thanks. |
[SQL]
UPDATE post SET ipaddress='' WHERE userid=1234; UPDATE search SET ipaddress='' WHERE userid=1234; UPDATE threadrate SET ipaddress='' WHERE userid=1234; UPDATE user SET ipaddress='' WHERE userid=1234; [/SQL] 1234 should be replaced by the real UID of course ;) |
Thank you, works great, I'm starting to understand this now.
One more area people should check is adminlog How about removing them all? Wildcard rather then a value for userID? |
for removing all ip's you just have to remove the WHERE clause :)
|
All times are GMT. The time now is 01:45 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:
|