WordPress.org

Ready to get started?Download WordPress

Forums

Peter's Collaboration E-mails
[resolved] Increasing permissions (3 posts)

  1. tjk911
    Member
    Posted 3 years ago #

    I'm running a customized role definitions for wordpress, and I'd like to set it so that email notifications would be sent to "Authors" as well (they have editing but not publishing powers).

    How can I go about doing so?

    http://wordpress.org/extend/plugins/peters-collaboration-e-mails/

  2. Peter
    Member
    Plugin Author

    Posted 3 years ago #

    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.

  3. Peter
    Member
    Plugin Author

    Posted 3 years ago #

    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';

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic