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: 25513
    Brajesh Singh on in reply to: [Resolved] Buddypress menu dashboard #9344

    Please let me know if you still need assistance and can provide the screenshot or I will close this topic in 24 hours if there is no new response.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Thank you. It’s good to know 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Matthew,
    Thank you.

    I will suggest looking into the plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single directory.

    Specially home.php(how each component is loaded). Looking at the home.php will give you all the idea you need for customizing.

    PS: You can override all the templates in buddypress by copying the file to your theme( and ignoring the bp-templates/bp-legacy/ part).

    So, if you want to override /buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php you will copy it to your theme/buddypress/members/members-loop.php

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: Xprofile field problem or BUG #9340

    Yes, I can confirm it now too.
    A quick fix(just a workable solution, not the best) is to mark the field with the zero value as default. That does make it work.

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] buddypress list all groups #9339

    Hi Valle,
    Please take a look at the groups-loop.php. In that file you will see bp_has_groups(), you can pass per_page and max to control how many.

    You can copy paste the loop and its content from this file to list the groups.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Giulietta,

    Please put this code in your bp-custom.php or your functions.php

    
    
    /**
     * Ask BuddyPress to check and load newest activity on Community Activity page.
     *
     * @param bool $do
     *
     * @return bool
     */
    function buddydev_do_heartbeat_on_community_activity( $do ) {
    	// is it our page?
    	if ( bp_is_user_activity() && bp_is_current_action( 'all-activity' ) ) {
    		$do = true;
    	}
    
    	return $do;
    }
    add_filter( 'bp_activity_do_heartbeat', 'buddydev_do_heartbeat_on_community_activity' );
    
    

    That will make it work.

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    You are welcome 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: Xprofile field problem or BUG #9333

    Hi Nim,
    It was a known bug earlier. I am not sure if it is fixed in current version though.

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Giulietta,
    I am sorry to keep you waiting.

    Please allow me just one more day.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Matthew,
    Thank you for posting.

    You can put the following code in your bp-custom.php or your theme’s functions.php

    
    
    /**
     * Make user profiles single column layout for the customizer theme.
     *
     * @param string $layout
     *
     * @return string
     */
    function buddydev_customizer_profile_single_col_layout_filter( $layout ) {
    
    	if ( bp_is_user() ) {
    		$layout ='f';
    	}
    
    	return $layout;
    
    }
    add_filter( 'tc_screen_layout', 'buddydev_customizer_profile_single_col_layout_filter' );
    
    

    Hope that helps.