wir haben ein Discourse-Forum und einen Slack und würden gerne Personen nur dann zu unserem Slack einladen, wenn sie Vertrauensstufe 2 erreicht haben.
Ich würde gerne automatisch eine direkte Nachricht mit einem Einladungslink zu Slack versenden, sobald jemand Vertrauensstufe 2 erreicht. Wie kann ich dies in Discourse konfigurieren?
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
[quote=“codinghorror, Beitrag: 5, Thema: 79095, vollständig: true”]
Wir haben besprochen, bei Vertrauensstufe 2 und 3 eine automatische PM mit „Glückwunsch!