diff --git a/css/admin_style.css b/css/admin_style.css index baa9f77..6143977 100644 --- a/css/admin_style.css +++ b/css/admin_style.css @@ -462,3 +462,6 @@ label.mp_event_virtual_type_des textarea{width:100%;} #mp_event_all_info_in_tab table button#mep_event_cc_email_text-tmce, #mp_event_all_info_in_tab table button#mep_event_cc_email_text-html{width:100px;} +.ppof-settings.ppof-metabox .notice.notice-warning.is-dismissible, .ppof-settings.ppof-metabox .notice { + display: none; +} \ No newline at end of file diff --git a/css/style.css b/css/style.css index 6e10678..590019f 100644 --- a/css/style.css +++ b/css/style.css @@ -314,7 +314,7 @@ h3.mep_list_date {font-size: 16px; font-style: italic;font-weight: bold;color: # .mage_grid_box .blank_div{margin: 0 20px 0 0;} .mage_grid_box .blank_div:last-child{margin: 0 0 15px 0;} .mep_event_grid_item .mep_list_event_details, -.mep_event_grid_item .mep_list_thumb{width: 100%} +.mep_event_grid_item .mep_list_thumb{width: 100%;min-height: 160px;} .mep_event_grid_item .mep_list_event_details{margin: 0;} .mep_event_grid_item .mep-list-header{padding: 0 0 0 10px;} .mep_event_grid_item .mep-list-footer { padding: 10px 0 10px 10px } diff --git a/inc/mep_functions.php b/inc/mep_functions.php index dc440a4..d134e65 100755 --- a/inc/mep_functions.php +++ b/inc/mep_functions.php @@ -190,7 +190,6 @@ function mep_get_all_tax_list($current_tax=null){ } - if (!function_exists('mep_event_get_order_meta')) { function mep_event_get_order_meta($item_id,$key){ global $wpdb; @@ -2411,9 +2410,13 @@ if (!function_exists('get_event_list_js')) { // price.closest('tr').find('.cart_total_price').html(sum + "â‚´"); }); - + jQuery('#rowtotal_').val(total); + total = total.toFixed(2); + let total_part=total.toString().split("."); + total_part[0] = total_part[0].replace(/\B(?=(\d{3})+(?!\d))/g, ""); + total=total_part.join(""); jQuery('#usertotal_').html("" + total + ""); - jQuery('#rowtotal_').val(total); + }).change(); //trigger change event on page load @@ -3043,13 +3046,17 @@ function mep_single_page_js_script($event_id){ }); //Fix 27.10.2020 Tony + jQuery('#rowtotal').val(total); total = total.toFixed(2); + let total_part=total.toString().split("."); + total_part[0] = total_part[0].replace(/\B(?=(\d{3})+(?!\d))/g, ""); + total=total_part.join(""); jQuery('#usertotal').html("" + total + ""); - jQuery('#rowtotal').val(total); + }).change(); //trigger change event on page load '.$email_content; } return $content; -} \ No newline at end of file +} + + + + +// function mep_get_event_upcomming_date($event_id){ +// $date = []; +// $event_start_datetime = get_post_meta($event_id,'event_start_datetime',true); +// $event_end_datetime = get_post_meta($event_id,'event_end_datetime',true); +// $event_multidate = get_post_meta($event_id,'mep_event_more_date',true); +// $event_std[] = array( +// 'event_std' => $event_start_datetime, +// 'event_etd' => $event_end_datetime +// ); +// $a = 1; +// foreach($event_multidate as $event_mdt){ +// $event_std[$a]['event_std'] = $event_mdt['event_more_start_date'].' '.$event_mdt['event_more_start_time']; +// $event_std[$a]['event_etd'] = $event_mdt['event_more_end_date'].' '.$event_mdt['event_more_end_time']; +// $a++; +// } +// $cn = 0; +// foreach($event_std as $_event_std){ +// $std = $_event_std['event_std']; +// $start_date = date('Y-m-d H:i:s',strtotime($_event_std['event_std'])); +// $end_date = date('Y-m-d',strtotime($_event_std['event_etd'])); +// if (strtotime(current_time('Y-m-d H:i')) < strtotime($std) && $cn == 0) { +// $date = $start_date; +// $cn++; +// } +// } +// } \ No newline at end of file diff --git a/lib/classes/class-meta-box.php b/lib/classes/class-meta-box.php index f31decc..760d1d4 100755 --- a/lib/classes/class-meta-box.php +++ b/lib/classes/class-meta-box.php @@ -39,23 +39,6 @@ if ( ! class_exists( 'AddMetaBox' ) ) { public function save_post( $post_id ) { - if (!isset($_POST['mep_event_ricn_text_nonce']) || !wp_verify_nonce($_POST['mep_event_ricn_text_nonce'], 'mep_event_ricn_text_nonce')) { - return; - } - - if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) { - return; - } - - if (!current_user_can('edit_post', $post_id)) { - return; - } - - - /** - * If the saving post is event then go on - */ - if (get_post_type($post_id) == 'mep_events') { $get_option_name = $this->get_option_name(); $post_id = $this->get_post_id(); @@ -87,7 +70,7 @@ if ( ! class_exists( 'AddMetaBox' ) ) { endforeach; endif; - } + } diff --git a/readme.txt b/readme.txt index d59bb93..edb6388 100644 --- a/readme.txt +++ b/readme.txt @@ -663,4 +663,24 @@ PHP Errors issue fixed WP Editor added into Event Confirmation Text Hook Added -05 Nov 2020* \ No newline at end of file +05 Nov 2020* + += 3.3.9 = +* Update Release: +PHP Errors issue fixed +WP Editor added into Event Confirmation Text +Hook Added + +28 Nov 2020* + += 3.4.0 = +* Update Release: +A new UI Added in the backend/Dashboard +CSS Issue fixed. +Hook Added +Some Bug fixed. +Password Protected Event feature enabled +Multi Currenncy Support feature added +Currency symbol issue fixed in the live calculation + +27 Dec 2020* \ No newline at end of file diff --git a/templates/list/default.php b/templates/list/default.php index 3d55834..4ec1915 100644 --- a/templates/list/default.php +++ b/templates/list/default.php @@ -1,5 +1,7 @@ @@ -9,10 +11,12 @@ $mep_hide_event_hover_btn_text = mep_get_option('mep_hide_event_hover_btn_text