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)
username not appearing for moderators Vote_lcapusername not appearing for moderators Voting_barusername not appearing for moderators Vote_rcap 
Mr.Easybb (1587)
username not appearing for moderators Vote_lcapusername not appearing for moderators Voting_barusername not appearing for moderators Vote_rcap 
Bloodbath (745)
username not appearing for moderators Vote_lcapusername not appearing for moderators Voting_barusername not appearing for moderators Vote_rcap 
Rukiafan (533)
username not appearing for moderators Vote_lcapusername not appearing for moderators Voting_barusername not appearing for moderators Vote_rcap 
Dom (513)
username not appearing for moderators Vote_lcapusername not appearing for moderators Voting_barusername not appearing for moderators Vote_rcap 
puppycheese (446)
username not appearing for moderators Vote_lcapusername not appearing for moderators Voting_barusername not appearing for moderators Vote_rcap 
pedro (330)
username not appearing for moderators Vote_lcapusername not appearing for moderators Voting_barusername not appearing for moderators Vote_rcap 
Neymar (301)
username not appearing for moderators Vote_lcapusername not appearing for moderators Voting_barusername not appearing for moderators Vote_rcap 
Hitsu (281)
username not appearing for moderators Vote_lcapusername not appearing for moderators Voting_barusername not appearing for moderators Vote_rcap 
Flora (275)
username not appearing for moderators Vote_lcapusername not appearing for moderators Voting_barusername not appearing for moderators Vote_rcap 


username not appearing for moderators

radiatorsradiators
Status : No status yet...

Posts : 18
Join date : 2013-02-16
Tue 19 Feb 2013, 10:17
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.
username not appearing for moderators I1hJ2Qh
LGforumLGforum
Status : Working to restore AWC!

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
radiatorsradiators
Status : No status yet...

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
radiatorsradiators
Status : No status yet...

Posts : 18
Join date : 2013-02-16
Thu 28 Feb 2013, 10:55
so guys, any ideas? I'm clueless.
AMGAMG
Status : No status yet...

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
LGforumLGforum
Status : Working to restore AWC!

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.
radiatorsradiators
Status : No status yet...

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.
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