BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: Mediapress breaks the cropping function of Buddypress #2585

    Hi Ross,
    Thank you. I still believe you should post it to the relevant plugin and let them know that the pdfmake is causing conflict with plupload and that leads to this issue.

    In MediaPress, we do have another solution too. There is a hook that allows avoiding loading any MediaPress js files on certain pages. The following code can be put in the bp-custom.php

    
    //Do not load MediaPress js files on change avatar page
    function mpp_custom_dont_load_js_on_avatar_change( $load ) {
    	
    	if ( bp_is_user_change_avatar() ) {
    		$load = false ;
    	}
    	
    	return $load;
    }
    add_filter( 'mpp_load_js', 'mpp_custom_dont_load_js_on_avatar_change' );
    

    This may also act as a temporary solution.

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: [Resolved] Buddypress posts comment doesn't work #2584

    Hi Kyle,
    Thank you for replying and confirming. Marking it as resolved.

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi Jan,
    Thank you. I too saw it today. Yes, I will be doing a test with the current trunk.

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Looking into it a little bit more and it seems that the pdfmake has issues with plupload js files and that is causing it. I do have a temporary solution for this( we will not load our js files on the avatar upload page, please let me know if that will work for you).

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Thank you Leo and Lambert.
    Both of you 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi Ross,
    I am sorry for the delayed reply. I have been looking at MediaPress code as well as the other plugins code.

    MediaPress does not load anything for documents on any page other than single doc page, so that is not the reason.

    I looked further and I have found what is causing issue. It is pdfmake included with the inline document plugin.

    When MediaPress is active and “pdfmake” is loaded, The cropper does not appear. It is not throwing any js error or anything, so it is really difficult to debug after that.

    Try commenting these two blocks in the inline google document plugin

    
                // PDFMake (required for DataTables' PDF buttons)
                'pdfmake' => array(
                    'src' => '//cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/pdfmake.min.js',
                    'deps' => array('datatables-buttons')
                ),
    			
                'pdfmake-fonts' => array(
                    'src' => '//cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/vfs_fonts.js',
                    'deps' => array('pdfmake')
                ),
    

    And you will see that the cropper works.

    I will be looking further but I am not sure what is causing this issue.

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: BuddyPress Confirm Actions + Stripe #2571

    Hi Kenny,
    I have received your mail. I am sorry I could not get back to you. Will be getting back to you with details on Sunday.

    Thank you
    Brajesh

    PS: Sorry , I posted the wrong message earlier here.

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi All,
    I have pushed an update for BuddyBlog. Can you please give a try to 1.1.5 and let me know if it fixes the featured image issue or not?
    https://buddydev.com/plugins/buddyblog/

    Thank you all for the patience.
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi Christopher,
    Thank you.

    Marking it as resolved now.

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Thank you. I appreciate you reporting the issue.
    Have just fixed it. Please upgrade to 1.0.3 from here

    https://buddydev.com/plugins/bp-autologin-on-activation/

    Please do let me know if that works for you or not?

    Thank you
    Brajesh