Re: Add Registration Deadline/Cut Off Date to email

  • eeversole
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 3 weeks ago #27899 by eeversole
Hello,

I'm wanting to add the Registration Deadline to the confirmation email that a registrant receives. I tried adding [CUT_OFF_DATE] within the message but this did not work. Can you let me know how this can be done?

Thanks

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
12 years 3 weeks ago #28025 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Add Registration Deadline/Cut Off Date to email
Hi

That tag is not supported in the extension. So if you want to use that tag, you will need to edit the sendEmails function in the file components/com_eventbooking/helper/helper.php to support that tag.

Tuan

Please Log in or Create an account to join the conversation.

  • eeversole
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 weeks ago #28326 by eeversole
Tuan,

Thank you for your reply. I added cut_off_date to the query below but it did not work. Are you able to provide me anymore guidance on what I need to do?

$sql = 'SELECT event_date, title, date_time, cut_off_date, currency_symbol, params FROM #__eb_events WHERE id='.$row->event_id ;

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
12 years 2 weeks ago #28337 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Add Registration Deadline/Cut Off Date to email
Hi

You will need to know programming to do that. Look at the file components/com_eventbooking/helper/helper.php, find the function sendEmails and change it to add the tag you want. Try to read the code inside that function and you should understand how to do that.

If you could not do that, I am afraid of you will need to find a developer to help you.

Tuan

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #150250 by Manfred Lilge
Replied by Manfred Lilge on topic Re: Add Registration Deadline/Cut Off Date to email
Hi,

Just a quick check whether the cut off date is still not supported for confirmation emails?

If not I guess I can manage myself, though I would wonder why this has not been done, if so?

Thanks!

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 years 1 month ago #150251 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Add Registration Deadline/Cut Off Date to email
The cut off date is just used to disable registration for event at that time. When you are already registered for the event, I wonder why you still need cut off date in the email?

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 years 1 month ago #150252 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Add Registration Deadline/Cut Off Date to email
OK. It's not hurt to support that tag, so I added it. You can download latest package from My Downloads section, upgrade it to your site

After that, you can use [CUT_OFF_DATE] tag in the email messages

Tuan
The following user(s) said Thank You: Manfred Lilge

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc