Hi Jan,
Thank you for using the plugin.
1. Please manually create the directory if it is not automatically created and make sure webserver user group has permission on it(you can do chgrp -R www-data most probably on that directory)
2. It is the serialized array. This is how BuddyPress stores multi select field and we are simply following the convention. Please use maybe_serialize/maybe_unserialize to do it manually. BuddyPress already unserializes the value, so if you are using xprofile_get_field_data, It will be available to you as array/comma separated string depending on the function parameters.
Regards
Brajesh
Thread Starter
Hanz17
(@hanz17)
Hi Brajesh,
1. I have already created the folder, including appropriate rights, but still can not save the photo. Does it have any limitations?
2. I need to display it with a comma in order editing and in e-mail. Is it possible via theme function? How?
Thank you very much for help.
Hi,
I am sorry, I could not reply earlier.
1. I am unable to help. Please contact the hosting provider. Also, I will suggest enable WP_DEBUG and WP_DEBUG_LOg and capture the error. That should give us more idea.
2. Please use $values = xprofile_get_field_data(“Field Name”, $user_id);
Where Field Name should be either the field id(numeric) or the Field Name and the $user_id should be the actual numeric user id.
Regards
Brajesh
It has been a month since last discussion. Marking resolved. Please feel free to reopen if you need further assistance on this.
regards
Brajesh