Jeff, I rewrote the code like this:
<?php if ( is_user_logged_in() ) : ?>
<?php bp_search_form() ?>
<?php endif; ?>
<?php bp_login_bar() ?>
It works well.
but on second thoughts, i think i can dispense with “search”.
Is there anyway
(1) to move the logo (now ‘socialnetwork’) to replace ‘search’,
(2) move Members/Groups/Blogs to the Admin Bar and,
(3) remove the yellow band totally?