-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.xml
254 lines (251 loc) · 10.7 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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<?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="http://www.phpbb.com/mods/xml/modx-1.2.5.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[phpBB Tracker]]></title>
<description lang="en"><![CDATA[Full tracker add-on for phpBB 3.0.x]]></description>
<author-notes lang="en"><![CDATA[This MOD requires a minimum PHP version of 5.0.0.]]></author-notes>
<author-group>
<author>
<realname>Nathaniel Guse</realname>
<username>EXreaction</username>
</author>
<author>
<realname><![CDATA[J. Russo]]></realname>
<username><![CDATA[JRSweets]]></username>
<homepage><![CDATA[http://www.jeffrusso.net]]></homepage>
<email><![CDATA[[email protected]]]></email>
</author>
<author>
<realname><![CDATA[Igor Wiedler]]></realname>
<username><![CDATA[evil<3]]></username>
<homepage><![CDATA[http://phpbbmodders.net]]></homepage>
<email><![CDATA[[email protected]]]></email>
</author>
<author>
<realname><![CDATA[Komlódi Péter]]></realname>
<username><![CDATA[KillBill.]]></username>
<homepage><![CDATA[http://jatek-vilag.com/]]></homepage>
<email><![CDATA[[email protected]]]></email>
</author>
</author-group>
<mod-version>1.0.0-b1-dev</mod-version>
<installation>
<level>easy</level>
<time>600</time>
<target-version>3.0.11</target-version>
</installation>
<history>
<entry>
<date>2008-03-04</date>
<rev-version>0.1.0</rev-version>
<changelog lang="en">
<change><![CDATA[Initial Beta Release]]></change>
</changelog>
</entry>
<entry>
<date>2008-03-17</date>
<rev-version>0.1.1</rev-version>
<changelog lang="en">
<change><![CDATA[Added management options to ticket reply]]></change>
<change><![CDATA[Added attachement form to subsilver2 templates]]></change>
<change><![CDATA[Added htmlspecialchars_decode() for emails]]></change>
<change><![CDATA[Added check to block blank entries in ACP]]></change>
<change><![CDATA[Added visual update to search box]]></change>
<change><![CDATA[Fixed bug viewing all users tickets]]></change>
<change><![CDATA[Fixed bug with sort order for statistics]]></change>
<change><![CDATA[Fixed bug with pagination while sorting/filtering tickets]]></change>
<change><![CDATA[Fixed bug removing attachments for posts when deleting]]></change>
<change><![CDATA[Fixed bug with language variables when viewing statistics]]></change>
<change><![CDATA[Fixed bug with installation script and updating from older versions]]></change>
<change><![CDATA[Fixed bug causing tracker link to appear in viewonline breadcrumbs/nav links]]></change>
<change><![CDATA[Increased size of ticket and post description]]></change>
</changelog>
</entry>
<entry>
<date>2008-03-18</date>
<rev-version>0.1.2</rev-version>
<changelog lang="en">
<change><![CDATA[Added group support to "Show tickets assigned to me"]]></change>
<change><![CDATA[Fixed bug causing missing column in project table]]></change>
<change><![CDATA[Fixed bug with missing htmlspecialchars_decode in email subject]]></change>
<change><![CDATA[Fixed various bugs with installer/updater]]></change>
</changelog>
</entry>
<entry>
<date>2009-01-14</date>
<rev-version>0.2.0</rev-version>
<changelog lang="en">
<change><![CDATA[Added new issue buttons to prosilver and subsilver2]]></change>
<change><![CDATA[Added ability to enable/disable versions]]></change>
<change><![CDATA[Added ticket and project subscriptions]]></change>
<change><![CDATA[Added ability to set security tickets]]></change>
<change><![CDATA[Fixed many style related bugs]]></change>
<change><![CDATA[Updated modx to version 1.2.1]]></change>
<change><![CDATA[Updated installation script]]></change>
<change><![CDATA[Updated minimum PHP version to 5.0.0.]]></change>
</changelog>
</entry>
<entry>
<date>2009-01-23</date>
<rev-version>0.3.0</rev-version>
<changelog lang="en">
<change><![CDATA[Fixed subscription emails]]></change>
<change><![CDATA[Fixed various style issues]]></change>
</changelog>
</entry>
<entry>
<date>2011-06-19</date>
<rev-version>0.4.0</rev-version>
<changelog lang="en">
<change><![CDATA[modx 1.2.5]]></change>
</changelog>
</entry>
<entry>
<date>2012-08-25</date>
<rev-version>0.5.1</rev-version>
<changelog lang="en">
<change>Copied from the old SVN Repository for the mod JRSweets had setup</change>
<change>Numerous bug fixes</change>
</changelog>
</entry>
<entry>
<date>2013-07-19</date>
<rev-version>0.5.2</rev-version>
<changelog lang="en">
<change>Fix an error from users submitting an invalid project category id on the index</change>
<change>Remove references to Lithium Studios</change>
</changelog>
</entry>
</history>
<link-group>
<link type="template" href="subsilver2.xml" lang="en">subsilver2</link>
</link-group>
</header>
<action-group>
<copy>
<file from="root/*.*" to="*.*"/>
</copy>
<open src="viewonline.php">
<edit>
<find><![CDATA[ case 'ucp':
$location = $user->lang['VIEWING_UCP'];
// Grab some common modules
$url_params = array(
'mode=register' => 'VIEWING_REGISTER',
'i=pm&mode=compose' => 'POSTING_PRIVATE_MESSAGE',
'i=pm&' => 'VIEWING_PRIVATE_MESSAGES',
'i=profile&' => 'CHANGING_PROFILE',
'i=prefs&' => 'CHANGING_PREFERENCES',
);
foreach ($url_params as $param => $lang)
{
if (strpos($row['session_page'], $param) !== false)
{
$location = $user->lang[$lang];
break;
}
}
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;]]></find>
<action type="after-add"><![CDATA[ case 'tracker':
include($phpbb_root_path . 'tracker/includes/viewonline.' . $phpEx);
break;]]></action>
</edit>
</open>
<open src="includes/functions.php">
<edit>
<find><![CDATA[if (defined('HEADER_INC'))]]></find>
<action type="before-add"><![CDATA[ global $tracker;]]></action>
</edit>
<edit>
<find><![CDATA[// The following assigns all _common_ variables that may be used at any point in a template.]]></find>
<action type="after-add"><![CDATA[ if (!isset($tracker))
{
$user->add_lang('mods/tracker');
$template->assign_var('U_TRACKER', append_sid("{$phpbb_root_path}tracker.$phpEx"));
}]]></action>
</edit>
</open>
<open src="includes/functions_user.php">
<edit>
<find><![CDATA[ $sql = 'UPDATE ' . TOPICS_TABLE . " SET topic_last_poster_colour = '" . $db->sql_escape($sql_ary['user_colour']) . "'
WHERE " . $db->sql_in_set('topic_last_poster_id', $user_id_ary);
$db->sql_query($sql);]]></find>
<action type="after-add"><![CDATA[ global $cache, $phpbb_root_path, $phpEx, $table_prefix;
if (!defined('TRACKER_TICKETS_TABLE'))
{
include($phpbb_root_path . 'tracker/includes/constants.' . $phpEx);
}
$sql = 'UPDATE ' . TRACKER_TICKETS_TABLE . " SET last_visit_user_colour = '" . $db->sql_escape($sql_ary['user_colour']) . "'
WHERE " . $db->sql_in_set('last_visit_user_id', $user_id_ary);
$db->sql_query($sql);]]></action>
</edit>
</open>
<open src="includes/acp/acp_language.php">
<edit>
<find><![CDATA[, 'button_topic_reply']]></find>
<inline-edit>
<inline-find><![CDATA[, 'button_topic_reply']]></inline-find>
<inline-action type="after-add"><![CDATA[, 'button_issue_new']]></inline-action>
</inline-edit>
</edit>
</open>
<open src="includes/acp/acp_styles.php">
<edit>
<find><![CDATA[, 'button_topic_reply']]></find>
<inline-edit>
<inline-find><![CDATA[, 'button_topic_reply']]></inline-find>
<inline-action type="after-add"><![CDATA[, 'button_issue_new']]></inline-action>
</inline-edit>
</edit>
</open>
<open src="language/en/acp/styles.php">
<edit>
<find><![CDATA[ 'IMG_BUTTON_TOPIC_REPLY' => 'Reply topic',]]></find>
<action type="after-add"><![CDATA[ 'IMG_BUTTON_ISSUE_NEW' => 'New issue',]]></action>
</edit>
</open>
<open src="styles/prosilver/imageset/en/imageset.cfg">
<edit>
<find><![CDATA[img_button_topic_reply = button_topic_reply.gif*25*96]]></find>
<action type="after-add"><![CDATA[img_button_issue_new = button_issue_new.gif*25*95]]></action>
</edit>
</open>
<open src="styles/prosilver/template/overall_header.html">
<edit>
<find><![CDATA[</head>]]></find>
<action type="before-add"><![CDATA[<!-- IF S_IN_TRACKER -->
<!-- INCLUDE tracker/tracker_header.html -->
<!-- ENDIF -->]]></action>
</edit>
<edit>
<find><![CDATA[ <li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>]]></find>
<action type="before-add"><![CDATA[ <li class="icon-faq"><a href="{U_TRACKER}" title="{L_TRACKER}">{L_TRACKER}</a></li>
]]></action>
</edit>
</open>
<open src="styles/prosilver/theme/buttons.css">
<edit>
<find><![CDATA[.reply-icon span { background: transparent none 0 0 no-repeat; }]]></find>
<action type="after-add"><![CDATA[.issue-icon span { background: transparent none 0 0 no-repeat; }]]></action>
</edit>
<edit>
<find><![CDATA[.buttons div.reply-icon { width: {IMG_BUTTON_TOPIC_REPLY_WIDTH}px; height: {IMG_BUTTON_TOPIC_REPLY_HEIGHT}px; }]]></find>
<action type="after-add"><![CDATA[.buttons div.issue-icon { width: {IMG_BUTTON_ISSUE_NEW_WIDTH}px; height: {IMG_BUTTON_ISSUE_NEW_HEIGHT}px; }]]></action>
</edit>
</open>
<open src="styles/prosilver/theme/colours.css">
<edit>
<find><![CDATA[.reply-icon span { background-image: url("{IMG_BUTTON_TOPIC_REPLY_SRC}"); }]]></find>
<action type="after-add"><![CDATA[.issue-icon span { background-image: url("{IMG_BUTTON_ISSUE_NEW_SRC}"); }]]></action>
</edit>
</open>
<diy-instructions lang="en"><![CDATA[Run the included installer at http://yoursite.com/phpBB/install/index.php
Once done make sure to remove install folder from your server.]]></diy-instructions>
</action-group>
</mod>