Need help getting ads to show...

Discussion in 'Co-op Advertising Network' started by Bulldog San, Apr 14, 2005.

  1. #1
    I've got the Co-op ads showing on my main folder pages like:

    This

    But I can't get them to show on this page:

    Here

    The main page ads are for a .htm site. I'd like to place the Co-op ad code in the footer.html file but don't know how to make it work.

    Tried doing it like the instructions said and got the "...must be writeable" error. Made it writeable and got some other weird error:

    Warning: file_get_contents(): URL file-access is disabled in the server configuration in /home/.garby/sanfordrosser/northatlanta-homes.com/ad_network.php on line 41

    Warning: file_get_contents(http://ads.digitalpoint.com/network.php?c=northatlanta-homes.com&type=link): failed to open stream: no suitable wrapper could be found in /home/.garby/sanfordrosser/northatlanta-homes.com/ad_network.php on line 41


    Any suggestions? Thanks in advance.
     
    Bulldog San, Apr 14, 2005 IP
  2. kyle422

    kyle422 Peon

    Messages:
    290
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Put something like this in the bottom of the footer.html
    <?
    include ('../ad_network_[COLOR=Red]215[/COLOR].php');
    echo '<div class="[COLOR=Red]ads[/COLOR]">'.$ad_network.'</div>'; 
    ?>
    </BODY>
    </HTML>
    Code (markup):
    Adjust the red code to the correct file name and CSS. Let me know if you have any problems.

    P.S. Your main page shows
    "You must set the ad network .txt file to be writable."
     
    kyle422, Apr 14, 2005 IP
  3. Bulldog San

    Bulldog San Peon

    Messages:
    195
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the help Kyle. With your suggestion and a little tweaking, I got the problem solved and ads are now showing properly.
     
    Bulldog San, Apr 15, 2005 IP
  4. kyle422

    kyle422 Peon

    Messages:
    290
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No problem. Glad you got it working. Did you see that FREEBS has been updated again. ;)
     
    kyle422, Apr 15, 2005 IP