Replies
- Daniel on November 25, 2022 at 9:17 pm in reply to: Hide the BP type box and MPP on Website Activity Page #47438This reply has been marked as private.
Hi Ravi,
Thanks for the code. Before I test it I have two little questions:
1. do I need to add the code to the bp-custom.php file?
2. Does when applying the code the “Read More” link disappear and the whole post is showing even when it is a large post or will there still be the “Read More” button to maximise the post?Thanks for your short feedback.
Regards
Daniel- This reply has been marked as private.
- Daniel on November 15, 2022 at 9:01 am in reply to: [Resolved] Customize website logo link to get redirected to BP profile when logged in #47360
Hi Brajesh,
That’s awesome, it works exactly how I wished! Finally this issue is resolved, a user has not come back because the user said she doesn’t know how to get back to her profile, it was also a cashing problem that the left sidebar did not refresh and which I could resolve in the meantime. So now the website looks much more professional.
Thanks for the great work!
Regards
Daniel - Daniel on November 14, 2022 at 6:44 pm in reply to: Remove overlapping link on -forgot password- page #47347This reply has been marked as private.
- Daniel on November 14, 2022 at 6:10 pm in reply to: Remove overlapping link on -forgot password- page #47344
Hi Brajesh,
I would like to renew BuddyDev membership, could I please have a little discount code?
Thank you.
Regards
Daniel - Daniel on November 14, 2022 at 5:52 pm in reply to: Remove overlapping link on -forgot password- page #47342
Hi Brajesh,
It worked that’s great 🙂
I figured out that due that users compare social media with the big ones like Facebook, Twitter etc. and when they recognize that a site is not as professional as the big players, then they don’t come back again.
Thank you!
Regards
Daniel - Daniel on November 14, 2022 at 5:45 pm in reply to: [Resolved] Redirect users immediately after profile photo upload #47341
Hi Brajesh,
Sorry I’m not a php programmer, could you please just tell me how to put my url please? I have pasted your code below again, I want that the redirect will be to https://www.mywebsite/members/me
/** * Redirect user on successful php upload and crop. */ add_action( 'bp_enqueue_scripts', function () { // you can set the url value to anything. $url = trailingslashit( trailingslashit( bp_get_members_directory_permalink() ) . 'me/' . bp_get_members_invitations_slug() ); ob_start(); ?> bp.Avatar.Attachment.on( 'change:url', function( data ) { if( data.get('object') == 'user' ) { window.location="<?php echo esc_url( $url ); ?>"; } } ); <?php $script = ob_get_clean(); wp_add_inline_script( 'bp-avatar', $script, 'after' ); }, 100 );
Thank you!
Regards
DanielRegards
Daniel - Daniel on November 14, 2022 at 4:28 pm in reply to: [Resolved] Customize website logo link to get redirected to BP profile when logged in #47336This reply has been marked as private.