I apologize , and 'can see the user's avatar in chat on the home. Thanks to all ... naturally when you have time and want no hurry
version invision
version invision
#chatbox > p span.user > span strong, #chatbox_members ul a span:first-child strong {
display: none; }
#chatbox > p span.user > span:after, #chatbox_members ul a span:first-child:after {
color: #105289!important;
content: 'Mod ';(IMG)
font-size: 10px;}
background-image: url(http://2img.net/i/fa/i/smiles/icon_razz.gif);
#chatbox > p span.user > span strong {
display:none;}
#chatbox > p span.user > span:after, #chatbox_members ul a span:first-child:after {
background-image:url('http://2img.net/i/fa/i/smiles/icon_razz.gif');
no-repeat;}
[panda=css]#chatbox > p span.user > span strong {
display:none;
}
#chatbox > p span.user > span:after, #chatbox_members ul a span:first-child:after {
content: '';
background-image: url('http://2img.net/i/fa/i/smiles/icon_razz.gif') no-repeat;
}
#chatbox > p span.user > span strong {
background-image: url('http://2img.net/i/fa/i/smiles/icon_razz.gif') no-repeat;
}
#chatbox > p span.user > span:after, #chatbox_members ul a span:first-child:after {
content: 'mod';
}
LGforum wrote:[quotelink="http://www.avacweb.com/t533-user-avatar-in-chat#5324"]The avatars here are added using the hooks with the new AvacWeb Chat.
Read this post: [post]http://www.avacweb.com/t532-avacweb-chat#5323[/post]
Proxy*64* wrote:i can't see the post can you please post the full link?
#chatbox .user a[href="www.chlorisgarden.com/u#1"] span:before {
content: url( AVATAR'S URL );
}
I added the following code at the end of my chat javascriptLGforum wrote:[quotelink="http://www.avacweb.com/t533-user-avatar-in-chat#5324"]The avatars here are added using the hooks with the new AvacWeb Chat.
Read this post: http://www.avacweb.com/t532-avacweb-chat#5323
avacweb_chat_config.message_hook.push(function(row, username, user_id, user, msg) {
msg.innerHTML = msg.innerHTML.replace(/\b(stupid|idiot)\b/gi, '[CENSORED]');
});
how can I have them in my javascript file? what do you mean with "an external server"? how can I set this? I do have an external server in which I can load whatever I want, eventually.LGforum wrote:
People should forget about adding the avatars into the chat unless you have the avatars freely available in a Javascript file... which is pretty much only possible with an external server.
|
|