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: 25514
    Brajesh Singh on in reply to: Display Members Directory as list #12751

    Hi Keith,
    I am sorry but the list layout is not available as part of 1.x.

    We have it available in 2.0
    https://i.imgur.com/ZlmNPRU.png

    But that will be atleast 2-3 weeks from now when we release it.

    In the current version, if you select the list layout, It will simply change the grid to 1 column per row.

    Adding profile fields is easy. There are 2 ways to do it.

    1. By overriding the member list template. It gives you more control.
    2. By putting the code in functions.php (a little bit less flexible).

    Which approach will you like to use?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25514
    Brajesh Singh on in reply to: Styling forms #12750

    Hi Tristan,
    I am sorry for the trouble.

    Can you please very that the child theme is active. I checked on the site but I don’t see the css file loaded(custom.css) and I have no other way to know if child theme is active.

    PS:- Are you using our child theme example as a starting point or is it your own complete new child theme?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25514

    Hi Slim,
    Please upgrade to 1.0.3
    https://buddydev.com/plugins/buddypress-user-profile-tabs-creator-pro/

    I have added support for Friends, Followers, Following visibility level depending on whether Friends component is enabled and the BP Follow plugin is active.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25514
    Brajesh Singh on in reply to: Styling forms #12745
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25514
  • Keymaster
    (BuddyDev Team)
    Posts: 25514

    Hi George,

    you can use

    
    if( function_exists('mediapress') ) {
    // 
    }
    
    

    to check if MediaPress is active.

    To mark a gallery as global shared, you can do the follwoing

    
    mpp_update_gallery_meta( $gallery_id, '_mpp_is_all_upload_allowed', 1);
    
    

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25514
    Brajesh Singh on in reply to: Styling forms #12735

    Hi Tristan,
    Welcome to BuddyDev Forums.

    Can you please provide me a link to your site? That will allow me to assist you better.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25514

    sure, I am looking forward to it 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25514

    Thank you.

    In order to update the gallery details, you can use the following function(s)

    Updating gallery status(If you only need to update status)

    
    mpp_update_gallery_status( $gallery, $status ); // $status can be any valid status e.g 'public', 'private' etc.
    
    

    Or you can use

    
    mpp_update_gallery( $args );
    
    

    where $args can be

    
    $args = array(
    	'id'           => $gallery_id, // *Required
    	'title'        => 'gallery title', // optional, if not given, keeps the current gallery title.
    	'description'  => 'gallery description', //optional.
    	'slug'         => 'gallery-unique-slug',
    	'creator_id'   => $user_id,//who created this gallery.
    	'order'        => 0, // menu order.
    	'component_id' => $user_id,//optional. will keep current component if not given.
    	'component'    => 'sitewide', // optional
    	'status'       => 'public', //new status
    	'type'         => 'photo', //new type?
    );
    
    

    Everything except the id is optional.

    For example, Here is how we are updating the gallery description.

    https://github.com/buddydev/mediapress/blob/master/core/ajax/mpp-ajax.php#L1049

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25514
    This reply has been marked as private.