Invite is an EXCELLENT module and helps in growth and spread of a website.

With the background that only invited persons can register
and 'unlimited invitations' has been set as an admin option
can someone please integrate into "Invite" multiple
recepient fields and importing gmail ( as well as some other ) contacts

This is a working module here ( but not integrated into "Invite" )
http://svetlozar.net/downloads/gmail.free.zip

CommentFileSizeAuthor
#1 gmail_import.patch9.14 KBknseibert

Comments

knseibert’s picture

Status: Active » Needs work
StatusFileSize
new9.14 KB

Hi there,
i have integrated the gmail import script written by Svetlozar Petrov as a separate module, which extends the invite module.
As for now it is not fully tested, neither pretty, but it works.

How it works:
- Menu item "Get GMail contacts" added. Path invite/gmail.
- Display username / password form.
- Pass data to get_contacts function of gmail.php which returns array of contacts.
- set $_SESSION['invite_failed_emails'] which is used by invite.module.
- show invite page with gmail contacts filled in the email form.

Known issues:
- It currently requires the multiple invite functionality which is implemented in the latest (only 5.1? or is there a backport?) version of invite.
- I haven't yet contacted the original author of the import script. Due to that fact i did not change anything within the gmail.php
- As far as i know the script only uses unencrypted http to contact gmail.
- username/password form not yet validated.

Feedback appreciated.

misty3’s picture

Hi knseibert,

Congratulations on doing this, and A LOAD of thanks.

Can you please make this work for 4.7.x ??

Instead of the patch file is it possible to just upload a full file, and instruction which files to add to which folder ( eg modules folder )

Thanks again.

smk-ka’s picture

Just a quick note until time permits testing: please make sure that the wrapped script is available under GPL license, as D.org won't host anything else. If not just leave it out and add a README file with download instructions.

Cheers,
--
Stefan Kudwien
www.unleashedmind.com

gurukripa’s picture

Version: 4.7.x-1.5 » 5.x-1.0

congrats on trying for a gmail importer..when can we see it as part of a module :)
really longing for this..and a listhandler for Drupal 5.1
any ideas on this guys

gurukripa’s picture

hi..
i am a newbie..and dont know how to apply a patch..
pls cld u make it into a module so we can put it into the modules folder and make it work..
thanks

smk-ka’s picture

Just found libgmailer, a GPL compliant library:
http://sourceforge.net/projects/gmail-lite/

Check out Gmailer::fetchBox(GM_CONTACT, $box) where $box can be 'all' and 'search' (and some more), means we could add partial import of contacts. How does that sound?

gurukripa’s picture

pls tell us if this part of the module now...it wld be nice to have a gmail importer to invite friends..maybe yahoo and hotmail..will be icing on the invite cake :)

MacRonin’s picture

Tracking issue cause I'd LOVE this import functionality

audai-1’s picture

This might be worth considering

1) It's Free
2) Provides full user statistics
3) Easy cut and copy HTML

http://www.palcry.com

Best Regards,

Audai E. Louri

MacRonin’s picture

A heads up for anyone thinking of trying palcry.

1 - It is not software you control - Its a service
2 - They have no visible privacy policy (are they harvesting all these addresses for their own use?)
3 - Their TOS -Term Of Service page is missing

FiReaNGeL’s picture

Theres a module available for that now : http://drupal.org/project/dcl_importer

My only "problem" with it (it works perfectly) is that I'd like the contacts to be imported as a select list with checkboxes, not in the textarea invite.module provide. The maintainer of the module say this would require changes in invite.module - any chances this might get in?

smk-ka’s picture

Status: Needs work » Fixed

@FiReaNG3L
Couldn't said module present that checkbox list, and then pass only the selected values to invite? Anyway, this is not the right place to discuss such issues. This one has been solved.

Anonymous’s picture

Status: Fixed » Closed (fixed)
wallbay1’s picture

How can I integrate comcast ?