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.
Description for votingpoints says:
Rules integration for users earning points as they vote on nodes. With the rules approach, the node author can be assigned userpoints too.
However in rules UI I only see user who votes as someone who gets points, not node author. Can somebody point me to the right way to do this? Thanks.
Comments
Comment #1
tsi CreditAttribution: tsi commentedlooking for this also, subscribing
edit: just found the solution - you must add an action in the rule to load the node author, before the action to grant points.
Comment #2
ManyNancy CreditAttribution: ManyNancy commentedThanks.
Comment #3
tsi CreditAttribution: tsi commentedNow the question is how to grant a number of points equal to the vote submitted instead of a fixed number of points
Comment #4
knowledges33ker CreditAttribution: knowledges33ker commentedHow do you do this? "you must add an action in the rule to load the node author, before the action to grant points." I have been searching for a way to trigger a new workflow state based on voting. Since voting API doesn't integrate with Rules, If I can give the user a point for each time a user has voted on a node, then I can use the votepoint category in userpoints as the condition for my trigger. It would be awesome to be able to do this.
Comment #5
ryanmnly CreditAttribution: ryanmnly commentedI don't understand it either. It used to work before the modules were merged. Can anyone explain this to me? All I want to do is award the author of the node/comment a point each time someone votes up, and take away a point each time someone votes down.
Comment #6
WildBill CreditAttribution: WildBill commentedI don't even see an action for awarding userpoints. I've got the conditions set up in the Rules module. But there's no Action to award userpoints.
Comment #7
pramudya81 CreditAttribution: pramudya81 commentedsubscribing
Comment #8
emdalton CreditAttribution: emdalton commentedHow do you even detect that the vote has happened?
Comment #9
emdalton CreditAttribution: emdalton commentedNever mind. This is much simpler: http://drupal.org/project/userpoints_votingapi