|
@@ -1,5 +1,7 @@
|
1
|
|
-<?
|
2
|
|
-/*
|
|
1
|
+<?php
|
|
2
|
+declare(strict_types=1);
|
|
3
|
+
|
|
4
|
+/**
|
3
|
5
|
* The $Types array is the backbone of the reports system and is stored here so it can
|
4
|
6
|
* be included on the pages that need it without clogging up the pages that don't.
|
5
|
7
|
* Important thing to note about the array:
|
|
@@ -18,6 +20,8 @@
|
18
|
20
|
|
19
|
21
|
$Types = array(
|
20
|
22
|
'master' => array(
|
|
23
|
+
|
|
24
|
+ # dupe
|
21
|
25
|
'dupe' => array(
|
22
|
26
|
'priority' => '10',
|
23
|
27
|
'reason' => '0',
|
|
@@ -25,34 +29,43 @@ $Types = array(
|
25
|
29
|
'report_messages' => array(
|
26
|
30
|
'Please specify a link to the original torrent.'
|
27
|
31
|
),
|
|
32
|
+
|
28
|
33
|
'report_fields' => array(
|
29
|
34
|
'sitelink' => '1'
|
30
|
35
|
),
|
|
36
|
+
|
31
|
37
|
'resolve_options' => array(
|
32
|
38
|
'upload' => '0',
|
33
|
39
|
'warn' => '0',
|
34
|
40
|
'delete' => '1',
|
35
|
41
|
'pm' => '[rule]r1.1.4[/rule]. Your torrent was reported because it was a duplicate of another torrent.'
|
36
|
|
- )
|
|
42
|
+ ),
|
37
|
43
|
),
|
|
44
|
+
|
|
45
|
+ # banned
|
38
|
46
|
'banned' => array(
|
39
|
47
|
'priority' => '230',
|
40
|
48
|
'reason' => '14',
|
41
|
49
|
'title' => 'Specifically Banned',
|
42
|
50
|
'report_messages' => array(
|
43
|
51
|
'Note that this report form is for content that is banned by name, not content that breaks a general uploading rule.',
|
44
|
|
- 'Please specify exactly which entry on the Do Not Upload list this is violating.'
|
|
52
|
+ 'Please specify exactly which entry on the Specifically Banned list this is violating.'
|
45
|
53
|
),
|
|
54
|
+
|
46
|
55
|
'report_fields' => array(
|
47
|
56
|
),
|
|
57
|
+
|
48
|
58
|
'resolve_options' => array(
|
49
|
59
|
'upload' =>' 0',
|
50
|
60
|
'warn' => '4',
|
51
|
61
|
'delete' => '1',
|
52
|
|
- 'pm' => '[rule]h1.3[/rule]. You have uploaded material that is currently forbidden. Items on the Do Not Upload (DNU) list (at the top of the [url='.site_url().'upload.php]upload page[/url]) and in the [url='.site_url().'rules.php?p=upload#h1.3]Specifically Banned[/url] portion of the uploading rules cannot be uploaded to the site. Do not upload them unless your torrent meets a condition specified in the comments of the DNU list.
|
53
|
|
-Your torrent was reported because it contained material from the DNU list or from the Specifically Banned section of the rules.'
|
54
|
|
- )
|
|
62
|
+ 'pm' => '[rule]h1.3[/rule]. You have uploaded material that is currently forbidden.
|
|
63
|
+ Items on the [url='.site_url().'rules.php?p=upload#h1.3]Specifically Banned[/url] portion of the uploading rules cannot be uploaded to the site.
|
|
64
|
+ Your torrent was reported because it contained material from the Specifically Banned section of the rules.'
|
|
65
|
+ ),
|
55
|
66
|
),
|
|
67
|
+
|
|
68
|
+ # urgent
|
56
|
69
|
'urgent' => array(
|
57
|
70
|
'priority' => '280',
|
58
|
71
|
'reason' => '-1',
|
|
@@ -62,18 +75,22 @@ Your torrent was reported because it contained material from the DNU list or fro
|
62
|
75
|
'Abusing the "Urgent" report type could result in a warning or worse.',
|
63
|
76
|
'As this report type gives the staff absolutely no information about the problem, please be as clear as possible in your comments about what the problem is.'
|
64
|
77
|
),
|
|
78
|
+
|
65
|
79
|
'report_fields' => array(
|
66
|
80
|
'sitelink' => '0',
|
67
|
81
|
'link' => '0',
|
68
|
82
|
'image' => '0',
|
69
|
83
|
),
|
|
84
|
+
|
70
|
85
|
'resolve_options' => array(
|
71
|
86
|
'upload' => '0',
|
72
|
87
|
'warn' => '0',
|
73
|
88
|
'delete' => '0',
|
74
|
89
|
'pm' => ''
|
75
|
|
- )
|
|
90
|
+ ),
|
76
|
91
|
),
|
|
92
|
+
|
|
93
|
+ # trump
|
77
|
94
|
'trump' => array(
|
78
|
95
|
'priority' => '20',
|
79
|
96
|
'reason' => '1',
|
|
@@ -82,16 +99,20 @@ Your torrent was reported because it contained material from the DNU list or fro
|
82
|
99
|
'Please list the specific reason(s) the newer torrent trumps the older one.',
|
83
|
100
|
'Please make sure you are reporting the torrent <strong class="important_text">which has been trumped</strong> and should be deleted, not the torrent that you think should remain on site.'
|
84
|
101
|
),
|
|
102
|
+
|
85
|
103
|
'report_fields' => array(
|
86
|
104
|
'sitelink' => '1'
|
87
|
105
|
),
|
|
106
|
+
|
88
|
107
|
'resolve_options' => array(
|
89
|
108
|
'upload' => '0',
|
90
|
109
|
'warn' => '0',
|
91
|
110
|
'delete' => '1',
|
92
|
111
|
'pm' => 'Your torrent was reported because it was trumped by another torrent.'
|
93
|
|
- )
|
|
112
|
+ ),
|
94
|
113
|
),
|
|
114
|
+
|
|
115
|
+ # notporn
|
95
|
116
|
'notporn' => array(
|
96
|
117
|
'priority' => '100',
|
97
|
118
|
'reason' => '-1',
|
|
@@ -99,15 +120,19 @@ Your torrent was reported because it contained material from the DNU list or fro
|
99
|
120
|
'report_messages' => array(
|
100
|
121
|
'This report type is for reporting torrents that are not pornographic.'
|
101
|
122
|
),
|
|
123
|
+
|
102
|
124
|
'report_fields' => array(
|
103
|
125
|
),
|
|
126
|
+
|
104
|
127
|
'resolve_options' => array(
|
105
|
128
|
'upload' => '0',
|
106
|
129
|
'warn' => '0',
|
107
|
130
|
'delete' => '1',
|
108
|
131
|
'pm' => '[rule]r1.1.2[/rule]. Your torrent was reported beacuse it was not pornographic. All torrents on '.site_url().' must be pornographic.'
|
109
|
|
- )
|
|
132
|
+ ),
|
110
|
133
|
),
|
|
134
|
+
|
|
135
|
+ # lang
|
111
|
136
|
'lang' => array(
|
112
|
137
|
'priority' => '100',
|
113
|
138
|
'reason' => '-1',
|
|
@@ -115,15 +140,19 @@ Your torrent was reported because it contained material from the DNU list or fro
|
115
|
140
|
'report_messages' => array(
|
116
|
141
|
'This report type is for reporting torrent that contain no Japanese or English language content.'
|
117
|
142
|
),
|
|
143
|
+
|
118
|
144
|
'report_fields' => array(
|
119
|
145
|
),
|
|
146
|
+
|
120
|
147
|
'resolve_options' => array(
|
121
|
148
|
'upload' => '0',
|
122
|
149
|
'warn' => '0',
|
123
|
150
|
'delete' => '1',
|
124
|
151
|
'pm' => '[rule]r1.1.7[/rule]. Your torrent was reported because it contained neither Japanese nor English text/audio.'
|
125
|
|
- )
|
|
152
|
+ ),
|
126
|
153
|
),
|
|
154
|
+
|
|
155
|
+ # metadata
|
127
|
156
|
'metadata' => array(
|
128
|
157
|
'priority' => '100',
|
129
|
158
|
'reason' => '-1',
|
|
@@ -132,15 +161,19 @@ Your torrent was reported because it contained material from the DNU list or fro
|
132
|
161
|
'This report type is for reporting improperly/incorrectly tagged torrents.',
|
133
|
162
|
'Please describe what changes need to be made to the metadata.'
|
134
|
163
|
),
|
|
164
|
+
|
135
|
165
|
'report_fields' => array(
|
136
|
166
|
),
|
|
167
|
+
|
137
|
168
|
'resolve_options' => array(
|
138
|
169
|
'upload' => '0',
|
139
|
170
|
'warn' => '0',
|
140
|
171
|
'delete' => '0',
|
141
|
172
|
'pm' => 'Your torrent was reported for having incorrect metadata.'
|
142
|
|
- )
|
|
173
|
+ ),
|
143
|
174
|
),
|
|
175
|
+
|
|
176
|
+ # other
|
144
|
177
|
'other' => array(
|
145
|
178
|
'priority' => '200',
|
146
|
179
|
'reason' => '-1',
|
|
@@ -148,55 +181,16 @@ Your torrent was reported because it contained material from the DNU list or fro
|
148
|
181
|
'report_messages' => array(
|
149
|
182
|
'Please include as much information as possible to verify the report.'
|
150
|
183
|
),
|
|
184
|
+
|
151
|
185
|
'report_fields' => array(
|
152
|
186
|
),
|
|
187
|
+
|
153
|
188
|
'resolve_options' => array(
|
154
|
189
|
'upload' => '0',
|
155
|
190
|
'warn' => '0',
|
156
|
191
|
'delete' => '0',
|
157
|
192
|
'pm' => ''
|
158
|
|
- )
|
159
|
|
- )
|
160
|
|
- ),
|
161
|
|
- '1' => array(
|
162
|
|
- ),
|
163
|
|
- '2' => array(
|
164
|
|
- ),
|
165
|
|
- '3' => array(
|
166
|
|
- ),
|
167
|
|
- '4' => array(
|
168
|
|
- 'install' => array(
|
169
|
|
- 'priority' => '100',
|
170
|
|
- 'reason' => '-1',
|
171
|
|
- 'title' => 'Unclear Installation Process',
|
172
|
|
- 'report_messages' => array(
|
173
|
|
- 'This report type is for reporting game torrents with vague or unclear installation or usage instructions.',
|
174
|
|
- 'Please describe the issue in detail.'
|
175
|
193
|
),
|
176
|
|
- 'report_fields' => array(
|
177
|
|
- ),
|
178
|
|
- 'resolve_options' => array(
|
179
|
|
- 'upload' => '0',
|
180
|
|
- 'warn' => '0',
|
181
|
|
- 'delete' => '0',
|
182
|
|
- 'pm' => '[rule]4.1.5[/rule]. Your torrent was reported because the usage or installation instructions were vague or unclear.'
|
183
|
|
- )
|
184
|
194
|
),
|
185
|
|
- 'nocrack' => array(
|
186
|
|
- 'priority' => '100',
|
187
|
|
- 'reason' => '-1',
|
188
|
|
- 'title' => 'DRM Without Crack',
|
189
|
|
- 'report_messages' => array(
|
190
|
|
- 'This report type is for reporting game torrents that contain DRM, but do not include a crack.'
|
191
|
|
- ),
|
192
|
|
- 'report_fields' => array(
|
193
|
|
- ),
|
194
|
|
- 'resolve_options' => array(
|
195
|
|
- 'upload' => '0',
|
196
|
|
- 'warn' => '1',
|
197
|
|
- 'delete' => '1',
|
198
|
|
- 'pm' => '[rule]r4.1.3[/rule]. Your torrent was reported because it contained DRM, but did not include a crack.'
|
199
|
|
- )
|
200
|
|
- )
|
201
|
|
- )
|
|
195
|
+ ),
|
202
|
196
|
);
|