Added Feature - Premade Ban Reasons

see 13ac9172e7
This commit is contained in:
discomrade 2022-05-22 19:42:57 -02:00
parent 3725d27e72
commit bf4fb6d0e8
6 changed files with 68 additions and 2 deletions

View file

@ -669,6 +669,19 @@
// a link to an email address or IRC chat room to appeal the ban.
$config['ban_page_extra'] = '';
// Pre-configured ban reasons that pre-fill the ban form when clicked.
// To disable, set $config['ban_reasons'] = false;
$config['ban_reasons'] = array(
array( 'reason' => 'Low-quality posting',
'length' => '1d'),
array( 'reason' => 'Off-topic',
'length' => '1d'),
array( 'reason' => 'Ban evasion',
'length' => '30d'),
array( 'reason' => 'Illegal content',
'length' => ''),
);
// Allow users to appeal bans through Tinyboard.
$config['ban_appeals'] = false;