Support

Home Forums Event Espresso Premium Remove "Registration Details" on Submit page for already logged-in users

Remove "Registration Details" on Submit page for already logged-in users

Posted: May 8, 2014 at 3:05 am

Viewing 6 reply threads


Simon Barnett

May 8, 2014 at 3:05 am

I’d like to remove the “Registration Details” box on Submit page for already logged-in users.


Dean

May 8, 2014 at 4:26 am

Hi Simon,

You want to remove the registration form? This will disable users from registering for the event.

You can do so by editing the template (there is a setting but it will disable the form for logged in or out users).

You will need to copy the registration_page.php and registration_page_display.php from event-espresso/templates over to wp-content/uploads/espresso/templates.

There edit the registration_page_display.php

Approx. line 205 is this

if ($display_reg_form == 'Y') {

change it to

if ($display_reg_form == 'Y' && is_user_logged_in() == false  ) {

This will disable the form for logged in users only.


Simon Barnett

May 8, 2014 at 5:22 am

Hi Dean,

I was hoping to remove the “Personal Information” requirement – seems unnecessary for registered + logged-in users – while leaving the submit button in place.

http://jobza.co.za/wp-content/uploads/2014/05/Screen-Shot-2014-05-08-at-10.59.49-AM.png

Is it possible to remove that requirement or auto-populate those fields with a user’s details?

Thanks,
Simon


Simon Barnett

May 8, 2014 at 5:39 am

Ah, but you say there is a setting.. sorry just read that now. In my case it’s ok to disable it for logged-out users since the calendar is hidden for logged-out users.

Where is the setting?
(and I assume the Submit button will still be there?)


Dean

May 8, 2014 at 5:54 am

Hi,

OK, that’s a little clearer now. I did wonder why you wanted the form removing.

Basically the form is needed for registrations. With EE3 there is an addon called WP User Integration (Members for short). With this plugin any logged in user will have the basic form details (name, email and address) filled out for them automatically so long as that data is in their Profile.

The setting is within the event itself, on the right under Event Options is the setting “Display registration form? ”

NOTE: This will disable the form for everyone, so this may not be what you want.

If you want logged out users to not be able to register, using Wp User Integration again, you can set events to be Member Only. Then they will only be accessible to users who are logged in (members).

https://eventespresso.com/product/espresso-members/


Simon Barnett

May 8, 2014 at 6:03 am

Thanks Dean,
I’ve just realised that my client’s requests for nuanced membership types / event booking capabilities may influence all of this, but I’m sure I’ll be using the info after I’ve gotten to the bottom of that – useful to know. I have the members add-on.


Dean

May 8, 2014 at 6:13 am

No problem, glad I could help.

Viewing 6 reply threads

The support post ‘Remove "Registration Details" on Submit page for already logged-in users’ 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