New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] BuddyBlog #27747

    Hi,
    I just tested and it seems to be working for me.

    Please switch to default theme and try posting as a normal user and enable comment. Is it still showing the comments off?

    Regards
    Brajesh

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

    Thank you both of you.
    Marking as resolved.

    Regards
    Brajesh

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

    You are welcome.

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

    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