Black Friday: Grab all our memberships, plugins and themes at the biggest-ever 30% discount. Use coupon BLACKFRIDAY2025 before December 1st

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25231
    Brajesh Singh on #55916

    Hi Geoff,
    Thank you for your patience.

    Please put this code in bp-custom.php

    
    /**
     * Filters out media comment from activity stream.
     */
    add_filter( 'bp_after_has_activities_parse_args', function ( $args ) {
    
    	if ( isset( $_REQUEST['action'] ) && 'mpp_fetch_activity_media' == $_REQUEST['action'] ) {
    		return $args;
    	}
    
    	if ( function_exists( 'mpp_is_single_media' ) && mpp_is_single_media() ) {
    		return $args;
    	}
    
    	$filters   = isset  ( $args['meta_query'] ) ? (array) $args['meta_query'] : array();
    	$filters[] = array(
    		'key'     => '_mpp_activity_type',
    		'compare' => '!=',
    		'value'   => 'media_comment'
    	);
    
    	$args['meta_query'] = $filters;
    
    	return $args;
    } );
    
    

    It should resolve the issue. Please let me know if it works or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25231
    Brajesh Singh on #55915

    Hi Alex,
    Thank you for using the MediaPress.

    1. Can you please tell me where did you trigger the lightbox. If triggered from gallery page it will show prev/next. If triggered from activity, It will only show images from current activity.

    2/3. This is a BuddyPress feature not MediaPress(we are using BuddyPress activity internally). BuddyPress Useses your settings for blog comments for this. Please visit Dashboard-> Settings->Discussion and look for “Enable threaded (nested) comments”. You will see the nesting leve there and control it.

    4. It is in the BuddyPress’s activity section in the wp-admin. No, They will not work with wp discuzz.

    5. Does the other plugin offer an API to see if a user is allowed or not? We have not tried blurring images(we can do it via css filter but that won’t protect against savvy users).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25231
    Brajesh Singh on #55914

    Hi Thomas,
    Thank you for the question.

    You can add the link https://www.cabinet.speakexpress.ru/members/me/ and It will redirect current logged user to their profile.


    @ajex

    Thank you for the reply(I understand you are trying to help us save time and I appreciate it). Let us help if we may do a bit on our part.

    Rgerad
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25231
    Brajesh Singh on #55913

    Hi Thomas,
    Thank you for the question.

    Please open a new topic with details on what do you mean by create link for non logged in users and we will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25231
    Brajesh Singh on #55905

    Hi Geoff,
    Thank you for the reply and the clarification.

    The media/gallery comments are internally activity comment/reply. Do you want to disable users from commenting the gallery/media? Otherwise, We can exclude it from main activity stream(by type) and still keep the commenting functionality.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25231
    Brajesh Singh on #55904

    Thank you for your patience.

  • Keymaster
    (BuddyDev Team)
    Posts: 25231
    Brajesh Singh on #55903

    Thank you Ashley.

  • Keymaster
    (BuddyDev Team)
    Posts: 25231
    Brajesh Singh on #55902

    Hi Alex,
    Thank you for purchasing the plugin.

    We store it in user meta. We are using following flags in meta.

    _bpmts_is_suspended tracks if user is suspended

    We alsp provide an api function bpmts_is_user_suspended($user_id) which reurns boolean to flag is a user is marked as suspended or not?

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25231
    Brajesh Singh on #55897

    Hi Horst,
    Thank you for the reply.

    It seems updating individual word is not going to help. Please give me couple of days to think. I am planning that we can incur full string for know media types and then fallback to default for unknown types(future types). That will work better with localization.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25231
    Brajesh Singh on #55896

    Hi Geoff,
    Thank you for the question.

    Please visit Dashboard->MediaPress->Settings->BuddyPress and disable the section for automatically adding to activity.

    Regards
    Brajesh