UserPoints OG
Categories
Component ID
2294987
Component name
UserPoints OG
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Overview
And UserPoints, OG, Rules integration.
Each og has own's userpoints branding.
When workflows changes with rules module, updating points to the og by og_group_ref.
Features
- If og node create, automatic create term in userpoints category, and related to this og node.
- Have a batch page, batch the old og node.
- At the config page, you can customize userpoints category term 'name, this is userpoints branding in this og.
- Rules integration, create actions in the rules, the new data selector is 'node:userpoints-og-tid', When workflows changes with rules module, updating points to the og by og_group_ref.
- ...
Example
1)
A user in og1, og2, og3, he add a news to the og1 and add a comment to the og2, his og1 points increase 100 and og2 points decrease 20.
2)
Add a news(og content nodetype) to the og1, user in og1 points increase 100.
- 1)Go to admin/config/workflow/rules/reaction/add, add rules.
- 2)React on event, select optgroup of Node and Comment.
- 3)Add actions, Select the action is "grant points to a user".
- 4)Data selector is "site:current-user", Points category is click
the "Switch to data selection", if you event is "Node" optgroup,
select "node:userpoints-og-tid", if you event is "Comment" optgroup,
select "comment:node:userpoints-og-tid". - 5)Other settings according to your needs.
Node:
-After deleting content
-After saving new content
-After updating existing content
...
Comment:
-A comment is viewed
-After deleting a comment
-After saving a new comment
If action execute, points is add to the og userpoints category term tid.
