Subscribe to Comments 2.1

Subscribe to Comments 2.1 is a plugin that allows commenters on your blog to check a box before commenting and get e-mail notification of further comments. It is one of the most popular WordPress plugins out there for the simple reason that it helps foster a community around your blog by encouraging commenters to come back and stay engaged in the dialog.

Features

  • Rudimentary security
    • Users cannot enter a random e-mail into the subscription manager and modify someone else’s subscriptions
    • In order to modify subscriptions, users need to use a special link, given in notification e-mails, and printed in the comments form as long as they have their comment cookie
  • Recognition of subscription status
    • Unsubscribed users see the “subscribe to comments” checkbox, but subscribed users see a “Manage your subscriptions” link
    • The author of the post is recognized by either login or comment cookie and is assumed to be subscribed to the entry (as they will receive notifications through WordPress)
  • Themeable subscription manager
    • Uses visual style of WordPress interface
    • Can be optionally accessed via “Manage” menu in WordPress
    • E-mail verification of block requests
    • Javascript “invert selection” link to check/uncheck subscriptions for mass deletion
    • “Return to the page you were viewing” link that persists at the top of the page, so that users can easily return to the post they were reading once they are done modifying subscriptions
  • Ability to let users change notification e-mail address
    • In the subscription manager, users can request that their notification address be changed for all their subscriptions
    • Special link is sent to the old address for verification
    • Once clicked, their e-mail address will be changed instantly for all their comments
  • Easy integration into comments form
    • No modification of comments form needed for WP 1.5+ (supported themes)
    • For users who want custom placement of the checkbox/link to subscription manager, this can be done with one simple function call, placed anywhere in the comment form
  • Subscription without leaving a comment
    • By popular demand, you can now offer visitors the option of subscribing to comments on an entry without having to leave a comment themselves
    • If the reader later decides to join the conversation, their subscription continues without them having to explicitly set it
  • Customization
    • You can make the Subscription Manager that your users see use your theme’s header, footer and sidebar, using CSS to style it to fit your site
  • Internationalization
    • I’ve written Subscribe to Comments 2.1 with i18n in mind, making full use of __() and _e() functions. The domain is “subscribe-to-comments”.

Download

Version 2.1 Update

Version 2.1 of Subscribe to Comments has a feature that people have been begging me to implement for many months: you can view the list of people who are subscribed to posts on your blog, and you can also see a list of the most “subscribed” posts. Also in this version is a new one-file install. You just put subscribe-to-comments.php in your /plugins/ directory, activate, and you’re done. This version will work on WordPress versions from 2.0.6 through 2.3.1 (highest tested).

Versions

  • 2.1.2 Fixed a few bugs that’d send bad notifications (thanks Donncha!), cleaned up some code and moved to using proper WP escaping functions
  • 2.1.1 WordPress 2.2 compatibility! Also note that support for attribute_escape() is needed, so if you get errors about that, upgrade to the latest version in your branch
  • 2.1 big update, fixing a few potential XSS holes, and misc error messages… see above for details
  • 2.0.8 XSS security fixes, hopefully fixed “+” symbols in e-mail for good
  • 2.0.7 additional “funky e-mail” fixes
  • 2.0.6 support for e-mail addresses with “+” symbols, option to disable CSS “clearing”
  • 2.0.4 potential security bugs, better WP 2.0 capabilities compat

Feedback/Bugs

Feel free to leave bug reports or feature requests here. Use this entry’s comments to ask support questions or offer general feedback

I’ve spent a lot of time writing this code and supporting it. If you derive some benefit from this code, please consider showing your gratitute in a more tangible
way. Thanks!

I have received $30.00 this month for my coding efforts.

Donate with PayPalAmazon.com Wishlist


4,454 Responses to “Subscribe to Comments 2.1”

