If you are using PHPBB (PHP Bulletin Board) you likely want to make some money using Google Ads.  If you are using the latest branch of PHPBB 3.1.x youphp_bb_logo-sm likely have already figured out that you need to add your Google AdSense code to:

phpBB-3.1.xxx\phpBB3\styles\prosilver\template\overall_footer.html

but now you can’t figure out how to center that advertisement.  The answer is to add a CENTER command around the AdSense text like:

<div align=”center”>
Insert your Google AdSense Code Here
</div>

In my case, the result looked like:

 <div align=”center”>
<script type=”text/javascript”><!–
google_ad_client = “pub-8112679970043366”;
/* 728×90, created 9/2/08 */
google_ad_slot = “1017690586”;
google_ad_width = 728;
google_ad_height = 90;
//–>
</script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
</div>

Make sure you to go to the ADMINISTRATOR CONTROL PANEL > GENERAL tab > PURGE CACHE button, to clear the old cache, otherwise you will not see your changes when you click refresh on your browser.

You can see my fine work on Commodore Computer PET, VIC, 64, 128 User Forum

 


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *