Mercurial > repos > phpBB-MODs > Multi_Race_Rank_Themes
changeset 31:8cc563fb1afb 1.3.5
* Update to phpBB 3.0.7 compatibility
* Fix "leader" query to resolve warning on memberlist
* Update all version numbers to 1.3.5
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 02 Mar 2010 20:42:02 +0000 |
parents | c482a3fd95ca |
children | 92e983461432 |
files | Install.xml contrib/Upgrade-1.2.4.xml subsilver2.xml |
diffstat | 3 files changed, 44 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/Install.xml Fri Feb 12 20:51:10 2010 +0000 +++ b/Install.xml Tue Mar 02 20:42:02 2010 +0000 @@ -43,14 +43,21 @@ <link type="template" href="subsilver2.xml" lang="en-gb">subsilver2</link> <link type="contrib" href="contrib/Upgrade-1.2.4.xml" lang="en-gb">Upgrade instructions from v1.2.4</link> </link-group> - <mod-version>1.3.4</mod-version> + <mod-version>1.3.5</mod-version> <installation> <level>intermediate</level> <time>3600</time> - <target-version>3.0.6</target-version> + <target-version>3.0.7</target-version> </installation> <history> <entry> + <date>2010-03-02</date> + <rev-version>1.3.5</rev-version> + <changelog lang="en-gb"> + <change>Fix: Added instruction to include "user_rank_theme" field in "leaders" query - thanks to Anyasha for reporting it</change> + </changelog> + </entry> + <entry> <date>2010-02-12</date> <rev-version>1.3.4</rev-version> <changelog lang="en-gb"> @@ -1045,6 +1052,13 @@ <action type="after-add"><![CDATA[ case 'ranks':]]></action> </edit> <edit> + <find><![CDATA[ 'SELECT' => 'u.user_id, u.group_id as default_group, u.username, u.username_clean, u.user_colour, u.user_rank, u.user_posts, u.user_allow_pm, g.group_id, g.group_name, g.group_colour, g.group_type, ug.user_id as ug_user_id',]]></find> + <inline-edit> + <inline-find>u.user_rank,</inline-find> + <inline-action type="after-add"><![CDATA[ u.user_rank_theme,]]></inline-action> + </inline-edit> + </edit> + <edit> <find><![CDATA[ get_user_rank($row['user_rank'], (($row['user_id'] == ANONYMOUS) ? false : $row['user_posts']), $rank_title, $rank_img, $rank_img_src);]]></find> <inline-edit> <inline-find>);</inline-find>
--- a/contrib/Upgrade-1.2.4.xml Fri Feb 12 20:51:10 2010 +0000 +++ b/contrib/Upgrade-1.2.4.xml Tue Mar 02 20:42:02 2010 +0000 @@ -15,7 +15,7 @@ Rank themes are selectable collections of ranks that normal users can choose to use, allowing RPG forums to have different 'races' or allowing 'normal' forums to provide an set of alternative icon images for their users. Note that users with "special ranks" (normally Administrators etc.) will not get a theme selection in the UCP as the special rank is their rank theme. If users with special ranks want a themed rank image then you need to also install my "Special and Normal Rank Images" MOD.</description> - <author-notes lang="en-gb">These changes should upgrade a working v1.2.4 install of the Multi-Race Rank Themes MOD to v1.3.2, however re-installing the MOD from scratch on a clean forum is encouraged where possible to reduce the potential for problems.</author-notes> + <author-notes lang="en-gb">These changes should upgrade a working v1.2.4 install of the Multi-Race Rank Themes MOD to v1.3.5, however re-installing the MOD from scratch on a clean forum is encouraged where possible to reduce the potential for problems.</author-notes> <author-group> <author> <realname>IBBoard</realname> @@ -27,14 +27,21 @@ <link-group> <link type="parent" href="../Install.xml" lang="en-gb">Main instructions</link> </link-group> - <mod-version>1.3.3</mod-version> + <mod-version>1.3.5</mod-version> <installation> <level>intermediate</level> <time>300</time> - <target-version>3.0.6</target-version> + <target-version>3.0.7</target-version> </installation> <history> <entry> + <date>2010-03-02</date> + <rev-version>1.3.5</rev-version> + <changelog lang="en-gb"> + <change>Fix: Added instruction to include "user_rank_theme" field in "leaders" query - thanks to Anyasha for reporting it</change> + </changelog> + </entry> + <entry> <date>2010-02-11</date> <rev-version>1.3.3</rev-version> <changelog lang="en-gb"> @@ -222,6 +229,15 @@ 'MULTI_RACE_ADDED_PERMISSIONS' => 'Added permissions for Multi-Race Rank Themes MOD',]]></action> </edit> </open> + <open src="memberlist.php"> + <edit> + <find><![CDATA[ 'SELECT' => 'u.user_id, u.group_id as default_group, u.username, u.username_clean, u.user_colour, u.user_rank, u.user_posts, u.user_allow_pm, g.group_id, g.group_name, g.group_colour, g.group_type, ug.user_id as ug_user_id',]]></find> + <inline-edit> + <inline-find>u.user_rank,</inline-find> + <inline-action type="after-add"><![CDATA[ u.user_rank_theme,]]></inline-action> + </inline-edit> + </edit> + </open> <open src="styles/prosilver/template/ucp_pm_viewmessage.html"> <edit> <find><![CDATA[ <!-- IF RANK_IMG --><dd>{RANK_IMG}</dd><!-- ENDIF -->]]></find>
--- a/subsilver2.xml Fri Feb 12 20:51:10 2010 +0000 +++ b/subsilver2.xml Tue Mar 02 20:42:02 2010 +0000 @@ -41,14 +41,21 @@ <link-group> <link type="parent" href="Install.xml" lang="en-gb">Main instructions</link> </link-group> - <mod-version>1.3.4</mod-version> + <mod-version>1.3.5</mod-version> <installation> <level>intermediate</level> <time>180</time> - <target-version>3.0.6</target-version> + <target-version>3.0.7</target-version> </installation> <history> <entry> + <date>2010-03-02</date> + <rev-version>1.3.5</rev-version> + <changelog lang="en-gb"> + <change>Update to v3.0.7 compatibility</change> + </changelog> + </entry> + <entry> <date>2010-02-12</date> <rev-version>1.3.4</rev-version> <changelog lang="en-gb">