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,468 Responses to “Subscribe to Comments 2.1”

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

  1. meeciteewurkor |

    Howdy, just upgraded to WP 2.1 and get these warnings from “Subscribe to comments”:
    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/myusername/public_html/wp/wp-content/plugins/subscribe-to-comments.php on line 438

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

  2. Scott B |

    Also got this error after upgrading to WP2.1
    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/myusername/public_html/wp/wp-content/plugins/subscribe-to-comments.php on line 438

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

    Disabled the plugin until fixed.

  3. Everton Blair |

    In case mark doesn’t get back to you here’s the fix for WP2.1

  4. Nicky |

    Hiya, another person here who’s getting an error after upgrading to wp2.1 - deactivating plugin until fixed as well :D

  5. Mark (post author) |

    Subscribe to Comments 2.1 has been released! It fixes the error message that people were getting with WordPress 2.1 and adds:

    - Single-file install… drop it in plugins directory and you’re done
    - See who is subscribing to comments in the admin
    - See which posts have the most subscriptions

  6. Ashish Mohta |

    Thx for updating it for 2.1.I just upgraded to new version and it was giving problem so came to your blog.and wow you have it updated for 2.1 Thx a lot

  7. meeciteewurkor |

    Mark rules. :)

  8. AsceticMonk |

    Since this plug-in is now a single file install, can I safely get rid of the wp-subscription-manager.php from the older version?

  9. Ajay |

    Isn’t a wp-subscription-manager.php included anymore in the download?
    It is specified in the readme.html

  10. Kevin Russell |

    Hi Mark,

    Great plugin! I’ve been using it for awhile and love it.

    IMPORTANT question though:

    When a user posts a comment, it just simply takes them right back to the blog post - as if they didn’t post it.

    Would it be possible for you to add in something that tells the user their comment has been submitted?

    I’ll be glad to test this if so.

    Thanks,

    K. Russell

  11. Kevin Russell |

    Quick follow-up:

    I forgot to mention that I do ‘moderate’ comments since this is a family website - as I realize that yours checks against Akismet (as does mine) - but being family, I need to make sure that a comment with vulgar language etc. doesn’t slip through on us.

    So in other words, an option to say ‘your comment has been posted’ would be extremely helpful. And I’ll be glad to donate to you as well for your efforts.

    Thanks,

    K. Russell

  12. Mark (post author) |

    Would it be possible for you to add in something that tells the user their comment has been submitted?

    That’s not really within the scope of this plugin, although it is certainly possible within WordPress. I’ll consider it as a separate plugin — sounds like it might be handy.

    Since this plug-in is now a single file install, can I safely get rid of the wp-subscription-manager.php from the older version?

    Yep! It is no longer necessary.

    Ajay, I had intended to include a “pointer” file pointint from the old wp-subscription-manager.php to the new URL, but I decided against it at the last minute… forgot to take it out of documentation.

  13. Ajay |

    So, I believe I can safely delete wp-subscription-manager.php ?

    Also, I’ve sent you an email about admin_footer filter… please let me know if you got it.

  14. Kevin Russell |

    Hey Mark,

    Oh, no - what I meant was … RIGHT when they post it .. not later. Is that what you thought I meant?

    I meant as in .. I type my comment in (your plug-in) .. and click ‘Post Comment’ … and it just simply shows something on the page after it refreshes that says ‘your comment has been submitted’ (and possibly if ‘moderation’ is set .. it says .. but has to be approved by an administrator first, etc.).

    If I’m thinking logic-wise on the plug-in, this is easily possible .. yes?

    Again, if so, I’ll be glad to donate for it - as I really like the plugin.

    K. Russell

  15. Alexander |

    Testing the feature.

    thanks,

    Alexander

  16. Mark (post author) |

    Kevin, we’re on the same page. The tricky part is getting it to work on different themes.

  17. ttancm |

    Hi, trying to get version 2.1 running on a WP2.1 testblog I am using to get everything working before updating my other sites and I am getting the following error when I try to access the manage>subscriptions item.

    Warning: include(/home/***/ttancm.com/testblog/wp-subscription-manager.php) [function.include]: failed to open stream: No such file or directory in /home/***/ttancm.com/testblog/wp-content/plugins/subscribe-to-comments.php on line 813
    
    Warning: include() [function.include]: Failed opening '/home/***/ttancm.com/testblog/wp-subscription-manager.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/***/ttancm.com/testblog/wp-content/plugins/subscribe-to-comments.php on line 813

    (I replaced full paths with the ***)

  18. Kevin Russell |

    Ah okay, is this something that Mark is considering adding then? (ability to show immediately after posting a simple message saying ‘your post was submitted (but must be approved by an administrator, etc.)’ ?

  19. Agamum |

    Hi! I’ve updated my spanish (es_ES) translation of this plugin to the new 2.1 version.

    —in spanish—

    Hola!

    Que actualizado mi traducción de este plugin al español (es_ES)a la nueva versión 2.1.

    Puedes descargarla en mi blog

  20. Danny Simkin |

    Hi,

    I installed the version 2.1 in several blogs, and received the following error

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

    What should I do, please?

  21. fruityoaty |

    A great update to a beautiful, really useful plugin.

    Just a simple thank you from an appreciative user.

  22. PinJo |

    I got an error when installing it:

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

  23. Mark (post author) |

    PinJo, you need ALTER permissions on your MySQL user. Ask your host how to set this up. You’ll also have problems with future WP upgrades if you don’t have this permission.

  24. OMSH |

    Um … Subscribe to Comments doesn’t work with the recent upgrade to Wordpress 2.1. It kicks back an error and then when people click “back” in the browser and try to repost it tells them they’ve already posted.

  25. danielsemper |

    I found one BUG with Subscribe to Comments 2.1 in a blog with WordPress 2.1

    If a subscriber decides to unsuscribe to one post, when it goes back to the post, it shows the message that he is still subscribed to the post, although in the control panel he effectively is not.

    Then anyone won’t be able to change his mind and subscribe in a second chance to a post.

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

Leave a Reply