was just thinking about it and you probably should throw something in there in case it's a guest posting.
Code:
$pointsperreply=1; // repuation points per reply. 0 to disable
$pointsperthread=1; // repuation points per thread. 0 to disable
if ($foruminfo[forumid]!=18 && $foruminfo[forumid]!=6 && $vbulletin->userinfo['usergroupid']>1) {
if ($type == 'thread') {
$reppoints=$pointsperthread;
} else {
$reppoints=$pointsperreply;
}
if ($reppoints) {
$vbulletin->db->query_write("UPDATE user SET reputation=reputation+".$reppoints." WHERE userid=".$vbulletin->userinfo['userid']);
}
}
this should do it.