WordPress.org

Plugin Directory

Changeset 647639


Ignore:
Timestamp:
01/03/13 23:18:58 (16 months ago)
Author:
liedekef
Message:

Feature: extra registration field info can now also be mailed, using #_FIELDS as a placeholder in mail formats

Location:
events-made-easy/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • events-made-easy/trunk/eme_rsvp.php

    r647619 r647639  
    815815 
    816816   $booking = eme_get_booking ($booking_id); 
     817   $answers = eme_get_answers($booking['booking_id']); 
     818   $field_replace.=""; 
     819   foreach ($answers as $answer) { 
     820      $field_replace.=$answer['field_name'].": ".$answer['answer']."\n"; 
     821   } 
     822 
    817823   $person  = eme_get_person ($booking['person_id']); 
    818824   $event = eme_get_event($booking['event_id']); 
     
    840846    
    841847   // rsvp specific placeholders 
    842    $placeholders = array('#_RESPNAME' => $person['person_name'], '#_RESPEMAIL' => $person['person_email'], '#_RESPPHONE' => $person['person_phone'], '#_SPACES' => $booking['booking_seats'],'#_COMMENT' => $booking['booking_comment'], '#_TRANSFER_NBR_BE97' => $booking['transfer_nbr_be97'], '#_TOTALPRICE' => $total_price ); 
     848   $placeholders = array('#_RESPNAME' => $person['person_name'], '#_RESPEMAIL' => $person['person_email'], '#_RESPPHONE' => $person['person_phone'], '#_SPACES' => $booking['booking_seats'],'#_COMMENT' => $booking['booking_comment'], '#_TRANSFER_NBR_BE97' => $booking['transfer_nbr_be97'], '#_TOTALPRICE' => $total_price, '#_FIELDS' => $field_replace ); 
    843849 
    844850   foreach($placeholders as $key => $value) { 
  • events-made-easy/trunk/readme.txt

    r647376 r647639  
    221221* Extra: give full day events a CSS class in the calendar (eme-calendar-day-event) 
    222222* Extra: some RSS readers don't like it when an empty feed without items is returned, so we add a dummy item then 
     223 
     224= 1.0.6 = 
     225* Feature: extra registration field info can now also be mailed, using #_FIELDS as a placeholder in mail formats 
     226* Bugfix: the results for custom fields were not shown in the printable overview or the CSV export 
Note: See TracChangeset for help on using the changeset viewer.