Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Tempbanning user

Is there a way to ban a user for a limited time after which he is automatically unbanned from the forum?


  • It is noted that it is unstable though.

    Released in 2015.

    Have never tried it, so do not whether it still works'ish.

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator
    1. You need to rename the file default.php to TempBanPlugin.php or class.tempban.plugin.php
    2. Change line 15 in that file from class TempBan extends Gdn_Plugin { to class TempBanPlugin extends Gdn_Plugin {
    3. Change line 141 from public function UserModel_AfterSave_Handler($Sender,&$Args){ to public 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

Sign In or Register to comment.