Reply to: tickets(396491)

Hey again, three questions remained when you have some time to reply:

a. maps styles you have here: https://docs.myeventon.com/documentations/how-to-install-and-use-the-events-map-addon/ – for example Vintage Yellow Light. It only available through the addon? You said before you will ask Ashan for this, is there any reply available yet?

b. when i share an event in social media, for example this one: https://redball.gr/v2/events/vs-hapoel-ibi-tel-aviv/ it opens the eventcard on a page. How i can have on this kind of pages, a way to return to the calendar page itself which is: https://redball.gr/v2/games-schedule/

c. When you go here on the calendar page, and open the event it shows like that:

If you click on Expand button or open in a single link, it opens ok, but on the eventcard lightbox it opens as you can see with not showing the map itself. Is that a bug?

Ty in advance for your time as always 🙂

Reply to: tickets(398770)

Hi Artem – just to say I’ve managed to sort these things out so don’t worry about looking into them. Thank you again!

Reply to: tickets(398661)

the e-mail template of eventon tickets is in the child theme: 

<?php

/**

 * Ticket Confirmation email Template

 * @version 2.3.3

 *

 * To customize: copy this file to your theme folder as below path

 * path: your-theme-dir/eventon/templates/email/tickets/

 */

// $args are passed to this page

// These are required on this template page to get correct ticket values

$email = $args[1];

$args = $args[0];

$eotx = EVOTX()->evotx_opt;

$evo_options = get_option(‘evcal_options_evcal_1’);

$evo_options_2 = $eo2 = get_option(‘evcal_options_evcal_2’);

// inline styles

$__styles_button = “font-size:14px; background-color:#”.( !empty($evo_options[‘evcal_gen_btn_bgc’])? $evo_options[‘evcal_gen_btn_bgc’]: “237ebd”).”; color:#”.( !empty($evo_options[‘evcal_gen_btn_fc’])? $evo_options[‘evcal_gen_btn_fc’]: “ffffff”).”; padding: 5px 15px; text-decoration:none; border-radius:20px; display:inline-block; box-shadow:none; text-transform:uppercase; font-size:12px;”;

// styles

$font = “‘Helvetica Neue’, Helvetica, Arial, sans-serif”;

$border_color_1 = ‘#474747’;

$styles = array(

‘000’=>”color:#262626; background-color:#fff; border-top:5px solid {$border_color_1};border-bottom:5px solid {$border_color_1}; text-transform:uppercase;text-align:center;padding:40px 0;”,

‘001’=>”font-size:18px; font-family: {$font}; padding:0px; margin:0px; text-transform:none”,

‘002’=>”font-size:30px; font-family: {$font}; padding:0px; margin:0px; font-weight:bold; line-height:38px;”,

‘003’=>””,

‘004’=>”color:#9e9e9e; font:14px {$font}; padding:0px; margin:0px; font-weight:normal; line-height:100%;”,

‘005’=>”font:16px {$font}; padding:0px; margin:0px; font-weight:bold; line-height:100%; text-transform:none;”,

‘006’=>”font:14px {$font}; padding:0px; margin:0px; font-weight:bold; line-height:100%;”,

‘007’=>”font:16px {$font}; padding:0px; margin:0px; font-weight:bold; line-height:100%;”, 

‘008’=>”color:#a5a5a5; font-size:10px; font-family: {$font}; padding:0px; margin:0px; font-weight:normal; text-transform:none;”,

‘100’=>”padding:15px 20px 10px;”,

‘101’=>”text-align:right;”,

‘102’=>”margin:0px; padding:0px;”,

‘103’=>”padding:10px 20px;”,

‘p0’=>’padding:0px;’,

‘pb5’=>’padding-bottom:5px;’,

‘pb10’=>’padding-bottom:10px;’,

‘pt5’=>’padding-top:5px;’,

‘pt10’=>’padding-top:10px;’,

‘m0’=>’margin:0px;’,

‘lh100’=>’line-height:100%;’,

‘wbbw’=>’word-break:break-word’,

‘fz24’=>’font-size:24px;’

);

extract( $styles );

?>

