[7.3] New user island >- No bans + Colorize names - 05/19/2008 5:43 PM
open /cache_builders/new_users.php
replace query:
with
No sense in giving somebody a topspot on the screen if they are banned anyway.
replace query:
Code
$query = "
select USER_DISPLAY_NAME,USER_ID
from {$config['TABLE_PREFIX']}USERS
where USER_IS_APPROVED='yes'
and USER_ID <> '1'
order by USER_ID desc limit 5
";
with
Code
$query = "
select USER_DISPLAY_NAME,USER_ID
from {$config['TABLE_PREFIX']}USERS
where USER_IS_APPROVED = 'yes'
and USER_IS_BANNED = 0
and USER_ID <> '1'
order by USER_ID desc limit 5
";
No sense in giving somebody a topspot on the screen if they are banned anyway.