Looking for a way to reset all the votes on a site. Is there a way? Don't seem to be any options under content types or the configuration page.

Comments

tetramentis’s picture

Version: 6.x-1.18 » 6.x-1.19

Truncating the 'votingapi_vote' and 'votingapi_cache' tables seems to do the trick. I do not know if this is a safe (and sufficient) way, though.

web506’s picture

Please help us with this, I need the same information, reset all votes. Thanks!

Dimedrol-1’s picture

Assigned: Unassigned » Dimedrol-1

Flushing these tables reset votes counter. For me it works fine.

ericduran’s picture

Status: Active » Fixed

Closing this issue as per comments above.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

dwatts3624’s picture

Version: 6.x-1.19 » 6.x-2.x-dev
Assigned: Dimedrol-1 » Unassigned
Status: Closed (fixed) » Needs review

This doesn't seem to work in the latest D6 dev version. I've emptied these two tables and the votes are still displaying (even after flushing cache, etc.). Where's the data!? :)

dwatts3624’s picture

Status: Needs review » Closed (fixed)

Scratch that. I'm not even going to say what my real issue was. Call it extreme oversight.

darrell_ulm’s picture

an FYI about

Truncating the 'votingapi_vote' and 'votingapi_cache'

from
https://drupal.org/node/562730#comment-2252910

It appears to work w/ the current Drupal 7 version.