BuddyDev

Search

[Resolved] Conflict with Profile Builder plugin

Tagged: 

  • Participant
    Level: Initiated
    Posts: 14
    bayshanac on #190

    Hello,

    First, thank you for mediapress plugin, one of the best plugins for BP.

    I’m using MediaPress plugin with WordPress 4.2.4 multisite, BuddyPress 2.3.2.1 and Profile Builder plugin.

    I have an Issue with Profile Builder avatar field (Media upload) when MediaPress plugin is activated. When I disable Mediapress, PB avatar upload works without any problem.

    Can you help me to with this Issue? Thank You

  • Participant
    Level: Initiated
    Posts: 14
    bayshanac on #191

    Here it links to a page with a specific Issue: http://hpapps.net/dev/buddypress/registracija/

  • Keymaster
    (BuddyDev Team)
    Posts: 24653
    Brajesh Singh on #192

    Hi Bayshanac,
    Welcome to the BuddyDev forums.

    I just had a look at your site and I see that it is giving error

    
    TypeError: wp.Uploader is undefined
    

    That means the Uploader is most probably not enqueued.
    I downloaded a copy of Profile Builder plugin to check but the noticed that avatar upload is not part of their free offering.

    Can you please ask their support to check for the conflict. I am happy to include/provide support if I can access the code for their avatar upload and see how they are enqueuing it.

    Please do let me know what they say about the conflict.

  • Keymaster
    (BuddyDev Team)
    Posts: 24653
    Brajesh Singh on #193

    Have moved the topic to MediaPress community support forum.

  • Participant
    Level: Initiated
    Posts: 14
    bayshanac on #195

    Hello,

    Thank you for quick response.

    Profile Builder avatar field works when MediaPress is disabled. Maybe MediaPress deregister some script which is used in ProfileBuilder. I’m just guessing.
    I send a ticket to PB support but I have not received a response so far.

    I can send you on email a Profile Builder Hobbyist plugin version for testing this issue.

  • Keymaster
    (BuddyDev Team)
    Posts: 24653
    Brajesh Singh on #196

    Hi,
    Thank you.
    I have sent you a PM with my email address. Please send me a copy there.

    We are not deregistering anything but yes, we are partially loading the Media js file, so that may be a point of conflict.

    You can check that normal BuddyPress avatar upload(from profile page) works fine with MediaPress. So, I am not in a position to comment ton the conflicts. Once I receive the plugin, will test and post back here.

    thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 14
    bayshanac on #215

    Hello,

    The guys from Profile Builder gave me this solution:

    add_filter('mpp_load_js', 'wppbc_stop_scripts');
    function wppbc_stop_scripts( $content ){
    	if (is_page(48)) {
    		return false;
    	}
    
    	return $content;
    }
    

    Removing mpp scripts on registration page. This will work, I think.

    • This reply was modified 9 years, 3 months ago by bayshanac.
  • Keymaster
    (BuddyDev Team)
    Posts: 24653
    Brajesh Singh on #218

    Hi,
    Yes, that will completely stop MediaPress from loading any js file on that page. Thanks for the update.
    make sure to use your own page Id in place of 48 though.

The topic ‘ [Resolved] Conflict with Profile Builder plugin’ is closed to new replies.

This topic is: resolved