Hey guys,

I really like this module. I do have a feature request that I have already implemented and would like to share with you guys.

We just finished a site where we didn't want to give the user the ability to add other signups on checkout. This seems to be hard-coded. So, here is a patch that basically makes it so that this step isn't required. I tested it and it seems to work just fine. Let me know if you have any thoughts or suggestions.

Thanks,

Travis Tidwell

CommentFileSizeAuthor
uc_signup.patch1.63 KBtravist

Comments

ezra-g’s picture

Status: Active » Closed (duplicate)

Thanks for submitting this patch. It seems like this is a duplicate of #572064: Limit users to only signing up themselves?, which already has some discussion. It would be great if you could post your patch at that issue for folks to review.

john franklin’s picture

How hard would it be to make this a per-class or per-item setting?

stpaultim’s picture

Subscribing. I'm trying this patch. Like others have said, I just want to simplify the sign-up process as much as possible. I don't expect my users to be signing up anyone other than themselves, so this cuts 2 steps off the process.

After first try, this patch worked as expected. I'll update if I run into any problems.

brentratliff’s picture

This patch is great, any chance of getting it committed?

bewhy’s picture

After applying this patch and the option "allow other attendees on checkout" is not checked, when signing up for an event as a non-logged in user, a spot is created for a user named 1, not for the submitted email address. And when I say 'user 1' i mean the username actually reads "1" and the link goes to the profile of a user whose username is "1" and not the profile of the #1 superuser account with the correct username. This "1" seems to be some number created, on running the same scenario again, the next user was "5"

During checkout it was confirmed that the system found registration information for the submitted email address, not user named "1" or "5", as displayed in the review order pane. And it does look like the emails were properly sent to the address used for the signup.

This works wonderfully when a user is logged in already though.