Closed (fixed)
Project:
Subscriptions
Version:
4.7.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2007 at 07:42 UTC
Updated:
29 Dec 2007 at 09:45 UTC
if the actions and workflow modules are installed, it can be nice to create an action that automatically subscribes a user (or users) to a given node on some workflow transition.
I've written three functions which can be appended to subscriptions.module which enable different actions:
action_node_autosubscribe_user(): a configurable action to handpick a user to be autosubscribed whenever this action is triggered.
action_node_autosubscribe_role(): another configurable action to autosubscribe all users in a given role
action_node_autosubscribe_author(): this non-configurable action automatically subscribes the author/owner of a node.
I've tested these actions against 4.7-1.2, and am releasing all three under the GPL. I would be happy to see them included in the official subscriptions package.
| Comment | File | Size | Author |
|---|---|---|---|
| subscriptions_actions.txt | 6.58 KB | dkg |
Comments
Comment #1
salvisClosing ancient thread. The new version 5.x-2.0 (currently in beta) is completely different. Please open a new issue if there's still interest in this.