Like SystemiConnectFri 15 Oct 2021, 04:50
Auto Save MessagesLGforumFri 26 Feb 2021, 13:31
New tutorial questionTheCrowMon 15 Feb 2021, 08:12
Support iOS Emojis (and other platforms)LGforumSun 14 Feb 2021, 01:25
LGforum (2806)
User avatar in chat Vote_lcapUser avatar in chat Voting_barUser avatar in chat Vote_rcap 
Mr.Easybb (1587)
User avatar in chat Vote_lcapUser avatar in chat Voting_barUser avatar in chat Vote_rcap 
Bloodbath (745)
User avatar in chat Vote_lcapUser avatar in chat Voting_barUser avatar in chat Vote_rcap 
Rukiafan (533)
User avatar in chat Vote_lcapUser avatar in chat Voting_barUser avatar in chat Vote_rcap 
Dom (513)
User avatar in chat Vote_lcapUser avatar in chat Voting_barUser avatar in chat Vote_rcap 
puppycheese (446)
User avatar in chat Vote_lcapUser avatar in chat Voting_barUser avatar in chat Vote_rcap 
pedro (330)
User avatar in chat Vote_lcapUser avatar in chat Voting_barUser avatar in chat Vote_rcap 
Neymar (301)
User avatar in chat Vote_lcapUser avatar in chat Voting_barUser avatar in chat Vote_rcap 
Hitsu (281)
User avatar in chat Vote_lcapUser avatar in chat Voting_barUser avatar in chat Vote_rcap 
Flora (275)
User avatar in chat Vote_lcapUser avatar in chat Voting_barUser avatar in chat Vote_rcap 


User avatar in chat

avatarpedro
Status : https://2img.net/i/fa/invision/pp-blank-thumb.png

Posts : 330
Join date : 2012-10-18
Wed 24 Oct 2012, 19:37
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
DomDom
Status : No status yet...

Posts : 513
Join date : 2011-12-24
Location : USA
Wed 24 Oct 2012, 22:16
Requires a JavaScript modified chatbox such as LGChat or FMChat, and an external server.
avatarpedro
Status : https://2img.net/i/fa/invision/pp-blank-thumb.png

Posts : 330
Join date : 2012-10-18
Wed 24 Oct 2012, 22:35
no excuse I have not explained : I do not want a chat ..the avatars of users in chat

connected chat

User avatar in chat 2012-111 Pedro :

I'm sorry that I have not explained it well . thank you
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Wed 24 Oct 2012, 23:04
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]
avatarpedro
Status : https://2img.net/i/fa/invision/pp-blank-thumb.png

Posts : 330
Join date : 2012-10-18
Thu 25 Oct 2012, 19:29
I could not .. does not matter. Thanks for the reply
TonightTonight
Status : No status yet...

Posts : 152
Join date : 2012-10-06
Age : 28
Location : Estonia
Thu 25 Oct 2012, 19:53
Yeah LG, but I'm pretty sure he can't do it and I couldn't do anything too. All I managed to do with my "script", was deleting the chatbox display.

Any chance for the tutorial? Razz
avatarpedro
Status : https://2img.net/i/fa/invision/pp-blank-thumb.png

Posts : 330
Join date : 2012-10-18
Thu 25 Oct 2012, 20:35
I entered chat try to put the avatar

User avatar in chat 121025223422
avatarpedro
Status : https://2img.net/i/fa/invision/pp-blank-thumb.png

Posts : 330
Join date : 2012-10-18
Fri 26 Oct 2012, 23:20

unfortunately I cannot do anything .. another question you can insert an image instead of MOD

Code:
#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;}

http://www.avacweb.com/t220-another-css-trick-change-the

thank you for your patience
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Fri 26 Oct 2012, 23:30
You can insert an image by including the image HTML as the [ic]at_replacement[/ic] in the [ic]avacweb_chat_config[/ic] object.

Look through the settings for AvacWeb chat.
avatarpedro
Status : https://2img.net/i/fa/invision/pp-blank-thumb.png

Posts : 330
Join date : 2012-10-18
Fri 26 Oct 2012, 23:40
sorry but I do not use avacweb chat. I went back to use to foroactivo.thanks
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Sat 27 Oct 2012, 01:42
Well then you use the CSS above I've provided. You just specify a background image.
What's foroactivo?
ÆDesignÆDesign
Status : No status yet...

Posts : 84
Join date : 2012-09-26
Age : 25
Location : Although I was born in the U.S., I live in Mexico
Sat 27 Oct 2012, 01:51
ForoActivo is the Spanish version of Forumotion (I just use ForoActivo xD)
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Sat 27 Oct 2012, 01:53
Yeah I sort of knew that, I was just confused since we were talking about a chat box lol. The two are not comparable.0
avatarpedro
Status : https://2img.net/i/fa/invision/pp-blank-thumb.png

