Skip to:
Content
Pages
Categories
Search
Top
Bottom

Using Local Profile Picture


  • cl0ne
    Participant

    @cl0ne

    Hello everyone.

    I’ve been pulling my hair out trying to resolve this and I know it’s probably the most simply thing but that’s what I get for not having sufficient knowledge.

    So my membership plugin creates a user and adds a profile picture to WordPress’ user directory. But I need this profile picture to sync with Buddypress. I’ve learned quite a bit in pursuit in finding a solution and I feel like I’m so close and that’s why I need the help on the last mile.

    I was able to disable Buddypress’ attempts at finding a Gravatar for any given user using add_filter('bp_core_fetch_avatar_no_grav', '__return_true');. Worked great! Now, I’m staring at the “Mystery Man” and I know I need to use bp_core_fetch_avatar to change it to the local avatar uploaded to WordPress. That’s where I’m stuck. I need a snippet of code where I can plugin in the directory for it find the user and attach the profile picture!

    Any guidance would be appreciated it!

Viewing 3 replies - 1 through 3 (of 3 total)

  • cl0ne
    Participant

    @cl0ne

    Bump!


    sire404
    Participant

    @sire404

    Did you ever solve it? I’m looking for a solution as well.

    The filter “get_avatar_url” might be useful as well.


    cl0ne
    Participant

    @cl0ne

    Unfortunately, I was not.

    The membership plugin I was using eventually did an update that allow for syncing to occur automatically after registration.

    Hope you find a solution!

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