That just means the group name is not in the legend. It doesn't mean the bots, online at the time, are not displayed in the index stats as visiting the board in the last X minutes.Talk19Zehn wrote:Hi, ACP / USERS and GROUPS / GROUPS --> Manage Groups --> Bots --> Settings:
example:
Remember that you can also control the presence via ACP, if necessary.
- Display group in legend: no catch
Make sure that bots do not have access rights to the forums, if necessary also.
Create a robots.txt and protect directories (!).
Best regards
Talk19Zehn wrote:Make sure that bots do not have access rights to the forums, if necessary also.
Remember that you can also control the presence via ACP, if necessary.
Create a robots.txt and protect directories (!).
Code: Select all
$sql = 'SELECT username, username_clean, user_id, user_type, user_allow_viewonline, user_colour
FROM ' . USERS_TABLE . '
WHERE ' . $db->sql_in_set('user_id', $online_users['online_users']) . '
ORDER BY username_clean ASC';
Code: Select all
$sql = 'SELECT username, username_clean, user_id, user_type, user_allow_viewonline, user_colour
FROM ' . USERS_TABLE . '
WHERE ' . $db->sql_in_set('user_id', $online_users['online_users']) . '
AND user_type <> ' . USER_IGNORE . '
ORDER BY username_clean ASC';
This was exactly what I was after. Thanks a lot for helping me.RMcGirr83 wrote:Change this in the includes/functions.php file within the obtain_users_online_string function
Works great, Thank you!RMcGirr83 wrote:Change this in the includes/functions.php file within the obtain_users_online_string function
to thisCode: Select all
$sql = 'SELECT username, username_clean, user_id, user_type, user_allow_viewonline, user_colour FROM ' . USERS_TABLE . ' WHERE ' . $db->sql_in_set('user_id', $online_users['online_users']) . ' ORDER BY username_clean ASC';
And bots will be ignored from the displayCode: Select all
$sql = 'SELECT username, username_clean, user_id, user_type, user_allow_viewonline, user_colour FROM ' . USERS_TABLE . ' WHERE ' . $db->sql_in_set('user_id', $online_users['online_users']) . ' AND user_type <> ' . USER_IGNORE . ' ORDER BY username_clean ASC';
there is a difference between deactivating the bot or the bot group and removing them from the who is online area.Talk19Zehn wrote:Hi, okay! I do not understand: In the ACP under System / General Functions / spiders, robots you have but the option to disable bots. What happens then? If the bots disappears if deactivated anyway? What consequences has a deactivation on the site?
In the legend I must not view the group, as this would be a separate setting. I would like to know why a function = possibility of deactivation in the ACP does not work and I should intervene in the system, is incomprehensible to me. I have not found a suitable explanation.
I would like to understand how it works. Thank you!
Brilliant, thank you so much.RMcGirr83 wrote:Change this in the includes/functions.php file within the obtain_users_online_string function
to thisCode: Select all
$sql = 'SELECT username, username_clean, user_id, user_type, user_allow_viewonline, user_colour FROM ' . USERS_TABLE . ' WHERE ' . $db->sql_in_set('user_id', $online_users['online_users']) . ' ORDER BY username_clean ASC';
And bots will be ignored from the displayCode: Select all
$sql = 'SELECT username, username_clean, user_id, user_type, user_allow_viewonline, user_colour FROM ' . USERS_TABLE . ' WHERE ' . $db->sql_in_set('user_id', $online_users['online_users']) . ' AND user_type <> ' . USER_IGNORE . ' ORDER BY username_clean ASC';