1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Adsense shows up in firefox but not IE on phpbb2

Discussion in 'phpBB' started by rdv817, Jul 23, 2007.

  1. #1
    In the following pages, my adsense shows up perfectly in firefox browsers, but not IE browsers, I have checked this on multiple computers.

    I tried to add adsense to the top of the following pages:

    index.php
    forum/viewforum.php
    forum/viewtopic.php

    I added the code in the appropriate templates:

    templates/subsilver/index_body.tpl
    templates/subSilver/viewforum_body.tpl.
    templates/subSilver/viewtopic_body.tpl

    I did NOT add it to the templates/subsilver/overall_header.tpl because I do not want the adsense to show up on the "non content" pages, which would violate adsense TOS.

    I placed the adsense code in the top table (this is an example of where I placed it in the templates/subSilver/viewtopic_body.tpl)

    <table width="100%" cellspacing="2" cellpadding="2" border="0">
    <tr>
    <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><br /><span class="gensmall"><b>{PAGINATION}</b><br />&nbsp; </span></td>

    <td align="center" valign="bottom"

    ADSENSE CODE IS HERE

    </td>
    </tr>
    </table>
    <table width="100%" cellspacing="2" cellpadding="2" border="0">
    <tr><td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
    <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td></tr></table>


    So, the question is, where do I place the adsense code so that it will show up in BOTH firefox and IE browsers??
     
    rdv817, Jul 23, 2007 IP
  2. rdv817

    rdv817 Peon

    Messages:
    237
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Um, never mind, after I posted this I realized where the error was....

    I left off the > after "bottom" here:

    <td align="center" valign="bottom">

    ADSENSE CODE IS HERE

    </td>

    problem solved, sorry for cluttering the board lol.
     
    rdv817, Jul 23, 2007 IP