Admin Warnings Theme Component
https://github.com/davidtaylorhq/discourse-admin-warnings
当管理员在已关闭的主题上点击“回复”时,系统会发出警告。这有助于防止管理员意外继续已关闭或归档的讨论(以免让其他论坛用户感到沮丧!)。
警告文本可配置且支持翻译。
要安装,请遵循此处的说明:
https://github.com/davidtaylorhq/discourse-admin-warnings
当管理员在已关闭的主题上点击“回复”时,系统会发出警告。这有助于防止管理员意外继续已关闭或归档的讨论(以免让其他论坛用户感到沮丧!)。
警告文本可配置且支持翻译。
要安装,请遵循此处的说明:
Thanks! Very useful!
Is there an easy way to extend this so the alert pop up pops up when highlight-quote replying too? I think it goes straight to the reply box as is.
Awesome thanks!
Just capturing this here so someone capable of helping to implement might see it:
That would be great too! If added, maybe this can be renamed or merged into a more general warn-admins theme component for a range of (maybe selectable?) warnings for cases where admins do things in non-admin spaces that would not be allowed were they not admins.
Maybe the code isn’t set right, but when I try to import this theme-component, it only imports as a full theme and isn’t selectable as a component for other themes…
If you scroll back up to the original post you’ll see that Discourse automatically lists replies or topics which link in:
Yep, it needs to be updated to support a change from the summer. For now you can use the convert button. I will submit a PR for it now though.
I’ve submitted a PR, but looking back @Johani actually already submitted this PR which does the same thing:
https://github.com/davidtaylorhq/discourse-admin-warnings/pull/1
你好,David,回复已关闭的话题时,这是否也会警告等级为 4 的版主用户?
是的,应该可以——它会通知任何试图回复已关闭主题的人。我可能应该为这个组件起个更好的名字……
太棒了,谢谢!这非常管用,因为我们经常遇到高级用户回复已关闭的话题。感谢你们如此出色的插件!
我觉得这个可能需要更新?(在某个更新后停止工作,但没注意到具体是哪一个)。
我正在运行最新的测试通过的 Discourse,该组件仍然正常工作。
您是否在运行测试版?
@david 我已经提交了一个 PR 来修复这个问题,有空的话能帮忙看看吗?
看起来很棒——谢谢!