管理者警告テーマコンポーネント
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:
こんにちは、Davidさん。クローズされたトピックに返信する際、リーダーレベル4のユーザーにも警告が表示されますか?
はい、その通りです。閉じられたトピックに返信しようとする誰かに通知されます。コンポーネントの名前をもっと適切に選ぶべきでした…
素晴らしい、ありがとうございます。閉じたトピックに権限付きユーザーが返信することがよくあるため、これは非常に役立つでしょう。素晴らしいプラグインをありがとうございます!
これ、更新が必要かもしれませんか?(アップデート後に動作しなくなりましたが、どのアップデートだったかは把握していません)
最新のテストをパスした Discourse を実行していますが、このコンポーネントは依然として動作しています。
もしかして、ベータ版をお使いでしょうか?