Anonymous | Login | Signup for a new account | 2024-03-28 12:00 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
View Revisions: Issue #1207 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0001207: Ability to subscribe to any system event from e-mail event | ||
Revision | 2012-03-30 12:44:08 by alex | ||
Additional Information | 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. |
||
Revision | 2012-02-13 14:33:29 by alex | ||
Additional Information | 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) - PortalUserId (from Users table, default NULL) - CategoryId (from Categories table, default NULL) - ItemId (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. |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |