Mercurial > repos > phpBB-MODs > User_Rank_Progression_Bar
annotate subsilver2.xml @ 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
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 10 Jul 2010 13:39:12 +0000 |
parents | 85b6a2858cd5 |
children | 5828583803f7 |
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/--> | |
9 <mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.1.xsd"> | |
10 | |
11 <header> | |
12 <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> | |
13 <title lang="en-gb">Special and Normal Rank Images - Subsilver2 style</title> | |
14 <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> | |
15 <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> | |
16 <author-group> | |
17 <author> | |
18 <realname>IBBoard</realname> | |
19 <email>phpbb@ibboard.co.uk</email> | |
20 <username>IBBoard</username> | |
21 <homepage>http://www.ibboard.co.uk</homepage> | |
22 </author> | |
23 </author-group> | |
24 <link-group> | |
25 <link type="parent" href="Install.xml" lang="en-gb">Main instructions</link> | |
26 </link-group> | |
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
|
27 <mod-version>0.2.1</mod-version> |
5 | 28 <installation> |
29 <level>intermediate</level> | |
30 <time>180</time> | |
31 <target-version>3.0.5</target-version> | |
32 </installation> | |
33 <history> | |
34 <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
|
35 <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
|
36 <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
|
37 <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
|
38 <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
|
39 </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
|
40 </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
|
41 <entry> |
5 | 42 <date>2009-06-15</date> |
43 <rev-version>0.2</rev-version> | |
44 <changelog lang="en-gb"> | |
45 <change>Add initial instructions for subsilver2</change> | |
46 </changelog> | |
47 </entry> | |
48 </history> | |
49 </header> | |
50 <action-group> | |
51 <open src="styles/subsilver2/template/memberlist_view.html"> | |
52 <edit> | |
53 <find><![CDATA[ | |
54 <!-- IF RANK_IMG --> | |
55 <tr> | |
56 <td align="center">{RANK_IMG}</td> | |
57 </tr> | |
58 <!-- ENDIF -->]]></find> | |
59 <action type="after-add"><![CDATA[ | |
60 <!-- IF PERCENTAGE_PROGRESS_NUM > -1 --> | |
61 <tr> | |
62 <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> | |
63 </tr> | |
64 <!-- ENDIF -->]]> | |
65 </action> | |
66 </edit> | |
67 </open> | |
68 <open src="styles/subsilver2/template/viewtopic_body.html"> | |
69 <edit> | |
70 <find><![CDATA[ <!-- IF postrow.RANK_IMG --> | |
71 <tr> | |
72 <td>{postrow.RANK_IMG}</td> | |
73 </tr> | |
74 <!-- ENDIF -->]]></find> | |
75 <action type="after-add"><![CDATA[ | |
76 <!-- IF postrow.PERCENTAGE_PROGRESS_NUM > -1 --> | |
77 <tr> | |
78 <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> | |
79 </tr> | |
80 <!-- ENDIF -->]]> | |
81 </action> | |
82 </edit> | |
83 </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
|
84 <open src="styles/subsilver2/theme/stylesheet.css"> |
5 | 85 <edit> |
86 <find><![CDATA[/* Misc | |
87 ------------ */]]></find> | |
88 <action type="after-add"><![CDATA[.rank_progress_bar { | |
89 border: 1px solid #A9B8C2; | |
90 margin-right: 1em; | |
91 position: relative; | |
92 clear:right | |
93 } | |
94 .rank_progress_bar span { | |
95 z-index:2; | |
96 position:relative | |
97 } | |
98 .rank_progress_bar .bar { | |
99 background-color: #fff; | |
100 border-right: 1px solid #A9B8C2; | |
101 display:block; | |
102 height: 100%; | |
103 z-index:1; | |
104 position:absolute; | |
105 top: 0; | |
106 left: 0 | |
107 }]]></action> | |
108 </edit> | |
109 </open> | |
110 </action-group> | |
111 </mod> |