Topics are now locked after 30 days
-
Hi All,
I have installed a new archiver plugin in this forum which auto-locks topics after 30 days of inactivity. I have excluded some of the categories like Announcements and App wish list. If you see any strange behavior, please let me know. -
It seems this plugin is causing some login issues, I have disabled this for now to investigate what is happening.
-
I'm not a fan of this, sorry. Leads to duplicate threads and there's plenty of older threads that can have value added to them as the community grows.
-
@marcusquinn I had to disable it after 2 days because it was causing login issues.
-
Let me see if I can get it to unlock all the posts
-
As a heads up, if this forum goes down now and then, it's because I have to restart the forum to activate this archiver plugin (and try to see if it has some option to unlock all the posts)
-
Alright, I had to go the database and reset the lock state of all the posts Unfortunately, this means I had to reset genuinely locked posts as well. But I think we can live with that.
For future reference, I had to run this in the MongoDB shell:
x = db.getCollection('objects') x.updateMany({ _key: { $regex: /^topic:\d+/ } }, { $set: { locked: 0 } })
On a side note, NodeBB code is so well done