How to delete 1 thread and all of it posts?

0
(ツ) admin
Last edited: 02.03.2023 by admin
2004
16.11.2022

Well, you can delete a thread, but this is kind of risky operation, because there is no such operation in the UI. And this was made on purpose. Because one of the main ideas in AsmBB is to limit the power of the administrators and moderators and give the visitors some more freedom to self-organize.

Of course the administrator can do everything with the database, but my intention was to make some things not so easy.

So, you can delete a thread and all it's posts only from the SQLite console:

delete from threads where id = %THREADID%;

Or respectively:

delete from threads where slug = "%VERY_BAD_THREAD_SLUG%";

But, well, deleting from the database is kind of risky operation. Are you ready to delete all your database by typing one wrong word? ;-)

Attached files:
FileSizeUploadedDownloadsMD5 hash
howto.png37824 bytes02.03.2023319e9b27b80870e9aab71452cf971b2a466

How to delete 1 thread and all of it posts?

0