- Posts: 20
- Thank you received: 1
Sending attachment when registrant is confirmed
- Rasmus Larsen
- Topic Author
- Offline
- Junior Member
-
Less
More
11 years 6 months ago #49294
by Rasmus Larsen
Sending attachment when registrant is confirmed was created by Rasmus Larsen
Hi there!
Is it possible for me to change the code, so that the attachments gets sent to the registrant when the registration is confirmed?
For example, if a user registers using offline payment, the registrations is set as "Pending", and I wouldn't like the user to get the attachments, before I have checked that the bank transfer is complete.
Thanks
Is it possible for me to change the code, so that the attachments gets sent to the registrant when the registration is confirmed?
For example, if a user registers using offline payment, the registrations is set as "Pending", and I wouldn't like the user to get the attachments, before I have checked that the bank transfer is complete.
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
11 years 6 months ago #49306
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Sending attachment when registrant is confirmed
Hi Rasmus
Yes. You can. However, you will need to know how to modify code in Events Booking to do that. Basically, the idea is that :
1. Edit the function sendEmails function in EventbookingHelper class (components/com_eventbooking/helper/helper.php) so that if users choose offline payment for their registration, attachment won't be sent.
2. Edit the function sendRegistrationApprovedEmail in the same file to send the attachment to the registrant.
Hope it gives you some helps
Tuan
Yes. You can. However, you will need to know how to modify code in Events Booking to do that. Basically, the idea is that :
1. Edit the function sendEmails function in EventbookingHelper class (components/com_eventbooking/helper/helper.php) so that if users choose offline payment for their registration, attachment won't be sent.
2. Edit the function sendRegistrationApprovedEmail in the same file to send the attachment to the registrant.
Hope it gives you some helps
Tuan
The following user(s) said Thank You: Rasmus Larsen
Please Log in or Create an account to join the conversation.
- Rasmus Larsen
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 1
11 years 6 months ago #49316
by Rasmus Larsen
Replied by Rasmus Larsen on topic Sending attachment when registrant is confirmed
Awesome, that did the trick! Thanks!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
11 years 6 months ago #49320
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Sending attachment when registrant is confirmed
I'm glad it helps 
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 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.