MyBB Community Forums

Full Version: inline ads not showing up at all
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I recently installed inline ads, but when I activate it and put my adsense code in it doesn't do anything. No ads show up anywhere.
Any help would be greatly appreciated!

MyBB version: 1.2.9
PHP version: 4.3.11
DB version: MySQL 3.23.58
You use the Default Theme ?
Yep. Default theme.
the forum is homecrag.com
Can you check your postbit template and see if "{$inline_ads}" is present ?
It's not.
Quote:<tr>
<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
{$post['user_details']}
</td>
<td class="{$altbg}" width="85%" valign="top">
<table width="100%">
<tr><td>{$post['posturl']}{$post['icon']}<span class="smalltext"><strong> {$post['subject']}</strong></span>
<br />
<div id="pid_{$post['pid']}">
<p>
{$post['message']}
</p>
</div>
{$post['moderator_notice']}
<br />
{$post['attachments']}
{$post['signature']}
<div style="text-align: right; vertical-align: bottom;">
{$post['editedmsg']}
{$post['iplogged']}
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="{$altbg}" height="18" style="white-space: nowrap; text-align: center;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
<td class="{$altbg}" width="100%" valign="middle" height="18">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}</span></td>
<td align="right"><span class="smalltext">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}</span></td>
</tr>
</table>
</td>
</tr>
{$post['ratepost']}

LeX- Wrote:Can you check your postbit template and see if "{$inline_ads}" is present ?
You've got that "Rate Posts" plugin/mod installed ? That also replaces the {$seperator} var, so you need to add {$post['inline_ads']} after {$post['ratepost']}
I added that, no good.
I deactivated rate posts, still not showing up.

LeX- Wrote:You've got that "Rate Posts" plugin/mod installed ? That also replaces the {$seperator} var, so you need to add {$post['inline_ads']} after {$post['ratepost']}
You do use this mod http://www.mybbcentral.com/showthread.php?tid=11 ; made by labrocca ?
downloaded it from the plugins page on mybboard.net, but yes. Same instructions and download.

http://mods.mybboard.net/view/inline-ads-1.2
Is there a specific size or anything I have to use for adsense?
Here's the code I get from them.

Quote:<script type="text/javascript"><!--
google_ad_client = "pub-4923020470309822";
google_ad_width = 180;
google_ad_height = 150;
google_ad_format = "180x150_as";
google_ad_type = "text";
//2007-09-11: homecrag.climb
google_ad_channel = "1949743924";
google_ui_features = "rc:10";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Pages: 1 2