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

XF 1.2 A question about Warning points and Warning Actions

Marcel

Active member
#1
Say for example we have a set Warning :
Swearing : 5 points. Expiry : 6 months

We then have a Warning Action set up
10 Points : Banned for period : 1 Week.

So if a user is given two warnings within 6 months, they are suspended for 1 week.
Now, what happens after that week? Obviously the Warning Action has expired, but with the actual warnings lasting 6 months, they will still be on 'file'. Wouldn't that then reban the user?
(PS. The above warnings and actions I have just completely made up for demonstration purposes)
 

Mike

XenForo developer
Staff member
#2
The actions are applied only when the point values change (upwards generally; downwards only triggers for the "above threshold" case). So yes, the points will remain on file (permanently, in terms of logging) and "active" (for 6 months from the application of the warning). You could then setup a 15 point action that was more drastic, for example.
 

Marcel

Active member
#3
Thanks Mike.

So if a user is given 2 x 5 points, they incur a 7 day ban. This is correct.
What happens after the 7 days? I understand the ban is then lifted, and they remain on 10 points.
Would they then be immune to that same Warning Action for another 6 months (Until the points run out)
 

Mike

XenForo developer
Staff member
#4
Yes. If you gave them another 5 points, they'd go from 10 to 15 so they wouldn't be crossing the action threshold which is the trigger.