Actually The original code is a bit flawed...
Try replacing your 1st phrase 1....
Code:
<phrase 1="<a href='member.php?u=$userid'>$bbuserinfo[username]</a>"> $vbphrase[welcome_x]</phrase></strong><br />
WITH
Code:
<phrase 1="<a href='member.php?{$session[sessionurl]}u={$bbuserinfo['userid']}'>{$bbuserinfo['musername']}</a>">$vbphrase[welcome_x]</phrase></strong><br />
That way all pages will show the profile link AND with color if you've used the Membergroup markup
Jacquii.