Banned Users and Warning Points Logged?

When users are either banned, or assigned Warning Points, do these events get logged at all?

In quickly looking at the available logs, they don't appear to be but in my opinion, they should. I've had an occasion where a user claims to have been banned, but there is no record showing it (is there?)

One possibility is that a Moderator momentarily assigned him enough Warning Points to trigger a time-based ban, and then deleted those Warning Points. The end result is that the user remains banned, but there is no evidence left behind -- no log entries, no historical warning point entries on the User's profile page, nothing -- to explain the ban.

Warnings are logged in the user's profile. Visit their profile on the front end. If they have warnings then there will be a warnings tab. Warnings can result in bans if you have such an action setup in the Admin CP. And of course bans are viewable in the Admin CP.

One possibility is that a Moderator momentarily assigned him enough Warning Points to trigger a time-based ban, and then deleted those Warning Points. The end result is that the user remains banned, but there is no evidence left behind -- no log entries, no historical warning point entries on the User's profile page, nothing -- to explain the ban.

Click to expand...

I reviewed the code and you are right. It looks to me like temporary bans via warnings are always allowed to finish even if you delete the warnings that triggered the ban. But perma-bans will be removed upon deleting the warning points. There are also special checks for overlapping bans where appropriate. Ignoring that special scenario... perma-bans get lifted with the deletion of warning points, temp bans do not.

Bans given via warnings should show up in the ban log with the reason, "Rules violations". That is from the warning_ban_reason phrase.

Bans given via warnings should show up in the ban log with the reason, "Rules violations". That is from the warning_ban_reason phrase.

Click to expand...

There's no actual ban "log" though, is there? Because this is what I was looking for.

I think you're referring to the Banned Users List (ACP > Users > Banned Users) which will list users that are currently banned.

In my scenario, I was trying to perform a post-mortem on a user that was no longer banned, and therefore would not appear in the above "list". But if a "log" (historical record) existed of warnings points and/or bans, then I could have seen that they were momentarily assigned enough warning points to trigger the temp-ban before those warning points were deleted.

After some discussion with my moderators, it turns out that this is what actually happened. They accidentally assigned too many points, deleted the points, and reassigned the correct (reduced) amount. But unbeknownst to the mod, the user ended up being temporarily banned.

After some discussion with my moderators, it turns out that this is what actually happened. They accidentally assigned too many points, deleted the points, and reassigned the correct (reduced) amount. But unbeknownst to the mod, the user ended up being temporarily banned.

Click to expand...

Yeah that use case isn't handled very well. The mods would have to ask the admin to unban the user. You might consider perma-bans instead which are deleted along with the warning points. Or reserve bans for the admin.