Скрин Шот http://s51.radikal.ru/i134/0901/60/fd9fbdb2a638.jpg Версия для тех у кого есть хинт
Через быструю замену заменяем:
Code
</body>
на
Code
<?if($ONLINE_COUNTER$ || $MODULE_ID$='forum')?>
<script type="text/javascript">
// Online User Avatar for uCoz ~ http://allcity.net.ru/ , php server ~ http://saitik.at.ua/
$('a.groupAdmin').each(function(){
$(this).attr('title','<div align="center"><img alt="Загрузка..." src="http://avatar.insaitik.ru/online_user_avatar.php?domain='+location.host+'&username='+$(this).html()+'" border="0" />
Администратор</div>');
});
$('a.groupModer').each(function(){
$(this).attr('title','<div align="center"><img alt="Загрузка..." src="http://avatar.insaitik.ru/online_user_avatar.php?domain='+location.host+'&username='+$(this).html()+'" border="0" />
Модератор</div>');
});
$('a.groupVerify').each(function(){
$(this).attr('title','<div align="center"><img alt="Загрузка..." src="http://avatar.insaitik.ru/online_user_avatar.php?domain='+location.host+'&username='+$(this).html()+'" border="0" />
Проверенный</div>');
});
$('a.groupUser').each(function(){
$(this).attr('title','<div align="center"><img alt="Загрузка..." src="http://avatar.insaitik.ru/online_user_avatar.php?domain='+location.host+'&username='+$(this).html()+'" border="0" />
Пользователь</div>');
});
</script>
<?endif?>
</body>
Версия для тех у кого нет хинта
В CSS (окошко можно подогнать под себя ):
Code
/* === Online User Avatar for uCoz === */
#userAvatarAdmin {
text-align: center;
position: absolute;
border: 1px solid #FF0000;
background: #FFE5E5;
padding: 5px;
display: none;
color: #000000;
}
#userAvatarModer {
text-align: center;
position: absolute;
border: 1px solid #99BBE8;
background: #F0F3F5;
padding: 5px;
display: none;
color: #000000;
}
#userAvatarVerify {
text-align: center;
position: absolute;
border: 1px solid #99BBE8;
background: #F0F3F5;
padding: 5px;
display: none;
color: #000000;
}
#userAvatarUser {
text-align: center;
position: absolute;
border: 1px solid #323D4F;
background: #ECECEC;
padding: 5px;
display: none;
color: #000000;
}
/* ============================ */
и опять через быструю замену заменяем:
Code
</body>
На
Code
<?if($ONLINE_COUNTER$ || $MODULE_ID$='forum')?>
<script type="text/javascript">
// Online User Avatar for uCoz ~ http://allcity.net.ru/ , php server ~ http://saitik.at.ua/
$('a.groupAdmin').each(function(){
$(this).attr('rel','http://avatar.insaitik.ru/online_user_avatar.php?domain='+location.host+'&username='+$(this).html());
});
$('a.groupModer').each(function(){
$(this).attr('rel','http://avatar.insaitik.ru/online_user_avatar.php?domain='+location.host+'&username='+$(this).html());
});
$('a.groupVerify').each(function(){
$(this).attr('rel','http://avatar.insaitik.ru/online_user_avatar.php?domain='+location.host+'&username='+$(this).html());
});
$('a.groupUser').each(function(){
$(this).attr('rel','http://avatar.insaitik.ru/online_user_avatar.php?domain='+location.host+'&username='+$(this).html());
});
xOffset=5;
yOffset=25;
$('a.groupAdmin').hover(function(e){
$('body').append('<p id="userAvatarAdmin"><img alt="Загрузка..." src="'+this.rel+'" />
Администратор</p>');
$('p#userAvatarAdmin').css('top',(e.pageY-xOffset)+'px').css('left',(e.pageX+yOffset)+'px').fadeIn('slow');},function(){$('p#userAvatarAdmin').remove();});
$('a.groupAdmin').mousemove(function(e){$('p#userAvatarAdmin').css('top',(e.pageY-xOffset)+'px').css('left',(e.pageX+yOffset)+'px');});
$('a.groupModer').hover(function(e){
$('body').append('<p id="userAvatarModer"><img alt="Загрузка..." src="'+this.rel+'" />
Модератор</p>');
$('p#userAvatarModer').css('top',(e.pageY-xOffset)+'px').css('left',(e.pageX+yOffset)+'px').fadeIn('slow');},function(){$('p#userAvatarModer').remove();});
$('a.groupModer').mousemove(function(e){$('p#userAvatarModer').css('top',(e.pageY-xOffset)+'px').css('left',(e.pageX+yOffset)+'px');});
$('a.groupVerify').hover(function(e){
$('body').append('<p id="userAvatarVerify"><img alt="Загрузка..." src="'+this.rel+'" />
Проверенный</p>');
$('p#userAvatarVerify').css('top',(e.pageY-xOffset)+'px').css('left',(e.pageX+yOffset)+'px').fadeIn('slow');},function(){$('p#userAvatarVerify').remove();});
$('a.groupVerify').mousemove(function(e){$('p#userAvatarVerify').css('top',(e.pageY-xOffset)+'px').css('left',(e.pageX+yOffset)+'px');});
$('a.groupUser').hover(function(e){
$('body').append('<p id="userAvatarUser"><img alt="Загрузка..." src="'+this.rel+'" />
Пользователь</p>');
$('p#userAvatarUser').css('top',(e.pageY-xOffset)+'px').css('left',(e.pageX+yOffset)+'px').fadeIn('slow');},function(){$('p#userAvatarUser').remove();});
$('a.groupUser').mousemove(function(e){$('p#userAvatarUser').css('top',(e.pageY-xOffset)+'px').css('left',(e.pageX+yOffset)+'px');});
</script>
<?endif?>
</body>
Автор - AllCity