Filosofo Enroll Comments

What does Filosofo Enroll Comments do?

Filosofo Enroll Comments is a WordPress plugin that allows users to:

  • Enroll to receive an email when someone comments on a post.
  • Manage their subscriptions using the admin control panel.

Aren’t there other plugins that do that?

Yes, the classic comments subscription plugin is Subscribe to Comments. Started back in WordPress 1.2 days, its authors had to overcome a lot of limitations in WordPress itself. Unfortunately, that meant altered table structures, fancy stand-alone user subscription systems, and files placed outside the plugins directory.

When it comes to plugins, I don’t like having to put files outside the plugins directory; that’s because I’m forgetful and come upgrade time, I’ll end up deleting them and messing everything up. So one goal for this plugin was to keep it to one simple file that could be uploaded into the plugins directory, activated, and forgotten about.

Another goal of mine was to take advantage of the user roles that appeared in WordPress 2. What is the role of “subscriber” good for if not subscribing?

Finally, I wanted to use the built-in nifty “Ajax” delete feature you’re familiar with from WordPress 2+ comments editing. “Unsubscribe” from a post under “Comment Subscriptions,” and the post disappears without re-loading the page. Cool, huh?

Will it work on my blog?

This plugin is designed for WordPress 2.0 and newer. Note that it’s beta, so while it works on my test blogs, if you need “mission-critical” comment subscriptions then use Subscribe to Comments.

Is this plugin a security risk because it allows anybody to login to WordPress?

By default and in the latest version of WordPress, no. When first activated, the plugin sets the “New User Default Role” (under Options > General in the admin control panel) to “subscriber,” which allows new users to log in and not much else. If an administrator chooses to change the “New User Default Role” to something higher, then new enrollees will have that level of permission.

Note: there is a security bug in WordPress versions prior to 2.0.4 that can allow any users that can log in—whether they’re subscribers or whether you have activated any plugins at all—to hack into your site. You should upgrade WordPress to at least 2.0.4 to avoid this potential problem, even if you’re not using this plugin.

Why doesn’t the checkbox show up in the comments form?

WordPress themes should have


<?php do_action('comment_form', $post->ID); ?>
 
in the comments form right before the closing tag. If you don’t have that line in your template, usually in the comments.php file, add it.

Where do I download it?

Filosofo Enroll Comments 0.5.7 | October 22, 2006

Installation Instructions

  1. Download one of the files above and extract it. Then upload the

    filosofo-enroll-comments.php
     
    file directly into your WordPress plugins directory (usually /wp-content/plugins/), and activate it under Plugins in the admin control panel. That’s it.
  2. You can manage your subscriptions (and others’ if you have sufficient permission) under Users > Comment Subscriptions.

Notes

  • This plugin makes comment subscribers into registered users. That way users can log in to WordPress, if they so desire, and edit their comment subscriptions.
  • If you are the author of the post, or WordPress recognizes you as someone who has already subscribed to a certain post, then in place of a check box will appear the words “Manage your subscriptions.”
  • When first activated, this plugin sets the default role for new users to “subscriber.” Actually, that’s the default setting for WordPress out of the box, but just in case you’ve changed it (under Options > General), the plugin sets it back to a role that has almost no abilities. That’s because when users subscribe to comments, they get assigned the default role; and most of us don’t want just anybody becoming, say, an “Editor.”
  • This plugin assumes your theme has the “comment_form” action hook somewhere in the comment form. Odds are that it does; if you see the check box near the comments form then everything is working as expected.
  • You can adjust most of the settings you’d want to change in the first few lines of the plugin. For most English speakers, the current settings will be just fine by default.
screen-shot

Using the plugin in your templates

To test whether a given user has subscribed to a given post, call boolean filosofo_ec_user_is_enrolled( [user id] [, post id] );

In other words, filosofo_ec_user_is_enrolled(2,314) will return TRUE if the user with id # 2 has subscribed to the post with id # 314.

Both arguments are optional, defaulting to the currently logged in user and the current post, if applicable.

So filosofo_ec_user_is_enrolled() will return TRUE if the currently logged in user has subscribed to this post.
filosofo_ec_user_is_enrolled('',314) will return TRUE if the currently logged in user has subscribed to post # 314.
filosofo_ec_user_is_enrolled(3) will return TRUE if user #3 has subscribed to this post.

If you run into any problems or have comments or suggestions, please leave a comment below or email me at if.website (located at) gmail (dot) com .

See some of the other WordPress plugins I’ve created.
Like this plugin? Is it worth a latte?

My Amazon.com Wish List

This month I have received $29.00 for my plugin coding work, which is about $0.01 per download.

