davidb
(David B)
17 Julio, 2025 16:57
14
Gracias por informar. Hice algunos cambios para simplificar el recuento de publicaciones, ya que anteriormente contábamos los temas y las publicaciones por separado.
Creo que esto debería solucionarlo:
committed 02:15PM - 17 Jul 25 UTC
The educational posts site setting (`educate_until_posts`) feels buggy,
this is … because the logic for showing these messages treats topics and
replies (posts) as a separate count.
If `SiteSetting.educate_until_posts` has a value of 2, the user can
write multiple replies to existing topics and see the "Welcome to our
community! You are brand new here..." message for the first 2 times then
it will not show again.
However, once they decide to create a topic they will see the message
again which doesn't feel right.
The solution is to use a combined count (`user.topic_count` and
`user.post_count`) and check against the site setting value. That way we
don't double up educational messages for both topics and replies when
using composer.
2 Me gusta