david
(David Taylor)
3월 26, 2018, 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 and can be translated.
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…
31개의 좋아요
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)
11월 5, 2018, 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)
11월 5, 2018, 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)
11월 5, 2018, 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)
11월 5, 2018, 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)
11월 5, 2018, 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)
11월 5, 2018, 8:09오후
8
My bad, I completely missed your PR @Johani - sorry! The change is now merged, thanks @Stephen
10개의 좋아요
Heliosurge
(Dan DeMontmorency)
2월 5, 2020, 3:09오후
9
데이비드님, 이 기능이 폐쇄된 토픽에 답글을 달 때 리더 레벨 4 사용자들에게도 경고가 뜨나요?
david
(David Taylor)
2월 5, 2020, 3:10오후
10
네, 그래야 합니다. 닫힌 주제에 답글을 시도하는 사용자에게 알림을 보내게 됩니다. 아마도 이 컴포넌트에 더 적절한 이름을 붙였어야 했는데…
6개의 좋아요
Heliosurge
(Dan DeMontmorency)
2월 5, 2020, 3:12오후
11
훌륭합니다. 감사합니다. 폐쇄된 주제에 권한이 있는 사용자가 답변하는 경우가 많기 때문에 이 기능이 아주 잘 맞을 것 같습니다. 훌륭한 플러그인 만들어 주셔서 감사합니다!
3개의 좋아요
이 부분은 업데이트가 필요한 것 같네요? (어떤 업데이트인지 정확히 기억은 안 나는데, 업데이트 이후로 작동이 멈췄습니다.)
1개의 좋아요
Heliosurge
(Dan DeMontmorency)
11월 19, 2020, 2:47오전
13
최신 버전의 테스트가 통과된 Discourse를 실행 중이며, 이 컴포넌트는 여전히 정상 작동하고 있습니다.
혹시 베타 버전을 사용 중이신가요?
@david 이 문제를 다시 해결하기 위해 PR을 열었습니다. 시간이 나시면 확인해 주실 수 있나요?
master ← awesomerobot:dev-refactor-composer-msg
merged 06:57PM - 22 Jul 26 UTC
This refactors the component to get it working again. I've restructured it to us… e composer popups and also include a button so someone with permissions can choose to open/unarchive a topic if desired.
<img width="800" alt="image" src="https://github.com/user-attachments/assets/fff21314-c34d-43f2-972b-36ecdfc97e40" />
<img width="800" alt="image" src="https://github.com/user-attachments/assets/c537c1f1-2860-46f1-84d1-cf93f33dfbf4" />
3개의 좋아요