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: 25394
    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 ago by Brajesh Singh. Reason: updated
  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    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: 25394
    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: 25394

    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 ago by Brajesh Singh. Reason: updated code slightly
  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    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

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

    Hi Giuseppe

    Try Searchin for the string

    
    What\'s new in %1$s, %2$s?
    

    in the translation plugin and translate it. This is used in groups.

    If it does not work, Please contact theme author.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi,
    Welcome to BuddyDev support forums.

    Is it about MediaPress or Activity Plus reloaded?

    Our plugins are currently tested with the default post form. You have a customized form that uses visual text editor and that might be the reason.

    Please let me know which plugin you are using and our team will try to test it within a week a get back to you(sorry, we are short on support for this week).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: Donation feature for buddypress #44357

    Hi Fabien,
    Thank you for the questions.

    You can easily achieve it.

    You can go though any of the following 2 methods:-

    — Easy way using xprofile field–
    1. Create a profile field and suggest users to use their donation link in it. Mark this field as private/only available to the user to avoid it being visible in their profile.
    2. Use xprofile_get_field_data() and show it as a button somewhere

    or
    — Adding a custom sub nav under settings —
    1. Add a screen under user account settings with a form field for their donation link
    2. User’s can specify their link and you may validate it
    3. Store it in user meta and use get_user_meta() to fetch and show it as button

    The first one is easy one but may not be very intuitive. The second seems more intuitive but will need a lot more code than the first.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Giuseppe,
    Thank you for the question.

    Probably the extra data that you are adding using custom code is pushing the buttons leading to this. Since you are using a custom theme, I will suggest contacting theme authors for help. They can supply you custom css(and may be advise to wrap the code block in additional section) to fix it.

    Regards
    Brajesh