annotate contrib/SpecialAndNormalRanksIntegration.xml @ 1:d2b86ef4f74b

Initial work on v0.0.2: * Update Contrib instructions to use inline-finds * Add additional checks to percentage calculation * Add missing lang * Add instructions for template changes in memberlist no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Mon, 15 Jun 2009 13:38:04 +0000
parents 609491027bb4
children a11f14a0b16e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8" standalone="yes"?>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 <?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 <!--For security purposes, please check: http://www.phpbb.com/mods/ for the
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 latest version of this MOD. Although MODs are checked before being
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 allowed in the MODs Database there is no guarantee that there are no
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 security problems within the MOD. No support will be given for MODs not
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 found within the MODs Database which can be found at
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 http://www.phpbb.com/mods/-->
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.1.xsd">
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 <header>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 <title lang="en-gb">User Rank Progression Bar - Special and Normal Rank MOD Integration</title>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
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
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 <author-group>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 <author>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 <realname>IBBoard</realname>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 <email>phpbb@ibboard.co.uk</email>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 <username>IBBoard</username>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 <homepage>http://www.ibboard.co.uk</homepage>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 </author>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 </author-group>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 <link-group>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 <link type="parent" href="../Install.xml" lang="en-gb">Main install instructions</link>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 </link-group>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
26 <mod-version>0.2</mod-version>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 <installation>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 <level>intermediate</level>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 <time>180</time>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 <target-version>3.0.5</target-version>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 </installation>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 <history>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 <entry>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 <date>2009-06-03</date>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
35 <rev-version>0.2</rev-version>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
36 <changelog lang="en-gb">
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
37 <change>Update: Replace large "find and replace" with small modifications in functions_display.php</change>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
38 <change>Add: Add extra instructions to bring it up to date with v1.1.0 of the Special and Normal Rank Images MOD</change>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
39 </changelog>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
40 </entry>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
41 <entry>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
42 <date>2009-06-03</date>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 <rev-version>0.1</rev-version>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 <changelog lang="en-gb">
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 <change>Initial release</change>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 </changelog>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 </entry>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 </history>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 </header>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 <action-group>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 <open src="includes/functions_display.php">
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
52 <edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
53 <find><![CDATA[* @param string &$rank_img_src the rank image source is stored here after execution]]></find>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
54 <action type="after-add"></action>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
55 </edit>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 <edit>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
57 <find><![CDATA[function get_user_additional_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src)]]></find>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
58 <inline-edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
59 <inline-find>$rank_img_src</inline-find>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
60 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
61 </inline-edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
62 </edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
63 <edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
64 <find><![CDATA[ get_user_rank(0, $user_posts, $rank_title, $rank_img, $rank_img_src);]]></find>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
65 <inline-edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
66 <inline-find>$rank_img_src</inline-find>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
67 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
68 </inline-edit>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 </open>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 <open src="memberlist.php">
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 <edit>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
73 <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>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
74 <inline-edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
75 <inline-find>$memberrow['RANK_IMG_SRC']</inline-find>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
76 <inline-action type="after-add"><![CDATA[, $memberrow['PERCENTAGE_PROGRESS_NUM']]]></inline-action>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
77 </inline-edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
78 </edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
79 <edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
80 <find><![CDATA[ if (isset($cp_row['row']) && sizeof($cp_row['row']))]]></find>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
81 <action type="before-add"><![CDATA[]]></action>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
82 </edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
83 <edit>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 <find><![CDATA[ get_user_additional_rank($data['user_rank'], $data['user_posts'], $rank_title, $rank_img, $rank_img_src);]]></find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 <inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 <inline-find>$rank_img_src</inline-find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 </inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 <edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 <find><![CDATA[get_user_additional_rank($data['user_rank'], $data['user_posts'], $extra_rank_title, $extra_rank_img, $extra_rank_img_src);]]></find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 <inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 <inline-find>$extra_rank_img_src</inline-find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 <inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 </inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 </open>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 <open src="viewtopic.php">
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 <edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 <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>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 <inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 <inline-find>$user_cache[$poster_id]['rank_image_src']</inline-find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 <inline-action type="after-add"><![CDATA[, $user_cache[$poster_id]['percentage_progress']]]></inline-action>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 </inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 <edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 <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>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108 <inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 <inline-find>$user_cache[$poster_id]['extra_rank_image_src']</inline-find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 <inline-action type="after-add"><![CDATA[, $user_cache[$poster_id]['percentage_progress']]]></inline-action>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 </inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 </open>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 </action-group>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
115 </mod>