Rainbow name and sound problem

Support area for phpBB's mChat extension
Posts: 1
Joined: 10 Aug 2022, 22:38

Rainbow name and sound problem

Post by Warr007 »

Hello, i use a javascript in my theme for rainbow username.
The script is applied on .username-coloured.
So the problem is if i post me or other person who have "effect" on their name a message on chat, the name on mChat appear normal with Legend Color.
But if i refresh the page, name will be appear with rainbow effect, or glow.
GIF HERE: https://gyazo.com/eb15822e60a514b54d4d454dd46019e8

And a second problem, the sound don't work.
Any solutions to solve that?
User avatar
mChat developer
Posts: 1173
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: Rainbow name and sound problem

Post by kasimi »

Hi Warr, whatever code adds the rainbow to the name when you reload the page must also be executed when a new chat message arrives. Without the code for the rainbow I can't help much further.

Who is online

Users browsing this forum: Bing [Bot], CCBot [Bot] and 0 guests