Support

Home Forums Event Espresso Premium Confirmation email missing answers to question groups

Confirmation email missing answers to question groups

Posted: November 15, 2012 at 7:30 pm

Viewing 2 reply threads


ewentworth

November 15, 2012 at 7:30 pm

Hi, Working with version 3.0.12 at the moment (can’t upgrade quite yet) and after updating the plugin found that the confirmation email sent to the site owner is missing all the questions from the custom question groups other than the core items that appear in includes/functions/email.php here:
// Email Confirmation to Site Owner
if ($send_admin_email == ‘true’){
//global $email_questions;//Grab the answers to the questions for the global $email_questions that is created in the add_attendees_to_db.php
$message = “”.$fname.” “.$lname.” “.(‘has signed up on-line for’,’event_espresso’).” “.$event_name.”.”;
$message .= “”.
(‘Email address is’,’event_espresso’).” “.$attendee_email.”.”;
$message .= $address == ” ? ” : “”.(‘Address:’,’event_espresso’).” ” .$address.””;
$message .= $city == ” ? ” : __(‘City:’,’event_espresso’).” “.$city.””;
$message .= $state == ” ? ” : __(‘State:’,’event_espresso’).” “.$state.””;
$message .= $zip == ” ? ” : __(‘Zip:’,’event_espresso’).” “.$zip.””;
$message .= $phone == ” ? ” : “”.
(‘Phone:’,’event_espresso’).” “.$phone.””;
$message .= $email_questions;
//echo $message;
wp_mail($org_options[‘contact_email’], stripslashes_deep($event_name), stripslashes_deep($message), $headers);
}
Is there a bit of code I can add to this .php file to get the custom questions working again, or is the issue more extensive? Thanks! Eric

  • This topic was modified 12 years, 1 month ago by ewentworth.


Dean

November 16, 2012 at 1:13 am

Hello,

Working with version 3.0.12 at the moment (can’t upgrade quite yet) and after updating the plugin

If that is the version number for Event Espresso, then I am sure you don’t need me to tell you that the plugin is quite out of date and that you really, really need to update it?

In respect to your question, the oldest version of the plugin I can find is 3.0.19.P.41 and the email.php is already wildly different than the version you are using.

You could have used the Answers Shortcode, https://eventespresso.com/wiki/answers-shortcode/, but that only becomes available in 3.1.x

In short, we cannot offer support for such an old version of the plugin, please update, this will enable you to have a more secure, stable and featured filled plugin and it will resolve your current issue. If it doesnt, we are here to help.


ewentworth

November 16, 2012 at 4:50 am

Thanks, Dean. That’s what I was afraid of – was hoping it was just a quick fix for the moment until an upgrade, but I’ll plan to do it sooner than later. Appreciate the help!

Viewing 2 reply threads

The support post ‘Confirmation email missing answers to question groups’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso