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

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

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

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

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

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

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

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

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

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