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

    Hi Chris,
    Thank you for the reply.

    I can assure that “FREE User” is a label for the member type.

    In BuddyPress, when you create member type, you need a name (which does not have space) and a label. The name is used internally while the label is for the user.

    If you can tell me how are you creating it, I can help with finding the name of the member type.

    Regards
    Brajhesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi,
    Thank you for the patience.

    There was a minor issue, we had missed passing per page to one of the calls in the last update. It is fixed now.

    Please upgrade. It will work.

    Please let me know if it works or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi JJ,
    I am sorry about this. I will be working/testing it today and will be fixing it in next 24 hour.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Michel,
    From the above replies, I can guess the issue.

    The issue is tables are not being created on the site/sub site where you are getting this error.

    Did you define BuddyPress multi blog constant?
    Also, did you try to save the component settings from BuddyBoss component page?

    It seems to me that BuddyBoss does not try to recreate tables for existing sites(Haven’t tested it recently, this was the case a few months ago).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Scott,
    I am sorry for the messed code. We recently disable one of our code highlighters and that broke almost all old code posts. Have cleaned the blog now for code(still 13 posts remaining).

    If you visit that post again, you will have the correct code.

    Please do note that the above code does not restrict a user to 1 category. we will most probably need to do that at the time of validation.

    I will ask one of colleague to look into it and post the code(Or I will do it tomorrow).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi JJ,
    Thank you.

    I appreciate your help & suggestion on this.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Thank you. I appreciate your suggestion for helping us make this plugin better.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi JJ,
    Thank you.

    I sincerely appreciate you testing it. I am glad it worked.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi,
    I am sorry for the inconvenience. Please allow me to check it one more time and get back to you in next few hours.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi JJ,
    Thank you for the patience.

    Please upgrade to the latest version. Currently, I have left it to be done via code. Adding a UI option will need more thought(min/max and other conditions for each field).

    Please put the following code in bp-custom.php and it will restrict 1000 characters.

    
    add_filter( 'bpucf_form_validation_errors', function ( $errors ) {
    
    	$message = isset( $_POST['message'] ) ? trim( wp_unslash( $_POST['message'] ) ) : '';
    
    	// let us put our conditions here.
    	// is the length is greater than 1000, add error.
    	if ( strlen( $message ) > 1000 ) {
    		$errors->add( 'message', __( 'Message should have 1000 or less characters.' ) );
    	}
    
    	return $errors;
    } );
    
    

    Regards
    Brajesh