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
    Brajesh Singh on in reply to: [Resolved] Mediapress file upload size limit #26624

    hi,
    Thank you.

    I am glad you resolved it.

    I have replied to your post about the add from url here

    https://buddydev.com/support/forums/topic/add-url/#post-26623

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: [Resolved] Add Url #26623

    Hi,
    Please visit Dashboard->MediaPress->settings and under “genral” you will find the option to enable it.

    We support adding from url.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: BuddyPress Moderation Tools #26613
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: BuddyPress Moderation Tools support #26610

    Hi Tosin,
    Thank you for the details.

    I am sorry but it seem strange. I did not test the code(though I am pretty sure it works). Please allow me to check it today and get back to you by early tomorrow.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: BuddyPress Moderation Tools support #26608

    Is there any chance you are using any filter/custom code related to moderation tools other than the above?

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: BuddyPress Moderation Tools support #26606

    Hi Tosin,
    I am sorry for the inconvenience.

    There was a small bug in the code for stopping the profile of a user from being related(it should return false not true).
    I am still not sure why your content is not being white listed.

    Here is the updated code(only 2nd part has 1 line changed)

    
    
    // BuddyPress Moderation Tools: White list specific user's content from moderation.
    add_filter( 'bpmts_is_user_whitelisted', function ( $is, $user_id ) {
    	$white_listed_users = array( 284, 37845, 4578, 2357 );
    	if ( in_array( $user_id, $white_listed_users, true ) ) {
    		$is = true;
    	}
    
    	return $is;
    }, 10, 2 );
    
    // BuddyPress Moderation Tools: Do not allow white listed user's profile to be reported.
    add_filter( 'bpmts_is_item_reportable', function ( $is, $item_type, $item_id ) {
    	if ( 'user' !== $item_type ) {
    		return $is;
    	}
    
    	$white_listed_users = array( 284, 37845, 4578, 2357 );
    	if ( in_array( $item_id, $white_listed_users, true ) ) {
    		$is = false;
    	}
    
    	return $is;
    }, 10, 3 );
    
    

    Please try reporting a user now.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: BuddyPress Moderation Tools support #26604

    Contributor should not be the issue.

    When you clicked the submit button on the reporting form, what message did it show? Are you sure the posts were generated by the user in the list.

    Can you please login as one of the white listed user and post an activity and then try to report it(by submitting the form) from another account.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: BuddyPress Moderation Tools support #26602

    Were you logged in as admin while reporting?

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: BuddyPress Moderation Tools support #26600

    Hi Tosin,
    Are you using the latest version of Moderation tools? The white listing option was added in our last release only.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: Member Types Pro Multi Blog Site #26597

    Hi Mike,
    I am sorry for the delayed reply.

    1. do you have member types plugin network active? You need it to be network active and configure(In Network Admin->settings->member types) that it should be global and not local.

    If you create local association, they will have different values on different site.

    Please network activate and configure member types pro and then use the above code(change with your main site id if it is not the first site). The member types from one site will be visible on others.

    PS:- Badge is not multisite compatible. The badges are currently local to a site. we will need some time to make it global in multisite.

    Regard
    Brajesh