Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
bpn Posted July 29, 2017 Posted July 29, 2017 Standard placement is after the first post, but instead I want to have it inserted before the last post. Any help appreciated.
Day_ Posted July 29, 2017 Posted July 29, 2017 4 hours ago, bpn said: Standard placement is after the first post, but instead I want to have it inserted before the last post. Any help appreciated. Not sure how to make it so it shows after the last post, but if this is any help you can change the number of posts before the ad shows by editing forums > topics > topic and row 283 {{if $postCount == 1 AND $advertisement = \IPS\core\Advertisement::loadByLocation( 'ad_topic_view' )}} Just change the 1 to what you need. If you have 10 posts per page and have this set to 9 and there is only 6 posts on a page it won't show though, that's the downside.
bpn Posted July 30, 2017 Author Posted July 30, 2017 Thanks, I have tried changing that value, but it has no effect, ad always appears after first post.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.