24 Sep
2006
24 Sep
'06
1:42 a.m.
So my plan is to put some logic in hook_nodeapi. If $op == 'view', and the user has not subscribed to the node in question, I can do something like:
$node->body = t('Sorry, you have to subscribe to view this.');
You could instead use the 'view' op in hook_access of the node type. As with all ops of hook_access, it overrides what's in the node_access table.