I want users in my "administrators" group to be given subscription on comments on a content which is newly created by other users.
The thing is that I managed to achieve this behavior by using the "Content Types" tab in the module configuration which allows me to give subscription on content to newly created users depending on their role.
The problem is that the user in the "administrators" group won't be able to unsubscribe the piece of content he doesn't want to be notify about, he will get notifications on all the entries of this kind of content.
Therefore I want to have the behavior of the auto-subscribe option but for a user on a content he didn't create.
So, am I missing something or do I have to touch to the module's code ?
Thanks.
Comments
Comment #1
salvis(You should upgrade to the release version, or better yet to 5.x-2.x-dev, which has a few additional bug fixes.)
Yes, I've heard this idea before, and it's an interesting one. What you're looking for is a subscription that creates thread (aka Page) subscriptions for you, a kind of meta-subscription. You're asking for a content meta-subscription, but this is a general pattern that could apply to taxonomy and other types of subscriptions just as well.
There is no such functionality at this point, and the problem with implementing it is that it doesn't scale well. Specifically, the Page subscriptions don't scale well. Any mechanism that creates Page subscriptions automatically, will cause these to explode...
Comment #2
thomy commentedThanks for your response ...
I managed to find a solution (a bit hard-coded but I will try to fix that later ) :
In the subscriptions_content.module file in the function subscriptions_content_nodeapi for the case 'insert' I added :
where rid = '5' stands for the role I want to give the Meta-Subscriptions.
Seems to work well but it is just a quick fix, I 'll add a user permission later.
Thanks for your help anyway.
Comment #3
salvisYes, that ought to work, although it's not content-type-specific, and you'll even get subscriptions to content types that are blocked!
But, again, this will make the number of your thread subscriptions grow with every post.
Comment #4
salvis