Closed (fixed)
Project:
Userpoints Node Action
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
18 Nov 2009 at 16:51 UTC
Updated:
13 Jun 2010 at 15:50 UTC
It would be great if you could expose the result of the userpoints transaction to a rule.
A
Comments
Comment #1
BillyMG commentedWill work on it and post back here.
Comment #2
BillyMG commentedCommitted this to the dev version. It includes two rules. The first is for when the user can pay for the node, and gets called after the user has been charged the points. The second rule is when the user tries to submit or preview or do anything to the node that would cause it to get validated. The user hasn't been charged points (since they couldn't afford it anyway) at this point, but they may not be done editing the node. This needs to be done to make sure the rule is still useful and called when it still matters.
I've just started using rules, so let me know if there's other things that are needed beyond these two rules.
Comment #3
BillyMG commented