Mercurial > repos > phpBB-MODs > Special_And_Normal_Rank_Images
annotate contrib/MultiRaceRankThemesIntegration.xml @ 15:fe74124d7205 default tip
Finally commit fix released back in 2012!
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 24 Jul 2015 19:51:56 +0100 |
parents | 1b7db8283b8d |
children |
rev | line source |
---|---|
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="utf-8" standalone="yes"?> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 <?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 <!--For security purposes, please check: http://www.phpbb.com/mods/ for the |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 latest version of this MOD. Although MODs are checked before being |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 allowed in the MODs Database there is no guarantee that there are no |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 security problems within the MOD. No support will be given for MODs not |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 found within the MODs Database which can be found at |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
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"> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 <header> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 <title lang="en-gb">Special and Normal Rank Images - Multi-Race Rank Theme changes</title> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 <description lang="en-gb">This MOD will allow users with special ranks (e.g. Administrators) to have a normal rank theme in addition to their special rank image in topics.</description> |
2 | 15 <author-notes lang="en-gb"><![CDATA[These changes are dependant on both the "Special and Normal Rank Images" MOD and v1.2.x of the "Multi-Race Rank Themes" MOD. The following instructions should be performed after installing both MODs. The changes make the Special and Normal Rank Images MOD more compatible with the Multi-Race Rank Theme MOD so that even members with special ranks can select a rank theme. |
16 | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 Note: These extra instructions do not allow users with special ranks to change the theme of their special rank, just the theme of their normal rank. A MOD may follow that allows this functionality, but the Multi-Race Rank Theme MOD and the Special and Normal Rank Images MOD are designed to extend the method used by phpBB, not replace and majorly change it.]]></author-notes> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 <author-group> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 <author> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 <realname>IBBoard</realname> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 <email>phpbb@ibboard.co.uk</email> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 <username>IBBoard</username> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 <homepage>http://www.ibboard.co.uk</homepage> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 </author> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 </author-group> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
26 <link-group> |
8 | 27 <link type="parent" href="../install.xml" lang="en-gb">Main instructions</link> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 </link-group> |
8 | 29 <mod-version>1.2.0</mod-version> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 <installation> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 <level>intermediate</level> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 <time>300</time> |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
33 <target-version>3.0.9</target-version> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 </installation> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 <history> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 <entry> |
8 | 37 <date>2010-08-01</date> |
38 <rev-version>1.2.0</rev-version> | |
39 <changelog lang="en-gb"> | |
40 <change>Update version number and other minor fixes for release</change> | |
41 </changelog> | |
42 </entry> | |
43 <entry> | |
2 | 44 <date>2009-06-15</date> |
45 <rev-version>1.1.0</rev-version> | |
46 <changelog lang="en-gb"> | |
47 <change>Update: Change instructions to match the alterations in v1.1.0 of the main MOD</change> | |
48 <change>Update: Try to make sure all instructions add the parameter at the end, even if other MODs are applied before or after</change> | |
49 </changelog> | |
50 </entry> | |
51 <entry> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 <date>2008-11-09</date> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 <rev-version>0.1.3b</rev-version> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
54 <changelog lang="en-gb"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
55 <change>No code updates - change to MODX 1.2.1 format</change> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
56 </changelog> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
57 </entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
58 <entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
59 <date>2008-05-10</date> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
60 <rev-version>0.1.2b</rev-version> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
61 <changelog lang="en-gb"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
62 <change>Update: Change instructions to match the alterations in 0.1b4 of the main "Special and Normal Rank Images" mod.</change> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
63 </changelog> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
64 </entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
65 <entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
66 <date>2008-04-13</date> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
67 <rev-version>0.1.1a</rev-version> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
68 <changelog lang="en-gb"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
69 <change>Initial release</change> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
70 </changelog> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
71 </entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
72 </history> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
73 </header> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
74 <action-group> |
2 | 75 <open src="includes/functions_display.php"> |
76 <edit> | |
77 <find><![CDATA[* @param string &$rank_img_src the additional rank image source is stored here after execution, if the user has an additional rank]]></find> | |
78 <action type="after-add"><![CDATA[ | |
79 * @param int $rank_theme the rank theme set to load the extra rank from (defaulting to DEFAULT_RANK_THEME_ID)]]></action> | |
80 </edit> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
81 <edit> |
2 | 82 <find><![CDATA[function get_user_additional_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src)]]></find> |
83 <inline-edit> | |
84 <inline-find>)</inline-find> | |
85 <inline-action type="before-add">, $rank_theme = DEFAULT_RANK_THEME_ID</inline-action> | |
86 </inline-edit> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
87 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
88 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
89 <find><![CDATA[ get_user_rank(0, $user_posts, $rank_title, $rank_img, $rank_img_src);]]></find> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
90 <inline-edit> |
2 | 91 <inline-find>);</inline-find> |
92 <inline-action type="before-add">, $rank_theme</inline-action> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
93 </inline-edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
94 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
95 </open> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
96 <open src="includes/ucp/ucp_profile.php"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
97 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
98 <!-- Do a partial find and replace to make it forward compatible with planned changes to Multi-Race Rank Theme MOD --> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
99 <find><![CDATA[ if ($user->data['user_rank'] == 0]]></find> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
100 <inline-edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
101 <inline-find>$user->data['user_rank'] == 0</inline-find> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
102 <inline-action type="replace-with">true</inline-action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
103 </inline-edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
104 </edit> |
2 | 105 </open> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
106 <open src="memberlist.php"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
107 <edit> |
2 | 108 <find><![CDATA[ //Reset our ranks, since show_profile() gets the values for the profile page |
109 get_user_rank($user_rank, (($user_id == ANONYMOUS) ? false : $row['user_posts']), $memberrow['RANK_TITLE'], $memberrow['RANK_IMG'], $memberrow['RANK_IMG_SRC']);]]></find> | |
110 <inline-edit> | |
111 <inline-find>);</inline-find> | |
112 <inline-action type="before-add">, $row['user_rank_theme']</inline-action> | |
113 </inline-edit> | |
114 </edit> | |
115 <edit> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
116 <find><![CDATA[ get_user_additional_rank($data['user_rank'], $data['user_posts'], $rank_title, $rank_img, $rank_img_src);]]></find> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
117 <inline-edit> |
2 | 118 <inline-find>);</inline-find> |
119 <inline-action type="before-add">, $data['user_rank_theme']</inline-action> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
120 </inline-edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
121 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
122 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
123 <find><![CDATA[ get_user_additional_rank($data['user_rank'], $data['user_posts'], $extra_rank_title, $extra_rank_img, $extra_rank_img_src);]]></find> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
124 <inline-edit> |
2 | 125 <inline-find>);</inline-find> |
126 <inline-action type="before-add">, $data['user_rank_theme']</inline-action> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
127 </inline-edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
128 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
129 </open> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
130 <open src="viewtopic.php"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
131 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
132 <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> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
133 <inline-edit> |
2 | 134 <inline-find>);</inline-find> |
135 <inline-action type="before-add">, $row['user_rank_theme']</inline-action> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
136 </inline-edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
137 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
138 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
139 <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> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
140 <inline-edit> |
2 | 141 <inline-find>);</inline-find> |
142 <inline-action type="before-add">, $row['user_rank_theme']</inline-action> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
143 </inline-edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
144 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
145 </open> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
146 </action-group> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
147 </mod> |