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 ![]()
Однако (я только что узнал это, когда искал похожие сообщения на meta), необходимо ЧЕТКО ПРЕДУПРЕДИТЬ БОЛЬШИМИ БУКВАМИ, что как только вы включите этот режим «Только для чтения», и во время экспериментов или выполнения каких-либо действий, если вы случайно закроете вкладку своего окна (режим инкогнито) или выйдете из системы по любой причине, даже на 1 минуту, ТО НЕ БУДЕТ НИКАКОГО СПОСОБА ВОЗВРАТА В СИСТЕМУ!!
Да, это возможно через консоль Rails:
Discourse.disable_readonly_mode(Discourse::USER_READONLY_MODE_KEY)