Support

Home Forums Event Espresso Premium Is there a custom email tag for registration start and end time ?

Is there a custom email tag for registration start and end time ?

Posted: March 26, 2014 at 8:16 am


sriddle

March 26, 2014 at 8:16 am

Hi There,
I am looking to se eif anyone can help me.
I would like to know if there is a custom email tag for the default registration email. For example, i can put all the other tags in such as [f_name], [location] etc.
Many thanks
Rosie


Lorenzo Orlando Caum

  • Support Staff

March 26, 2014 at 1:53 pm

Hello,

You can create a new email templates through WP-admin –> Event Espresso –> Email Manager.

If you click on the view custom email tags link at the bottom of the email text box, you’ll see all available options.

[registration_id], [fname], [lname], [phone], [edit_attendee_link], [event], [event_link], [event_url], [ticket_type], [ticket_link], [qr_code], [description], [cost], [company], [co_add1], [co_add2], [co_city],[co_state], [co_zip],[contact], [payment_url], [invoice_link], [start_date], [start_time], [end_date], [end_time], [location], [location_phone], [google_map_link], [venue_title], [venue_address], [venue_url], [venue_image], [venue_phone], [custom_questions], [seating_tag]


Lorenzo


sriddle

March 27, 2014 at 2:50 am

Hi Lorezno,
Yes i am aware of all of the above. But i want to know if there is a REGISTRATION START AND END TIME tag?
Best


Tony

  • Support Staff

March 27, 2014 at 4:14 am

Hi sriddle,

Currently there is not a registration start/end email shortcode built into Event Espresso.

It is fairly straight forward to add, but requires modifying a core file as it will be overwritten on each EE update.

However if you would still like to add this to the email open up event-espresso/includes/functions/email.php

Add a comma (,) to the code “[add_to_calendar]” on line 55 and then add this after that line:

"[reg_start_date]",
"[reg_end_date]"

So you’ll end up with something like:

	"[edit_attendee_link]",
	"[add_to_calendar]",
	"[reg_start_date]",
	"[reg_end_date]"
);

Then do the same on line 124, add a command and add:

event_date_display($data->event->registration_start),
event_date_display($data->event->registration_end)

So you end up with:

	),
	event_date_display($data->event->registration_start),
	event_date_display($data->event->registration_end)
);

Then simply use [reg_start_date] and [reg_end_date] within the email.

*Note this very quickly tested and unsupported at this time and will be overwritten after each EE update.


sriddle

March 27, 2014 at 10:19 am

Thanks Tony.
Where do i find event-espresso/includes/functions/email.php?
Also, I’ve been posting on a forum for weeks about my menu becoming unclickable for no reason, can you help at all? Its the ‘training venues’ on the right of the menu.
Cheers
Rosie


Tony

  • Support Staff

March 27, 2014 at 11:20 am

Where do i find event-espresso/includes/functions/email.php?

You’ll need FTP access to the site and it will be within wp-content/plugins/

If you are unclear on any part of what this involves I would recommend you do NOT perform this customization yourself. You would be better not altering the files and sending the emails without the Registration dates.

Regarding the menu the not clicking, this isn’t something we can support although I can tell you the link is not actually a link to anywhere. Have you manually created this menu item? If so, how?

The support post ‘Is there a custom email tag for registration start and end time ?’ 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