Active
Project:
User Points
Version:
7.x-2.x-dev
Component:
Code: userpoints_rules
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 May 2012 at 05:02 UTC
Updated:
29 Jun 2012 at 12:48 UTC
When I create a rule for users activating their accounts, no points are rewarded. Here is the export:
{ "rules_p_for_register" : {
"LABEL" : "Points For Registering (Works!)",
"PLUGIN" : "reaction rule",
"TAGS" : [ "Points" ],
"REQUIRES" : [ "userpoints_rules", "logintoboggan_rules" ],
"ON" : [ "logintoboggan_validated" ],
"DO" : [
{ "userpoints_action_grant_points" : {
"user" : [ "site:current-user" ],
"points" : "100",
"tid" : "0",
"entity" : [ "account" ],
"description" : "Thanks for registering!",
"operation" : "Insert",
"reference" : "Registration",
"display" : 1,
"moderate" : "approved"
}
}
]
}
}
Comments
Comment #1
crawley commentedProbably you unselected the authenticated user option.
Comment #2
rogical commentedYou can output the rules debugging info see it fires.