Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: Simple Front End Post – Edit the email sent to admin #27746

    Hi Simon,

    We do not send any email via BuddyBlog or BP Simple front end post plugin. You are most probably using a 3rd party plugin for the same.

    Please check your plugins or code for the same.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Thank you both of you.
    Marking as resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: [Resolved] Incorrect storage space used #27737

    Hi Keith,
    I am sorry for the inconvenience.

    We store the usage details in a transient. It is calculated as soon as a file is uploaded. It is kept for 24 hours. Since it has been 24 hours, Please check if it is working for them or not?

    If not, I will share the name for transient(it uses user id) to help you delete it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: BP Poke – Some comments #27735

    Hi Carsten,
    thank you for the feedback.

    Please create a new topic to share your ideas or questions. Existing old topics should be left as they are.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: Webp file image support #27734

    Hi Jan,
    I had a look.

    In order to allow webp uploads work you will need to install a plugin like this

    https://wordpress.org/plugins/wp-enable-webp/

    once it is done, the upload works. I still see that MediaPress does not show the uploaded image on upload screen(shows in gallery/single pages).

    I will need some time to investigate and fix it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: Webp file image support #27733

    Hi Jan,
    I haven’t tried uploading webp yet. Will try and then get back to you in couple of hours.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: Webp file image support #27731

    Hi Jan,
    Thank you for the question.

    Please visit Dashboard->MediaPress->settings->General and add ‘webp’ in the supported file type for photo. that should allow uploading it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Simon,
    You may use the ‘bsfep_validate_post’ filter to add validation errors. Here is an example(I am assuming that we are looking for a input name ‘test’

    
    add_filter( 'bsfep_validate_post', function ( $err, $post_data ) {
    
    	$input_name = 'test';
    	if ( isset( $post_data[ $input_name ] ) ) {
    		// validate
    		// let us say, it did not validate, we override the $err
    		$err = array( 'message' => 'test field failed validation', 'error' => true );
    	}
    
    	return $err;
    }, 10, 2 );
    
    

    Please do know that the validation strategy is bad(It would have been much better if we had used WP_Error to allow adding multiple errors) but it is from our old days and the validation filter was included without much thought.

    I look forward to rewrite it in near future.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: image meta data instead of image on mobile. #27720

    Hi Carsten,
    It seems the “View” for photo gallery is set to list. Please check the view setting for the components and photo gallery and make sure it is not set to the list. That will fix it.

    Regards
    Brajesh