Closed (won't fix)
Project:
Birthdays
Version:
6.x-1.0-rc1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2009 at 09:36 UTC
Updated:
18 Aug 2010 at 18:23 UTC
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
Comment #1
Drew Patrick commentedNot gonna happen if it hasn't happened after all these months.
Fair enough - ready when it's ready :-)