Mercurial > repos > phpBB-MODs > Special_And_Normal_Rank_Images
annotate contrib/MultiRaceRankThemesIntegration.xml @ 4:2cd129ae697f
* Rename contrib Install.xml to more descriptive name
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 15 Jun 2009 17:39:21 +0000 |
parents | contrib/Install.xml@4d1dd45e6549 |
children | 292cdc0662d2 |
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/--> |
26a2404a2f38
Initial commit of v1.0.1 instructions
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"> |
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> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 <link type="parent" href="Install.xml" lang="en-gb">Main instructions</link> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 </link-group> |
2 | 29 <mod-version>1.1.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> |
2 | 33 <target-version>3.0.5</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> |
2 | 37 <date>2009-06-15</date> |
38 <rev-version>1.1.0</rev-version> | |
39 <changelog lang="en-gb"> | |
40 <change>Update: Change instructions to match the alterations in v1.1.0 of the main MOD</change> | |
41 <change>Update: Try to make sure all instructions add the parameter at the end, even if other MODs are applied before or after</change> | |
42 </changelog> | |
43 </entry> | |
44 <entry> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
45 <date>2008-11-09</date> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
46 <rev-version>0.1.3b</rev-version> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
47 <changelog lang="en-gb"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
48 <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
|
49 </changelog> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
50 </entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
51 <entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 <date>2008-05-10</date> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 <rev-version>0.1.2b</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>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
|
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-04-13</date> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
60 <rev-version>0.1.1a</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>Initial release</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 </history> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
66 </header> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
67 <action-group> |
2 | 68 <open src="includes/functions_display.php"> |
69 <edit> | |
70 <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> | |
71 <action type="after-add"><![CDATA[ | |
72 * @param int $rank_theme the rank theme set to load the extra rank from (defaulting to DEFAULT_RANK_THEME_ID)]]></action> | |
73 </edit> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
74 <edit> |
2 | 75 <find><![CDATA[function get_user_additional_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src)]]></find> |
76 <inline-edit> | |
77 <inline-find>)</inline-find> | |
78 <inline-action type="before-add">, $rank_theme = DEFAULT_RANK_THEME_ID</inline-action> | |
79 </inline-edit> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
80 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
81 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
82 <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
|
83 <inline-edit> |
2 | 84 <inline-find>);</inline-find> |
85 <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
|
86 </inline-edit> |
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 </open> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
89 <open src="includes/ucp/ucp_profile.php"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
90 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
91 <!-- 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
|
92 <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
|
93 <inline-edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
94 <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
|
95 <inline-action type="replace-with">true</inline-action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
96 </inline-edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
97 </edit> |
2 | 98 </open> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
99 <open src="memberlist.php"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
100 <edit> |
2 | 101 <find><![CDATA[ //Reset our ranks, since show_profile() gets the values for the profile page |
102 get_user_rank($user_rank, (($user_id == ANONYMOUS) ? false : $row['user_posts']), $memberrow['RANK_TITLE'], $memberrow['RANK_IMG'], $memberrow['RANK_IMG_SRC']);]]></find> | |
103 <inline-edit> | |
104 <inline-find>);</inline-find> | |
105 <inline-action type="before-add">, $row['user_rank_theme']</inline-action> | |
106 </inline-edit> | |
107 </edit> | |
108 <edit> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
109 <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
|
110 <inline-edit> |
2 | 111 <inline-find>);</inline-find> |
112 <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
|
113 </inline-edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
114 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
115 <edit> |
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'], $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
|
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 </open> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
123 <open src="viewtopic.php"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
124 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
125 <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
|
126 <inline-edit> |
2 | 127 <inline-find>);</inline-find> |
128 <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
|
129 </inline-edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
130 </edit> |
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]['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
|
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 </open> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
139 </action-group> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
140 </mod> |