Support » Plugin: Subscribe To Comments Reloaded » How to remove “all comments” from Management Page selection

  • Resolved todama

    (@todama)


    Hey,
    I want to only use the subscribe to “replies to my comments” option with this plugin, and make it impossible for users to switch their subscription to “all comments” on the scription management page. For this reason, I want to remove the “all comments” option from the management page dropdown. Here´s the code I found about this option: https://www.dropbox.com/s/rshwc4ve3zeq9wh/IMG_6337.JPG?dl=0

    Would you please help me remove that option from the dropdown? Preferably not a css “display: none” to hide it, but a code snippet to actually remove the option from the dropdown. Would be awesome, thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi @todama

    That’s a bug, if you have the advanced subscription turned off it should not show both “replies” and “all comments” options. Thanks for notifying us, we’ll fix that in the next update.

    In the meantime, if you are ok with editing PHP files, the code comes from templates/user.php (in the subscribe-to-comments-reloaded folder of course).

    Line is 117, you’ll see:

    echo '<option value="force_y">'. __( 'All comments', 'subscribe-to-comments-reloaded' ) .'</option>';

    Just remove that whole line.

    Thread Starter todama

    (@todama)

    Awesome, thanks!
    P.S.: Would you please read my other question that I posted in this (already resolved) topic: https://wordpress.org/support/topic/what-comments-are-sent-to-subscribers/#post-13833273
    I figured you might not get to it if I don´t bring it to your attention here because the topic is already marked as resolved.

    Plugin Author WPKube

    (@wpkube)

    Hi @todama

    Sorry about that, I missed it.

    The support tickets aren’t ordered by latest comments, they’re ordered by the date they were posted. So comments on the older tickets can get missed. Best to submit a new support ticket in such cases and just put a link to the other ticket as a reference.

    Thread Starter todama

    (@todama)

    Ok, thanks again!

    Plugin Author WPKube

    (@wpkube)

    You’re welcome.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to remove “all comments” from Management Page selection’ is closed to new replies.