The discussion revolves around suppressing system-generated “Topic automatically closed/reopened” messages during a forum migration to Discourse. bletch explains that downvotes from the old MVC Forum are being migrated as community flags, which trigger these system messages, disrupting the chronological order of posts. fefrei suggests converting downvotes to reactions via the Retort plugin instead, arguing that importing them as flags is problematic. bletch considers modifying the database to reset the bumped_at timestamp for topics with system-generated posts. fefrei advises on handling flags properly, possibly by using moderator queue actions, but reiterates that importing downvotes as flags is not ideal.
tl;dr can I suppress the system response to community flags during a migration?
Hi, I’ve written a migrator for MVC Forum which has community flags (up and downvote). I wanted to maintain our downvotes as well as our upvotes but in migrating the downvotes (as inappropriate in Discourse), the system user will post “Topic automatically closed/reopened” messages.
This isn’t a problem per se but it has meant that all of the system reopened posts appear as the latest posts which messes the chronological order.
Any ideas how I can suppress the system interventions? Or can I write a script to reset the latest post date to ignore system messages?
Here’s a migration I did overnight. You can see that the latest poster in all of these is the system user. This is due to topics being reopened after they had been closed due to community flags. These posts (which are not the latest chronologically) have therefore been pulled to the top of the latest posts list.
Thanks for the suggestion, @fefrei, but in the current forum we actually use the down-vote as a “report to mods” flag. So for consistent moderation into the future I’d like to maintain the community flags. That said, I will take a look at the Retort plugin as it looks interesting.
Messing around in the DB, it looks like what I need to do is look for topics where the last post was carried out by the system user and then set the bumped_at row of the topics table to be the datetime of the last post but one (i.e. the last post genuine by a non-system user).