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: 25348
    Brajesh Singh on in reply to: [Resolved] Buddypress and Google #27305

    Hi Nik,
    Since you have made these pages private, There does not seem to be any issue with search engines.

    Right know, unless you are adding the BuddyPress pages explicitly(profile/groups) to the sitemap(using BuddyPress specific plugin), they are not even added by the popular seo plugins. So, I do not see any harm.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Hi Propertytips,
    Thank you.

    I am glad that it worked.

    Thank you for sharing for others. It will certainly help.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Hi Charles,
    Welcome to BuddyDev.

    1. We do not have a way to do it. If you limit your WordPress default upload size, that will aplly to the BuddyBlog too.

    2. I am sorry but currently there is no way. We are using the WordPress uploader, so the restrictions needs to applied on that. We may implement something in future.

    3. We may be able to do it. I will explore a bit and see that it does not prevent showing current upload in the list. We can add a filter to enable it then.

    PS:- In future, Please open a new topic for discussion. That will help us organize the forums better.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Hi Daniel,
    Thank you for the question.

    It’s a good idea but I do not see a solution that exists. reason, any such solution will need to be able to send a lot of emails which might not be feasible on shared servers and limited mail queues by some of the hosting.

    Currently, there does exist a solution for sending daily group activity digest via email
    https://wordpress.org/plugins/buddypress-group-email-subscription/

    You might be already using it, if not, please give it a try.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Hi Propertytips,
    I am sorry to have kept you waiting for this.

    1. Please apply one line change to your current MediaPress as shown here
    https://github.com/buddydev/mediapress/commit/164e649deabffe963ab76d2dd93aa7653779751f

    2. Please put this code in your bp-custom.php or theme’s functions.php

    
    
    add_filter( 'mpp_file_upload_enabled', function ( $enabled, $context ) {
    
    	if ( 'gallery' !== $context ) {
    		return $enabled;
    	}
    
    	$gallery = mpp_get_gallery();
    	if ( $gallery && 'video' === $gallery->type ) {
    		$enabled = false;
    	}
    
    	return $enabled;
    }, 10, 2 );
    
    

    That will make sure that only links can be added for video gallery.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Hi Carsten,
    Thank you for sharing the reason.

    Yes, lazy load plugins are known to have conflict with avatar cropping/changing.

    About Jetpack:- If I get a say, I will not use it. It might be good for some use cases but you won’t be using most of its functionality and you can find the lighter alternatives already. Also, Whenever I tried it(not recently), It slowed the site a lot.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Hi Giulietta,
    Happy New Year and Welcome back!

    I am sorry but the plugin will not work on shared hosting. For transcoding, we need extra software like FFMPEG.

    I guess that means, the answer is “No” in this case.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Hi Philippe,
    Thank you for using MediaPress.

    There is a solution to it by overriding the template.

    Please copy plugin/mediapress/templates/mediapress/default/buddypress/activity/grid-doc.php

    to your theme(currently active theme/child theme)/mediapress/default/buddypress/activity/grid-doc.php

    Now, Please change this line

    
                <div class="mpp-item-content mpp-activity-item-content mpp-doc-content mpp-activity-doc-content" data-mpp-type="<?php echo $type;?>">
                    <a href="<?php echo esc_url( $url ); ?>" class="mpp-media mpp-activity-media mpp-activity-media-doc <?php echo $class;?>" data-mpp-type="<?php echo $type;?>" data-mpp-activity-id="<?php echo $activity_id; ?>" data-mpp-media-id="<?php mpp_media_id(); ?>" >
                        <img src="<?php mpp_media_src( 'thumbnail' ); ?>" class='mpp-attached-media-item' title="<?php echo esc_attr( mpp_get_media_title() ); ?>"/>
                    </a>
                    <a href="<?php echo esc_url( $url ); ?>" title="<?php echo esc_attr( mpp_get_media_title() ); ?>" class="mpp-activity-item-title mpp-activity-doc-title <?php echo $class;?>" data-mpp-type="<?php echo $type;?>" data-mpp-activity-id="<?php echo $activity_id; ?>" data-mpp-media-id="<?php mpp_media_id(); ?>"><?php mpp_media_title(); ?></a>
                </div>
    
    

    to

    
    
    <div class="mpp-item-content mpp-activity-item-content mpp-doc-content mpp-activity-doc-content" data-mpp-type="<?php echo $type;?>">
    	<a href="<?php echo esc_url( $url ); ?>" target="_blank" class="mpp-media mpp-activity-media mpp-activity-media-doc <?php echo $class;?>" data-mpp-type="<?php echo $type;?>" data-mpp-activity-id="<?php echo $activity_id; ?>" data-mpp-media-id="<?php mpp_media_id(); ?>" >
    		<img src="<?php mpp_media_src( 'thumbnail' ); ?>" class='mpp-attached-media-item' title="<?php echo esc_attr( mpp_get_media_title() ); ?>"/>
    	</a>
    	<a href="<?php echo esc_url( $url ); ?>" target="_blank" title="<?php echo esc_attr( mpp_get_media_title() ); ?>" class="mpp-activity-item-title mpp-activity-doc-title <?php echo $class;?>" data-mpp-type="<?php echo $type;?>" data-mpp-activity-id="<?php echo $activity_id; ?>" data-mpp-media-id="<?php mpp_media_id(); ?>"><?php mpp_media_title(); ?></a>
    </div>
    
    

    What we have done is added

    
    target="_blank"
    

    on the anchor elements. That will do it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25348

    Marking resolved due to inactivity.

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