Posts : 330
Join date : 2012-10-18
Sat 27 Oct 2012, 10:22
now I try so.thanks


#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;
Code:
background-image: url(http://2img.net/i/fa/i/smiles/icon_razz.gif);
font-size: 10px;}
avatarpedro
Status : https://2img.net/i/fa/invision/pp-blank-thumb.png

Posts : 330
Join date : 2012-10-18
Sat 27 Oct 2012, 17:27
I tried so

Code:
#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;}

does not work .....a little help. thanks
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Sat 27 Oct 2012, 17:47
You must specify a content property.

Code:
[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;
}
avatarpedro
Status : https://2img.net/i/fa/invision/pp-blank-thumb.png

Posts : 330
Join date : 2012-10-18
Sat 27 Oct 2012, 19:06
does not work

only works if I put so
Code:
#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';
  }

but and' the background of @.thank you for your patience and for Jute,
Proxy*64*Proxy*64*
Status : No status yet...

Posts : 70
Join date : 2012-06-14
Fri 18 Jan 2013, 13:23
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]

i can't see the post can you please post the full link?
omgomg
Status : No status yet...

Posts : 25
Join date : 2012-07-15
Fri 18 Jan 2013, 14:04
Proxy*64* wrote:i can't see the post can you please post the full link?

Full link http://www.avacweb.com/t532-avacweb-chat#5323
FloraFlora
Status : No status yet...

Posts : 275
Join date : 2011-11-18
Location : USA
Mon 28 Jan 2013, 15:08
LG, just wanted you to know I was looking through this, and the link you posted "Post 5323" is a gray box with a close button. It's not very helpful. Could you please fix that?

Thank you.
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Mon 28 Jan 2013, 15:10
The post doesn't exist anymore. It was a post from the AvacWeb Chat thread, which is cleaned up every new release and most of the posts are deleted from it.
FloraFlora
Status : No status yet...

Posts : 275
Join date : 2011-11-18
Location : USA
Mon 28 Jan 2013, 15:24
Okay, thanks for replying so quickly. I have been a bit confused with this topic as I am trying to add avatars to my chatbox. This is now considered a hook, am I understanding that correctly?

If so, I've tried adding this to my CSS and it is not working and pardon, I don't know why. Please help. Thank you.

Code:
#chatbox .user a[href="www.chlorisgarden.com/u#1"]  span:before {
content: url( AVATAR'S URL );
}
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Mon 28 Jan 2013, 15:57
No that's CSS, the hooks are part of the Javascript which allow you to write functions hooking into the internal functionality of AvacWeb Chat.

The CSS your trying to do is for adding an image before 1 persons name in the chat.
It should be this: [ic]#chatbox .user a[href="/u1"] span:before { content: url( AVATAR'S URL ); }[/ic]
Where [ic]/u1[/ic] is the user and [ic]AVATAR's URL[/ic] is the image URL you wish to place in front of their name.

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. I have been promising that I will provide phpbb3 users with something relating to avatar usage, which will aid in adding avatars to the chat, and if it proves helpful I'll do it for invision and maybe PunBB.
FloraFlora
Status : No status yet...

Posts : 275
Join date : 2011-11-18
Location : USA
Mon 28 Jan 2013, 16:23
Okay, now I get it. lol

Thank you for explaining, I really appreciate you taking the time to do so.

Ps) As a phpbb3 user, I'm not so much into having to have the avatars in the chat, just wanted to play around with it, really. I'd rather have a bottom bar that those with Invision and PunBB seem to have now. Eh, I know you, it will all work out in the wash given some time.

Thank you again and have a nice day! Smile
radiatorsradiators
Status : No status yet...

Posts : 18
Join date : 2013-02-16
Sun 17 Feb 2013, 12:09
Hello guys, I read your suggestions on how to put the avatar here in the chat, but I can't make it working. Maybe I m putting the code in the wrong position. can you please help?

Reading this:
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: http://www.avacweb.com/t532-avacweb-chat#5323
I added the following code at the end of my chat javascript
Code:

avacweb_chat_config.message_hook.push(function(row, username, user_id, user, msg) {
    msg.innerHTML = msg.innerHTML.replace(/\b(stupid|idiot)\b/gi, '[CENSORED]');
});
but still I don't see any differences.
What else do I have to do?

I also don't understand what you mean here
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.
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.
Can you please provide some more informations?

Thanks a lot for your help

Sponsored content

 • Previous Topic • Next Topic