Shut-down the forum / Turn-off posting

Hi everyone :slight_smile:

Is there an easy/quick way to shut down the forum or stop posting for a certain period of time? Other than changing all categories settings.

Any help would be much appreciated!

1 Like

Well, the easiest way is to setup your forum in read-only mode. This means that the site remains online and users can only read topics but can not interact (reply, open new topics, put Like etc).

6 Likes

Thanks Daniela :slight_smile: can you tell me how to do that?

Nevermind! looked it up and found out.

1 Like

Go to your https://your-site/admin/backups page and click the Enable read-only mode

6 Likes

You can also configure a global alert that tells users that the site is paused, so they stay quiet :wink:

2 Likes

But (I’ve learned just now, when searching for similar posts on meta), its to be WARNED IN BIG WORDS, that once you enable this ‘Read-Only’ mode, and while experimenting or doing something, if you happen to close your (incognito) window tab, or log yourself out for any reason, even for 1 minute, THEN THERE IS NO WAY TO LOG YOU BACK IN!!

Yes there is, via the rails console:

Discourse.disable_readonly_mode(Discourse::USER_READONLY_MODE_KEY)

1 Like