Rule integration for role validation
willzzz - June 30, 2009 - 03:05
| Project: | Registration Code |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
I'm using the Rule module in conjonction with Regcode for giving some users a specific role.
I used the event "user has used a registration code" and i made an action which gives specific role. But without any condition for validating code, any typed string in the code registration field gives the role.
Here's my problem, it seems I need to add a condition for validating codes; I tried to use "check truth value", "numeric comparison", "textual comparison" conditions, but no results.
Could you explain how building the right Rule's condition for validating codes?
(Thanks for the port to D6)

#1
#2
I've fixed up the module so that it triggers the rules module property.
Unfortunately I don't know enough about the Rules module to add in any useful conditions. Help welcomed!
#3
#4