<table class=’evotx_ticket’ width=’100%’ style=’width:100%; margin:0;font-family:”open sans”,Helvetica;’ cellspacing=’0′ cellpadding=’0′>

<?php 

$count = 1;

if(empty($args[‘tickets’])) return;

// Store check values

$_event_id = $_repeat_interval = ”;

$taxMeta = get_option( “evo_tax_meta”);

$processed_ticket_ids = array();

$evotx_tix = new evotx_tix();

// get all ticket hodlers for this order

$EA = new EVOTX_Attendees();

$TH = $EA->_get_tickets_for_order( $args[‘orderid’]);

$order = wc_get_order( $args[‘orderid’] );

$tix_holder_index = 0;

// order items as ticket items – run through each ticket

foreach($args[‘tickets’] as $ticket_number):

$show_add_cal = false;

// WC order item product ID

$product_id = $evotx_tix->get_product_id_by_ticketnumber($ticket_number);

// initiate ticket order item class

$event_id = $evotx_tix->get_event_id_by_product_id($product_id);

if(empty($event_id)) continue;

// get evo-tix CPT ID

$ticket_item_id = $evotx_tix->get_evotix_id_by_ticketnumber($ticket_number);

$TIX_CPT = new EVO_Ticket($ticket_item_id);

$repeat_interval = $TIX_CPT->get_repeat_interval();

// adjust the evo lang value based on item language @+ 1.9.3

$lang = $TIX_CPT->get_order_item_lang();

evo_set_global_lang($lang);

$EVENT = new EVO_Event( $event_id,”, $repeat_interval);

$e_pmv = $EVENT->get_data();

// event time

$eventTime = $EVENT->get_formatted_smart_time();

$_this_ticket = $TH[$event_id][$ticket_number];

//print_r($_this_ticket[‘oD’]);

// set check values

if(empty($_event_id) || $_event_id != $event_id){

$show_add_cal = true;

$_event_id = $event_id;

$tix_holder_index = 0;

}

if($_event_id == $event_id){

if(empty($_repeat_interval)){

$_repeat_interval = $repeat_interval;

}

if(!empty($_repeat_interval) && $_repeat_interval != $repeat_interval){

$show_add_cal = true;

$_repeat_interval = $repeat_interval; 

}

}

// location organizer and image

// location data

$location_terms = wp_get_post_terms($event_id, ‘event_location’);

$location = false;

if($location_terms && ! is_wp_error( $location_terms )){

$locTermMeta = evo_get_term_meta( ‘event_location’, $location_terms[0]->term_id ,$taxMeta);

$location = $location_terms[0]->name;

if(!empty($locTermMeta[‘location_address’]))

$location .=’, ‘.$locTermMeta[‘location_address’];

}

// organizer

$organizer_terms = wp_get_post_terms($event_id, ‘event_organizer’);

$organizer = false;

if($organizer_terms && ! is_wp_error( $organizer_terms )){

$organizer = $organizer_terms[0]->name;

}

// event ticket image

$img_src = (!empty($e_pmv[‘_tix_image_id’]))? wp_get_attachment_image_src($e_pmv[‘_tix_image_id’][0],’thumbnail’): false;

// Add to calendar

?>

<tr class=’evotx_add_to_cal’>

<td class=’add_to_cal’ colspan=” style=’padding:20px 20px 15px’>

<?php

// add to calendar button

if($show_add_cal):

$ET = $EVENT->get_start_end_times( $repeat_interval );

extract($ET);

$add_to_cal_link = apply_filters(‘evotx_ticket_addcal_link’, 

admin_url(). ‘admin-ajax.php?action=eventon_ics_download&event_id=’. $event_id . ‘&ri=’. $repeat_interval

,$event_id, $e_pmv);

?>

<p style=”<?php echo $styles[‘102′];?>”><a style='<?php echo $__styles_button;?> border-radius:5px’ href='<?php echo $add_to_cal_link;?>’ target=’_blank’><?php echo evo_lang_get( ‘evcal_evcard_addics’, ‘Add to calendar’,”,$eo2);?></a></p>

</td>

<?php endif; ?>

<td>

<p style=”text-align: right; padding:5px 20px 5px 0;”><?php _e(‘Order ID’);?> <strong>#<?php echo $args[‘orderid’];?></strong></p>

