Posted by moosh101 on February 19, 2011 at 1:21am
2 followers
Jump to:
| Project: | User Points Contributed modules |
| Version: | 6.x-1.x-dev |
| Component: | Code: votingpoints |
| Category: | bug report |
| Priority: | major |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
#1
I 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')
#2
I 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.