Hi,
This is an updated version of a patch I post a while back. I know that expanded address book is on the roadmap for 0.5 but since I had this from before I thought I wouldn't hurt to update it.
There are no changes to the database required. The patch adds a new date format to the config file but I am not certain if this is really needed, it's only used to display the contacts birthday. The patch also adds some new bits of text to the localisation for the new address book options.
The VCard class and address book show/edit are modified to include: alt email address, home and business phone/cell phone, fax and address, birthday and notes. All this information is stored in the VCard in the database.
The auto complete function is modified to include the alt email address from the VCard.
I don't know if this would work as a plugin as it is modifying the address book rather than adding a new one but may be it is worth a try. I wanted to get the patch updated first and see what happened. Also as I said I know its not on the RC timeline immediately but it's a much requested feature on the forum and having a patch knocking around can't be a bad thing, if only to see how not to do it! Any comments welcome.
Thanks,
Phil
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/Tv/jhHnJKNE/rc_addressbook.r2972.patch Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/
The VCard class and address book show/edit are modified to include: alt email address, home and business phone/cell phone, fax and address, birthday and notes. All this information is stored in the VCard in the database.
I'm thinking more and more about tight SyncML integration. This patch's functionality is a must for that. Why not apply it if code is ready and here? And it is requested...
But personally I had problems applying it to one of latest SVN revisions. Phil, would you please check again for a seamless apply on a clean SVN trunk?
Vladislav
List info: http://lists.roundcube.net/dev/