Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author r-a-y

    (@r-a-y)

    Not sure what you are referring to.

    The members loop already has the member’s profile picture (avatar) in it.

    Thread Starter DAM

    (@damland)

    Ah yes sorry,
    I meant notifications

    Plugin Author r-a-y

    (@r-a-y)

    The notifications template is a BuddyPress theme-specific thing and not an issue with this plugin.

    You’d have to override the notifications template to manually add in the avatar.

    Copy over the notification loop template:
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications/notifications-loop.php

    to your theme:

    /wp-content/themes/YOUR-THEME/buddypress/members/single/notifications/notifications-loop.php

    And manually apply those changes.

    However if the notification is “This User is Following You” wouldn’t the userid have to come from BuddyPress Followers? Thanks!

    I am using: <?php echo bp_post_author_avatar( array( ‘user_id’ => $user_id ) ); ?>

    However it is displaying my own avatar, not the avatar of the new follower.

    ??

    Anyone have any advice? Still stuck.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘profile image on followers page’ is closed to new replies.