This repository was archived by the owner on Jan 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.xml
More file actions
243 lines (238 loc) · 11.7 KB
/
Copy pathinstall.xml
File metadata and controls
243 lines (238 loc) · 11.7 KB
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="./contrib/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 1.0.1 by tumba25 (phpBB version) at phpbbmodders.net"/>
<license><![CDATA[http://opensource.org/licenses/gpl-license.php GNU General Public License v2]]></license>
<title lang="en"><![CDATA[Evil Quick Reply]]></title>
<description lang="en"><![CDATA[This modification will add a hidden quick reply form to the bottom of the viewtopic page. It adds a "Quick reply" image next to "Post reply", that will display the quick reply form when clicked. The goal of this MOD is not to offer as many features as possible, it's built to be as simple as possible.]]></description>
<author-notes lang="en"><![CDATA[There have been many Quick Reply MODs for phpBB2. I never found one that i really liked, because many were just too bloated (for my taste) and/or the code wasn't as simple as it could have been. So i made my own for my own forum, wich i never published.
Then i decided that i'd make one for phpBB3 too. Right now there is one such MOD i know of, called "Quick Posting" by LEW21, wich is a really nice MOD, i must say. But i still believe that a quick reply should be simple. If somebody wants more options, he can click the "Post reply" image. This MOD still includes guest support though, so guests will have the possibility to enter their name and a confirmation code.
Hope you find this MOD useful!
This MOD used to be called "Simple Quick Reply", but the author of phpBB2's "Simple Quick Reply" asked me to let him use it, so i decided to call mine "Evil Quick Reply", which is kinda ironic, because by doing so i'm not being evil at all. :P
Thanks to Highway of Life, WWay (prosilver) and Prince of phpBB (subsilver2) for the sweet quick reply icons!
Don't forget to refresh the themes, templates and imagesets in the ACP after installation.]]></author-notes>
<author-group>
<author>
<realname><![CDATA[Igor Wiedler]]></realname>
<username><![CDATA[eviL<3]]></username>
<homepage><![CDATA[http://phpbbmodders.net]]></homepage>
<email><![CDATA[evil@phpbbmodders.net]]></email>
<contributions-group>
<contributions status="past" from="2007-04-09" to="2007-12-16" position="Developer"/>
</contributions-group>
</author>
<author>
<realname><![CDATA[William Jacoby]]></realname>
<username><![CDATA[bonelifer]]></username>
<contributions-group>
<contributions status="current" position="Developer"/>
</contributions-group>
</author>
</author-group>
<mod-version>1.0.1</mod-version>
<installation>
<level>easy</level>
<time>300</time>
<target-version>3.0.8</target-version>
</installation>
<history>
<entry>
<date>2007-04-09</date>
<rev-version>0.1.0</rev-version>
<changelog lang="en">
<change><![CDATA[Initial release]]></change>
</changelog>
</entry>
<entry>
<date>2007-04-25</date>
<rev-version>0.1.1</rev-version>
<changelog lang="en">
<change><![CDATA[Improved javascript (onload)]]></change>
<change><![CDATA[Added post subject option]]></change>
</changelog>
</entry>
<entry>
<date>2007-05-22</date>
<rev-version>0.1.2</rev-version>
<changelog lang="en">
<change><![CDATA[RC1, prosilver xsl]]></change>
<change><![CDATA[Javascript resize for the textarea]]></change>
</changelog>
</entry>
<entry>
<date>2007-05-23</date>
<rev-version>0.1.3</rev-version>
<changelog lang="en">
<change><![CDATA[Prosilver template improvements]]></change>
<change><![CDATA[$display_subject = true; by default]]></change>
<change><![CDATA[Changed the config around a little (thanks for the suggestions, guys)]]></change>
<change><![CDATA[Save display status in a cookie]]></change>
</changelog>
</entry>
<entry>
<date>2007-05-23</date>
<rev-version>0.1.4</rev-version>
<changelog lang="en">
<change><![CDATA[Reduced install time]]></change>
<change><![CDATA[Fixed something in template (duplicate id attribute)]]></change>
<change><![CDATA[Added locked check (thanks damnian)]]></change>
<change><![CDATA[Added Re: Subject to the subject when hidden (thanks nickvergessen)]]></change>
</changelog>
</entry>
<entry>
<date>2007-06-22</date>
<rev-version>0.1.5</rev-version>
<changelog lang="en">
<change><![CDATA[Some more fixes]]></change>
<change><![CDATA[Renamed MOD to evil quick reply]]></change>
</changelog>
</entry>
<entry>
<date>2007-10-14</date>
<rev-version>1.0.0c</rev-version>
<changelog lang="en">
<change><![CDATA[Some updates/fixes]]></change>
<change><![CDATA[Updated for RC6]]></change>
<change><![CDATA[Zomg addon!]]></change>
</changelog>
</entry>
<entry>
<date>2007-09-01</date>
<rev-version>1.0.0a</rev-version>
<changelog lang="en">
<change><![CDATA[Some updates/fixes]]></change>
<change><![CDATA[Zomg addon!]]></change>
</changelog>
</entry>
<entry>
<date>2007-06-30</date>
<rev-version>1.0.0</rev-version>
<changelog lang="en">
<change><![CDATA[New prosilver image by WWay]]></change>
<change><![CDATA[First RC of MOD, submitted to moddb]]></change>
<change><![CDATA[Moved style changes to /templates/]]></change>
<change><![CDATA[Fixed overflow for RC3]]></change>
</changelog>
</entry>
<entry>
<date>2011-06-13</date>
<rev-version>1.0.1a</rev-version>
<changelog lang="en">
<change><![CDATA[Updated install file to the current MODX.]]></change>
</changelog>
</entry>
<entry>
<date>2007-12-16</date>
<rev-version>1.0.1</rev-version>
<changelog lang="en">
<change><![CDATA[Updated for phpBB 3.0.0 Gold!]]></change>
</changelog>
</entry>
</history>
<link-group>
<link type="contrib" href="./contrib/smilies_bbcodes/install.xml" lang="en">Evil Quick Reply Addon: BBcodes and smilies</link>
<link type="template" href="./contrib/subsilver2.xml" lang="en">SubSilver 2</link>
</link-group>
</header>
<action-group>
<copy>
<file from="root/includes/functions_quick_reply.php" to="includes/functions_quick_reply.php"/>
<file from="root/styles/prosilver/imageset/en/button_quick_reply.gif" to="styles/prosilver/imageset/en/button_quick_reply.gif"/>
<file from="root/styles/prosilver/template/posting_qr_body.html" to="styles/prosilver/template/posting_qr_body.html"/>
</copy>
<open src="viewtopic.php">
<edit>
<find><![CDATA[ 'WARN_IMG' => $user->img('icon_user_warn', 'WARN_USER'),]]></find>
<action type="after-add"><![CDATA[//-- mod : Evil Quick Reply ------------------------------------------------------------
//-- add
'QUICK_REPLY_IMG' => $user->img('button_quick_reply', 'QUICK_REPLY'),
//-- fin mod : Evil Quick Reply --------------------------------------------------------]]></action>
</edit>
<edit>
<find><![CDATA[page_footer();]]></find>
<action type="before-add"><![CDATA[//-- mod : Evil Quick Reply ------------------------------------------------------------
//-- add
include($phpbb_root_path . 'includes/functions_quick_reply.' . $phpEx);
quick_reply($topic_id, $forum_id, $topic_data);
//-- fin mod : Evil Quick Reply --------------------------------------------------------]]></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_quick_reply']]></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_quick_reply']]></inline-action>
</inline-edit>
</edit>
</open>
<open src="language/en/common.php">
<edit>
<find><![CDATA[ 'POST_REPLY' => 'Post a reply',]]></find>
<action type="after-add"><![CDATA[//-- mod : Evil Quick Reply ------------------------------------------------------------
//-- add
'QUICK_REPLY' => 'Quick reply',
//-- fin mod : Evil Quick Reply --------------------------------------------------------]]></action>
</edit>
</open>
<open src="language/en/acp/styles.php">
<edit>
<find><![CDATA[ 'IMG_BUTTON_TOPIC_REPLY' => 'Reply topic',]]></find>
<action type="after-add"><![CDATA[//-- mod : Evil Quick Reply ------------------------------------------------------------
//-- add
'IMG_BUTTON_QUICK_REPLY' => 'Quick reply',
//-- fin mod : Evil Quick Reply --------------------------------------------------------]]></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_quick_reply = button_quick_reply.gif*25*106]]></action>
</edit>
</open>
<open src="styles/prosilver/template/viewtopic_body.html">
<edit>
<find><![CDATA[{S_POLL_ACTION}]]></find>
<find><![CDATA[<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div>]]></find>
<action type="after-add"><![CDATA[<!-- IF S_QR_ENABLED --><div class="quick-reply-icon"><a href="javascript:toggle_quick_reply();" title="{L_QUICK_REPLY}"><span></span>{L_QUICK_REPLY}</a></div><!-- ENDIF -->]]></action>
</edit>
<edit>
<find><![CDATA[<!-- INCLUDE jumpbox.html -->]]></find>
<action type="before-add"><![CDATA[<!-- IF S_QR_ENABLED -->
<!-- INCLUDE posting_qr_body.html -->
<!-- ENDIF -->]]></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[.quick-reply-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.quick-reply-icon { width: {IMG_BUTTON_QUICK_REPLY_WIDTH}px; height: {IMG_BUTTON_QUICK_REPLY_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[.quick-reply-icon span { background-image: url("{IMG_BUTTON_QUICK_REPLY_SRC}"); }]]></action>
</edit>
</open>
<diy-instructions lang="en"><![CDATA[*** NOTE: If you are installing via Automod you may skip to step 2 ***
1. Make all edits to all files and upload them to your forum.
2. Refresh the prosilver/subsilver2 template and imageset cache.]]></diy-instructions>
</action-group>
</mod>