• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

As designed Incorrect ban duration in the ACP

Brogan

XenForo moderator
Staff member
#1
The ban duration in the ACP is incorrectly showing as never/permanent, despite the ban being temporary.

The warning action is set to ban while at or above the points threshold.
Two custom warnings were issued - 2 points, 1 day and 8 points 1 day.
Which should ban the member for 1 day.

The member sees this when logged in:

upload_2015-3-10_19-38-56.png

In the ACP however:

upload_2015-3-10_19-39-10.png

upload_2015-3-10_19-39-26.png
 

Mike

XenForo developer
Staff member
#2
This is intentional. The value shown to the user is actually calculated based on their warning statuses on demand. This means if they receive an additional warning, have a warning expire or have the expiry date of the warning change, they will automatically receive the updated date. Because of these possibilities, the ban is entered as permanent to ensure that the warning system itself is the one that causes it to expire.