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

XF 1.3 Expire All Warnings

Discussion in 'XenForo Questions and Support' started by TeflonDon, Apr 29, 2014.

  1. TeflonDon

    TeflonDon Well-Known Member

    Is there a way to expire all warning points? SQL command maybe? I'm looking to revamp my warning system and would like to start the points from scratch.

    Thanks
     
  2. TeflonDon

    TeflonDon Well-Known Member

    Anyone? :(
     
  3. Mike

    Mike XenForo Developer Staff Member

    There isn't an option to do that. There's potentially a lot of intertwined data here, so warnings should really be removed/expired via the user interface.
     
  4. TeflonDon

    TeflonDon Well-Known Member

    Is there atleast a way to find out which users have warning points?
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    You can do it with a query:
    Code:
    SELECT user_id, username, warning_points FROM `xf_user` WHERE warning_points > 0
     
    TeflonDon likes this.
  6. TeflonDon

    TeflonDon Well-Known Member

    Thank you.
     
  7. TeflonDon

    TeflonDon Well-Known Member

    Just looking at doing this again. Would mass removing all warnings instead of expiring them present any sort of problem? @Brogan ?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Yes, as Mike posted above, it really needs to be done via the UI.
     
    TeflonDon likes this.

Share This Page