Support

Home Forums Event Espresso Premium Issues with Events List template selections, email template messages not sending

Issues with Events List template selections, email template messages not sending

Posted: December 4, 2018 at 9:15 pm

Viewing 5 reply threads


Creative Spirits

December 4, 2018 at 9:15 pm

Hi, we switched to your service over the weekend after 4 DAYS of no response from Events Calendar Pro on issues we were having that rendered our calendar absolutely useless. We have been super impressed so far with your plug-in and are putting it through lots of testing to be sure it will be a satisfactory replacement for us. I have managed to set most things up to our liking but have three issues:
1. As others have noted, it would be really great if you had an online gift certificate purchase option that fulfilled the purchase. I have managed to I think figure out a crude version using promotions but more development around this would be awesome to see.
2. I cannot get the Events List Archive page to not show up, nor can I get it to show all the details I am telling it to in the template settings page. If we’re going to have a list of events we cannot get rid of, I want it to be functional and show details like price, ticket selector, etc. Right now I can only get the featured photo, event name and full description to show but none of the venue, pricing, ticket selector, time and date info.
3. I am having issues with the messages not sending out. I have made customizations and only have the Payment Received email going out – but it doesn’t seem to want to come to me on a consistent basis even though in the messages status queue it shows sent.
Let me know what details you might need to help troubleshoot.
Thanks!


Tony

  • Support Staff

December 5, 2018 at 5:11 am

Hi there,

1. As others have noted, it would be really great if you had an online gift certificate purchase option that fulfilled the purchase. I have managed to I think figure out a crude version using promotions but more development around this would be awesome to see.

We do have gift certificates on our roadmap here:

https://trello.com/c/iW3POVVK/43-add-on-gift-certificates

We use the roadmap to help prioritize our development time so I’d recommend adding your vote and any additional comments for this feature to the above card.

Currently, we are working on WP5 and recurring events as they have much higher votes so just to note, gift certificates are not due to be released ‘soon’.

2. I cannot get the Events List Archive page to not show up, nor can I get it to show all the details I am telling it to in the template settings page. If we’re going to have a list of events we cannot get rid of, I want it to be functional and show details like price, ticket selector, etc. Right now I can only get the featured photo, event name and full description to show but none of the venue, pricing, ticket selector, time and date info.

The default event list is an archive of EE event posts, it uses your theme’s archive template to output the details so if you can’t get it to display any of the details selected on the templates setting page it usually means the theme outputs the excerpt directly on the template, or it’s doing something strange with the content which is preventing EE from injecting the event details.

Just to confirm, when your changing the settings in Event Espresso -> Events -> Templates.

You are changing the options for the event list section, correct?
It’s this section – http://take.ms/lCqny

It looks like your using twentyseventeen theme, but I’m guessing it’s a custom version?

3. I am having issues with the messages not sending out. I have made customizations and only have the Payment Received email going out – but it doesn’t seem to want to come to me on a consistent basis even though in the messages status queue it shows sent.

If they show as sent then the problem is outside of Event Espresso.

A quick explanation for the above, EE generates the email content using the templates within the messages system and passes the email over to a WordPress function called wp_mail() which in short checks the formatting, adds its own details (and applies any fitlers your site may have) and then passes the email over to your server to do whatever is it set up to do with it. If the email shows as sent in EE, wp_mail() returned true, meaning it was sent over to your sever without errors, so if you then don’t get the email, its an issue with the mailserver after that.

What are you using the send emails from your site? Your hosts mail server?

For deliverability issues we recommend switching to a transactional email service, we have some recommendations here:

https://eventespresso.com/wiki/postmark-app-mandrill-transactional-email-handling-services/

To identify if the mail server is the issue, you could sign up to one of those services (most have a free tier available for lower volumes) and test the emails using that.


Josh

  • Support Staff

December 5, 2018 at 9:18 am

Hi, and welcome aboard!

With regards to:

