<a href="search.php?s=$session[sessionhash]&action=finduser&userid=$userinfo[userid]">Your Recent Posts</a>
<a href="search.php?s=$session[sessionhash]&action=finduser&userid=$bbuserinfo[userid]">Your Recent Posts</a>