Reply To: Do not show unless logged in
Try this if you’re on 1.7 – 150 is the avatar full size
<?php if ( is_user_logged_in() ) : ?>
<div> blah </div> <!– div1 ->
<?php echo ‘<strong>’ . get_avatar( $item[‘user_id’], ‘150’ ) . ‘ ‘ . bp_core_get_userlink( $item[‘user_id’] ) . ‘</strong>’; ?>
<div> blah </div> <!– div2 ->
<?php endif; ?>