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
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

willzzz - June 30, 2009 - 03:07
Assigned to:willzzz» Anonymous

#2

aidanlis - July 22, 2009 - 21:38
Category:support request» feature request

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

aidanlis - July 25, 2009 - 20:29
Status:active» fixed

#4

aidanlis - July 25, 2009 - 20:30
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.