Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to add user avatar to activity excerpts


Kieran
Participant

@cozzie

Just to say if anyone is interested in making this change the if statement is:

<?php if ( bp_is_home()&& bp_profile_activities( ‘type=friends&max=10’ ) ) : ?>

Plus this change is required: https://buddypress.org/forums/topic/how-to-have-friends-activity-on-profile-page

This will allow users to see their friends activity on their own profile page.

BUT I still can’t figure out how to add Avatars to the activity templates. I think it would look great if, for activities with excerpts (blog posts, forum posts, wire posts etc), the users avatar is shown (a la facebook).

Can anyone help or is this a major change to attempt?

Thanks a lot!

Skip to toolbar