Download & Extend

Rule action to give points to node/comment author and not the current user

Project:User Points
Version:6.x-1.0
Component:Code: userpoints_rules/userpoints_workflow_ng
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I am using an implementation with Flag + Userpoint rules + Rules
I want to give user points to users whenever their content is flagged 'up' and remove points when content is flagged 'down'.
However, under rules actions for userpoints, I only see 'Flagging user' as an argument. Is it possible to provide a patch that would give 'Node author' and 'Comment author' as arguments?
I am not a coder but can offer to test the patch to make sure it works as intended.

Comments

#1

#2

Status:active» fixed

You can achieve this with:
Event: node has been flagged
Action: node-load content author
Action: user points-grant points to a user
The argument will have flagged content author available

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here