2016-08-06, 06:54 PM
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 :
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?
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?