summaryrefslogtreecommitdiff
path: root/includes/config.inc
blob: 00b5c0e18a71545bfd061762efb45a755c4e6cfb (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<?

#
# Database settings:
#

### host: "http://www.drop.org/":
#$db_host = "zind.net";
#$db_uname = "droporg";
#$db_pass = "DropIes";
#$db_name = "droporg";

### host: "http://beta.drop.org/":
$db_host = "zind.net";
$db_uname = "dries";
$db_pass = "Abc123";
$db_name = "dries";

### host: "http://localhost/":
#$db_host = "";
#$db_uname = "dries";
#$db_pass = "oakley";
#$db_name = "dries";

#
# Administrative information
#
$site_name = "drop.org";
$site_url  = "http://www.drop.org/";
$site_email = "droppies@drop.org";

#
# Notify information:
#  The notify information will be used to send out automated mails
#  for internal purpose.
#
$notify_email   = $contact_email;
$notify_subject = "submission: ";
$notify_message = "New submission: '$subject'\n\n$story";
$notify_from    = "droppies@drop.org";

#
# Comment meta reasons:
#
$comment_votes = array("none" => "none", 
                       "-1"   => "- 1", 
                       "0"    => "+ 0",
                       "+1"   => "+ 1",
                       "+2"   => "+ 2",
                       "+3"   => "+ 3", 
                       "+4"   => "+ 4", 
                       "+5"   => "+ 5");

#
# Categories:
#
$categories = array("Announcements",
                    "Arts & Humanities",
                    "Business & Economy",
                    "Coding & Webdesign",
                    "Computers & Internet",
                    "Drop.org",
                    "Entertainment",
                    "News & Media",
                    "Politics & Freedom",
                    "Reviews",
                    "Science", 
                    "Society & Culture");

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

#
# Name of the 'anonymous' user account:
#
$anonymous = "Anonymous Chicken";

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

#
# Submission moderation votes:
#   changing $submission_votes will affect the integrity of your 
#   database.  In short, the database field user.history will 
#   become invalid, and will need to be reset! Please, do not 
#   change this setting unless you have an empty database or 
#   unless you know what you are doing.
$submission_votes = array("neutral (+0)" => "+ 0",
                          "post it (+1)" => "+ 1",
                          "dump it (-1)" => "- 1");

#
# Submission moderation thresholds:
#   registered users can vote whether they think the story should
#   be posted or not.  When enough people vote to post a story, the 
#   story is pushed over the threshold and up it goes on the public 
#   page.  On the other hand, when too many people voted to drop a 
#   story, the story will get trashed.
$submission_post_threshold = "3";
$submission_dump_threshold = "-2";

#
# Submission rate:
#
$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 in characters a submission (story, diary, 
#  comment) is allowed to be.
#
$submission_size = 6000;

#
# Watchdog history:
#
$watchdog_history = 604800;   // 604800 seconds = 1 week

?>