annotate contrib/SpecialAndNormalRanksIntegration.xml @ 21:706b0d6c2ba1 1.0.3

Create v1.0.3 (no-open-ticket): * Update target version * Fix mistakes in instructions
author root
date Sat, 27 Aug 2011 19:28:31 +0000
parents d6ea397a5322
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
1 <?xml version="1.0" encoding="utf-8" standalone="yes"?>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
2 <?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
3 <!--For security purposes, please check: http://www.phpbb.com/mods/ for the
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
4 latest version of this MOD. Although MODs are checked before being
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
5 allowed in the MODs Database there is no guarantee that there are no
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
6 security problems within the MOD. No support will be given for MODs not
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
7 found within the MODs Database which can be found at
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
8 http://www.phpbb.com/mods/-->
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
9 <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 <header>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
21
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
12 <title lang="en-gb">User Rank Progression Bar - Special and Normal Rank MOD Integration</title>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
13 <description lang="en-gb">These additional instructions provide integration with the Special and Normal Rank Images MOD v1.2.0 so that users with both a special and normal rank can see their progress towards the next rank.</description>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 <author-group>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 <author>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 <realname>IBBoard</realname>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 <email>phpbb@ibboard.co.uk</email>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 <username>IBBoard</username>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 <homepage>http://www.ibboard.co.uk</homepage>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 </author>
21
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
21 </author-group>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
22 <link-group>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
23 <link type="parent" href="../install.xml" lang="en-gb">Main install instructions</link>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 </link-group>
21
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
25 <mod-version>1.0.3</mod-version>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 <installation>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 <level>intermediate</level>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 <time>180</time>
21
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
29 <target-version>3.0.9</target-version>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 </installation>
21
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
31 <history>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
32 <entry>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
33 <date>2011-08-27</date>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
34 <rev-version>1.0.3</rev-version>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
35 <changelog lang="en-gb">
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
36 <change>Remove unused instructions</change>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
37 <change>Fix progress for members with special rank by adding missing "&amp;" to 2nd instruction</change>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
38 </changelog>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
39 </entry>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
40 <entry>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
41 <date>2010-08-01</date>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
42 <rev-version>1.0</rev-version>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
43 <changelog lang="en-gb">
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
44 <change>Update to final release</change>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
45 </changelog>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
46 </entry>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
47 <entry>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
48 <date>2009-06-15</date>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
49 <rev-version>0.2</rev-version>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
50 <changelog lang="en-gb">
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
51 <change>Update: Replace large "find and replace" with small modifications in functions_display.php</change>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
52 <change>Add: Add extra instructions to bring it up to date with v1.1.0 of the Special and Normal Rank Images MOD</change>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
53 </changelog>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
54 </entry>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
55 <entry>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
56 <date>2009-06-03</date>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
57 <rev-version>0.1</rev-version>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
58 <changelog lang="en-gb">
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
59 <change>Initial release</change>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
60 </changelog>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 </entry>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 </history>
21
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
63 </header>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
64 <action-group>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
65 <open src="includes/functions_display.php">
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
66 <edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
67 <find><![CDATA[* @param string &$rank_img_src the rank image source is stored here after execution]]></find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
68 <action type="after-add"><![CDATA[* @param int &$percent_complete the percentage of the way a user is to the next rank will be stored here after execution, where -1 meaning "not applicable"]]></action>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
69 </edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
70 <edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
71 <find><![CDATA[function get_user_additional_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src)]]></find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
72 <inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
73 <inline-find>$rank_img_src</inline-find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
74 <inline-action type="after-add"><![CDATA[, &$percentage_progress = 0]]></inline-action>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
75 </inline-edit>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 </edit>
21
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
77 <edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
78 <find><![CDATA[ get_user_rank(0, $user_posts, $rank_title, $rank_img, $rank_img_src);]]></find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
79 <inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
80 <inline-find>$rank_img_src</inline-find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
81 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
82 </inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
83 </edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
84 </open>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
85 <open src="includes/ucp/ucp_pm_viewmessage.php">
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
86 <edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
87 <find><![CDATA[ get_user_additional_rank($user_row['user_rank'], $user_row['user_posts'], $user_row['rank_title'], $user_row['rank_image'], $user_row['rank_image_src']);]]></find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
88 <inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
89 <inline-find>$user_row['rank_image_src']</inline-find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
90 <inline-action type="after-add"><![CDATA[, $user_row['percentage_progress']]]></inline-action>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
91 </inline-edit>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 <edit>
21
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
94 <find><![CDATA[ get_user_additional_rank($user_row['user_rank'], $user_row['user_posts'], $user_row['extra_rank_title'], $user_row['extra_rank_img'], $user_row['extra_rank_img_src']);]]></find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
95 <inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
96 <inline-find>$user_row['extra_rank_img_src']</inline-find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
97 <inline-action type="after-add"><![CDATA[, $user_row['percentage_progress']]]></inline-action>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
98 </inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
99 </edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
100 </open>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
101 <open src="memberlist.php">
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
102 <edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
103 <find><![CDATA[get_user_rank($user_rank, (($user_id == ANONYMOUS) ? false : $row['user_posts']), $memberrow['RANK_TITLE'], $memberrow['RANK_IMG'], $memberrow['RANK_IMG_SRC']);]]></find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
104 <inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
105 <inline-find>$memberrow['RANK_IMG_SRC']</inline-find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
106 <inline-action type="after-add"><![CDATA[, $memberrow['PERCENTAGE_PROGRESS_NUM']]]></inline-action>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
107 </inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
108 </edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
109 <edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
110 <find><![CDATA[ get_user_additional_rank($data['user_rank'], $data['user_posts'], $rank_title, $rank_img, $rank_img_src);]]></find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
111 <inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
112 <inline-find>$rank_img_src</inline-find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
113 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
114 </inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
115 </edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
116 <edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
117 <find><![CDATA[get_user_additional_rank($data['user_rank'], $data['user_posts'], $extra_rank_title, $extra_rank_img, $extra_rank_img_src);]]></find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
118 <inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
119 <inline-find>$extra_rank_img_src</inline-find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
120 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
121 </inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
122 </edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
123 </open>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
124 <open src="viewtopic.php">
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
125 <edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
126 <find><![CDATA[get_user_additional_rank($row['user_rank'], $row['user_posts'], $user_cache[$poster_id]['rank_title'], $user_cache[$poster_id]['rank_image'], $user_cache[$poster_id]['rank_image_src']);]]></find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
127 <inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
128 <inline-find>$user_cache[$poster_id]['rank_image_src']</inline-find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
129 <inline-action type="after-add"><![CDATA[, $user_cache[$poster_id]['percentage_progress']]]></inline-action>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
130 </inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
131 </edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
132 <edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
133 <find><![CDATA[get_user_additional_rank($row['user_rank'], $row['user_posts'], $user_cache[$poster_id]['extra_rank_title'], $user_cache[$poster_id]['extra_rank_image'], $user_cache[$poster_id]['extra_rank_image_src']);]]></find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
134 <inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
135 <inline-find>$user_cache[$poster_id]['extra_rank_image_src']</inline-find>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
136 <inline-action type="after-add"><![CDATA[, $user_cache[$poster_id]['percentage_progress']]]></inline-action>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
137 </inline-edit>
706b0d6c2ba1 Create v1.0.3 (no-open-ticket):
root
parents: 20
diff changeset
138 </edit>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
139 </open>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
140 </action-group>
17
bafc9d43b838 Fixes #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents: 16
diff changeset
141 </mod>