Moin
Junho 10, 2026, 6:44am
1
Acho que os anúncios em um tópico com respostas aninhadas ainda poderiam ser exibidos em uma linha, assim como aparecem em outros tópicos. No momento, eles parecem muito mais irritantes em tópicos com respostas aninhadas.
Enquanto eu estava olhando o tópico novamente para tirar uma captura de tela mais recente dos anúncios para este relatório, notei que, às vezes, os anúncios parecem não receber o espaço de que precisam. Percebi isso em uma postagem que começa com uma citação e em uma postagem com uma enquete.
8 curtidas
Falco
(Falco)
Junho 10, 2026, 2:39pm
2
Obrigado pela lembrança. Tentei corrigir isso algumas semanas atrás, mas minha correção não funcionou totalmente.
6 curtidas
Falco
(Falco)
Junho 11, 2026, 2:15pm
3
kkkk, eu, assim como você com a tag advertising , achei que isso fosse tratado no Plugin de Anúncios do Discourse (Ads) , e perdi um tempo enorme mexendo por lá, mas acabou que isso é tratado pelo GitHub - discourse/discourse-custom-topic-list-ads-component · GitHub .
Com isso resolvido, aqui estão as correções
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 curtidas