• Hello,

    This plugin breaks BP’ avatar upload/crop feature. Here is the quick fix;

    add_filter('do_rocket_lazyload', 'disable_lazyload_own_profile');
    function disable_lazyload_own_profile()
    {
    	if (bp_is_my_profile()) {
    		return false;
    	}
    
    	return true;
    }
    

    Cheers,

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @m_uysl

    Thanks for this solution. Can you tell me where I would place the code?

    Cheers!

    Thread Starter Mustafa Uysal

    (@m_uysl)

    Hi @jwchameleoncorp,

    I’m using in own custom plugin, but you can try template’s functions.php file, it should work.

    Hi @m_uysl

    I placed the code in wp-content/themes/theme-child/functions.php

    However, the code did not work. Did I place it in the right file?

    Thanks again!

    Thread Starter Mustafa Uysal

    (@m_uysl)

    > However, the code did not work. Did I place it in the right file?

    Yes, it should work.

    When you disable “Rocket Lazy Load” plugin, do you get same problem? Are you sure the problem is caused by this plugin?

    Hi @m_uysl

    Yes, it’s definitely Rocket Lazy Load. Been working with this issue for weeks now.

    Using it on this site 5firemen.com

    That’s where I placed your code.

    Any ideas?

    Thanks again for your time. ??

    Thread Starter Mustafa Uysal

    (@m_uysl)

    then, create mu-plugins directory under the wp-content and create new php file in there by inserting the code above.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘BuddyPress Compatibility Fix’ is closed to new replies.