I'm using Profile 2 and notice that the support for user picture does not appear to be working correctly. In my case it is telling me that I do not have a user picture, when actually I have.

I note that the link offered beneath the completion bar leads to the profile page, when in fact the user picture is controlled from the account settings. Perhaps this is a different configuration from the deprecated profile module upon which this module was originally ported?

Otherwise excellent work. Thank you

Comments

grasmash’s picture

You're right, this bug originates with the deprecated profile module. The pcp_get_user_additional_values() function attempts to handle this, but it needs some work. I'll try to throw some time at it in the next few weeks, but contributions are always welcome!

grasmash’s picture

After some testing, I've found that pcp_get_user_additional_values() actually does return the correct value for the core profile. However, the 'user picture' field is incorrectly being evaluated for Profile2 PCP blocks, in which case the field is returned with a false negative. Is this your experience?

grasmash’s picture

Status: Active » Closed (fixed)

This issue has been fixed in the newest dev version.