New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Groups Gallery #44382

    Hi Arinnat,
    Welcome to BuddyDev forums.

    Please visit Dashboard->MediaPress->Settings and under the “General” tab, Please make sure to enable Group Gallery.

    After saving the settings, Please visit The “Group Gallery” tab and update it as you need.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] MediaPress Audio #44381

    Hi Dale,
    Thank you

    I will be looking at your issue this week and testing with the specific theme .

    As far as Transcoder is concerned, MediaPress simply invokes FFMPEG on your server with the uploaded media file and It is FFMPEG which is the real encoder/handling the transcoding. MediaPress simply manages invoking the transcoder, managing the queue(in database) and updating meta details on conversion.

    All the FFMPEG jobs are run as background process and if you are on a Linux server, you can run ‘jobs’ from terminal to see any pending jobs. We only run a new FFMPEG process on video upload and we do not keep it running infinitely. It is one off process for each of the media. If it seems to be running continuously, Please approach the server support.

    There are many reasons for a slow transcoder/high resource usage, I will leave the transcoder debugging aside as you are no longer using it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] translation issue #44380

    Hi Giuseppe,
    Thank you for the reply and the details.

    I am not sure what could be causing it if you have already translated it(probably an override in theme).

    If the author has sent you a file, Please use it for now and put it in your child theme.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi,
    instead of current_user_can, Please use the user_can like the following

    
    if( ! user_can($user_id, 'publish_products') ) {
    	$is_enabled = false;
    }
    
    

    This will work for displayed user.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] MediaPress Audio #44366

    Hi Dale,
    Thank you for the replies.

    The transcoding is a very resource intensive process and there is a huge prossobility that your server is killing the transcoder process. We encountered this issue recently with SiteGround server. It was solved by approaching siteground support.

    Local transcoder is not suitable for large files or if your site has large number of users uploading videos. We have it specified as a note for the local transcoder plugin.

    The best strategy for transcoding is to offloaded the processing. we are working on Elastic Trancoder support in future.

    Regards
    Brajesh

    • This reply was modified 4 years, 6 months ago by Brajesh Singh. Reason: updated
  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] bp whats new text modify #44365

    Hi Fabien,

    1. I am sorry, you can not add links in the placeholder. If you did, It will simply be shown as text.
    2. Please contact theme author. They can provide some js. This is very much specific to theme and how they manage/override compatibility with BuddyPress.

    Generally, the second approach can be achieved via javascript easily.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Buddypress Reply button / modifiy link #44364

    Hi Fabien,
    Welcome to BuddyDev support forums.

    What you are looking for is the default expected behaviour. It seems you might have the setting enabled to allow comments on blog/forum posts.

    Please visit dashboard->Settings->BuddyPress->Options and un tick “Allow activity stream commenting on posts and comments”

    Please note that it will disable the comment button in the activity stream too. If you want to maintain the Ui, please consult your theme author and ask them to add a button for forum activity even when it is disabled. Also, if they added the button, they should avoid the class “acomment-reply” on the button to avoid the form being pulled via js.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi,
    Thank you for the question.
    yes, both of these are doable.

    here is some sample code for that.

    
    // disable testimonials component for some users.
    add_filter( 'bp_testimonial_enabled_for_user', function( $is_enabled, $user_id ) {
    
    	// process
    	return $is_enabled;
    }, 10, 2 );
    /// limit show can write
    add_filter( 'bp_testimonial_user_can_write', function($can) {
    
    	if( ! is_user_logged_in() ) {
    		return $can;
    	}
    	// in case you want to find the user for whom testimonial is being written
    	// it is displayed user.
    	// $displayed_user_id = bp_displayed_user_id();
    	// check for current user
    	if( current_user_can('read') ) {
    	// update $can to true/false/
    	}
    
    	return $can;
    });
    
    

    Hope you can adapt it for your purpose. Please let me know if you want me to put an example with roles?

    Regards
    Brajesh

    • This reply was modified 4 years, 6 months ago by Brajesh Singh. Reason: updated code slightly
  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Randomize Activity Feed #44360

    Hi Herimanana,
    Welcome to the BuddyDev support forums.

    I don’t see any proper way to do it.

    You may randomize but then you will need to track that the same activities should not be shown repeatedly on load more. Also, if the randomness is enabled, you may want to maintain the freshness of the stream somehow. This is doable but we don’t have enough resource or interest in it in currently.

    Regards
    Brajesh