</td>

<td></td>

</tr>

<?php

// Ticket Status

$TS = $_this_ticket[‘s’];

$TS = $TS? $TS: ‘check-in’;

?>

 <tr>

  <td colspan=’3′>

<table style=”<?php echo $styles[‘000’];?> width:100%;” >

<tbody>

<!– title and images –>

<tr>

<td colspan=’2′ style=’padding:20px 20px 10px;<?php echo $TS==’refunded’? ‘background-color:#ff6f6f;color:#fff’:”;?>’>

<div style=””>

<?php if($img_src):?>

<p style=”><img style=’border-radius:10px;height:120px; width:auto; max-width:none’ src=”<?php echo $img_src[0];?>” alt=””></p>

<?php endif;?>

<?php if($TS==’refunded’):?><p><?php echo $TS;?></p><?php endif;?>

<p style=”<?php echo $styles[‘001’];?>”><?php echo evo_lang_get( ‘evotxem_001’, ‘Your Ticket for’,”,$eo2);?></p>

<p style=”<?php echo $styles[‘002’].$styles[‘pb10′];?>”><a style=’box-shadow:none;’ href='<?php echo $EVENT->get_permalink();?>’><?php echo get_the_title($event_id);?></a></p>

</div>

</td>

</tr>

<!– Main ticket data –>

<tr>

<td colspan=’2′ style=”<?php echo $styles[‘100’];?>” >

<?php

foreach(apply_filters(‘evotx_confirmation_email_data_ar’, array(

array(

‘data’=> $_this_ticket[‘n’],

‘label’=> evo_lang_get( ‘evoTX_004’, ‘Primary Ticket Holder’,”,$eo2),

‘type’=> ‘holder’

),

array(

‘data’=> $_this_ticket[‘e’],

‘label’=>evo_lang( ‘Email Address’),

‘type’=>’normal’

),

array(

‘data’=> $eventTime,

‘label’=>evo_lang( ‘Date and time’),

‘type’=>’normal’

),

array(

‘data’=> $location,

‘label’=> evo_lang_get( ‘evcal_lang_location’, ‘Location’,”,$eo2),

‘type’=> ‘normal’

),array(

‘data’=> $organizer,

‘label’=> evo_lang_get( ‘evcal_evcard_org’, ‘Organizer’,”,$eo2),

‘type’=> ‘normal’

),

)) as $item){

if(!empty($item[‘data’])):?>

<div style='<?php echo $pb10;?>’>

<p style=”<?php echo $styles[‘005’].$styles[‘pb5’]; ?><?php echo $item[‘type’] == ‘holder’? $fz24:”;?>”><?php echo $item[‘data’];?></p>

<p style=”<?php echo $styles[‘004’].$styles[‘pb5’]; ?>”><?php echo $item[‘label’];?></p>

</div>

<?php endif;

}

?>

</td>

</tr>

<!– ticket number and extra–>

<tr>

<td colspan=’2′ style=”<?php echo $styles[‘100’];?>”>

<?php

$encrypt_TN = base64_encode($ticket_number);

if($_this_ticket[‘oS’] == ‘completed’):

?><p style=”<?php echo $styles[‘007’];?>; text-transform:none;”><?php echo apply_filters(‘evotx_email_tixid_list’, $encrypt_TN,$ticket_number, $_this_ticket);?></p>

<?php else:?>

<p style=”<?php echo $styles[‘007’];?>;text-transform:none;”><?php echo $encrypt_TN;?></p>

<?php endif;?>

<p style=”<?php echo $styles[‘004’].$styles[‘pt5’];?>”><?php echo evo_lang_get( ‘evotxem_003’, ‘Ticket Number’,”,$eo2);?></p>

</td>

</tr>

<!– Ticket additional information –>

<?php 

// extra data pluggable filter @2.3.3

$extra_data = array();

if( $TIX_CPT->get_ticket_type() == ‘variation’){

$variation_data = $TIX_CPT->get_ticket_wc_variation_data();

if( $variation_data ){

foreach($variation_data as $key=>$value){

$extra_data[ $key ] = array(

‘label’=> $key , ‘value’=> ucfirst( $value )

); 

}

}

}

