Mercurial > repos > phpBB-MODs > User_Rank_Progression_Bar
annotate contrib/SpecialAndNormalRanksIntegration.xml @ 10:dc3d3d0949c6
* Change name to "install.xml" since the validation is now case-sensitive
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 01 Aug 2010 19:36:25 +0000 |
parents | 5828583803f7 |
children | 0015bde97600 |
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 |
11 <header> | |
12 <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> | |
13 <title lang="en-gb">User Rank Progression Bar - Special and Normal Rank MOD Integration</title> | |
1 | 14 <description lang="en-gb">These additional instructions provide integration with the Special and Normal Rank Images MOD (v1.1.0, which will become v1.2.0) so that users with both a special and normal rank can see their progress towards the next rank.</description> |
0 | 15 <author-group> |
16 <author> | |
17 <realname>IBBoard</realname> | |
18 <email>phpbb@ibboard.co.uk</email> | |
19 <username>IBBoard</username> | |
20 <homepage>http://www.ibboard.co.uk</homepage> | |
21 </author> | |
22 </author-group> | |
23 <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
|
24 <link type="parent" href="../install.xml" lang="en-gb">Main install instructions</link> |
0 | 25 </link-group> |
8 | 26 <mod-version>1.0</mod-version> |
0 | 27 <installation> |
28 <level>intermediate</level> | |
29 <time>180</time> | |
8 | 30 <target-version>3.0.7</target-version> |
0 | 31 </installation> |
32 <history> | |
33 <entry> | |
8 | 34 <date>2010-08-01</date> |
35 <rev-version>1.0</rev-version> | |
36 <changelog lang="en-gb"> | |
37 <change>Update to final release</change> | |
38 </changelog> | |
39 </entry> | |
40 <entry> | |
5 | 41 <date>2009-06-15</date> |
1 | 42 <rev-version>0.2</rev-version> |
43 <changelog lang="en-gb"> | |
44 <change>Update: Replace large "find and replace" with small modifications in functions_display.php</change> | |
45 <change>Add: Add extra instructions to bring it up to date with v1.1.0 of the Special and Normal Rank Images MOD</change> | |
46 </changelog> | |
47 </entry> | |
48 <entry> | |
49 <date>2009-06-03</date> | |
0 | 50 <rev-version>0.1</rev-version> |
51 <changelog lang="en-gb"> | |
52 <change>Initial release</change> | |
53 </changelog> | |
54 </entry> | |
55 </history> | |
56 </header> | |
57 <action-group> | |
58 <open src="includes/functions_display.php"> | |
1 | 59 <edit> |
60 <find><![CDATA[* @param string &$rank_img_src the rank image source is stored here after execution]]></find> | |
61 <action type="after-add"></action> | |
62 </edit> | |
0 | 63 <edit> |
1 | 64 <find><![CDATA[function get_user_additional_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src)]]></find> |
65 <inline-edit> | |
66 <inline-find>$rank_img_src</inline-find> | |
67 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action> | |
68 </inline-edit> | |
69 </edit> | |
70 <edit> | |
71 <find><![CDATA[ get_user_rank(0, $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]]></inline-action> | |
75 </inline-edit> | |
0 | 76 </edit> |
77 </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
|
78 <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
|
79 <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
|
80 <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
|
81 <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
|
82 <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
|
83 <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
|
84 </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
|
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 <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
|
87 <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
|
88 <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
|
89 <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
|
90 <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
|
91 </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
|
92 </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
|
93 </open> |
0 | 94 <open src="memberlist.php"> |
95 <edit> | |
1 | 96 <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> |
97 <inline-edit> | |
98 <inline-find>$memberrow['RANK_IMG_SRC']</inline-find> | |
99 <inline-action type="after-add"><![CDATA[, $memberrow['PERCENTAGE_PROGRESS_NUM']]]></inline-action> | |
100 </inline-edit> | |
101 </edit> | |
102 <edit> | |
103 <find><![CDATA[ if (isset($cp_row['row']) && sizeof($cp_row['row']))]]></find> | |
104 <action type="before-add"><![CDATA[]]></action> | |
105 </edit> | |
106 <edit> | |
0 | 107 <find><![CDATA[ get_user_additional_rank($data['user_rank'], $data['user_posts'], $rank_title, $rank_img, $rank_img_src);]]></find> |
108 <inline-edit> | |
109 <inline-find>$rank_img_src</inline-find> | |
110 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action> | |
111 </inline-edit> | |
112 </edit> | |
113 <edit> | |
114 <find><![CDATA[get_user_additional_rank($data['user_rank'], $data['user_posts'], $extra_rank_title, $extra_rank_img, $extra_rank_img_src);]]></find> | |
115 <inline-edit> | |
116 <inline-find>$extra_rank_img_src</inline-find> | |
117 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action> | |
118 </inline-edit> | |
119 </edit> | |
120 </open> | |
121 <open src="viewtopic.php"> | |
122 <edit> | |
123 <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> | |
124 <inline-edit> | |
125 <inline-find>$user_cache[$poster_id]['rank_image_src']</inline-find> | |
126 <inline-action type="after-add"><![CDATA[, $user_cache[$poster_id]['percentage_progress']]]></inline-action> | |
127 </inline-edit> | |
128 </edit> | |
129 <edit> | |
130 <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> | |
131 <inline-edit> | |
132 <inline-find>$user_cache[$poster_id]['extra_rank_image_src']</inline-find> | |
133 <inline-action type="after-add"><![CDATA[, $user_cache[$poster_id]['percentage_progress']]]></inline-action> | |
134 </inline-edit> | |
135 </edit> | |
136 </open> | |
137 </action-group> | |
138 </mod> |