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

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

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

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

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

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25488

    Hi John,
    I am sorry, the profile tabs pro is not suitable for this use case.

    Btw, BuddyPress should only show the profile group which has data for the user. Other groups are not shown by default on the profile view screen.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25488

    Hi Niculae,,
    Thank you for the replies.

    1. You can use the shortcode on a page or the create tab on profile. It is your preference and we support both of these. Using shortcode allows you to have a larger screen for posting, using create tab provides better integration as other tabs are available on the same screen.

    Both will work fine. Please feel free to use any of those.

    Please note: If you use shortcode, Please make sure to select the page on the BuddyBlog Pro Post Types “Create” section. Otherwise, it will not work.

    2. Thank you for the suggestion about the title and the content word count. We are hoping to enable word count for content in next 2 updates. I am not sure about enabling this for the title.

    Please feel free to use javascript to do that for title.

    Regards
    Brajesh