This commit is contained in:
magepeopleteam 2023-10-17 02:41:16 +00:00
parent 3999003e9a
commit 86a050c413
12 changed files with 47 additions and 33 deletions

View File

@ -1333,6 +1333,7 @@ function mep_licensing_page($form) {
<div class='mep-licensing-page'>
<h3>Event Manager For Woocommerce Licensing</h3>
<p>Thank you for using our Event Manager for WooCommerce plugin! This plugin is free to use and no license is required. However, we do have some additional add-ons which enhance the features and functionality of this plugin. If you have any of these add-ons, you will need to enter a valid license key below in order to continue using them. </p>
<div class="mep_licensae_info"></div>
<table class='wp-list-table widefat striped posts mep-licensing-table'>
<thead>
@ -1358,10 +1359,16 @@ function mep_settings_template_page($form) {
?>
<div class='mep-licensing-page'>
<h3>Ready Templates For Event Details Page.</h3>
<div class="mep_licensae_info"></div>
<div class="mep-template-lists">
<?php
$url = '';
$url = 'https://vaincode.com/update/template/template.json';
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
@ -1369,7 +1376,9 @@ function mep_settings_template_page($form) {
$data = curl_exec($curl);
curl_close($curl);
$obj = json_decode($data, true);
// print_r($data);
if (is_array($obj) && sizeof($obj) > 0) {
?>
<div class="mep_ready_template_sec">
@ -1445,6 +1454,8 @@ function mep_settings_template_page($form) {
});
})(jQuery);
</script>
</div>
<?php
}

View File

