こんにちは、
Discourse フォーラムと Slack を運営しており、信頼レベル 2 に達したユーザーのみに Slack への招待を送りたいと考えています。
信頼レベル 2 に達した際に、Slack への招待リンクを含む DM を自動的に送信できるようにしたいのですが、Discourse でどのように設定すればよいでしょうか?
よろしくお願いいたします、
Dylan
こんにちは、
Discourse フォーラムと Slack を運営しており、信頼レベル 2 に達したユーザーのみに Slack への招待を送りたいと考えています。
信頼レベル 2 に達した際に、Slack への招待リンクを含む DM を自動的に送信できるようにしたいのですが、Discourse でどのように設定すればよいでしょうか?
よろしくお願いいたします、
Dylan
You could easily create a Trust Level 2 - see permission category with the invite and sign up info as a Pinned topic.
I’m aware, but to me, that lacks personality and I’d love to thank them automatically for being an active member and invite them to the slack chat
There’s no built-in way to do this, but it shouldn’t be hard to make a plugin for this. You can post in our marketplace if it can’t be created internally.
We have discussed sending an automatic “congrats!” PM at trust level 2 and 3, also inviting users to try the advanced discobot tutorial as well @erlend_sh
@codinghorror That be great. For now, is there any way to retrieve a user’s trust level through JS so that we could assign a css class to the <html> tag and show a banner message or button once they reached a certain level?
It should be doable as a plugin if it doesn’t happen in Core. I think you could assign any currentUser property to any tag’s attribute. This is old, crude and not recently tested, but it might help as a start
現在、これは信頼レベル 1 に対して実装されています — FEATURE: send message when a user reaches tl1 · discourse/discourse@41f76a7 · GitHub
追記:信頼レベル 2 についてもかなり前から実装済みです。また、TL3 に対するお祝いメッセージ(「ラウンジへようこそ」)も以前から実装されています。
これらのメッセージを編集するにはどうすればよいですか?素晴らしいですが、当社のTOVに合わせたいと考えています。よろしくお願いします。