MyBB Community Forums

Full Version: Delete All Posts from a user?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've had trouble with spammers lately, and I was wondering if there is an easy way to delete all posts made by the offending user.
There is no default option in MyBB, although if you got phpmyadmin you can run this query
DELETE FROM mybb_posts WHERE uid='[b]1[/b]'
Change mybb_ to your prefix. and the bolded 1 with the uid of the user.