This repository has been archived by the owner on Jan 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall-phpbb-manage-torrents.xml
65 lines (65 loc) · 3.96 KB
/
install-phpbb-manage-torrents.xml
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
<!--NOTICE: Please open this file in your web browser. If presented with a security warning, you may safely tell it to allow the blocked content.-->
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD.\nAlthough MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD.\nNo support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
<header>
<meta name="generator" content="MODX file generated with PP MODX Creator by tumba25 (online version)"/>
<license><![CDATA[http://opensource.org/licenses/gpl-license.php GNU General Public License v2]]></license>
<title lang="en"><![CDATA[Manage Torrents]]></title>
<description lang="en"><![CDATA[Allows moderators and admins to manage torrents uploads, torrent forum topics. Allows users to create a forum topic so moderators can approve it.]]></description>
<github><![CDATA[https://github.com/d-addicts/phpbb-manage-torrents]]></github>
<author-group>
<author>
<username><![CDATA[waf]]></username>
<contributions-group>
<contributions status="current" position="Administrator"/>
</contributions-group>
</author>
</author-group>
<mod-version>0.4</mod-version>
<installation>
<level>intermediate</level>
<time>600</time>
<target-version>3.0.12</target-version>
</installation>
</header>
<action-group>
<sql><![CDATA[CREATE TABLE `torrents` (
`info_hash` varchar(40) CHARACTER SET latin1 NOT NULL DEFAULT '',
`filename` varchar(250) CHARACTER SET latin1 DEFAULT NULL,
`url` varchar(250) CHARACTER SET latin1 NOT NULL DEFAULT '',
`info` varchar(250) CHARACTER SET latin1 NOT NULL DEFAULT '',
`name` varchar(100) DEFAULT NULL,
`uploadBy` varchar(25) CHARACTER SET latin1 DEFAULT NULL,
`type` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
`date_added` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`announce` varchar(255) CHARACTER SET latin1 DEFAULT NULL,
`seeds` int(11) DEFAULT '0',
`leechers` int(11) DEFAULT '0',
`finished` int(11) DEFAULT '0',
`dl_link` varchar(255) CHARACTER SET latin1 DEFAULT NULL,
`group` varchar(250) CHARACTER SET latin1 DEFAULT NULL,
`keep` char(1) CHARACTER SET latin1 DEFAULT 'N',
`sub` varchar(10) CHARACTER SET latin1 DEFAULT 'unknown',
`info_hash_hex` varchar(100) DEFAULT NULL,
PRIMARY KEY (`info_hash`),
KEY `type` (`type`(16)),
KEY `name` (`name`(16)),
KEY `uploadBy` (`uploadBy`(16)),
KEY `sub` (`sub`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;]]></sql>
<copy>
<file from="root/includes/ucp/ucp_manage_torrents.php" to="includes/ucp/ucp_manage_torrents.php"/>
<file from="root/includes/ucp/info/ucp_manage_torrents.php" to="includes/ucp/info/ucp_manage_torrents.php"/>
<file from="root/language/en/mods/info_ucp_manage_torrents.php" to="language/en/mods/info_ucp_manage_torrents.php"/>
<file from="root/language/en/mods/permissions_manage_torrents.php" to="language/en/mods/permissions_manage_torrents.php"/>
<file from="root/styles/subsilver2/template/ucp_manage_torrents.html" to="styles/subsilver2/template/ucp_manage_torrents.html"/>
<file from="root/styles/subsilver2/template/ucp_manage_torrents_delete.html" to="styles/subsilver2/template/ucp_manage_torrents_delete.html"/>
<file from="root/styles/subsilver2/template/ucp_manage_torrents_upload.html" to="styles/subsilver2/template/ucp_manage_torrents_upload.html"/>
</copy>
<diy-instructions lang="en"><![CDATA[test hi
there
foo]]></diy-instructions>
</action-group>
</mod>