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: 25356
    Brajesh Singh on in reply to: Mediapress Uploads File #29476

    Hi Darren,
    That directory stores all the files uploaded by users on your BuddyPress site. It seems you have a greatly active community.

    Please do not delete it. It is the actual location where mediapress files are stored(they will appear in attachments list but are not stored in normal attachment location).

    You may want to check which users have uploaded most by exploring mediapress/members

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356

    Thank you for confirming.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356

    Hi Justin,
    Thank you for using the plugin.

    The plugin lists any notification than you might have. Group requests are listed if available.

    Please see
    https://i.imgur.com/772bhuU.png

    To troubleshoot, Can you please visit your own profile->Notifications and tell me if the group notification is visible there.

    This plugin will only list notifications which are available there.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356

    Hi David,
    Thank you for the reply.

    No, we do not sell support for MediaPress currently. we support it for free.

    The problem is if it is a common issue, I can help fix it. If it is very much specific to a theme, I need help from theme authors on what is causing it and what they need me to change.

    To resolve our last issue(uploading on ios), I purchased an ipad a few months ago and made sure MediaPress works on it.

    You may check our demo of Community Builder Theme where MediaPress is active. I have tested it again(I don’t own iphone, tested on ipad only).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356

    Hi,
    Marking is resolved due to inactivity. Please feel free to create new topic if still need assistance with it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356

    Hi Rob,
    I am marking is resolved due to inactivity. Please feel free to open a new topic if still facing the issue.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356

    Hi,
    Our plugin is enabled to only consider the effect of last role. So, even when you add multiple roles, we remove member types assigned by previous roles and only the last role’s member type is added.

    If you do not want this behaviour, Please comment the following line in buddypress-member-types-pro/modules/class-bpmpt-roles-helper.php from line 220 to 223 as shown below.

    
    
    		// remove all member types?
    		// if ( bp_get_member_type( $user_id ) ) {
    		// 	bp_set_member_type( $user_id, '' );
    		// }
    
    

    we use // to comment the line. I will consider adding a filter in future to enable this behaviour.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356

    Hi,
    We have added the option to disable notification for duplicate visits now. Please check the plugin settings to enable it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356

    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: 25356

    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