about summary refs log tree commit diff stats
path: root/update/plugin/phpBB3/trunk/install.xml
diff options
context:
space:
mode:
Diffstat (limited to 'update/plugin/phpBB3/trunk/install.xml')
-rw-r--r--update/plugin/phpBB3/trunk/install.xml69
1 files changed, 69 insertions, 0 deletions
diff --git a/update/plugin/phpBB3/trunk/install.xml b/update/plugin/phpBB3/trunk/install.xml new file mode 100644 index 0000000..dbdaaaf --- /dev/null +++ b/update/plugin/phpBB3/trunk/install.xml
@@ -0,0 +1,69 @@
1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
2<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
3
4<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.0.xsd">
5 <header>
6 <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
7
8 <title lang="en">InstaDisc</title>
9
10 <description lang="en">This is an InstaDisc Update Server implementation plugin for phpBB3 which allows you to send out InstaDisc items whenever someone posts</description>
11
12 <author-group>
13 <author>
14 <realname>Starla Insigna</realname>
15 <username>hatkirby</username>
16 <homepage>http://fourisland.com/</homepage>
17 </author>
18 </author-group>
19
20 <mod-version>1.0.0</mod-version>
21
22 <installation>
23 <level>easy</level>
24 <time>300</time>
25 <target-version>3.0.2</target-version>
26 </installation>
27 </header>
28
29 <action-group>
30 <copy>
31 <file from="root/instadisc.php" to="instadisc.php" />
32 <file from="root/adm/style/acp_instadisc.html" to="adm/style/acp_instadisc.html" />
33 <file from="root/includes/functions_instadisc.php" to="includes/functions_instadisc.php" />
34 <file from="root/includes/acp/acp_instadisc.php" to="includes/acp/acp_instadisc.php" />
35 <file from="root/includes/acp/info/acp_instadisc.php" to="includes/acp/info/acp_instadisc.php" />
36 <file from="root/language/en/mods/instadisc.php" to="language/en/mods/instadisc.php" />
37 <file from="root/styles/prosilver/template/instadisc.html" to="styles/prosilver/template/instadisc.html" />
38 </copy>
39
40 <open src="includes/functions_posting.php">
41 <edit>
42 <find><![CDATA[if (!defined('IN_PHPBB'))
43{
44 exit;
45}]]></find>
46
47 <action type="after-add"><![CDATA[
48/* Start: InstaDisc Plugin */
49include($phpbb_root_path . 'includes/functions_instadisc.' . $phpEx);
50/* End: InstaDisc Plugin */]]></action>
51 </edit>
52
53 <edit>
54 <find>return $url;</find>
55
56 <action type="before-add"><![CDATA[/* Start: InstaDisc Plugin */
57if (($post_mode == 'post') || ($post_mode == 'reply'))
58{
59 sendItem($subject, (int) $user->data['user_id'], $url, $data['forum_id']);
60}
61/* End: InstaDisc Plugin */
62
63]]></action>
64 </edit>
65 </open>
66
67 <diy-instructions lang="en">Go to http://fourisland.com/projects/instadisc/wiki/Update/phpBB3 for help on setting up your subscriptions.</diy-instructions>
68 </action-group>
69</mod>