no, this hack hasn't anything to do with this problem.
perhaps you have made the moderated gruop as a secound admingroup?
you shouldn't change the rights of usergroups < 7, because often vb puts automatically users in one of this groups...
to ban also other usergroups, just add a clause to this:
PHP Code:
if ($banuser['usergroupid']!=2 or $ismod) {
echo "<p>You may not ban someone who is not a normal registered user!</p>";
} else {
for example banning also usergroup3:
PHP Code:
if ($banuser['usergroupid']!=2 or $banuser['usergroupid']!=3 or $ismod) {
echo "<p>You may not ban someone who is not a normal registered user!</p>";
} else {