PHP Code:
if (!$bangroup) {
$DB_site->query("INSERT INTO usergroup
(usergroupid, title, usertitle, cancontrolpanel, canmodifyprofile, canviewmembers,
canview, cansearch, canemail, canpostnew, canmove, canopenclose, candeletethread, canreplyown,
canreplyothers, canviewothers, caneditpost, candeletepost, canusepm, canpostpoll, canvote,
canpostattachment, ismoderator, canpublicevent, canpublicedit, canthreadrate, cantrackpm,
candenypmreceipts)
VALUES
(NULL, 'Banned by Moderators', 'Banned', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0')");
$bangroup['usergroupid'] = $DB_site->insert_id();
$bangroup['title'] = 'Banned by Moderators';
}