david
(David Taylor)
2018 年 3 月 26 日午後 10:08
1
https://github.com/davidtaylorhq/discourse-admin-warnings
When admins click ‘reply’ on a closed topic, they will be warned. This helps to prevent admins accidentally continuing a closed/archived discussion (much to the frustration of other forum users!).
Warning text is configurable as a theme setting.
To install, follow the instructions here:
This is a guide for installing and managing themes and theme components in Discourse.
Required user level: Administrator
Installing and customizing themes can significantly improve the look and feel of your Discourse site. You can easily import and manage themes and their components through the Discourse admin panel.
This guide covers:
Importing new themes and theme components
Adding theme components to a theme
Managing automatic updates
Additional resourc…
「いいね!」 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.
wolftune
(Wolftune)
2018 年 11 月 5 日午後 5:38
3
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
wolftune
(Wolftune)
2018 年 11 月 5 日午後 7:55
4
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
Stephen
(Stephen)
2018 年 11 月 5 日午後 7:56
5
If you scroll back up to the original post you’ll see that Discourse automatically lists replies or topics which link in:
Stephen
(Stephen)
2018 年 11 月 5 日午後 7:56
6
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
Stephen
(Stephen)
2018 年 11 月 5 日午後 8:05
7
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
「いいね!」 9
david
(David Taylor)
2018 年 11 月 5 日午後 8:09
8
My bad, I completely missed your PR @Johani - sorry! The change is now merged, thanks @Stephen
「いいね!」 10
Heliosurge
(Dan DeMontmorency)
2020 年 2 月 5 日午後 3:09
9
Hi David will this also warn Leader Level 4 users when replying to closed topics?
david
(David Taylor)
2020 年 2 月 5 日午後 3:10
10
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
Heliosurge
(Dan DeMontmorency)
2020 年 2 月 5 日午後 3:12
11
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
Heliosurge
(Dan DeMontmorency)
2020 年 11 月 19 日午前 2:47
13
I am running latest test passed Discourse and this component is still working.
Are you running the beta maybe?