RSVP module is great for handling invitations, but Signup is great for letting non-invited people signup to an "open" event and also catches scheduling conflicts, etc. Signup includes a function signup_sign_up_user we should be able to call from rsvp if the response is "yes" and the signup module exists and the event is signup-enabled.

I messed around with this a bit tonight and will try and roll a patch tomorow.

Comments

webchick’s picture

Status: Active » Needs review
StatusFileSize
new1.14 KB

Ok, here we go. The logic of this may need to change depending on the outcome of Signup's allowing anonymous users patch: http://drupal.org/node/67066

webchick’s picture

Status: Needs review » Needs work

Marking this down to "code needs work"... want to make it so canceling an rsvp cancels the signup as well, and would like to get the communication working both ways (so when a user cancels a signup, their RSVP is canceled).

Patrick Nelson’s picture

Thanks for this, webchick!

I've literally just logged in, looking for precisely this patch - amazing.

Tested it too and can confirm that it works beautifully.

Regards

Patrick

hirstpf1’s picture

Nice idea. May need caution when using with signup_ecommerce contrib module, wherein people only get signed up when they have paid for the product on the event page. RSVPing would allow them to sign up without paying, RSVP is still useful for events with product (ie ticket) attached, since groups can communicate with eachother about their intentions to attend some event. Not sure what the logic would be to have it both ways!

colan’s picture

StatusFileSize
new1.44 KB

The above patch is great so far, but it only works with registered users; it won't sign up anonymous users. This patch adds anonymous user signups.

dww’s picture

mostly just subscribing, and offering that if there are any changes to signup.module that need to happen to make this easier, i'd be happy to review/commit them. getting these 2 modules to play nicely together would be a big usability win...

csc4’s picture

Subscribing - this would be great.

Will it make the v5 cut deadline? - ie will it be in the v5 release?

owahab’s picture

Assigned: webchick » owahab

Thank you all for the great help.
This feature will be moved to 5.x version when it's available.

owahab’s picture

Component: Code » Integration
owahab’s picture

The integration will start to get focus as soon as the code freeze starts.

drupalina’s picture

sorry... is this integration between RSPV and Signup already committed??? If so, which versions of both RSPV and Signup shall I get? the stable or dev?

this would be a great feature to have so that all of user's events and invites are in one place.

thank you

owahab’s picture

This code isn't yet committed.

Walt Esquivel’s picture

Status? Thanks!

geek-merlin’s picture

bump?

patchak’s picture

Owahab, I tried to contact you several times in the last week to have some news about the sponsoring of this issue. I tried to send you mails by replying to earlier messages, and I also tried to contact you from your contact form. Are you getting my mails?? Please respond to those mails as now I really have to find a solution to this issue and I was expecting to receive news from you at the end of april.

should I look for someone else to do this job asap?? Please at least give me some update.
Patchak

geodaniel’s picture

Not sure if RSVP is still active, but subscribing to this in case it progresses.

ulf1’s picture

Still interested in getting the code into RSVP for Drupal 6.0?

I have some spare time over the Holidays to make it happen.

~
Ulf

pillarsdotnet’s picture

StatusFileSize
new3.33 KB

Applied the patch in #5 and it almost worked. Attached corrected patch fixes three problems:

1. In one place the "module_exists()" function was incorrectly spelled "module_exist()" resulting in a fatal error on rsvp "Yes" responses.

2. In the signup integration code, "signup_list_user_signups()" must be preceded by an include_once() line because the function lives in a ".inc" file.

3. Adjusted code in two places because the event module no longer stores dates as unix timestamps, at least in my install.

Versions used:

signup: 5.x-2.7 (datestamp 1228189529)
rsvp: 5.x-1.x-dev (datestamp 1228090432)
event: 5.x-2.x-dev (datestamp 1228176291)

fortressgame’s picture

I realize you are all talking about 5.x but I really need signup and rsvp to be integrated for 6.x.

I'm willing to sponsor some work on this if its not already working!

Guru’s picture

A functionality that we are looking for too! We are gonna try out the patch. Thanks for the great work guys.

-- Guru
Team Yello

ulf1’s picture

Stay tuned. In a couple of days I will release the new Version of RSVP with a lot of improvements.

including:
-Signup integration
-Open registration

~
Ulf

ulf1’s picture

Version: master » 6.x-2.x-dev
Status: Needs work » Fixed

The upcoming rsvp 6.x-2.x-dev release will support signup module.

~
Ulf

dww’s picture

can you provide any details on what that means? ;)

ulf1’s picture

What that means is that I modified the patch from above so that it works with the newest signup code and integrated it into RSVP2.

What the patch above and the functionality that I added to RSVP 2 basically does is
signing up a user if

-signup is enabled for a particular event
-an invitation exists for that event
-the guest responds with yes to the invitation.

If there are more scenarios that need to be addressed please let me know. The payment option of signup can probably be integrated if I understand what the exact requirements are.

Thanks,
Ulf

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.