no ads showing, but .txt file has text in it.

Discussion in 'Co-op Advertising Network' started by geniosity, Jan 29, 2006.

  1. #1
    Hi,

    I have set everything up, and changed my settings to show text links, but I don't have any ads showing up (and therefore the site isn't validating).

    If you look at the bottom of http://homedeco.geniosity.co.za you'll see to "pipes" ("|") that separate my ads, but no ads. AND, these is 1 line in the .txt file (ip address and numbers).

    Any help would be appreciated. Thanks...
     
    geniosity, Jan 29, 2006 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 have on your page to display the ads exactly?
     
    digitalpoint, Jan 29, 2006 IP
  3. geniosity

    geniosity Peon

    Messages:
    293
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Are you talking about what I include in my template? If so, here it is (I've renamed the files to adnet.php and adnet.txt)

    <?php
    	ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    	include ('adnet.php');
    	echo $ad_network;
    ?>
    PHP:
     
    geniosity, Jan 29, 2006 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    If you echo $ad_network twice, do you get 8 pipes?
     
    digitalpoint, Jan 29, 2006 IP
  5. geniosity

    geniosity Peon

    Messages:
    293
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It doubles to 4 pipes.

    2 things to note:

    - It used to show the full description ads before even though I had selected just the text links, so it has shown ads before. I emptied the .txt file and uploaded a new php file to see if it would use the text link settings.
    - I'm using WordPress, in case that affects anything
     
    geniosity, Jan 29, 2006 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    What if you just make a dummy PHP file with just the ad network include/echo code? Can at least eliminate WordPress being a factor then.
     
    digitalpoint, Jan 29, 2006 IP
  7. geniosity

    geniosity Peon

    Messages:
    293
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    geniosity, Jan 29, 2006 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #8
    Did you change the PHP code at all?
     
    digitalpoint, Jan 29, 2006 IP
  9. geniosity

    geniosity Peon

    Messages:
    293
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #9
    other than to rename the file to adnet.txt, no. Let me get a new copy (again) and compare/update it just in case.
     
    geniosity, Jan 29, 2006 IP
  10. geniosity

    geniosity Peon

    Messages:
    293
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #10
    ok. updated the file, and still no luck. (Other than renaming the files to adnet.* I used the default .php and include).

    Is there any debug info I can print? What are the numbers in the filenames for? Are they random or do they mean anything, because they are now "151" but I thought they were "150" when I last did this.
     
    geniosity, Jan 29, 2006 IP
  11. geniosity

    geniosity Peon

    Messages:
    293
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Thanks for your help. I will try setting this up again at a later stage... If it still doesn't work (or you think of something else), I'll come back here.

    thanks again.
    James
     
    geniosity, Jan 29, 2006 IP
  12. geniosity

    geniosity Peon

    Messages:
    293
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Hi, It seems to be working now. I didn't make any further changes from earlier on...

    Thanks for your help.
     
    geniosity, Jan 30, 2006 IP