Fixed Advertising Location / Post: "Below message container" for Article threads

Affected version
2.2.0

rdn

Well-known member
Post: Below message container
This position is below the message container for every post.

Doesn't work on Article Type threads.
But working fine with other thread types.
 

smozgur

Active member
Article post template (post_article_macros) is different than original post template (post_article), and it doesn't contain the ad placeholder, which is post_below_container.

It means the ad will display after the first reply post in article threads, unless you specifically want it to be also placed after the original article and modify the post_article_macros template.
 

rdn

Well-known member
Meaning to temporarily patch I need to manually add?
<xf:ad position="post_below_container" arg-post="{$post}" />

Not sure the exact line to add it.
Thanks.
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.2).

Change log:
Ensure post ad positions are retained in article template extensions, and exclude them from appearing in article forums with an expanded display
There may be a delay before changes are rolled out to the XenForo Community.
 
Top