MyBB Community Forums

Full Version: Google Ads are visible in not all browsers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have placed the google ads in msg box. Its visible in opera but not in firefox and internet explorer.

i am posting my code over here


I have modified in Postbit section
---------------------------------------------------
<tr>
<td class="$altbg" width="155" valign="top" nowrap="nowrap" align="center"><a name="pid$post[pid]"></a>
<strong><span class="largetext">$post[profilelink]</span></strong><br />
<span class="smalltext">
$post[usertitle]<br />
$post[userstars]
$post[groupimage]<br />
$post[useravatar]<br />
$lang->postbit_posts $post[postnum]<br />
$lang->postbit_group $usergroup[title]<br />
$lang->postbit_joined $post[userregdate]<br />
$lang->postbit_status $post[onlinestatus]$post[replink]<br />
<a href="test">Author Section</a>
</span>
</td>
<td class="$altbg" width="100%" valign="top">
<table width="100%">
<tr><td class="trow">
<table width="100%" align="center">
<tr>
<td align="left" valign="top">
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-###############";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "CC0000";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br/>
<div>
$post[posturl]$post[icon]<span class="smalltext"><strong> $post[subject]</strong></span>
<p>$post[message]</p><br>

$post[attachments]
$post[signature]
<div style="text-align: right; vertical-align: bottom;">
$post[editedmsg]
$post[iplogged]
</div></td>

<td align="right" valign="top">
<script type="text/javascript"><!--
        google_ad_client = "pub-############";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "CC0000";
google_color_text = "000000";
google_color_url = "008000";
        google_ad_width = 200;
        google_ad_height = 200;
        google_ad_format = "200x200_as";
        google_ad_type = "text";
        //--></script>
        <script type="text/javascript"
          src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
        </script>
        </td>
</tr>
</table>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="$altbg" height="18" nowrap="nowrap" 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" nowrap="nowrap"><span class="smalltext">$post[button_edit]$post[button_quickdelete]$post[button_quote]$post[button_report]</span></td>
</tr>
</table>
</td>
</tr>
$seperator

--------------------------------------------------

Infact when i wrote some text instead of script of google ads that dummy text is coming perfectly.
Thanks
Make sure your browsers has javascript enabled.
Can you link us to a thread that has this problem?
DennisTT Wrote:Can you link us to a thread that has this problem?

Thanks for your reply. I did some changes. and its working fine now.
If i feel some other problem later on will bug u guys again.

Thanks