I found one error. In getinfo, the link to view warnings is wrong (the userid is missing) since it uses $post[userid]. To fix this, and have it work in both the postbit and in getinfo, open up member.php.
Find:
PHP Code:
if(in_array($bbuserinfo['usergroupid'],$WarnUserGroupsView)) {
Add Under:
PHP Code:
$post['userid'] = $userinfo['userid'];
Thanks for this great hack, Beorn!
EDIT: Also, you forgot to add the header to the new warning page, making it look terrible. To fix this, edit your warn_newwarn template.
Find:
Add Under: