if ($postinfo[userid]=="1" and $bbuserinfo[userid]!="1") { show_nopermission(); } } else { // otherwise, post is being edited