Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
04/04/2014 at 6:13 pm #284370
Well, you said you had a testing environment you can install right over top, you will not lose any data. The idea is just to see if the issue is fixed in the dev version of the plugin. You would revert back to the original version afterwards as this version is still in work and not quite ready for release.
As always, make a quick backup of your testing db that way you can revert if needed.
Hope that helps!08/14/2014 at 8:57 am #300862KasperGuest
We are experiencing the same thing – first line is blank in vCard on mac, and address book won’t accept it. Same for Safari, Firefox and Chrome.
We have found that if we change the extension from .vcf to .txt in the code, the downloaded file do not have a first blank line.
But we have not figured out why this happens, and why it only happens using the .vcf extension.
Any ideas?08/14/2014 at 11:08 am #300874
Not having a Mac makes this impossible for me to track down as to why… I don’t think I would have ever thought of changing the file extension and I have no clue why changing it would matter. If you have moment, could you try something for me?
connections.phpfile where you change the file ext, can you change the entire header section to this:
header( 'Content-Description: File Transfer'); header( 'Content-Type: application/octet-stream' ); header( 'Content-Disposition: attachment; filename=' . $filename . '.vcf' ); header( 'Content-Length: ' . strlen( $data ) ); header( 'Pragma: public' ); header( "Pragma: no-cache" ); //header( "Expires: 0" ); header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' ); header( 'Cache-Control: private' ); // header( 'Connection: close' ); ob_clean(); flush(); echo $data; exit;
And then in the
class.entry-vcard.phpfile, change line 317 to this:
$this->card .= "END:VCARD";
Let me know if this solves the issue.08/14/2014 at 6:33 pm #300957
I think this is the solution, finally!
I went out and got myself a Mac mini. Clicking the link opened the vCard right up in Addressbook confirming if I wanted to import. After clicking Import, the vCard imported without any issues. This was using Safari. In Chrome, the file downloaded into the Downloads folder. Double clicking the file opened it in Addressbook confirming the import. Again, it imported without issue.
You cannot reply to this support topic. Please open your own support topic.