Posted by maczkojanos on July 10, 2009 at 8:09am
Jump to:
| Project: | Voting API |
| Version: | 6.x-2.1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I need to delete all votes of a specified user (or votes form specified IP adress)?
Im search a lot, but cant find the answer.
Of course im set view to list all votes of user, and all votes from an IP, its ok, but whats next?
Thank for any help!
BR
Janos
Comments
#1
Its solved with sql.
#2
It would be very nice if you could post the SQL statements to delete all votes by user or IP.
This should be a feature of the module I think...
#3
yea, the statement would be nice
#4
For user
DELETE FROM votingapi_vote WHERE uid = 127;For ip
DELETE FROM votingapi_vote WHERE vote_source = '127.0.0.1';And there is also votingapi_cache, its not easy to erase data from there because we don't have uid or ip data in that table. But cached vote results will be recalculated next time when somebody votes on that content.
And yes I also agree that this functionality need to exist, maybe in votingapi or in some other new module.