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: 25485
    Brajesh Singh on in reply to: Audio for avatar #33563

    That’s good to know. As explained earlier, there is no solution for it currently.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi,
    Thank you for the topic.

    At the moment, we are not using the WCFM plugin, so can not assist you with it. Please contact the relevant plugin author for the same.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Sure,
    Here you go.

    
    
    /**
     * Changes length of activity excerpt.
     *
     * @param int $length_in_chars number of character for the excerpt.
     *
     * @return int
     */
    function buddydev_custom_activity_excerpt_length( $length_in_chars ) {
    	$length_in_chars = 20;// change it to as many characters as you want.
    
    	return $length_in_chars;
    }
    
    add_filter( 'bp_activity_excerpt_length', 'buddydev_custom_activity_excerpt_length', 100 );
    

    Please feel free to change the number of characters.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Quintin,
    I am sorry for the inconvenience. It seems the plugin is not behaving as expected.

    Please do know that it does not apply any limit on file size, so first upload will always pass even if larger than allocated storage(at least in current implementation).
    It should not allow the 2nd and subsequent uploads though.

    Can you please provide me the following details:-

    1. Are you using BuddyPress or BuddyBoss Platform?
    2. Which version of the BuddyPress or BuddyBoss platform?
    3. Which version of MediaPress are you using?
    4. is it a WordPress multisite or normal WordPress?
    5. Does the user uploading the media has a PMPro membership level assigned?

    Please let me know and I will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: How get I get the total activity count of a user #33551

    You need to print that using echo.

    Example:-

    
    echo "Count:" . buddydev_get_total_user_activities_count( 1, 'activity_update' );
    

    Where 1 is user id.

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    You are welcome. I am glad it worked.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Member Types Pro for Buddyboss #33547

    Hi Rami,
    I am sorry for the delayed reply.


    @ravisharma
    has added the changes. I will need 1-2 days to review the code before publishing. I will post back after publishing.

    Regards
    Brajehs

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi,
    Thank you for using our theme and plugins.

    It might be a conflict in one of the new updates of these plugin. Please allow us 48 hours to test and push an update.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Steven,
    Thank you for the question.

    I am assuming you are looking to change thee excerpt length in the activity stream(activity posts list)?

    It is simple doable by 2-4 lines of code without any plugin. We are also including it in one of our upcoming plugins for a no-code solution.

    Please confirm me if this is the case and I will post the code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Customize Search Bar #33543

    Hi,
    Yes, these are doable but out of scope for our forum assistance.

    I will suggest asking in the BP Profile Search forum or you may use our custom services.

    Thank you
    Brajesh