In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

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.



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker