If you have a large amount of threads requiring approval on your MyBB forum then rather than deleting them through the Admin CP you can bulk delete them all from a SQL query.
Normal method:
MyBB Admin CP > Forums & Posts > Moderation Queue
Delete using SQL query:
Log in to your database using something like phpmyadmin
Select the database
Select "Query"
Execute these queries one at a time and note down the returned result.
To delete all threads requiring approval, execute this query:
The number of rows it deletes should match that of the first query which then should also match the number of unapproved threads.
To delete all posts requiring approval, execute this query:
Rebuild the forum counters:
ACP > Tools & maintenance > Recount & Rebuild > Rebuild Forum Counters > Go.
Normal method:
MyBB Admin CP > Forums & Posts > Moderation Queue
Delete using SQL query:
Log in to your database using something like phpmyadmin
Select the database
Select "Query"
Execute these queries one at a time and note down the returned result.
Code:
SELECT * FROM mybb_threads WHERE visible = 0;
Code:
SELECT * FROM mybb_posts WHERE visible = 0 AND replyto = 0;
To delete all threads requiring approval, execute this query:
Code:
DELETE FROM mybb_threads WHERE visible = 0;
The number of rows it deletes should match that of the first query which then should also match the number of unapproved threads.
To delete all posts requiring approval, execute this query:
Code:
DELETE FROM mybb_posts WHERE visible = 0 AND replyto = 0;
Rebuild the forum counters:
ACP > Tools & maintenance > Recount & Rebuild > Rebuild Forum Counters > Go.