<a href='search.php?do=finduser&u=$bbuserinfo[userid]&starteronly=1'>My Threads</a>
<a href='search.php?do=finduser&u=$bbuserinfo[userid]'>My Posts</a>