Ads not showing up after updating ad_network.php

Discussion in 'Co-op Advertising Network' started by stathis, Dec 13, 2004.

  1. #1
    Hello!

    I just changed my ad_network.php file as per the email i received.
    After changing it and uploading i stopped receiving ads. In the place where ads were supposed to be shown i just get the word "Array" now. Did i do something wrong?
     
    stathis, Dec 13, 2004 IP
  2. a389951l

    a389951l Must Create More Content

    Messages:
    1,885
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    140
    #2
    You need to look at the setup directions again when you log into your account. I had to make changes to the code on my pages also. You will also need to flush out your ad_netword_ads.txt
     
    a389951l, Dec 13, 2004 IP
  3. gamma

    gamma Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    what did you change in the php file? can you post a snippet?

    I just installed co-op... eidted the php so that the .txt file was in a non-web readable directory. So far so good...
     
    gamma, Dec 13, 2004 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    The setup instructions have changed a little... instead of $ad_network, you echo it out as $ad_network[0] for a single ad setup.
     
    digitalpoint, Dec 13, 2004 IP
  5. stathis

    stathis Peon

    Messages:
    493
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks everyone! It's working like a charm now!!! :)
     
    stathis, Dec 13, 2004 IP