حذر المدراء/tl4 عند الرد على المواضيع المغلقة

مكون موضوع تحذيرات المشرفين

https://github.com/davidtaylorhq/discourse-admin-warnings

عندما يضغط المشرفون على “رد” في موضوع مغلق، سيظهر لهم تحذير. يساعد ذلك في منع المشرفين من مواصلة النقاش المغلق/المؤرشف عن طريق الخطأ (مما يسبب إحباطًا لمستخدمي المنتدى الآخرين!).

يمكن تخصيص نص التحذير كإعداد في المظهر.

للتثبيت، اتبع التعليمات هنا:

30 إعجابًا

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.

إعجاب واحد (1)

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…

إعجابَين (2)

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.

4 إعجابات

I’ve submitted a PR, but looking back @Johani actually already submitted this PR which does the same thing:

9 إعجابات

My bad, I completely missed your PR @Johani - sorry! The change is now merged, thanks @Stephen

10 إعجابات

Hi David will this also warn Leader Level 4 users when replying to closed topics?

Yes, it should do - it will notify anyone who tries to reply to a closed topic. I probably should have chosen a better name for the component…

6 إعجابات

Awesome thanks this will work very nicely as we often have elevated users replying to a closed Topic. Thank you for your excellent plugin!

3 إعجابات

I think this may need to be updated? (Stopped working after an update but didn’t catch which particular one).

إعجاب واحد (1)

أنا أعمل على أحدث إصدار من Discourse وقد نجح الاختبار، ولا يزال هذا المكون يعمل.

هل تستخدم النسخة التجريبية ربما؟