annotate install.xml @ 17:bafc9d43b838

Fixes #5: Add decimal places to progress percentage * Clean up last line (commit test) no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sat, 30 Oct 2010 10:32:18 +0000
parents 2ed5aeb5da9d
children d6ea397a5322
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/-->
8
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
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>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 <title lang="en-gb">User Rank Progression Bar</title>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 <description lang="en-gb">This MOD will show a progress bar for each user, showing how far they have progressed towards the next rank in a rank set.</description>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 <author-notes lang="en-gb"><![CDATA[This mod behaves in the same way as Smix's Rank Progress Bar mod, but has been rewritten for efficiency, additional features and compatibility with other mods. Thanks to Smix for writing the original and to youngjediknight for first pointing me to it.
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents: 3
diff changeset
16 The styling used by this mod is entirely arbitrary and was included as an example. You may wish to use different HTML and CSS for your template. If you don't want the progress bar to appear in all of the locations below (e.g. you just want it in a topic but not in PMs, profile view or members list) then just ignore the changes to the relevant template (.html) file.
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 Note: If you are also installing my "Multi-Race Rank Themes" MOD then install the other mod first and then this mod. Because the additional parameter to the get_user_rank function is optional for the Multi-Race Rank Themes mod it must be the last parameter in the list.]]></author-notes>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 <author-group>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 <author>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 <realname>IBBoard</realname>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 <email>phpbb@ibboard.co.uk</email>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 <username>IBBoard</username>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 <homepage>http://www.ibboard.co.uk</homepage>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 </author>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 </author-group>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 <link-group>
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents: 3
diff changeset
28 <link type="template" href="subsilver2.xml" lang="en-gb">subsilver2</link>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 <link type="contrib" href="contrib/SpecialAndNormalRanksIntegration.xml" lang="en-gb">Special and Normal Ranks MOD integration</link>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 </link-group>
14
ac5f890f0779 Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents: 13
diff changeset
31 <mod-version>1.0.2</mod-version>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 <installation>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 <level>intermediate</level>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 <time>600</time>
8
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
35 <target-version>3.0.7</target-version>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 </installation>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 <history>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 <entry>
14
ac5f890f0779 Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents: 13
diff changeset
39 <date>2010-10-30</date>
ac5f890f0779 Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents: 13
diff changeset
40 <rev-version>1.0.2</rev-version>
ac5f890f0779 Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents: 13
diff changeset
41 <changelog lang="en-gb">
ac5f890f0779 Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents: 13
diff changeset
42 <change>Change: Add fractions of a percent, as suggested by the phpBB team (1 decimal place)</change>
ac5f890f0779 Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents: 13
diff changeset
43 </changelog>
ac5f890f0779 Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents: 13
diff changeset
44 </entry>
ac5f890f0779 Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents: 13
diff changeset
45 <entry>
12
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
46 <date>2010-10-03</date>
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
47 <rev-version>1.0.1</rev-version>
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
48 <changelog lang="en-gb">
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
49 <change>Fix: Add default value for percentage complete in get_user_rank so that we are more compatible with other MODs</change>
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
50 <change>Fix: Change order of find in viewtopic.php to fix AutoMOD</change>
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
51 </changelog>
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
52 </entry>
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
53 <entry>
8
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
54 <date>2010-08-01</date>
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
55 <rev-version>1.0</rev-version>
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
56 <changelog lang="en-gb">
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
57 <change>Update to final release</change>
9
f03602dafdf4 * Update one find instruction to match latest phpBB
IBBoard <dev@ibboard.co.uk>
parents: 8
diff changeset
58 <change>Fix: Switch two instructions to correct ordering of code changes in viewtopic.php</change>
8
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
59 </changelog>
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
60 </entry>
5828583803f7 * Update to v1.0 for release
IBBoard <dev@ibboard.co.uk>
parents: 7
diff changeset
61 <entry>
7
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
62 <date>2010-07-06</date>
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
63 <rev-version>0.2.1</rev-version>
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
64 <changelog lang="en-gb">
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
65 <change>Fix additional SubSilver instructions</change>
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
66 </changelog>
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
67 </entry>
6746677bb418 * Update to v0.2.1 to fix path to CSS file in SubSilver instructions - won't have affected manual installs, but AutoMOD install got confused
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
68 <entry>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
69 <date>2009-06-15</date>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
70 <rev-version>0.2</rev-version>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
71 <changelog lang="en-gb">
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
72 <change>Add: Add templating for Memberlist, profiles and PMs</change>
5
85b6a2858cd5 * Add Subsilver template code
IBBoard <dev@ibboard.co.uk>
parents: 3
diff changeset
73 <change>Add: Add subsilver2 stylings</change>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
74 <change>Fix: Add missing lang value</change>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
75 <change>Fix: Add extra checks to progress calculation to handle pre-existing values and the final rank in a scheme</change>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
76 </changelog>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
77 </entry>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
78 <entry>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 <date>2009-06-03</date>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 <rev-version>0.1</rev-version>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 <changelog lang="en-gb">
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 <change>Initial release - just puts progress bar on viewtopic page</change>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 </changelog>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 </entry>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 </history>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 </header>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 <action-group>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 <open src="includes/functions_display.php">
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 <find><![CDATA[* @param string &$rank_img_src the rank image source is stored here after execution]]></find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 <action type="after-add"><![CDATA[* @param int &$percent_complete the percentage of the way a user is to the next rank, where -1 means "not applicable"]]></action>
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>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 <find><![CDATA[function get_user_rank($user_rank, $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
95 <inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 <inline-find>, &amp;$rank_img_src</inline-find>
12
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
97 <inline-action type="after-add">, &amp;$percent_complete = 0</inline-action>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 </inline-edit>
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 <edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 <find><![CDATA[ if (!empty($user_rank))]]></find>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
102 <action type="before-add"><![CDATA[ if (!is_int($percent_complete) || $percent_complete < 0 || $percent_complete > 100)
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 {
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 $percent_complete = -1;
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 }]]></action>
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 <edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108 <find><![CDATA[ else if ($user_posts !== false)
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 {]]></find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 <action type="after-add"><![CDATA[ $next_rank_post_count = -1;]]></action>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 </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 <find><![CDATA[ if ($user_posts >= $rank['rank_min'])]]></find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 <action type="before-add"><![CDATA[ if ($user_posts < $rank['rank_min'])
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
115 {
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
116 $next_rank_post_count = $rank['rank_min'];
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
117 }
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
118 else
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
119 ]]>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120 </action>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
121 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122 <edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
123 <find><![CDATA[ $rank_title = $rank['rank_title'];]]></find>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
124 <action type="before-add"><![CDATA[ if ($percent_complete == -1 && $next_rank_post_count > -1)
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125 {
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
126 $rank_difference = $next_rank_post_count - $rank['rank_min'];
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
127 $user_progress = $user_posts - $rank['rank_min'];
14
ac5f890f0779 Re #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents: 13
diff changeset
128 $percent_complete = round(($user_progress / $rank_difference) * 100, 1);
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
129 }
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
130 ]]>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
131 </action>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
132 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
133 </open>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
134 <open src="includes/ucp/ucp_pm_viewmessage.php">
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
135 <edit>
2
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
136 <find><![CDATA[ 'RANK_IMG' => $user_info['rank_image'],]]></find>
3
a1cc13cb988d Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 2
diff changeset
137 <action type="after-add"><![CDATA[
a1cc13cb988d Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 2
diff changeset
138 'PERCENTAGE_PROGRESS_NUM' => $user_info['percentage_progress'],
a1cc13cb988d Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 2
diff changeset
139 'PERCENTAGE_PROGRESS' => sprintf($user->lang['PERCENTAGE_PROGRESS'], $user_info['percentage_progress']),]]></action>
2
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
140 </edit>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
141 <edit>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
142 <find><![CDATA[get_user_rank($user_row['user_rank'], $user_row['user_posts'], $user_row['rank_title'], $user_row['rank_image'], $user_row['rank_image_src']);]]></find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
143 <inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
144 <inline-find>, $user_row['rank_image_src']</inline-find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
145 <inline-action type="after-add">, $user_row['percentage_progress']</inline-action>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
146 </inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
147 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
148 </open>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
149 <open src="language/en/common.php">
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
150 <edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
151 <find><![CDATA[?>]]></find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
152 <action type="before-add"><![CDATA[$lang = array_merge($lang, array(
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
153 'PERCENTAGE_PROGRESS' => '%s%%',
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
154 'PROGRESS_TO_NEXT_RANK' => 'Progress to next rank:'
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
155 ));
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
156 ]]></action>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
157 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
158 </open>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
159 <open src="memberlist.php">
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
160 <edit>
9
f03602dafdf4 * Update one find instruction to match latest phpBB
IBBoard <dev@ibboard.co.uk>
parents: 8
diff changeset
161 <find><![CDATA[ get_user_rank($row['user_rank'], (($row['user_id'] == ANONYMOUS) ? false : $row['user_posts']), $rank_title, $rank_img, $rank_img_src);]]></find>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
162 <inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
163 <inline-find>$rank_img_src</inline-find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
164 <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
165 </inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
166 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
167 <edit>
9
f03602dafdf4 * Update one find instruction to match latest phpBB
IBBoard <dev@ibboard.co.uk>
parents: 8
diff changeset
168 <find><![CDATA[ get_user_rank($data['user_rank'], (($user_id == ANONYMOUS) ? false : $data['user_posts']), $rank_title, $rank_img, $rank_img_src);]]></find>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
169 <inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
170 <inline-find>$rank_img_src</inline-find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
171 <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
172 </inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
173 </edit>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
174 <edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
175 <find><![CDATA[ 'RANK_IMG_SRC' => $rank_img_src,]]></find>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
176 <action type="after-add"><![CDATA[ 'PERCENTAGE_PROGRESS_NUM' => $percentage_progress,
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
177 'PERCENTAGE_PROGRESS' => sprintf($user->lang['PERCENTAGE_PROGRESS'], $percentage_progress),]]></action>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
178 </edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
179 </open>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
180 <open src="styles/prosilver/template/memberlist_body.html">
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
181 <edit>
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
182 <find><![CDATA[<!-- IF memberrow.RANK_IMG --><span class="rank-img">{memberrow.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{memberrow.RANK_TITLE}</span><!-- ENDIF -->]]></find>
6
ba0b22afa613 * Fix error in XML
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
183 <inline-edit>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
184 <inline-find><![CDATA[<!-- ENDIF -->]]></inline-find>
6
ba0b22afa613 * Fix error in XML
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
185 <inline-action type="after-add"><![CDATA[<!-- IF memberrow.PERCENTAGE_PROGRESS_NUM > -1 --><div class="rank_progress_bar" title="{L_PROGRESS_TO_NEXT_RANK}"><span style="width:{memberrow.PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{memberrow.PERCENTAGE_PROGRESS}</span></div><!-- ENDIF -->]]></inline-action>
ba0b22afa613 * Fix error in XML
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
186 </inline-edit>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
187 </edit>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
188 </open>
2
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
189 <open src="styles/prosilver/template/memberlist_view.html">
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
190 <edit>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
191 <find><![CDATA[<!-- IF RANK_IMG --><dd style="text-align: center;">{RANK_IMG}</dd><!-- ENDIF -->]]></find>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
192 <action type="after-add"><![CDATA[<!-- IF PERCENTAGE_PROGRESS_NUM > -1 --><dd>{L_PROGRESS_TO_NEXT_RANK}<div class="rank_progress_bar"><span style="width:{PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{PERCENTAGE_PROGRESS}</span></div></dd><!-- ENDIF -->]]></action>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
193 </edit>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
194 <edit>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
195 <find><![CDATA[<!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE -->&nbsp;<!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt> <dd>{RANK_IMG}</dd><!-- ENDIF -->]]></find>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
196 <action type="after-add"><![CDATA[<!-- IF PERCENTAGE_PROGRESS_NUM > -1 --><dt>{L_PROGRESS_TO_NEXT_RANK}</dt><dd><div class="rank_progress_bar"><span style="width:{PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{PERCENTAGE_PROGRESS}</span></div></dd><!-- ENDIF -->]]></action>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
197 </edit>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
198 </open>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
199 <open src="styles/prosilver/template/ucp_pm_viewmessage.html">
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
200 <edit>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
201 <find><![CDATA[ <!-- IF RANK_IMG --><dd>{RANK_IMG}</dd><!-- ENDIF -->]]></find>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
202 <action type="after-add"><![CDATA[ <!-- IF PERCENTAGE_PROGRESS_NUM > -1 --><dd>{L_PROGRESS_TO_NEXT_RANK}<div class="rank_progress_bar"><span style="width:{PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{PERCENTAGE_PROGRESS}</span></div></dd><!-- ENDIF -->]]></action>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
203 </edit>
6c9b720fa73a Initial work on v0.2.0:
IBBoard <dev@ibboard.co.uk>
parents: 1
diff changeset
204 </open>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
205 <open src="styles/prosilver/template/viewtopic_body.html">
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
206 <edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
207 <find><![CDATA[ <!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->]]></find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
208 <action type="after-add"><![CDATA[ <!-- IF postrow.PERCENTAGE_PROGRESS_NUM > -1 --><dd>{L_PROGRESS_TO_NEXT_RANK}<div class="rank_progress_bar"><span style="width:{postrow.PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{postrow.PERCENTAGE_PROGRESS}</span></div></dd><!-- ENDIF -->]]>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
209 </action>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
210 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
211 </open>
11
d36b974f4f93 * Fix path of CSS file
IBBoard <dev@ibboard.co.uk>
parents: 10
diff changeset
212 <open src="styles/prosilver/theme/common.css">
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
213 <edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
214 <find><![CDATA[.clear {]]></find>
1
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
215 <action type="before-add"><![CDATA[.rank_progress_bar {
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
216 border: 1px solid #b4bac0;
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
217 margin-right: 1em;
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
218 position: relative;
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
219 clear:right
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
220 }
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
221 .rank_progress_bar span {
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
222 z-index:2;
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
223 position:relative
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
224 }
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
225 .rank_progress_bar .bar {
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
226 background-color: #fff;
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
227 border-right: 1px solid #b4bac0;
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
228 display:block;
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
229 height: 100%;
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
230 z-index:1;
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
231 position:absolute;
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
232 top: 0;
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
233 left: 0
d2b86ef4f74b Initial work on v0.0.2:
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
234 }]]></action>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
235 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
236 </open>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
237 <open src="viewtopic.php">
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
238 <edit>
12
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
239 <find><![CDATA[ if ($poster_id == ANONYMOUS)
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
240 {
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
241 $user_cache[$poster_id] = array(]]></find>
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
242 <action type="after-add"><![CDATA[
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
243 'percentage_progress' => -1,]]></action>
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
244 </edit>
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
245 <edit>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
246 <find><![CDATA[get_user_rank($row['user_rank'], false, $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
247 <inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
248 <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
249 <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
250 </inline-edit>
9
f03602dafdf4 * Update one find instruction to match latest phpBB
IBBoard <dev@ibboard.co.uk>
parents: 8
diff changeset
251 </edit>
f03602dafdf4 * Update one find instruction to match latest phpBB
IBBoard <dev@ibboard.co.uk>
parents: 8
diff changeset
252 <edit>
12
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
253 <find><![CDATA[ $id_cache[] = $poster_id;
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
254
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
255 $user_cache[$poster_id] = array(]]></find>
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
256 <action type="after-add"><![CDATA[
9
f03602dafdf4 * Update one find instruction to match latest phpBB
IBBoard <dev@ibboard.co.uk>
parents: 8
diff changeset
257 'percentage_progress' => -1,]]></action>
12
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
258 </edit>
0015bde97600 Fixes #4: Fix User Rank Progression submission issues
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
259 <edit>
0
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
260 <find><![CDATA[get_user_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
261 <inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
262 <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
263 <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
264 </inline-edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
265 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
266 <edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
267 <find><![CDATA[ 'RANK_IMG_SRC' => $user_cache[$poster_id]['rank_image_src'],]]></find>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
268 <action type="after-add"><![CDATA[
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
269 'PERCENTAGE_PROGRESS_NUM' => $user_cache[$poster_id]['percentage_progress'],
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
270 'PERCENTAGE_PROGRESS' => sprintf($user->lang['PERCENTAGE_PROGRESS'], $user_cache[$poster_id]['percentage_progress']),]]></action>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
271 </edit>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
272 </open>
609491027bb4 Initial commit of v0.1 code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
273 </action-group>
15
2ed5aeb5da9d Fixes #5: Add decimal places to progress percentage
IBBoard <dev@ibboard.co.uk>
parents: 14
diff changeset
274 </mod>