Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: Preventing spam bots from distorting view counts?  (Read 2855 times)

0 Members and 1 Guest are viewing this topic.

creativename

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
[Solved]: Preventing spam bots from distorting view counts?
« on: April 26, 2009, 06:40:29 pm »

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?
« Last Edit: April 28, 2009, 05:40:40 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Preventing spam bots from distorting view counts?
« Reply #1 on: April 27, 2009, 10:28:44 am »

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.
Logged

creativename

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Preventing spam bots from distorting view counts?
« Reply #2 on: April 27, 2009, 04:52:11 pm »

OK thanks, I'll just deal with it then.
Logged

creativename

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: [Solved]: Preventing spam bots from distorting view counts?
« Reply #3 on: April 28, 2009, 06:14:17 pm »

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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Preventing spam bots from distorting view counts?
« Reply #4 on: April 29, 2009, 08:30:10 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.112 seconds with 20 queries.