Mercurial > repos > phpBB-MODs > User_Rank_Progression_Bar
changeset 2:6c9b720fa73a
Initial work on v0.2.0:
* Add instructions for template changes in member profile and viewing PM
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 15 Jun 2009 14:17:38 +0000 |
parents | d2b86ef4f74b |
children | a1cc13cb988d |
files | Install.xml |
diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Install.xml Mon Jun 15 13:38:04 2009 +0000 +++ b/Install.xml Mon Jun 15 14:17:38 2009 +0000 @@ -102,6 +102,10 @@ </open> <open src="includes/ucp/ucp_pm_viewmessage.php"> <edit> + <find><![CDATA[ 'RANK_IMG' => $user_info['rank_image'],]]></find> + <action type="after-add"><![CDATA[]]></action> + </edit> + <edit> <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> <inline-edit> <inline-find>, $user_row['rank_image_src']</inline-find> @@ -149,6 +153,22 @@ </inline-action> </edit> </open> + <open src="styles/prosilver/template/memberlist_view.html"> + <edit> + <find><![CDATA[<!-- IF RANK_IMG --><dd style="text-align: center;">{RANK_IMG}</dd><!-- ENDIF -->]]></find> + <action type="after-add"><![CDATA[<!-- IF PERCENTAGE_PROGRESS_NUM > -1 --><dd>{L_PROGRESS_TO_NEXT_RANK}<div class="rank_progress_bar"><span style="width:{PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{PERCENTAGE_PROGRESS}</span></div></dd><!-- ENDIF -->]]></action> + </edit> + <edit> + <find><![CDATA[<!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE --> <!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt> <dd>{RANK_IMG}</dd><!-- ENDIF -->]]></find> + <action type="after-add"><![CDATA[<!-- IF PERCENTAGE_PROGRESS_NUM > -1 --><dt>{L_PROGRESS_TO_NEXT_RANK}</dt><dd><div class="rank_progress_bar"><span style="width:{PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{PERCENTAGE_PROGRESS}</span></div></dd><!-- ENDIF -->]]></action> + </edit> + </open> + <open src="styles/prosilver/template/ucp_pm_viewmessage.html"> + <edit> + <find><![CDATA[ <!-- IF RANK_IMG --><dd>{RANK_IMG}</dd><!-- ENDIF -->]]></find> + <action type="after-add"><![CDATA[ <!-- IF PERCENTAGE_PROGRESS_NUM > -1 --><dd>{L_PROGRESS_TO_NEXT_RANK}<div class="rank_progress_bar"><span style="width:{PERCENTAGE_PROGRESS_NUM}%" class="bar"></span><span>{PERCENTAGE_PROGRESS}</span></div></dd><!-- ENDIF -->]]></action> + </edit> + </open> <open src="styles/prosilver/template/viewtopic_body.html"> <edit> <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>