version 3.5.5 released

This commit is contained in:
magepeopleteam 2021-11-24 06:51:57 +00:00
parent bf79a0a805
commit 7674ea0733
14 changed files with 88 additions and 58 deletions

View File

@ -1,3 +1,5 @@
#mep_event_date_sch li a{display: -webkit-flex;display: flex;-webkit-flex-direction: column;flex-direction: column;color:inherit;}
.mep-hidden {
display: none !important;
}
@ -355,7 +357,7 @@ span.mep_warning {
}
ul#mep_event_date_sch li span {
display: inline;
display: -webkit-flex;display: flex;
font-size: 13px;
}

View File

@ -130,8 +130,6 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
$ticket_type_arr = $cart_item['event_ticket_info'];
$event_extra_service = $cart_item['event_extra_service'];
$event_recurring_date = $cart_item['event_recurring_date'];
$event_label = mep_get_option('mep_event_label', 'general_setting_sec', 'Events');
$recurring = get_post_meta($eid, 'mep_enable_recurring', true) ? get_post_meta($eid, 'mep_enable_recurring', true) : 'no';
$time_status = get_post_meta($eid, 'mep_disable_ticket_time', true) ? get_post_meta($eid, 'mep_disable_ticket_time', true) : 'no';
@ -145,8 +143,7 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
foreach ($ticket_type_arr as $_event_recurring_date) {
if ($hide_date_status == 'no') {
?>
<li><?php echo esc_html($event_label);
esc_html_e(" Date", 'mage-eventpress'); ?>: <?php echo esc_html(get_mep_datetime($_event_recurring_date['event_date'], 'date-time-text')); ?></li>
<li><?php esc_html_e(" Date", 'mage-eventpress'); ?>: <?php echo esc_html(get_mep_datetime($_event_recurring_date['event_date'], 'date-time-text')); ?></li>
<?php
}
}
@ -163,8 +160,7 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
foreach ($ticket_type_arr as $_event_recurring_date) {
if ($hide_date_status == 'no') {
?>
<li><?php echo esc_html($event_label);
esc_html_e(" Date", 'mage-eventpress'); ?>: <?php echo esc_html(get_mep_datetime($_event_recurring_date['event_date'], 'date-time-text')); ?></li>
<li><?php esc_html_e(" Date", 'mage-eventpress'); ?>: <?php echo esc_html(get_mep_datetime($_event_recurring_date['event_date'], 'date-time-text')); ?></li>
<?php
}
}
@ -182,8 +178,7 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
foreach ($ticket_type_arr as $_event_recurring_date) {
if ($hide_date_status == 'no') {
?>
<li><?php echo esc_html($event_label);
esc_html_e(" Date", 'mage-eventpress'); ?>: <?php echo esc_html(get_mep_datetime($_event_recurring_date['event_date'], 'date-text')); ?></li>
<li><?php esc_html_e(" Date", 'mage-eventpress'); ?>: <?php echo esc_html(get_mep_datetime($_event_recurring_date['event_date'], 'date-text')); ?></li>
<?php
}
}
@ -202,16 +197,14 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
} else {
if ($hide_date_status == 'no') {
?>
<li><?php echo esc_html($event_label);
esc_html_e(" Date", 'mage-eventpress'); ?>: <?php echo esc_html(get_mep_datetime($cart_item['event_cart_display_date'], 'date-time-text')); ?></li>
<li><?php esc_html_e(" Date", 'mage-eventpress'); ?>: <?php echo esc_html(get_mep_datetime($cart_item['event_cart_display_date'], 'date-time-text')); ?></li>
<?php
}
}
}
if ($hide_location_status == 'no') {
?>
<li><?php echo esc_html($event_label);
esc_html_e(" Location", 'mage-eventpress'); ?>: <?php echo esc_html($cart_item['event_cart_location']); ?></li>
<li><?php esc_html_e(" Location", 'mage-eventpress'); ?>: <?php echo esc_html($cart_item['event_cart_location']); ?></li>
<?php
}
if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0) {

View File

@ -2861,16 +2861,25 @@ if (!function_exists('get_event_list_js')) {
});
if (input < children) {
jQuery('#dadainfo_<?php echo esc_attr($count); ?>').empty();
children = 0;
let target=jQuery('#dadainfo_<?php echo esc_attr($count); ?>');
while (input < children) {
target.children().last().remove();
children--;
}
} else {
for (let i = children + 1; i <= input; i++) {
for (var i = children + 1; i <= input; i++) {
let target=jQuery(this).closest('tr').next().find('[name="mp_form_builder_same_attendee"]');
if (target.is(":checked")) {
jQuery('#dadainfo_<?php echo esc_attr($count); ?>').append(
jQuery('<div/>')
.attr("id", "newDiv" + i)
.html("<?php do_action("mep_reg_fields", $id); ?>")
jQuery('<div/>').attr("id", "newDiv" + i).html("<?php do_action('mep_reg_fields', $id); ?>").css('display','none')
);
}else{
jQuery('#dadainfo_<?php echo esc_attr($count); ?>').append(
jQuery('<div/>').attr("id", "newDiv" + i).html("<?php do_action('mep_reg_fields', $id); ?>")
);
}
}
}
});
<?php
@ -3574,15 +3583,25 @@ if (!function_exists('mep_single_page_js_script')) {
});
});
if (input < children) {
jQuery('#dadainfo_<?php echo esc_attr($count); ?>').empty();
children = 0;
let target=jQuery('#dadainfo_<?php echo esc_attr($count); ?>');
while (input < children) {
target.children().last().remove();
children--;
}
} else {
for (var i = children + 1; i <= input; i++) {
let target=jQuery(this).closest('tr').next().find('[name="mp_form_builder_same_attendee"]');
if (target.is(":checked")) {
jQuery('#dadainfo_<?php echo esc_attr($count); ?>').append(
jQuery('<div/>')
.attr("id", "newDiv" + i)
.html("<?php do_action('mep_reg_fields', $event_start_date, $event_id, $ticket_type); ?>")
jQuery('<div/>').attr("id", "newDiv" + i).html("<?php do_action('mep_reg_fields', $event_start_date, $event_id, $ticket_type); ?>").css('display','none')
);
}else{
jQuery('#dadainfo_<?php echo esc_attr($count); ?>').append(
jQuery('<div/>').attr("id", "newDiv" + i).html("<?php do_action('mep_reg_fields', $event_start_date, $event_id, $ticket_type); ?>")
);
}
}
}
});
<?php
@ -4439,6 +4458,7 @@ if (!function_exists('mep_event_list_date_schedule')) {
if (strtotime(current_time('Y-m-d H:i')) < strtotime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'])) {
?>
<li>
<a href="<?php echo get_the_permalink($event_id).esc_attr('?date=' . strtotime($start_datetime)); ?>">
<span class='mep-more-date'>
<i class="fa fa-calendar"></i>
<?php echo get_mep_datetime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'], 'date-text'); ?>
@ -4452,6 +4472,7 @@ if (!function_exists('mep_event_list_date_schedule')) {
?>
</span>
</a>
</li>
<?php
}

View File

@ -381,9 +381,9 @@ function mep_event_add_to_cart_section($atts, $content = null)
{
$defaults = array(
"event" => "0",
"cart-btn-label" => "Register For This Event",
"ticket-label" => "Ticket Type",
"extra-service-label" => "Extra Service"
"cart-btn-label" => __( 'Register For This Event', 'mage-eventpress' ),
"ticket-label" => __( 'Ticket Type', 'mage-eventpress' ),
"extra-service-label" => __( 'Extra Service', 'mage-eventpress' )
);
$params = shortcode_atts($defaults, $atts);
$event = $params['event'];

View File

@ -157,7 +157,7 @@ if (!function_exists('mep_get_event_reg_btn')) {
<td align="right">
<?php do_action('mep_before_add_cart_btn',$post_id); ?>
<input type="hidden" name="mep_event_location_cart" value="<?php trim(mep_ev_location_ticket($post_id, $event_meta)); ?>">
<input type="hidden" name="mep_event_date_cart" value="<?php do_action('mep_event_date'); ?>">
<input type="hidden" name="mep_event_date_cart" value="<?php //do_action('mep_event_date'); ?>">
<?php if($not_in_the_cart){ ?>
<button type="submit" name="add-to-cart" value="<?php echo esc_attr($cart_product_id); ?>" class="button-default woocommerce button alt button alt btn-mep-event-cart"><?php echo esc_html($cart_btn_label); ?></button>
<?php }else{
@ -320,7 +320,7 @@ if (!function_exists('mep_get_event_reg_btn_list')) {
</td>
<td align="right" class='mep-event-cart-btn-sec'>
<input type="hidden" name="mep_event_location_cart" value="<?php trim(mep_ev_location_ticket($post_id, $event_meta)); ?>">
<input type="hidden" name="mep_event_date_cart" value="<?php do_action('mep_event_date'); ?>">
<input type="hidden" name="mep_event_date_cart" value="<?php //do_action('mep_event_date'); ?>">
<?php if($not_in_the_cart){ ?>
<button type="submit" name="add-to-cart" value="<?php echo esc_html($cart_product_id); ?>" class="button-default woocommerce button alt button alt btn-mep-event-cart"><?php esc_html_e(mep_get_label($post_id, 'mep_cart_btn_text', 'Register This Event'), 'mage-eventpress'); ?></button>
<?php }else{ ?>

View File

@ -80,5 +80,8 @@
}
});
});
$(document).on('keyup change', '.mp_ticket_type_table [name="option_name_t[]"],.mp_ticket_type_table [name="option_name[]"]', function () {
let n = $(this).val();
$(this).val(n.replace(/[^a-z0-9-_\s]/gi, ''));
});
}(jQuery));

