BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25058

    Thank you Lambert.
    Marking it as resolved 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25058

    The current version has these options but they need you to enable by using some filters. Adding admin option will remove the need to write code and enable it using filters.

  • Keymaster
    (BuddyDev Team)
    Posts: 25058

    Hi Jan,
    Thank you for asking. It is going to mimic the controls we provide with BuddyBlog. In other words, as site admin you can choose if the posts will remain as draft or published and also who can post(members, admins, mods etc).

    Yes, I am in favor of BP Simple Front end post as it is simple, lightweight and with recent changes have full visual editing capability.

  • Keymaster
    (BuddyDev Team)
    Posts: 25058

    Thank you Jan.

    We have the admin almost setup, so yes, it is pretty easy to give the permalink option. We already do it for BuddyBlog.

  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    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: 25058
    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: 25058

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

  • Keymaster
    (BuddyDev Team)
    Posts: 25058

    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: 25058

    Thank you Leo and Lambert.
    Both of you 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25058

    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.