2012-05-08, 10:20 AM
2012-05-08, 10:24 AM
Open ./index.php and find;
WHERE s.time>'$timesearch'
and Change it into;WHERE s.time>'$timesearch' AND u.usergroup != '7'
It will remove the banned usergroups to show on online list on index.2012-05-08, 04:46 PM
(2012-05-08, 10:24 AM)Yaldaram Wrote: [ -> ]Open ./index.php and find;Does it also removes the bot like google ?
and Change it into;WHERE s.time>'$timesearch'
It will remove the banned usergroups to show on online list on index.WHERE s.time>'$timesearch' AND u.usergroup != '7'
2012-05-08, 05:22 PM
No, just banned usergroups.
2012-05-09, 06:56 AM
(2012-05-08, 05:22 PM)Yaldaram Wrote: [ -> ]No, just banned usergroups.
Thanks bro thread can be closed now.
peace
2013-04-12, 04:03 PM
thank you...repped.
2013-07-05, 11:38 AM
(2012-05-08, 10:24 AM)Yaldaram Wrote: [ -> ]Open ./index.php and find;
and Change it into;WHERE s.time>'$timesearch'
It will remove the banned usergroups to show on online list on index.WHERE s.time>'$timesearch' AND u.usergroup != '7'
thanks works great
(2013-07-05, 11:38 AM)MonsterMMORPG Wrote: [ -> ](2012-05-08, 10:24 AM)Yaldaram Wrote: [ -> ]Open ./index.php and find;
and Change it into;WHERE s.time>'$timesearch'
It will remove the banned usergroups to show on online list on index.WHERE s.time>'$timesearch' AND u.usergroup != '7'
thanks works great
now it doesnt show guest count how to fix ?
2014-07-11, 04:08 PM
(2012-05-08, 10:24 AM)Yaldaram Wrote: [ -> ]Open ./index.php and find;
and Change it into;WHERE s.time>'$timesearch'
It will remove the banned usergroups to show on online list on index.WHERE s.time>'$timesearch' AND u.usergroup != '7'
this sadly also removes the guests. I tried it for who is online and who was online today, and both lists showed 0 guests then.
s.nopermission=0
could help, instead of usergroup!='7'
2014-07-12, 06:16 AM
(2014-07-11, 04:08 PM)Gobee129 Wrote: [ -> ](2012-05-08, 10:24 AM)Yaldaram Wrote: [ -> ]Open ./index.php and find;
and Change it into;WHERE s.time>'$timesearch'
It will remove the banned usergroups to show on online list on index.WHERE s.time>'$timesearch' AND u.usergroup != '7'
this sadly also removes the guests. I tried it for who is online and who was online today, and both lists showed 0 guests then.
s.nopermission=0
could help, instead of usergroup!='7'
This is nearly a 3 year old thread, so you can expect MyBB has changed.
2014-07-12, 12:43 PM
Open /index.php and search:
Regards.
// Create a key to test if this user is a search bot.
$botkey = my_strtolower(str_replace("bot=", '', $user['sid']));
And add above this code: // Baneados no aparecen en los online.
if (in_array($user['usergroup'],array(7))) continue;
Regards.