Comment pages: « 15 6 7 8 9 [10] 11 12 13 14 1545 »

  1. eyn |

    First of all, thanks for making such a wonderful plugin, it’s so useful that WordPress should have this feature built-in. :)

    I have some suggestions here for this plugin. Wouldn’t it be more user-friendly to include message that tells a user NOT to reply to the subscription email but to use the comment form in the original post to reply when sending out the email? I have to tweak the plugin myself to get this working, I’m sure it will really help to include such message within the subscription email since I’ve been getting users replying directly via emails and making the reply visible only to me, the blog owner alone.

    A 2nd request is to include an optional feature of automatically subscribe the author of a post as soon as he/she publishes his/her posts. For a multiple author blog, this feature will come in really handy since only the admin has the option of being notified for each comment posted. For the lower level author who also write for the blog, they have no means of being notified. ;)

    Thank you.

  2. David Airey |

    No-one receives my follow-up notification.

    I believe this could be the responsible error but have no idea on what to do:

    Fatal error: Call to undefined function: add_action() in http://www.davidairey.com/blog/wp-content/plugins/subscribe-to-comments.php on line 819

    I’d be extremely grateful for any advice here.

  3. men |

    i like you site!

  4. Alex |

    Thanks a lot for this plugin!

  5. Ucigasa |

    Indeed! The plugin is very useful!

  6. Ken |

    many thanks for the plugin!

  7. Jonathan |

    First of all, great plugin! It’s beautiful. I have one request: is there a way to modify the code to show all subscribers from the Manage » Subscriptions menu? I’m curious as to whom is listening in.

  8. Tim Reader |

    Mark - I’m just trying to get somem clarity on something. Do you know if there’s a compatibility issue with this plugin and IIS?

    I’ve searched all over but not found a definitive reply - perhaps no one knows.

    Email otherwise works fine on my WP/IIS install (eg password reset, moderation notifications) but not for this and not for contact form plugins.

    There are no error messages, it simply doesn’t work. Really hard to troubleshoot!

    It *does* however seem to make a record of the fact I have checked the subscribe box - eg I can see it on the subscription manager page. So it is only failing on the email part.

    Any knowledge you have of this issue would be greatly appreciated.

    Much obliged for your help :o)

    Tim

  9. Craig Hartel |

    Mark,
    I am getting the same error as the commenter here.

    Running on WP 2.1 Beta 1 SVN Rev 4696.

  10. Daisyhead |

    Great plugin. Thanks so much!

  11. Kat |

    I can’t access the manage subscriptions page as author or subscriber (I tested it logged out). I just get my 404 page.

    I’m really sorry if this has been asked and answered already, but I don’t have time at the moment to open every comment page and search as I’m at school with a damn slow internet connection. Hope you can help me out, thanks.

  12. Stephane |

    Hi,

    As some exposed here, I can’t get this plugin to work. There no error though?!

    I run WP 2.0 on IIS. Email notification to the admin or other WP built-in notification are working well. But I don’t know how to troubleshoot this plugin.

    Any idea?

    Thanks

    Stephane

  13. Dakar |

    Hi,
    I’ve installed your plugin (and also translated to hebrew - would love to send it to you).
    For some reason when tested it, I didn’t get any notification.
    Same with other users of my blog.

    Any idea ?

  14. Everton Blair |

    Hi

    I’m getting the following error since I upgraded to 2.1RC1 last night when comments are posted even though if I refresh the page the comment still gets left:

    Warning: in_array(): Wrong datatype for second argument in /home/connecte/public_html/wp-content/plugins/subscribe-to-comments.php on line 438

    Warning: Cannot modify header information - headers already sent by (output started at /home/connecte/public_html/wp-content/plugins/subscribe-to-comments.php:438) in /home/connecte/public_html/wp-includes/pluggable.php on line 275

  15. danielsemper |

    Hi Dear Subscribe to Comments developer,

    I would like to know if the 2.1 version of this plugin will be available soon.

    I come here everyday just to check that.

    Hugs and greetings for this great plugin!!!

  16. becky |

    Fantastic, thankyou.

    I have blogged about this plugin. I want everyone to use this so I can easily keep track of my posts elsewhere :)

  17. Josip |

    Hi everyone,

    I see that a lot of people want to see a list of subscribers in the Subscription Manager section.

    I have added a section of code that will show a list of all email accounts that have subscribed. When you click on any email address it will show you a list of posts that the person has subscribed to comments.

    This code has been tested in versions 2.0.2 to 2.0.8

    Insert the following code in the vacant line:198 of wp-subscription-manager.php of version 2.0.8

    get_col($sql);
    echo “Comment subscriber list - click to edit”;
    if(sizeof($confirmed)>0) {
    foreach ($confirmed as $subscriber) {
    echo ““.$subscriber.”n”;

    }
    }
    }
    ?>

  18. Josip |

    Sorry about the previous comment. Apparently most of the code was deleted after posting the comment.
    Hope it works this time around.


    get_col($sql);
    echo "Comment subscriber list - click to edit";
    if(sizeof($confirmed)>0) {
    foreach ($confirmed as $subscriber) {
    echo "“.$subscriber.”n”;

    }
    }
    }
    ?>

  19. Josip |

    Is there any way for me to add code snippets without it being stripped apart?

    Cheers,

    Josip

  20. Kuchma |

    Leave a Comment

Comment pages: « 15 6 7 8 9 [10] 11 12 13 14 1545 »

Leave a Reply