Mercurial > repos > phpBB-MODs > Special_And_Normal_Rank_Images
annotate install.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 | d6d0591252de |
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</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 image in addition to their special rank image in topics and on their profile page.</description> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 <author-notes lang="en-gb"><![CDATA[While this mod doesn't have to be installed along-side the "Multi-Race Rank Theme" mod, it is compatible with the mod and can be used to compliment it. Instructions on how to alter the Multi-Race Rank Theme mod to allow users with special ranks to choose a theme can be found in the /contrib folder. |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 The styling used by this mod is entirely arbitrary and was included as an example. You may wish to use different HTML in memberlist_view.html and viewtopic_body.html.]]></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="template" href="subsilver2.xml" lang="en-gb">subsilver2</link> |
5
84fb4f6867a2
* Update link to contrib file in Install.xml
IBBoard <dev@ibboard.co.uk>
parents:
3
diff
changeset
|
28 <link type="contrib" href="contrib/MultiRaceRankThemesIntegration.xml" lang="en-gb">Multi-Race Rank Theme MOD integration</link> |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
29 <link type="contrib" href="contrib/Upgrade-1.2.2-to-1.2.3.xml" lang="en-gb">Upgrade 1.2.2 to 1.2.3</link> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 </link-group> |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
31 <mod-version>1.2.3</mod-version> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 <installation> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 <level>intermediate</level> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 <time>600</time> |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
35 <target-version>3.0.9</target-version> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 </installation> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 <history> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
38 <entry> |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
39 <date>2012-08-20</date> |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
40 <rev-version>1.2.3</rev-version> |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
41 <changelog lang="en-gb"> |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
42 <change>Fix: Correct behaviour of SHOW_SPECIAL_AS_EXTRA constant</change> |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
43 </changelog> |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
44 </entry> |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
45 <entry> |
10
1b7db8283b8d
* Update compatibility to v3.0.8 (latest release) before submission
IBBoard <dev@ibboard.co.uk>
parents:
9
diff
changeset
|
46 <date>2010-12-04</date> |
1b7db8283b8d
* Update compatibility to v3.0.8 (latest release) before submission
IBBoard <dev@ibboard.co.uk>
parents:
9
diff
changeset
|
47 <rev-version>1.2.2</rev-version> |
1b7db8283b8d
* Update compatibility to v3.0.8 (latest release) before submission
IBBoard <dev@ibboard.co.uk>
parents:
9
diff
changeset
|
48 <changelog lang="en-gb"> |
1b7db8283b8d
* Update compatibility to v3.0.8 (latest release) before submission
IBBoard <dev@ibboard.co.uk>
parents:
9
diff
changeset
|
49 <change>Fix: Update for changes made in phpBB v3.0.8</change> |
1b7db8283b8d
* Update compatibility to v3.0.8 (latest release) before submission
IBBoard <dev@ibboard.co.uk>
parents:
9
diff
changeset
|
50 </changelog> |
1b7db8283b8d
* Update compatibility to v3.0.8 (latest release) before submission
IBBoard <dev@ibboard.co.uk>
parents:
9
diff
changeset
|
51 </entry> |
1b7db8283b8d
* Update compatibility to v3.0.8 (latest release) before submission
IBBoard <dev@ibboard.co.uk>
parents:
9
diff
changeset
|
52 <entry> |
9
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
53 <date>2010-08-14</date> |
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
54 <rev-version>1.2.1</rev-version> |
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
55 <changelog lang="en-gb"> |
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
56 <change>Fix: Resolve ambiguity in viewtopic.php instructions</change> |
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
57 </changelog> |
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
58 </entry> |
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
59 <entry> |
8 | 60 <date>2010-08-01</date> |
61 <rev-version>1.2.0</rev-version> | |
62 <changelog lang="en-gb"> | |
63 <change>Update version number and other minor fixes for release</change> | |
64 </changelog> | |
65 </entry> | |
66 <entry> | |
67 <date>2010-03-20</date> | |
68 <rev-version>1.1.1</rev-version> | |
69 <changelog lang="en-gb"> | |
70 <change>Fix: Correct array indexes in ucp_pm_viewmessage.php (should be image, not img) - thanks to _RocknRoll for reporting it</change> | |
71 </changelog> | |
72 </entry> | |
73 <entry> | |
2 | 74 <date>2009-06-15</date> |
75 <rev-version>1.1.0</rev-version> | |
76 <changelog lang="en-gb"> | |
77 <change>Add: Add config value for Memberlist that also fixes the situation where only users with special ranks show ranks in the members list</change> | |
3 | 78 <change>Add: Add code and template to add both ranks when viewing PMs</change> |
2 | 79 <change>Change: Update documentation on get_user_additional_rank to make it different to get_user_rank</change> |
80 </changelog> | |
81 </entry> | |
82 <entry> | |
83 <date>2009-01-09</date> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
84 <rev-version>1.0.1</rev-version> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
85 <changelog lang="en-gb"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
86 <change>No code changes - convert instructions to less semantically rich MODX 1.2.1 format</change> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
87 </changelog> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
88 </entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
89 <entry> |
2 | 90 <date>2009-01-08</date> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
91 <rev-version>1.0.0</rev-version> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
92 <changelog lang="en-gb"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
93 <change>No code changes - first release</change> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
94 </changelog> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
95 </entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
96 <entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
97 <date>2008-05-12</date> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
98 <rev-version>0.1.5</rev-version> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
99 <changelog lang="en-gb"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
100 <change>Fix: Stop users without a special rank showing their posting rank twice when SPECIAL_RANK_AS_EXTRA is set to true</change> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
101 </changelog> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
102 </entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
103 <entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
104 <date>2008-05-09</date> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
105 <rev-version>0.1.4b</rev-version> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
106 <changelog lang="en-gb"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
107 <change>Update: Add ability to have the special rank show as the 'extra' rank to allow admins to have their admin rank in a different location to their post rank (add new change to includes/constants.php and overhaul changes in viewtopic.php and memberlist.php)</change> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
108 </changelog> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
109 </entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
110 <entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
111 <date>2008-05-05</date> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
112 <rev-version>0.1.3b</rev-version> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
113 <changelog lang="en-gb"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
114 <change>Fix: Move mis-placed instruction from a template file to memberlist.php and make sure instruction doesn't match multiple locations</change> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
115 <change>Change: Separate out Subsilver instructions</change> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
116 </changelog> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
117 </entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
118 <entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
119 <date>2008-04-13</date> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
120 <rev-version>0.1.2b</rev-version> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
121 <changelog lang="en-gb"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
122 <change>Fix: "Undeclared index" warnings that were reported in viewtopic.php when viewing guest posts (added setting of blank defaults for guests)</change> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
123 </changelog> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
124 </entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
125 <entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
126 <date>2008-04-13</date> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
127 <rev-version>0.1.1b</rev-version> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
128 <changelog lang="en-gb"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
129 <change>Initial release</change> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
130 </changelog> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
131 </entry> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
132 </history> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
133 </header> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
134 <action-group> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
135 <open src="includes/constants.php"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
136 <edit> |
2 | 137 <find><![CDATA[// Additional constants]]></find> |
138 <action type="after-add"><![CDATA[// Special and normal rank images | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
139 define('SHOW_SPECIAL_AS_EXTRA', false); //Set to true if you want topics and profiles to show the special ranks, e.g. Administrator, as the 'extra' rank |
2 | 140 define('SHOW_ONLY_NORMAL_RANKS_ON_MEMBERLIST', false); //Set to true if you want the memberslist to show only normal ranks and not special ranks |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
141 ]]> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
142 </action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
143 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
144 </open> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
145 <open src="includes/functions_display.php"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
146 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
147 <find><![CDATA[/** |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
148 * Get user avatar]]></find> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
149 <action type="before-add"><![CDATA[/** |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
150 * Get user's additional (normal) rank title and image if they have a special rank |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
151 * |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
152 * @param int $user_rank the current stored users rank id |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
153 * @param int $user_posts the users number of posts |
2 | 154 * @param string &$rank_title the additional rank title will be stored here after execution, if the user has an additional rank |
155 * @param string &$rank_img the additional rank image as full img tag is stored here after execution, if the user has an additional rank | |
156 * @param string &$rank_img_src the additional rank image source is stored here after execution, if the user has an additional rank | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
157 * |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
158 */ |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
159 function get_user_additional_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src) |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
160 { |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
161 if (!empty($user_rank)) |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
162 { |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
163 //Always pass 0 to save duplicating get_user_rank and getting the special rank back |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
164 get_user_rank(0, $user_posts, $rank_title, $rank_img, $rank_img_src); |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
165 } |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
166 } |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
167 ]]> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
168 </action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
169 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
170 </open> |
3 | 171 <open src="includes/ucp/ucp_pm_viewmessage.php"> |
172 <edit> | |
173 <find><![CDATA[ 'RANK_TITLE' => $user_info['rank_title'], | |
174 'RANK_IMG' => $user_info['rank_image'],]]></find> | |
175 <action type="after-add"><![CDATA[ 'EXTRA_RANK_TITLE' => $user_info['extra_rank_title'], | |
176 'EXTRA_RANK_IMG' => $user_info['extra_rank_img'],]]></action> | |
177 </edit> | |
178 <edit> | |
179 <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> | |
180 <action type="after-add"><![CDATA[ $user_row['extra_rank_title'] = $user_row['extra_rank_img'] = $user_row['extra_rank_img_src'] = ''; | |
181 | |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
182 if (!empty($user_row['user_rank'])) |
3 | 183 { |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
184 if (defined('SHOW_SPECIAL_AS_EXTRA') && SHOW_SPECIAL_AS_EXTRA) |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
185 { |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
186 $user_row['extra_rank_title'] = $user_row['rank_title']; |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
187 $user_row['extra_rank_img'] = $user_row['rank_image']; |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
188 $user_row['extra_rank_img_src'] = $user_row['rank_img_src']; |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
189 $user_row['rank_title'] = $user_row['rank_image'] = $user_row['rank_image_src'] = ''; |
3 | 190 |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
191 get_user_additional_rank($user_row['user_rank'], $user_row['user_posts'], $user_row['rank_title'], $user_row['rank_image'], $user_row['rank_image_src']); |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
192 } |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
193 else |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
194 { |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
195 get_user_additional_rank($user_row['user_rank'], $user_row['user_posts'], $user_row['extra_rank_title'], $user_row['extra_rank_img'], $user_row['extra_rank_img_src']); |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
196 } |
3 | 197 } |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
198 ]]></action> |
3 | 199 </edit> |
200 </open> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
201 <open src="memberlist.php"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
202 <edit> |
2 | 203 <find><![CDATA[ if (isset($cp_row['row']) && sizeof($cp_row['row']))]]></find> |
204 <action type="before-add"><![CDATA[ $user_rank = $row['user_rank']; | |
205 | |
206 if (defined('SHOW_ONLY_NORMAL_RANKS_ON_MEMBERLIST') && SHOW_ONLY_NORMAL_RANKS_ON_MEMBERLIST) | |
207 { | |
208 $user_rank = 0; | |
209 } | |
210 | |
211 //Reset our ranks, since show_profile() gets the values for the profile page | |
212 get_user_rank($user_rank, (($user_id == ANONYMOUS) ? false : $row['user_posts']), $memberrow['RANK_TITLE'], $memberrow['RANK_IMG'], $memberrow['RANK_IMG_SRC']);]]></action> | |
213 </edit> | |
214 <edit> | |
11
d6d0591252de
* Fix FIND instructions for changes in phpBB v3.0.8
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
215 <find><![CDATA[ if ((!empty($data['user_allow_viewemail']) && $auth->acl_get('u_sendemail')) || $auth->acl_get('a_user'))]]></find> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
216 <action type="before-add"><![CDATA[ $extra_rank_title = $extra_rank_img = $extra_rank_img_src = ''; |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
217 |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
218 if (!empty($data['user_rank'])) |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
219 { |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
220 if (defined('SHOW_SPECIAL_AS_EXTRA') && SHOW_SPECIAL_AS_EXTRA) |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
221 { |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
222 $extra_rank_title = $rank_title; |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
223 $extra_rank_img = $rank_img; |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
224 $extra_rank_img_src = $rank_img_src; |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
225 $rank_title = $rank_img = $rank_img_src = ''; |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
226 |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
227 get_user_additional_rank($data['user_rank'], $data['user_posts'], $rank_title, $rank_img, $rank_img_src); |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
228 } |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
229 else |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
230 { |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
231 get_user_additional_rank($data['user_rank'], $data['user_posts'], $extra_rank_title, $extra_rank_img, $extra_rank_img_src); |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
232 } |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
233 } |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
234 ]]></action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
235 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
236 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
237 <find><![CDATA[ 'ICQ_STATUS_IMG' => (!empty($data['user_icq']))]]></find> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
238 <action type="before-add"><![CDATA[ |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
239 'EXTRA_RANK_TITLE' => $extra_rank_title, |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
240 'EXTRA_RANK_IMG' => $extra_rank_img, |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
241 'EXTRA_RANK_IMG_SRC'=> $extra_rank_img_src,]]></action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
242 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
243 </open> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
244 <open src="styles/prosilver/template/memberlist_view.html"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
245 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
246 <find><![CDATA[ <!-- IF RANK_IMG --><dd style="text-align: center;">{RANK_IMG}</dd><!-- ENDIF -->]]></find> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
247 <action type="after-add"><![CDATA[ |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
248 <!-- IF EXTRA_RANK_TITLE --><dd style="text-align: center;">{EXTRA_RANK_TITLE}</dd><!-- ENDIF --> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
249 <!-- IF EXTRA_RANK_IMG --><dd style="text-align: center;">{EXTRA_RANK_IMG}</dd><!-- ENDIF -->]]> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
250 </action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
251 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
252 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
253 <find><![CDATA[ <!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE --> <!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt> <dd>{RANK_IMG}</dd><!-- ENDIF -->]]></find> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
254 <action type="after-add"><![CDATA[ |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
255 <!-- IF EXTRA_RANK_TITLE --><dt> </dt> <dd>{EXTRA_RANK_TITLE}</dd><!-- ENDIF --> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
256 <!-- IF EXTRA_RANK_IMG --><dt> </dt> <dd>{EXTRA_RANK_IMG}</dd><!-- ENDIF -->]]></action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
257 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
258 </open> |
3 | 259 <open src="styles/prosilver/template/ucp_pm_viewmessage.html"> |
260 <edit> | |
261 <find><![CDATA[ <!-- IF RANK_IMG --><dd>{RANK_IMG}</dd><!-- ENDIF -->]]></find> | |
262 <action type="after-add"><![CDATA[ <!-- IF EXTRA_RANK_TITLE --><dd>{EXTRA_RANK_TITLE}</dd><!-- ENDIF --> | |
263 <!-- IF EXTRA_RANK_IMG --><dd>{EXTRA_RANK_IMG}</dd><!-- ENDIF -->]]></action> | |
264 </edit> | |
265 </open> | |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
266 <open src="styles/prosilver/template/viewtopic_body.html"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
267 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
268 <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> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
269 <action type="after-add"><![CDATA[ <!-- IF postrow.EXTRA_RANK_TITLE or postrow.EXTRA_RANK_IMG --><dd>{postrow.EXTRA_RANK_TITLE}<!-- IF postrow.EXTRA_RANK_TITLE and postrow.EXTRA_RANK_IMG --><br /><!-- ENDIF -->{postrow.EXTRA_RANK_IMG}</dd><!-- ENDIF -->]]> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
270 </action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
271 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
272 </open> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
273 <open src="viewtopic.php"> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
274 <edit> |
9
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
275 <find><![CDATA[ 'sig' => '', |
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
276 'profile' => '',]]></find> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
277 <action type="before-add"><![CDATA[ |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
278 'extra_rank_title' => '', |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
279 'extra_rank_image' => '', |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
280 'extra_rank_image_src' => '',]]></action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
281 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
282 <edit> |
9
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
283 <find><![CDATA[ |
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
284 'username' => $row['username'], |
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
285 'user_colour' => $row['user_colour'], |
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
286 |
09596edfe65e
* Fix ambiguity in viewtopic.php instructions
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
287 'online' => false,]]></find> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
288 <action type="before-add"><![CDATA[ |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
289 'extra_rank_title' => '', |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
290 'extra_rank_image' => '', |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
291 'extra_rank_image_src' => '',]]></action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
292 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
293 <edit> |
11
d6d0591252de
* Fix FIND instructions for changes in phpBB v3.0.8
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
294 <find><![CDATA[ if ((!empty($row['user_allow_viewemail']) && $auth->acl_get('u_sendemail')) || $auth->acl_get('a_email'))]]></find> |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
295 <action type="before-add"><![CDATA[ |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
296 if (!empty($row['user_rank'])) |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
297 { |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
298 if (defined('SHOW_SPECIAL_AS_EXTRA') && SHOW_SPECIAL_AS_EXTRA) |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
299 { |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
300 $user_cache[$poster_id]['extra_rank_title'] = $user_cache[$poster_id]['rank_title']; |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
301 $user_cache[$poster_id]['extra_rank_image'] = $user_cache[$poster_id]['rank_image']; |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
302 $user_cache[$poster_id]['extra_rank_image_src'] = $user_cache[$poster_id]['rank_image_src']; |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
303 $user_cache[$poster_id]['rank_title'] = $user_cache[$poster_id]['rank_image'] = $user_cache[$poster_id]['rank_image_src'] = ''; |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
304 |
15
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
305 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']); |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
306 } |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
307 else |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
308 { |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
309 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']); |
fe74124d7205
Finally commit fix released back in 2012!
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
310 } |
1
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
311 } |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
312 ]]></action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
313 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
314 <edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
315 <find><![CDATA[ 'RANK_IMG_SRC' => $user_cache[$poster_id]['rank_image_src'],]]></find> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
316 <action type="after-add"><![CDATA[ |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
317 'EXTRA_RANK_TITLE' => $user_cache[$poster_id]['extra_rank_title'], |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
318 'EXTRA_RANK_IMG' => $user_cache[$poster_id]['extra_rank_image'], |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
319 'EXTRA_RANK_IMG_SRC'=> $user_cache[$poster_id]['extra_rank_image_src'],]]></action> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
320 </edit> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
321 </open> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
322 </action-group> |
26a2404a2f38
Initial commit of v1.0.1 instructions
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
323 </mod> |