Hi everyone ![]()
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!
Hi everyone ![]()
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!
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).
Thanks Daniela
can you tell me how to do that?
Nevermind! looked it up and found out.
Go to your https://your-site/admin/backups page and click the Enable read-only mode
You can also configure a global alert that tells users that the site is paused, so they stay quiet ![]()
ただし(メタで類似の投稿を検索して今気づいたのですが)、この「読み取り専用モード」を有効にすると、実験中や何らかの作業中に、インコグニートウィンドウのタブを閉じたり、何らかの理由でログアウトしたりした場合—even 1 分間でも—、再度ログインすることが絶対に不可能になるという警告を大きな文字で表示する必要があります。
はい、Rails コンソールから可能です:
Discourse.disable_readonly_mode(Discourse::USER_READONLY_MODE_KEY)