changeset 9:f03602dafdf4

* Update one find instruction to match latest phpBB * Update one find instruction to match indentation * Update ordering of viewtopic.php instructions to match code ordering no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sun, 01 Aug 2010 19:20:29 +0000
parents 5828583803f7
children dc3d3d0949c6
files Install.xml
diffstat 1 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Install.xml	Sun Aug 01 19:00:36 2010 +0000
+++ b/Install.xml	Sun Aug 01 19:20:29 2010 +0000
@@ -41,6 +41,7 @@
 				<rev-version>1.0</rev-version>
 				<changelog lang="en-gb">
 					<change>Update to final release</change>
+					<change>Fix: Switch two instructions to correct ordering of code changes in viewtopic.php</change>
 				</changelog>
 			</entry>
 			<entry>
@@ -143,14 +144,14 @@
 		</open>
 		<open src="memberlist.php">
 			<edit>
-				<find><![CDATA[			get_user_rank($row['user_rank'], $row['user_posts'], $rank_title, $rank_img, $rank_img_src);]]></find>
+				<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>$rank_img_src</inline-find>
 					<inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action>
 				</inline-edit>
 			</edit>
 			<edit>
-				<find><![CDATA[			get_user_rank($data['user_rank'], (($user_id == ANONYMOUS) ? false : $data['user_posts']), $rank_title, $rank_img, $rank_img_src);]]></find>
+				<find><![CDATA[	get_user_rank($data['user_rank'], (($user_id == ANONYMOUS) ? false : $data['user_posts']), $rank_title, $rank_img, $rank_img_src);]]></find>
 				<inline-edit>
 					<inline-find>$rank_img_src</inline-find>
 					<inline-action type="after-add"><![CDATA[, $percentage_progress]]></inline-action>
@@ -226,6 +227,11 @@
 					<inline-find>$user_cache[$poster_id]['rank_image_src']</inline-find>
 					<inline-action type="after-add"><![CDATA[, $user_cache[$poster_id]['percentage_progress']]]></inline-action>
 				</inline-edit>
+			</edit>
+			<edit>
+				<find><![CDATA[				'joined'		=> '',]]></find>
+				<action type="before-add"><![CDATA[
+				'percentage_progress'		=> -1,]]></action>
 			</edit>
 			<edit>
 				<find><![CDATA[get_user_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>
@@ -235,11 +241,6 @@
 				</inline-edit>
 			</edit>
 			<edit>
-				<find><![CDATA[				'joined'		=> '',]]></find>
-				<action type="before-add"><![CDATA[
-				'percentage_progress'		=> -1,]]></action>
-			</edit>
-			<edit>
 				<find><![CDATA[				'joined'		=> $user->format_date($row['user_regdate']),]]></find>
 				<action type="before-add"><![CDATA[
 				'percentage_progress'		=> -1,]]></action>