• Resolved blakemiller

    (@blakemiller)


    Have you ever looked into the ability to import profile pictures for buddypress / buddyboss? I know importing images are a tricky business (I use WPAllImport for alot of things) but it seems that buddypress profile images are hard to figure out. I’m not even sure where they live in the database. Thougths?

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

    (@carazo)

    Good afternoon @blakemiller,

    Yes, the problem here is that we cannot upload an image into a CSV (it would be crazy convert in base64 for example and upload it into the CSV).

    How do you think it could be done?

    Thread Starter blakemiller

    (@blakemiller)

    I’m not sure how it works in detail. But it would not extract images from CSV, but instead it downloads external or links to local image. It requires the image “references” to be exact and pre-defined. For example, the CSV value would be something like

    https://currentwebsite.com/wp-content/uploads/profile-images/first-lastname.jpg
    or
    https://externalwebsite.com/somefolder/first-lastname.jpg

    If existing on the current media, then it would use as is. If located on external website, it downloads the image from site and saves it to local media.

    I know WPAllImport handles images from external URL or local WP Media. I use it often for regular posts, custom post types, ACF, etc. But, WPAI does not handle buddypress like you do. https://www.wpallimport.com/documentation/images/overview/

    FWIW – if you had a “pro” version that included advanced topics like this, I would be willing to pay a fee for it.

    Plugin Author Javier Carazo

    (@carazo)

    Currently we have not a pro version.

    But it would be interesting to include it.

    I have just included it in the develop queue, as soon as we have time, we will do it.

    Tell you when done!

    Thread Starter blakemiller

    (@blakemiller)

    Excellent, thank you!

    Plugin Author Javier Carazo

    (@carazo)

    We have just done it. Update to the last version and read this part of the documentation.

    BuddyPress/BuddyBoss avatar You can import users avatars using a column called bp_avatar, in this field you can place:
    An integer which identify the ID of an attachment uploaded to your media library
    A string that contain a path or an URL to the image

    Thanks for your suggestion to make it better ??

    Thread Starter blakemiller

    (@blakemiller)

    Wow, this is awesome, thank you! I’ll give it a test run on an upcoming site and report back. There are a handful of BuddyBoss users (in their FB group) that have been asking about this too. I’ll spread the word.

    Plugin Author Javier Carazo

    (@carazo)

    Thank you! It is nice to create useful tools for everyone.

    Please check and let me know if you need anything else tell us.

    dejisoetan

    (@dejisoetan)

    I have a problem uploading profile pictures in BuddyBoss, I am able to upload PNG Files, but not able to upload JPEGS. My ISP environment has PHP 7.4 and that is the only diference from my previous environment where everything worked.

    Anyone come across this problem?

    Plugin Author Javier Carazo

    (@carazo)

    @dejisoetan,

    This is really strange, maybe some kind of missing image library in PHP?

    @carazo Resovled it was the fact that my hosting provider had upgraded to PHP version 7.4. They rolled back the version 7.3 and that worked.

    I have informed Buddyboss…..

    I just wanted to add that I have now tested and this solution works perfectly. Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Buddypress / Buddyboss Profile Picture’ is closed to new replies.