2012-03-11, 11:37 PM
I chose to not bother with any plugins and installed the code directly to my header and footer templates. The cells adjusted accordingly with the sizes of the two ad units, but the image of the ad itself does not appear in either section.
The AdSense code is active and works fine on another website, but not in MyBB forum which I have started building here, using the latest version of MyBB:
http://hudsonvalleyforums.netne.net/index.php
This is the full template for the header, the Google AdSense code is at the bottom in bold:
The AdSense code is active and works fine on another website, but not in MyBB forum which I have started building here, using the latest version of MyBB:
http://hudsonvalleyforums.netne.net/index.php
This is the full template for the header, the Google AdSense code is at the bottom in bold:
Quote:<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
</ul>
</div>
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>
</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
<navigation>
<br />
<div style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-6635968806447648";
/* HVForum Leaderboard */
google_ad_slot = "2658619811";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>