[Solved]: Preventing spam bots from distorting view counts? [Solved]: Preventing spam bots from distorting view counts?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Preventing spam bots from distorting view counts?

Started by creativename, April 26, 2009, 06:40:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

creativename

I just installed the CAPTCHA plugin, but I also have an issue with spam bots terribly distorting view counts. Lots of images had very high view counts due to automated spammers (I wouldn't expect a bot to trigger a view count, but apparently they do).

Is there any way to prevent this from happening?

Joachim Müller

Hit counters get increased per visit, so you must have gotten a lot of visits. Some of those visits are of course created by bots and scripts, like search engine spiders, but of course by spammer bots just as well. If this bothers you, you'll have to convert the hits counter to make them JavaScript-driven, as those bots don't parse JavaScript. However, you're on your own with this - I suggest living with the increased hots counter or reset them manually instead.

creativename


creativename

Oh, a related issue - spam bots seem to be corrupting the vote stats as well. I have no idea why a spam bot would want to do this (perhaps it's inadvertent), but many pics have high vote counts and very low averages (e.g. 0.06/5), I assume because of hundreds of extra '0' votes. Only the sum and number of votes seems to be tracked though so I don't know how to factor out the 0 votes. I don't suppose there's any way to figure out how many '0' votes there've been?

Joachim Müller

Quote from: creativename on April 28, 2009, 06:14:17 PM
I don't suppose there's any way to figure out how many '0' votes there've been?
Only if you have enabled "Keep detailed vote statistics" enabled in coppermine's config. One issue per thread! Locking.