Changing the number of ads by hand

Discussion in 'Co-op Advertising Network' started by Tjcn, Jul 13, 2005.

  1. #1
    Can anyone point out which line of the ads_network.php code needs changing to show 3 ads?

    I currently have one ad and want to increase it to 3 ads on top of each other (I know I can do it automatically in the setup) but don't want to send my webmaster a new file as I think he changed one or two things.

    If some one could let me know the code for this it would be great.

    Hope someone can help.

    Thanks

    Tom
     
    Tjcn, Jul 13, 2005 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
    Look for this line:

    while (count ($ad_network) < 1) {
    PHP:
    and change it to:
    while (count ($ad_network) < 3) {
    PHP:
     
    digitalpoint, Jul 13, 2005 IP
  3. Tjcn

    Tjcn Peon

    Messages:
    14
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks Shawn :)
     
    Tjcn, Jul 13, 2005 IP