Hi, this is probably an easy question for anyone with php experience, but I have none.

I'm using the rules module, and want to create an action based on the age of the user (i.e. under 18 or over 18). How to I extract the user's age from the birthday module (needed for the rules php evaluation)? This is what I have so far (extract from the if statement):

if ($user['values'][birthdays-age'] < 18)

I'd probably be embarrased by the code if I had php experience and saw what I've actually coded :-)

Comments

Drew Patrick’s picture

Status: Active » Closed (won't fix)

Not gonna happen if it hasn't happened after all these months.

Fair enough - ready when it's ready :-)