Mercurial > repos > phpBB-MODs > User_Rank_Progression_Bar
annotate contrib/SpecialAndNormalRanksIntegration.xml @ 20:d6ea397a5322 1.0.2
* Update compatibility to v3.0.8 (latest release) before submission
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 04 Dec 2010 11:46:44 +0000 |
parents | bafc9d43b838 |
children | 706b0d6c2ba1 |
rev | line source |
---|---|
0 | 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/--> | |
8 | 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> | |
12 <title lang="en-gb">User Rank Progression Bar - Special and Normal Rank MOD Integration</title> | |
12
0015bde97600
Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents:
10
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 | 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 </author-group> | |
22 <link-group> | |
10
dc3d3d0949c6
* Change name to "install.xml" since the validation is now case-sensitive
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
23 <link type="parent" href="../install.xml" lang="en-gb">Main install instructions</link> |
0 | 24 </link-group> |
8 | 25 <mod-version>1.0</mod-version> |
0 | 26 <installation> |
27 <level>intermediate</level> | |
28 <time>180</time> | |
20
d6ea397a5322
* Update compatibility to v3.0.8 (latest release) before submission
IBBoard <dev@ibboard.co.uk>
parents:
17
diff
changeset
|
29 <target-version>3.0.8</target-version> |
0 | 30 </installation> |
31 <history> | |
32 <entry> | |
8 | 33 <date>2010-08-01</date> |
34 <rev-version>1.0</rev-version> | |
35 <changelog lang="en-gb"> | |
36 <change>Update to final release</change> | |
37 </changelog> | |
38 </entry> | |
39 <entry> | |
5 | 40 <date>2009-06-15</date> |
1 | 41 <rev-version>0.2</rev-version> |
42 <changelog lang="en-gb"> | |
43 <change>Update: Replace large "find and replace" with small modifications in functions_display.php</change> | |
44 <change>Add: Add extra instructions to bring it up to date with v1.1.0 of the Special and Normal Rank Images MOD</change> | |
45 </changelog> | |
46 </entry> | |
47 <entry> | |
48 <date>2009-06-03</date> | |
0 | 49 <rev-version>0.1</rev-version> |
50 <changelog lang="en-gb"> | |
51 <change>Initial release</change> | |
52 </changelog> | |
53 </entry> | |
54 </history> | |
55 </header> | |
56 <action-group> | |
57 <open src="includes/functions_display.php"> | |
1 | 58 <edit> |
59 <find><![CDATA[* @param string &$rank_img_src the rank image source is stored here after execution]]></find> | |
60 <action type="after-add"></action> | |
61 </edit> | |
0 | 62 <edit> |
1 | 63 <find><![CDATA[function get_user_additional_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src)]]></find> |
64 <inline-edit> | |
65 <inline-find>$rank_img_src</inline-find> | |
66 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action> | |
67 </inline-edit> | |
68 </edit> | |
69 <edit> | |
70 <find><![CDATA[ get_user_rank(0, $user_posts, $rank_title, $rank_img, $rank_img_src);]]></find> | |
71 <inline-edit> | |
72 <inline-find>$rank_img_src</inline-find> | |
73 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action> | |
74 </inline-edit> | |
0 | 75 </edit> |
76 </open> | |
4
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
77 <open src="includes/ucp/ucp_pm_viewmessage.php"> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
78 <edit> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
79 <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> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
80 <inline-edit> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
81 <inline-find>$user_row['rank_image_src']</inline-find> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
82 <inline-action type="after-add"><![CDATA[, $user_row['percentage_progress']]]></inline-action> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
83 </inline-edit> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
84 </edit> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
85 <edit> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
86 <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> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
87 <inline-edit> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
88 <inline-find>$user_row['extra_rank_img_src']</inline-find> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
89 <inline-action type="after-add"><![CDATA[, $user_row['percentage_progress']]]></inline-action> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
90 </inline-edit> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
91 </edit> |
a11f14a0b16e
* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs
IBBoard <dev@ibboard.co.uk>
parents:
1
diff
changeset
|
92 </open> |
0 | 93 <open src="memberlist.php"> |
94 <edit> | |
1 | 95 <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> |
96 <inline-edit> | |
97 <inline-find>$memberrow['RANK_IMG_SRC']</inline-find> | |
98 <inline-action type="after-add"><![CDATA[, $memberrow['PERCENTAGE_PROGRESS_NUM']]]></inline-action> | |
99 </inline-edit> | |
100 </edit> | |
101 <edit> | |
102 <find><![CDATA[ if (isset($cp_row['row']) && sizeof($cp_row['row']))]]></find> | |
103 <action type="before-add"><![CDATA[]]></action> | |
104 </edit> | |
105 <edit> | |
0 | 106 <find><![CDATA[ get_user_additional_rank($data['user_rank'], $data['user_posts'], $rank_title, $rank_img, $rank_img_src);]]></find> |
107 <inline-edit> | |
108 <inline-find>$rank_img_src</inline-find> | |
109 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action> | |
110 </inline-edit> | |
111 </edit> | |
112 <edit> | |
113 <find><![CDATA[get_user_additional_rank($data['user_rank'], $data['user_posts'], $extra_rank_title, $extra_rank_img, $extra_rank_img_src);]]></find> | |
114 <inline-edit> | |
115 <inline-find>$extra_rank_img_src</inline-find> | |
116 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action> | |
117 </inline-edit> | |
118 </edit> | |
119 </open> | |
120 <open src="viewtopic.php"> | |
121 <edit> | |
122 <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> | |
123 <inline-edit> | |
124 <inline-find>$user_cache[$poster_id]['rank_image_src']</inline-find> | |
125 <inline-action type="after-add"><![CDATA[, $user_cache[$poster_id]['percentage_progress']]]></inline-action> | |
126 </inline-edit> | |
127 </edit> | |
128 <edit> | |
129 <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> | |
130 <inline-edit> | |
131 <inline-find>$user_cache[$poster_id]['extra_rank_image_src']</inline-find> | |
132 <inline-action type="after-add"><![CDATA[, $user_cache[$poster_id]['percentage_progress']]]></inline-action> | |
133 </inline-edit> | |
134 </edit> | |
135 </open> | |
136 </action-group> | |
17
bafc9d43b838
Fixes #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents:
16
diff
changeset
|
137 </mod> |