Campo de consulta bloqueado para insignias del sistema

Este es mi primer tema desde que me hice miembro aquí hace 222 días.

  1. ¿Cómo copiar y pegar este código?

  2. Quiero otorgar una insignia por 25 invitaciones exitosas. Entonces, solo necesito cambiar el valor HAVING COUNT (*) >= 5 a HAVING COUNT (*) >= 25, y también asignar un tipo de insignia dorada. ¿Tengo razón?

Encontré un tema similar "Promoter" Badge broken?, pero solo quiero confirmar, ya que no entiendo realmente la programación.

Perdón por mi pregunta tonta.

1 me gusta

Here are the steps for enabling the SQL Badge Queries

6 Me gusta

Thank you Cpradio, yes I have enabled the SQL within 3 days, but its still locked.
I believe its for security purpose.
I tried to explore the Github too, but still does not know how to find the code line.

1 me gusta

You can find the badge query SQL here: discourse/lib/badge_queries.rb at main · discourse/discourse · GitHub

5 Me gusta

Thank you very much Simon.
I put wrong keyword in searching the code in the repository.
After I found the sql query, I still confuse.

I want to open another support topic, to make another question relating to this.
Thank you.

1 me gusta

This topic was automatically closed after 33 hours. New replies are no longer allowed.