Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Committed 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.
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