admin/functions.php
open up that file..
look for the other $post variables like
$post[buddy]
see how it does it... and just copy it pretty much and change it to be what you want it to be.
like
PHP Code:
if ($post[rating]!=0 and $post[rating]!=0) {
eval("\$post[rating] = \"".gettemplate("postbit_rating")."\";");
} else {
$post[rating]="";
}
Don't know if that will help, but you can put that right underneath this and maybe change it around a bit.. to fit your needs, but should work:
PHP Code:
if ($post['receivepm'] and $enablepms==1) {
eval("\$post[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
} else {
$post[pmlink] = "";
}