https://github.com/semperos/drupal-simple-subs
Simple subscriptions to node comments attached to nodes
https://github.com/semperos/drupal-simple-subs
Last synced: 5 months ago
JSON representation
Simple subscriptions to node comments attached to nodes
- Host: GitHub
- URL: https://github.com/semperos/drupal-simple-subs
- Owner: semperos
- Created: 2011-05-03T04:36:07.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2011-05-03T04:40:27.000Z (about 15 years ago)
- Last Synced: 2025-03-05T10:31:34.714Z (over 1 year ago)
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drupal - Simple Subscriptions
This module is an extremely simple subscriptions module which allows users to subscribe to a node's comments (specifically, NodeComment comments).
Users receive an email upon subscription and then a single email for each new comment published to the discussion. A user can subscribe either by clicking a link that can be placed on the node's display, or via a checkbox in the nodecomment form.
Users can unsubscribe by clicking either a link displayed in the node or the link present at the bottom of the default email included with the module.
## Drupal Topics
The main topic this code covers is the use of the `drupal_mail()` function, which due to its flexibility is somewhat cumbersome to use for simple purposes.
As with most modules, this code also shows examples of using custom permissions, different kinds of `hook_menu()` callbacks, and using the Form API to change how form submissions are handled.