summaryrefslogtreecommitdiff
path: root/includes/hostname.conf
blob: c5af2febf934cb70a4a1d2186d6b32cca622c513 (plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?

#
# Database settings:
#
$db_host = "localhost";
$db_user = "username";
$db_pass = "password";
$db_name = "database";


#
# Administrative information
#
$site_name = "site name";
$site_url  = "http://yourdomain.com/";
$site_email = "info@yourdomain.com";


#
# Comment votes:
#   the keys of this associative array are displayed in each 
#   comment's selection box whereas the corresponding values 
#   represent the mathematical calculation to be performed 
#   to update a comment's value.
#
$comment_votes = array("none" => "none", 
                       "-1"   => "- 1", 
                       "0"    => "+ 0",
                       "+1"   => "+ 1",
                       "+2"   => "+ 2",
                       "+3"   => "+ 3", 
                       "+4"   => "+ 4", 
                       "+5"   => "+ 5");

# 
# Allowed HTML tags:
#
$allowed_html = "<A><B><BLOCKQUOTE><BR><DD><DL><DT><EM><HR><I><LI><SMALL><OL><U><UL>";

#
# Name for anonymous users:
#
$anonymous = "Anonymous Chicken";

#
# Themes:
#   the first theme listed in this associative array will
#   automatically become the default theme.
#
$themes = array("UnConeD" => array(
		   "themes/unconed/unconed.theme",
		   "modern theme, gray and blue, high coolness factor"),
                "Marvin"  => array(
                   "themes/marvin/marvin.theme", 
                   "classic theme, white, basic design with a fresh look"));

#
# Submission moderation votes:
#   the keys of this associative array are displayed in each 
#   submission's selection box whereas the corresponding values 
#   represent the mathematical calculation to be performed to 
#   update a comment's value.
#   Warning: changing $submission_votes will affect the integrity
#   of all pending stories in the open submission queue.   Do not 
#   change this setting unless there are no pending stories in the 
#   submission queue or unless you know what you are doing.
$submission_votes = array("neutral (+0)" => "+ 0",
                          "post it (+1)" => "+ 1",
                          "dump it (-1)" => "- 1");

#
# Submission rate:
#   defines the submission rate for the different types of content
#   submission.  It is supposed to stop malicious attempts to screw
#   with the database and to stop denial of service attacks.
#   Example:
#     '"comment" => 60' means that there is only one new comment 
#     allowed from the same IP-address every 60 seconds.
#
$submission_rate = array("comment" => "60",     //  60 seconds = 1 minute
                         "diary"   => "300",    // 300 seconds = 5 minutes
                         "story"   => "300");   // 300 seconds = 5 minutes
#
# Submission size:
#  the maximum length (i.e. the maximum number of characters) a 
#  story, a diary entry, or a comment is allowed to be.
#
$submission_size = 12000;     // 12.000 characters is more or less 300 lines

?>