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 Instructions/notes are at the top of the .cfm file. Good luck!
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.
Hi, Nitin. It works. Specially after I changed the absolute path to ad_network_ads_380_cf.txt to reflect mine instead of yours. Thank you very much.
If there is a bug in the first version, you should probably delete those attachments to avoid confusion.
Yeah, I wanted to and didn't see the delete button ... stupid noob ... let me see if I can figure it out again <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>
You can manage your attachments regardless if you are still within the timeframe to edit a post in your user profile: http://forums.digitalpoint.com/profile.php?do=editattachments
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.
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.
This version does not fill the .txt file. And all I get is the "Ad server still being primed" message.
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