• Resolved wp_bulldog

    (@wp_bulldog)


    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.

    https://www.ads-software.com/extend/plugins/q2w3-post-order/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Max Bond

    (@max-bond)

    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.

    Thread Starter wp_bulldog

    (@wp_bulldog)

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

    Plugin Author Max Bond

    (@max-bond)

    Let me know when you find conflicting plugin

    Thread Starter wp_bulldog

    (@wp_bulldog)

    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.

    Plugin Author Max Bond

    (@max-bond)

    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).

    Thread Starter wp_bulldog

    (@wp_bulldog)

    thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Q2W3 Post Order] Access to Q2W3 post menu settings based on role’ is closed to new replies.