Hey,
Here is a repost of the Mod on the old Forum from Essien.
The address book was a little too simple for me so I added some options to it. Once I figure out the structure of roundcube a bit more I'll make it look purdier.
This is my first attempt at a mod ever so let me know if I should document this different.
Run the following on your roundcube database using phpmyadmin.
ALTER TABLE `contacts` ADD `zip` VARCHAR(10) NOT NULL AFTER `surname` ;
ALTER TABLE `contacts` ADD `state` VARCHAR(40) NOT NULL AFTER `surname` ;
ALTER TABLE `contacts` ADD `city` VARCHAR(40) NOT NULL AFTER `surname` ;
ALTER TABLE `contacts` ADD `address` VARCHAR(255) NOT NULL AFTER `surname` ;
ALTER TABLE `contacts` ADD `cellphone` VARCHAR(15) NOT NULL AFTER `surname` ;
ALTER TABLE `contacts` ADD `workphone` VARCHAR(15) NOT NULL AFTER `surname` ;
ALTER TABLE `contacts` ADD `homephone` VARCHAR(15) NOT NULL AFTER `surname` ;
Open program/localization/en_US/labels.inc
Around line 139 After
$labels['email'] = 'E-Mail';
add
//Added for modified addressbook
$labels['homephone'] = 'Home Phone';
$labels['workphone'] = 'Work Phone';
$labels['cellphone'] = 'Cell Phone';
$labels['address'] = 'Address';
$labels['city'] = 'City';
$labels['state'] = 'State';
$labels['zip'] = 'Zip Code';
Save and Close.
Open program/steps/addressbook/show.inc
Around line 56 replace
$a_show_cols = array('name', 'firstname', 'surname', 'email' );
with
$a_show_cols = array('name', 'firstname', 'surname', 'email', 'homephone', 'workphone', 'cellphone', 'address', 'city', 'state', 'zip');
Save and close
Open program/steps/addressbook/edit.inc
Around line 68 replace
$a_show_cols = array('name', 'firstname', 'surname', 'email' );
with
$a_show_cols = array('name', 'firstname', 'surname', 'email', 'homephone', 'workphone', 'cellphone', 'address', 'city', 'state', 'zip');
Save and close
Open program/steps/addressbook/save.inc
around line 31 replace
$a_show_cols = array('name', 'firstname', 'surname', 'email' );
With
$a_show_cols = array('name', 'firstname', 'surname', 'email', 'homephone', 'workphone', 'cellphone', 'address', 'city', 'state', 'zip');
Save and close
All Done...assuming I didn't miss anything it should look like the attached images.
Have Fun!