I cannot get the Events List Archive page to not show up

You can remove the Events List Archive page by adding the following PHP code to your website:

add_filter(
  'FHEE__EE_Register_CPTs__get_CPTs__cpts',
  'my_remove_event_espresso_cpt_archive_url'
);
function my_remove_event_espresso_cpt_archive_url( 
  $cpt_registry_array 
) {
    if ( isset( $cpt_registry_array['espresso_events'] ) ) {
        $cpt_registry_array['espresso_events']['args']['has_archive'] = false;
    }
    return $cpt_registry_array;
}

You can copy and paste the above code into to a functions plugin. Then you activate the plugin. After you activate the plugin, you’ll need to go to your site’s Settings > Permalinks page one time to allow WordPress to rebuild the site’s archive index. Then, no more Events List Archive page, it will be gone.


Creative Spirits

December 5, 2018 at 8:27 pm

Thank you both so much! I am going to have my husband try a couple of these this weekend because I don’t speak code – haha – but I truly appreciate it. We have been impressed so far. I switched to a different email template last night and it has worked so far since, not sure why. Would there be an issue with using the short code for our company email in both the To and From fields? I am wondering if this was why it wasn’t coming thru to us. Also, does it always have to be a shortcode in that field? I tried listing a regular email address and although it says the message send was successful, I did not receive it at either of those addresses.


Creative Spirits

December 5, 2018 at 8:32 pm

Also Tony – I am using twentyseventeen but it is not a custom version. What I really wanted to do was to have the month calendar version display on our /calendar page but it won’t let me do that. That page only will show the events archive listing, and we had to create a new page /events that will display the calendar. Not the end of the world, we’ve just had to change our URLs in various promotions. Any ideas?


Tony

  • Support Staff

December 6, 2018 at 3:40 am

Would there be an issue with using the short code for our company email in both the To and From fields?

Not usually, although some mail servers have issues with the _FORMATTED_ shortcodes, such as [CO_FORMATTED_EMAIL] so use [CO_EMAIL] to confirm.

Also, does it always have to be a shortcode in that field?

No, it does not. The reason we use a shortcode is in case the company email changes, if you have multiple templates all with a hardcoded email address then you’ll then need to manually change each of those templates, with a shortcode it works everywhere.

Changing from a shortcode to a hardcoded email has almost no difference tbh, EE parses the shortcodes early on so by the time it reaches wp_mail() (which is the last step and where everything should be ‘ready’ before sending over) the shortcode will have been parsed to whatever the shortcode represents.

Something to note is that most templates have multiple ‘contexts’ in which they are used, meaning you need to also edit each individual context, for more info on message contexts see here:

https://eventespresso.com/wiki/messages-system-working-with-message-contexts/

The reason for this is a single message type may have different details depending if it’s going to the registrant or the admin, so we allow you to edit each of those ‘contexts’ independently.

I tried listing a regular email address and although it says the message send was successful, I did not receive it at either of those addresses.

Have you checked the spam folder? This does sound like the email is being flagged/dropped my the mail server so you would likely benefit from using one of the transactional email services mentioned above.

What I really wanted to do was to have the month calendar version display on our /calendar page but it won’t let me do that. That page only will show the events archive listing, and we had to create a new page /events that will display the calendar. Not the end of the world, we’ve just had to change our URLs in various promotions. Any ideas?

The reason that is happening is because you have set the EE events slug to ‘calendar’ and an archive list is considered higher priority than a page in WordPress so it ‘wins’ and is displayed.

So I’m guessing you have a page called ‘Calendar’ with the calendar shortcode on it, WordPress will always show the archive list even if you have a page with the same slug, so…. you can either change the events slug to soemthing else or, if you add the code Josh gave you above to remove the archive list, the calendar page should then display on the /calendar/ slug.

Viewing 5 reply threads

The support post ‘Issues with Events List template selections, email template messages not sending’ 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