Fernando Yet To Die
Member
Posted 1 year ago #
Hi!
WOW!
Quick Chat is AMAZING! Thank you!
However, my user list shows a comma at the end of each username, how can I remove that?
Guest1,
Guest2,
Guest3,
I want like this:
Guest1
Guest2
Guest3
Strange thing is... When there is only ONE person inside my chat, I don't get any commas. It shows like this:
Guest1
Please help, thank you!
See for yourself: http://diablobra.com - click on the demon skull button at your bottom left to open the chat.
Hello. Comma should only be shown when user list position is set to "top". Is this your case or for you or comma shows when your user list is set to "left" or "right"?
Fernando Yet To Die
Member
Posted 1 year ago #
Ah! Yeah, it is set to top :D
And when I put left/right I got no commas!
Any chance you can point me out to the java line/php line where I can erase the commas?
I hacked my css to bring the user list to the right side, without knowing these options to do automatically, so when I change from top to right/left, everything breaks.
:D
In PHP see line 1194 from v 2.41 with code:
if ($userlist_position == 'top' && $u != end($users)){
$string_all .= ',';
}
In JS see line 374 with code:
if ($userlist_position == 'top' && $u != end($users)){
$string_all .= ',';
}
Good luck!
Fernando Yet To Die
Member
Posted 1 year ago #