• Resolved erikterwan

    (@erikterwan)


    I wanted to show the “Notify me of follow-up comments by email.” checkbox on my front page and other pages. I found out that there’s no supported way of doing that. Could you add this as a feature?

    For the time being I changed a line in the funtion comment_subscribe_init in wp-content/plugins/jetpack/modules/subscriptions.php from:

    if ( FALSE === has_filter( 'comment_form', 'show_subscription_checkbox' ) && 1 == get_option( 'stc_enabled', 1 ) && empty( $post->post_password ) && 'post' == get_post_type() ) {

    to:

    if ( FALSE === has_filter( 'comment_form', 'show_subscription_checkbox' ) && 1 == get_option( 'stc_enabled', 1 ) && empty( $post->post_password ) ) {

    In time this will be overwritten of course by a new Jetpack release. So therefore my question to add this as a feature.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor James Huff

    (@macmanx)

    The comment subscriptions are specific to the posts they run on, so if I want to subscribe to comments on This Example Post, I’ll need to subscribe under This Example Post.

    There is currently no way to subscribe by email to comments site-wide, so this is not available.

    Thread Starter erikterwan

    (@erikterwan)

    Sorry, I didn’t make myself clear. I mean that the situation now is that follow-up e-mails can be requested on comments to posts. But I use the comments section on my pages (the front page and other pages). That works well, but the follow-up check button doesn’t appear on those pages. I traced that behaviour to the file and line mentioned in my original request. The function comment_subscribe_init therein is restricting the e-mail follow-up on comments to posts only (so pages are prohibited from using this mechanism): 'post' == get_post_type().

    I didn’t mean that I want to give users of my website the opportunity to subscribe to follow-up comments site-wide, but to follow-up comments on pages (not only posts).

    So I made the change to wp-content/plugins/jetpack/modules/subscriptions.php as mentioned above. I tested the change, and it works well. Now the users of my website receive follow-up comments on my pages (and my posts) by e-mail.

    Plugin Support supernovia

    (@supernovia)

    Thanks for sharing that… glad you’ve got something that works for you!

    Thread Starter erikterwan

    (@erikterwan)

    Well, it was actually meant as a feature request. The next update of Jetpack will overwrite my changes. Is this the right place for feature requests?

    Plugin Contributor James Huff

    (@macmanx)

    It’s best to add feature requests to https://github.com/Automattic/jetpack/issues that way you’ll get credit for it. ??

    Thread Starter erikterwan

    (@erikterwan)

    Thanks! I followed your suggestion: https://github.com/Automattic/jetpack/issues/11496.

    urshadow

    (@urshadow)

    Hi @erikterwan

    This is exactly what I have been looking for, I wanted to have a dedicated feedback page where visitors can leave comments about suggestions, ideas, issues etc. Such a page would have been of no use if the visitors won’t be able to receive email notifications about responses. Your workaround solution worked for me.

    If you find any better solution then plz share, it will be of great help!

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘“Notify me of follow-up comments by email.” on pages’ is closed to new replies.