Closed (fixed)
Project:
Voting API
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2007 at 07:39 UTC
Updated:
6 Jun 2008 at 02:55 UTC
When I look at the votingapi_vote table it's quite clear that there are some spam votes. It's probably some spam / harvesting robots (with China or Brasil IPs usually) which are clicking at exactly first star (vote value 20 from the same IP / 5-20 votes at a time).
This situation rises a question: how to avoid / automoderate (read delete) this kind of bad votes?
Slightly off topic: how to rebuild votingapi_cache table after deleting votes manually?
Comments
Comment #1
quicksketchSeems more like feature that should exist in VotingAPI rather than Fivestar. Maybe a blacklist for registering votes? If desperately needed you can implement this functionality by implementing hook_voting_api and delete the votes as they go in.
Comment #2
eaton commentedIf you're deleting votes manually using SQL, you'll need to call the votingapi_recalculate_results() function and pass in the content type (node, most likely) and the ID of each node in question.
Any time anonymous voting is enabled, there's a significant risk of spamming.