I dont like the buddybar but I do want to be able to notify on the sidebar that you have a new message.
I thought this was the code but it doesn’t work with mail
<strong>Notifications</strong> <?php echo ( count($notifications) > 0 && $notifications != false ) ? "(".count($notifications).")" : "" ?>
<?php echo '<ul>'; if ( $notifications ) { ?>
<?php $counter = 0; ?>
<?php for ( $i = 0; $i < count($notifications); $i++ ) { ?>
<?php $alt = ( 0 == $counter % 2 ) ? ' class="alt"' : ''; ?>
<li<?php echo $alt ?>><?php echo $notifications[$i] ?></li>
<?php $counter++; ?>
<?php } ?>
<?php } else { ?>
<li><?php _e( 'No new notifications.', 'buddypress' ); ?></li>
<?php } echo '</ul>';?>