Invia automaticamente un messaggio privato quando gli utenti raggiungono un nuovo livello di fiducia

Ciao,

abbiamo un forum Discourse e Slack, e vorremmo invitare le persone su Slack solo quando raggiungono il livello di fiducia 2.

Mi piacerebbe poter inviare automaticamente un messaggio privato non appena qualcuno raggiunge il livello di fiducia 2, con un link di invito a Slack. Come posso configurare questa funzionalità in Discourse?

Cordiali saluti,
Dylan

1 Mi Piace

You could easily create a Trust Level 2 - see permission category with the invite and sign up info as a Pinned topic.

2 Mi Piace

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.

2 Mi Piace

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

1 Mi Piace

@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?

1 Mi Piace

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

3 Mi Piace

This is now in place for trust level 1 — FEATURE: send message when a user reaches tl1 · discourse/discourse@41f76a7 · GitHub

Edit: also in place for Trust Level 2 as well for quite a while now, and the congratulations for TL3 (“welcome to the lounge”) has been in place for some time.

6 Mi Piace

Come modifico questi messaggi? Sono ottimi, ma vogliamo allinearli al nostro TOV. Grazie

3 Mi Piace