如何在论坛上方显示静态消息?

我的新安装的 Discourse 在论坛上方显示了一条特殊消息,仅对工作人员可见。该消息告知系统处于前 50 名用户的引导模式。

我该如何自行使用此消息对话框区域,并使其对用户可见?

我希望所有用户在访问论坛时都能看到某些管理消息。例如,在宣布维护停机时。

Press the admin wrench on a topic, choose “Pin” then “Banner”

4 个赞

Also settings > other
option called global notice

4 个赞

Actually, I believe the “bootstrap” style of warning is most easily replicated with the global notice site setting, yes?

The banner message is good if you want links or multi-line kind of content.

2 个赞

The global, non-dismissable notice should be very rarely used, only in world critical urgent cases like

We are shutting this site down permanently

or

We’ve been hacked! Please change all your passwords!

3 个赞

What’s the excuse for the global non-dismissable bootstrap notice then? :wink:

Bootstrap dismisses itself one you’ve met the criteria, e.g. minimum number of posts, users, etc. That particular message is only visible to staff as well, not world-visible.

3 个赞