What if the xf_ip table was changed to BLACKHOLE?
Darn, I guess I'll just have to do something with the model.then you'll get an error while saving the ip
yes, that's what i'm doing......something with the model.
Run this query:
Code:TRUNCATE TABLE xf_ip;
How can i delete the IP log of a particular Member ?
DELETE
FROM xf_ip
WHERE user_id = 1
And what if i need to replace it with another IP. I am talking about Content IP.
UPDATE xf_ip
SET ip = INET_ATON('12.34.56.78')
WHERE user_id = 1
Run this query:
Code:TRUNCATE TABLE xf_ip;
This is core in 1.2xHello Jake,
Is there any Chance to make a 24 Hours Cron with this Query? Or is there a Addon who delete the IP`s? Thx!!
This is core in 1.2x
Code:DELETE FROM xf_ip WHERE user_id = 1
Specify the user_id.
Thanks JakeCode:DELETE FROM xf_ip WHERE user_id = 1
Specify the user_id.
14965 rows deleted. (Query took 0.6219 seconds.)
@Jake Bunce would you be able to help me with the query to remove a single IP from a user please.
We use essential cookies to make this site work, and optional cookies to enhance your experience.