You absolute STAR!!!! Just using bbp_get_user_id( 0, true, false )
worked perfectly as in echo '<a href="'.$link.'?pmaction=newmessage&to='.bbp_get_user_id( 0, true, false ).'">
Thanks x 1000
Thanks for the suggestion (hadn’t tried that one). Unfortunately didn’t work.