Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi,
    I am sorry for the inconvenience.
    Please post the contents from bp-custom.php to pastebin.com and link me to the page. I do not see any issue with the above code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Dave,
    Welcome to BuddyDev.

    Thank you for the question.

    BuddyPress does not allow upload to avoid security issues. this is feasible to allow users upload media but not recommended.

    To enable uploading for any user, you need to enable upload button and gran user upload_files permission

    
    // grant all users upload permission.
    add_filter( 'user_has_cap', function ( $all_caps, $caps, $args, $user ) {
    
    	if ( 'upload_files' !== $args[0] ) {
    		return $all_caps;
    	}
    
    	if ( is_user_logged_in() ) {
    		// grant all needed caps.
    		foreach ( $caps as $cap ) {
    			$all_caps[ $cap ] = true;
    		}
    	}
    
    	return $all_caps;
    }, 10, 4 );
    
    // enable upload button in text area.
    add_filter( 'bp_xprofile_field_type_textarea_editor_args', function ( $args ){
    	$args['media_buttons'] = true;
    
    	return $args;
    });
    
    

    That will allow any logged user to upload images/other file types.

    Please do note that this is not recommended as it may be a security nightmare to allow everyone uploading.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Marking resolved due to lack of replies.

    Please feel free to create a new topic if still facing the issue.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi,
    Thank you for the patience.

    Please upgrade to 2.0.2 and let me know if it works for you or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: Question about previous topic #29422

    Hi,
    I am sorry I missed to reply your project request. We regret our inability to assist you on this due to your budget constraints.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: hiding comments #29418

    Hi Rav,
    Are you using Youzer or is it default BuddyPress template pack? Which template pack you are using? Bp Legacy or Nouveau?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi David,
    it was marked as resolved because it was resolved.

    The issue does not persist in MediaPress. Please feel free to check our demo. Let me know if you are able to replicate it?

    It is very much specific to the theme and I don’t have much idea what is wrong. Please contact theme author and let me know if they have some suggestion.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Justin,
    Please create 3 pages(Normal pages, you do not need to assign them any specific template etc).

    After that, Please visit dashboard->Settings->BuddyPress->pages and assign these pages to relevant components and it should work.

    Please let me know if that works or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Christian,
    Thank you for the understanding.

    It is available under each menu item settings section.

    Please see the “Redirect WooCommerce my account page to BuddyPress profile page”

    Regards
    Brajesh