2020-06-01, 05:59 AM
2020-06-01, 11:30 AM
To get rid of guests and bots, you need to edit PHP-Code.
Just some thoughts to achieve...
For the Index page, edit ./index.php:
- line 187: Remove $guestcount and $botcount to be summarized.
- line 175: Drop $onlinebots from being merged to $onlinemembers
For the Who's Online page, edit ./online.php:
- line 292: Deactivate this code (if query) for guests to be added to $online_row
Backup your PHP files before make the change.
[ExiTuS]
Just some thoughts to achieve...
For the Index page, edit ./index.php:
- line 187: Remove $guestcount and $botcount to be summarized.
- line 175: Drop $onlinebots from being merged to $onlinemembers
For the Who's Online page, edit ./online.php:
- line 292: Deactivate this code (if query) for guests to be added to $online_row
Backup your PHP files before make the change.
[ExiTuS]
2020-06-01, 12:53 PM
or replace in
\inc\languages\english\index.lang.php
$l['online_note'] = "{1} {2} active in the last {3} minutes ({4} {5}, {6} hidden, and {8} {9})";
by
$l['online_note'] = "{1} {2} active in the last {3} minutes ({4} {5}, {6} hidden";
\inc\languages\english\index.lang.php
$l['online_note'] = "{1} {2} active in the last {3} minutes ({4} {5}, {6} hidden, and {8} {9})";
by
$l['online_note'] = "{1} {2} active in the last {3} minutes ({4} {5}, {6} hidden";
2020-06-01, 08:24 PM
(2020-06-01, 11:30 AM)[ExiTuS] Wrote: [ -> ]To get rid of guests and bots, you need to edit PHP-Code.
Just some thoughts to achieve...
For the Index page, edit ./index.php:
- line 187: Remove $guestcount and $botcount to be summarized.
- line 175: Drop $onlinebots from being merged to $onlinemembers
For the Who's Online page, edit ./online.php:
- line 292: Deactivate this code (if query) for guests to be added to $online_row
Backup your PHP files before make the change.
[ExiTuS]
Thank you.
there is only one problem, the guests are gone, but the numbered pages for the guests are still there. there are only 3 active members but there are 2 pages due to the guests.