Author Topic: Rouncube webmail notifier  (Read 32444 times)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Rouncube webmail notifier
« Reply #15 on: January 14, 2010, 10:19:55 AM »
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
__________________
MyRoundcube Project (commercial)

Offline neon

  • Newbie
  • *
  • Posts: 4
Rouncube webmail notifier
« Reply #16 on: January 14, 2010, 11:09:53 AM »
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.

Offline mmaraghy

  • Jr. Member
  • **
  • Posts: 28
Rouncube webmail notifier
« Reply #17 on: January 16, 2010, 02:13:58 PM »
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?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Rouncube webmail notifier
« Reply #18 on: January 17, 2010, 03:01:27 AM »
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
__________________
MyRoundcube Project (commercial)

Offline mmaraghy

  • Jr. Member
  • **
  • Posts: 28
Thanks
« Reply #19 on: January 17, 2010, 10:10:19 AM »
Rosali - Thanks for putting the webmail notifier on your to do list. Looking forward to your RSS plugin, too.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Webmail Notifier Plugin
« Reply #20 on: January 19, 2010, 11:05:10 AM »
Here is my first attempt. It is working great for me. Unzip into plugins folders and follow instructions:
Code: [Select]

/** 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
 *
 **/  
« Last Edit: January 19, 2010, 02:31:27 PM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Rouncube webmail notifier
« Reply #21 on: January 20, 2010, 05:05:53 AM »
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
__________________
MyRoundcube Project (commercial)

Offline lacri

  • Full Member
  • ***
  • Posts: 179
    • http://www.php-lexikon.de
Rouncube webmail notifier
« Reply #22 on: January 20, 2010, 05:07:14 AM »
nice work rosali :) many thanks

Offline mmaraghy

  • Jr. Member
  • **
  • Posts: 28
Rouncube webmail notifier
« Reply #23 on: January 20, 2010, 10:58:53 AM »
works great. thanks for all your hard work on this.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
webmail notifier plugin is finished
« Reply #24 on: January 21, 2010, 03:50:24 PM »
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
« Last Edit: July 23, 2010, 12:39:15 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline mmaraghy

  • Jr. Member
  • **
  • Posts: 28
Great!
« Reply #25 on: January 21, 2010, 06:27:40 PM »
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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Rouncube webmail notifier
« Reply #26 on: January 25, 2010, 05:12:28 AM »
Webmail Notifier plugin is now available at WMN official website Get it!
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline lacri

  • Full Member
  • ***
  • Posts: 179
    • http://www.php-lexikon.de
Rouncube webmail notifier
« Reply #27 on: January 25, 2010, 05:59:11 AM »
Wow Rosali thats now perfect with your last changes :)

Many thanks

tparvais

  • Guest
how to install
« Reply #28 on: February 01, 2010, 06:15:29 AM »
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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Rouncube webmail notifier
« Reply #29 on: February 01, 2010, 07:18:27 AM »
Posted via Mobile Device

Install plugin, navigate into RC settings, download the script from there and add to firefox addon.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)