Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce more hooks #344

Closed
vbezruchkin opened this issue Feb 11, 2017 · 1 comment
Closed

Introduce more hooks #344

vbezruchkin opened this issue Feb 11, 2017 · 1 comment
Milestone

Comments

@vbezruchkin
Copy link
Member

It would be nice to have the following hooks:

  1. Before email is sent to member
  2. Before email is sent to admins

I would like to track this and implement some features to notify through Slack, SMS or Push services.

@vbezruchkin vbezruchkin modified the milestone: 4.1.3 Feb 22, 2017
@ghost ghost self-assigned this Feb 24, 2017
@vbezruchkin vbezruchkin modified the milestones: 4.1.3, 4.1.2 Feb 24, 2017
@vbezruchkin vbezruchkin modified the milestones: 4.1.2, 4.1.3 Mar 13, 2017
@vbezruchkin vbezruchkin modified the milestones: 4.1.3, 4.1.5 Mar 23, 2017
@vbezruchkin vbezruchkin modified the milestones: 4.1.4, 4.1.7 May 16, 2017
ghost pushed a commit that referenced this issue Jun 21, 2017
vbezruchkin added a commit that referenced this issue Jun 26, 2017
* Changelog corrected.

* #458

* Closes #461

* Category helper: bugfix

* Minor phpdoc comments.

* Modules icons are always displayed in Admin Panel now.

* Minor fixes.

* Youtube improvements.

* processValues now returns item key as well.

* UTF8 encoding for XML.

* Resolves #465

* Security improvements

* Proper escaping.

* Resolves #468

* Escaping on view page.

* Notice for empty cats array.

* Minor improvements for Upload attachment field type

* #471 remove html element after successful file deletion

* #471

* #450

* Fixes #460

* #462

* #462

* Resolves #466

* Necessary for correct version zip.

* #459

* Version changed to 4.1.5

* Compatibility with Google bot.

* #344

* #422

* Changelog updated

* Resolves #354

* Resolves #282
@vbezruchkin vbezruchkin modified the milestones: 4.1.5, 4.1.6 Jun 26, 2017
@ghost
Copy link

ghost commented Aug 29, 2017

Hooks added.

regular users:
phpEmailToBeSent - before sending an email
phpEmailSent - in case of successful email submission

administrators:
phpEmailToBeSentToAdministrators - before sending an email
phpEmailSentToAdministrators - in case of successful email submission


Passed parameters:

template — template name, for example, member_approved, transaction_paid
subject — email subject
body — email body
recipient — recipient's email address

@ghost ghost closed this as completed Aug 29, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant