The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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'; |
#2
|
|||
|
|||
Remember to ALWAYS backup database before working on them!
Code:
DELETE FROM `post` WHERE `ipaddress=`'x.x.x.x'; |
#3
|
|||
|
|||
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; delete from post where userid=992; delete from post where userid=993; delete from post where userid=994; delete from subscribethread where userid=991; delete from subscribethread where userid=992; delete from subscribethread where userid=993; delete from subscribethread where userid=994; delete from thread where postusername ='XXA'; delete from thread where postusername ='XXB'; delete from thread where postusername ='XXC'; Code:
[root@vmi5 ~]# mysql vbdb < file.txt I want a complete and correct way to completely delete the user from all fields, |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|