BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 83

    Sure, No Issues At All
    Btw, Happy Diwali Brajesh🙂

    Cheers, Cromacio

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on in reply to: Hide members page #41418

    Hi Alison,
    This Isn’t an Official BuddyDev Plugin, But Has Code just From BuddyDev’s Post.
    You can Even Add the Following Code to Functions.php Yourself.
    function

    buddydev_hide_members_directory_for_all_except_admin() {
        if ( bp_is_members_directory() && ! is_super_admin() ) {
            bp_do_404();
            load_template( get_404_template() );
            exit( 0 );
        }
    }
     
    add_action( 'bp_template_redirect', 'buddydev_hide_members_directory_for_all_except_admin' );

    Here is a Link to Post by Brajesh Regarding this- https://buddydev.com/hide-buddypress-members-directory/

    Hope that Helps 🙂
    Cromacio

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on in reply to: Hide members page #41399

    Hi,
    You Could Install Plugin From Here- https://github.com/cromacio07/disable-bp-members-directory/raw/main/disable-bp-members-directory.zip
    It Will Redirect Anyone Except the Site Admin to your 404 Error Page, when They Try to Visit Members Directory.
    Also, Remove The Members Menu on Frontend from Your Dashboard.

    Regards,
    Cromacio

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on in reply to: [Resolved] A way to crop the picture of cover #41398

    I Haven’t Yet Come Across With An Addon Related to This, Even If If It Exists.
    Hope Others Will Be Able to Help.

    Regards,
    Cromacio

  • Participant
    Level: Enlightened
    Posts: 83

    Glad to Know That 🙂
    Cromacio

  • Participant
    Level: Enlightened
    Posts: 83

    Hey,
    It’s A Well Known Bug in Buddypress, Don’t Think It’s Completely Fixed Yet.
    Try Adding This to functions.php or Code Snippets, if You Have it Installed

    
    add_action('plugins_loaded', 'buddydev_buddypress_get_activty_content_body_stripslashes' );
    function buddydev_buddypress_get_activty_content_body_stripslashes () {
    add_filter( 'bp_get_activity_content_body', 'stripslashes_deep' );
    }
    

    Cromacio

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on in reply to: [Resolved] A way to crop the picture of cover #41373

    Hey Alison,
    Got It. But Unfortunately, Buddypress Currently Doesn’t Officially Support Cover Image Cropping, as the Cover Image Sizes Are Different for Desktops, Mobile Devices, etc. Hope You Find Something Helpful Here- https://buddydev.com/support/forums/topic/cover-image-cropping-function/

    Thank You,
    Cromacio

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on in reply to: [Resolved] A way to crop the picture of cover #41368
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on in reply to: [Resolved] Page with the profile of the member ? #41366

    Hi There Alison,

    You Can Find A Menu Option Named ‘Profile’ Auto-Generated by Buddypress Plugin on Your Dashboard Here- Appearance–>Menu.
    You Can See It Here if You Need Help- https://prnt.sc/1xxnp5l

    If That Doesn’t helps, I Don’t Think There’s Another Way without Redirecting Members.
    For Simply Redirecting, You Can Create An Empty Page With Permalink As /profile And Add This to Your functions.php or bp-custom.php

    function buddydev_profile_redirect(){
    	include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    	if($_SERVER['REQUEST_URI'] == '/profile/' && is_plugin_active('buddypress/bp-loader.php') && is_user_logged_in()){
    		global $current_user;
    		wp_redirect( get_bloginfo('url') . '/members/'. $current_user->user_login . '/profile/'); 
    		exit();
    	}
     }
    add_action('init', 'buddydev_profile_redirect');

    Regards Cromacio

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on in reply to: Question about the possibility to send messages #41242

    Hi Alison,
    You Can Access Private Messaging By Visiting Messaages Tab in Your Buddypress Profile.
    Private Message Button will Also Be Visible on Profile of Other members from Your Community.

    If You Can’t See These,
    There’s A Possibility that Private Messaging Component for Buddypress is Disabled By Default.
    Just Visit Your Admin Dashboard–> Settings–> Buddypress and Enable the Private Messaging Component.

    Hope that Helps.. 🙂
    Cromacio