5 ads - all the same

Discussion in 'Co-op Advertising Network' started by Kerry, Feb 23, 2005.

  1. #1
    I searched for the answer to this, but didn't find one.
    I'm trying to set up 5 different ads on our site...
    I see the five ads, but they're all the same... see bottom of this page: http://www.cousinsvideo.com/Forum/

    What did I do wrong?
     
    Kerry, Feb 23, 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
    What's the PHP code you are using to output them?
     
    digitalpoint, Feb 23, 2005 IP
  3. Kerry

    Kerry Grunt

    Messages:
    109
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm not technically inclined.... if I understand what you're asking, here's what I added to my page_tail.php The copy and paste below includes a couple lines before and after what I added;

    'ADMIN_LINK' => $admin_link)
    );
    include ($phpbb_root_path . 'ad_network_176.php');
    $template->assign_vars(array('AD_NETWORK' => $ad_network[0]));
    $template->assign_vars(array('AD_NETWORK2' => $ad_network[0]));
    $template->assign_vars(array('AD_NETWORK3' => $ad_network[0]));
    $template->assign_vars(array('AD_NETWORK4' => $ad_network[0]));
    $template->assign_vars(array('AD_NETWORK5' => $ad_network[0]));

    $template->pparse('overall_footer');
     
    Kerry, Feb 23, 2005 IP
  4. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #4
    'ADMIN_LINK' => $admin_link)
    );
    include ($phpbb_root_path . 'ad_network_176.php');
    $template->assign_vars(array('AD_NETWORK' => $ad_network[0]));
    $template->assign_vars(array('AD_NETWORK2' => $ad_network[1]));
    $template->assign_vars(array('AD_NETWORK3' => $ad_network[2]));
    $template->assign_vars(array('AD_NETWORK4' => $ad_network[3]));
    $template->assign_vars(array('AD_NETWORK5' => $ad_network[4]));

    $template->pparse('overall_footer');





    That should work
     
    fryman, Feb 23, 2005 IP
    digitalpoint likes this.
  5. Kerry

    Kerry Grunt

    Messages:
    109
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    That did it. Thanks Fryman and Shawn.
     
    Kerry, Feb 23, 2005 IP