Support

Home Forums Event Espresso Premium Removing user ability to cancel registration for events

Removing user ability to cancel registration for events

Posted: March 24, 2014 at 3:52 pm

Viewing 4 reply threads


Jason Lee

March 24, 2014 at 3:52 pm

I don’t want users to be able to cancel their reservations. Using EE3 and s2member integration. I saw in another post to delete a few lines of code from the plugin but when I open the editor, those lines aren’t there so I’m assuming I might be looking in the wrong place/wrong plugin.


Dean

March 25, 2014 at 12:42 am

Hi,

On line 191 of the espresso-members/my_events_page.php file you will find the following line

<input name="cancel_registration" type="submit" class="button-secondary" id="cancel_registration" value="<?php _e('Cancel Registration','event_espresso'); ?>" onclick="return confirmDelete();">

Remove it and the cancel button will be removed.

Please note, updates to the WP User Integration addon will over write this change.


Jason Lee

March 30, 2014 at 7:31 pm

Worked perfectly, thanks. Will it be roughly the same line of code after each update?


Lorenzo Orlando Caum

  • Support Staff

March 30, 2014 at 8:21 pm

Hi Jason,

Yes, that will be the code snippet to remove on future releases.


Lorenzo


Jason Lee

March 30, 2014 at 8:30 pm

Great, thanks!

Viewing 4 reply threads

The support post ‘Removing user ability to cancel registration for events’ 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