- Posts: 12
- Thank you received: 0
Reminder emails sent also to pending participants
- tspielmann
- Topic Author
- Offline
- New Member
-
Less
More
13 years 2 weeks ago - 13 years 2 weeks ago #15279
by tspielmann
Reminder emails sent also to pending participants was created by tspielmann
Hi Tuan and all,
is there a way that the reminder emails (which are working fine) are also sent to participants with the status "pending" ?
We often have participants who are paying offline, just at the event - these do receive the confirmation email then only after the event, when their status is set to confirmed/paid.
Many thanks for ideas/workarounds!
Torsten
is there a way that the reminder emails (which are working fine) are also sent to participants with the status "pending" ?
We often have participants who are paying offline, just at the event - these do receive the confirmation email then only after the event, when their status is set to confirmed/paid.
Many thanks for ideas/workarounds!
Torsten
Last edit: 13 years 2 weeks ago by tspielmann.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 2 weeks ago #15293
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Reminder emails sent also to pending participants
Hi
You can edit the code alitle to have it sending to Pending registrants (who use offline payment) as well . The steps are :
1. Open the file components/com_eventbooking/models/reminder.php
2. Find the code below :
Change it to :
Regards,
Tuan
You can edit the code alitle to have it sending to Pending registrants (who use offline payment) as well . The steps are :
1. Open the file components/com_eventbooking/models/reminder.php
2. Find the code below :
Code:
$sql = 'SELECT a.id, a.first_name, a.last_name, a.email, a.register_date, a.transaction_id, b.id as event_id, b.title AS event_title, b.event_date '
.' FROM #__eb_registrants AS a INNER JOIN #__eb_events AS b '
.' ON a.event_id = b.id '
.' 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 '
.' LIMIT '.$numberEmailSendEachTime
;
Change it to :
Code:
$sql = 'SELECT a.id, a.first_name, a.last_name, a.email, a.register_date, a.transaction_id, b.id as event_id, b.title AS event_title, b.event_date '
.' FROM #__eb_registrants AS a INNER JOIN #__eb_events AS b '
.' ON a.event_id = b.id '
.' WHERE (a.published=1 OR (a.published=0 AND a.payment_method LIKE "os_offline%")) 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 '
.' LIMIT '.$numberEmailSendEachTime
;
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.