I have been trying to figure a way to log all ips except the admin/mods on the forum..
I have not found how to do this and i am guessing it may require a lot of script mods...
So the next best thing i have found here is deleting the ip's form selected users.
below i have a code to delete the ips of 6 admins/mods
Code:
UPDATE post
SET ipaddress = ''
WHERE userid IN (1,2,3,4,5,6)
My question is, can i run this as a cron job every minute or so, or will this be too much server load..
is there a better way to do this?