roundupwp
Forum Replies Created
-
Hey jpfiliatre,
I’m wondering if there is some confusion with our new feature that detects logged-in users and whether or not the user has registered for the event already.
You can disable this feature if you would like users to register more than once for an event. While on the Form tab, look for the setting with the label “Users Can Register More Than Once” and enable it.
Does this solve your problem?
– CraigForum: Plugins
In reply to: [Registrations for the Events Calendar - Event Registration Plugin] EnddateHey helpar!
Sorry for the issue here. This is a combination of registrations features and The Events Calendar’s features. I’ll do my best to point you toward a solution.
There may be some odd issue with time zones and possible daylight savings time. It looks like you are using a UTC+ time zone. If you change this to a proper time zone (such as your local time zone or “Chicago”), does the problem go away?- Craig
Awesome! Glad we could help with that.
No obligation but if you felt like leaving a review we would always appreciate it:
https://wordpress.org/support/plugin/registrations-for-the-events-calendar/reviews/
Let me know if you need anything else!Hey Sharon!
For this kind of customization, we can probably just use some CSS. You can add CSS either using your theme’s customizer or a plugin like WPCode. Here is the CSS you would want to use:.tribe-common--breakpoint-medium.tribe-common .rtec-attendance-display {
font-weight: bold;
font-size: 18px !important;
}You can change the “18” in the font-size part to make the text bigger or smaller.
Let me know if this isn’t what you were hoping for!
– CraigThis thread has been quiet for awhile. I’ll mark it as resolved but please let me know if you need more help!
I suppose I should mention this is only visible to logged-in admin users. Are you logged-in as an admin user when viewing the user registration form? Otherwise, if you contact me here I can send you a .zip file to make this easier to make sure the code will apply correctly!
https://roundupwp.com/support/Hello!
This isn’t a current email placeholder but I created a snippet to accomplish this:function ru_add_num_registered_template( $search_replace, $sanitized_data ) {
$event_id = isset( $sanitized_data['event_id'] ) ? $sanitized_data['event_id'] : false;
if ( false !== $event_id ) {
$event_meta = rtec_get_event_meta( $event_id );
$search_replace['{num-registered}'] = $event_meta['num_registered'];
}
return $search_replace;
}
add_filter( 'rtec_email_templating', 'ru_add_num_registered_template', 10, 2 );Just whack it into your themes functions.php file or use something like WPCode and then the placeholder {num-registered} will work as you are hoping.
Thanks,
CraigHey Xaltas,
We actually had one of our paid users have a similar request. I can help get you pointed in the right direction and you should be able to connect the dots if you have some PHP knowledge or know someone with some PHP knowledge.
Here is a snippet of code that will output all of the “keys” in the database for the user meta created by that plugin:function ru_user_registration_info( $form_id ) {
if ( ! current_user_can( 'manage_options') ) {
return;
}
$field_data = ur_get_form_fields( $form_id );
echo '<div>';
foreach ( $field_data as $field_key => $field_data ) {
echo '<p>';
echo '<strong>' . $field_data->general_setting->label . '</strong> - user_registration_' . $field_key;
echo '</p>';
}
echo '</div>';
}
add_action( 'user_registration_before_registration_form', 'ru_user_registration_info', 10, 1 );Wherever you have a registration form it will output some info at the top of it for you to help you get the right meta key:
Then using that meta key, you would change this code so that the event registration form prefills that info with whatever this user has entered for that field:
function rtec_add_user_registration_field( $field_attributes ) {
$user_meta_key = 'user_registration_example'; // replace example with the $field_key discovered above
$user_meta = get_user_meta( get_current_user_id(), $user_meta_key, true );
if ( isset( $field_attributes['other'] ) ) {
$field_attributes['other']['default'] = $user_meta;
}
return $field_attributes;
}
add_filter( 'rtec_fields_attributes', 'rtec_add_user_registration_field', 10, 1 );The example above assumes you are using the “Other” field for event registration for this task.
Hopefully this helps!
– CraigHey again William,
Thanks for the notes here. They make sense!
Both notifications and confirmations can be disabled using the related setting found on the “Email” settings page. Have you tried those yet? That might help your situation here.
As for the other notes I think we can address these in an update! And thanks for the heads up regarding Edge. I haven’t had anyone else mention this but I’ll see what might be going on there.- Craig
Hey williamlowe11,
I wonder if the thread was removed as I probably mentioned this is a feature in our paid Pro version among other features for logged in users.
I will say that we do intend to add this in the free version, as it’s a fairly handy feature, but it hasn’t been added quite yet!
– CraigHey sarahc823,
It looks like you are using the paid version. Would you be willing to contact us on our website? I can provide help for you there!
Here is a link:
https://roundupwp.com/support/
Thanks!
– CraigHey KeithC20,
Yep this is possible! This article explains the needed PHP hook. I created something that might work for you. You can use something like WPCode to add activate it for your site:function ru_add_event_cost_template( $search_replace, $sanitized_data ) {
$event_id = isset( $sanitized_data['event_id'] ) ? $sanitized_data['event_id'] : false;
if ( function_exists( 'tribe_get_cost' ) && false !== $event_id ) {
$event_cost = tribe_get_cost( $event_id, false );
if ( ! empty( $sanitized_data['other'] ) ) {
$search_replace['{event-cost}'] = (float)$event_cost * (int)$sanitized_data['other'];
} else {
$search_replace['{event-cost}'] = $event_cost;
}
}
return $search_replace;
}
add_filter( 'rtec_email_templating', 'ru_add_event_cost_template', 10, 2 );Let me know if you need more help!
– CraigHi Robin,
Since this is not a free feature, would you mind contacting me on our website instead?
https://roundupwp.com/support/
Thanks!
– CraigHey influactive,
We allow for complete customization of the email template in fact. Try following this FAQ:
https://roundupwp.com/faq/change-html-email-templates/
You will need to upload some PHP files to your theme’s folder. You can then edit the HTML as you see fit.
Thanks,
CraigHey batdad74,
Yes there is a WordPress table that contains all of the registration records. It will be named “rtec_registrations” with whatever prefix your site uses. That should help you generate the historical registrations.
Hopefully that helps!
– Craig