Interesting question here, I am using the Rules module and the Content Profile module (expanding on Advanced Profile Kit). On user log-in I would like to see if a certain field in the user's content profile is blank and [if it is] direct them to the page to edit it. Now, the problem I am having is I cannot seem to figure out a way to actually create a conditional to check that CCK field. I have figured out how to check account variables like [account:uid] and whatnot using the built-in tokens available in rules, but it doesn't appear as if you are able to call CCK fields when the event you have selected for the Rule is "on user log in".

Any thoughts?

Comments

frank0051’s picture

Never mind, I think I found a solution by enabling content profile tokens and running a PHP condition in rules.

robonoob’s picture

Please help. I am new to these. Would you please tell me how can I enable content profile tokens and let them be usable in rules?