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 $0 this month for my coding efforts.

Donate with PayPalAmazon.com Wishlist


4,469 Responses to “Subscribe to Comments 2.1”

Comment pages: « 114 15 16 17 18 [19] 20 21 22 23 2445 »

  1. Brad |

    Trying to figure out the problem here, but so far, “Subscribe to Comments” doesn’t show it’s checkbox to users who aren’t Logged in (which is most of my readers).

    See http://www.bradblog.com/?p=4631 for an example.

    It seems to have something to do with a conflict with CAPTCHA. As the CAPTCHA graphic doesn’t show for those who are signed in, I hadn’t noticed the problem (since I’m always signed in, and thus, saw the “Subscribe to Comments” checkbox just fine as expected).

    That checkbox seems not to appear for users who are NOT signed in. Trying to find a work around, but welcome one if anybody has any ideas…

  2. Frank Gutschein |

    Hello,
    I use your plugin in V2.1 and I get this error message below the coment area:

    warning: call_user_func_array(): first argumented is expected to be a valid callback, ‘wp_comment_form_unfiltered_html_nonce’ was given in plugin.php on line 123

    Could this a problem with your plugin ?

    Regards
    Frank

  3. Isaac |

    I uploaded the php file into my plugins directory, but it says “plugin could not be activated because it triggered a fatal error” when I try to activate it. Any idea what the problem could be? I don’t see any errors in the error log, and I’m not sure how to go about debugging it.

  4. Isaac |

    Nevermind. It seems to work now. I activated wp-cache, and then it worked fine. ???

  5. Jared Blake |

    WP 2.2 works fine with this pluggin, just make sure while in site admin you go to options tab and select the subsribe to comments options tab then customize the messages shown to your visitors and make any other changes you may need.

    seo blog, search engine optimization, seo software, website traffic

  6. Isaac |

    The error with “you may not view this page without a valid key” seems to be caused by the double-urlencode on line 757. The @ gets encoded to %40. Then, the % in %40 gets encoded to %25, resulting in %2540. This is a mistake, I believe. Remove one of the urlencode() calls on that line, and it works fine.

  7. portorikan |

    I keep getting the following error but have no clue on how to fix it. Any help from anyone?

    WordPress database error: [Access denied for user 'yscr_bbjkuF'@'localhost' to database 'blog']
    ALTER TABLE wp_comments ADD COLUMN comment_subscribe enum(’Y',’N') NOT NULL default ‘N’

  8. Nathan |

    I wonder this will be compatible with WordPress Mu at some time or other.

  9. WirelessGuru |

    RE: Comment #1741 by Isaac -

    Are you referring to the line:

    “$link = add_query_arg(’email’, urlencode(urlencode($email)), $link);”

    If so, did you remove the first “urlencode” or the second? And di you remove a set of parenthesis?

    Nevertheless, the bugfix posted in comment #1717 worked for me, but in case I run into problems with that I can always revert back to a fixed version of the original plugin.

  10. Rafael Fischmann |

    I get heaps and heaps of “Undeliverable Mail” error messages because of using this plugin. I tried configuring it to send notifications through a garbage email account, but I noticed that the plugin doesn’t set up an “errors-to” header, which is supposed to direct the error messages back to the email account which originally sent the notification.

    Read about it here:

    http://www.templetons.com/usenet-format/errormsg.html

    Can the author fix that, please?

  11. ddd |

    rretre erwt wert ewrt w

  12. Jared Blake |

    My bad as I stated above WP2.2 is working. I ran some tests today and found that yes everything looks good but the subscribed to comments are not being delivered. Also the pluggin blocks notification of comments from being delivered to site admin. The pluggin doesn’t appear to be compatible with Wordpress 2.2

    Is anyone working on the upgrade?

    Please advise Jared Blake
    seo experts, search engine optimization, seo software

  13. Oliver |

    Great plugin!

    Unfortunately there is a little legal issue in Germany: Do you think it could be possible to add a double opt in option within one of the next versions, for visitors who make use of this subscription service the first time?

  14. Designer Handbagsh |

    Hi Webmaster! It was a pleasure to look through this site! there is a lot of new and fresh ideas)!Thank You

  15. ss |

    dggggg

    ssssssssssssssssssssssssssssss

  16. Seb |

    Nice! I’ll definately check back here!

  17. Lon |

    any reason why this seems to only work some of the times?

    I’ve tried testing the subscriptions with multiple email accounts - it sends some of the comments to one, but not all, and no comments at all to another account.

    and no they’re not in my spam box. it’s very odd.

  18. Nicole |

    This seems to be working really well! I especially like the ability to see who is subscribing to the comments!

  19. Jared Blake |

    Hi again, I’ve had to turn this plugin off until it has been updated to work with WordPress 2.2 Any progress on this?

    I wish I knew how to fix it myself as this is a great pluggin and I can’t wait to use it.

    Please let us know if an upgrade is in the works?

    Thank you!

    JDHL Technologies - seo experts
    SEO Blog - Tips and Techniques

  20. Angela |

    I got everything installed however the only thing that shows up is the check box and nothing else?

  21. neutral |

    Just wanted to thank for the awesome plugin.

  22. Eduardo Habkost |

    Thank you very much for the plugin. It was exactly what I was looking for. :)

  23. WebGyver |

    OKAY, I’ve tried just about everything that everyone suggested, but I still cannot get the text to appear in a normal position right next to the checkbox.

    I even modified the styles and everything, cleared the CSS clear chedck box in WP 2.2, but the text insists on wrapping below the checkbox.

    What gives? Any ideas?

Comment pages: « 114 15 16 17 18 [19] 20 21 22 23 2445 »

Leave a Reply