I am trying to deduct points from a user.
here is what I have written so far.
I have lots of questions
1. in the php section
$node and $author are variables.
do i have access to $node->uid or do I have to use node_load?
2. returning $node will return all changes?
Here is the code. Any help?
Comments
Comment #1
socialnicheguru commentedComment #2
Bilmar commentedThe below rule trigger should do the trick.
Event: content is going to be saved
Condition: content is published / unchanged content / negate
Condition: content is published / saved content
Action: load the content author
Action: // deduct the point from the author here