Enviar automáticamente un mensaje privado cuando los usuarios alcanzan un nuevo nivel de confianza

Hola,

Tenemos un foro de Discourse y un Slack, y nos encantaría invitar a las personas a nuestro Slack solo cuando hayan alcanzado el nivel de confianza 2.

Me encantaría poder enviar automáticamente un mensaje privado una vez que alguien alcance el nivel de confianza 2 con un enlace de invitación a Slack. ¿Cómo puedo configurar esto en Discourse?

Saludos,
Dylan

1 me gusta

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

2 Me gusta

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 Me gusta

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 me gusta

@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 me gusta

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 Me gusta

Esto ya está implementado para el nivel de confianza 1 — FEATURE: send message when a user reaches tl1 · discourse/discourse@41f76a7 · GitHub

Edición: también está implementado para el nivel de confianza 2 desde hace bastante tiempo, y las felicitaciones para el NC3 (“bienvenido al salón”) llevan un tiempo en vigor.

6 Me gusta

¿Cómo edito estos mensajes? Son geniales, pero queremos alinearlos con nuestro TOV. Gracias.

3 Me gusta