// plug for extra data

$extra_data = apply_filters(‘evotx_confirmation_email_additional_data_array’, $extra_data , 

$_this_ticket , $TIX_CPT, $EVENT );

// print out the extra data

if( is_array( $extra_data ) && count( $extra_data )> 0 ):

foreach($extra_data as $key => $data){

if( !isset( $data[‘label’] )) continue;

if( !isset( $data[‘value’] )) continue;

$label = esc_attr( $data[‘label’] );

$value = esc_attr( $data[‘value’] );

?>

<tr>

<td colspan=’2′ style=’padding:8px 20px’>

<p style=”<?php echo $styles[‘007’];?>; text-transform:none;”><?php echo $value;?></p>

<p style=”<?php echo $styles[‘004’].$styles[‘pt5’];?>”><?php echo $label;?></p>

</td>

</tr>

<?php

}

endif;

?>

<tr>

<td colspan=’2′ style=’padding:8px 20px’> https://www.baav.be/ </td>

</tr>

<tr>

<td colspan=’2′ style=’padding:8px 20px’>

<?php

// pluggable function  for expansion of data // deprecating @2.3

do_action(‘evotix_confirmation_email_data’, 

$ticket_item_id, 

$TIX_CPT->get_props(), 

$styles, 

$ticket_number, 

$tix_holder_index,

$event_id,

$EVENT

);

// new hook since @2.3 @updated 2.3.3

do_action(‘evotix_confirmation_email_additional_data’,

$TIX_CPT, $EVENT,$styles, $ticket_number, $tix_holder_index, $_this_ticket

);

?>

</td>

</tr>

<?php

// @updated 2.3.3

do_action(‘evotix_confirmation_email_data_after_tr’, $EVENT, $TIX_CPT, $order, $styles, $_this_ticket );

?>

<?php

// terms and conditions

if(!empty($eotx[‘evotx_termsc’])):

?>

<tr><td style=”<?php echo $styles[‘103’];?>”>

<p style=”<?php echo $styles[‘008’];?>”><?php echo $eotx[‘evotx_termsc’];?></p>

</td></tr>

<?php endif;?>

</tbody>

</table>

</td>

 </tr>

<?php

$tix_holder_index++;

endforeach;

?>

<?php do_action(‘evotx_before_footer’,  $order); ?>

<?php if($email):?>

<tr>

<td class=’email_footer’ colspan=’3′ style=’padding:20px; text-align:left;font-size:12px;’>

<?php

$__link = (!empty($eotx[‘evotx_conlink’]))? $eotx[‘evotx_conlink’]:site_url();

?>

<p style='<?php echo $styles[‘m0′];?>’><?php echo evo_lang_get( ‘evoTX_007’, ‘We look forward to seeing you!’,”, $eo2)?></p>

<p style='<?php echo $styles[‘m0′];?>’><a style=” href='<?php echo $__link;?>’><?php echo evo_lang_get(‘evoTX_008’, ‘Contact Us for questions and concerns’,”, $eo2)?></a></p>

</td>

</tr>

<?php endif;?>

</table>

Reply to: tickets(398661)

Althouogh eventon ticket e-mails are configured OK, I only see woocommerce mails being sent out. (see attachment of the last 2 orders. 1 mail to the owner of the site, 1 mail to the purchaser)

Reply to: tickets(398770)

Oh just another quick question – where it says Learn More on the Event Card. Can this phrase be changed to something else link Click Here/Pay in Full? Thank you again!

Reply to: tickets(397104)

Oh just another quick question – where it says Learn More on the Event Card. Can this phrase be changed to something else link Click Here/Pay in Full? Thank you again!

Reply to: tickets(398770)

Thank you so much! It’s working now and I really appreciate your help getting that fixed so quickly. I’ve updated to the latest version as well. Thank you Artem – have a lovely day!

Reply to: tickets(398769)

Hello Alison thank you for bringing this to our attention. It is not supported at the moment from Event Submission form. We will add this in the next version update to action User 2.5.9 which we are currently working on. 

Will update you in here when it is out 🙂