BuddyPress: do something if user id ==
<?php if ( bp_displayed_user_id() == 1 ) { // Do something } ?>
BuddyPress Snippet