MyBB Community Forums
Delete All Posts from a user? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.2 Series (https://community.mybb.com/forum-3.html)
+------ Forum: MyBB 1.2 General Support (https://community.mybb.com/forum-4.html)
+------ Thread: Delete All Posts from a user? (/thread-9678.html)



Delete All Posts from a user? - z6joker9 - 2006-06-12

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.


RE: Delete All Posts from a user? - Martin M. - 2006-06-12

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.