Support

Home Forums Event Espresso Premium Turn Off Cancel Registration

Turn Off Cancel Registration

Posted: November 8, 2013 at 6:03 pm

Viewing 4 reply threads


MsBecca

    November 8, 2013 at 6:03 pm

    I noticed under the user’s profile that they are able to cancel their registration. Since I do not offer refunds is there a way to turn the “Cancel Registration” off?


    Dean

    • Support Staff

    November 11, 2013 at 12:11 am

    Hi,

    It can be done with some CSS, which is easy if you are using the front end form, simply add the following to your themes style.css or a plugin like My Custom CSS:

    #form1 #cancel_registration { display:none; }

    It gets harder if you are allowing the user access to the Profile in the dashboard area.

    You could add the following to your themes functions.php, the custom files addon(or a custom_functions.php file in the uploads directory) or even make it into a simple plugin:

    function hidecancel() {
    	if(is_admin()) {
    		?>
    	<style>
    	#form1 #cancel_registration { display:none; }
    	</style>
    	<?php
    	}
    	}
    add_action('admin_head', 'hidecancel' );


    MsBecca

      November 11, 2013 at 8:55 pm

      Thanks. I was able to get the code for the css file to work. Also, how would I remove the “Check All” option that is on the My Events page? And one more question, where can I find the documentation that shows how to move the profile information to the front end. I saw another topic that listed the shortcut to use but I wasn’t able to locate the documentation that relates to moving the Profile to the front end.


      Dean

      • Support Staff

      November 12, 2013 at 1:00 am

      Hi,

      Well there’s two options:

      Remove the check all

      .bottom_settings input[type="checkbox"],
      .bottom_settings strong { display:none; }

      or simply remove the entire bottom settings section

      .bottom_settings { display:none; }

      Regardign the profile, we have the [ESPRESSO_EDIT_PROFILE] shortcode, but it doesn’t show the profile image/gravatar. You could use the [LISTATTENDEES] shortcode but it may be hard to limit that to the single attendee.

      I would suggest addign a small custom shortcode or editing the template to pull in the gravatar image.

      http://staging.eventespresso.com/wiki/shortcodes-template-variables/#edit-profile
      http://staging.eventespresso.com/wiki/shortcodes-template-variables/#attendee-list


      MsBecca

        November 12, 2013 at 10:37 am

        Thank you.

        Viewing 4 reply threads

        The support post ‘Turn Off Cancel Registration’ 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 - Staging Server