Moin
10 Giugno 2026, 6:44am
1
Penso che gli annunci in un argomento con risposte annidate potrebbero comunque essere visualizzati in una riga, proprio come appaiono in altri argomenti. Al momento, in argomenti con risposte annidate risultano molto più fastidiosi.
Mentre stavo rivedendo l’argomento per catturare uno screenshot più recente degli annunci da includere in questa segnalazione, ho notato che a volte gli annunci non sembrano ricevere lo spazio di cui hanno bisogno. L’ho osservato in un post che inizia con una citazione e in un post con un sondaggio.
8 Mi Piace
Falco
(Falco)
10 Giugno 2026, 2:39pm
2
Grazie per il promemoria. Ho provato a risolvere questo problema alcune settimane fa, ma la mia soluzione non ha funzionato del tutto.
6 Mi Piace
Falco
(Falco)
11 Giugno 2026, 2:15pm
3
LMAO, anch’io, proprio come te con il tag advertising , pensavo che la cosa fosse gestita dal Discourse Advertising Plugin (Ads) , e ho perso un sacco di tempo a smanettarci, ma si scopre che invece è gestito dal GitHub - discourse/discourse-custom-topic-list-ads-component · GitHub .
Detto questo, ecco le correzioni
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 Mi Piace