I'd like to provide some kind of alert when a user enters the chatroom. My chatroom has long periods of no activity and it would be nice to have some kind of audio alert when someone entered the room. Can those familiar with this module quickly tell me if this is relatively doable? If so, can the authors provide some general hints on how to modify the module and make this happen? I'm willing to supply and write the patch. Thanks!
Comments
Comment #1
Steve Dondley commentedI was able to get this working through a little hack. When I get time to write something better, I will post it up.
Comment #2
darren ohSpecification for official feature:
Comment #3
darren ohComment #4
Steve Dondley commentedI would like to add one other spec:
1) The alert should be both visual and aural. Visual in case the user has speakers turned off, aural in case they are across the room.
Comment #5
darren ohAn alert would be aural if the browser was configured for it. Do you mean that a specific sound file should be played?
Comment #6
Steve Dondley commentedYeah, some kind of unique sound would be ideal.
In IE, you get a single, quick piano note to play with an alert box by default. With FF, I got nothing. And I don't know how to configure FF to play a sound with a regular alert box. I'm sure it can be done but that's a hassle. I can only assume other users will be in the same boat and 99% of folks aren't going to go out of their way how to figure it out.
So, in my opinion, and if it's not too much trouble, having a small audio file get downloaded to a user's computer and have it play when the alert comes up would be ideal.
Comment #7
darren ohDoes anyone have a free audio file to suggest?
Comment #8
darren ohAdded in CVS commit 72939. Rather than using an alert box, I made the window come to the front.
Comment #9
(not verified) commented