Theme Links to Buddypress Profile

If you are using an alternate home theme, and existing links to an author’s profile takes them to either an archive page or the WPMU backend (eg. <?php the_author_posts_link( ); ?> ), how can this be replaced with a link to the member’s profile page in Buddypress?