Topic: Banned users remain online

Hi!

1.1.5:
If you ban a user, and the user is online when the ban is set, the user remains online. The user can't even log out if he or she presses the "Log out" link. The only way to log out that I see is to clear the users cookie. I think the forum should clear the users cookie if the user is banned and online at the same time.

Just a suggestion...

/Christian

Re: Banned users remain online

Yes, point is that they can't logout wink
That way, they can't register a new account and evade without having to go and delete the cookie

Re: Banned users remain online

well the user will go "offline" in 5 min or so won't he?

Re: Banned users remain online

Connorhd wrote:

well the user will go "offline" in 5 min or so won't he?

Well, the user is removed from the table over online users in the database, but from the users point of view, he is still logged in.

Perhaps it's meant to be like this? But I still can't figure out the reason for why it dosen't work to log out with "login.php?action=out"

Re: Banned users remain online

When I think of it Smartys explanation makes sense...

Re: Banned users remain online

chrizz: We'll just have to live with the fact that the banned user remains on the online list for a few minutes. Making sure the user is removed when banned will complicate things quite a bit. It's just not worth it.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Banned users remain online

Make them suffer, they're banned for a reason! wink

-Antony (Tux)
See you at the bitter end!