+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Ads on phpBB

  1. #1
    elforo is offline x10Hosting Member elforo is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    West London
    Posts
    78

    Ads on phpBB

    How can i do this please if tried editing the style tables but its not working any advice please.

  2. #2
    bigguy's Avatar
    bigguy is offline Retired bigguy is an unknown quantity at this point
    Join Date
    Mar 2005
    Location
    Canada
    Posts
    5,426

    Re: Ads on phpBB

    the ad code must go in the top of the overall_header.tpl file. put it in that file and save it. It should work after that.
    P.C. Tweakr - For all your computer and internet support
    P.C. Tweakr - For all your SMF help and support

  3. #3
    elforo is offline x10Hosting Member elforo is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    West London
    Posts
    78

    Re: Ads on phpBB

    thanx mate i have tried this to no result, i am beggining to think it could be a problem with the ads....nevertheless i shall try again.
    cheers

  4. #4
    bigguy's Avatar
    bigguy is offline Retired bigguy is an unknown quantity at this point
    Join Date
    Mar 2005
    Location
    Canada
    Posts
    5,426

    Re: Ads on phpBB

    It could be because of server problems. The server is being looked at as we speak. Make sure the ad goes in below the opening php line at the top.
    P.C. Tweakr - For all your computer and internet support
    P.C. Tweakr - For all your SMF help and support

  5. #5
    elforo is offline x10Hosting Member elforo is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    West London
    Posts
    78

    Re: Ads on phpBB

    sorry i dont follow, the overall_header.tpl is in html........by what i can see

  6. #6
    bigguy's Avatar
    bigguy is offline Retired bigguy is an unknown quantity at this point
    Join Date
    Mar 2005
    Location
    Canada
    Posts
    5,426

    Re: Ads on phpBB

    If your running phpbb 2.0.17 then no all of it should be in php not html
    P.C. Tweakr - For all your computer and internet support
    P.C. Tweakr - For all your SMF help and support

  7. #7
    elforo is offline x10Hosting Member elforo is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    West London
    Posts
    78

    Re: Ads on phpBB

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html dir="{S_CONTENT_DIRECTION}">
    <script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script> <script language='JavaScript' type='text/javascript'> <!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random); document.write ("&amp;what=zone:3&amp;target=_blank"); document.write ("&amp;exclude=" + document.phpAds_used); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a915c788' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:3&amp;n=a915c788' border='0' alt=''></a></noscript>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
    <meta http-equiv="Content-Style-Type" content="text/css">
    {META}
    {NAV_LINKS}
    <title>{SITENAME} :: {PAGE_TITLE}</title>
    <link rel="stylesheet" href="templates/BBTech/{T_HEAD_STYLESHEET}" type="text/css">


    <!-- BEGIN switch_enable_pm_popup -->
    <script language="Javascript" type="text/javascript">
    <!--
    if ( {PRIVATE_MESSAGE_NEW_FLAG} )
    {
    window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
    }
    //-->
    </script>
    <!-- END switch_enable_pm_popup -->

    ---------------------
    Theres more underneath but i dont think it is important , as you can see on the 3rd line i included the ad script....is this right?
    thanx again

  8. #8
    bigguy's Avatar
    bigguy is offline Retired bigguy is an unknown quantity at this point
    Join Date
    Mar 2005
    Location
    Canada
    Posts
    5,426

    Re: Ads on phpBB

    are you using the html ad code or the php ad code. There is a zip file to download with the correct codes in it. The code from the link under my sig should work to.
    P.C. Tweakr - For all your computer and internet support
    P.C. Tweakr - For all your SMF help and support

  9. #9
    elforo is offline x10Hosting Member elforo is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    West London
    Posts
    78

    Re: Ads on phpBB

    ok will try, thankyou very much for your help

  10. #10
    elforo is offline x10Hosting Member elforo is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    West London
    Posts
    78

    Re: Ads on phpBB

    ok ive done so still to no result but i have come to the conclusion that this is a problem with the server as when i check the preview file i still dont see anything.
    thanks for your help anyway

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. phpBB Installtion and Mod Installation
    By sk1tL1L in forum The Marketplace
    Replies: 5
    Last Post: 12-15-2007, 06:48 PM
  2. ConstrucciÓn De Foros Phpbb
    By lsrea in forum Soporte
    Replies: 31
    Last Post: 10-22-2006, 11:21 PM
  3. PHP-Nuke PHPBB
    By Sci0N in forum Free Hosting
    Replies: 9
    Last Post: 09-05-2005, 02:38 PM
  4. Adding ad's to phpbb forum
    By haqzombie in forum Free Hosting
    Replies: 7
    Last Post: 07-31-2005, 12:35 PM
  5. phpBB 2.0.17 released
    By n4tec in forum Scripts & 3rd Party Apps
    Replies: 0
    Last Post: 07-26-2005, 07:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers