Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support registration for anonymous users #89

Closed
eigentor opened this issue Apr 26, 2016 · 12 comments

Comments

@eigentor
Copy link

@eigentor eigentor commented Apr 26, 2016

Sorry for the duplicate issue, but the other issue on that topic has been locked
#1

At the current time it appears it is not possible to allow anonymous users to register to an event with rng. The solution with https://github.com/dpi/identity is normally not whan you want anyway. As I understand it, only a logged in user can register another anonymous user by enterening his mail-adress. With identity this logged-in user would have to create contact entities manually beforehand to even do this.

The current integration with CRM Core Contact dpi/identity#1 (comment) will probably provide similar functionality if I get it right.

If you want to simply enable anonymous users to go to the event, find a form element, enter their E-Mail-Adress and thus sign up to an event I guess this is not possible now and in the near future with RNG.

@dpi

This comment has been minimized.

Copy link
Owner

@dpi dpi commented Apr 26, 2016

You are correct, users who are not logged in cannot register for events out of the box.

@dpi

This comment has been minimized.

Copy link
Owner

@dpi dpi commented May 6, 2016

I will investigate a solution since I have been asked a few times.

@dpi dpi added the feature request label May 6, 2016
@dpi

This comment has been minimized.

Copy link
Owner

@dpi dpi commented Aug 27, 2016

If anyone is following this issue, or finds this comment in the next few weeks, I'm potentially looking for testers of an anonymous user feature for RNG. Comment here or contact me directly.

@rdworianyn

This comment has been minimized.

Copy link

@rdworianyn rdworianyn commented Sep 15, 2016

I would be happy to test this feature for you.

@auVeypor

This comment has been minimized.

Copy link

@auVeypor auVeypor commented Sep 29, 2016

My team would love to use this functionality, and we'd be happy to help you test and develop it.

@mtomaizy

This comment has been minimized.

Copy link

@mtomaizy mtomaizy commented Oct 9, 2016

I'm interested about this feature, I would like to test it and hope to be done fast

@ipwa

This comment has been minimized.

Copy link

@ipwa ipwa commented Oct 20, 2016

Interested

@dpi

This comment has been minimized.

Copy link
Owner

@dpi dpi commented Oct 20, 2016

Work is progressing on a widget (element) which will allow for inline creation and referencing of registrants. Please view and post criticism of the element at #14.

dpi added a commit that referenced this issue Nov 8, 2016
Squash merged various local branches related to registrants and identities.
A summary of changes is as follows:

Added a new registrant element.

Registration form makes use of new registrant element.
Anonymous users are now permitted to register identities.

Added RNG configuration service.
Added registrant factory to create new registrant entities.

Registrant entities now have bundles
Added registrant type configuration entity
Added migration steps to convert bundle-less registrants to one with bundles.
A default registrant type is created on install
A migration for existing installs will create a registrant type.

Added control over what identity types can be referenced or create within each event type.
Move some registrant processing in the registration form to the validation function, only the submission function commits changes.
Added control over what identity types can be referenced or create within each event type.
Added default registrant setting to event types.
Added helper to event meta to load event type configuration entity for the event.
Added default registrant type setting to event type settings form.
Fixed typo in registration type and registrant type permission labels

Anonymous User Initiative (#99)
Support registration for anonymous users (#89)
Create identity element (#14)
Provide ability to edit the registrant inline with registration (#102)
Fixed #108
Fixed #53
@dpi

This comment has been minimized.

Copy link
Owner

@dpi dpi commented Nov 8, 2016

Hi everyone, thankyou for your patience. If you're interesting in testing anonymous users and registrants please read the following carefully.


  1. DO NOT INSTALL ON YOUR PRODUCTION SITE!
  2. MAKE A BACKUP OF YOUR DATABASE BEFORE USING!
  3. THIS CODE IS UNSUPPORTED. THE UPGRADE PATH IS QUITE COMPLEX IN THIS UPDATE. IF YOU CHOOSE TO TEST THIS CODE YOUR SITE MAY BREAK, AND WILL NOT RECEIVE UPDATES IN THE FUTURE.
  4. UNTIL THE CODE HAS BEEN MERGED INTO THE 8.x-1.x BRANCH, YOU WILL NOT RECEIVE UPDATES.

To test this update, you should be comfortable with how Git works. Grab the code from the following PR: #115

Instructions

  • Install or replace your RNG module with the code in the above PR with code from the comment below.
  • Test if the upgrade path works. The upgrade is quite involved.
  • Install the RNG Contact module (https://drupal.org/project/rng_contact) -- follow instructions on this page for how to configure: https://dpi.id.au/rng-contact-setup/
  • Check your Drupal log, see if there are ANY errors related to RNG.
  • Test one 'Registrant type' was automatically created (/admin/structure/rng/registrant_types)
  • Test registering for an event.

Feedback

When creating a new issue, please state whether you installed the module fresh, or are upgrading from a site with RNG 1.2.

  • If you have error 😢, please report them in a new issue
  • If you have no issues 😄 , please report success in a new issue. Reporting success is important in determining whether the code is ready to be released.
  • Feedback related to the re-design of the registration form should be posted to #14

Contact

If you need assistance, feel free to ask in a new issue, or contact me personally on IRC at #drupal-contribute

@dpi dpi closed this Nov 8, 2016
Repository owner locked and limited conversation to collaborators Nov 8, 2016
@dpi dpi reopened this Nov 8, 2016
@dpi

This comment has been minimized.

Copy link
Owner

@dpi dpi commented Nov 10, 2016

Video: what the new registration/registrant form looks like: https://danielph.in/i/dpi.id.au/rng-registrants-update/multiple_registrants.mp4

@dpi

This comment has been minimized.

Copy link
Owner

@dpi dpi commented Nov 17, 2016

RNG 1.3 is now in beta, see the main article: RNG 1.3: The Registrant Update

Because this is a beta, it cannot be promoted on the Drupal.org project page for RNG. You can test this update using the following methods:

@dpi

This comment has been minimized.

Copy link
Owner

@dpi dpi commented Jan 6, 2017

RNG 1.3.0 released today.

@dpi dpi closed this Jan 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
6 participants
You can’t perform that action at this time.