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