Replies
- Brajesh Singh on November 14, 2022 at 10:37 am in reply to: [Resolved] Customize website logo link to get redirected to BP profile when logged in #47323
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 - Brajesh Singh on November 14, 2022 at 10:35 am in reply to: [Resolved] Redirect users immediately after profile photo upload #47322
Hi Tosin,
You can usebp_is_user_change_avatar()for that purpose.
@danieleherat
Thank you.You can put it in wp-contet/plugins/bp-custom.php
Regards
Brajesh - Brajesh Singh on November 14, 2022 at 10:33 am 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 - Brajesh Singh on November 11, 2022 at 5:24 pm in reply to: [Resolved] How to disable all activity meta buttons #47301
Thank you for confirming Tosin.
- Brajesh Singh on November 11, 2022 at 5:24 pm in reply to: [Resolved] Redirect users immediately after profile photo upload #47300
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 - Brajesh Singh on November 11, 2022 at 5:19 pm 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 - Brajesh Singh on November 11, 2022 at 5:14 pm in reply to: [Resolved] Removing cover image header from some page #47298
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 - Brajesh Singh on November 11, 2022 at 4:39 pm in reply to: [Resolved] Hide settings navigation tab: “Account-settings” with css? #47297
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 Hi Anna,
hope you are doing well.I have issued the refund. Please check your PayPal account for the same.
Regards
Brajesh- Brajesh Singh on November 10, 2022 at 6:32 pm in reply to: [Resolved] PROFILE PHOTO NOT CROPPING #47288
Thank you for sharing Tosin.
I hope that it will help others.
Regards
Brajesh