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.

ad_network PHP File Update

Discussion in 'Co-op Advertising Network' started by digitalpoint, Mar 31, 2005.

  1. wendydettmer

    wendydettmer Peon

    Messages:
    1,462
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    0
    #141
    Are you sure you have the updated ad network file? If the name is different then it will give that message
     
    wendydettmer, Apr 7, 2005 IP
  2. Homer

    Homer Spirit Walker

    Messages:
    2,396
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    0
    #142
    Wendy, sometimes you can't see the forest through the trees ;), Thanks for helping me see the forest. Works gr8.

    Hope all is well with you...counting the days (minutes maybe)?


    Cheers
     
    Homer, Apr 7, 2005 IP
  3. wendydettmer

    wendydettmer Peon

    Messages:
    1,462
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    0
    #143
    Your welcome :)
    i'm soooo ready for the baby to be outtttttttttt, but it could be up to a month away. :)
     
    wendydettmer, Apr 7, 2005 IP
  4. Homer

    Homer Spirit Walker

    Messages:
    2,396
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    0
    #144
    Hang in there good things are worth waiting for.
     
    Homer, Apr 7, 2005 IP
  5. SportsOutlaw

    SportsOutlaw Active Member

    Messages:
    952
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    70
    #145
    hehe, I got all messed up by this earlier today when I updated the code. Suddenly, all the links were gone, and I was getting a crazy not on my site that I needed to set my txt file to writeable. I bet I spent a solid 30 minutes in confusion before reading the php file and having the "light bulb" click on. :eek:
     
    SportsOutlaw, Apr 7, 2005 IP
  6. Homer

    Homer Spirit Walker

    Messages:
    2,396
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    0
    #146
    Same here except I dragged it out over the whole day. :( I couldn't sit and work on it for long enough to see what I was doing wrong...OK now :)
     
    Homer, Apr 7, 2005 IP
  7. netaddict

    netaddict Peon

    Messages:
    640
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #147
    I don't want to display that image adjacent to my ads.

    <img src="http://ads.digitalpoint.com/t- .gif" width="1" height="1" />';

    What can I do?
     
    netaddict, Apr 13, 2005 IP
  8. wendydettmer

    wendydettmer Peon

    Messages:
    1,462
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    0
    #148
    Nothing, it's part of tracking and needs to be included in the code.
     
    wendydettmer, Apr 13, 2005 IP
  9. netaddict

    netaddict Peon

    Messages:
    640
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #149
    but, if I don't want to track.... I mean there is no way not to display that image? :(
     
    netaddict, Apr 13, 2005 IP
  10. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #150
    You may not be interested in Stats but there are others that are and if everyone who didn't care removed it the stats would be way off
     
    yfs1, Apr 13, 2005 IP
  11. wendydettmer

    wendydettmer Peon

    Messages:
    1,462
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    0
    #151
    No, there isn't, it's part of the code that needs to stay.

    If you took it out, then others would not be able to get stats on impressions on your site, so it's about tracking the ads that you show, not your ads. (although those are tracked by that image on other sites).

    sorry
     
    wendydettmer, Apr 13, 2005 IP
    yfs1 likes this.
  12. yfs1

    yfs1 User Title Not Found

    Messages:
    13,798
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #152
    yfs1, Apr 13, 2005 IP
  13. Spacen

    Spacen Peon

    Messages:
    92
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #153
    I saw some discussion earlier in this thread about wanting to use "|" as the separating character but also wanting to separate the ads into two lines. It took a little while of playing with it but I got it to do it. The following code puts two ads on the first line and three ads on the second. I'm sure there is a better way of doing it but this is what I came up with.

    Original line in YOUR php file:
    echo $ad_network;
    Code (markup):
    Replace that line with this one:
    echo substr_replace($ad_network,"<BR>",strpos(substr($ad_network,strpos($ad_network,"|")+1),"|") + strpos($ad_network,"|")+1,1);
    Code (markup):
     
    Spacen, Apr 18, 2005 IP
  14. Homer

    Homer Spirit Walker

    Messages:
    2,396
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    0
    #154
    There is an easier way...use the tools provided in COOP set up. Shawn has recently included this function In COOP user CP.
     
    Homer, Apr 18, 2005 IP
  15. Spacen

    Spacen Peon

    Messages:
    92
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #155
    Hmmmm, I still don't see where the option is. You can select how many ads you want and what the separator is but I don't see the option to separate the ads into multiple lines if you don't choose <br /> as the separator.

    I chose "|" as the separator but wanted to replace the second occurrence of it with a <br> tag. That's what my code above does.

    Am I just missing it?
     
    Spacen, Apr 19, 2005 IP
  16. kokopoko

    kokopoko Active Member

    Messages:
    238
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #156
    I updated the ad_network.php file with this latest version and now the ads won't show and the site won't validate. I'm calling the ad_network.php file from html pages using an include. This worked with past versions. Can anyone help? The site is http://paypay-loans.information-directory.info
     
    kokopoko, Apr 29, 2005 IP
  17. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #157
    Where abouts within the page are you showing the links?

    As a side note, pages with this number of outbound links should recieve less weight IMO...

    Edit - As another side note, mind sharing what script you are using?
     
    SEbasic, Apr 29, 2005 IP
  18. kokopoko

    kokopoko Active Member

    Messages:
    238
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #158
    The ads are suppossed to be at the very bottom of the page.
     
    kokopoko, Apr 29, 2005 IP
  19. LiGhTen

    LiGhTen Peon

    Messages:
    89
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #159
    DEAD SLOW ... on ASP pages...
     
    LiGhTen, Apr 30, 2005 IP
  20. zak

    zak Peon

    Messages:
    175
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #160
    Anyone done the JSP version... only joking!

    Anyway I changed the colour and it wasnt working, so I flushed the ad_network .txt file and now its ok.
     
    zak, May 2, 2005 IP