RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Third Party Contributions > API Based Plugins

For more information about the ads and why they're here, please see the FAQ

Reply
  #1  
Old 10-28-2009, 06:42 PM
corbosman's Avatar
Registered User
 
Join Date: Dec 2008
Location: Amsterdam, The Netherlands
Posts: 164
Default addressbook in compose window

Latest version of this plugin: 2.2 (only works with RC 0.4+, use 1.5.1 for RC 0.3.1 and lower)

REQUIRED: jqueryui plugin (http://underwa.ter.net/roundcube-plugins/)

Important information: as of version 2.0 it's no longer necessary to configure addressbooks. Just comment out the $rcmail_config['compose_addressbooks'] and the plugin will autodetect all available addressbooks. If you dont want that, then add addressbooks manually.

This plugin is compatible with any other plugin that behaves like an addressbook. Just make sure you either comment out $rcmail_config['compose_addressbooks'] or add the extra addressbooks manually. The global addressbook for example is named 'global' and can be added as such:

$rcmail_config['compose_addressbooks'] = array('global', 'sql');

You can download the plugin here: http://underwa.ter.net/roundcube-plugins/

Last edited by corbosman; 07-07-2010 at 02:08 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 10-29-2009, 05:45 AM
skaero's Avatar
Super Moderator
 
Join Date: Jun 2006
Location: USA - New Mexico
Posts: 1,274
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default

Sound like a good plugin, please publish it when you get done with it.
1. I would just have a setting for it
2. How about a alphabetical list (a|b|c|d|e|...) by First or Last name (maybe a setting to choice) its a great way to find some one quickly.
3. I think that is the simplest way to do it, you should have some sort of message to let the user know that the contacts where added so they don't get added twice.
__________________
SKaero.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 10-29-2009, 07:09 AM
corbosman's Avatar
Registered User
 
Join Date: Dec 2008
Location: Amsterdam, The Netherlands
Posts: 164
Default

I definately want to publish it, thats why im asking feedback, to bring in as many things people would like. Im already as far as being able to click names and have them enter into one of the fields, so the actual bulk is done. It's just a matter of UI/presentation.

I'm not sure a first/last name would work, as many contacts only use 'name', and not first/last names. Like, the contact add button in the message display doesnt do anything with first/last name when it enters a contact.

I think im just going to start with a scroll list, and see what happens and sort it exactly like the normal adres book screen.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-30-2009, 02:39 PM
corbosman's Avatar
Registered User
 
Join Date: Dec 2008
Location: Amsterdam, The Netherlands
Posts: 164
Default

I have a first beta version available of this plugin. If anyone wants to check it out, you can download it here

Some features:
  • adds a button on the compose window toolbar that opens up your addressbook in a seperate window
  • you can double click a contact to have it added as a recipient
  • you can select 1 or more contacts, and use one of the buttons to add it to recipient/cc/bcc
  • the search box limits the contacts to those whose name or email address match the search string.

I have tested this with Firefox 3, IE8, Safari 4, and Chrome. I welcome feedback, remarks, translations, bugreports, patches, additions, and anything else you can think of.

Known issues:
  • I need a different icon for the addressbook. Unfortunately I cant find the default RC addressbook icon in 32x32 format.
  • There are some minor CSS differences between IE and normal browsers. Nothing that seems too problematic.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 10-31-2009, 05:18 AM
rosali's Avatar
Super Moderator
 
Join Date: Dec 2007
Location: Germany
Posts: 1,647
Default

Good job! Here is the German localization (de_DE):

PHP Code:
<?php

$labels 
= array();
$labels['compose_addressbook_buttontitle'] = 'Adressbuch anzeigen';
$labels['compose_addressbook_title'] = 'Adressbuch';
$labels['compose_addressbook_close'] = 'Schließen';
$labels['compose_addressbook_noselect'] = 'Sie haben keine Adresse ausgewählt';
$labels['compose_addressbook_added'] = 'Adresse wurde hinzugefügt';

?>
Regarding the icon, please mail to devs list. I always find a volunteer there when it comes to designing an image.
__________________
Regards,
Rosali

__________________
MyRoundcube Project http://myroundcube.googlecode.com
MyRoundcube Online Demo http://mail4us.net
MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube
Mailing List http://mail4us.net/?_action=plugin.nabble
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 10-31-2009, 07:10 AM
corbosman's Avatar
Registered User
 
Join Date: Dec 2008
Location: Amsterdam, The Netherlands
Posts: 164
Default

Thanks for the translation!

I dont need a new icon. I want to use the existing task icon, but i need it bigger for the toolbar. It's a standard Thunderbird icon, but i cant find the source. I can find Firefox icon sources, but not Thunderbird. I mailed the dev list about it a few days ago.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 10-31-2009, 08:01 AM
corbosman's Avatar
Registered User
 
Join Date: Dec 2008
Location: Amsterdam, The Netherlands
Posts: 164
Default

I updated the plugin to version 0.2 to add the german translation and a bugfix.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 10-31-2009, 08:50 AM
skaero's Avatar
Super Moderator
 
Join Date: Jun 2006
Location: USA - New Mexico
Posts: 1,274
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default

Thanks for releasing it I will try it out as soon as I get time. I have attached the address book icon in its 32x32 size. Hope its what you were looking for!
Attached Images
File Type: png addressbook-32x32.png (4.0 KB, 243 views)
__________________
SKaero.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 10-31-2009, 10:12 AM
corbosman's Avatar
Registered User
 
Join Date: Dec 2008
Location: Amsterdam, The Netherlands
Posts: 164
Default

Perfect! Exactly what I needed. Where did you find it? I really have to know

I'll update the tar to 0.3 soon and post a notice here. Gotta go for a long run first.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 10-31-2009, 10:37 AM
skaero's Avatar
Super Moderator
 
Join Date: Jun 2006
Location: USA - New Mexico
Posts: 1,274
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default

The icons where made by Stephen Horlander and Kevin Gerich (http://kmgerich.com/) So I checked out were they had used there icons, and then took it out of the the Thunderbird skin files.
__________________
SKaero.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:26 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2006-2008 RoundCube Webmail Community