![]() |
Mass Delete Spammers Based on IP
Hello
I found that there are thousands of unwanted posts / spammers members and they all have the same IP address How do i mass delete members/post based on an IP address? through the SQL query , I was able to get the userid , username through this line Code:
select userid,username from post where ipaddress='x.x.x.x'; |
Remember to ALWAYS backup database before working on them!
Code:
DELETE FROM `post` WHERE `ipaddress=`'x.x.x.x'; |
thanks for the quick reply to me
Actually I did it before by created a file file.txt contains the below records Code:
delete from post where userid=991; Code:
[root@vmi5 ~]# mysql vbdb < file.txt I want a complete and correct way to completely delete the user from all fields, |
All times are GMT. The time now is 06:54 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:
|