darragh wrote:
The solution is to modify the template in com_fireboard/template/default/message.php
You need to change these lines:
| Code: |
<?php
if (mosCountModules('fb_msg_1'))
{
?>
<div class = "fb_msg_1">
<?php
mosLoadModules('fb_msg_1', -2);
?>
</div>
<?php
}
?>
|
To this
| Code: |
<?php
if($mmm == 1) {
?>
<div class = "fb_msg_1">
<!--<?php
//mosLoadModules('fb_msg_1', -2);
//?>-->
</div>
//START GOOGLE ADSENSE CODE
<script type="text/javascript"><!--
google_ad_client = "<google publisher id>";
/* google_ads */
google_ad_slot = "<adsense id>";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
//END GOOGLE ADSENSE CODE
<?php } ?>
|
You'll need to replace the Google Adsense code with whatever is produced by Google adsense.
Hope this helps
Darragh
Hi guys,
Im am struggeling with this problem for a few days now and i cant seem to manage to get this working.
My site runs adds just fine in several modules but i cant to get it working within the fireboard forum when using the above walktrough.
Could someone please be so kind to send me a working message.php file where i can add my adsense info?
By the way: when I use the above mentioned hack my forum is still working but my topics wil become complete white pages with some user options.
mail me at
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
Thanks in advance , kind regards !