1

I created the following rule:

  • Event: User votes on a Материал
  • Condition: Check the value of the vote, greater than 0
  • Action: Load points of a user, node:author
  • Action: Grant points to a user, node:author 1

When a user votes on a node, the node author will get 1 user point. The same user can vote more than once, and the node author would get 1 user point each time.

UPDATE. Solved my issue by myself. Will add link to solution soon.

  • Do you want the user to be able to vote more than once and just not give userpoints from the second vote onwards - or do you want to stop more than one vote per user and node completely? – Philipp Horn Aug 2 '13 at 11:45
  • I prefer to stop more than one vote per user and node completely. Just like on this drupal.stackexchange site – Alexander Kim Aug 2 '13 at 12:03
0

One simple way to avoid this is to add a rule that removes points whenever a downvote happens. Same rule, different condition (if the value is -1) and different action: Decrease points.

0

You can use google translate to understand it (russian text):

http://webcoder.kz/modul-rate-userpoints-voting-rules-flag-dobavlyaem-bally-yuzeram-pri-golosovanii-za-nody-kotorye-oni

  • Seems ok although if you want a Stack Overflow style you should think on changing rate for Vote Up Down drupal.org/project/vote_up_down . However it's your call. – mariomc Aug 2 '13 at 15:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.