I don't understand in which situation this is happening, but I get the following result: some username are not shown correctly. This is happening for moderators only, or at least this is clear for them.
Like SystemFri 15 Oct 2021, 04:50
Auto Save MessagesFri 26 Feb 2021, 13:31
New tutorial questionMon 15 Feb 2021, 08:12
Support iOS Emojis (and other platforms)Sun 14 Feb 2021, 01:25
Does anybody have the original Avacweb Chat CSS?Tue 09 Feb 2021, 13:40
Page 1 of 1 •
username not appearing for moderators
radiators
Status : No status yet...
Posts : 18
Join date : 2013-02-16
Posts : 18
Join date : 2013-02-16
Tue 19 Feb 2013, 10:17
LGforum
Status : Working to restore AWC!
Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Tue 19 Feb 2013, 10:59
I need information like, Forum version, AWC version, plugs in you have installed... etc. Thanks
radiators
Status : No status yet...
Posts : 18
Join date : 2013-02-16
Posts : 18
Join date : 2013-02-16
Tue 19 Feb 2013, 11:35
here is my forum: http://forum.radiators-champ.com
It's an invision. I'm using AWC 1.7 with almost everything that is defined here.
Thanks a lot for your helo
It's an invision. I'm using AWC 1.7 with almost everything that is defined here.
Thanks a lot for your helo
radiators
Status : No status yet...
Posts : 18
Join date : 2013-02-16
Posts : 18
Join date : 2013-02-16
Thu 28 Feb 2013, 10:55
so guys, any ideas? I'm clueless.
AMG
Status : No status yet...
Posts : 43
Join date : 2013-01-17
Location : Albania
Posts : 43
Join date : 2013-01-17
Location : Albania
Sat 02 Mar 2013, 18:51
Radiators read here
http://www.avacweb.com/t532-avacweb-chat
http://www.avacweb.com/t532-avacweb-chat
LGforum
Status : Working to restore AWC!
Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Sat 02 Mar 2013, 19:16
Sorry I'm not sure what's causing this issue. I need you to post your full AWC code here including plug-ins.
radiators
Status : No status yet...
Posts : 18
Join date : 2013-02-16
Posts : 18
Join date : 2013-02-16
Fri 08 Mar 2013, 16:21
I finally had some time to investigate on this issue, and I found the problem:
I had this in my css. Removing I fixed the issue.
I can't remeber anymore where I found this, but this is interfering with the JS
I had this in my css. Removing I fixed the issue.
- 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 ';
font-size: 10px;}
I can't remeber anymore where I found this, but this is interfering with the JS
- Code:
avacweb_chat_config.message_hook.push(function(row, username, user_id, user) {
user.innerHTML = user.innerHTML.replace(/@(?=\W)/, 'Mod: '); //perform @ replacement
});
avacweb_chat_config.user_hook.push(function(row, username, user_id) {
var u = row.getElementsByTagName('a')[0];
if(u) u.innerHTML = u.innerHTML.replace(/@(?=\W)/, 'Mod: '); //perform @ replacement
});
Sponsored content
|
|