WordPress.org

Forums

User Role Editor
Newsletter Plugin add capabilities (3 posts)

  1. aiafrate
    Member
    Posted 1 year ago #

    Hi Vladimir,

    I've installed "Newsletter" plugin for WP. I'm running wp MU 3.6 + URE 4.5.1.
    I try to give access to Newsletter Dashboard for a particular user, but seems that only Superadmin can access that part. How can I add capabilities for that plugin ?

    Plugin page: http://wordpress.org/plugins/newsletter/

    thx in advance.

    Andrea

    http://wordpress.org/plugins/user-role-editor/

  2. feuerkralle
    Member
    Posted 1 year ago #

    I have exactly the same question. How can I add capabilitiy for the newletter plugin.

    Plugin page: http://wordpress.org/plugins/newsletter/

  3. Vladimir Garagulya
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Plugin uses "manage_options" capability for its menu by default.
    At the "Configuration" page "Advanced Settings" tab you may allow access to this plugin for users with "manage_categories" capability, who have role "Editor" usually.

    If you wish to assign your own capability, change line #251 at plugin.php file:

    add_menu_page('Newsletter', 'Newsletter', ($this->options['editor'] == 1) ? 'manage_categories' : 'manage_options', 'newsletter_main_index');

    and do the same for line #520:

    add_submenu_page('newsletter_main_index', $title, $title, ($newsletter->options['editor'] == 1) ? 'manage_categories' : 'manage_options', $name, $name);

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Role Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.