Turn off Waiting list reminder

  • OTWD
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
9 years 9 months ago #83865 by OTWD
Turn off Waiting list reminder was created by OTWD
Hi is there anyway to disable the waiting list reminder email? E.g if someone cancels i don't want the waiting list email to be sent out.
Is it using the ebreminder plugin too?
Thanks

Success consists of going from failure to failure without loss of enthusiasm.

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

More
9 years 9 months ago #83926 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Turn off Waiting list reminder
Hi

No, it is something in the code. You can follow the instructions below to turn it off:

1. Open the file components/com_eventbooking/model/register.php

2. Find this line of code and remove it

EventbookingHelper::notifyWaitingList($row, $config);

After that, no notification will be sent to registrant when someone cancel their registration anymore

Tuan

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

  • OTWD
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
9 years 9 months ago #83928 by OTWD
Replied by OTWD on topic Turn off Waiting list reminder
Great thanks - is it possible to override a model with a template override?
template/html/com_eventbooking/
Or does this only apply to "views"
Thanks

Success consists of going from failure to failure without loss of enthusiasm.

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

More
9 years 9 months ago #83929 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Turn off Waiting list reminder
Unfortunately, template override could only be applied for views layouts. It is not possible to override a model class

Regards,

Tuan

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

  • OTWD
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
9 years 5 months ago #89748 by OTWD
Replied by OTWD on topic Turn off Waiting list reminder
Hi Tuan
Client says she setup a event 1 month ago with AutoReminder = On which was going to occur Yesterday.
Then 2 weeks ago the event was cancelled so she disabled the reg and and set AutoReminder = Off.
However the registrants still got reminded of the event 2 days ago which obviously caused confusion!
EB is v2.0.4 is this normal behaviour for the ebreminder plugin?
Thanks

Success consists of going from failure to failure without loss of enthusiasm.

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

More
9 years 5 months ago #89787 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Turn off Waiting list reminder
I don't keep the code of version 2.0.4 to check. However, I just checked the code in latest version and can confirm that it could not happen

In the code which is used to get list of registrants to send reminder, we have this in where clause:

->where('b.enable_auto_reminder = 1')

So only events have reminder set to On will have reminder sent.

Maybe you should update to latest version if it is possible

Tuan

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

More
9 years 5 months ago - 9 years 5 months ago #89815 by James Riley
Replied by James Riley on topic Turn off Waiting list reminder
I found an old archive of 2.0.4 in my download folder (I really need to clean that folder out...). The mySQL query reads:
Code:
WHERE a.published=1 AND a.is_reminder_sent = 0 AND b.enable_auto_reminder=1 AND (DATEDIFF(b.event_date, NOW()) <= b.remind_before_x_days) AND (DATEDIFF(b.event_date, NOW()) >=0) ORDER BY b.event_date, a.register_date '

Seems like there are a lot of AND conditions that the client indicated that she switched to FALSE, which should have prevented the event from firing a reminder email.
I ran into an issue once where I re-purposed an old event rather than creating a new one, and anyone who had registered for the "old event" received notifications when the "re-dated event" fired off its reminder emails.

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Last edit: 9 years 5 months ago by James Riley.

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

More
8 years 8 months ago #100919 by Jürgen
Replied by Jürgen on topic Turn off Waiting list reminder
Hi,

actual this is not working (ver 2.14 and 3.0). All waiting list members still get an information email, still when EventbookingHelper::notifyWaitingList($row, $config); is removed...

Juergen

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

More
8 years 8 months ago #100952 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Turn off Waiting list reminder
Hi Juergen

Could you please let me know exactly the email he received? Maybe attach a sample email (or forward a sample email to my email tuanpn@joomdonation.com) so that I can check it?

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc