Moin
10 يونيو 2026، 6:44ص
1
أعتقد أن الإعلانات في المواضيع ذات الردود المتداخلة يمكن عرضها في سطر واحد، تمامًا كما تظهر في المواضيع الأخرى. حاليًا، تبدو أكثر إزعاجًا في المواضيع ذات الردود المتداخلة.
بينما كنت أراجع الموضوع مرة أخرى لألتقط لقطة شاشة أحدث للإعلانات لهذا التقرير، لاحظت أن الإعلانات أحيانًا لا تحصل على المساحة التي تحتاجها. لاحظت ذلك في منشور يبدأ باقتباس وفي منشور يحتوي على استطلاع رأي.
8 إعجابات
Falco
(Falco)
10 يونيو 2026، 2:39م
2
شكرًا للتذكير، لقد حاولت إصلاح هذا قبل بضعة أسابيع، لكن إصلاحي لم ينجح تمامًا.
6 إعجابات
Falco
(Falco)
11 يونيو 2026، 2:15م
3
هههه، أنا مثلك، ظننت أن هذا يتم التعامل معه عبر إعلان Discourse (Ads) بسبب وسم #advertising، وقضيت وقتًا طويلاً جدًا في التلاعب به، لكن اتضح أن هذا يتم التعامل معه عبر GitHub - discourse/discourse-custom-topic-list-ads-component · GitHub بدلاً من ذلك.
بعد ذلك، إليك التصحيحات
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)