Bulk Flagging Old Threads as Read-Only

Steve Freides

Active member
I would like to prevent users from replying on threads older than a certain date. When we began using XF in 2015, our developer flagged everything we imported as R/O.

Is there a way I can create a cron job or otherwise do this in bulk? I would, right now, like to flag all my threads whose most recent updates are December 31, 2018 and earlier, as R/O, and see how that goes, and then regularly run a new job on January 1, 2021 to flag everything whose most recent updates are December 31, 2019, and so on.

Can I do this? Or do I need the developer, who in our XF install is the person to work with things at the database level, to do this for me?

Thanks in advance.

-S-
 
Back
Top Bottom