Mercurial > repos > phpBB-MODs > User_Rank_Progression_Bar
annotate subsilver2.xml @ 8:5828583803f7
* Update to v1.0 for release
* Update to latest XSL
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 01 Aug 2010 19:00:36 +0000 |
parents | 6746677bb418 |
children | dc3d3d0949c6 |
rev | line source |
---|---|
5 | 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"> |
5 | 10 <header> |
11 <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> | |
12 <title lang="en-gb">Special and Normal Rank Images - Subsilver2 style</title> | |
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. These instructions modify subsilver2-based templates.</description> | |
14 <author-notes lang="en-gb"><![CDATA[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.]]></author-notes> | |
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> | |
24 <link type="parent" href="Install.xml" lang="en-gb">Main instructions</link> | |
25 </link-group> | |
8 | 26 <mod-version>1.0</mod-version> |
5 | 27 <installation> |
28 <level>intermediate</level> | |
29 <time>180</time> | |
8 | 30 <target-version>3.0.7</target-version> |
5 | 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> | |
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:
5
diff
changeset
|
41 <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:
5
diff
changeset
|
42 <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:
5
diff
changeset
|
43 <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:
5
diff
changeset
|
44 <change>Fix path for stylesheet - should be theme and not themes</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:
5
diff
changeset
|
45 </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:
5
diff
changeset
|
46 </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:
5
diff
changeset
|
47 <entry> |
5 | 48 <date>2009-06-15</date> |
49 <rev-version>0.2</rev-version> | |
50 <changelog lang="en-gb"> | |
51 <change>Add initial instructions for subsilver2</change> | |
52 </changelog> | |
53 </entry> | |
54 </history> | |
55 </header> | |
56 <action-group> | |
57 <open src="styles/subsilver2/template/memberlist_view.html"> | |
58 <edit> | |
59 <find><![CDATA[ | |
60 <!-- IF RANK_IMG --> | |
61 <tr> | |
62 <td align="center">{RANK_IMG}</td> | |
63 </tr> | |
64 <!-- ENDIF -->]]></find> | |
65 <action type="after-add"><![CDATA[ | |
66 <!-- IF PERCENTAGE_PROGRESS_NUM > -1 --> | |
67 <tr> | |
68 <td>{L_PROGRESS_TO_NEXT_RANK}<div class="rank_progress_bar"><span style="width:{PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{PERCENTAGE_PROGRESS}</span></div></td> | |
69 </tr> | |
70 <!-- ENDIF -->]]> | |
71 </action> | |
72 </edit> | |
73 </open> | |
74 <open src="styles/subsilver2/template/viewtopic_body.html"> | |
75 <edit> | |
76 <find><![CDATA[ <!-- IF postrow.RANK_IMG --> | |
77 <tr> | |
78 <td>{postrow.RANK_IMG}</td> | |
79 </tr> | |
80 <!-- ENDIF -->]]></find> | |
81 <action type="after-add"><![CDATA[ | |
82 <!-- IF postrow.PERCENTAGE_PROGRESS_NUM > -1 --> | |
83 <tr> | |
84 <td>{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></td> | |
85 </tr> | |
86 <!-- ENDIF -->]]> | |
87 </action> | |
88 </edit> | |
89 </open> | |
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:
5
diff
changeset
|
90 <open src="styles/subsilver2/theme/stylesheet.css"> |
5 | 91 <edit> |
92 <find><![CDATA[/* Misc | |
93 ------------ */]]></find> | |
94 <action type="after-add"><![CDATA[.rank_progress_bar { | |
95 border: 1px solid #A9B8C2; | |
96 margin-right: 1em; | |
97 position: relative; | |
98 clear:right | |
99 } | |
100 .rank_progress_bar span { | |
101 z-index:2; | |
102 position:relative | |
103 } | |
104 .rank_progress_bar .bar { | |
105 background-color: #fff; | |
106 border-right: 1px solid #A9B8C2; | |
107 display:block; | |
108 height: 100%; | |
109 z-index:1; | |
110 position:absolute; | |
111 top: 0; | |
112 left: 0 | |
113 }]]></action> | |
114 </edit> | |
115 </open> | |
116 </action-group> | |
117 </mod> |