XF 2.2 Delete Posts From Spam-Cleaner Automatically

TLDR

Active member
Hello,

I administrate a forum which has quite a spam problem. And spam posts are being cleaned by this handy "Spam" button next to the post. In which case, the spam post in question is soft-deleted. So one could see what the content actually was in case it was by mistake.

However, I feel like after X days, this trash could be gone from the database completely.

My question is, did I just overlook a setting for a cron job (like: "Hard-delete soft-deleted content after X days"), or shall I head over to the suggestions forum? :-)

Thank you!
 
You can go into the spam cleaner options and change it so that they get permanently deleted instead when spam cleaning. It says threads though not posts.

Spam cleaner.webp

You'll need an addon to delete them after X amount of days after soft deletion.
 
Hello,

I administrate a forum which has quite a spam problem. And spam posts are being cleaned by this handy "Spam" button next to the post. In which case, the spam post in question is soft-deleted. So one could see what the content actually was in case it was by mistake.

However, I feel like after X days, this trash could be gone from the database completely.

My question is, did I just overlook a setting for a cron job (like: "Hard-delete soft-deleted content after X days"), or shall I head over to the suggestions forum? :-)

Thank you!
I see you didn't get any answer to this. Did you find a way to do it?

Does anyone know if there is any way to hard delete soft deleted posts after some time, to get rid of them and the attachments in them?
 
Does anyone know if there is any way to hard delete soft deleted posts after some time, to get rid of them and the attachments in them?
for threads, there is an option to batch update from the backend. for posts... from my understanding, there is nothing inbuilt. the only addon i know that can delete them is @AndyB addon:

 
Back
Top Bottom