Changing the appearance of the ads

Discussion in 'Co-op Advertising Network' started by larryweiss, Dec 25, 2004.

  1. #1
    I recently saw a thresd somewhere regarding changing the format of the ads. Most sites here have a nice one line text setup with pipes etc. seperating them.

    Can someone please point me in the right direcrtion?

    Thanks

    Larry
     
    larryweiss, Dec 25, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    When outputting the ads, you could use the following PHP code:

    echo implode (' | ', $ad_network);
    PHP:
     
    digitalpoint, Dec 25, 2004 IP
  3. larryweiss

    larryweiss Active Member

    Messages:
    84
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    73
    #3
    Thank you. Exactly where do I put it, and do I replace anything?

    And how do I use it to show 5 ads?


    May I suggest adding your reply to the FAQ.


    Thanks

    Larry
     
    larryweiss, Dec 25, 2004 IP
  4. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #4
    after including ad_network.php just do the echo. What Shawn offered will output all 5 ads. if you want fewer, try
    echo "{$ad_network[0]} | {$ad_network[1]} | {$ad_network[2]}";
    PHP:
    etc.
     
    exam, Dec 25, 2004 IP