@ -140,7 +140,7 @@ a.button.remove-faq-row {
.post-type-mep_events .switch input {
display: none;
}
.post-type-mep_events .slider {
.post-type-mep_events .mep_slider {
position: absolute;
cursor: pointer;
top: 0;
@ -151,7 +151,7 @@ a.button.remove-faq-row {
-webkit-transition: .4s;
transition: .4s;
}
.post-type-mep_events .slider:before {
.post-type-mep_events .mep_slider:before {
position: absolute;
content: "";
height: 17px;
@ -162,22 +162,22 @@ a.button.remove-faq-row {
-webkit-transition: .4s;
transition: .4s;
}
.post-type-mep_events input:checked + .slider {
.post-type-mep_events input:checked + .mep_slider {
background-color: #2196F3;
}
.post-type-mep_events input:focus + .slider {
.post-type-mep_events input:focus + .mep_slider {
box-shadow: 0 0 1px #2196F3;
}
.post-type-mep_events input:checked + .slider:before {
.post-type-mep_events input:checked + .mep_slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}
/* Rounded sliders */
.post-type-mep_events .slider.round {
.post-type-mep_events .mep_slider.round {
border-radius: 34px;
}
.post-type-mep_events .slider.round:before {
.post-type-mep_events .mep_slider.round:before {
border-radius: 50%;
}
div#mage-primary-button {
@ -263,7 +263,7 @@ div#mep_event_list_thumbnail_meta_boxes table tbody {
div#mep_event_list_thumbnail_meta_boxes table td input {
width: 93% !important;
}
div#mep_event_list_thumbnail_meta_boxes span.slider:before {
div#mep_event_list_thumbnail_meta_boxes span.mep_slider:before {
display: none;
}
div#mep_event_list_thumbnail_meta_boxes table td input#enable_global_qty {

View File

@ -122,7 +122,7 @@
wp_enqueue_script('mep-timeline-min', MPWEM_PLUGIN_URL . '/assets/helper/timeline/timeline.min.js', array('jquery'), 1, true);
//calender
wp_enqueue_style('mep-calendar-min-style', MPWEM_PLUGIN_URL . '/assets/helper/calender/calendar.min.css', array());
wp_enqueue_script('mep-calendar-scripts', MPWEM_PLUGIN_URL . '/assets/helper/calender/calendar.min.js', array('jquery', 'mep-moment-js'), 1, false);
wp_enqueue_script('mep-calendar-scripts', MPWEM_PLUGIN_URL . '/assets/helper/calender/calendar.min.js', array('jquery', 'mep-moment-js'), 1, true);
//
wp_enqueue_script('mep-mixitup-min-js', 'https://cdnjs.cloudflare.com/ajax/libs/mixitup/3.3.0/mixitup.min.js', array(), '3.3.0', true);
wp_enqueue_script('mep-countdown-js', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.countdown/2.2.0/jquery.countdown.min.js', array(), 1, true);

View File

@ -460,7 +460,7 @@ class MP_Event_All_Info_In_One
<li><span><?php esc_html_e('Show Advanced Column:', 'mage-eventpress'); ?></span></li>
<li>
<label class='mp_event_ticket_type_advance_col_switch'>
<input class="mp_opacity_zero" type="checkbox" name="mep_show_advance_col_status" <?php echo esc_attr($reg_checked); ?> /><span class="slider round"></span>
<input class="mp_opacity_zero" type="checkbox" name="mep_show_advance_col_status" <?php echo esc_attr($reg_checked); ?> /><span class="mep_slider round"></span>
</label>
</li>
</ul>
@ -972,7 +972,7 @@ class MP_Event_All_Info_In_One
<td colspan="3">
<label>
<input class="mp_opacity_zero" type="checkbox" name="mep_show_end_datetime" value='yes' <?php echo esc_attr($mep_show_end_datetime); ?> />
<span class="slider round"></span>
<span class="mep_slider round"></span>
</label>
</td>
</tr>
@ -1007,7 +1007,7 @@ class MP_Event_All_Info_In_One
<td colspan="3">
<label>
<input class="mp_opacity_zero" type="checkbox" name="mep_reg_status" <?php echo esc_attr($reg_checked); ?> />
<span class="slider round"></span>
<span class="mep_slider round"></span>
</label>
</td>
</tr> -->
@ -1032,7 +1032,7 @@ class MP_Event_All_Info_In_One
<td colspan="3">
<label>
<input class="mp_opacity_zero" type="checkbox" name="mep_available_seat" <?php echo esc_attr($seat_checked); ?> />
<span class="slider round"></span>
<span class="mep_slider round"></span>
</label>
</td>
</tr>
@ -1048,7 +1048,7 @@ class MP_Event_All_Info_In_One
<td colspan="3">
<label>
<input class="mp_opacity_zero" type="checkbox" name="mep_reset_status" class="switch_checkbox" />
<span class="slider round"></span>
<span class="mep_slider round"></span>
<span style="padding: 0 0 0 60px;"><?php esc_html_e('Current Booking Status :', 'mage-eventpress'); ?></span>
<span><?php mep_get_event_total_seat($post_id); ?></span>
</label>
@ -1080,7 +1080,7 @@ class MP_Event_All_Info_In_One
<td colspan="3">
<label class="mp_event_virtual_type_des_switch">
<input class="mp_opacity_zero" type="checkbox" name="mep_event_type" <?php echo esc_attr($checked); ?> />
<span class="slider round"></span>
<span class="mep_slider round"></span>
</label>
<p></p>
<label class="mp_event_virtual_type_des <?php echo ($event_type == 'online') ? esc_attr('active') : ''; ?>">
@ -1094,7 +1094,7 @@ class MP_Event_All_Info_In_One
<td colspan="3">
<label class="mp_event_virtual_type_des_switch">
<input class="mp_opacity_zero" type="checkbox" name="mep_member_only_event" <?php echo esc_attr($member_checked); ?> />
<span class="slider round"></span>
<span class="mep_slider round"></span>
</label>
<p></p>
<label class="mp_event_virtual_type_des <?php echo ($event_member_type == 'member_only') ? esc_attr('active') : ''; ?>">

View File

@ -796,7 +796,7 @@ function mep_beta_disable_add_to_cart_if_product_is_in_cart($is_purchasable, $pr
}
}
if(!defined('PAYPLUG_GATEWAY_VERSION')){
if(!class_exists('WC_Xendit_CC')){
if(!class_exists( 'PaysonCheckout_For_WooCommerce' )){
if(!class_exists( 'RP_SUB' )){
@ -812,7 +812,6 @@ function mep_beta_disable_add_to_cart_if_product_is_in_cart($is_purchasable, $pr
}
}
}
}
} // end of check post type
@ -3640,6 +3639,7 @@ function mep_get_reg_label($event_id, $name = '') {
if (!function_exists('mep_cart_display_user_list')) {
function mep_cart_display_user_list($user_info, $event_id) {
$custom_forms_id = mep_get_user_custom_field_ids($event_id);
$form_id = mep_fb_get_reg_form_id( $event_id );
ob_start();
$recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no';
$time_status = get_post_meta($event_id, 'mep_disable_ticket_time', true) ? get_post_meta($event_id, 'mep_disable_ticket_time', true) : 'no';
@ -3666,7 +3666,7 @@ if (!function_exists('mep_cart_display_user_list')) {
<li class='mep_cart_user_gender'><?php echo esc_attr(mep_get_reg_label($event_id, 'Gender')) . ": ";
echo esc_attr($userinf['user_gender']); ?></li> <?php } ?>
<?php if (array_key_exists('user_tshirtsize',$userinf) && !empty($userinf['user_tshirtsize'])) { ?>
<li class='mep_cart_user_tshirt'><?php echo esc_attr(mep_get_reg_label($event_id, 'T-Shirt Size')) . ": ";
<li class='mep_cart_user_tshirt'><?php echo esc_attr(mep_get_reg_label($form_id, 'T-Shirt Size')) . ": ";
echo esc_attr($userinf['user_tshirtsize']); ?></li> <?php } ?>
<?php if (array_key_exists('user_company',$userinf) && !empty($userinf['user_company'])) { ?>
<li class='mep_cart_user_company'><?php echo esc_attr(mep_get_reg_label($event_id, 'Company')) . ": ";
@ -4971,7 +4971,7 @@ function mep_event_tab_before_location_virtual_event($post_id){
<label class="mp_event_virtual_type_des_switch">
<input class="mp_opacity_zero" type="checkbox" name="mep_event_type" <?php echo esc_attr($checked); ?> />
<span class="slider round"></span>
<span class="mep_slider round"></span>
</label>
<p class="event_meta_help_txt"><?php _e('If your event is online or virtual, please ensure that this option is enabled.','mage-eventpress'); ?></p>
<?php do_action('mep_event_details_before_virtual_event_info_text_box',$post_id); ?>
@ -5018,7 +5018,7 @@ function mep_event_shortcode_info($post_id){
<li><span><?php esc_html_e('Registration Off/On:', 'mage-eventpress'); ?></span></li>
<li>
<label class='mp_event_ticket_type_des_switch'>
<input class="mp_opacity_zero" type="checkbox" name="mep_reg_status" <?php echo esc_attr($reg_checked); ?> /><span class="slider round"></span>
<input class="mp_opacity_zero" type="checkbox" name="mep_reg_status" <?php echo esc_attr($reg_checked); ?> /><span class="mep_slider round"></span>
</label>
</li>
</ul>
@ -5169,7 +5169,7 @@ function mep_event_recurring_purchase_notice(){
<li><h3><?php esc_html_e('You can change the date and time format by going to the settings '.$event_label.' (Off/On):', 'mage-eventpress'); ?></h3><hr /></li>
<li>
<label class='mep_enable_custom_dt_format'>
<input class="mp_opacity_zero " type="checkbox" name="mep_enable_custom_dt_format" <?php echo esc_attr($mep_enable_custom_dt_format); ?> /><span class="slider round"></span>
<input class="mp_opacity_zero " type="checkbox" name="mep_enable_custom_dt_format" <?php echo esc_attr($mep_enable_custom_dt_format); ?> /><span class="mep_slider round"></span>
</label>
</li>
</ul>

View File

@ -17,16 +17,15 @@ if (!function_exists('mep_event_loop_winter_style')) {
$show_price = mep_get_option('mep_event_price_show', 'event_list_setting_sec', 'yes');
$price_count = mep_event_list_price($event_id, 'count');
$show_price_label = $price_count == 1 ? mep_get_option('event_price_label_single', 'general_setting_sec', __('Price:','mage-eventpress')) : mep_get_option('event-price-label', 'general_setting_sec', __('Price Starts from:','mage-eventpress'));
$event_meta = get_post_custom($event_id);
$author_terms = get_the_terms($event_id, 'mep_org');
$start_time = strtotime($event_meta['event_start_date'][0] . ' ' . $event_meta['event_start_time'][0]);
$end_time = strtotime($event_meta['event_end_date'][0] . ' ' . $event_meta['event_end_time'][0]);
$start_date_format = date_i18n('M d, Y', $start_time);
$start_date_format = date('Y-m-d H:i', $start_time);
$start_dd = date_i18n('d', $start_time);
$start_mm_yy = date_i18n('M, Y', $start_time);
$start_time_format = date_i18n('g:i A', $start_time);
$end_date_format = date_i18n('M d, Y', $end_time);
$end_date_format = date('Y-m-d H:i', $end_time);
$end_time_format = date_i18n('g:i A', $end_time);
$tt = get_the_terms($event_id, 'mep_cat');
$torg = get_the_terms($event_id, 'mep_org');

View File

@ -69,7 +69,6 @@ if (!function_exists('mep_event_ticket_type_loop_list_html')) {
if (strtotime($current_time) > strtotime( $sale_start_datetime ) && strtotime($current_time) < strtotime( $sale_end_datetime ) ) {
require($ticket_type_file_path);
}
$count++;
}
}

View File

@ -72,11 +72,13 @@ if (post_password_required()) {
if (!class_exists('WEPOF_Extra_Product_Options')) {
if (!class_exists('WC_Advanced_Country_Restrictions_Dist')) {
if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
if ( ! class_exists( 'Xoo_Wl_Core' ) ) {
do_action('woocommerce_before_single_product');
}
}
}
}
}
$theme_name = "/themes/$_current_template";
require_once(mep_template_file_path($theme_name));
if (comments_open() || get_comments_number()) {

View File

@ -394,6 +394,10 @@ A. You can create a support ticket here with problem details with possible scree
== Changelog ==
= 4.0.8 =
* Bug Fixed
17 Oct 2023*
= 4.0.7 =
* Warning issue fixed
19 Sep 2023*

View File

@ -42,7 +42,6 @@ $event_location_icon = mep_get_option('mep_event_location_icon', 'icon_se
} ?>
</span>
<a href="<?php the_permalink(); ?>">
<span class="mep_winter_event_time"><i class="<?php echo esc_attr($event_time_icon); ?>"></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="<?php echo esc_attr($event_location_icon); ?>"></i> <?php mep_get_event_city($event_id); ?></span>
<span class="mep_winter_event_date"><i class="<?php echo esc_attr($event_date_icon); ?>"></i> <?php echo esc_html(get_mep_datetime($start_date_format, 'date')); ?> - <?php echo esc_html(get_mep_datetime($end_date_format, 'date')); ?></span>

View File

@ -3,7 +3,7 @@
* Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce -WpEvently
* Plugin URI: http://mage-people.com
* Description: A Complete Event Solution for WordPress by MagePeople..
* Version: 4.0.7
* Version: 4.0.8
* Author: MagePeople Team
* Author URI: http://www.mage-people.com/
* Text Domain: mage-eventpress