- Vào tem messenge_user_info thay tất cả :
- Mở tem messenge_user_info.css thay bằng :
Code:
[/FONT][/COLOR][/LEFT]<xen:require css="message_user_info.css" />
<div class="messageUserInfo" itemscope="itemscope" itemtype="http://data-vocabulary.org/Person">
<div class="messageUserBlock">
<xen:hook name="message_user_info_text" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
<h3 class="userText">
<xen:username user="$user" itemprop="name" rich="true" />
<xen:if hascontent="true"><em class="userTitle" itemprop="title"><xen:contentcheck>{xen:helper userTitle, $user}</xen:contentcheck></em></xen:if>
<!-- slot: message_user_info_text -->
</h3>
</xen:hook>
<xen:hook name="message_user_info_avatar" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
<div class="avatarHolder">
<span class="helper"></span>
<xen:avatar user="$user" size="m" />
<!-- slot: message_user_info_avatar -->
</div>
</xen:hook>
<xen:if is="!{$isQuickReply}">
<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="@messageShowRegisterDate">
<dl class="pairsInline">
<dd><span class="icon span-icon-text icon-stats-time"></span>{xen:phrase member_since}:
{xen:date $user.register_date}</dd>
</dl>
</xen:if>
<xen:if is="@messageShowMessageCount">
<dl class="pairsInline">
<dd><span class="icon span-icon-text icon-comment-edit"></span>{xen:phrase message_count}:
<a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed">{xen:number $user.message_count}</a></dd>
</dl>
</xen:if>
<xen:if is="@messageShowTotalLikes">
<dl class="pairsInline">
<dd><span class="icon span-icon-text icon-fave-on-alt"></span>{xen:phrase likes_received}:
{xen:number $user.like_count}</dd>
</dl>
</xen:if>
<xen:if is="@messageShowTrophyPoints">
<dl class="pairsInline">
<dd><span class="icon span-icon-text icon-award"></span>{xen:phrase trophy_points}:
<a href="{xen:link 'members/trophies', $user}" class="OverlayTrigger concealed">{xen:number $user.trophy_points}</a></dd>
</dl>
</xen:if>
<xen:if is="@messageShowGender AND {$user.gender}">
<dd><dd><span class="icon span-icon-text icon-gender"></span>{xen:phrase gender}: <xen:if is="{$user.gender} == 'male'">{xen:phrase male}<xen:else />{xen:phrase female}</xen:if></dd>
</dl>
</xen:if>
<xen:if is="@messageShowOccupation AND {$user.occupation}">
<dl class="pairsInline">
<dd>{xen:phrase occupation}:
<dd itemprop="role">{xen:string censor, $user.occupation}</dd>
</dl>
</xen:if>
<xen:if is="@messageShowLocation AND {$user.location}">
<dl class="pairsInline">
<dd><span class="icon span-icon-text icon-icon-primary-links"></span>{xen:phrase location}:
<dd><a href="{xen:link 'misc/location-info', '', 'location={xen:string censor, $user.location, '-'}'}" target="_blank" rel="nofollow" itemprop="address" class="concealed">{xen:string censor, $user.location}</a></dd>
</dl>
</xen:if>
<xen:if is="@messageShowHomepage AND {$user.homepage}">
<dl class="pairsInline">
<dd><span class="icon span-icon-text icon-icon-web-slice"></span>{xen:phrase home_page}:
<a href="{xen:string censor, $user.homepage, '-'}" rel="nofollow" target="_blank" itemprop="url">{xen:string censor, $user.homepage}</a></dd>
</dl>
</xen:if>
</xen:hook>
<xen:if is="@messageShowCustomFields AND {$user.customFields}">
<xen:hook name="message_user_info_custom_fields" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
<xen:foreach loop="$userFieldsInfo" key="$fieldId" value="$fieldInfo">
<xen:if is="{$fieldInfo.viewable_message}">
<xen:if hascontent="true">
<dl class="pairsInline userField_{$fieldId}">
<dd>{xen:helper userFieldTitle, $fieldId}:
<xen:contentcheck>{xen:helper userFieldValue, $fieldInfo, $user, {$user.customFields.{$fieldId}}}</xen:contentcheck></dd>
</dl>
</xen:if>
</xen:if>
</xen:foreach>
</xen:hook>
</xen:if>
</xen:contentcheck>
</div>
</xen:if>
</xen:if>
<span class="arrow"><span></span></span>
</div>
</div>[LEFT][COLOR=#141414][FONT=Arial]
- Mở tem messenge_user_info.css thay bằng :
Code:
[/FONT][/COLOR][/LEFT].messageUserInfo
{
@property "messageUserInfo";
background-color: #ade9ff;
border: 1px dotted #009dff;
float: left;
width: 100%;
height: 110px;
@property "/messageUserInfo";
}
.messageUserBlock
{
@property "messageUserBlock";
background-color: #ade9ff;
@property "/messageUserBlock";
position: relative;
}
.messageUserBlock div.avatarHolder
{
@property "messageAvatarHolder";
padding: 3px;
@property "/messageAvatarHolder";
}
.messageUserBlock div.avatarHolder a
{
display: block;
}
/*.messageUserBlock .ipLink
{
display: block;
float: right;
font-size: 8px;
width: 12px;
height: 12px;
line-height: 12px;
text-align: center;
background-color: @primaryLighter;
border-radius: 3px;
}
.messageUserBlock .ipLink:hover
{
background-color: @primaryLightest;
text-decoration: none;
}*/
.messageUserBlock h3.userText
{
margin-left: 130px;
position: absolute !important;
top: 18px;
}
.useronline{margin-left:130px;
top:15px;}
.messageUserBlock a.username
{
@property "messageUsername";
font-weight: bold;
font-size: 15px;
background-image: url('@imagePath/enforo/xenfocus/highlight.png');
background-repeat: repeat-x;
background-position: top;
padding-top: 8px;
padding-bottom: 3px;
display: block;
overflow: hidden;
line-height: 16px;
text-align: center;
text-shadow: rgba(255,255,255,0.8) 0px 1px 0px;
@property "/messageUsername";
-xenforo-nomatch-border-bottom: 0px solid @primaryLighter;
}
.messageUserBlock .userTitle
{
@property "messageUserTitle";
font-size: 11px;
padding-top: 4px;
display: block;
text-align: center;
@property "/messageUserTitle";
}
.messageUserBlock .extraUserInfo
{ font-weight:bold;
color:black;
@property "messageExtraUserInfo";
font-size: 11px;
padding: 4px 6px;
margin-left: 360px;
position: absolute;
top: 10px;
width: 420px;
@property "/messageExtraUserInfo";
}
.messageUserBlock .extraUserInfo dl
{
margin: 2px 0;
}
.messageUserBlock .extraUserInfo dt
{
font-size: 9px;
display: block;
}
.messageUserBlock .extraUserInfo img
{
max-width: 100%;
}
.messageUserBlock .arrow
{
position: absolute;
top: 10px;
right: -10px;
display: block;
width: 0px;
height: 0px;
line-height: 0px;
border: 10px solid transparent;
border-left-color: @messageUserBlock.border-color;
border-right: none;
/* Hide from IE6 */
_display: none;
}
.messageUserBlock .arrow span
{
position: absolute;
top: -10px;
left: -11px;
display: block;
width: 0px;
height: 0px;
line-height: 0px;
border: 10px solid transparent;
border-left-color: @messageAvatarHolder.background-color;
border-right: none;
}
[LEFT][COLOR=#141414][FONT=Arial]