Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: chadroy on December 16, 2008, 04:38:16 PM

Title: [Solved] Where to place ads?
Post by: chadroy on December 16, 2008, 04:38:16 PM
nvm it is fixed
Title: Re: Where to place ads?
Post by: Kermit on December 16, 2008, 04:49:56 PM
If i understand right,try to do this

in BoardIndex.template.php

Code (find) Select

// Here's where the "Info Center" starts...


Code (add before) Select

echo'

<br />
<div align="center">
<!-- start Fansites.me custom ad code -->
<script type="text/javascript"><!--
google_ad_client = "pub-5358870872262109";
/* aaroncarterfan.fansites.me */
google_ad_slot = "2726764536";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- end Fansites.me custom ad code -->   
</div><br />';