Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have a custom widget attached to a custom content. I want to reset I want all the votes (for this content type) to be reseted at the first day of each month.
My second option is that when a user votes, his votes is automaticly deleted after X days.
Is one of this possible ?
sorry for my bad English
Comments
Comment #1
jOksanen CreditAttribution: jOksanen commentedHey Tourista. It is possible.
You need to utilize the Rules module and cron to make this happen. https://www.drupal.org/project/rules
Comment #2
Tourista CreditAttribution: Tourista commentedThanks for the answer. I tried with Rules but I don't see any "event" related to votes :/
Comment #3
jOksanen CreditAttribution: jOksanen commentedYou might need https://www.drupal.org/project/voting_rules as well!