In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1207 [In-Portal CMS] Email Templates feature request N/A 2012-02-13 14:33 2012-07-25 05:31
alex  
alex  
normal  
closed 5.1.3  
fixed  
 
none 5.2.0-B3  
https://groups.google.com/d/topic/in-portal-dev/X4xLB0RuitE/discussion
Allows to send e-mail to all specific event subsribers
2
0001207: Ability to subscribe to any system event from e-mail event
Add ability to send e-mail from any form being submitted on website all subscribers of that form. For example when:
- new topic is created in a specific category
- review is added to an article
Plan:
1. Add following fields to Events table:
- BindToSystemEvent (text in format "unit-config-prefix:OnSampleEvent")

2. Create table EmailEventSubscribers:
- SubscriptionId (auto-increment)
- EmailEventId (from Events table)
- SubscriberEmail (string default empty, used in case if user subscribed without Registration - quite useful)
- UserId (from Users table, default NULL)
- CategoryId (from Categories table, default NULL)
- ItemId (default NULL)
- ParentItemId (default NULL)
- SubscribedOn (int, date when user was subscribed with DateTime Formatter)

3. Add processing code, that will be executed after processing kEvent from web-browser request.
The code will look for current event signature prefix:event_name in Events.BindToSystemEvent table and if found would check if any subscribers should be informed about it. If so, then send this e-mail.
related to 0001238closed  (5.2.0)alex In-Portal CMS Giving empty "to_name" and "to_email" parameters during e-mail sending results in Fatal Error 
related to 0001240closed  (5.2.0)alex In-Portal CMS Ability to detect event implementation 
related to 0001241closed  (5.2.0)alex In-Portal CMS Automatic redirect from ?env= urls to their mod-rewrite equivalents results in fatal error 
related to 0001243closed  (5.2.0)alex In-Portal CMS Add new "User Subscriptions" section 
related to 0001248closed  (5.2.0)alex In-Bulletin Email Notifications about New Topic and New Post 
patch engine_for_subscriping_to_system_events.patch (32,190) 2012-03-30 12:46
http://tracker.in-portal.org/file_download.php?file_id=1584&type=bug
patch engine_for_subscriping_to_system_events_upgrade.patch (789) 2012-03-30 12:52
http://tracker.in-portal.org/file_download.php?file_id=1585&type=bug
patch engine_for_subscriping_to_system_events_phrases.patch (933) 2012-04-02 04:49
http://tracker.in-portal.org/file_download.php?file_id=1587&type=bug
Issue History
2012-07-25 05:31 alex Note Added: 0004939
2012-07-25 05:31 alex Status resolved => closed
2012-04-03 14:34 Dmitry Relationship added related to 0001248
2012-04-02 04:50 alex Changeset attached 5.2.x r15255
2012-04-02 04:49 alex Note Added: 0004548
2012-04-02 04:49 alex File Added: engine_for_subscriping_to_system_events_phrases.patch
2012-04-01 17:03 Dmitry Relationship added related to 0001243
2012-03-30 12:53 alex Changeset attached 5.2.x r15253
2012-03-30 12:53 alex Note Added: 0004545
2012-03-30 12:52 alex File Added: engine_for_subscriping_to_system_events_upgrade.patch
2012-03-30 12:49 alex Note Added: 0004544
2012-03-30 12:49 alex Status reviewed and tested => resolved
2012-03-30 12:49 alex Fixed in Version => 5.2.0-B3
2012-03-30 12:49 alex Resolution open => fixed
2012-03-30 12:49 alex Assigned To !COMMUNITY => alex
2012-03-30 12:49 alex Changeset attached 5.2.x r15252
2012-03-30 12:46 alex Note Added: 0004543
2012-03-30 12:46 alex Status needs testing => reviewed and tested
2012-03-30 12:46 alex Assigned To => !COMMUNITY
2012-03-30 12:46 alex Developer => alex
2012-03-30 12:46 alex Status active => needs testing
2012-03-30 12:46 alex File Added: engine_for_subscriping_to_system_events.patch
2012-03-30 12:44 alex Additional Information Updated bug_revision_view_page.php?rev_id=996#r996
2012-03-30 12:31 alex Relationship added related to 0001241
2012-03-30 11:45 alex Relationship added related to 0001240
2012-03-30 11:18 alex Relationship added related to 0001238
2012-02-13 14:33 alex New Issue
2012-02-13 14:33 alex Reference => https://groups.google.com/d/topic/in-portal-dev/X4xLB0RuitE/discussion
2012-02-13 14:33 alex Change Log Message => Allows to send e-mail to all specific event subsribers
2012-02-13 14:33 alex Estimate Points => 2

Notes
(0004543)
alex   
2012-03-30 12:46   
Will test all together later.
(0004544)
alex   
2012-03-30 12:49   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001207: Ability to subscribe to any system event from e-mail event
(0004545)
alex   
2012-03-30 12:53   
Patch "engine_for_subscriping_to_system_events_upgrade.patch" adds missing upgrade script.
(0004548)
alex   
2012-04-02 04:49   
Patch "engine_for_subscriping_to_system_events_phrases.patch" adds new phrases.
(0004939)
alex   
2012-07-25 05:31   
Since 5.2.0 version was released.