Brent W Well-known member Mar 18, 2013 #1 I have a forum that was run over with spam before I bought it. I'd like to ban all members that have 0 posts. Can I run a query for this?
I have a forum that was run over with spam before I bought it. I'd like to ban all members that have 0 posts. Can I run a query for this?
Digital Doctor Well-known member Mar 18, 2013 #2 Maybe with the new improvements. http://xenforo.com/community/threads/user-management-improvements.46217/ Upvote 0 Downvote
Maybe with the new improvements. http://xenforo.com/community/threads/user-management-improvements.46217/
Mike Edge Well-known member Mar 18, 2013 #3 What about update `xf_user` set `is_banned`=1 where `message_count`=0; or DELETE FROM `xf_user` where `message_count`=0; Upvote 0 Downvote
What about update `xf_user` set `is_banned`=1 where `message_count`=0; or DELETE FROM `xf_user` where `message_count`=0;
B borbole Well-known member Mar 18, 2013 #4 If you do that you will ban legit users too. Personally I think it would be better if you added an extra conditional to check for users registered for a certain amount of time as well in the equation. Upvote 0 Downvote
If you do that you will ban legit users too. Personally I think it would be better if you added an extra conditional to check for users registered for a certain amount of time as well in the equation.
R RobParker Well-known member Mar 18, 2013 #5 Mike Edge said: DELETE FROM `xf_user` where `message_count`=0; Click to expand... Will that not leave a load of orphaned posts and a big mess? Upvote 0 Downvote
Mike Edge said: DELETE FROM `xf_user` where `message_count`=0; Click to expand... Will that not leave a load of orphaned posts and a big mess?