I am using FiveStar voting module and I would like to add a limit to the number of votes a user can make. Anybody know how to do that?
Drupal FiveStar module voting limit
679 Views Asked by Remus At
2
There are 2 best solutions below
0
On
The fivestar module uses the voting API. The voting API has a configuration page which specifically allows you to do this without any other intervention such as custom modules. You can set a time which must pass before computer (for anonymous users) and (separately) a registered user identity can be regarded as being different. Below this time repeat votes are disallowed. The time in each case can be set between "Immediately" and "Never".
You can try doing it with this custom module, or something like this, it is checking if the user is voted or not. Add the following code to your node template file: