Active
Project:
User Points Contributed modules
Version:
6.x-1.x-dev
Component:
Code: votingpoints
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2011 at 01:21 UTC
Updated:
8 Aug 2011 at 05:09 UTC
Hi,
I have enabled the votingpoints module to allow node authors to get points when users vote on their content. In Rules, there is no argument available to award points to node authors, only to the user who voted on the content. Is it possible to award node authors userpoints when users vote on their content?
I am using Drupal 6.20 and the latest versions of Rules, VotingAPI and Uuserpoints.
Many thanks,
Shane.
Comments
Comment #1
haopei commentedI have the same problem. I think we are trying to do similar things. I want to assign points to authors whose contents are flagged / voted up/down, but I cannot find the author argument (only the 'flagging user')
Comment #2
haopei commentedI have found the solution.
Under "Actions" in rules, you first need to select "load user account". You will need to enter a nid here. The trick is to use the [node:author-uid] token in this field, and then click Save. You will find the option to target the "loaded user" in your following actions.