Hey darkpollo,
Sorry for any issue!
There may be something specific to your site or possibly your email client that is causing this. We haven’t had any other reports and a test with the latest version of The Events Calendar seems fine. Does the ical download button on a single event page work as expected?
If you’d like, you can contact us on our website and include a link to an event we can test a registration with:
https://roundupwp.com/support/
Thanks!
Craig
I do not think is the email or the website. All the others links on the email work fine, like the unregister one, for example.
Only that one fails.
Have you tested with the latest version?
Can you send me a screenshot of that working on your end?
The button on the events works fine.
-
This reply was modified 6 years, 6 months ago by
darkpollo.
Sure! We definitely want to fix all bugs but I can provide a screenshot if you’d like:
https://snipboard.io/6rto8c.jpg
Thanks,
Craig
You are completely right. I just removed it and add it again, save the content and now it works.
I think it was the HTML format of the email template what is wrong. As I removed it before because it was not working, I cannot be sure, but seems likely it was my mistake.
Sorry for bothering you!
By the way:
Is there a code to add the “add to google calendar” link?
And Thank you very much!
-
This reply was modified 6 years, 6 months ago by
darkpollo.
Hey again,
No worries. I’m glad you were able to find the source of the problem!
I’ve been meaning to add support for the gcal link to the plugin as well. There will be a much promised update to the free version soon! In the meantime you can add this to your theme’s functions.php file to add support for {gcal-url}:
function ru_add_email_template( $search_replace, $sanitized_data ) {
$event_id = isset( $sanitized_data['event_id'] ) ? $sanitized_data['event_id'] : false;
if ( false !== $event_id ) {
$search_replace['{gcal-url}'] = esc_url( tribe_get_gcal_link( $event_id ) );
}
return $search_replace;
}
add_filter( 'rtec_email_templating', 'ru_add_email_template', 10, 2 );