• Resolved marmuel

    (@marmuel)


    Hi,

    I´m using the actual version of buddypress, buddypress docs and wordpress. If a non-admin wants to upload an attachement, I get an error “…please try later”
    I´ve seen a ticket but it is closed as resolved.

    I have already deactivated all other plugins, but w.o. success.
    minimum role is set to “members”.

    Any tips?

    Thank you very much
    Cheers Marco

    http://wordpress.org/plugins/buddypress-docs/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter marmuel

    (@marmuel)

    Additional Informations:

    Mac OSX, localhost on MAMP
    Browser: Chrome

    Thread Starter marmuel

    (@marmuel)

    one more informations…really strange:

    If I change the theme, it works, so that seems to be no problem of the great plugin. Any tips, where I can begin to debug?

    Thread Starter marmuel

    (@marmuel)

    now, I found the issue in my functions.php! So it is no problem with the plugin:

    /** begin avoid access dashboard admin*/
    function wp_admin_redirect(){
    if( is_admin() && !defined(‘DOING_AJAX’) && ( current_user_can(‘subscriber’) || current_user_can(‘contributor’) || current_user_can(‘s2member_level1’)) ){
    wp_redirect(home_url());
    exit;
    }
    }
    add_action(‘init’,’wp_admin_redirect’);
    /** end avoid access dashboard admin*/

    Marmuel, what did the function.php. I have the same problem and I can’t figure it out why

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘attach files to doc for non-admins’ is closed to new replies.