2012-08-26, 09:10 PM
This is the code I'm currently using to show ads at the bottom of the first post on each page of a thread:
However, there is one board that I don't want the ads to show on. What would I need to add to exclude it from that specific board?
Thanks in advance!
<if ($postcounter - 1) % $mybb->settings['postsperpage'] == "0" then>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-XXXXXXXXX";
/* ####### */
google_ad_slot = "8543578465";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></if>
However, there is one board that I don't want the ads to show on. What would I need to add to exclude it from that specific board?
Thanks in advance!