Hi,
I have a question about s2member in combination with buddypress. I was able to link a member to their profile page. Members can now view the complete profile page of other members. However I prefer to show only one field (biography) to other members. How can I fix that? The code that I’am now using is added.
Thanks in advance!
Regards,
Marco
get_bookings();
if( count($EM_Bookings->bookings) > 0 ){
?>
status == 1 && !in_array($EM_Booking->get_person()->ID, $people) ){
$people[] = $EM_Booking->get_person()->ID;
echo '<li><a>get_person()->ID ).'>'. get_avatar($EM_Booking->get_person()->ID, 50) .'<br> '. $EM_Booking->get_person()->display_name .'</a></li>';
}elseif($EM_Booking->status == 1 && $guest_bookings && $EM_Booking->get_person()->ID == $guest_booking_user ){
echo '<li><a>get_person()->ID ).'>'. get_avatar($EM_Booking->get_person()->ID, 50) .' '. $EM_Booking->get_person()->display_name .'</a></li>';
}
}
}
?>