• Resolved inca

    (@ibautista)


    Is there a way to show new registrants without an admin having to review first?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author roundupwp

    (@roundupwp)

    Hey cain,

    You can edit the source code to skip this step. Otherwise, if you can wait until next week, this will be changed and made into an option (whether you would like to review or not).

    If you’d like this sooner, let me know and I can walk you through the code to change.

    Thanks,

    Craig

    Thread Starter inca

    (@ibautista)

    Hi Craig, yes, do need it sooner. The code changes would be great. Thank you!

    Plugin Author roundupwp

    (@roundupwp)

    Hey cain,

    Sure thing! Open up the file “class-rtec-db.php” in the “inc” folder. Delete line 336:

    array( 'status', '"n"', '!=', 'string' )

    Here is what the code nearby should look like after:

    		$args = array(
    			'fields' => $attendee_list_fields,
    			'where' => array(
    				array( 'event_id', $event_meta['post_id'], '=', 'int' )
    			),
    			'order_by' => 'registration_date'
    		);
    Thread Starter inca

    (@ibautista)

    Works great! Thanks!

    Plugin Author roundupwp

    (@roundupwp)

    No problem cain! Version 2.1 has a setting to configure this so you should be able to update and preserve your changes.

    – Craig

    Thread Starter inca

    (@ibautista)

    Hi Craig,

    Yep, I just updated the plugin and now see the option – which is great! I’m wondering now how I can either 1) allow html in the custom success message in the admin or 2) Show the success message and then get the page to auto refresh so that signups can see their names immediately.

    Thanks!

    Plugin Author roundupwp

    (@roundupwp)

    Hey cain,

    #1 will be added eventually. This is something available in the “Pro” version but will be added to the free version at some point.

    #2 will be possible soon as well. There will be the possibility to run your own custom JavaScript after the form is successfully submitted.

    I’m also wondering if you would like the ability to just add the newly registered guest’s name to the attendee list after they register? This has also been requested and will be possible soon.

    I’ll get back to you after the update!

    Plugin Author roundupwp

    (@roundupwp)

    Hey cain,

    The latest release, 2.1.1, contains support for adding your own JavaScript after the form submits. To add the person’s first and last name to the top of the attendee list, add this JavaScript to the “Custom JavaScript” area on the “Form” tab:

    window.rtecAfterSubmit = function() {
      var first = jQuery('.rtec-first input').val(),
          last = jQuery('.rtec-last input').val();
          jQuery('.rtec-attendee-list').first().prepend(
            '<span class="rtec-attendee"><strong>'+first+' '+last+'</strong></span>'
            );
    };
Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Show Registrations Without Review’ is closed to new replies.