Look into Rules integration. This may also change into Token integration.
- Events:
- On group member state change (approve/reject)
- On global state change (is this necessary if rules supports flag integration now?)
- Conditions or Tokens?:
- numeric comparison (built-in already?) Should the module just provide a token,
[ona:user_state]and[ona:flag]? [ona:percentage/ratio/whatever]
- numeric comparison (built-in already?) Should the module just provide a token,
- Actions:
- Modify user state for a node
- Delete user state for a node (should already be done natively so this is useless?)
- Modify node state (flag/unflag)
Comments
Comment #1
mradcliffeAdded token support in the latest commit.
They're not showing up in the text replacement in rules for the default rule however they *still* work.
Comment #2
mradcliffeDo I need to have any events (triggers) for rules? The default rule changes publish status on view content, which works really well already. I don't think I need this.
How about actions?
Comment #3
mradcliffeComment #4
mradcliffeI'm going to close this for now. I think with the default rule that comes with rules a user can accomplish most of what they need via numeric comparisons provided by token.