This is related to http://drupal.org/node/572064 - Limit users to only signing up themselves? and a patch that can be found from there.

I have applied the patch and its kind of offers what I am looking for but I still have an issue with this one as I can still book myself twice on the same event, which obviously should not be possible if user is only allowed to sign up for themselves.

Maybe little checking when try to sign up to event if event is already in a cart and in case user is signed in checking signed up events as well would help???

This still leaves options to try to sign up already signed up event when not checked in, but I guess some validation can be done during a check out.

I couldn't fully tested all the uses cases as I have experiencing the same issues that are described here http://drupal.org/node/861058 this has nothing to do with the patch I have added as signing up issue was present even before applying the patch.

Comments

bewhy’s picture

[a lot of stuff deleted . . . found this to be true after some testing - using dev]

I see that someone can sign themselves up for the same event. I second creating some kind of validation to prevent this.

If you're allowing non-logged-in users to sign up then I think the signup should seem to proceed as planned but the validation is triggered during order completion and no message is sent to the person signing up about whether that person was already signed up. This is so people cannot test to see if someone they know will be there or has already signed up (mostly in a social context).

If you're allowing only logged-in users to sign up for themselves, then you could even disable the 'add to cart' button for that person and/or have it display an alternate message.

If you can sign anyone up, validation for own signups would proceed early, and validation for others would proceed at the end of checkout. Also, you might want to validate that the email addresses that they put in the attendee email addresses pain aren't the same (currently, you can put in duplicate emails there)

ezra-g’s picture

Version: 6.x-1.0-beta5 » 6.x-1.x-dev
Category: feature » bug
Status: Active » Postponed (maintainer needs more info)

Allowing users to pay for signups for users who are already signed up would be a bug, but I need some help reproducing this.

We already validate the attendee email form by checking that:

- Each entered email address is valid *and unique* for each event
- That a user with that email address isn't already signed up for the event.

Can you provide more detailed steps to reproduce? If this is really possible, perhaps it involves a particular combination of event quantities or something.

bewhy’s picture

I think this is not a bug in dev. As spylvas describes and through my testing this is a bug in the workflow of the patch from here: http://drupal.org/node/680860. I was a bit obsessive in testing and reporting about in this here: http://drupal.org/node/572064#comment-3492532 and the comment after that one.

But note that whether working with a patched or unpatched version of dev, I am still getting the error mentioned in http://drupal.org/node/910104#comment-3465008 unless I'm using the custom module and conditional action described therein. I can only successfully get signups with this custom module and conditional action. That's a bug.

ezra-g’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

It's been 11 months since the last update here. Please re-open if this issue is present with the dev version of uc_signup and Ubercart 6.x-2.6.

scotwith1t’s picture

Version: 6.x-1.x-dev » 6.x-1.0-rc3
Status: Closed (cannot reproduce) » Active

Since the RC3 version is, at this moment, newer than the dev, I think I'm safe to post this (not sure if it's necessary to change the version, but anyway...), it seems that if you have the "Purchase Signups for Other Attendees" turned off, it definitely flows smoother since you don't have to enter your email address, but it isn't checking for uniqueness by email. I sign up once, I can sign up again immediately after completing checkout. Am I doing something wrong or is there a bug? If I turn the permission back on, I of course get the attendee email form and then it stops me, saying I'm already signed up, as it should. Current UC version is 2.7.

freelock’s picture

Confirmed with latest ubercart, uc_signup, and signup -- with "sign up other users" permission, there does not appear to be any validation for existing signups for any email. It's possible to sign up yourself or other users multiple times, logged in or logged out.