Roundcube Community Forum

Release Support => Requests => Topic started by: Nos on August 16, 2009, 12:07:05 AM

Title: New Mail notification sound
Post by: Nos on August 16, 2009, 12:07:05 AM
One plugin that Squirrelmail has that I really like is when you received a new message a .WAV file will play.

Since RoundCube uses Ajax to refresh and check for new messages, it could be fairly simple, for some one familiar with the script, to implement a call to a sound file if there are new messages.

There are already PHP addons available for scripts such as PHPforums/Nuke and Vbulletin and I can provide links if it will help.
Title: New Mail notification sound
Post by: rosali on August 18, 2009, 04:03:35 AM
Check myroundcube - Project Hosting on Google Code (http://myroundcube.googlecode.com) in a few days. I have coded a plugin which is currently tested. I will release it in a few days.
Title: New Mail notification sound
Post by: Nos on August 19, 2009, 05:43:37 PM
That is great. If you need some one to help test, please let me know.
Title: New Mail notification sound
Post by: rosali on August 20, 2009, 12:48:36 AM
It is online. Notice, you have to update to recent SVN trunk. Link is on the project wiki page.
Title: New Mail notification sound
Post by: Nos on August 20, 2009, 02:37:29 PM
I do not see it. Could you please give me the direct link? Thank you.
Title: New Mail notification sound
Post by: rosali on August 21, 2009, 01:08:55 AM
myroundcube - Project Hosting on Google Code (http://myroundcube.googlecode.com) ... it is bundled in the download section.
Title: New Mail notification sound
Post by: Nos on August 26, 2009, 10:29:33 PM
rosali this is great. I love it and it works perfectly.

Is there any chance you would consider making it so you can have more than 1 MP3 choice?

I would love to be able to upload more MP3's and have a drop down in the settings section to choose which sound you would want.
Title: New Mail notification sound
Post by: rosali on August 27, 2009, 12:44:05 AM
It is not a problem to have a choice of sounds. But I won't make it to allow users upload their own files.
Title: New Mail notification sound
Post by: Nos on August 27, 2009, 01:58:17 AM
No, I do not want users to upload sounds. That could prove disastrous.

I would upload the sounds to the server. Users only have the option to choose from the sounds on the server from a drop down box.
Title: New Mail notification sound
Post by: rosali on September 14, 2009, 12:51:23 AM
sound_notifier plugin now has multiple sounds.
Title: New Mail notification sound
Post by: ABerglund on October 29, 2009, 04:17:53 PM
I had this working on my test system, but recently it stopped. Currently using 3031, I believe. Any thoughts on where I should look?
Title: New Mail notification sound
Post by: rosali on October 30, 2009, 04:13:53 AM
It still works for me on recent SVN trunk. Any chance for a test access for me (test account and ftp access to RoundCube)?
Title: New Mail notification sound
Post by: ABerglund on October 30, 2009, 11:25:23 AM
Never mind, Rosali. It turns out that it still works everywhere except in Safari (4.0.3 in Snow Leopard) on my own laptop. Definitely a browser issue, not a problem with the plugin.
Title: New Mail notification sound
Post by: ABerglund on October 30, 2009, 06:09:58 PM
Figured it out. I had the Click-to-Flash (Flash-blocking) plugin enabled. That plugin prevents the sounds from playing. I had to manually edit the plugin's prefs file to add my Roundcube box to the Flash whitelist.
Title: New Mail notification sound
Post by: rosali on October 31, 2009, 01:54:11 AM
The plugin use soundmanager2. So if anyone else has any problems please refer to:

SoundManager 2: Javascript Sound For The Web (http://www.schillmania.com/projects/soundmanager2/)