How show email address from Admin Email Body for Submit Event Email Messages

  • davide
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 9 months ago - 7 years 9 months ago #114992 by davide
Hi Staff,
I'm using version EB 3.4.0
is it possible to include on Admin Email Body - Submit Event Email Messages the user email address too?
Now I can see only these Tag:

[NAME], [USERNAME], [EVENT_TITLE], [EVENT_DATE], [EVENT_ID], [EVENT_LINK]


Many thanks!


Davide

cosmogoniA
n o p r o v a r e n o f a r e o n o n f a r e n o n c e p r o v a r e
Last edit: 7 years 9 months ago by davide.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
7 years 9 months ago - 7 years 9 months ago #114996 by Tuan Pham Ngoc
Hi Davide

It's not supported in the current version (will be included in next release), so you will need to edit code:

1. Open the file components/com_eventbooking/helper/mail.php

2. Find the method sendNewEventNotificationEmail

3. Look at this line of code:
Code:
$replaces = array( 'username' => $user->username, 'name' => $user->name, 'event_id' => $row->id, 'event_title' => $row->title, 'event_date' => JHtml::_('date', $row->event_date, $config->event_date_format, null), 'event_link' => JUri::root() . 'administrator/index.php?option=com_eventbooking&view=event&id=' . $row->id, );

Change it to:
Code:
$replaces = array( 'username' => $user->username, 'name' => $user->name, 'email' => $user->email, 'event_id' => $row->id, 'event_title' => $row->title, 'event_date' => JHtml::_('date', $row->event_date, $config->event_date_format, null), 'event_link' => JUri::root() . 'administrator/index.php?option=com_eventbooking&view=event&id=' . $row->id, );

After that, you can use
Last edit: 7 years 9 months ago by Tuan Pham Ngoc.

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

  • davide
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 8 months ago - 7 years 8 months ago #115097 by davide

It's not supported in the current version (will be included in next release)

Well, very well!

Around the new features, I think it would be very important to be able to set the maximum size limit of attachments/images for frontend submission,when do you plan to implement that feature?

BTW, your subscription for Events Booking was expired about 3 months ago

Ok I've no received any mail/warning about this, now I inform the site owner...

Thanks!

Davide

cosmogoniA
n o p r o v a r e n o f a r e o n o n f a r e n o n c e p r o v a r e
Last edit: 7 years 8 months ago by davide.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
7 years 8 months ago #115102 by Tuan Pham Ngoc
Hi Davide

Around the new features, I think it would be very important to be able to set the maximum size limit of attachments/images for frontend submission,when do you plan to implement that feature?


I'm working on some improvements for version 3.6.0. For this one, I guess I can have it implemented in 3.6.1 or 3.6.2. We should have it available in about 4 to 6 weeks

Tuan

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

Moderators: Tuan Pham Ngoc