General > Support

Disabling sounds

(1/1)

grdzo32:
Hi, I'm hoping there is a way to disable sounds as I don't want our non-techie users to get the popup about installing a plugin.

In the features list on the website it said there is a way to do this, but I can't find it.

I tried going into the user.js and chat.js files and deleting the playSound() but it doesn't seem to work - or at least it doesn't stop the popup about installing a plugin.

Any thoughts? I really like the system, this is my only concern so far.

grdzo32:
I think I figured out how to disable sounds altogether, but is there a way to disable it only for the client (not for the operator)?

Like I said the main problem is that plugin install prompt. It's real confusing to them.

Please help.

sameraining:
Care to share how you disabled sound?? :)

Edit: I think I've managed to disable sounds by commenting out any relevant lines but it's getting that popup that it wants to install addons! I don't think my users care about sound that much but probably don't want to be scared by weird popups. Tested on Mac, Windows and Linux and they all do strange things.

2501:

--- Quote from: grdzo32 on June 29, 2010, 04:41:52 PM ---....  but is there a way to disable (the sound) only for the client (not for the operator)?



--- End quote ---

I would like to disable the sound for clients too. Is there an solution meantime which I have not found? thx in advance :)

faf:
In Mibew 1.6.x there are no simple way to do that.

You should patch the js/source/chat.js file and rebuild javascripts using ant.

I've attached simple quick'n'dirty patch that does what you need. But don't ask me to apply it for you.  ;)

Also you'll probably need to remove useless "toggle sound" button from the chat template. But it's not a big deal.

Navigation

[0] Message Index

Go to full version