View File

@ -1,9 +1,9 @@
=== Event Manager for WooCommerce ===
=== Event Manager and Ticketing System for WooCommerce ===
Contributors: magepeopleteam, aamahin
Tags: event, woocomerce events manager, events manager, Wordpress Events plugin, Events plugin, wp events
Requires at least: 5.3
Stable tag: 3.5.4
Version: 2.1.3
Stable tag: 3.5.5
Version: 3.5.5
Tested up to: 5.8.1
WC requires at least: 3.0
WC tested up to: 5.8
@ -34,8 +34,8 @@ Event Manager for WooCommerce Plugin- is one of the best and simple event manage
➡ Multiple Event Templates (You can select a different template for each event)
➡ Works with Any Standards Compliant WordPress Theme.
➡ WooCommerce Support, You can Sell product and Event Separately. There is no mixing with Event with the WooCommerce Products.
➡ [View Live Demo For Business](https://vaincode.com/event-demo/)
➡ [View Live Demo For Cooking](https://vaincode.com/event-demo/home-cooking/)
➡ [View Live Demo For Business Event](https://vaincode.com/event-demo/)
➡ [View Live Demo For Cooking Class](https://vaincode.com/event-demo/home-cooking/)
➡ [View Live Demo For Indoor Games](https://vaincode.com/event-demo/home-indoor-games/)
### [Pro Version](https://mage-people.com/product/mage-woo-event-booking-manager-pro/) Plugin Features
@ -57,8 +57,8 @@ Event Manager for WooCommerce Plugin- is one of the best and simple event manage
➡ Related Events Addon - You can select related event and display to event details page.
➡ [View Live Demo For Business](https://vaincode.com/event-demo/)
➡ [View Live Demo For Cooking](https://vaincode.com/event-demo/home-cooking/)
➡ [View Live Demo For Business Event](https://vaincode.com/event-demo/)
➡ [View Live Demo For Cooking Class](https://vaincode.com/event-demo/home-cooking/)
➡ [View Live Demo For Indoor Games](https://vaincode.com/event-demo/home-indoor-games/)
👉 [Plugin Documentation](https://docs.mage-people.com/woocommerce-event-manager/)
@ -791,3 +791,12 @@ Security issue fixed
Style Issue fixed
Bug Fixed
11 Nov 2021*
= 3.5.5=
* Update Release:
Email Text HTML tag issue fixed
Translation Issue fixed
Event List Image Quality issue fixed
Style Issue fixed
Bug Fixed
24 Nov 2021*

View File

@ -485,9 +485,9 @@ class MEPAddToCartSectionWidget extends Widget_Base {
global $post;
$settings = $this->get_settings_for_display();
$user_select_event = $settings['mep_event_list'] > 0 ? esc_attr($settings['mep_event_list']) : 0;
$ticket_table = $settings['mep_ticket_label'] ? esc_attr($settings['mep_ticket_label']) : 'Ticket Type:';
$cart_label = $settings['mep_cart_btn_label'] ? esc_attr($settings['mep_cart_btn_label']) : 'Register For This Event';
$ex_service_table = $settings['mep_ex_service_label'] ? esc_attr($settings['mep_ex_service_label']) : 'Extra Service:';
$ticket_table = $settings['mep_ticket_label'] ? esc_attr($settings['mep_ticket_label']) : __( 'Ticket Type:', 'mage-eventpress' );
$cart_label = $settings['mep_cart_btn_label'] ? esc_attr($settings['mep_cart_btn_label']) : __( 'Register For This Event', 'mage-eventpress' );
$ex_service_table = $settings['mep_ex_service_label'] ? esc_attr($settings['mep_ex_service_label']) : __( 'Extra Service:', 'mage-eventpress' );
$event_id = $user_select_event > 0 ? $user_select_event : $post->ID;
if (get_post_type($event_id) == 'mep_events') {

View File

@ -13,7 +13,7 @@ $date = get_post_meta($event_id, 'event_upcoming_datetime', true);
<?php do_action('mep_event_list_loop_header', $event_id); ?>
<div class="mep_list_thumb">
<a href="<?php echo esc_url(get_the_permalink()); ?>">
<div class="mep_bg_thumb" data-bg-image="<?php mep_get_list_thumbnail_src($event_id, 'medium'); ?>"></div>
<div class="mep_bg_thumb" data-bg-image="<?php mep_get_list_thumbnail_src($event_id, 'large'); ?>"></div>
</a>
<div class="mep-ev-start-date">
<div class="mep-day"><?php echo esc_html(apply_filters('mep_event_list_only_day_number', $day, $event_id)); ?></div>

View File

@ -15,16 +15,16 @@ $date = get_post_meta($event_id, 'event_upcoming_datetime', true);
>
<?php do_action('mep_event_spring_list_loop_header', $event_id); ?>
<div class="mep_list_date_wrapper">
<h4 class='mep_spring_list_date'> <?php echo esc_html($start_date_format); ?></h4>
<h4 class='mep_spring_list_date'> <?php echo esc_html(get_mep_datetime($start_date_format, 'date')); ?></h4>
</div>
<div class="mep_list_event_details mep_list_details_col_one">
<a href="<?php the_permalink(); ?>">
<span class="mep_spring_event_time"><i class="far fa-clock"></i> <?php echo esc_html($start_time_format); ?> - <?php echo esc_html($end_time_format); ?></span>
<span class="mep_spring_event_time"><i class="far fa-clock"></i> <?php echo esc_html(get_mep_datetime($start_time_format, 'time')); ?> - <?php echo esc_html(get_mep_datetime($end_time_format, 'time')); ?></span>
<span class='mep_spring_event_location'><i class="fas fa-map-marker-alt"></i> <?php mep_get_event_city($event_id); ?></span>
<span class="mep_spring_event_date"><i class="far fa-calendar-alt"></i> <?php echo esc_html($start_date_format); ?> - <?php echo esc_html($end_date_format); ?></span>
<span class="mep_spring_event_date"><i class="far fa-calendar-alt"></i> <?php echo esc_html(get_mep_datetime($start_date_format, 'date')); ?> - <?php echo esc_html(get_mep_datetime($end_date_format, 'date')); ?></span>
</a>
<?php do_action('mep_event_list_loop_footer', $event_id); ?>

View File

@ -34,9 +34,9 @@ $date = get_post_meta($event_id, 'event_upcoming_datetime', true);
</span>
<a href="<?php the_permalink(); ?>">
<span class="mep_winter_event_time"><i class="far fa-clock"></i> <?php echo esc_html($start_time_format); ?> - <?php echo esc_html($end_time_format); ?></span>
<span class="mep_winter_event_time"><i class="far fa-clock"></i> <?php echo esc_html(get_mep_datetime($start_time_format, 'time')); ?> - <?php echo esc_html(get_mep_datetime($end_time_format, 'time')); ?></span>
<span class='mep_winter_event_location'><i class="fas fa-map-marker-alt"></i> <?php mep_get_event_city($event_id); ?></span>
<span class="mep_winter_event_date"><i class="far fa-calendar-alt"></i> <?php echo esc_html($start_date_format); ?> - <?php echo esc_html($end_date_format); ?></span>
<span class="mep_winter_event_date"><i class="far fa-calendar-alt"></i> <?php echo esc_html(get_mep_datetime($start_date_format, 'date')); ?> - <?php echo esc_html(get_mep_datetime($end_date_format, 'date')); ?></span>
</a>
</div>

View File

@ -1,4 +1,5 @@
<li>
<a href="<?php echo get_the_permalink($event_id) . esc_attr('?date=' . strtotime($start_datetime)); ?>">
<span class="mep-more-date">
<i class="fa fa-calendar"></i>
<span class='mep_date_scdl_start_datetime'>
@ -17,4 +18,5 @@
</span>
<?php } ?>
</span>
</a>
</li>

View File

@ -84,7 +84,7 @@ $event_label = mep_get_option('mep_event_label', 'general_setting
<?php do_action('mep_add_to_cart',get_the_id()) ?>
</div>
<div class="mep-default-feature-content">
<h4 class="mep-cart-table-title"><?php esc_html_e("About The $event_label", 'mage-eventpress'); ?></h4>
<h4 class="mep-cart-table-title"><?php esc_html_e("About The", 'mage-eventpress'); echo esc_html($event_label); ?></h4>
<?php do_action('mep_event_details'); ?>
</div>
<div class="mep-default-sidrbar-map">

View File

@ -1,9 +1,9 @@
<?php
/**
* Plugin Name: Event Manager for WooCommerce
* Plugin Name: Event Manager and Ticketing System for WooCommerce
* Plugin URI: http://mage-people.com
* Description: A Complete Event Solution for WordPress by MagePeople..
* Version: 3.5.4
* Version: 3.5.5
* Author: MagePeople Team
* Author URI: http://www.mage-people.com/
* Text Domain: mage-eventpress