WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe To Comments Reloaded
Limit subscription management to some user roles (2 posts)

  1. unpod
    Member
    Posted 1 year ago #

    I installed "Subscribe To Comments Reloaded" and have seen that an author of a post can manage the comment subscriptions for that post regardless of his role, even if the role is only "contributor".

    Can I limit the ability to manage subscriptions to certain user roles such "admin" or "editor"?

    http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/

  2. unpod
    Member
    Posted 1 year ago #

    I resolved by simply removing the content of "Author label" field in Settings > Comment Form.

    This can't avoid direct access to the subscriptions manager page by tech savvy users, however. To avoid this, I edited the plugin core file "author.php" and added this at the top:

    wp_redirect( home_url() );
    exit;

    So if anyone tries direct access, he's redirected to the home page.

    These solutions blocks the admin also, but he can always manage subscriptions in the admin area.

    I know that editing plugins core files is really wrong, but I'm not able to find another way. Anyone has a better solution?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic