Removing banned members from Who's online[Winthout Plugin]
#1
This user has been denied support. This user has been denied support.
Is there any way from which we can remove banned members from not being shown from who's online list ?
Reply
#2
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.
Reply
#3
This user has been denied support. This user has been denied support.
(2012-05-08, 10:24 AM)Yaldaram Wrote: 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.
Does it also removes the bot like google ?
Reply
#4
No, just banned usergroups.
Reply
#5
This user has been denied support. This user has been denied support.
(2012-05-08, 05:22 PM)Yaldaram Wrote: No, just banned usergroups.

Thanks bro thread can be closed now.
peace
Reply
#6
This user has been denied support. This user has been denied support.
thank you...repped.
Reply
#7
(2012-05-08, 10:24 AM)Yaldaram Wrote: 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.

thanks works great

(2013-07-05, 11:38 AM)MonsterMMORPG Wrote:
(2012-05-08, 10:24 AM)Yaldaram Wrote: 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.

thanks works great


now it doesnt show guest count how to fix ?
Pokemon Style With Lots Of Maps Monster MMORPG Game Developer
Reply
#8
(2012-05-08, 10:24 AM)Yaldaram Wrote: 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.

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'
Reply
#9
(2014-07-11, 04:08 PM)Gobee129 Wrote:
(2012-05-08, 10:24 AM)Yaldaram Wrote: 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.

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.
Reply
#10
Open /index.php and search:
		// 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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)