Campo de consulta bloqueado para emblemas do sistema

Esta é a minha primeira tópico desde que me tornei membro aqui há 222 dias.

  1. Como copiar e colar este código?

  2. Quero conceder uma medalha para 25 convites bem-sucedidos. Então, preciso apenas alterar o valor HAVING COUNT (*) >= 5 para HAVING COUNT (*) >= 25 e também definir o tipo da medalha como Gold. Estou certo?

Encontrei um tópico semelhante "Promoter" Badge broken?, mas quero apenas confirmar, pois não entendo muito bem de programação.

Desculpe pela minha pergunta “estúpida”.

Here are the steps for enabling the SQL Badge Queries

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.

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

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.