The vast majority of visitors are anonymous users. Currently, there is no other way to keep them updated with the content than using feeds or the Comment Notify
module. However, both solutions do not cover node updates, so a webmaster wishing to inform his visitors about the update needs to add a comment or create another node describing the changes. When you maintain a bunch of projects you update frequently this can be a real pain in the you-know-what.
The ideal solution would be an "anonymous subscription" feature giving anonymous visitors the ability to be notified about node updates (and/or new comments). From a user's perspective I see it as an additional e-mail field at the Subscribe
form.
Comments
Comment #1
salvisSending email to whatever address someone happens to enter into a form field is a can of worms that I don't wish to open.
Maybe you want to write an add-on?
Comment #2
Anonymous (not verified) commentedPlease, this feature is a MUST ;-). To avoid unsolicited emails just send a confirmation link to proceed with the subscription like any other subscriptions system does.
Comment #3
archetwist commentedProvided anonymous visitors need to solve a CAPTCHA and prove they have access to the address they enter (confirmation e-mail) I do not see any difference between this kind of subscription and the standard user registration process, other than - of course - ease of use. In the first scenario ("anonymous" subscriptions) a visitor needs to fill only one form, in the second - two forms (user registration and subscription form).
The module and the fact many "blogging" systems offer a similar feature prove this is not a minor issue. Visitors are generally lazy and often would rather abandon a website than go through the lengthy registration process, which in such situations is, in fact, unneeded.
Exactly.
Comment #4
michelleI would really love to have this feature as well.
Michelle
Comment #5
salvisExactly. I won't reimplement and support that, and I doubt that chx wants to do it either. It'll be fine in an add-on module, and if it turns out that some hook or api is missing, then we'll help.
So, who wants to do it?
Comment #6
michelleThere's a (non-Drupal) blog I read and occasionally comment on. He allows anonymous comments and has a little checkbox if you want to get notified if that blog post is updated. I have no reason to become a member of the site (I don't think he even has that option) because I don't write my own posts or anything. I just comment occasionally. It's very nice to get an email if he comments back because I'd never remember to go look on my own.
There has been more than one time that I've left a comment on a Drupal site and wished for such a feature. I know there's at least two comments that I left questions and can't for the life of me remember where they were now. I suppose I could bookmark them but my bookmarks are such a mess already. And then I'd have to remember to go look at them. Again, these are sites that I have no reason to become a member of. I simply want to know if my comment was replied to. (ie, the blog I commented on got more comments; no need to be more specific).
It seems the subscriptions module is a perfect fit for this as it already has the infrastructure for tracking what nodes a user is subscribed to. I haven't looked at the code so I don't know how hard it would be to add a field for email address to its table and use that if the UID is 0. From a not having looked at the code perspective, that seems like the easiest approach to me. Moreso than writing another module. But, of course, it's up to you.
Michelle
Comment #7
salvisI'm not saying it wouldn't be a nice and highly desirable feature, but someone would have to implement and support it, and that's not me...
Comment #8
gregglesLiveJournal gets the UI for this right, but their execution is pretty horrible IMO.
I think this would best be implemented by using hook_comment and allowing immediate registration integrated with the comment form. So, an extra checkbox is added to the comment form saying "subscribe to followups." If that checkbox is present then on hook_comment 'validate' we need to validate that the email is present and that it is unique within the system. If it is not unique, encourage them to login. If they enter a name, it uses that for that their username. If not, it uses the email.
There is no need to enable or disable this feature. It determines whether or not it should run based upon anonymous users having the ability to subscribe to content. So, you have to have the subscription_content module installed and subscription_ui and allow anonymous the "subscribe to content" permission.
I purposefully did not use the normal subscription form here. I think it is too complex for users here even though it provides them with way more options.
If this is not accepted as a patch to subscriptions_ui.module, the modular nature of subscriptions module can allow this to live as a contrib.
There are some TODOs in there based on some decisions that need to be made. They are:
// TODO we probably shouldn't do any of these drupal_set_messages for new users or at least make it optional
// TODO decide whether or not we want to send these emails either
// TODO provide a way to unsubscribe
// TODO associate the comment to the user (it takes more than what I've done here)
I'm leaving it "code needs work" for those reasons.
Comment #9
gregglesand patch
Edit: patch removed since it was for the wrong feature
Comment #10
michelleAm I blind or is there no patch? If I see some code I may need to steal it. :) I have a need for letting people register when posting on one of my sites that I only got part way into figuring out how to do. Thanks for jumping on this!
Michelle
Comment #11
archetwist commentedDo I get it right that this patch does not allow anonymous visitors to be notified about node updates? This is much needed. As I wrote in my first post, currently there is no easy way to notify anonymous visitors about the updated content.
Comment #12
greggles@archetwist, my goal was to provide a way to provide the functionality of comment_notify.module but within Subscriptions. I don't really see the benefit of subscribing to edits of a node. It would be trivial to change my patch to do that, though.
Comment #13
archetwist commentedYeah, there is no benefit in notifying visitors about the updates, because they, of course, have no other things to do than to visit the page once a day and check if there is one. Oh, I could always notify them using comments - that way they would just have to subscribe to the comment follow-ups and get my message together with 100 other, irrelevant comments. That is a perfect solution. Thank you.
If modifying modules was trivial for me as well I would be more than happy knowing I can avoid the need to submit a feature request and participate in the lengthy discussions such as this one.
Comment #14
michelleWow, archetwist, that's really rude. Greg has stepped up and offered a patch to get this going. I thought it was very nice of him and your sarcastic response sounds extremely ungrateful.
This is open source. If you don't find something that meets your needs, you can pay someone to do it, do it yourself, or ask nicely for someone to do it. Getting nasty with the people who try to help doesn't lead to anything good.
Michelle
Comment #15
greggles@archetwist - I should have said that "I don't see the benefit for anonymous users to subscribe to the node" because I don't. I've removed my patch from this issue and created a new issue to achieve what I want. Sorry for wasting your time.
Comment #16
archetwist commentedI am sorry about the tone of my previous post but telling me the change is trivial when it is clear that I would not submit a request which I could fulfill by myself was not very kind either.
I am changing the title back as a possible solution could cover both node updates and comments.
I have a couple of webpages (by "webpages" I do not mean websites, just individual pages) I update regularly. Most of my visitors are anonymous users and that is OK as I do not want to have 100 "ghost" user accounts created for the one and only reason - to be able to use subscriptions (these visitors will probably never contribute to the website). The available solutions are far from perfect - I can post another node describing the changes and publish it via an RSS channel (but that is duplicating content which I already have at the original webpage) or post a comment with a message to the visitors (I have already written why this is not a good solution either). Most importantly, both solutions are time consuming.
Sorry for overreacting. I wish you all merry Christmas!
Comment #17
gregglesWhen I said that adding the feature was trivial I meant that adding your "subscribe to changes" feature to my patch would be trivial, which it is. So I'll make a deal - you discuss what you think the behavior should be for the "TODO" items that I've described and I'll implement your feature within the framework of my patch.
Note that my patch creates users on the fly behind the scenes - this is the only way to do it within the subscriptions module framework because subscriptions relies on the user account to provide the email address. If that is unacceptable to you then I think your request is a "won't fix" or at least "postponed".
Comment #18
michelleI'm sorry for jumping on you. I admit that I didn't even realize we had strayed from the original request until Greg pointed it out. I thought the issue was simply allowing anonymous users to use subscription and it sounded as though you were having a fit because his patch to do that didn't include node edits. I see now that that was the whole point so can understand your frustration.
Merry Christmas to you as well.
Michelle
Comment #19
archetwist commentedThe "create an account behind the scenes" approach is not an ideal solution for me so I've created a new module. It is named and you can take a look at it here. Any fixes and/or improvements are welcome.
Comment #20
tro-1 commentedReposting my comment here: "If I didn't want to register anonymous users, would it make sense to set the uid to DRUPAL_ANONYMOUS_RID and add an email_addr field to the approriate subscriptions tables?" Or does this not scale well / wouldn't work within the current constraints of the module?
Comment #21
canen commentedSubscribing...
Comment #22
archetwist commentedcanen, you might be interested in the module I developed to solve the problem of anonymous subscriptions to node changes. The module is .
Comment #23
canen commentedThanks, I'll look into it. I am currently using views + feedburner to achieve this.
Comment #24
AndyW commenteddamn shame we can't a system like this up and running... :(
Comment #25
greggles@Divisive Cottonwood - what an appropriate username!
In fact there are several ways to get subscriptions for anonymous visitors, though not within the subscriptions module itself. Harping on the point doesn't help anyone. Instead I suggest you look for alternative modules ( http://drupal.org/project/comment_notify (6.x version coming soon) http://drupal.org/project/nodeupdates etc.).
Comment #26
toddtomlinson commentedIts something that I have to have for a current client and am about to undertake the design and construction of a module to address anonymous subscriptions. Does anyone have a list of functional requirements that they would like to see implemented in this module? So far I see:
1) Anonymous users can "register" for content updates
2) Anonymous users enter their email address as the basis for the request
3) Module emails anonymous user with confirmation that they must reply to in order to activate their account
4) Anonymous users may unsubscribe
Additional functionality?
1) Captcha on registration?
2) Ability to subscribe to specific topics/taxonomy?
3) Ability to request daily or weekly emails?
Comment #27
salvis@toddtomlinson: Have you seen #203307: provide subscriptions to comments for anonymous users (=> comment_notify module)?
If you're serious about taking on this task, then please start a new issue and assign it to yourself. It doesn't make sense to tag on to this old issue here.
Comment #28
marcvangendSalvis, I don't see why this wouldn't make sense. This thread is about a feature requesrt and finally someone steps up to actually do it. Let's welcome him and support his effords - I don't mind if that happens here or in a new thread.
toddtomlinson, I agree with your list of must-have functionalities. However I think that the points on your 'additional' list are not related to the anonymous subscriptions, it's about the general functionality of the subscriptions module.
Two scenario's to deal with:
- What if an anonymous user, who has already subscribed to a notification, decides to register on the site? My thoughts: his anonymous subscriptions should be transferred to his newly created user acount.
- What if a registered user who is not logged, tries to subscribe to a notification? (Let's assume that he uses the same email address he used for registration.) My thoughts: He should see a message that this email address belongs to a registered user. A password form is provided on the same page to allow the user to login immediately and continue with the subscription process.
Comment #29
gregglesI think we should close this..
The original requester created a competing module, the only people to work on this feature within Subscriptions are now working on it elsewhere, the rest is a bunch of fluff and disagreement.
Please folks, if you're going to work on this do copy the ideas to a new thread instead of opening this old one.
Comment #30
salvisYes, I agree with greggles.
I certainly welcome everyone who wants to put in some serious effort, and I want him to have a fresh start. There are a few things that we'd have to talk about before it makes sense to start coding, and I won't do this at the bottom of an old and unproductive thread.
Comment #31
marcvangendOK, I understand, +1 for opening a new issue for this.
Comment #32
pachabhaiya commentedI have prepared a step by step guide for allowing the anonymous user to subscribe for the node update.Visit this link for a complete guide:http://c.pachabhaiya.com/blog/2013/08/drupal-how-to-make-anonymous-user-...Possibility for the anonymous users to subscribe to particular node.Send email notifications automatically to the subscribed users when that particular node is updated.Comment #33
deker0 commentedHi c.pachabhaiya,
I'm interested in setting this feature up for my blog site. I went to the link that you provided, but it threw a "page not found".
Did you move this step by step guide to another location? Please let me know.
Thanks in advance.