roundupwp
Forum Replies Created
-
Hey Melodyz,
This plugin fits in well with the Events Calendar Pro. The registration form will appear for every recurring event you create with the same relative deadline and other settings as you set up for the first event.
I’m wondering if you’re asking whether or not visitors will be able to register for all of the events in a series with one registration. This is not possible to do automatically but you can manually add registrations to every event in the back end. If a visitor registers for the first event you can make sure they are also registered for the others.
Doing this automatically would be a nice feature I would agree. It might make it into a future update. Is this what you meant?
– Craig
Hey HighRollerUSA,
The plugin currently doesn’t accept payments but it would be easy enough to add a paypal button to the single event page that the form appears on. It would depend on what plugin or method you’re using to add a paypal button but if you use a shortcode, you could use this php code:
add_action( 'tribe_events_single_event_before_the_content', 'add_paypal_button_to_page' ); function add_paypal_button_to_page() { // code to add the button example echo do_shortcode( '[paypal-button-shortcode]' ); }You could move the button down the page with the other hooks for the template. For example you could change the ‘tribe_events_single_event_before_the_content’ part to ‘tribe_events_single_event_after_the_content’, ‘tribe_events_single_event_before_the_meta’, or ‘tribe_events_single_event_after_the_meta’.
Hopefully that helps! Let me know if you have more questions.
No worries! I’m always trying to balance the free and “pro only” features as best I can so it’s possible this feature will be added at some point. I like to help out with customizations as much as I can too.
Thanks again,
Craig
Sorry for the wrong user name here. I also have a plugin with Smash Balloon.
Have a great weekend!
Hey again,
This is something we have in the paid “Pro” version of the plugin though you could use some php knowledge and the WordPress function is_user_logged_in() to create something that will work for you.
– Craig
Sure! In that case I came up with a rough example that you should be able to tweak to what you need. You’ll need to add some styling and a table heading but I’ll give you code that will show all of the data in a table.
1) Open up the file class-rtec-db.php in the inc folder.
2) Find the get_registrants_data() method and change the line:
$retrieve_fields = array( 'first_name', 'last_name' );to
$retrieve_fields = array( 'first_name', 'last_name', 'email', 'phone', 'other', 'custom' );Note that you can remove fields that you don’t want to use.
3) Open up the form-functions.php file in the inc/form folder.
4) Change the block of code starting on line 32 to this:if ( $event_meta['show_registrants_data'] && ! $doing_shortcode ) { $registrants_data = $db->get_registrants_data( $event_meta ); global $rtec_options; $title = isset( $rtec_options['attendee_list_title'] ) ? $rtec_options['attendee_list_title'] : __( 'Currently Registered', 'registrations-for-the-events-calendar-pro' ); $title = rtec_get_text( $title, __( 'Currently Registered', 'registrations-for-the-events-calendar-pro' ) ); $return_html = '<div class="tribe-events-event-meta rtec-event-meta"><h3 class="rtec-section-title">' . esc_html( $title ) . '</h3>'; $return_html .= '<table>'; foreach ( $registrants_data as $registration ) { $return_html .= '<tr>'; foreach ($registration as $key => $value ) { if ( $key === 'custom' ) { $custom_data = maybe_unserialize( $value ); if ( is_array( $custom_data ) ) { foreach ( $custom_data as $custom_key => $custom_value ) { $return_html .= '<td>' . esc_html( $custom_value ) . '</td>'; } } } else { $return_html .= '<td>' . esc_html( $value ) . '</td>'; } } $return_html .= '</tr>'; } $return_html .= '</table>'; $return_html .= '</div>'; }Like I said it will be rough but should get you started! I’ll have to look into making this easier in a future update.
Glad you like the plugin!
I hadn’t considered a use case like this but it makes a lot of sense! Most of the requests were just for a guest list type of feature.
At the very least I can make customizations like this easier for you to set up as you need to in future updates. You could change the area of the code that displays the currently registered users to show other information from the database if you are handy with PHP.
Are you handy with PHP? I could point you toward the functions you would want to use to do this if so in the mean time.
No problem! They were good ideas and made a lot of sense. I’m noticing a lot of users have different event organizers so I’m sure they will find this useful as well.
No obligation or anything but we always appreciate reviews if you felt like leaving one.
Otherwise, thank you once again for taking the time to share your thoughts! They really help developing the plugin easier.
Have a great rest of your week!
– Craig
Hey again,
This feature was also added in version 1.6. You can find the ability for custom notification email addresses and custom “From” addresses per event in the “edit” page for each event.
Hey again,
Just wanted to give you a heads up that version 1.6 gives you the ability to show the list above the registration form. Names will not appear in the list until you have reviewed them in the back end of the site and the “new” tag has disappeared.
No problem! Let me know if you ever need anything else.
– Craig
Hey bradsperr,
Glad you like the plugin!
There isn’t any easy way to do this currently. There are plans for several improvements over the next updates as far as customizations of the form. There will be some hooks for developers to use for situations like this as well (but this may take some time).
You can edit the source code to do this in the mean time. The file inc/form/class-rtec-form.php contains the code that outputs the html for the form and fields.
Definitely not ideal though but hopefully it will be in the future!
No problem! Have a great rest of your week.
Hey djlo,
This has been requested by a few others as well. I have plans to add this option in the next update (hopefully within a month). You’ll be able to set the notification email for the specific event like you would other event specific settings.
Good to hear from you again! Let me know if you have more questions
– Craig
No problem! Have a great rest of your week.