Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to add user avatar to activity excerpts

WOW – great!!! That was what I was searching for!

Can you tell me, how to implement that in my Custom-Friends-Activity?

(I am using this to get the friends activity for logged in users to the start-page)

<?php if ( bp_has_activities('type=friends&user_id='.$user_ID.'&per_page=10&max=10&timeframe=-4 Weeks') ) : ?>

<div class="activity-list">
<ul id="activity-list">
<?php while ( bp_activities() ) : bp_the_activity(); ?>

<li class="<?php bp_activity_css_class() ?>">
<?php bp_activity_content() ?>
</li>

<?php endwhile; ?>
</ul>
</div>

Would be great – thanks!

Skip to toolbar