Fermer le forum / Désactiver la publication

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 « J'aime »

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 « J'aime »

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

Nevermind! looked it up and found out.

1 « J'aime »

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

6 « J'aime »

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

2 « J'aime »

Mais (je l’ai appris à l’instant en recherchant des posts similaires sur Meta), il faut AVERTIR EN GROSSES LETTRES que, une fois ce mode « Lecture seule » activé, si vous fermez votre onglet de fenêtre (en navigation privée) ou si vous vous déconnectez pour une raison quelconque, même pendant une minute, lors d’expérimentations ou d’autres actions, IL N’Y A AUCUNE FAÇON DE VOUS RECONNECTER !!

Oui, c’est possible via la console Rails :

Discourse.disable_readonly_mode(Discourse::USER_READONLY_MODE_KEY)

2 « J'aime »

Ce sujet a été automatiquement fermé après 2190 jours. De nouvelles réponses ne sont plus autorisées.