Released 1.2.5
-
Next to some new placeholders and extra arguments for existing ones, the most notably change is that the shortcode names are being changed to be more “eme” like. The existing ones will keep on functioning but will disappear from the documentation.
See below for all the changes.* Feature: the payment form showing the buttons can now be customized in the EME settings, Payment section. The same placeholders as for bookings can be used.
You can format the section above and below the payment buttons and everything is surrounded by CSS tags as well.
* Feature: max and min amount of seats to book for one booking can now also be used for multiprice events (multi-compatible)
* Feature: added option template_id to shortcode display_single_event
* Feature: added shortcode eme_location, with location id as argument, and optional a template_id for content:
[eme_location id=1 template_id=3]
* Feature: added shortcodes eme_bookings and eme_attendees, with event id as argument, and optional a template_id for header, content and footer
[eme_attendees id=1 template_id=3 template_id_header=7 template_id_footer=9]
* Feature: added placeholder #_IS_MULTIDAY. Returns 1 if the event start date is different from the end date, 0 otherwise.
* Feature: added placeholder #_BOOKINGID for rsvp mails and booking info, in case you want to share the booking id
* Feature: added new filter eme_add_currencies, so you can add extra currencies to the list. Be aware that not all payment portals support all currencies.
Example: to add Ghanaian Cedi (GHS) to the list of currencies, add the following to your theme’s functions.php:function my_eme_add_currencies($currencies){
$currencies[‘GHS’] = ‘Ghanaian Cedi’;
return $currencies;
}
add_filter(’eme_add_currencies’,’my_eme_add_currencies’);* Improvement: unified shortcode names:
events_calendar ==> eme_calendar
events_list ==> eme_events
display_single_event ==> eme_event
events_page ==> eme_events_page
events_rss_link ==> eme_rss_link
events_ical_link ==> eme_ical_link
events_countdown ==> eme_countdown
events_filterform ==> eme_filterform
events_if ==> eme_if
events_if2 ==> eme_if2
events_if3 ==> eme_if3
events_if4 ==> eme_if4
events_if5 ==> eme_if5
events_if6 ==> eme_if6
locations_map ==> eme_locations_map
display_single_location ==> eme_location_map
events_locations ==> eme_locations
events_add_booking_form ==> eme_add_booking_form
events_delete_booking_form ==> eme_delete_booking_formThe old names are still valid, but will disappear from the doc
* Bugfix: make sure that relative protocol urls (no http: or https:) are used for google api’s in the admin backend
* Bugfix: in the event edit window, the ajax method for removing rsvp’s wasn’t working anymore
* Bugfix: some plugins add the lang info to the home_url, remove it so we don’t get into trouble or add it twice
* Bugfix: booking placeholders are also possible for the ‘booking ok’ message
* Bugfix: only show location info in the ical feed if there’s actually a location
* Bugfix: ical fix for multiday allday events (they ended a day too soon)
* Bugfix: use str_replace for replacing placeholders, to avoid issues with replacement strings containing $13 (preg_replace interprets those as backreferences)
* Bugfix: the booking price is now shown correctly as floating point, not just integer
* Bugfix: correct the placeholder replacement sequence for attendees and bookings
* Bugfix: #ESC_NOTES was not working
- The topic ‘Released 1.2.5’ is closed to new replies.