The file is only 184 lines, so the error is within the file you are including from. You will have to check your code to see what is at 193.
Hello, No problem; however, I didn't write it. I just kind of support it and help people. It's been working for a long time, so, mostly I just tell people it is still working.
Hi Michail, It is great to see that you have taken the initiative to do so. Many months ago when the functionality of the script went down the toilet, I offered to pay or hire someone to write/modify/maintain the script and no one seemed interested at the time. I don't know if it is because they didn't take me seriously or what? That being said, I am EXTREEMLY APPRECIATIVE of your efforts and I am willing to make this offer to you in order to maintain the ASP version of the COOP functional for all members. If you are interested in maintaining the script and getting paid for it please PM me. My intentions are NOT to make members pay for the script but to have a stable and well maintained script which in the long run will benefit all of us in the COOP. Please PM or email me to discuss and make arrangements. Thanks again! Frank
sayles - Ummm, I will keep supporting it for as long as I can. Hey, if nothing changes, then all is good. Most of my sites are now PHP. Only 2 are ASP and one of them is going to convert soon. Guess we will see what happens. Dan - No problem. Glad you got it running.
Hi michail1, I'm just going through the ASP code, and I've noticed that within the ad_network() function, it seems to allways execute the line 'Response.Write "<img src=""http://ads.digitalpoint.com/t" & id_string & ".gif"" width=""1"" height=""1"">"'. If the tracking code is always created like this, won't it mean that hits by spiders will contain the co-op network footprint, and be ignored / penalised? Also, this will mean that spider page hits will be counted by the network as regular page impressions and distort people's stats. Is there any way to only include the tracking image link when the user agent isn't a spider like the PHP version apparently does?
Dan, The same code it output on the PHP version as well. asp 213 is the same results as the php 213 version. I have both running and pulling from the same caching file. Same source on both pages. So, yes, it could be seen as a footprint to dps, but that's the way it is for both php and asp versions. Being that they are both the same, yes, the site could be ignored/penalized based this footprint. A LOT of people would be upset about it to. Spiders: I guess this would be the case; however, it will evenly distort. Topic: The ASP code is converted from PHP to ASP. So, I think your questions would be best answered on the PHP side of the forum since 99% of people are looking over there. (More likely to get a good answer regarding blocking spiders)
Hi michail1, I've just taken a quick look at the current PHP code, and it DOES differentiate between spiders & humans, and only displays the tracking image to the latter. This is an example of the first entry from the cache (up to the first '<ad_break>'); 03/11/2005 00:45:03|216.9.35.51|us82jsdd|1000|1800|4|1|MSIE-Firefox-Safari-Netscape-Opera The section after the last pipe symbol defines the acceptable user agents. The PHP code only displays the tracking image if the user agent contains one of the terms in the dash seperated list at the end. That way the footprint is invisible to spiders, and stats will not be distorted. The fix should only be a couple of lines of code, and I'd be a lot happier personally to loose the co-op footprint for spiders!
Hi michail1, I've just implemented this change in my code; At the bottom of the ad_network() function replace this line; Response.Write "<img src=""http://ads.digitalpoint.com/t" & id_string & ".gif"" width=""1"" height=""1"">" With this; 'Add tracking image only if the user is human not a spider if lcase(Request.ServerVariables("HTTPS")) <> "on" and ubound(spParam) >= 7 then arrAgents = split(spParam(7), "-") for iLoop = 0 to ubound(arrAgents) if instr(1, Request.ServerVariables("HTTP_USER_AGENT"), arrAgents(iLoop)) > 0 then Response.Write "<img src=""http://ads.digitalpoint.com/t" & id_string & ".gif"" width=""1"" height=""1"">" exit for end if next end if That will bring the ASP code in line with the latest PHP code and only display the tracking image when the user is human.
Hello. As you said, you looked at the current version. Again, this ASP version was a port from Version 213, not 248. Guess I will upgrade the ASP code I am using too.
For all the .asp users out there.. i believe this thread needs a bump! I'm not a thread bumper, but I've seen a lot of requests for the code.
I added the code to all of my sites last night and it's all perfectly functional. Now all that is left is some praying to the Google Gods. Thanks!!!
I seem to have been around the forum ten times looking for the instructions on how to get the ASP code up and running, so sorry to be a pain, but where is it