Closed (works as designed)
Project:
Subscriptions
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2012 at 16:15 UTC
Updated:
11 Mar 2012 at 00:01 UTC
When a user submits a node it should be possible to automatically subscribe them. Right now we're using this:
function customize_subscriptions_nodeapi(&$node, $op, $teaser, $page) {
switch ($op) {
case 'insert':
if (!empty($node->tid)) {
subscriptions_write_subscription('node', 'nid', $node->nid, -$node->uid, $node->uid, 1, 1, 1);
}
break;
}
}
It'd be nice if there was just a checkbox to do this, possibly a per-user setting too.
Comments
Comment #1
salvisWe have auto-subscribe — what am I missing?
Comment #2
gregarios commentedI can verify the module already does this.
Comment #3
salvisThanks!