Well, the simple show bot mod is made to be simple, it does not add any SQL and it does not log bots visits.
It's only detecting the online ones, so it won't be possible to list how many bots visited your forum in the last 24 hours.
To fix your mod's output, you could replace :
- Code: Select all
$lang['Guest_users_zero_total'] = '0 Guests and ';
$lang['Guest_users_total'] = '%d Guests and ';
$lang['Guest_user_total'] = '%d Guest and ';
With :
- Code: Select all
$lang['Guest_users_zero_total'] = '0 Guests ';
$lang['Guest_users_total'] = '%d Guests ';
$lang['Guest_user_total'] = '%d Guest ';
$lang['Guest_users_zero_total_bots'] = '0 Guests and ';
$lang['Guest_users_total_bots'] = '%d Guests and ';
$lang['Guest_user_total_bots'] = '%d Guest and ';
in your language file, and then replace :
- Code: Select all
if ( $guests_online == 0 )
{
$l_g_user_s = $lang['Guest_users_zero_total'];
}
else if ( $guests_online == 1 )
{
$l_g_user_s = $lang['Guest_user_total'];
}
else
{
$l_g_user_s = $lang['Guest_users_total'];
}
with :
- Code: Select all
if ( $guests_online == 0 )
{
$l_g_user_s = $lang['Guest_users_zero_total_bots'];
}
else if ( $guests_online == 1 )
{
$l_g_user_s = $lang['Guest_user_total_bots'];
}
else
{
$l_g_user_s = $lang['Guest_users_total_bots'];
}
in includes/page_header.php.
Should fix the other mod's output.
++