Hello everyone!

I just noticed that rate.module 'quietly' deletes votes from suspicious sources without leaving any trace beyond the bad IP address in the queue table. I recently had some legitimate votes deleted because they came from the same IP address (but from different & legitimate people). I find it unfortunate that I can't retrieve those votes now. It would've been super nice to have that data stored somewhere in the logs instead (watchdog, perhaps?).

What do you guys think? Is this a bug or a feature request? What's the requirement? :]

Am I right thinking that there's no way to find out details of the votes deleted by rate.module (via rate_bots_delete_votes(), I guess)?

Thanks a lot!

Comments

mauritsl’s picture

Logging the deleted votes isn't a bad idea indeed.
But watchdog entries are flushed very often, depending on your system. The default implementation is good when you just want to know whats going on 'right now', but not suitable for this specific case. A separate table would be a better idea.