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

    Hi Ashwin,

    Please disable “Autolink”. The problem happens if the auto link is enabled.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Tosin,
    Thank you for the details.

    I short of decided to hold this in the new release.

    The problem I am seeing is BuddyBlog uses post author for listing posts, providing access to post editing etc.

    If a user submits a form and the er user post creator will loose the access/right to edit it. This will be problematic.

    Can you please help me understand your use case and I will have some suggestions.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: [Resolved] Buddyblog force category requests #41281

    Hi Tosin,
    Thank you for the patience.

    Please upgrade to 1.1.8. You can mark any taxonomy as required and the user will be forced to select at least 1 term from that taxonomy.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: [Resolved] BUDDYBLOG REDIRECT #41280

    Hi Tosin,
    Thank you for the patience.

    Please upgrade to 1.1.8. It lets you select the default redirection url for the form submission.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: Xprofile Tag field #41277

    Hi Christopher,
    Thank you.

    I understand the need but that is beyond the scope of xprofile custom fields plugins.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Niculae,
    I have just tested the plugin with BuddyBoss platform 1.7.9 and I am not seeing any of the above mentioned issue.

    1. Post title:- what is the permalink of your single page where it is not appearing? Please link to me and I can check.

    2. Not uploading featured image:- Have you enabled “Editing” for all members ?

    3. Double listing of the entries:- Please link me to a screen showing it. I am not seeing it. Since it is showing only once in your dashboard, I am assuming that something is causing double load of template.

    Please share a list of active plugins.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi John,
    I am sorry, I am unable to comment where it will stop the comment. That will depend where that activity type is being used.

    I lack the time to test install RT Media and test it due to my current work. I hope you can give the above code to RT media people or someone using RT media to get assistance.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Niculae,
    Thank you for all the details.

    Please hold on for 1-2 hours.

    I will be checking again with latest version of BuddyBoss and getting back to you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi,
    Here is a code sample showing validations.

    
    
    /**
     * BuddyBlog Pro field validation rule.
     */
    add_filter( 'bblpro_validation_errors', function ( $errors, $submitted_data, $post_data ) {
    
    	$status = $post_data['post_status'];
    
    	if ( ! empty( $submitted_data['bbl_post_title'] ) && bblpro_custom_get_words_count( $submitted_data['bbl_post_title'] ) > 20 ) {
    		$errors->add( 'bbl_post_title', __( 'Title must have less than 20 words.' ) );
    	}
    
    	// additional check for publish.
    	if ( 'publish' === $status && bblpro_custom_get_words_count( $submitted_data['bbl_post_content'] ) < 150 ) {
    		$errors->add( 'bbl_post_content', __( 'Content must have at least 150 words.' ) );
    	}
    
    	return $errors;
    }, 10, 3 );
    
    /**
     * Counts number of words in a string.
     *
     * @param string $str string.
     *
     * @return int
     */
    function bblpro_custom_get_words_count( $str ) {
    	$words = preg_split( "/[\n\r\t ]+/", $str, - 1, PREG_SPLIT_NO_EMPTY );
    
    	return count( $words );
    
    }
    

    Please feel free to extend it.

    No, the plugin can not use BuddyBoss uploader currently.

    Regards
    Brajesh