Closed (fixed)
Project:
vCard
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
16 Feb 2007 at 19:25 UTC
Updated:
1 Feb 2008 at 03:57 UTC
Jump to comment: Most recent file
I think the vCard module would be very interesting for my Drupal site. Unfortunately, I am using Drupal 5, and I cannot make vcard work.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | vcard_119845.patch | 978 bytes | Christefano-oldaccount |
| #10 | vcard.119845.txt | 15.33 KB | Christefano-oldaccount |
| #8 | vcard.tgz | 6.91 KB | dman |
| #7 | vcard_drupal5_02.patch | 17.44 KB | dman |
| #2 | vcard_drupal5_01.patch | 2.91 KB | sanduhrs |
Comments
Comment #1
sanduhrsSo I did a first try to port it to Drupal 5.
All seems to work well, expect for one thing. The following code is being added to the vCard when downloaded:
I don't know how to address this.
Anyone?
Comment #2
sanduhrsSo, here's the patch ;)
Comment #3
sanduhrsThe behavior I described in #1 seems to be gone by deactivating devel.module - see [1].
So the patch is ready to review.
vg
[1] http://drupal.org/node/130210#comment-220009
Comment #4
finedesign commentedSorry, but do you mind sending a link to the patched module? I am not strong enough in the command line to do it myself:
http://drupal.org/patch/apply
and I figure you could just send the updated module. Yes?
Thanks-
paul
Comment #5
Christefano-oldaccount commentedI'm about to start testing it myself, but I've emailed you the patched module. To keep this issue uncluttered, I've answered your question about patching at http://drupal.org/node/168647#comment-264015
Comment #6
drupalina commentedif you have a dev version for 5.x I'd love to test it out
Comment #7
dman commentedThe patch at #2 was good, although we needed the D5 .info file also.
Seeing as this project looks pretty quiet, I took it upon myself to upgrade it a little more.
Attached is a large revision for D5, including
I took some care to integrate the new fields with any that you may have already set up.
Here, for example is what the system tells us when you press the auto button on a site that already had half a profile:
Existing fields are recognised, missing ones are created.
Note this patch still doesn't include the needed .info file. Not sure how to do new files.
Comment #8
dman commentedAnd for the CVS-impaired, here's the full tarball.
Apologies for putting three features into one bundle, but I had a bit of a burst on it.
Comment #9
Christefano-oldaccount commentedThanks, dman!
The phone field isn't working in your version but geodaniel's patch at http://drupal.org/node/92785#comment-463899 will fix that. That patch is for the 4.7 version and may not apply cleanly, but it works when applied manually.
Also, the addition of
function_existson line 390 will prevent this version from loading the Contact_Vcard_Build library if PEAR or the Contact_Vcard_Build library isn't available (on shared hosting, for example). I suggest removing it so that admins can still copy the library to the vCard module directory.Comment #10
Christefano-oldaccount commentedI'd change the status to 'needs work' because of the points raised in #9 but here's a patch that addresses those points. It applies to the code in #7 and #8.
It seems that there are several people involved in this issue who want to play but can't patch files, so at the risk of making things more complicated I've also attached the vcard.module from #8 with my patch from #10. Just download vcard.119845.txt and rename it to vcard.module. Then you can use it with dman's bundle in #8.
Comment #11
dman commentedOK. The last commit here was a year ago.
We are now looking at patches on patches. Those that care - like it.
Microformats are cool and just need more uptake. (anyone visited the http://groups.drupal.org/microformats-in-drupal group recently?)
walkah has a lot on his plate.
I don't actually use vCard proper, or the dependant library, I just wanted microformats, or I'd volunteer.
Anyone interested in applying to be a co-maintainer?
I'll go in too, but like I said, I don't actually do vCard so I need a co-pilot.
Comment #12
Christefano-oldaccount commentedI'd be up for co-maintaining but I'd like to hear from walkah first. My hesitation is because it seems that Lullabot is involved in projects that are using vcard.module (I don't know the mistake was Lullabot's or Achieve Internet's or another firm's, but IncBizNet.com launched using a broken vcard.module).
Comment #13
mlncn commentedSubscribing!
benjamin, Agaric Design Collective
Comment #14
sanduhrsThe first patch in in #2 already includes the creation of the vcard.info file.
Can we please just update this module to work with Drupal 5 and introduce new features when this is done - one by one?
I attached a simple patch containing only the necessary changes to update this module to Drupal 5, including the creation of a .info file.
Any thoughts?
Comment #15
SamRose commentedsubscribe.
Comment #16
sanduhrs#2 Committed to HEAD.
Please open new issues for the for the Patch in #7.
Thanks.
Comment #17
sanduhrsRelated issues:
Address information http://drupal.org/node/93043
Telephone and URL http://drupal.org/node/92785
Comment #18
dman commentedOK. Makes sense.
Glad to see someones got commit again :-)
I've pulled the cosmetic and no-brainer bits from my all-in-one mess into http://drupal.org/node/210209
I see the URL and Telephone bits now have their own thread, so that's moot.
Remaining is only my auto-profile-builder (Which saves me heaps of time)
but that's a stand-alone feature I'll merge in (as a new issue) again after the current round of patches.
Feel free to ping this thread to tell me when a good time is, so we don't trip over volatile changes too much.
I don't want to re-roll it until the first cosmetic patch is in.
.dan.
Comment #19
sanduhrsNow is a good time :)
Comment #20
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #21
dman commentedOK, I was going to do that last week wasn't I?
The profile wizard is now available. FYI