1. 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

Discussion in 'XenForo Questions and Support' started by Marcel, Apr 17, 2014.

  1. Marcel

    Marcel Active Member

    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)
  2. Mike

    Mike XenForo Developer Staff Member

    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.
  3. Marcel

    Marcel Active Member

    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)
  4. Mike

    Mike XenForo Developer Staff Member

    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.
  5. Marcel

    Marcel Active Member

    OK, cheers. :)

Share This Page