Where to put coop ads for phplinkdirectory

Discussion in 'Co-op Advertising Network' started by SportsOutlaw, Jan 10, 2006.

  1. #1
    I have this directory set up on my site as my links page. I tried putting the code in the footer.tpl file, but that did me absolutely no good.

    Anybody got COOP running on this that can point me in the right direction?
     
    SportsOutlaw, Jan 10, 2006 IP
  2. obenix

    obenix Eats an apple a day......

    Messages:
    2,236
    Likes Received:
    180
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What do you mean by "no good"? Ads not showing?
     
    obenix, Jan 10, 2006 IP
  3. John D

    John D Well-Known Member

    Messages:
    1,154
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    150
    #3
    Exact same question here.

    Ads aren't showing when I put the code in the footer.tpl file.
     
    John D, Jan 17, 2006 IP
  4. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #4
    phplinkdirectory runs the smartly templating system. Instead wrap the php code with {php} {/php} tags. That should work.
     
    mdvaldosta, Jan 17, 2006 IP
  5. John D

    John D Well-Known Member

    Messages:
    1,154
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    150
    #5
    Thanks for the help, is this what I should have:

    {php}
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network_139.php');
    echo $ad_network;
    {/php}

    I tried this but it hasn't changed anything.

    Thanks again
     
    John D, Jan 17, 2006 IP
  6. John D

    John D Well-Known Member

    Messages:
    1,154
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    150
    #6
    Got it!

    Thanks :)
     
    John D, Jan 17, 2006 IP
  7. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Glad you got it John.
     
    mdvaldosta, Jan 17, 2006 IP