• Resolved Hanz17

    (@hanz17)


    Hello,

    first, thank you for this plugin.
    Second, I have two problem.
    1. Image field – The image can not be saved into the bpxcftr-profile-uploads directory with permission 777. Upload in WP media works.
    2. Value from multi-select field is a:1:{i:0;s:9:”Violinist”;}. How can I change it?

    Thank you
    Jan

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Brajesh Singh

    (@sbrajesh)

    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.

    Thread Starter Hanz17

    (@hanz17)

    Any solution? :/

    Plugin Author Brajesh Singh

    (@sbrajesh)

    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

    Plugin Author Brajesh Singh

    (@sbrajesh)

    It has been a month since last discussion. Marking resolved. Please feel free to reopen if you need further assistance on this.

    regards
    Brajesh

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘2 problems’ is closed to new replies.