WordPress.org

Support

Support » Plugins and Hacks » Peter's Collaboration E-mails » [Resolved] [Plugin: Peter's Collaboration E-mails] Increasing permissions

[Resolved] [Plugin: Peter's Collaboration E-mails] Increasing permissions

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Peter

    @pkthree

    For now, you could add their e-mail addresses. Or, at about Line 309 of the plugin, you could add this to the query:

    OR ' . $wpdb->usermeta . '.meta_value LIKE \'%author%\''

    In the future, I’ll add more efficient user fetching for the collaborator lists.

    Plugin Author Peter

    @pkthree

    Version 1.4.0 now has two extra settings to make this easier:

    // Which roles on your site can only "submit for review"
    // Typically you do not have to edit this unless you have custom roles and capabilities
    $pce_contributor_roles = array();
    $pce_contributor_roles[] = 'contributor';
    
    // Which roles on your site can approve posts
    // Typically you do not have to edit this unless you have custom roles and capabilities
    $pce_moderator_roles = array();
    $pce_moderator_roles[] = 'administrator';
    $pce_moderator_roles[] = 'editor';
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Peter's Collaboration E-mails] Increasing permissions’ is closed to new replies.
Skip to toolbar