<xen:if hascontent="true">
<div class="extraUserInfo">
<xen:contentcheck>
<xen:hook name="message_user_info_extra" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
<xen:if is="{$user.message_count} > 40">
<dl class="pairsInline">
<dt>Rank:</dt>
<dd>1</dd>
</dl>
<xen:elseif is="{$user.message_count} > 10" />
<dl class="pairsInline">
<dt>Rank:</dt>
<dd>2</dd>
</dl>
<xen:elseif is="{$user.message_count} > 3" />
<dl class="pairsInline">
<dt>Rank:</dt>
<dd>3</dd>
</dl>
<xen:else />
<dl class="pairsInline">
<dt>Rank:</dt>
<dd>Lowest</dd>
</dl>
</xen:if>
<xen:if is="@messageShowRegisterDate">
<dl class="pairsInline">
<dt>{xen:phrase member_since}:</dt>
<dd>{xen:date $user.register_date}</dd>
</dl>
</xen:if>
<xen:if is="@messageShowMessageCount">
<dl class="pairsInline">
<dt>{xen:phrase message_count}:</dt>
<dd><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed">{xen:number $user.message_count}</a></dd>
</dl>
</xen:if>
Can the same be done for Trophy Points?Admin CP -> Appearance -> Templates -> message_user_info
Add the red code:
<snip>
Can the same be done for Trophy Points?
Also, is there a way to make it so it is = to a certain amount of posts? Every time that I try and put an equal sign, I get an error.
{$user.message_count} == 40
1 - 1
2 - 2
3 - 3
4 - 4
5 - 5
6 - 6
7 - 7
8 - 8
9 - 9
10 - 10
11 - 15
12 - 20
13 - 25
14 - 30
15 - 35
16 - 40
17 - 45
18 - 50
19 - 55
20 - 60
21 - 70
22 - 80
23 - 90
24 - 100
25 - 150
26 - 200
27 - 250
28 - 300
29 - 350
30 - 400
31 - 450
32 - 500
33 - 550
34 - 600
35 - 650
36 - 700
37 - 750
38 - 800
39 - 850
40 - 900
41 - 1000
42 - 1200
43 - 1400
44 - 1600
45 - 1800
46 - 2000
47 - 2500
48 - 3000
49 - 3500
50 - 4000
<xen:if is="{$user.message_count} > 1">
<dl class="pairsInline">
<dt>Rank:</dt>
<dd><img src="http://dl.dropbox.com/u/3357109/Ranks/Rank1.png" height="17px" width="17px"></img></dd>
</dl>
<xen:elseif is="{$user.message_count} > 2" />
<dl class="pairsInline">
<dt>Rank:</dt>
<dd><img src="http://dl.dropbox.com/u/3357109/Ranks/Rank2.png" height="17px" width="17px"></img></dd>
</dl>
<xen:elseif is="{$user.message_count} > 3" />
<dl class="pairsInline">
<dt>Rank:</dt>
<dd><img src="http://dl.dropbox.com/u/3357109/Ranks/Rank3.png" height="17px" width="17px"></img></dd>
</dl>
<xen:else />
<dl class="pairsInline">
<dt>Rank:</dt>
<dd>Lowest</dd>
</dl>
</xen:if>
Why is that? I understand that I haven't added all the ranks but shouldn't they both be Rank 3 and not Rank 1?
I want to replace:
With an image, What's the correct code ?<dt>Rank:</dt> <dd>Lowest</dd>
<img src="path/to/image.gif" />
Without <dd></dd> ?
Awesome, thank you Jake & Schmitz! It was working great!
The following error occurred:
The server did not respond in time. Please try again.
Every time I try this it will never save I get
Admin CP -> Appearance -> Templates -> message_user_info
We use essential cookies to make this site work, and optional cookies to enhance your experience.