settings for Comment Subscribe?

wshampton's Avatar

wshampton

03 Jun, 2011 06:33 PM

Hi --

I've just installed Comment Subscribe 1.5.3 into my MT install (v4.35-en).

The mt_commentsubscribe table was created and I can see the plugin in my System plugins screen. The comment template has been updated and the checkbox appears on the form but, after some test comments, I find no notifications are sent (email has been verified to work from the server) and no entries have been made to mt_commentsubscribe.

There is no Settings link in the plugin view (see attached). I presume there should be a settings screen to set from address, background task, etc. I'm guessing this is related?

Any guidance will be greatly appreciated.

thanks
-wshampton

  1. 1 Posted by Byrne Reese on 03 Jun, 2011 06:57 PM

    Byrne Reese's Avatar

    It appears you do not have the Config Assistant plugin installed. That is required and will render your various settings screens for you.

  2. 2 Posted by wshampton on 03 Jun, 2011 07:55 PM

    wshampton's Avatar

    Aha! That did the trick for the settings, thanks Byrne!

    Unfortunately, that did not get the plugin to start working. When comments are made, they post to the site successfully but subsequent comments do not generate notifications nor are rows added to mt_commentsubscriptions.

    Where are some places I might look to track down this issue?

    thanks,
    -w

  3. 3 Posted by Byrne Reese on 03 Jun, 2011 09:13 PM

    Byrne Reese's Avatar

    A few things:

    1. Notifications are only sent out to people OTHER THAN the person who wrote the article and left the comment. Therefore in testing the Comment Subscribe plugin be sure to leave a comment as someone other than the person who wrote the entry you are commenting on.

    2. I have noticed that if you leave an anonymous comment while still being logged into MT, the anonymous comment can sometimes be attributed to the person you are logged in as, and not the pseudo-anonymous person who are explicitly leaving the comment as. So before leaving a comment, be sure you log out of Movable Type first.

    3. Have you configured the plugin to send emails via a background task? And if so, have you setup and configured run-periodic-tasks?

    4. I also have to assume that you have added the comment-subscribe checkbox to your comment form yes?

    Byrne Reese
    Principal, Endevver LLC, http://endevver.com
    Chairman, Open Melody Software Group, http://openmelody.org
    (415) 702-0045

  4. 4 Posted by wshampton on 07 Jun, 2011 03:58 PM

    wshampton's Avatar

    1. Notifications are only sent out to people OTHER THAN the person who wrote the article and left the comment. Therefore in testing the Comment Subscribe plugin be sure to leave a comment as someone other than the person who wrote the entry you are commenting on.

    Yes, we've been testing using three different user accounts commenting on the same article.

    2. I have noticed that if you leave an anonymous comment while still being logged into MT, the anonymous comment can sometimes be attributed to the person you are logged in as, and not the pseudo-anonymous person who are explicitly leaving the comment as. So before leaving a comment, be sure you log out of Movable Type first.

    We are not allowing anonymous comments.

    3. Have you configured the plugin to send emails via a background task? And if so, have you setup and configured run-periodic-tasks?

    Yes, the plugin is using a background task and we are using run-periodic-tasks for publishing so it has been set up already.

    4. I also have to assume that you have added the comment-subscribe checkbox to your comment form yes?

    Yes, we have.

    Unfortunately, none of the above has resolved my issue :(
    Any further suggestions? I appreciate your help.

    thanks.

  5. 5 Posted by Byrne Reese on 07 Jun, 2011 04:18 PM

    Byrne Reese's Avatar

    Ok - you are running a new version of Movable Type (not Enterprise right?), you are running the latest of Comment Subscribe. You are using background tasks. Email has been confirmed to work. Ok, here are some suggestions to help figure out what might be going wrong, based on I would typically do on my own server:

    • Turn on DebugMode in your mt-config.cgi
    • Run the run-periodic-tasks script from the command line in verbose mode and look for messages about trying to send messages:
      prompt> perl ./tool/run-periodic-tasks -verbose -deamon
      
    • Tail your mail log on your server to see if it is receiving emails from Movable Type:
      prompt> tail -f /var/log/mail.log
      
  6. 6 Posted by wshampton on 07 Jun, 2011 04:46 PM

    wshampton's Avatar

    Actually, we are using the Enterprise version (v4.35-en).
    Could the fact we are using MS SQL Server be the issue?

    thanks

  7. 7 Posted by Byrne Reese on 07 Jun, 2011 05:24 PM

    Byrne Reese's Avatar

    Could be.

    Does your database have an error log? Can you check to see if there are any errors being reported by the select statements being generated by MT's db framework?

  8. 8 Posted by wshampton on 08 Jun, 2011 07:21 PM

    wshampton's Avatar

    Byrne --

    Figured it out:

    See the click() function beginning on line 295 of motion.js ( $("#comment-submit").click(function(){...) This function intercepts the click on the comment-subscribe div, builds the post data from the form values and submits the form via an ajax function.

    I needed to manually add the comment-subscribe value to the post data and the plugin now works correctly.

    thanks again for your help.

  9. 9 Posted by wshampton on 08 Jun, 2011 07:24 PM

    wshampton's Avatar

    oops, should read: "This function intercepts the click on the comment-submit div..."

  10. Jay Allen closed this discussion on 30 Nov, 2011 09:01 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac