phpBB problem with new script

Discussion in 'Co-op Advertising Network' started by webvivre, Apr 1, 2005.

  1. #1
    Any ideas how you need to change this in the page_tail.php for the latest relase of Avertising Network

    include ($phpbb_root_path . '../ad_network_213.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');

    Just get garbage.......

    Help!
     
    webvivre, Apr 1, 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
    Should be able to change it to just this:
    include ($phpbb_root_path . '../ad_network_213.php');
    $template->assign_vars(array('AD_NETWORK' => $ad_network));
    $template->pparse('overall_footer');
    PHP:
    Although, you shouldn't get garbage, what do you get when you had it the old way exactly?
     
    digitalpoint, Apr 1, 2005 IP
  3. webvivre

    webvivre Peon

    Messages:
    249
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Spot on - many thanks Shawn (again!)

    Howard
     
    webvivre, Apr 1, 2005 IP