Don't you mean this section?
PHP Code:
$users=$DB_site->query("SELECT *
FROM user,userfield
WHERE $condition AND
user.userid = userfield.userid
".iif($memberAllGood, " AND usergroupid NOT IN (1,3,4,8) ", "")."
This is what will keep the names off of the memberlist. The code below will just show how many users, won't it? If I missed something, I apologize, Erwin.
Quote:
Originally posted by Erwin
Open memberlist.php and replaced this section with the below:
PHP Code:
$userscount=$DB_site->query_first("SELECT COUNT(*) AS users
FROM user,userfield,usergroupid
WHERE $condition AND
user.userid = userfield.userid
".iif($memberAllGood, " AND usergroupid NOT IN (1,3,4) ", "")."
");
Add more usergroups to exclude in (1,3,4) in the code.
|