http://imghost.in/images/u4zepbl364c9xzk8dm3w.png Это в персональную страницу пользователся куда угодно!!!
Code
<div class="avatarMchat" style="display: none;"><?if($_AVATAR$)?>
$_AVATAR$
<?else?>
<img src="ССЫЛКА НА НО_АВАТАР" width="100" height="100" border="0" alt="" />
<?endif?></div>
Потом идём в вид материалов мини-чата и удаляем там всё и вставляем это:
Code
<div id="chat_mess" class="b_block">
<div class="cBlock$PARITY$" style="min-height:62px;">
<div id="avatarLoad$NUMBER$" style="float: left; width:40px; height:40px; padding: 1px 1px 1px 1px; margin-right:3px; margin-bottom:1px;">
<div align="center"><img alt="" style="padding-top: 0px;" src="" border="0" width="40" />
</div>
</div>
<script type="text/javascript">
$('div#avatarLoad$NUMBER$').load('/index/8-$USER_ID$ div.avatarMchat img', function() {
//$('div#avatarLoad$NUMBER$ img').attr('height', '40');
$('div#avatarLoad$NUMBER$ img').css('height', '40').css('width', '40');
});
</script>
<div class="cMessage" style="text-align:left;">
<div><a href="javascript://" rel="nofollow" onclick="window.open('/index/8-$USER_ID$','$USER_ID$','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350');return false;"><img src="http://s105.ucoz.net/img/icon/profile.png" width="30" align="absmiddle" border="0"></a></a> <a href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[i]$NAME$[/i], ';return false;"><b>$NAME$</b></a>
<?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$">E</a><?endif?>
<?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$">W</a><?endif?>
</div>
$MESSAGE$</div>
<?if($CUSTOM1$)?><br>$STR_CUSTOM1$: $CUSTOM1$<?endif?>
<?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?>
</div>
</div>