Nevermind: I needed to use [site:current-user:my-custom-field] (i.e. dashes instead of underscores). Too bad I didn't think to try that before clicking submit. Maybe this will help somebody else.

When I try to access a field I've added to my user profile, but I can't get at those values in my rule. Is that expected? Is there something I'm missing?

Also, in the PHP, $site seems to be empty (i.e. print_r($site) doesn't show anything).

Thanks.

Colin

Comments

colin_young’s picture

Status: Active » Closed (fixed)
mitchell’s picture

Component: Miscellaneous » Rules Core

Updated component.

mitchell’s picture

Issue summary: View changes

Discovered solution.