BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Daniel,
    The above code is for your login page and not applicable for site’s other pages.

    The change needs to go into your theme/child theme somewhere.

    It is a minor task, please provide your FTP access and I will take care of it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Tosin,
    You can use

    
    bp_is_user_change_avatar()
    

    for that purpose.

    @danieleherat
    Thank you.

    You can put it in wp-contet/plugins/bp-custom.php

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: [Resolved] BuddyPress admin Actvity hide #47321

    Hi,
    Thank you for the question.

    Please share your BuddyPress version and any changes you have made recently.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Thank you for confirming Tosin.

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Tosin,
    You will need to contact perfmatters about the defer.

    Here is slightly modified script to avoid redirect on deletion.

    
    add_action( 'bp_enqueue_scripts', function () {
    	// you can set the url value to anything.
    	$url = site_url( '/refer-friends/' );
    	ob_start();
    	?>
        bp.Avatar.Attachment.on( 'change:url', function( data ) {
        if( data.get('object') == 'user' && 'deleted' !== data.get('action') ) {
        window.location="<?php echo esc_url( $url ); ?>";
        }
        } );
    	<?php
    	$script = ob_get_clean();
    	wp_add_inline_script( 'bp-avatar', $script, 'after' );
    }, 100 );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: Remove overlapping link on -forgot password- page #47299

    Hi Daniel,
    I am sorry, i don’t see any way.

    Your logo is set as background on that element and if we hide it(display:none or visbility:hidden, your logo is hidden too.

    You should contact the theme authors as this is not the default WordPress behaviour.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Tom,
    Thank you.

    I am sorry, i am not familiar with that theme, so I am unable to provide a php snippet.

    Please try to use this css and see if it works.

    
    body.settings.bp-user #item-header {
    	display:none !important;
    }
    
    

    This is not the best one as it simply hides the elements but does not remove them from the actual markup but should serve your purpose.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209

    Hi Amanda,
    Welcome to BuddyDev.

    If you don’t need account settings, I will suggest disabling it in BuddyPress settings.

    You can visit Dashboard->Settings->BuddyPress and under “Components”, you can untick ”
    Account Settings” and save.

    That is the correct way to disable account settings.

    If you only want to hide it and not disable it, you may use the following css

    
    
    #settings-personal-li,
    #wp-admin-bar-my-account-settings {
     display: none !important;
    }
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: BuddyBoss not working #47289

    Hi Anna,
    hope you are doing well.

    I have issued the refund. Please check your PayPal account for the same.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25209
    Brajesh Singh on in reply to: [Resolved] PROFILE PHOTO NOT CROPPING #47288

    Thank you for sharing Tosin.

    I hope that it will help others.

    Regards
    Brajesh