-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.xml
225 lines (225 loc) · 9.19 KB
/
install.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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No 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="http://www.phpbb.com/mods/xml/modx-1.2.3.xsd">
<header>
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
<title lang="en">Mods Database</title>
<description lang="en">Adds a simple Mods Database for keeping track of the mods installed on the board with possibility to add various additional information. Mod detail page to view the additional information, admins with appropriate permissions will be able to see installation date on mod detail page.</description>
<author-notes lang="en">Many thanks to kingmob for the great prosilver download button </author-notes>
<author-group>
<author>
<realname>Heiko Carstens</realname>
<email>[email protected]</email>
<username>lefty74</username>
<homepage>http://www.lefty74.com</homepage>
</author>
</author-group>
<mod-version>1.0.7</mod-version>
<installation>
<level>easy</level>
<time>600</time>
<target-version>3.0.6</target-version>
</installation>
<history>
<entry>
<date>2007-08-24</date>
<rev-version>0.0.1</rev-version>
<changelog lang="en">
<change>Initial release</change>
</changelog>
</entry>
<entry>
<date>2007-09-12</date>
<rev-version>0.1.0</rev-version>
<changelog lang="en">
<change>added mod detail page</change>
</changelog>
</entry>
<entry>
<date>2007-09-14</date>
<rev-version>0.1.1</rev-version>
<changelog lang="en">
<change>fixed bug when checking whether at least mod title and version are completed</change>
<change>corrected spelling mistake</change>
<change>fixed install file</change>
<change>added check to avoid duplicate mod titles</change>
</changelog>
</entry>
<entry>
<date>2007-10-30</date>
<rev-version>0.1.2</rev-version>
<changelog lang="en">
<change>changed DB tables to UTF-8, updated to make RC7 compliant</change>
</changelog>
</entry>
<entry>
<date>2008-02-10</date>
<rev-version>0.2.0</rev-version>
<changelog lang="en">
<change>added a switch to show DB to certain groups (Regular Members, Mods or Admins), also gives the option show mods only to admins</change>
</changelog>
</entry>
<entry>
<date>2008-02-14</date>
<rev-version>0.2.1</rev-version>
<changelog lang="en">
<change>fixed little bug - thanks to saaiberke</change>
</changelog>
</entry>
<entry>
<date>2008-07-10</date>
<rev-version>1.0.0</rev-version>
<changelog lang="en">
<change>added css to separate file, repackaged to new guidelines</change>
</changelog>
</entry>
<entry>
<date>2008-07-12</date>
<rev-version>1.0.1</rev-version>
<changelog lang="en">
<change>deleted a value assignment in 1.0.0 by accident</change>
</changelog>
</entry>
<entry>
<date>2008-09-08</date>
<rev-version>1.0.2</rev-version>
<changelog lang="en">
<change>added an installation file, added permissions, minor other changes</change>
</changelog>
</entry>
<entry>
<date>2008-11-07</date>
<rev-version>1.0.3</rev-version>
<changelog lang="en">
<change>added a style="clear:both; in the admin page so safari shows correctly too;
disregard case in the sorting (thanks to David63)</change>
</changelog>
</entry>
<entry>
<date>2008-12-07</date>
<rev-version>1.0.4</rev-version>
<changelog lang="en">
<change>changed install instructions for 3.0.3, updated modsdb.php (thanks A_Jelly_Doughnut)</change>
</changelog>
</entry>
<entry>
<date>2008-12-15</date>
<rev-version>1.0.5</rev-version>
<changelog lang="en">
<change>fixed little language bug</change>
<change>added MODDB version to ACP part</change>
<change>changed query to sql_in_set in acp_modsdb.php</change>
</changelog>
</entry>
<entry>
<date>2008-12-31</date>
<rev-version>1.0.6</rev-version>
<changelog lang="en">
<change>fixed little language bug</change>
<change>added sortable installation date</change>
<change>changed query modsdb.php</change>
</changelog>
</entry>
<entry>
<date>2009-01-18</date>
<rev-version>1.0.6a</rev-version>
<changelog lang="en">
<change>added #modsdb to subsilver2 and remainder of prosilver mod</change>
<change>changed install file so that database stored templates do not get the install files added after purging cache</change>
</changelog>
</entry>
<entry>
<date>2009-11-22</date>
<rev-version>1.0.7</rev-version>
<changelog lang="en">
<change>fixed little typo in adm template file - thanks to Treben Media</change>
<change>fixed little list bug in prosilver template files</change>
<change>putting a nowrap in the mod date display</change>
<change>added some sorting possibility in the acp part of the mod</change>
<change>updated pagination code in modsdb.php</change>
</changelog>
</entry>
</history>
<link-group>
<link type="template" href="contrib/subsilver2.xml" lang="en">subsilver2</link>
</link-group>
</header>
<action-group>
<copy>
<file from="root/adm/style/acp_modsdb.html" to="adm/style/acp_modsdb.html"/>
<file from="root/modsdb.php" to="modsdb.php"/>
<file from="root/includes/acp/acp_modsdb.php" to="includes/acp/acp_modsdb.php"/>
<file from="root/includes/acp/info/acp_modsdb.php" to="includes/acp/info/acp_modsdb.php"/>
<file from="root/install/*.*" to="install/*.*"/>
<file from="root/language/en/mods/acp_modsdb.php" to="language/en/mods/acp_modsdb.php"/>
<file from="root/language/en/mods/info_acp_modsdb.php" to="language/en/mods/info_acp_modsdb.php"/>
<file from="root/language/en/mods/modsdb.php" to="language/en/mods/modsdb.php"/>
<file from="root/language/en/mods/permissions_modsdb.php" to="language/en/mods/permissions_modsdb.php" />
<file from="root/styles/prosilver/template/modsdb_body.html" to="styles/prosilver/template/modsdb_body.html"/>
<file from="root/styles/prosilver/template/modsdb_body_detail.html" to="styles/prosilver/template/modsdb_body_detail.html"/>
<file from="root/styles/prosilver/imageset/icon_download.gif" to="styles/prosilver/imageset/icon_download.gif"/>
<file from="root/styles/prosilver/theme/modsdb.css" to="styles/prosilver/theme/modsdb.css"/>
</copy>
<open src="includes/acp/acp_styles.php">
<edit>
<find> 'icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber', 'icon_contact_msnm', 'icon_contact_pm', 'icon_contact_yahoo', 'icon_contact_www',</find>
<inline-edit>
<inline-find>'icon_contact_www',</inline-find>
<inline-action type="after-add"> 'icon_download',</inline-action>
</inline-edit>
</edit>
</open>
<open src="includes/constants.php">
<edit>
<find>// Additional tables</find>
<action type="after-add">//lefty74 modsdatabase
define('MODS_DATABASE_TABLE', $table_prefix . 'mods_database');
define('MODSDB_VISIBLE_TO_ALL', 0);
</action>
</edit>
</open>
<open src="includes/functions.php">
<edit>
<find> 'U_TEAM' => </find>
<action type="after-add"><![CDATA[ 'S_MOD_DISPLAY' => ($auth->acl_get('u_modsdb_view') || $auth->acl_get('a_modsdb_view')) ? true : false,
'U_MODS_DB' => append_sid("{$phpbb_root_path}modsdb.$phpEx"),]]></action>
</edit>
</open>
<open src="language/en/common.php">
<edit>
<find> 'MODERATORS' => 'Moderators',</find>
<action type="after-add"> 'MODS_DB' => 'Mods Database', //lefty74</action>
</edit>
</open>
<open src="language/en/acp/styles.php">
<edit>
<find> 'IMG_ICON_CONTACT_WWW' => 'Website',</find>
<action type="after-add"> 'IMG_ICON_DOWNLOAD' => 'Download',</action>
</edit>
</open>
<open src="styles/prosilver/theme/stylesheet.css">
<edit>
<find>@import url("colours.css");</find>
<action type="after-add">@import url("modsdb.css");</action>
</edit>
</open>
<open src="styles/prosilver/imageset/imageset.cfg">
<edit>
<find>img_icon_contact_www = icon_contact_www.gif*20*20</find>
<action type="after-add">img_icon_download = icon_download.gif*20*20</action>
</edit>
</open>
<open src="styles/prosilver/template/overall_footer.html">
<edit>
<find><![CDATA[<a href="{U_TEAM}">{L_THE_TEAM}</a>]]></find>
<inline-edit>
<inline-find><![CDATA[<a href="{U_TEAM}">{L_THE_TEAM}</a>]]></inline-find>
<inline-action type="after-add"><![CDATA[<!-- IF S_MOD_DISPLAY--> • <a href="{U_MODS_DB}">{L_MODS_DB}</a><!-- ENDIF -->]]></inline-action>
</inline-edit>
</edit>
</open>
<diy-instructions lang="en">Go to install/index.php in your browser and delete that folder after installation.
Don't forget to refresh your templates/themes/imagesets.</diy-instructions>
</action-group>
</mod>