Once I get it to skip the non-human groups I have a php function that finds which groups are non-human instead of hard coding the group numbers.
I have found two places and tried by changing a query that counts the members with no luck.
In members.php from:
$r = $this->ipsclass->DB->build_and_exec_query( array( 'select' => 'count(id) as members', 'from' => 'members', 'where' => "mgroup <> '".$this->ipsclass->vars['auth_group']."'" ) );
To:
$r = $this->ipsclass->DB->build_and_exec_query( array( 'select' => 'count(id) as members', 'from' => 'members', 'where' => "(mgroup != 8 OR mgroup != 10 OR mgroup != 11) AND mgroup <> '".$this->ipsclass->vars['auth_group']."'" ) );
Also tried a similar query with no luck in the action_admin/rebuild.php tool which recounts the members.
Thanks for any help.

















