Skip to:
Content
Pages
Categories
Search
Top
Bottom

Use linkedin avatar when mystery man is displayed

  • Avatar of Pepperbase
    Pepperbase
    Participant

    @pepperbase

    Hi,

    I’ve managed to setup a linkedin api to sync profiles. If the mystery man is displayed it gets replaced by the user’s linkedin avatar. However, I use the bp_before_profile_edit_content hook to display to linkedin sign in button. Therefor the linkedin avatar is only displayed on the edit page. How can I display the linkedin avatar on all pages? I guess I should use the filter bp_core_fetch_avatar, but I have no idea how.

    This is the code so far: http://pastebin.com/3dGdMFeV

    Thanks for any suggestions!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.