Roundcube Community Forum

 

Rouncube webmail notifier

Started by pgy, April 17, 2009, 03:54:49 AM

Previous topic - Next topic

rosali

As you see here ... WebMail Notifier - Notifier for gmail, yahoo, hotmail and more ... all scripts (except Squirrelmail) are made for hosting services. The squirrelmail script would also fail if the host does not use the default skin or if there are some modification to the default skin in use.

So a script for Roundcube which parses the message count from the default skin output isn't a good solution.

Either you ask Roundcube devs (Roundcube Webmail) to implement a request which returns just the messagecount or we do it by a plugin which could be part of the default Roundcube release (if devs accept the plugin of course).
Regards,
Rosali

neon

I see, so it seems more complicated than I thought.

I asked the admin of the mail server and he said it's no problem to install a plugin when it's available. The Server will move to another platform during the next weeks, where the current version of RC is installed.

I Don't know if it's worth the effort, but the Notifier plugin is a good and easy to use tool, that can also handle multiple mail accounts and is updated frequently, so supporting it would be a good benefit in my opinion.

mmaraghy

I would also be interested in having the webmail notifier plugin for firefox work with roundcube. It works really well with the services it currently supports, and it would be a nice addition for roundcube users.

rosali - do you think you could make a roundcube plugin and webmail notifier user script to make this work when you have time?

rosali

I have it on my ToDo's for next weekend. This weekend I was busy with coding RSS plugin which will be released soon.
Regards,
Rosali

mmaraghy

Rosali - Thanks for putting the webmail notifier on your to do list. Looking forward to your RSS plugin, too.

rosali

#20
Here is my first attempt. It is working great for me. Unzip into plugins folders and follow instructions:

/** USAGE
 *
 * #1- Register plugin ("./config/main.inc.php ::: $rcmail_config['plugins']").
 * #2- Edit Webmail Notifier interface js script: ./plugins/webmail_notifier/scripts/roundcube.js
 * #3- Distribute roundcube.js to your users
 *
 **/
 
/** NOTICE
 *
 * #1- Designed for Webmail Notifier Firefox Addon 2.1 (http://webmailnotifier.mozdev.org)
 * #2- Edit $flag below (return unseen or recent count):
 * #3- Due to restrictions in Webmail Notifier plugin will not work if Roundcube is running
 *     on a test environment on localhost!
 *     ->Workaround for Windows: Fake hosts file
 *
 **/  
Regards,
Rosali

rosali

Some completition:

Currently a browser check that the plugin is only active for Firefox is missing.

It is also planned to add a Preference Section:

Check Flag RECENT or UNSEEN
Get Webmail Notifier Addon
Get Webmail Notifer Client Script

Any other ideas about further setting options?

Also I plan to remove the options to choose what folders should be checked
from the client script. This job will be done by the usersettings php code.

Finally I will code the "Get Webmail Notifier Script" part to return a script code
that has not to be edited by the end user anymore.
Regards,
Rosali

lacri

nice work rosali :) many thanks

mmaraghy

works great. thanks for all your hard work on this.

rosali

#24
Here is the final release.

There is no (easy) way to detect if webmail notifier firefox addon is installed. So, I display just display a customizable downlod link even it the plugin is already there.

Enjoy - it is bundled with MyRoundcube plugins.

EDIT: Attachment removed. Get plugin from http://myroundcube.googlecode.com
Regards,
Rosali

mmaraghy

Rosali -

Very nice work as usual. The plugin works perfectly. I really like the feature that names the script with the provider name for download.

Thanks again.

rosali

Webmail Notifier plugin is now available at WMN official website Get it!
Regards,
Rosali

lacri

Wow Rosali thats now perfect with your last changes :)

Many thanks

tparvais

sorry for this dummy question:

how to install ?

I unzip plugin in right directory, edit config.php and add the plugin in roundcube config_file.

I install the firefox plugin . what kind of email check type should i Use ? There is only POP3, that does not work (not HTTP....)

should I install the javascript script from roundcube plugin into firefox plugin ?

Tx

rosali

Posted via Mobile Device

Install plugin, navigate into RC settings, download the script from there and add to firefox addon.
Regards,
Rosali