Hello Ravi,
This issue at (https://buddydev.com/support/forums/topic/change-buddypress-force-profile-photo-plugin-redirection/) is recurring again after recent updates
Also please note that im using this code below to change redirect but when liera avatar plugin is active the redirect does not work
// filter buddypress profile completion redirect url to the (complete-profile) page. add_filter( 'buddypress_profile_completion_redirect', function ( $redirect_url ) { return get_permalink( 34168 ); } );
and
function buddydev_dont_skip_redirect_on_cta_pages( $skip ) { if( is_page( array( 'publish', 'create-new-post', 'advertise', 'create-new-advert', 'manage-listings' ) ) ) { if( is_user_logged_in() ){ $skip = false; } } return $skip; } add_filter( 'bp_force_profile_completion_skip_check', 'buddydev_dont_skip_redirect_on_cta_pages', 20 );
Thanks
Hi Tosin,
I am guessing that the avatar plugin is returning has_avatar true for BuddyPress. Please contact and check with their author about it.Regards
Brajesh
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
This topic is: not resolved