For anyone interested in doing dynamic linking

For anyone interested in doing dynamic linking in BuddyPress via hardcoding I would like to offer a solution that doesn't require you to add anything to your functions or reading through a bunch of WP documents/codex.

I recently had to create a custom mobile dropdown menu on a clients site (something I've done in the past) and I wanted to share it with you guys.

<select class="darker" name="forma" onchange="location = this.options[this.selectedIndex].value;">
<option value="">MY MENU</option>
<option value="<?php bp_loggedinuser_link() ?>/profile">MY ACCOUNT</option>
<option value="<?php bp_loggedinuser_link() ?>/my-events">MY EVENTS</option>
<option value="<?php bp_loggedinuser_link() ?>/groups">MY GROUPS</option>
<option value="<?php bp_loggedinuser_link() ?>/messages">MESSAGES</option>
<option value="<?php bp_loggedinuser_link() ?>/friends">FRIENDS</option>
</select>

I searched on here and only found answers that lead to reading a bunch of codex info but no a straight forward answer. So here is what I was able to learn and it works extremely well.

Hope some of you can find this useful.