Moin
10 Junio, 2026 06:44
1
Creo que los anuncios en un tema con respuestas anidadas aún podrían mostrarse en una sola línea, tal como aparecen en otros temas. Por ahora, resultan mucho más molestos en los temas con respuestas anidadas.
Mientras volvía a revisar el tema para tomar una captura de pantalla más reciente de los anuncios para este informe, noté que a veces los anuncios no parecen obtener el espacio que necesitan. Lo observé en una publicación que comienza con una cita y en otra con una encuesta.
8 Me gusta
Falco
(Falco)
10 Junio, 2026 14:39
2
Gracias por el recordatorio. Lo intenté solucionar hace unas semanas, pero mi solución no funcionó del todo.
6 Me gusta
Falco
(Falco)
11 Junio, 2026 14:15
3
JAJAJA, yo, igual que tú con la etiqueta advertising , pensé que esto se gestionaba mediante el Plugin de Publicidad de Discourse (Ads) , y perdí mucho tiempo dándole vueltas ahí, pero resulta que esto se maneja con el GitHub - discourse/discourse-custom-topic-list-ads-component · GitHub en su lugar.
Dicho esto, aquí tienes las correcciones
main ← fix-nested-replies-view-ads
opened 05:14PM - 10 Jun 26 UTC
Previously, the between-posts ad was rendered through the `post-article` wrapper… outlet, which the nested replies view renders for the OP and for every reply at every depth — so ads appeared inside the OP card and scattered throughout the reply tree, gated by `post_number`, which does not reflect display order in that view.
This change skips the between-posts ad in the nested replies view (via `shouldRender` on the `nestedReplyView` outlet arg) and adds an `AdBetweenNestedRoots` component rendered in the core `nested-roots-between` outlet, which shows an ad after every `show_between_posts` top-level replies instead.
On Discourse versions without the `nested-roots-between` outlet the new component never renders, and the regular topic view is unchanged.
main ← nested-roots-ad-cadence-setting
opened 02:10PM - 11 Jun 26 UTC
Previously, ads between top-level replies in the nested replies view reused `sho… w_between_posts`, but that cadence counts all posts in the classic view while only roots count in the nested view — with `show_between_posts: 15`, a topic with hundreds of posts but few top-level replies showed barely any ads.
This change adds a `show_between_nested_roots` setting (default 5) so the nested view cadence can be tuned independently, with 0 disabling nested-view ads.
Follow-up to #25.
2 Me gusta