1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Newbie co-op question.

Discussion in 'Co-op Advertising Network' started by mdvaldosta, Nov 22, 2005.

  1. #1
    Alright, I've finally decided to try co-op on one of my sites. I put the files on my server and the code in, and all seems fine but no ads are showing up yet.
    SEMrush
    Will the ads (on my site) not show up until the site validates?
     
    mdvaldosta, Nov 22, 2005 IP
    SEMrush
  2. fryman

    fryman Kiss my rep

    Messages:
    9,605
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #2
    Ads should show as soon as you put up the code. sounds like you aren't parsing it... what's the site?
     
    fryman, Nov 22, 2005 IP
  3. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #3
    mdvaldosta, Nov 22, 2005 IP
  4. Jim_Westergren

    Jim_Westergren Notable Member

    Messages:
    1,880
    Likes Received:
    247
    Best Answers:
    0
    Trophy Points:
    235
    #4
    You have to do some special tweaking to get it to work with PHPLD.

    1. Add this to footer.tpl where you want the ads:

    2. Add this to index.php in the end just above "echo $tpl->fetch('main.tpl', $id);" :

    3. Rename the file: ad_network_431.php to network.php instead otherwise it won't work.

    4. In network.php find the line that says

    And add a # before it to disable it.

    Now it should work.
     
    Jim_Westergren, Nov 22, 2005 IP
  5. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #5
    ha! I got it :D

    Thanks for the instructions jim, but what I did was add {php}{/php} tags arund it in the template file and it worked fine.
     
    mdvaldosta, Nov 22, 2005 IP
  6. latehorn

    latehorn Guest

    Messages:
    4,677
    Likes Received:
    238
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I use PHPld in a subsection of a big site that has Co-Ops on every pages with multiple footers. Any alternative solution?

    Forget it, I recently saw mdvaldostas suggestion :D
     
    latehorn, May 10, 2006 IP
  7. Beaverton

    Beaverton Peon

    Messages:
    192
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I know this is an old thread but I had to refer to it to get CoOp working on PHPLD... however I had to make one adjustment to Jim's instructions... the network.php file was using <?php at the top and I had to change it to <? to get it to work...
     
    Beaverton, Jan 28, 2008 IP