forked from leftypol/leftypol
Merge pull request #116 from Macil/hardlimits
Adds image_hard_limit and reply_hard_limit options
This commit is contained in:
commit
9b0c31daa6
3 changed files with 31 additions and 15 deletions
|
@ -311,6 +311,11 @@
|
|||
// Reply limit (stops bumping thread when this is reached)
|
||||
$config['reply_limit'] = 250;
|
||||
|
||||
// Image hard limit (stops allowing new image replies when this is reached if not zero)
|
||||
$config['image_hard_limit'] = 0;
|
||||
// Reply hard limit (stops allowing new replies when this is reached if not zero)
|
||||
$config['reply_hard_limit'] = 0;
|
||||
|
||||
// Strip repeating characters when making hashes
|
||||
$config['robot_enable'] = false;
|
||||
$config['robot_strip_repeating'] = true;
|
||||
|
@ -659,6 +664,8 @@
|
|||
$config['error']['noboard'] = _('Invalid board!');
|
||||
$config['error']['nonexistant'] = _('Thread specified does not exist.');
|
||||
$config['error']['locked'] = _('Thread locked. You may not reply at this time.');
|
||||
$config['error']['reply_hard_limit'] = _('Thread has reached its maximum reply limit.');
|
||||
$config['error']['image_hard_limit'] = _('Thread has reached its maximum image limit.');
|
||||
$config['error']['nopost'] = _('You didn\'t make a post.');
|
||||
$config['error']['flood'] = _('Flood detected; Post discarded.');
|
||||
$config['error']['spam'] = _('Your request looks automated; Post discarded.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue