-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User profile variables - Custom profile field not working #38
Comments
I just tested to make sure, and it is working. It will work as you are doing: I think the issue might be that if the field is empty, it just resolves as the variable name, ie: @@user:icecreampref@@ Anyway check that the profile field key is correct AND the logged in user has something in that profile field, and it should work. |
sorry I closed that a bit hasty. Please let me know if its working and then I will close it |
Thank you for your trouble. I got it working now.. don't know what I changed to get it working though. If I find out I'll let you know. The profilefield was not empty, so that was not the problem. I do need to use capitals for "USER" though. Thanks again! |
After fooling around a little bit more on a identical environment with the original script if found that the profile field key has to be in only lowercase. I thought I tested this yesterday, but discovered I changed the wrong value :-) |
Ah nice one. Yes we do some lowercasing earlier in the processing and that might be breaking it. Thanks. |
Hello Justin,
I tried using USER PROFILE VARIABLES - Custom profile field
But it does not seem to be working. Maybe I am doing something wrong?
The example states: User's ice cream preference (custom profile field): @@user:icecreampref@@
When I use a similar statement using the default profile fields, it works like a charm. When using custom profile fields it displays the statement itself e.g. "@@user:icecreampref@@".
I tried adding "profile_field_" and taking out capital letters but that does not have any effect.
Is this a a bug or am I doing something wrong? :-)
Thanks a lot in advance.
Joris
The text was updated successfully, but these errors were encountered: