I'm guessing that would be this bit of code? Any suggestions as to how I might modify it?
Code:
($hook = vBulletinHook::fetch_hook('memberlist_query_userscount')) ? eval($hook) : false;
$userscount = $db->query_first_slave("
SELECT COUNT(*) AS users
FROM " . TABLE_PREFIX . "user AS user
" . ($include_userfield_join ? "LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield USING (userid)" : '') . "
$hook_query_joins
WHERE $condition
AND (user.usergroupid IN ($ids)" . (defined('MEMBERLIST_INCLUDE_SECONDARY') ? (" OR FIND_IN_SET(" . implode(', user.membergroupids) OR FIND_IN_SET(', $idarray) . ", user.membergroupids)") : '') . ")
$hook_query_where
");
$totalusers = $userscount['users'];
if (!$totalusers)
{
eval(standard_error(fetch_error('searchnoresults', $displayCommon)));
}
PS... thanks so much for all your help by the way! I really appreciate it. I'm still learning PHP. I'm actually going back to college the 28th to learn PHP more in depth.