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

    Hi,
    Is there any chance you did not add the users to the sub site after multi network was activated? Can you please try removing and adding them in the sub site’s user panel and see if they are listed?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Cover Image cropping Function #33102
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Nick,
    Thank you for purchasing the plugin.

    Please create a new entry for “profile” as tab and set it as the default component.
    For details, Please see
    https://buddydev.com/docs/buddypress-user-profile-tabs-creator-pro/modifying-label-repositioning-existing-profile-tab/

    That will fix it.

    Please let me know if it works for you or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Members not showing on subsite #33098

    Hi Chris,
    I haven’t seen anything like it.

    I am assuming you have the ‘BP_ENABLE_MULTIBLOG’ constant set and the network configured correctly(by updating setting on the sub network).

    Can you please share the following details:-

    1. Which version of BuddyPress or BuddyBoss platform are you using?
    2. Is there any plugin /code controlling visibility of the users?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Sri Visjaya Yogi ,
    Thank you for the question.
    I am sorry for the delayed reply.

    I will not suggest using that plugin with Community Builder unless you set background color for site content area.

    The reason is community builder containers have transparent background and if an image is set as the page background, It will affect readability of the content on that page. The solution is to set a background color on content area.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] BuddyPress User Contact Form #33096

    Hi James,
    Thank you for the question.

    It should not be difficult. You may use our services for it if needed. I guess, It will take an hour or less for any developer to achieve it.

    Regards
    Brajesh

    PS:- In future, for pre-sales questions, please create anew topic or use our contact form.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Thank you.
    I am closing this topic to avoid confusion.

    Here is the link to future discussion

    https://buddydev.com/support/forums/topic/cover-image-cropping-function

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Cover Image cropping Function #33093

    Hi James,
    Thank you for opening a new topic.

    You can remove other code and use the following code to force crop

    
    function buddydev_enable_crop_for_cover_image( $args ) {
    	$args['crop'] = true;
    
    	return $args;
    }
    add_filter( 'bp_after_attachment_cover_image_edit_image_parse_args', 'buddydev_enable_crop_for_cover_image' );
    
    

    This will not show any user interface. What it does is forces BuddyPress to crop images to the registered dimension instead of resizing the image.

    In case you want to set a custom height/width for the cover and not use the default by BuddyPress, you can use the following code too

    
    
    function bd_set_xprofile_cover_image_dimension( $settings = array() ) {
    	$settings['width'] = 800;
    	$settings['height'] = 400;
    
    	return $settings;
    }
    add_filter( 'bp_before_members_cover_image_settings_parse_args', 'bd_set_xprofile_cover_image_dimension', 100, 1 );
    add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'bd_set_xprofile_cover_image_dimension', 100, 1 );
    
    

    Please change the width/height as needed.

    And lastly, you may want to remove the default notice by BuddyPress. to do that, Please add the following code.

    
    
    add_action( 'bp_loaded', function () {
    	remove_action( 'wp_ajax_bp_cover_image_upload', 'bp_attachments_cover_image_ajax_upload' );
    } );
    
    

    Please try uploading an image and cover and check if the image is cropped to correct dimension or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi,
    Please open a new topic here
    https://buddydev.com/support/forums/#new-post

    I am sorry but this topic belong to @hcallens and I am unable to provide support for any discussion which is not related to his original question.

    I will be glad to assist when you open a new topic.

    Thank you
    Brajesh

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