Not Solved [How To?] Ads after first post, conditional code in postbit template?
#1
Not Solved
I just upgraded to latest mybb today, from 1.4x

now i try add ads after first post, using conditional code in postbit template https://community.mybb.com/thread-170231...pid1155963 :


Quote:
<if ($postcounter - 1) % $mybb->settings['postsperpage'] == "0" then> 
advertisement code
</if> 



but the result, the advertisement code appearing many times, after all post (first post, second post, thirst post, and so on), not only first post

please help, maybe there is something need to fix from the code above?
Reply
#2
Not Solved
Look this post -> https://community.mybb.com/thread-197024...pid1234661
Reply
#3
Not Solved
Thank you very much, rep +
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)