Notify by Views

matt2000 - August 21, 2008 - 17:10

This module extends notify module to allow content to be selected per user based on Views.

The UID of the user being mailed can be passed as an argument to views, allowing a unique set of nodes to be selected for each recipient. This feature is quite powerful in combination with a bit of argument handling code, as you can transform the argument at-will, based on any characteristic of the user. For example, the initial implementation of this module was used to notify users of all nodes with a 'city' field matching the user's city.

Not surprisingly, this module depends on both Notify and Views.

Roadmap

Scalability testing would be greatly appreciated from anyone experienced in such work.

New features will not be added to this module until it is upgraded for Drupal 6. That may take one of two routes.

  • Either:
    • Notify_by_views will be rewritten to integrate with Notifications module, for Drupal 6 and
    • Notify module will be rewritten as a simple UI module for Notifications module.
    • A single-download package may be provided that includes Notifications, Notify UI (above), and Notify_by_views, and any other dependencies for easy installation.
  • Or, if the above is not feasible:
    • Notify_by_views will be upgraded for Drupal 6, potentially including support for all objects supported by Views 2
    • Notify_by_views templates will likely be rewritten to use token module.
    • Notify module will likely be extended to included hooks for modifying the list of items to be included in the message and the theming of the final message. This will make it easier for other developers to extend the capabilities of Notify, like for adding HTML support, and will make for cleaner integration between Notify & Notify_by_views, by allowing a single mailing process. This should make the UI for notify_by_views much more intuitive.
    • We will remove some ugly hacks from Notify_by_views, and move some features from notify_by_views to notify that really belong there. (Notify was maintained separately at the time notify_by_views was originally written, so this was not an option at that time.)
    • First priorities for issues would be to implement #180052: Allow throttling of mails to prevent cron timeout and provide a resolution for #322335: modified nodes not recognized

Created by Ninjitsu Web Development:
http://www.NinjitsuWeb.com

Developer can be hired for customizations, implementation, and other Drupal services.

Releases

Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2009-Apr-2912.21 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.