forked from Marshalrusty/tapatalk-phpbb3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.xml
165 lines (164 loc) · 8.09 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
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<?xml-stylesheet type="text/xsl" href="./contrib/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.5.xsd">
<header>
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
<title lang="en">Tapatalk</title>
<description lang="en">Tapatalk for the forum index and seperate page.</description>
<author-notes lang="en">It took considerable time in creating this modification. If you appreciate the time involved and are enjoying the mod, please consider making a "donation" via paypal to [email protected].
Thanks and enjoy the mod!!
</author-notes>
<author-group>
<author>
<realname>tapatalk</realname>
<username>tapatalk</username>
<homepage>http://www.tapatalk.com</homepage>
<contributions-group>
<contributions status="current" from="2009-08-13" position="Developer"/>
</contributions-group>
</author>
</author-group>
<mod-version>3.4.3</mod-version>
<installation>
<level>intermediate</level>
<time>1800</time>
<target-version>3.0.0 above</target-version>
</installation>
<history>
<entry>
<date>2012-08-25</date>
<rev-version>3.4.0</rev-version>
<changelog lang="en">
<change>Fixed function 'send_status_line' missing issue</change>
<change>Fixed phpbb 404 response code issue</change>
<change>Fixed global announcement permission check issue</change>
<change>Fixed return empty data not error message when no search result</change>
<change>Fixed modified ban and delete all of a users posts, or just ban and cannot delete all the posts</change>
<change>Fixed block a user via "Moderation Area", access via Tapatalk still work.</change>
<change>Increase the compatibility of the phpbb 3.0.0 version.</change>
<change>Add push notification support (For automod installation only)</change>
</changelog>
</entry>
<entry>
<date>2012-08-31</date>
<rev-version>3.4.1</rev-version>
<changelog lang="en">
<change>Fixed some small installation issues</change>
<change>Fixed Permission Problem with Latest Update</change>
<change>Fixed hide forum areas but posts are not be hidden</change>
<change>Fixed conflict with Mini-Chat</change>
</changelog>
</entry>
<entry>
<date>2012-09-06</date>
<rev-version>3.4.2</rev-version>
<changelog lang="en">
<change>Fixed some samll install issues</change>
<change>Fixed undefined variable</change>
<change>Modified the plugin ACP Permission</change>
</changelog>
</entry>
<entry>
<date>2012-09-14</date>
<rev-version>3.4.3</rev-version>
<changelog lang="en">
<change>Fixed can not login to ACP by using firefox issues</change>
<change>Fixed can not delete posts by using firefox</change>
<change>Fixed language constant string missing (LOG_CONFIG_MOBIQUO and acl_acp_moiquo) .</change>
<change>Fixed push time out error</change>
<change>Added push conditions check in push.php</change>
<change>Fixed error when post with emoji </change>
<change>Fixed repeating the first page of unread posts in the second page</change>
<change>Fixed Syntax Error in SQL Statement on Login phpBB on PostgreSQL</change>
<change>Fixed a undefined error when edit a pm</change>
</changelog>
</entry>
</history>
<link-group>
<link type="template" href="./contrib/subsilver2.xml" lang="en">SubSilver2</link>
<link type="contrib" href="./contrib/update_tapatalk_340_341.xml" lang="en">Update from 340 to 341</link>
<link type="contrib" href="./contrib/update_tapatalk_341_342.xml" lang="en">Update from 341 to 342</link>
<link type="contrib" href="./contrib/update_tapatalk_342_343.xml" lang="en">Update from 342 to 343</link>
</link-group>
</header>
<action-group>
<copy>
<file from="root/umil/*.*" to="umil/*.*" />
<file from="root/mobiquo_install.php" to="mobiquo_install.php" />
<file from="root/includes/acp/*.*" to="includes/acp/*.*" />
<file from="root/adm/style/*.*" to="adm/style/*.*" />
<file from="root/mobiquo/*.*" to="mobiquo/*.*" />
<file from="root/language/*.*" to="language/*.*" />
</copy>
<open src="includes/functions_posting.php">
<edit>
<find><![CDATA[ $url = append_sid($url, 'f=' . $data['forum_id'] . $params) . $add_anchor;]]></find>
<action type="after-add"><![CDATA[ // BEGIN mobiquo Mod push service
if ($url && isset($config['mobiquo_push']))
{
require_once($phpbb_root_path . $config['tapatalkdir'].'/push_hook.' . $phpEx);
$user_name_tag_arr = get_tag_list($data['message']);
switch ($mode)
{
case 'reply':
tapatalk_push_reply($data);
tapatalk_push_quote($data,$user_name_tag_arr,'tag');
break;
case 'post':
tapatalk_push_newtopic($data);
tapatalk_push_quote($data,$user_name_tag_arr,'tag');
break;
case 'quote':
preg_match_all('/quote="(.*?)"/is', $data['message'],$matches);
$user_name_arr = array_unique($matches[1]);
unset($matches);
tapatalk_push_reply($data);
tapatalk_push_quote($data,$user_name_arr,'quote');
tapatalk_push_quote($data,$user_name_tag_arr,'tag');
break;
}
}
// END mobiquo Mod]]></action>
</edit>
</open>
<open src="includes/functions_privmsgs.php">
<edit>
<find><![CDATA[// Send Notifications]]></find>
<action type="after-add"><![CDATA[// BEGIN mobiquo Mod push service
if(!empty($data['msg_id']) && isset($config['mobiquo_push']) && ($mode != 'edit'))
{
require_once($phpbb_root_path . $config['tapatalkdir'].'/push_hook.' . $phpEx);
tapatalk_push_pm($user_id, $data['msg_id'], $subject);
}
// END mobiquo Mod]]></action>
</edit>
</open>
<open src="includes/functions.php">
<edit>
<find><![CDATA[ if (strpos($user_lang, '-x-') !== false)]]></find>
<action type="before-add"><![CDATA[ $user->add_lang('mods/info_acp_mobiquo');]]></action>
</edit>
<edit>
<find><![CDATA['ROOT_PATH' => $phpbb_root_path,]]></find>
<action type="after-add"><![CDATA[ 'MOBIQUO_NAME' => (isset($config['mobiquo_is_chrome']) && ($config['mobiquo_is_chrome'] == 1)) ? $phpbb_root_path . (isset($config['tapatalkdir']) ? $config['tapatalkdir'] : 'mobiquo' ) : $phpbb_root_path . 'mobiquo',
'TAPATALKDETECT_JS' => (isset($config['mobiquo_is_chrome']) && ($config['mobiquo_is_chrome'] == 1)) ? $phpbb_root_path . (isset($config['tapatalkdir']) ? $config['tapatalkdir'] : 'mobiquo' ).'/tapatalkdetect.js' : $phpbb_root_path . (isset($config['tapatalkdir']) ? $config['tapatalkdir'] : 'mobiquo' ).'/tapatalkdetect-nochrome.js',]]></action>
</edit>
</open>
<open src="styles/prosilver/template/overall_header.html">
<edit>
<find><![CDATA[<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} •]]></find>
<action type="after-add"><![CDATA[<script type="text/javascript">var tapatalkdir="{MOBIQUO_NAME}";</script>
<script type="text/javascript" src="{TAPATALKDETECT_JS}"></script>]]></action>
</edit>
</open>
<php-installer><![CDATA[mobiquo_install.php]]></php-installer>
<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. Browse to the file mobiquo_install.php in the root of your forum to make the database changes (eg, http://mysite.com/mobiquo_install.php).
3. Delete the mobiquo_install.php file from the root of your forum.
4. Clear the cache in the GENERAL, set the settings for the tapatalk under the ".Mods" tab.
5. Enjoy the Mod!!
]]></diy-instructions>
</action-group>
</mod>