Send attachment and .ics only for confirmed regist

  • Iñigo Cabrera Sánchez
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 10 months ago - 8 years 10 months ago #98475 by Iñigo Cabrera Sánchez
Send attachment and .ics only for confirmed regist was created by Iñigo Cabrera Sánchez
Hi,

whenever an user registers on my event, Events Booking automatically sends an email saying he has register successfully but is pending to approval. But on this first email, they receive the attachment and an .ics file for calendar. I want to send this only when I confirm a registration in the backend (offline payment).

How can I do this? Thanks!!
Last edit: 8 years 10 months ago by Iñigo Cabrera Sánchez.

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

More
8 years 10 months ago #98487 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Send attachment and .ics only for confirmed regist
Hello Sánchez

Unfortunately, it is not possible without having to modify code in several places in the extension (the code which send confirmation email when people register for the event and code which send registration approved email when admin approve the registration)

If you really need it, you can try to look at components/com_eventbooking/helper/mail.php, find modify the code of the two methods sendEmails and sendRegistrationApprovedEmail to have it works as you want

If you really need it, and could not modify code yourself, you can consider hiring us to modify it for you. It will however, cost you 30$ for doing this modification

Personal, I think it is not really needed. All other customers are using it as how it is. Having an ics file would not cause any problem for registrants, even if he is not approved for the registration

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc