ultimatemember / Extended

All custom extended features and codes
16 stars 14 forks source link

VCard problem with the phone field #20

Closed medAnnas closed 9 months ago

medAnnas commented 1 year ago

Hello, when I tried to import a contact the " tel " word appeared with the numbers what cause the problem how I can solve this?

medAnnas commented 1 year ago

any update or solution for this problem ?

MissVeronica commented 1 year ago

You can edit this file:

../plugins/um-vcard/vendor/jeroendesloovere/vcard/src/Formatter/Property/TelephoneFormatter.php

and in the line 23 remove tel:

';VALUE=' . $this->telephone->getValue() . ':' . $this->telephone->getTelephoneNumber();

UM Support Forum issues https://wordpress.org/support/topic/where-to-remove-tel-from-the-telephone-field/ https://wordpress.org/support/topic/vcard-tel-word-appear-when-you-try-to-import-a-contact/

medAnnas commented 1 year ago

Thank you for your help, it works!