Support

Home Forums Event Espresso Premium Members only events – some information visible

Members only events – some information visible

Posted: August 13, 2014 at 4:46 am

Viewing 2 reply threads


Anonymous

August 13, 2014 at 4:46 am

Hello,

I was hoping you could help me with a modification. I am using EE3 with the latest stable WP (I need some of the plugins that are not compatible yet with the new version) at http://www.aabc.nl.

Most of our events are members-only (and that works just fine), but as we are trying to attract more members I would like to able to make some of the information about the upcoming events public. Specifically, I want registration fields to be available only to members, but I would like non-members to be able to read the event description.

Any suggestions on what template(s) to edit?

Thanks!
Joanna


Tony

  • Support Staff

August 13, 2014 at 6:26 am

Hi Joanna,

In order to do this, you’ll need to edit 2 of the Event Espresso templates.

registration_page.php & registration_page_display.php

Copy both of those files to wp-content/uploads/espresso/templates/ and make edits there to keep them ‘update safe’

The check for members only is within registration_page.php lines 259 – 261

You’ll need to remove that if/else statement (leaving the registration form template call) to display the registration_page_display.php file to all users.

Then within registration_page_display.php, around line 103 you’ll need to add that members check and wrap the registration form within the check.

Does that help?


Anonymous

August 13, 2014 at 1:51 pm

Thanks! That worked indeed 🙂

Viewing 2 reply threads

The support post ‘Members only events – some information visible’ 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