latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Link to buddypress profile field

Home Forums Community Forum Link to buddypress profile field

This topic contains 0 replies, has 1 voice. Last updated by  Marco Verhagen 3 years, 2 months ago.

Topic Author Topic
Posted: Wednesday Oct 30th, 2013 at 9:34 am #60759

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()-&gt;ID ).'&gt;'. get_avatar($EM_Booking-&gt;get_person()-&gt;ID, 50) .'<br> '. $EM_Booking-&gt;get_person()-&gt;display_name .'</a></li>';
                }elseif($EM_Booking-&gt;status == 1 &amp;&amp; $guest_bookings &amp;&amp; $EM_Booking-&gt;get_person()-&gt;ID == $guest_booking_user ){
	                echo '<li><a>get_person()-&gt;ID ).'&gt;'. get_avatar($EM_Booking-&gt;get_person()-&gt;ID, 50) .' '. $EM_Booking-&gt;get_person()-&gt;display_name .'</a></li>';
                }
        }
}
?&gt;

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.