HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Tempbanning user
TheDark52
New
Is there a way to ban a user for a limited time after which he is automatically unbanned from the forum?
0
Comments
It is noted that it is unstable though.
Released in 2015.
Have never tried it, so do not whether it still works'ish.
class TempBan extends Gdn_Plugin {
toclass TempBanPlugin extends Gdn_Plugin {
public function UserModel_AfterSave_Handler($Sender,&$Args){
topublic function UserModel_AfterSave_Handler($Sender,$Args){
Not sure if that's enough, but those are the most obvious things to make it run with the current Vanilla version
Thanks, it worked!