Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to show Avatars in the Notifications?


  • mcpeanut
    Participant

    @mcpeanut

    Hi, something i am a little stuck on with this, I would like to show the users Avatars in the notifications received via the notification bubble rather than just have the text, I cannot seem to find much about how i would do this after searching the net for answers, Can anyone point me in the right direction on how to do this?

    I believe i would have to echo the avatar from user id :

    echo bp_activity_avatar( array( ‘user_id’ => $user_id ) );

    something like this maybe within the notification loop?

    thx in advance.

  • The topic ‘How to show Avatars in the Notifications?’ is closed to new replies.
Skip to toolbar