One more option for those interested:
If you want the "Registered Members: XXXX" on the BB's front page to NOT include those whom you excluded from the Members List (example: if you don't want Banned Users to be included in neither the Members List nor the total Members count), then do the following:
Open index.php
Find:
Code:
$numbersmembers=$DB_site->query_first('SELECT COUNT(*) AS users,MAX(userid) AS max FROM user');
And REPLACE with (changes marked in red):
Code:
$condition="1=1";
$showugroup=$DB_site->query("SELECT usergroupid FROM usergroup WHERE showinlist=0");
while($thisgroup=$DB_site->fetch_array($showugroup)) {
$condition.=" AND usergroupid!='$thisgroup[usergroupid]'";
}
$numbersmembers=$DB_site->query_first('SELECT COUNT(*) AS users,MAX(userid) AS max FROM user WHERE $condition');
Cheers,
Bira