22 Trackbacks/Pingbacks

  1. [...] Enroll Comments. Kommtare können abonniert werden. [...]

  2. [...] Ich habe heute ein neues Plugin installiert, mit dem Sie sich über neue antworten zu Ihren Kommentaren benachrichtigen lassen können. Im Gegensatz zu dem alten Plugin, welches nicht nahtlos in Wordpress integriert war, läuft jetzt alles reibungslos. Sobald Sie einen Haken bei “Bei Antworten benachrichtigen” setzen und den Kommentar abschicken, werden Sie automatisch als User im Blog registriert. So können Sie sich jederzeit einloggen und die abonnierten Themen verwalten bzw. abbestellen. Ein entsprechender Link befindet sich dann in der Mail, mit der Sie über Antworten benachrichtigt werden. Ich habe das Plugin so gut wie möglich übersetzt, schliesse dahingehende Fehler jedoch nicht aus. Wenn Sie einen finden, einfach melden. [...]

  3. [...] After a LOT of ******** around, I’ve finally decided the best way to allow users to subscribe to comments of a post is by using the Filosofo Enroll Comments plugin for Wordpress v2.0 or later. All the other plugins were based on WP versions 1.2 or 1.5, and didn’t really integrate with my theme without a LOT of effort, and even then when I finally modified my theme to suit it, I realised that if I ever changed my theme I’d break this new feature. [...]

  4. [...] I just wanted to let everyone know that I’m installing a few new plugins here on the site. The first is Filosofo Enroll Comments, which will automatically notify you via e-mail if someone replies to a post in which you have also replied. It does this by automatically creating user accounts for you on my site. You’ll be able to use the login link (in the bottom right corner) to go into an admin panel and change your settings. Click on the link above to read more on how it works. [...]

  5. [...] Weiterhin bin ich zumindest auf ein “Kommentare abonnieren”-Plugin gestoßen, das ebenfalls Anlass zur kritischen Prüfung sein könnte. Blogs, die das Plugin “Filosofo Enroll Comments” benutzen, könnten durch die Sicherheitslücke betroffen sein, da das Plugin auf die Benutzerverwaltung von Wordpress setzt (siehe auch http://www.ilfilosofo.com/blog/enroll-comments/, englisch): Is this plugin a security risk because it allows anybody to login to WordPress? By default, no. When first activated, the plugin sets the “New User Default Role” (under Options > General in the admin control panel) to “subscriber,” which allows new users to log in and not much else. If an administrator chooses to change the “New User Default Role” to something higher, then new enrollees will have that level of permission. [...]

  6. [...] He instalado un nuevo plugin, el Filosofo Enroll. Tiene una utilidad indudable. ¿Nunca has deseado poder saber cuando un comentario tuyo en un blog ajeno era comentado? Ahora con Filosofo Enroll puedes. El plugin manda un email al usuario registrado que se haya dado de alta en este servicio. Es muy sencillo, si quieres mantenerte informado cada vez que un determinado comentario tuyo es contestado, o se escribe un nuevo comentario en un determinado post, sólo tienes que seguir estos pasos: [...]

  7. [...] http://www.ilfilosofo.com/blog/enroll-comments [...]

  8. [...] Ich habe mich jetzt dagegen entschieden mit dem alten Plugin rumzuprobieren. Stattdessen habe ich ein neues installiert. Nämlich das oben genannte Il Filosofo Enroll Comments. [...]

  9. [...] Il Filosofo » Filosofo Enroll Comments Filosofo Enroll Comments is a WordPress plugin that allows users to: [...]

  10. [...] Juuro hat mich darauf hingewiesen, dass ich so etwas gar nicht habe. Hatte ich mir noch gar keine Gedanken dazu gemacht. Er hatte dann auch gleich einen Tip. Ist eingebaut! Danke! [...]

  11. WordPress Plugin List…

    Often, I come across other blogs/websites built using WordPress. On a few occasions, I’ve seen a really cool or unique feature on their site which I want to have on mine. More often than not, the plugin is something freely and publicly available…

  12. [...] Speaking of updating this post, if you want a way for your users to subscribe to comments, there’s nothing easier or more effective than Filosofo Enroll Comments. Drop one file into your plugins folder and users can subscribe to be notified whenever there’s a new comment to a post right there at the comment field. Subscriptions can be added/removed from their control panel. [...]

  13. [...] Filosofo Enroll Comments [...]

  14. [...]   Filosofo Enroll Comments,让æ¥è®¿è€…å¯ä»¥è®¢é˜…æŸç¯‡æ–‡ç« çš„ç•™è¨€ï¼Œå½“æœ‰æ–°ç•™è¨€äº§ç”Ÿä¾¿ä¼šæœ‰ä¸€å°æé†’é‚®ä»¶å‘é€è¿‡åŽ»ã€‚   上传激活。Users => Comment Subscriptions中å¯ä»¥ç®¡ç†è®¢é˜…者。 Tags: comment, subscribe [...]

  15. [...] Enroll comments 也是訂閱 comment çš„ plugin, 照作者的說法, 是有改進 subscribe-to-comments 的一些å•題åŠè¨­è¨ˆ. [...]

  16. [...] thanks to the Filosofo Enroll Comments plugin, I just did. Now you can kinda-sorta “subscribe” to the comments thread attached [...]

  17. [...] Filosofo Enroll Comments [...]

  18. [...] Filosofo Enroll Comments [...]

  19. [...] Al fin he encontrado un plugin que funciona para mandar avisos de comentarios: http://www.ilfilosofo.com/blog/enroll-comments/ [...]

  20. [...] P.s. An alternative plug-in is enroll-comments. [...]

  21. [...] Filosofo Enroll Comments fa una cosa sola ma utile ai nostri lettori: ogni volta che un post riceve un commento il nostro lettore, se vuole, può ricevere una notifica via e-mail invece che sottoscrivere i Feed ricevendo in questo modo soltanto i commenti ai post che gli interessano e dalla parte dell’ amministratore del blog una cosa di nessun impegno. L’ installazione è semplicissima: scaricatelo, scompattatelo e caricate il file filosofo-enroll-comments.php in wp-content/plugins, dopodiché attivatelo da Plugin e vi potete anche scordare che esiste. [...]

  22. [...] Filosofo Enroll Comments. I use this plugin to automatically enroll commentators as comment subscribers on the post they commented. [...]

73 Comments

  1. Reed commented on March 29, 2006 at 10:55 am | Permalink
    Reed

    Excellent work, this seems to be a really good replacement for the more traditional means of subscribing to comments.

    I did have to make one change to make the script work on my system with WP2.0.2 though: on line 287 there was a “<?” tag that was missing the “php” portion; this caused the subscription management screen to display incorrectly. An easy fix, though.

    One feature request: a function that returns true if a given user_id is subscribed to comments on the current post. This can be integrated with the comments.php script to conditionally print something like “Subscribed to this post” next to the names of commenters who are subscribed.

    Thanks very much for the excellent plugin!

  2. filosofo commented on March 29, 2006 at 2:35 pm | Permalink
    filosofo

    Reed, thanks for finding the bug and for the feature suggestion. I’ve acted on both and uploaded the plugin as version .51. I’ve called the function you suggested “filosofo_ec_user_is_enrolled()“; see “Using the plugin in your templates” above for instructions on how to use it.

  3. Reed commented on March 29, 2006 at 4:00 pm | Permalink
    Reed

    filosofo - Thanks for the quick response! In case you (or anyone else) are curious, I embedded the following code into the specialized comments.php that comes with the Brian’s Threaded Comments plugin like this, and it works great:
    [php]
    if (function_exists(’filosofo_ec_user_is_enrolled’)) {
    if (filosofo_ec_user_is_enrolled($c->user_id)) {
    echo “Subscribed to comments via email“;
    }
    }
    [/php]

    My only remaining problem is that when I click an “unsubscribe” link on the management page, after I click “OK” on the delete requestor, I get a second requestor that displays the (non-rendered) content of our “404″ page.

    I’ll try to figure out what is going on and report back, unless you have any suggestions.

    Thanks again!

  4. Reed commented on March 29, 2006 at 4:09 pm | Permalink
    Reed

    Sorry for replying to myself so quckly, but I do have a bit of a lead on the bad-unsubscribe-link issue I reported above.

    I tried copying the “Unsubscribe” link from the management page and pasting it into the URI bar of my browser directly, and this worked perfectly - the selected user was unsubscribed from the specified post’s comments.

    So, at least with my install of WP 2.0.2, the strange behavior has something to do either with AJAX, or possibly just with the delete-confirmation dialogue box that is popped up (which I think is something that is done automatically by AJAX, anyway).

  5. snowcrash commented on May 5, 2006 at 6:42 pm | Permalink
    snowcrash

    Hello

    This is a great plugin and I love its simplicity/functionality

    I wondering if it could be slightly modified for a blog which has multiple authors (ie those users who can post to the blog). By default WP sends a notification when a comment is posted to the author, and this can only be turned on/off at blog level, rather than for a specific author.

    It would be very useful for authors to individually control their subscriptions to comments on their own posts. So the plugin could be modified in the following way:

    a) for author’s own post, by default they are subscribed to comments
    b) they do not receive an email notification when they comment on thier own post

    I have v. little knowledge of php, but I think I can do (a) by modifying this bit of the code?

    elseif (isset($comment_author_email)) {
    $user = $this->get_user_by_email($comment_author_email);
    if ( !$user->ID ) return false;
    if (in_array($user->ID,$user_ids)) return true;
    elseif ($user->ID == $the_post->post_author) return true;

    But for (b) I can’t figure this out.

    Apologies for this kind of request, as its hardly a support question. But if you have the time to respond, it would be appreciated

    thanks

    Any help would be great

  6. nathan commented on May 26, 2006 at 2:42 am | Permalink
    nathan

    Hey Austin,

    Great plugin, particularly for signing new subscribers up (as I’m in the market for that sort of thing) but I noticed one problem:

    If you try and put in an existing username in the Name field and an existing email address in the Mail field, the comment is just disregarded all together, which could be a bummer…

  7. filosofo commented on May 28, 2006 at 10:23 pm | Permalink
    filosofo

    Hi Nathan. If you put in an email address that belongs to at least one registered user, the first user with that email address should be enrolled. At least it works for me that way. :)

  8. filosofo commented on May 30, 2006 at 9:25 am | Permalink
    filosofo

    I’ve uploaded a new version of the plugin that should fix two bugs:

    1) Before, if the Ajax part of the subscription moderation failed, you got an error message and it died. Now if the Ajax fails, it should just use a standard request instead.

    2) Before, if a comment was held in moderation, the commenter didn’t get enrolled, and no one got emailed, even when the comment was approved. Both problems should now be fixed.

  9. Jenne commented on June 1, 2006 at 12:23 pm | Permalink
    Jenne

    Great plug-in! I do have a question, though. Is there a way for an already subscribed user to just click a check box on the post itself to subscribe or unsubscribe? On my blog, it just says “Manage your subscriptions.”

  10. filosofo commented on June 1, 2006 at 3:31 pm | Permalink
    filosofo

    If you see “Manage your subscriptions,” that means either that you’re the author of the post, in which case you already receive emails, or you’ve already subscribed to this post, in which case you’ll have to click “Manage your subscriptions” to un-subscribe.

  11. Laundro commented on June 13, 2006 at 4:09 pm | Permalink
    Laundro

    Awesome plugin.

    Any chance you could add the functionality of allowing the registered users a way to edit their own comments?

    Thanks.

  12. eduardo commented on June 14, 2006 at 8:36 am | Permalink
    eduardo

    Ciao filosofo,
    I would like to use your plugin, but there is one problem that seems hard to overcome: i have been using Subscribe to Comments for a long time, so i have a lot of people subscribing to comments which will just loose there subscriptions without any notice if i move to your plugin.
    As i believe that this concern will be a general one amog users of Subscribe to Comments, i thought i would ask you if there is a means of migrating to your plugin. That would require an importer, i imagine…

    Grazie mille,
    Eduardo

  13. filosofo commented on June 14, 2006 at 5:24 pm | Permalink
    filosofo

    Eduardo,
    That’s a great idea. When I have a chance I’ll come up with an importer.

  14. eduardo commented on June 15, 2006 at 10:39 am | Permalink
    eduardo

    Hey,
    I thought you were in Italy because of your domain, only after i posted i realized you are in Boston (probably).
    I will be waiting for the importer, then.
    Good work!

  15. _ck_ commented on July 23, 2006 at 12:04 pm | Permalink
    _ck_

    Hi, great plugin.
    What kind of code would I use to allow subscribing to comments without actually leaving comments?
    Thank you.

  16. filosofo commented on July 23, 2006 at 5:01 pm | Permalink
    filosofo

    _ck_, I’d been meaning to add that as a feature, so I just did, as version 0.53. If you allow users to register under Options > General, then they can register and subscribe; logged-in users can also subscribe without commenting.

  17. mounty commented on July 26, 2006 at 9:58 pm | Permalink
    mounty

    Can’t validate XHTML 1.1 with this plugin. I wrapped your label tag in line 60 with <p> tags - that seemed to fix the validation problem. I also emailed you, but this may be faster. ;)

  18. filosofo commented on July 26, 2006 at 10:34 pm | Permalink
    filosofo

    mounty, good idea. I moved that markup stuff into the “configurable options” section of the plugin and added the paragraph tags as default.

  19. filosofo commented on July 29, 2006 at 5:17 pm | Permalink
    filosofo

    For anyone who’s using this plugin: please upgrade to WordPress 2.0.4, released yesterday, to avoid a serious security bug that affects those who allow anybody to log into WordPress.

    If you’re using a version of WordPress prior to 2.0.4, a comments subscriber (or anyone else who can log in, whether or not you use this plugin) could easily hack your site.

  20. _ck_ commented on August 2, 2006 at 10:56 pm | Permalink
    _ck_

    Hi, great work! Two feature requests to consider?

    1. Allow an option to prevent people who aren’t registered getting the subscribe offer (optional - basically to prevent the site to be used from spamming people)

    2. Some kind of option to allow subscriptions without leaving a comment
    It would probably require a second button/form but I’d like to insert that manually before the comment box and leave the “subscribe” afterwards. This should be fairly easy no? Single submit button form with a hidden field of “filosofo_enroll=1″ another for the post number. I just don’t know where to send the “action” to?

    Something quite minor would be a friendlier language used in the dashboard section but that’s something I can hack in myself.

    Thanks again!

    ps. I’ve never gotten your preview post to work, does it rely on referer’s? many people block referers today…

  21. filosofo commented on August 2, 2006 at 11:14 pm | Permalink
    filosofo


    Allow an option to prevent people who aren’t registered getting the subscribe offer (optional - basically to prevent the site to be used from spamming people)

    Could you elaborate? I’m uncertain how this would be used to spam, so I’m not sure what feature to include to avoid that.

    Some kind of option to allow subscriptions without leaving a comment

    This is a feature of the current version, if the site admin has allowed users to register. If you haven’t already subscribed to this page you can see a “Subscribe without commenting” link here below the textbox.

    Something quite minor would be a friendlier language used in the dashboard section but that’s something I can hack in myself.

    I’m open to changes, so could you be more exact about what the current unfriendly language is?

    ps. I’ve never gotten your preview post to work, does it rely on referer’s? many people block referers today…

    No, actually when you press “preview” you post to the same script that you post to if you press “post.” Can you describe what happens when it doesn’t work for you?

  22. _ck_ commented on August 3, 2006 at 12:26 pm | Permalink
    _ck_

    Ah I see the update now with the subscribe without commenting, nice job.

    I’m worried how it stops on the control panel, some newbies won’t get that behavior, could you program support for an optional “redirect_to” in there like the login does? I’d like to supply the source url so it can bounce right back to where they were (redirect_to=php_self, etc)

    If we would like the text/checkboxes/links to appear in a different part of the form, could you allow us to inject the function call and then just double check if it’s already been called with your hook into do_action(’comment_form’ ? A few other plugins work that way so I hope it’s easy enough to do.

    I’d also like the option of manually calling it so I can prevent non-registered users from seeing it at all by first checking for a user id. I personally don’t want un-registered users to be able to subscribe since they could user anyone’s email address to annoy them with lots of messages.

    Ah after a little poking around I see I can just unhook the “add_enroll_checkbox” function and just use the code in there as I desire right inside the comment template. Should do the trick…

    Thanks again!

  23. Chris Scott commented on September 1, 2006 at 2:21 pm | Permalink
    Chris Scott

    Not sure if this has been mentioned but this will send email notices for comments as soon as they are posted regardless of the status so any spam or moderated comments will be emailed out. To prevent this and only send email when the comment is approved, add the following at the top of the email_enrolles function:

    if (wp_get_comment_status($comment_ID) != 'approved')
    {
    return;
    }

  24. filosofo commented on September 1, 2006 at 2:45 pm | Permalink
    filosofo

    Chris, I thought caught spam was being weeded out earlier than that. Yikes!

    I’ve rolled your patch into the code. Thanks.

  25. Gemme commented on September 21, 2006 at 11:40 pm | Permalink
    Gemme

    Great plugin. I hav a small issue I found while testing

    I commented on the blog (using a different browser, IE) but didn’t enter text in the comment field. I got a page stating “Error: please type a comment”

    Is this how it is supposed to be or should there have been a pop-up warning the commenter.

    thanks.

  26. filosofo commented on September 22, 2006 at 3:02 pm | Permalink
    filosofo

    Gemme, that’s a WordPress setting; it has nothing to with this plugin. You can’t post a comment with nothing in the comment field.

    If you want to subscribe without commenting, click the link below the comment field.

  27. Lou Erickson commented on October 6, 2006 at 12:39 am | Permalink
    Lou Erickson

    This is a great plugin, and looks like it would be just what we need. I like that we don’t have to mangle the table formats to get it.

    We are, however, having trouble making it work. When we install it, it looks like it tries to work, but every message generates a bounce to our postmaster.

    The bounce is “Mail failure - no recipient addresses”

    The included message clearly has a “To:” line and no recipient.

    Have you seen anything like this before, and what can we do to help get it resolved?

  28. sindhu commented on October 8, 2006 at 10:13 pm | Permalink
    sindhu

    Hey there! i jus installed the plugin, looks fine, all activated and sitting pretty but not working :( as a test, one of my frnds signed up for a post. i replied back a few coments on that post, he hasnt received any mail :(

    do u think it could be due to the fact that am gettin this error at the bottom of all my admin pages?

    [php]
    Warning: call_user_func_array(): First argumented is expected to be a valid callback, ‘wppl_add_quicktag’ was given in /home/www/marswe.freehostia.com/wp-includes/functions.php on line 1303
    [/php]

  29. filosofo commented on October 8, 2006 at 10:43 pm | Permalink
    filosofo

    sindhu, sounds like you have a problem either with your WordPress installation or another plugin.

  30. Lewie Paine commented on November 25, 2006 at 3:06 pm | Permalink
    Lewie Paine

    When someone first subscribes, a 500 Internal Server Error is returned.I’m wondering if it will happen here…

  31. Jonathan commented on November 30, 2006 at 10:19 pm | Permalink
    Jonathan

    Wow! This is exactly what I’ve been looking for. I’ve been using Subscribe to Comments for a little while now, but I only have a couple of friends who are still subscribed to anything. Instead of waiting on the aforementioned importer, I’ll probably just destroy their subscription and email them about the change. Thanks for coding this!

  32. Jonathan commented on December 5, 2006 at 11:34 am | Permalink
    Jonathan

    I do have one question, though. Is there a way to augment the code where the subscriber only gets to see their options rather than the dashboard, too?

  33. filosofo commented on December 5, 2006 at 12:44 pm | Permalink
    filosofo

    Jonathan,

    Try adding this to the bottom of the plugin code:

    [php]
    function remove_the_dashboard () {
    global $menu, $submenu, $user_ID;
    $the_user = new WP_User($user_ID);
    if ( ! current_user_can(’edit_posts’) ) :
    reset($menu); $page = key($menu);
    while ((__(’Dashboard’) != $menu[$page][0]) && next($menu))
    $page = key($menu);
    if (__(’Dashboard’) == $menu[$page][0]) unset($menu[$page]);
    reset($menu); $page = key($menu);
    while (!$the_user->has_cap($menu[$page][1]) && next($menu))
    $page = key($menu);
    if (preg_match(’#wp-admin/?(index.php)?$#’,$_SERVER['REQUEST_URI']) && (’index.php’ != $menu[$page][2]))
    wp_redirect(get_option(’siteurl’) . ‘/wp-admin/’ . $menu[$page][2]);
    endif;
    }
    add_action(’admin_menu’, ‘remove_the_dashboard’);
    [/php]

  34. Jonathan commented on December 6, 2006 at 11:45 pm | Permalink
    Jonathan

    It worked perfectly! However, when a user comments he’s taken to http://www.ilfilosofo.com/blog/enroll-comments/#comment-202000, but is never redirected to the post. What can I do to fix that?

  35. filosofo commented on December 6, 2006 at 11:57 pm | Permalink
    filosofo

    Are you using both plugins–this one and the preview one?

  36. Jonathan commented on December 7, 2006 at 12:04 am | Permalink
    Jonathan

    No, I’ve already deleted the old plugin.

  37. Jonathan commented on December 7, 2006 at 12:26 am | Permalink
    Jonathan

    Oh wait, I see what you’re saying. I didn’t even look at the URI; I just pasted it. No, I’m not using that plugin.

  38. filosofo commented on December 7, 2006 at 12:57 am | Permalink
    filosofo

    Which plugin are you using, and what page are you being directed to? I don’t understand.

  39. Jonathan commented on December 7, 2006 at 2:16 pm | Permalink
    Jonathan

    I must have been confusing myself last night, too! I was tired. I copied that URI from the wrong site. :o\ Here’s the URI I’m getting: http://www.ilfilosofo.com/blog/enroll-comments/#comment-202000

    When the plugin isn’t activated the commenter gets redirected to the post URI and their comment’s anchor. However, when the plugin is activated the process stops here. Usually it just shows a blank page on the screen, but this last time I tried it I got a 500 error.

  40. Jonathan commented on December 7, 2006 at 2:18 pm | Permalink
    Jonathan

    Hmmm. Okay, your site is changing the URI. That’s what happened. Let’s see if I can put it in a code block: [php]
    http://www.ilfilosofo.com/blog/enroll-comments/#comment-202000
    [/php]
    .

  41. Jonathan commented on December 7, 2006 at 2:18 pm | Permalink
    Jonathan

    ****. / wp - comments - post . php

  42. Jonathan commented on December 7, 2006 at 2:21 pm | Permalink
    Jonathan

    Perhaps I should be using your comments preview after all; it would save all this mess I’ve made! ;-)

  43. arthur mcbeth commented on January 23, 2007 at 2:18 am | Permalink
    arthur mcbeth

    I have a lot of people subscribing to comments which will just loose there subscriptions without any notice if i move to your plugin.

  44. Claudia commented on February 24, 2007 at 9:42 am | Permalink
    Claudia

    Hello, thanks for your great plugin.

    I’ve one issue after updating Wordpress to 2.1 and your plugin to the current version: If I click “manage subscriptions” I get the following error message:

    [php]
    Fatal error: Cannot redeclare class filosofo_ec in /home/www/web102/html/blog/wp-content/plugins/filosofo-enroll-comments.php on line 27
    [/php]

    I also noticed when I subscribed to a test account I got to the admin area all right but wasn’t automatically subscribed to the comment where I clicked “subscribe without commenting”. I was able to choose a post and subscribe to its comments, however.

    Can you help?

    Thanks,
    Claudia

  45. filosofo commented on February 24, 2007 at 6:12 pm | Permalink
    filosofo

    Hello Claudia,

    The error message is probably a result of having two copies of the plugin–older and newer versions. Is that possible?

    The “subscribe with commenting” feature needs some work; right now it doesn’t automatically subscribe you, but I plan to add that as a feature in a future version.

  46. Raghu Nayak commented on March 26, 2007 at 2:10 pm | Permalink
    Raghu Nayak

    Thanks for creating such a wonderful plug in. I’m waiting for release build. :)

  47. Chris Lott commented on March 30, 2007 at 2:12 am | Permalink
    Chris Lott

    Has anyone tested this with any threaded comment plugins?

  48. Language Secret commented on April 1, 2007 at 10:26 am | Permalink
    Language Secret

    Lovely plugin!
    Just about to start-up a WP blog (after ditching blogger) and this is just what I want

    Thank you

  49. Chris commented on May 10, 2007 at 5:25 pm | Permalink
    Chris

    Hello, thanks for your great plugin.

    I have recently put up a Wordpress Blog to support internal medical researchers. A bunch of “Authors” that want to stay in touch with each others work and thoughts.

    Like SNOWCRASH on May 5, 2006 I would also like to:

    1. By default have Author’s posts automatically subscribed to comments.

    2. Have Author’s not receive email notification when they comment on their own posts.

  50. _ck_ commented on May 18, 2007 at 1:00 pm | Permalink
    _ck_

    Hi, I am also getting the mysterious “Mail failure - no recipient addresses” bounce message for every comment posted on the blog.

    It’s important to note that real subscribers are getting their notifications - it’s just this one extra message for every new comment.

    Is this possibly a minor database corruption of some kind or perhaps a minor compatibility issue with newer versions of wordpress?

    We are still using 0.54 but I can’t find a change log of what happened up to your last 0.57

    Thanks for any ideas where to hunt this down.
    Using Wordpress 2.1.x
    Apache 1.3.x
    PHP 4.4.6

  51. Rohit Bhute commented on May 19, 2007 at 1:11 am | Permalink
    Rohit Bhute

    Hi Austin, this is a rocker of a plugin. I have done a couple of modifications.

    I have added the dashboard removal code which you have suggested. But you should say it needs to go inside the ‘filosofo_ec’ class rather than bottom of the plugin code :-) I broke it two times before figuring it out. Second the line add_action('admin_menu', 'remove_the_dashboard'); should be add_action('admin_menu', array(&$filosofo_ec_class,'remove_the_dashboard'));

    Lastly, I thought it would be a good idea to email the fresh new subscriber his login id and password. The default behavior is, I think, that he gets it in the first notification email. Till then, there is no way he knows the userid and password to login. To that effect, I added wp_mail(stripslashes($user->user_email), sprintf(__('[%s] Your Subscription Details’), get_option(’blogname’)), $message); in the notify_new_enrollee function. But I now run into two new problems:
    1. The comment author gets the email notification for his own comment, which he shouldn’t
    2. The actual mail containing his username and password comes along an hour late - this I checked after trying two times.

    I would like to know where I’m going wrong, if you would be kind enough to tell me.

    Thanks.

  52. Rohit Bhute commented on May 19, 2007 at 1:15 am | Permalink
    Rohit Bhute

    Yeah, another doubt I had is - if the user is (as is typical) subscribed to post A, but usually doesn’t login for commenting - he fills in the form fields and is happy. Now if he subscribes to post B, will he get another username and password?

  53. Stephanie commented on July 16, 2007 at 12:43 pm | Permalink
    Stephanie

    I’m on WordPress 2.2.1 and I’m also getting the

    [php]
    Fatal error: Cannot redeclare class filosofo_ec in /home/www/web102/html/blog/wp-content/plugins/filosofo-enroll-comments.php on line 27
    [/php]

    message.

    But it happens only if I am logged in as admin and click on the “manage submissions” link at the bottom of the comment form. When I’m logged in with the account of a test commenter, it works fine.

  54. Martino commented on July 18, 2007 at 5:49 am | Permalink
    Martino

    thanks for the plugin, a very usefull solution.

  55. Elizabeth commented on July 18, 2007 at 4:35 pm | Permalink
    Elizabeth

    This is a great plugin - very simple and very clear to the user. It is working great for me except for some reason when I try to submit a comment, the page never refreshes, it stays there with the statusbar still loading. It’s submitting the comment, though; if I open the entry up in another page the new comment displays. This disappears when I disable the plugin and reappears when I re-enable it. Any suggestions you can give me are very much appreciated.

  56. ekinturkmen commented on August 3, 2007 at 2:05 am | Permalink
    ekinturkmen

    thanks

  57. dusakabin commented on September 25, 2007 at 6:52 pm | Permalink
    dusakabin

    this is very nice solution.thanks for the plugin

  58. David commented on September 27, 2007 at 1:51 pm | Permalink
    David

    I have a blog, and this plugin is very useful

  59. Studia w anglii commented on September 28, 2007 at 4:34 am | Permalink
    Studia w anglii

    Nice plugin! Regards…

  60. Myjnie bezdotykowe commented on September 28, 2007 at 5:52 am | Permalink
    Myjnie bezdotykowe

    Thanks for creating such a wonderful plug in. I’m waiting for release build.

  61. Geoff Lord commented on October 18, 2007 at 6:14 pm | Permalink
    Geoff Lord

    great plug in and very usefull…save a load of messing around

    keep up the good work

    geoff lord
    Geoff Lords Blog

  62. Bruce Andrews commented on October 18, 2007 at 6:18 pm | Permalink
    Bruce Andrews

    Gonna try this plugin on my next blog, thanks dude!

  63. Ron commented on October 25, 2007 at 8:34 am | Permalink
    Ron

    Does this work with WP 2.2.2?

    Thanks
    Ron

  64. Sev commented on November 1, 2007 at 10:06 pm | Permalink
    Sev

    Hello,
    Your plugin is really great ! Many thanks !
    I’m using wordpress 2.3.1 and I confirm that “Fatal error: Cannot redeclare class filosofo_ec ” appears when I’m connected with the admin user (no problem with the other users). Not very important for me, but perhaps is it not too long to fix.
    Bye !

  65. Hanf Blog commented on November 14, 2007 at 8:03 am | Permalink
    Hanf Blog

    Thanks for this useful plugin!

  66. Steve commented on December 9, 2007 at 11:45 am | Permalink
    Steve

    Nice plug in. Thanks alot. Keep up the hard work

  67. Matthew commented on December 10, 2007 at 12:53 pm | Permalink
    Matthew

    Hello. Is there a way to only show the Dashboard to the admin, and block it from everyone else?

  68. Nouman commented on February 10, 2008 at 1:13 pm | Permalink
    Nouman

    I will have to try this one out :)

  69. Media Addicted commented on February 15, 2008 at 8:19 am | Permalink
    Media Addicted

    Hi there,

    I experienced a problem very similar to comments 44 & 53: I get the error

    Fatal error: Cannot redeclare filosofo_ec_user_is_enrolled()

    but only if logged in as admin and if clicking at the “manage subscription” line at the bottom of a post.

    But still great piece of work, m8.

  70. Joni Solis commented on March 3, 2008 at 2:17 pm | Permalink
    Joni Solis

    I too am getting an error when I click on

    Manage your subscriptions.
    http://alove4horses.com/blog/wp-admin/profile.php?page=filosofo-enroll-comments.php

    When I click on the link above I go to this page and see this error…
    http://alove4horses.com/blog/wp-admin/profile.php?page=filosofo-enroll-comments.php

    Fatal error: Cannot redeclare class filosofo_ec in /home/httpd/vhosts/alove4horses.com/httpdocs/blog/wp-content/plugins/filosofo-enroll-comments.php on line 27

    I am the blog owner and the post author.

    Maybe I have an old version because I don’t see…
    Subscribe without commenting.
    after
    Receive an email if someone else comments on this post?

    Oh, wait I have to log out to see that right?

  71. Joni Solis commented on March 3, 2008 at 2:35 pm | Permalink
    Joni Solis

    OK I logged out and checked and I still do not see…
    Subscribe without commenting.

    Is that a different plugin?

    I have:
    Filosofo Enroll Comments 0.57

    Filosofo Enroll Comments lets users sign up to receive emails when new comments appear. By Austin Matzko.

  72. Harley commented on April 21, 2008 at 12:26 pm | Permalink
    Harley

    Hi there, I keep getting failed emails in my inbox with the title:
    Mail failure - no recipient addresses

    It seems that the script isn’t entering an email address. Anyone had similar problems? Thanks for your time :D I know how stressing it can be updating plugins etc.

  73. Ash commented on April 28, 2008 at 5:21 pm | Permalink
    Ash

    Is there anyway that instead of the user managing their subscriptions within the admin area, they can manage it via a wordpress page?

See some of the other WordPress plugins I’ve created.
Like this plugin? Is it worth a latte?

My Amazon.com Wish List

This month I have received $29.00 for my plugin coding work, which is about $0.01 per download.

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

Subscribe without commenting.