• Resolved moltendev44

    (@moltendev44)


    Right now I am using Profile Builder Pro and have commandeered your wonderful plugin to mass import user Data that was sitting for a long time on the website in Ninja Forms.

    Here on Ninja Forms soon-to-be users uploaded their Profile Pictures.

    I downloaded all of the metadata from the questions asked in this form, including the pictures (in URL format), and reorganized them according to the meta tags their answers fulfill in Profile Builder Pro.

    There is no documentation for Profile Builder, but I tried it out anyway with Profile_Pictures as the meta tag. It didn’t work, but I read through similar threads on uploading profile pictures, and I found Buddy Press has the capability. I swapped in the bp_avatar meta tag.

    It worked! My Users that chose to upload a picture, and had a URL for their picture, were uploading pictures. The problem is that these pictures are extremely zoomed in, cropped strangely, or something else entirely. I’m not getting the picture uploaded correctly, and when it is uploaded, I cannot manage cropping the image.

    I’m hoping you can help me sort through this issue. I read some updates were on the way with this CSV plugin. It would greatly aid me on this project for my client as we’re renovating an old website, and there are potentially 1000s more users on the way.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Javier Carazo

    (@carazo)

    Sorry but as you can see in this file: https://plugins.trac.www.ads-software.com/browser/import-users-from-csv-with-meta/trunk/addons/buddypress.php in the function import_avatar_raw if you notice, I delegate that part of the work in the BuddyPress function bp_core_avatar_handle_crop and I do it using some standard parameters because a priori I do not know how the photos that are going to be imported are going to be.

    I can prepare a hook for you if you want to create a filter that suits your needs in the corresponding part:

    $crop_args = array(
    ‘item_id’ => $user_id,
    ‘original_file’ => $avatar_to_crop,
    ‘crop_x’ => 0,
    ‘crop_y’ => 0,
    );
    return bp_core_avatar_handle_crop( $crop_args );

    Thread Starter moltendev44

    (@moltendev44)

    Hey thank you very much for the follow up. I apologize for my delayed reply I was in a crunch but I did find a solution by using WP sheet editor. But that was runoff from from old Ninjaforms where the images were readble.

    We now use typeform and have been unable to find a user image plugin to read typeform URLs!
    So lots of manual work now until I discover that work around.

    Plugin Author Javier Carazo

    (@carazo)

    Thanks for answering.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.