Closed (outdated)
Project:
Subscriptions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2007 at 21:37 UTC
Updated:
27 Sep 2019 at 13:27 UTC
Jump to comment: Most recent
Comments
Comment #1
ju.ri commentedthanks! this would be quite essential for my site too.
Comment #2
liquidcms commentedwell i didnt do a patch to module but we have coded the function to a custom module specifically for the project we are working on
basically:
- we use relativity module to attach children (node type B) to a node type A
- site members may click a link to "subscibe" to specific A nodes
- members may also attach B nodes to an A node
the custom code uses subscription module routines to basically:
- whenever someone creates a B type node it notifies everyone that had subscribed to the parent A node.
if this sounds like what you are looking for email me and i can send you the code.
Peter Lindstrom
LiquidCMS - Content Management Solution Experts
Comment #3
ju.ri commentedsounds great. actually what i need is that people get notified when their own nodes have new child attachments via relativity node.
so that would be the "autosubscribe" function plus the functionality you described minus some of the user interface (are the subscribe buttons optional in the original module?). this would be with drupal 5.0...
email is on the way
Comment #4
arthurf commentedSo the feature description is the following:
Is this what you're looking for?
Comment #5
liquidcms commentednope.. nothing to do with taxonomy.
myself and ju.ri are both using relativity module.
This module allows you to add "children" to a node using a url such as:
/node/add/content_mytype/parent/232
where 232 is the node you want to attach to and content_mytype is the type you are attaching as a child.
Comment #6
arthurf commentedHuh.... what it seems like to me is that the subscriptions module needs to have some kind of api that allows other modules to relate content to a subscription- ie: something that says, if you're subscribed to node X you should also be subscribed to node Y.
This might be something to push toward in a 2.0 release. Can you think of other modules and/or situations where this would be helpful?
Comment #7
liquidcms commentednot sure i can think of other sues off the top of my head.. but seems certainly possible there would be some.
the userpoints module as an api which basically calls module_invoke_all to call its own hook that other modules may take advantage of... this is a great way to extend a module's integration. I wrote a module which uses the userpoints api and it only took me a about 1/2 hour to write.
a similar sort of api which provides a hook_subscription would have allowed me to add what did in a much easier fashion - although pretty easy anyway.
You might want to check out that module for ideas.
Also, admin/settings to define the email would be useful - i will need to add that myself for my current project.
cheers,
Comment #8
gustav commentedChild pages do not only exist for the node relativity module but also for the book module and probably others. It would be nice to be able to subscribe to the creation of a child page in a book too.
The new 5.x-2 version of the subscription module has been written in a more modular form which is meant to make it easier to allow other modules to plug in and add subscriptions in the way suggested in this thread. There is no documentation of the API yet though, see http://drupal.org/node/194570.
It would be nice if someone could investigate whether the API is flexible enough to allow adding the ability to subscribe to the creating of child pages.
Comment #9
salvisThis should be easy to do using hook_subscriptions_queue_alter() and subscriptions_queue(), but it needs to be done separately for each module.
Ideally, there'd be add-on modules for book module, node relativity module, etc....
Anyone?
Comment #10
salvis