Temporary Banning Users via Usergroup

Status
Not open for further replies.

Isil`Zha

Active member
I'm trying to setup a system of temporary bans based on warning points, but instead of XF's very draconian ban option that locks out users from everything (including the PMs of why they were banned,) I've instead setup the Banned user group to highly restrict permissions; users on it can view the forums and view and use PMs. This part works as intended.

The problem is the warning action. For example, in my current testing this is what happens.

100 warning points temporarily adds the user to the banned usergroup for 1 day. This worked on my test user... once. I wanted to make sure that when points expire and they hit the threshold again, it takes effect again. It doesn't. I can't find anything suggesting any kind of "one time" limitation in doing this. Is there a way to make this work?
 
Status
Not open for further replies.
Back
Top Bottom