Closed (duplicate)
Project:
Invite
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2012 at 20:34 UTC
Updated:
25 Aug 2015 at 16:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
neerajskydiver commentedwe can send multiple invites with this patch to invite module "Invite_multiple_email_addresses_separated_by_comma-[1653254].patch"
After applying this patch to invite module,
Visit this url "invite/add/invite_by_email/multiple".
enter email addresses as comma seperated values.
Comment #2
neerajskydiver commentedMade new patch to add a local menu on user profile page "Multiple Invite".
Comment #3
neerajskydiver commentedComment #4
kaizerking commentedI can confirm this works great
but i am getting this error
Notice: Undefined offset: 0 in invite_add_multiple() (line 185 of D:\Ampps\www\drupaltest\sites\all\modules\invite\includes\invite.admin.inc).
Comment #5
neerajskydiver commentedError was due to default value of a field which was set to null, instead of 0. This has been fixed in new attached patch.
Comment #6
pitxels commented@neerajskydiver
Hi Thanks for the patch, the user sending the invite is not getting userpoints, I changed the hardcoded 'uid' => 1 to 'uid' => $user->uid and that is saving the invite on the correct user, but no userpoints are awarded. Any idea why?
Comment #7
kaizerking commented@pitxels did u set user points?
Comment #8
pitxels commented@kaizerking: I have userpoints installed and working fine if that is what you are asking, how else could I expect to get the points.
Invite works well with userpoints. My problem is with the patch @neerajskydiver posted, using the textarea for invites doesn't award the user any points at all.
Comment #9
littledynamo commentedThis patch works for the default invite_by_mail type but not for custom invite types (created via 'Add invite type' at /admin/structure/invite-types).
Comment #10
BeaPower commentedHas this been committed yet?
Comment #11
BeaPower commentedNone of the patches work.
Comment #12
tajdar commentedThanks in advance.
@neerajskydiver
The above patch working great for Yahoo,Gmail but not working with the provided E-mail address "fazal@xululabs.com"
The above E-mail address is from www.godaddy.com
Comment #13
neerajskydiver commentedtajdar, this must be some other issue your mail server is not accepting the email. Have you tried with other email IDs. Not able to reproduce from my side. Mails are going to 3 domain specific email IDs I have. Have you check the mail server log?
Comment #14
Coupon Code Swap commentedJust a note, you need to visit the special url:
invite/add/invite_by_email/multiple
otherwise, you will get an error if you try send to multiple emails from the block.
Comment #15
tjhart87 commentedAn alternative solution can be found here: https://www.drupal.org/node/1293118#comment-8527939
The above patch does not require a special URL.
Comment #16
ckngMarked as duplicate.
#1293118: Multiple emails support for Invite form solution is preferred.