WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe 2 not working well with Limit Categories & Role Manager and (1 post)

  1. hchan
    Member
    Posted 7 years ago #

    I've been using Role Manager and Subscribe 2 successfully - just recently installed Limit Categories which works great as well. Made some new roles.

    My problem now is that when a new post is made by the person in the new role, Subscribe 2 sends out an email from admin instead of the person's name?

    I looked at subscribe2.php here:
    // Set sender details
    if ('' == $this->myname) {
    $admin = get_userdata('1');
    $this->myname = $admin->display_name;
    $this->myemail = $admin->user_email;
    }
    $headers = "From: $this->myname <$this->myemail>\n";
    $headers .= "Return-Path: <$this->myemail>\n";
    $headers .= "Precedence: list\nList-Id: " . get_settings('blogname') . "\n";

    Not sure if this is where I need to edit the file? Or if it's somewhere in role-manager.php or limitcats.php.

Topic Closed

This topic has been closed to new replies.

About this Topic