-
Notifications
You must be signed in to change notification settings - Fork 767
/
configuration.php
51 lines (44 loc) · 2.64 KB
/
configuration.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php if (!defined('APPLICATION')) exit();
/**
* Vanilla default configuration options.
*
* DO NOT EDIT THIS FILE!
* All of the settings defined here can be overridden in the /conf/config.php file.
* Called by VanillaHooks::Setup() to add config options upon enabling app.
*
* @package Vanilla
*/
$Configuration['Vanilla']['Installed'] = '0';
$Configuration['Vanilla']['Comment']['MaxLength'] = '8000';
// Spam settings explained:
// Users cannot post more than $SpamCount comments within $SpamTime seconds or
// their account will be locked from posting for $SpamLock seconds.
$Configuration['Vanilla']['Comment']['SpamCount'] = '5';
$Configuration['Vanilla']['Comment']['SpamTime'] = '60';
$Configuration['Vanilla']['Comment']['SpamLock'] = '120';
$Configuration['Vanilla']['Discussion']['SpamCount'] = '3';
$Configuration['Vanilla']['Discussion']['SpamTime'] = '60';
$Configuration['Vanilla']['Discussion']['SpamLock'] = '120';
$Configuration['Vanilla']['Comments']['PerPage'] = '30';
$Configuration['Vanilla']['Discussions']['PerCategory'] = '5';
$Configuration['Vanilla']['Discussions']['PerPage'] = '30';
$Configuration['Vanilla']['Discussions']['Home'] = 'discussions';
$Configuration['Vanilla']['Categories']['Use'] = TRUE;
// Categories can be infinitely nested, but this doesn't look great when
// displaying them to users. Use the MaxDisplayDepth settings to control how
// deep they should be displayed to the users on the category listing. The final
// depth layer will be represented as a comma-delimited list.
// Zero means "no max", and categories will be displayed in a nested format indefinitely.
// The max depth of nested categories to display on all category view.
$Configuration['Vanilla']['Categories']['MaxDisplayDepth'] = 3;
// The max depth of nested categories to display in the category module (in the panel).
$Configuration['Vanilla']['Categories']['MaxModuleDisplayDepth'] = 0;
// Should the first level of category above root be a heading and unclickable?
$Configuration['Vanilla']['Categories']['DoHeadings'] = 0;
// Should users be automatically pushed to the last comment they read in a discussion?
$Configuration['Vanilla']['Comments']['AutoOffset'] = TRUE;
$Configuration['Vanilla']['Comment']['ReplaceNewlines'] = TRUE;
// Module visibility
$Configuration['Vanilla']['Modules']['ShowBookmarkedModule'] = FALSE;
// Allow users to delete their own comments if are still allowed to edit (per timeout).
$Configuration['Vanilla']['Comments']['AllowSelfDelete'] = FALSE;