changeset 4:a11f14a0b16e

* Add integration changes for User Rank Progression Bar with Special And Normal Rank Images MODs no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Mon, 15 Jun 2009 18:35:58 +0000
parents a1cc13cb988d
children 85b6a2858cd5
files contrib/SpecialAndNormalRanksIntegration.xml
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/SpecialAndNormalRanksIntegration.xml	Mon Jun 15 14:43:02 2009 +0000
+++ b/contrib/SpecialAndNormalRanksIntegration.xml	Mon Jun 15 18:35:58 2009 +0000
@@ -68,6 +68,22 @@
 				</inline-edit>
 			</edit>
 		</open>
+		<open src="includes/ucp/ucp_pm_viewmessage.php">
+			<edit>
+				<find><![CDATA[		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']);]]></find>
+				<inline-edit>
+					<inline-find>$user_row['rank_image_src']</inline-find>
+					<inline-action type="after-add"><![CDATA[, $user_row['percentage_progress']]]></inline-action>
+				</inline-edit>
+			</edit>
+			<edit>
+				<find><![CDATA[		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']);]]></find>
+				<inline-edit>
+					<inline-find>$user_row['extra_rank_img_src']</inline-find>
+					<inline-action type="after-add"><![CDATA[, $user_row['percentage_progress']]]></inline-action>
+				</inline-edit>
+			</edit>
+		</open>
 		<open src="memberlist.php">
 			<edit>
 				<find><![CDATA[get_user_rank($user_rank, (($user_id == ANONYMOUS) ? false : $row['user_posts']), $memberrow['RANK_TITLE'], $memberrow['RANK_IMG'], $memberrow['RANK_IMG_SRC']);]]></find>