• Resolved theamountof

    (@theamountof)


    My client wants to add an RSVP section to their Event Calendar, but wants to make it so that only Members can RSVP. Is this possible like making the Community plugin where a member has to be signed in to add an event?

Viewing 1 replies (of 1 total)
  • Howdy @theamountof,

    Yes, I do believe this is possible, though it would require a bit of custom development.

    My suggestion would be to override the following file:

    /wp-content/plugins/event-tickets/src/views/rsvp.rsvp

    To override it:

    • Add a new file to your theme folder called tribe-events
    • Add a new folder in there called tickets
    • Add a copy of rsvp.php to that last folder

    Now that the template is in your theme, you can modify it to suit your needs. In this case, I would wrap the ticket form in a conditional statement that only displays the form if a visitor is logged into WordPress. Something like:

    if ( is_user_logged_in() ) {
       // the ticket form code 
      } else {
        echo 'Please log in to RSVP for this event.' 
    }

    I hope this helps get you started!

    Geoff

    • This reply was modified 8 years, 2 months ago by Geoff Graham.
Viewing 1 replies (of 1 total)
  • The topic ‘Members Only RSVP’ is closed to new replies.