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.

New ASP Version

Discussion in 'Co-op Advertising Network' started by Zinho, Apr 1, 2005.

  1. #1
    Hi all,
    Is there anyone who has already coded the asp port?
    If no, I will try to do it now...
    Thanks
     
    Zinho, Apr 1, 2005 IP
  2. Perrow

    Perrow Well-Known Member

    Messages:
    1,306
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    140
    #2
    I just posted an asp-update in the "news" thread. Not quite tested but should (hopefully work). I won't repost it here but have asked for a sticky thread for us asp geeks to handle our scripts, hopefully that can be arranged.
     
    Perrow, Apr 1, 2005 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #3
    Did someone finally fix it to check if the .txt file is writable before making a request for a new ad to the ad server? Not doing that is causing a lot of ASP sites to be blocked by the ad server.
     
    digitalpoint, Apr 1, 2005 IP
  4. Cyber-SEO

    Cyber-SEO Member

    Messages:
    68
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #4
    Can you provide a link to that post? can't find it :)
     
    Cyber-SEO, Apr 1, 2005 IP
  5. sji2671

    sji2671 Self Made Mind

    Messages:
    1,991
    Likes Received:
    144
    Best Answers:
    0
    Trophy Points:
    170
    #5
    We dont know yet if it works or whether the coder has addressed the problems with earlier asp versions but..

    New asp version
     
    sji2671, Apr 1, 2005 IP
  6. fplaces

    fplaces Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hello all

    Can someone help me here please !!!!!

    My pages are ASP and need to know what files I create to get ads working do I use Blogger Blog Setup? Have tried it with little success.

    I have now got the new asp version do i replace this with the php files that blogger blog setup told me to do?

    Or do i just paste the new asp on each page ?

    As you can see i'm very new to this and need help

    Thanks

    Adam
     
    fplaces, Apr 1, 2005 IP
  7. wendydettmer

    wendydettmer Peon

    Messages:
    1,462
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Are you hosting the blog on your own servers? the co op doesn't work if you host it with blogger
     
    wendydettmer, Apr 1, 2005 IP
  8. wrkalot

    wrkalot Well-Known Member

    Messages:
    285
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #8
    The version posted above is working fine for me... so far.
     
    wrkalot, Apr 1, 2005 IP
  9. dkalweit

    dkalweit Well-Known Member

    Messages:
    520
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    150
    #9
    I implemented the version mentioned above(posted in the other topic), and an hour or two later I came back to find my sites timing out. I got into the server and found the CPU maxing out on dllhost.exe. Something in that script is bad, and causing big problems. I've been forced to disable the coop on my ASP sites for now(I'll have to go find the old ad_network.asp temporarily). Anyone want to take another stab at getting it right, or maybe fixing this one? I'd do it myself, but there's a handful of people here that already know how to read Shawn's code, so could probably do a better job. Thanks.

    I'm thinking it would be best to write an ASP page that can simply call the php version running on another server(or even the same). I have a linux server and a Windows server-- I'd much rather just make a web-service call to my other server than deal with all this ASP version catch-up...


    --
    Derek
     
    dkalweit, Apr 1, 2005 IP
  10. wrkalot

    wrkalot Well-Known Member

    Messages:
    285
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #10
    It stopped working for me. Anyone working on this by chance?
     
    wrkalot, Apr 3, 2005 IP
  11. dkalweit

    dkalweit Well-Known Member

    Messages:
    520
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    150
    #11
    Personally, I installed php on my Windows server(as an ISAPI DLL instead of the cgi-- that was why it was so pitiful in performance before, I guess). I then just created a web-service-y file that calls this php and passes in the remote_addr so the script can work properly for validation(it detects to see if the validation server is the requestor before showing class tags, it looks; which is good, because it makes the ads more transparent to Google)...

    If people are interested, I can post my code. Note that it would involve installing php on your server and having the xmlhttp component available(this is part of the msxml parser).


    --
    Derek
     
    dkalweit, Apr 3, 2005 IP
  12. wrkalot

    wrkalot Well-Known Member

    Messages:
    285
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #12
    The host I have has PHP on the server I use and xmlhttp... I would be interested in trying you code.
     
    wrkalot, Apr 3, 2005 IP
  13. sji2671

    sji2671 Self Made Mind

    Messages:
    1,991
    Likes Received:
    144
    Best Answers:
    0
    Trophy Points:
    170
    #13
    Would this work on windows shared servers?
    I know PHP files will run but not sure about anything else it would need to work, can you post your code/details of the install so that others may try it, a php work around would be great for asp based sites especially for future updates.
     
    sji2671, Apr 3, 2005 IP
  14. Perrow

    Perrow Well-Known Member

    Messages:
    1,306
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    140
    #14
    Here's an updated version of the asp script, does not check for writable file yet, will get on it.
     
    Perrow, Apr 5, 2005 IP
  15. wrkalot

    wrkalot Well-Known Member

    Messages:
    285
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #15
    I have had the above file running on one of my sites for a couple of days and everything seems to be working fine. Thanks Perrow!
     
    wrkalot, Apr 8, 2005 IP
  16. BigEasy

    BigEasy Peon

    Messages:
    182
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Thanks DK and everyone else who worked on this for asp sites. I installed today and it's working great.
     
    BigEasy, Apr 8, 2005 IP
  17. flyered

    flyered Peon

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #17
    I updated with this code, and the ads display fine now, site still validates, BUT it shoots me this error right after the ads:

    Microsoft VBScript runtime error '800a000d'

    Type mismatch: 'ads'

    Very ugly.

    One other thing, I noticed that my new ad_network_ads.txt suddenly inflated to 330 kb? Is this normal? I would expect it to only have the 5 links at one time cached. Or did I miss some major system redesign..?

    Thanks
     
    flyered, Apr 10, 2005 IP
  18. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #18
    It caches 400 ads at a time.
     
    digitalpoint, Apr 10, 2005 IP
  19. Zinho

    Zinho Peon

    Messages:
    284
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Maybe someone could have some problems with the writable path :
    edit the line n.18 and make it like this:
     
    Zinho, Apr 10, 2005 IP
  20. Protoss

    Protoss I paid $25 for this title

    Messages:
    82
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #20
    The code works nice, but for some reason I can't pass validation now. The html output from the code is:

    <img src="http://ads.digitalpoint.com/t-31521-34799-23881-1265-15378.gif" width="1" height="1"><a href="http://www.racegearshop.com/nike-baller-band.php" />Baller Bands</a> | <a href="http://oklahomacity.ok.mypages.com/Oklahoma-City~yellow-pages.html" />Oklahoma City Yellow Pages</a> | <a href="http://www.bookspublications.com/" />Discount Shopping Online</a> | <a href="http://www.easydoityourself.com/shop/" />Do It Yourself Store</a> | <a href="http://www.smsclub.pl/" />Gry Java</a>

    Looks like it should be fine. Could this have anything to do with "banned ip's" and such that everyone is talking about?
     
    Protoss, Apr 12, 2005 IP