WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Docs
[resolved] attach files to doc for non-admins (5 posts)

  1. marmuel
    Member
    Posted 11 months ago #

    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/

  2. marmuel
    Member
    Posted 11 months ago #

    Additional Informations:

    Mac OSX, localhost on MAMP
    Browser: Chrome

  3. marmuel
    Member
    Posted 11 months ago #

    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?

  4. marmuel
    Member
    Posted 11 months ago #

    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*/

  5. catyco
    Member
    Posted 10 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.