By jefgodesky on
According to the documentation, the User Points module should provide a whole category of conditions for Rules. I see two events: "Points: User was awarded points," but also "Points: User will be awarded points." But I don't see anything for conditions, and for Actions, I see another item that isn't documented here: "Points: Load points of a user."
I guess the details of the Rules integration has changed somewhat. Is there any up-to-date documentation available? Were the conditions dropped on purpose, or am I just doing something wrong? I'd really like to use a condition that would let me check how many points a user has in a particular category. Is that possible?
Comments
First, make sure that you
First, make sure that you pass user info to Rules. To do that, simply add "load user" action and specify user usging tokens.
Then, (either using Rule Sets), you could check user-points count for that loaded-user.
What's new and changing in PHP 8.4
I can't find a "load user" action.
I can't find any action called "load user." Under the heading of "User," I can only see "Add user role," "Block a user," "Remove user role," and "Unblock a use" (sic).
See this.
http://img838.imageshack.us/img838/8046/addtex1.jpg
What's new and changing in PHP 8.4
I don't have a lot of those options.
I'm running Drupal 7. That screenshot looks like Drupal 6. Is that why I don't see so many of the options there?
I've submitted a patch.
I've submitted a patch to add some conditions to the User Points Rules integration.