Hey guys,
After I went AWOL from my forum for a few years, my site was completely overrun with spammers. Now Iām trying to clean it up, and already Iāve deleted hundreds of thousands of spam posts (literally ā half a dozen spammers had ~50,000 posts each!) š¬
Anyway, Iām now cleaning up the long tail of ~1000 spammers whoāve made 50 posts or less. Iāve identified these on a spreadsheet, and am now ready to build my SQL query to do some mass culling.
My question isā¦ whatās the best way to tackle this? I can think of two possibilities.
1) Replicate the āFlag as spammerā function If I could use SQL to flag as a spammer, I could then use the built-in IPS functions to remove the spammers and their posts, so I can be sure itās done cleanly and properly. Problem is, I canāt see how to flag as spammer with a simple SQL command. I was hoping thereād be a āis_spammerā field in a table somewhere, but havenāt found that yet. Can anyone tell me how function this works?
2) Manually delete the spammers using SQL In this case Iād delete spammers from the ips_core_members table, and their posts from ips_forum_posts and ips_forums_topics. This is easy, but it doesnāt feel like the āproperā way. Iād be nervous about other records not being updated and causing database inconsistencies.
I had originally thought Iād assign my spammers to a new member group, then search and Purge through the ACP. Unfortunately, Purge seem to delete a member, but not their content. So thatās not a solution.
Can anyone advise me on the best approach here? Thanks in advance.