Support

Home Forums Event Espresso Premium Password field in event registration processs ee4

Password field in event registration processs ee4

Posted: February 12, 2016 at 6:59 am


pixeltron

February 12, 2016 at 6:59 am

Hi Guys

First may a I say thanks so far for the great support , I have a question or a issue flow issue is there a way of having the user provide a password in the event registration process as I can see the user is already registered functionality please login is working this is the only field missing from a full process solution as ee4 user integration is really just adding a unnecessary process for a user to checkout.

Thanks
Josh


Lorenzo Orlando Caum

  • Support Staff

February 12, 2016 at 8:17 am

Hi, I did not understand what you described here:

First may a I say thanks so far for the great support , I have a question or a issue flow issue is there a way of having the user provide a password in the event registration process as I can see the user is already registered functionality please login is working this is the only field missing from a full process solution as ee4 user integration is really just adding a unnecessary process for a user to checkout.

A registrant/attendee will be prompted to login if you have set an event to require a login for registration through the event editor.

Are you saying that the password field is missing or causing an issue during registration?


Lorenzo


pixeltron

February 12, 2016 at 8:23 am

Hi Lorrenzo when a user gos on the registration-checkout page to fill in there attendee information ( aka attendee 1 ) they don’t have a password box to fill in if they have never been on the site before.

Thanks
Josh


Lorenzo Orlando Caum

  • Support Staff

February 12, 2016 at 9:29 am

Hi Josh,

The password field would not appear as a question in the registration form where the information is collected (e.g. first name, last name, and email).

If you set an event to require login first and then try to register for that event in a different web browser (e.g. you are using Chrome and try to register in Firefox), then you should be prompted to login as there won’t be an existing login for the other web browser.

Could you try re-testing and share feedback?

Also, a link to the events page would be helpful if you are seeing something different. Along with that, please ensure you are on the latest software.


Lorenzo


pixeltron

February 16, 2016 at 4:54 am

Hi Lorenso

Thanks but unfortunately my client requires the password to be taken by new users as they fill in the attendees form in and all other users login if they have already registered , I get you wouldn’t add this a clear text custom field as it would be open for attack, is there a way of adding a password field box to the form without altering the core maybe via wp-user integration plugin.

Thanks
josh


pixeltron

February 16, 2016 at 9:55 am

Hi Guys

Are there any hooks to add the wp password field to the registration process I can see there was a gentlemen that succeeded in ee3 but nothing in ee4 at present as this is a basic user process check flow.
link to code
https://gist.github.com/sethshoultes/5574217

Thanks
Josh


Josh

  • Support Staff

February 16, 2016 at 10:05 am

Hi Josh,

I merged your new thread into the other thread because you asked the same question in both threads.

It turns out the code you linked to in the gist doesn’t add a password field to the registration form. Instead, it uses a WordPress function to automatically generate a password.

There are hooks that allow for adding a new question types, in which case you could build out a password field question type. I can also advise running the password through a hash for security purposes so that the passwords aren’t stored in the database as clear text.

Here are the hooks:

FHEE__EEM_Question__construct__allowed_question_types
FHEE__EE_SPCO_Reg_Step_Attendee_Information___generate_question_input__default


Josh

  • Support Staff

February 16, 2016 at 10:31 am

Along with that, if you’re looking for something that’s functionally equivalent to the snippet you linked to, the EE4 WP Users Integration add-on has an option that creates a new user account when they register for an event.

The support post ‘Password field in event registration processs ee4’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso