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.

AdNetwork ASP Code

Discussion in 'Co-op Advertising Network' started by Cyber-SEO, Dec 28, 2004.

  1. michail1

    michail1 Peon

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #101
    How can the validated be broken if it works for my sites on different servers without fail. maybe you have a different code than I am using. Just emailed it to you.

    Also, my php sites are working without fail as well. Same code for almost a year now.
     
    michail1, Sep 10, 2005 IP
  2. magiclamp

    magiclamp Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #102
    michail1,
    thank you very much for sending over your version. I did a quick eye diff, and found substantial differences between what I was running, and the code you have. I will back track through your version and see if I can figure out what is going on.

    What would really help is if the code people publish had: a) a version and date, b) author(s) info, not so we can bug them when we run into problems, but just to tell what's what.

    I realize that ASP is not officially supported, but maybe we can get a check-in/out place for us who need ASP to participate? I wouldn't want to steal DP's thunder, but if it's needed I will gladly host... (maybe there is already a specific place, and I just don't know)

    Cheers, and thanks to everyone!
    Jason
     
    magiclamp, Sep 10, 2005 IP
  3. michail1

    michail1 Peon

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #103
    Your post was #102
    The ASP code I sent you was from post #21
    There are a few other coops, but none nearly as well known. And, if you put ads from different coops on your sites, you will find that you will not Validate. It's against their rules.
    Also, only other reason you are not validating could possibly be that you are blacklisted.
     
    michail1, Sep 10, 2005 IP
  4. magiclamp

    magiclamp Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #104
    I swapped the code on one of the sites with yours, and it validated.

    I guess it's not worth back-tracing...

    Thank you!
     
    magiclamp, Sep 10, 2005 IP
  5. michail1

    michail1 Peon

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #105
    No prob. Glad you got it to work.
     
    michail1, Sep 10, 2005 IP
  6. Rooster

    Rooster Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #106
    Hi,
    I'm having the same problem with my code, ads showing but not validating has been working for almost a year. Can somebody point me in the right direction, all sorts of references to post 21 and cant see any files at all, in any posts.
     
    Rooster, Sep 11, 2005 IP
  7. Zinho

    Zinho Peon

    Messages:
    284
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #107
    Could you share the code with all of us?
    Or tell us the differences between the old and the new one...
    I was the creator of one of the first asp codes for the coop...but now don't have time to do the whole porting job.
    Thanks
     
    Zinho, Sep 11, 2005 IP
  8. Tom_Clark

    Tom_Clark Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #108
    Guys, it's a problem with the "get" querystring when it queries the server. It's simply not returning a link. Instead, it returns:

    "xxxxxxxx|1|3600|4ad_network.php file needs updating"

    Shawn, please provide us with the proper querystring so I can insert it into the coop file and get these ads running. I'm not sure if this is a result of something you've modified on your side, as far as the proper querystring is concerned.
     
    Tom_Clark, Sep 11, 2005 IP
  9. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #109
    It doesn't have anything to do with the query string, it has to do with your code being out of date.
     
    digitalpoint, Sep 11, 2005 IP
  10. Tom_Clark

    Tom_Clark Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #110
    Okay, I got it to write ads to the file now, at least. It's not displaying them or validating though.

    The old querystring used a B variable in the querystring, and the new one uses a C variable ... (I peeked into the new PHP file and saw this difference:
    --------
    ad_url = "http://ads.digitalpoint.com/network.php?b=" & url_loc & "&type=" & ad_type

    vs.

    ad_url = "http://ads.digitalpoint.com/network.php?c=" & url_loc & "&type=" & ad_type
    --------
    When querying each of these against the server, the B value returns an error because I'm guessing it's out of date. The querystring with the C value does return ads, but it now also has a 5-digit ID squeezed in between the links ...
     
    Tom_Clark, Sep 11, 2005 IP
  11. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #111
    As I said, it's not the query string... the code itself was updated.
     
    digitalpoint, Sep 11, 2005 IP
  12. michail1

    michail1 Peon

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #112
    Then why does mine still work?
    And the people I have helped (with the version I have) also work.

    I would upload it, but don't know how. I have emailed it to many people that have asked for it. Guess I am just glad it still works.
     
    michail1, Sep 11, 2005 IP
  13. michail1

    michail1 Peon

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #113
    michail1, Sep 11, 2005 IP
  14. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #114
    Because yours is more up to date than what some others were using.
     
    digitalpoint, Sep 11, 2005 IP
  15. Zinho

    Zinho Peon

    Messages:
    284
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #115
    Finally I got it working with the code you uploaded. Thanks very much. I had to flush the txt file before getting validated.
     
    Zinho, Sep 12, 2005 IP
  16. michail1

    michail1 Peon

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #116
    michail1, Sep 12, 2005 IP
  17. Rooster

    Rooster Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #117
    Nice 1 Michail for posting your code, great help. Strangely it looks like an older version than this one thats failed BTW, but if it works who cares. I am getting subscript out of range tho' so I guess I am not writing the ads properly, was using

    <% ads=ad_network
    response.write ads(0) %>
    Is this the way you are writing it?
     
    Rooster, Sep 14, 2005 IP
  18. mariense

    mariense Well-Known Member

    Messages:
    104
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    108
    #118
    Rooster,

    Try:

    <%
    dim ads
    ads=ad_network
    response.write ads(0) & " | " & ads(1) & " | " & ads(2) & " | " & ads(3) & " | " & ads(4)
    %>

    This works if you chose to display 5 ads
     
    mariense, Sep 14, 2005 IP
  19. michail1

    michail1 Peon

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #119
    <!-- #INCLUDE virtual=ad_network.asp -->
    <a href="http://www.KoltenW.com">Traxxas Revo / T-Maxx Parts</a> | <%ads = ad_network%><br>
     
    michail1, Sep 14, 2005 IP
  20. Stacy

    Stacy Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #120
    when i use this code i get subscript out of range on line 193. any ideas?
     
    Stacy, Oct 18, 2005 IP