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!

Viewing Issue Simple Details Jump to Notes ] Wiki ]  Related Changesets ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001207 [In-Portal CMS] Email Templates feature request N/A 2012-02-13 14:33 2012-07-25 05:31
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B3
Status closed Product Version 5.1.3 Target Version 5.2.0
Time EstimateNo estimate
Summary 0001207: Ability to subscribe to any system event from e-mail event
Description 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
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.
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/X4xLB0RuitE/discussion
Change Log Message Allows to send e-mail to all specific event subsribers
Estimate Points 2
Attached Files patch file icon engine_for_subscriping_to_system_events.patch [^] (32,190 bytes) 2012-03-30 12:46 [Show Content]
patch file icon engine_for_subscriping_to_system_events_upgrade.patch [^] (789 bytes) 2012-03-30 12:52 [Show Content]
patch file icon engine_for_subscriping_to_system_events_phrases.patch [^] (933 bytes) 2012-04-02 04:49 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
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 

-  Notes
User avatar (0004543)
alex (manager)
2012-03-30 12:46

Will test all together later.
User avatar (0004544)
alex (manager)
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
User avatar (0004545)
alex (manager)
2012-03-30 12:53

Patch "engine_for_subscriping_to_system_events_upgrade.patch" adds missing upgrade script.
User avatar (0004548)
alex (manager)
2012-04-02 04:49

Patch "engine_for_subscriping_to_system_events_phrases.patch" adds new phrases.
User avatar (0004939)
alex (manager)
2012-07-25 05:31

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r15255
Timestamp: 2012-04-02 04:50:09
Author: alex
Details ] Diff ]
Bug 0001207: Ability to subscribe to any system event from e-mail event
1. adds missing phrases
mod - /in-portal/branches/5.2.x/core/install/english.lang Diff ] File ]
In-Portal CMS: 5.2.x r15253
Timestamp: 2012-03-30 12:53:57
Author: alex
Details ] Diff ]
Bug 0001207: Ability to subscribe to any system event from e-mail event
1. adds missing upgrade script
mod - /in-portal/branches/5.2.x/core/install/upgrades.sql Diff ] File ]
In-Portal CMS: 5.2.x r15252
Timestamp: 2012-03-30 12:49:37
Author: alex
Details ] Diff ]
Fixes 0001207: Ability to subscribe to any system event from e-mail event
mod - /in-portal/branches/5.2.x/admin/system_presets/simple/email_events_emailevents.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/admin_templates/incs/form_blocks.tpl Diff ] File ]
mod - /in-portal/branches/5.2.x/core/admin_templates/languages/email_message_settings.tpl Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/install_schema.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/remove_schema.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/application.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/db/db_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/db/dbitem.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/event_handler.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/event_manager.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/kbase.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/managers/request_manager.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/managers/rewrite_url_processor.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/utility/debugger.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/utility/http_query.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/email_events/email_events_config.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/email_events/email_events_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/languages/languages_item.php Diff ] File ]

- Issue History
Date Modified Username Field Change
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 View Revisions
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



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

Powered by Mantis Bugtracker