Roundcube Community Forum

 

way to store contacts without an email address

Started by eMarcus, November 01, 2013, 05:40:25 AM

Previous topic - Next topic

eMarcus

Hi,

Is there a way to store contacts in the addressbook that do not have an email address?

I would like to use Roundcube as my main addressbook including people without an email address. However, when I try to add them, I get an error message to add a valid email address on saving...

thanks
bye
Marcus.

Foxeronie

Hi,

is there a solution for this problem?
I have contacts without an email address too.
Is there a way to disable the email as required information?

Best regards,
Foxeronie

ABerglund

No, there is not currently any way to do this. Since RC is an email client, its contact book is and needs to be email-centered. As just a single example, having contacts with no email in them would cause many issues with the address autocomplete.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

rosali

./lib/Roundcube/rcube_contacts.php

#1- Look for function validate
#2- Enter after opening bracket { ... return true; ... in order to disable all validations.

I have disabled the obligatory email field in my carddav plugin without any issues.
Regards,
Rosali

Foxeronie

Quote from: rosali on April 07, 2014, 11:34:27 AM
./lib/Roundcube/rcube_contacts.php

#1- Look for function validate
#2- Enter after opening bracket { ... return true; ... in order to disable all validations.

I have disabled the obligatory email field in my carddav plugin without any issues.

Perfect. Thank you very much. :)

Best regards,
Foxeronie

ABerglund

Quote from: rosali on April 07, 2014, 11:34:27 AM
./lib/Roundcube/rcube_contacts.php

#1- Look for function validate
#2- Enter after opening bracket { ... return true; ... in order to disable all validations.

I have disabled the obligatory email field in my carddav plugin without any issues.
Shows what I know.  ::)

Good info, Rosali!
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

rosali

Please note that this is a hacky patch. AFAIK there is no bad impact for autocomplete or other contacts related tasks.
Regards,
Rosali