Coldfusion Port for v.380

Discussion in 'Co-op Advertising Network' started by Nitin M, Sep 15, 2005.

  1. #1
    Here it is. Very lightly tested but does seem to work. If you run into problems, post the issue here and if you don't get a timely response, then PM me.

    Rename the .cfm.txt to just .cfm. Maybe shawn will update the allowed file extensions to include .cfm sometime soon now that there is a CF forum on DP :rolleyes:

    Instructions/notes are at the top of the .cfm file.

    Good luck!
     
    Nitin M, Sep 15, 2005 IP
    Will.Spencer likes this.
  2. Nitin M

    Nitin M White/Gray/Black Hat

    Messages:
    640
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #2
    :eek: Well, I did say lightly tested didn't I ... doesn't look like anyone downloaded it yet ... a tiny bug in the original version is corrected in this version.

    Thanks.
     
    Nitin M, Sep 15, 2005 IP
  3. alephito

    alephito Peon

    Messages:
    197
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi, Nitin.

    It works. Specially after I changed the absolute path to ad_network_ads_380_cf.txt to reflect mine instead of yours. :rolleyes:

    Thank you very much.
     
    alephito, Sep 16, 2005 IP
  4. Nitin M

    Nitin M White/Gray/Black Hat

    Messages:
    640
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You're welcome.

    And you knew to do this because you actually read the comments in the header, right? :cool:
     
    Nitin M, Sep 16, 2005 IP
  5. alephito

    alephito Peon

    Messages:
    197
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Oops, I missed that section of Note #5. :D

    Thanks again, Nitin.
     
    alephito, Sep 16, 2005 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
    If there is a bug in the first version, you should probably delete those attachments to avoid confusion. :)
     
    digitalpoint, Sep 16, 2005 IP
  7. Nitin M

    Nitin M White/Gray/Black Hat

    Messages:
    640
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yeah, I wanted to and didn't see the delete button ... stupid noob ... let me see if I can figure it out again :eek:

    <edit>Heh, now I really messed up .. can't even edit it. I tried to edit it when I could and I didn't see how to change the files that were uploaded. Is that possible when editing?</edit>
     
    Nitin M, Sep 16, 2005 IP
    alephito likes this.
  8. alephito

    alephito Peon

    Messages:
    197
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Just edit the first message, Nitin.
     
    alephito, Sep 16, 2005 IP
  9. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #9
    digitalpoint, Sep 16, 2005 IP
  10. Nitin M

    Nitin M White/Gray/Black Hat

    Messages:
    640
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Wow. I really am a noob. :p

    Thanks Shawn. Had no idea that page/functionality existed.
     
    Nitin M, Sep 16, 2005 IP
  11. alephito

    alephito Peon

    Messages:
    197
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Nitin,

    I think I just triggered the case you mention in Note #4:

    ---------------------
    An error occurred while evaluating the expression:
    l_adID = ListGetAt(l_tmp, 2, "^")
    Error near line 122, column 11.
    In function ListGetAt(list, index [, delimiters]) the value of index, which is 2, is not a valid index for the list given as a the first argument (this list has 1 elements). Valid indexes are in the range 1 through the number of elements in the list
    The error occurred while processing an element with a general identifier of (CFSET), occupying document position (122:5) to (122:45).
    ---------------------

    I cleaned the .txt file and the error is gone.
     
    alephito, Sep 16, 2005 IP
  12. Nitin M

    Nitin M White/Gray/Black Hat

    Messages:
    640
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Hmm. On line 119 of your version does the formula end with +1 or +2 ?
     
    Nitin M, Sep 16, 2005 IP
  13. alephito

    alephito Peon

    Messages:
    197
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #13
    It ends with +1
     
    alephito, Sep 16, 2005 IP
  14. Nitin M

    Nitin M White/Gray/Black Hat

    Messages:
    640
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Damn. Well, I'm heading out for a happy hour ... I'll try to look at it later tonight or tomorrow. I don't think that is from any known issue .. probably just an outright bug. :mad:
     
    Nitin M, Sep 16, 2005 IP
  15. alephito

    alephito Peon

    Messages:
    197
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Ok, Nitin. I disabled the tag for the weekend.

    Take it easy and thank you very much for the effort.
     
    alephito, Sep 16, 2005 IP
  16. Nitin M

    Nitin M White/Gray/Black Hat

    Messages:
    640
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #16
    3rd time's the charm? Let's hope. :D
     
    Nitin M, Sep 16, 2005 IP
  17. alephito

    alephito Peon

    Messages:
    197
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #17
    This version does not fill the .txt file. And all I get is the "Ad server still being primed" message.
     
    alephito, Sep 17, 2005 IP
  18. alephito

    alephito Peon

    Messages:
    197
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Nitin,

    Do you still have the second version of this release?
     
    alephito, Sep 19, 2005 IP
  19. Nitin M

    Nitin M White/Gray/Black Hat

    Messages:
    640
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #19
    I just put these files into a brand new site and confirmed they seem to be working fine. You'll get the message the ad server is being primed for several refreshes (and remmeber there is a delay built into the ad serving code .. 4 seconds i think ... so you can't just hit refresh right away). And then, you'll get an error 1 time ... then on the next refresh it'll work fine.

    I think you're just not waiting for enough real page refreshes.... if you're sure you are, then PM you versions of the 2 files and I'll take a look.

    Thanks,
    Nitin
     
    Nitin M, Sep 19, 2005 IP
  20. alephito

    alephito Peon

    Messages:
    197
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Nitin,

    The previous release worked exactly that way. I just sent you a PM.

    Thanks.
     
    alephito, Sep 19, 2005 IP