For threads, that will involve more than a template modification. I'm not sure if there is a hack available that adds that functionality.
For Member Id:
Add the following to your postbit_legacy template:
HTML Code:
$vbphrase[postbit_memberid]: <a href="member.php?$session[sessionurl]u=$post[userid]"> $post[userid] </a>
Then you add a phrase via the phrase manager called postbit_memberid with whatever text you want. Ex: "User Id"