WordPress.org

Ready to get started?Download WordPress

Forums

Q2W3 Post Order
[resolved] Access to Q2W3 post menu settings based on role (7 posts)

  1. wp_bulldog
    Member
    Posted 2 years ago #

    Hi,
    Great plugin...
    I was wondering how I can get other roles (ex: editors) to have access to the menu so they can control the features of the plugin. It seem only the administrator has access to it. I tried using an access manager plugin, but that did not work. I believe the code has to be change a bit, but a little help would appreciated. thanks.

    http://wordpress.org/extend/plugins/q2w3-post-order/

  2. Max Bond
    Member
    Plugin Author

    Posted 2 years ago #

    Hi!

    You need to edit q2w3-post-order.php.
    Line 290:
    self::$page_id = add_options_page(self::NAME, self::NAME, 'administrator', self::ID, array( __CLASS__,'settings_page' ));

    Change it to:
    self::$page_id = add_options_page(self::NAME, self::NAME, 'moderate_comments', self::ID, array( __CLASS__,'settings_page' ));

    This will give acces to editor role.
    See wp capabilities table if you need access to other roles.

  3. wp_bulldog
    Member
    Posted 2 years ago #

    thanks it works, but now I have figure out which other plugins are blocking it from working...

  4. Max Bond
    Member
    Plugin Author

    Posted 2 years ago #

    Let me know when you find conflicting plugin

  5. wp_bulldog
    Member
    Posted 2 years ago #

    I was trying to go through one by one through the security plugins - while disabling them -- finally, the plugin worked even after reactiving the plugins but because I decided to disable all them at the same time, I can't tell which one caused the problem.

  6. Max Bond
    Member
    Plugin Author

    Posted 2 years ago #

    wp_bulldog!

    Try new version 1.2.0.
    Now you can give access to Editors from plugin setting page (there you'll see new link - General Options).

  7. wp_bulldog
    Member
    Posted 2 years ago #

    thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic