version 3.0.3 released

This commit is contained in:
magepeopleteam 2020-01-02 12:10:06 +00:00
parent 62cad595be
commit a5481bb2f0
5 changed files with 74 additions and 47 deletions

View File

@ -447,3 +447,11 @@ A. you can create support ticket here with problem details with possible screens
==> Event Checkout Validation ==> Event Checkout Validation
==> Missing Translation added. ==> Missing Translation added.
17 Dec 2019* 17 Dec 2019*
*= 3.0.3 =
* Update Release:
==> Code Improved
==> Date Issue Fixed in Some template and organizer page & PDF Ticket
==> Email HTML support issue fixed
02 Jan 2020*

View File

@ -35,12 +35,26 @@ $term_id = get_queried_object()->term_id;
if(time() < strtotime($newformat)){ if(time() < strtotime($newformat)){
$start_datetime = $event_meta['event_start_date'][0].' '.$event_meta['event_start_time'][0];
$start_date = $event_meta['event_start_date'][0];
$start_time = $event_meta['event_start_time'][0];
$end_datetime = $event_meta['event_end_date'][0].' '.$event_meta['event_end_time'][0];
$end_date = $event_meta['event_end_date'][0];
$end_time = $event_meta['event_end_time'][0];
?> ?>
<div class='mep_event_list_item'> <div class='mep_event_list_item'>
<div class="mep_list_thumb"><?php the_post_thumbnail('medium'); ?></div> <div class="mep_list_thumb"><?php the_post_thumbnail('medium'); ?></div>
<div class="mep_list_event_details"><a href="<?php the_permalink(); ?>"> <div class="mep_list_event_details"><a href="<?php the_permalink(); ?>">
<h2 class='mep_list_title'><?php the_title(); ?></h2> <h2 class='mep_list_title'><?php the_title(); ?></h2>
<h3 class='mep_list_date'>on <?php echo $event_meta['event_start_date'][0].' '.$event_meta['event_start_time'][0]; ?> - <?php echo $event_meta['event_end_date'][0].' '.$event_meta['event_end_time'][0]; ?></h3> <h3 class='mep_list_date'>on <?php echo get_mep_datetime($start_datetime,'date-text').' '.get_mep_datetime($start_datetime,'time'); ?> - <?php if($start_date != $end_date){ echo get_mep_datetime($end_datetime,'date-text') .' - '; } echo get_mep_datetime($end_datetime,'time'); ?></h3>
<p><?php echo $event_meta['mep_location_venue'][0]; ?>,<?php echo $event_meta['mep_street'][0]; ?>, <?php echo $event_meta['mep_city'][0]; ?>,<?php echo $event_meta['mep_state'][0]; ?>,<?php echo $event_meta['mep_postcode'][0]; ?>,<?php echo $event_meta['mep_country'][0]; ?></p> <p><?php echo $event_meta['mep_location_venue'][0]; ?>,<?php echo $event_meta['mep_street'][0]; ?>, <?php echo $event_meta['mep_city'][0]; ?>,<?php echo $event_meta['mep_state'][0]; ?>,<?php echo $event_meta['mep_postcode'][0]; ?>,<?php echo $event_meta['mep_country'][0]; ?></p>
</a> </a>

View File

@ -46,11 +46,12 @@ if($recurring == 'yes'){
} }
} }
} }
}elseif(is_array($more_date) && sizeof($more_date) > 0){ }elseif(is_array($more_date) && sizeof($more_date) > 0){?>
foreach ($more_date as $_more_date) { <p><?php echo get_mep_datetime($start_datetime,'date-text').' '.get_mep_datetime($start_datetime,'time'); ?> - <?php if($start_date != $end_date){ echo get_mep_datetime($end_datetime,'date-text') .' - '; } echo get_mep_datetime($end_datetime,'time'); ?></p><br>
<?php foreach ($more_date as $_more_date) {
?> ?>
<p><?php echo get_mep_datetime($start_datetime,'date-text').' '.get_mep_datetime($start_datetime,'time'); ?> - <?php if($start_date != $end_date){ echo get_mep_datetime($end_datetime,'date-text') .' - '; } echo get_mep_datetime($end_datetime,'time'); ?></p>,
<p><?php echo get_mep_datetime($_more_date['event_more_start_date'],'date-text').' '.get_mep_datetime($_more_date['event_more_start_time'],'time'); ?> - <?php if($_more_date['event_more_start_date'] != $_more_date['event_more_end_date']){ echo get_mep_datetime($_more_date['event_more_end_date'],'date-text') .' - '; } echo get_mep_datetime($_more_date['event_more_end_time'],'time'); ?></p> <p><?php echo get_mep_datetime($_more_date['event_more_start_date'],'date-text').' '.get_mep_datetime($_more_date['event_more_start_time'],'time'); ?> - <?php if($_more_date['event_more_start_date'] != $_more_date['event_more_end_date']){ echo get_mep_datetime($_more_date['event_more_end_date'],'date-text') .' - '; } echo get_mep_datetime($_more_date['event_more_end_time'],'time'); ?></p><br>
<?php <?php
} }

View File

@ -20,7 +20,7 @@ if($mep_event_ticket_type){
?> ?>
<?php echo "<h3 class='ex-sec-title'>".mep_get_label($pid,'mep_event_ticket_type_text','Ticket Type: <?php echo "<h3 class='ex-sec-title'>".mep_get_label($pid,'mep_event_ticket_type_text','Ticket Type:
')."</h3>"; ?> ')."</h3>"; ?>
<input type="hidden" name='mep_event_start_date' value="<?php echo get_post_meta($post->ID, 'event_start_date', true); ?>"> <input type="hidden" name='mep_event_start_date' value="<?php echo get_post_meta($post->ID, 'event_start_date', true).' '.get_post_meta($post->ID, 'event_start_time', true); ?>">
<table> <table>
<?php <?php
$count =1; $count =1;

View File

@ -3,7 +3,7 @@
* Plugin Name: Woocommerce Events Manager * Plugin Name: Woocommerce Events Manager
* Plugin URI: http://mage-people.com * Plugin URI: http://mage-people.com
* Description: A Complete Event Solution for WordPress by MagePeople.. * Description: A Complete Event Solution for WordPress by MagePeople..
* Version: 3.0.2 * Version: 3.0.3
* Author: MagePeople Team * Author: MagePeople Team
* Author URI: http://www.mage-people.com/ * Author URI: http://www.mage-people.com/
* Text Domain: mage-eventpress * Text Domain: mage-eventpress
@ -2398,6 +2398,10 @@ jQuery('#quantity_5a7abbd1bff73').on('change', function () {
echo $content = ob_get_clean(); echo $content = ob_get_clean();
} }
function mep_set_email_content_type(){
return "text/html";
}
add_filter( 'wp_mail_content_type','mep_set_email_content_type' );
}else{ }else{
function mep_admin_notice_wc_not_active() { function mep_admin_notice_wc_not_active() {