View Full Version : Banned Member Showing In "Currently Active Users"
Nintendo-Daily
09-10-2010, 12:29 PM
I've recently banned a few spammers in my community. The next day, even know they were banned already, I saw one of them in the "Currently Active Users" area. After seeing this, I viewed the "Who's Online" area and they had an error message (stop sign) for a thread they were attempting to view.
My question is why area the banned users showing as being online if they're banned? Does this have anything to do with cookie sessions or caching?
How can I fix this?
Lynne
09-10-2010, 01:38 PM
They show because they come back to the site and the cookie is set and so they are logged in.
You can fix it by modifying the query in the index.php page that lists the users under Currently Active Users.
Nintendo-Daily
09-13-2010, 07:24 PM
They show because they come back to the site and the cookie is set and so they are logged in.
You can fix it by modifying the query in the index.php page that lists the users under Currently Active Users.
Thank you, Lynne.
Do you know what part of the index.php page I would change, and to what specifically?
Lynne
09-13-2010, 11:23 PM
The query that gets the users, it's under where it says Logged in Users. Just add something like this to the Where part of the query:
AND (user.usergroupid != x)
(I don't remember the usergroupid for banned users, you'll have to look it up.)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.