Posted: May 8, 2014 at 3:05 am
|
I’d like to remove the “Registration Details” box on Submit page for already logged-in users. |
|
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. |
|
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, |
|
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? |
|
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). |
|
Thanks Dean, |
|
No problem, glad I could help. |
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.