Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

  • vecturn
    Participant

    @vecturn

    @prashantvatsh that doesn’t answer my question, I want to know how to still use it as a child page?


    vecturn
    Participant

    @vecturn

    Why does no one know how to fix this???


    vecturn
    Participant

    @vecturn

    If I don’t get a response I’m just giving up on Buddypress and moving over to the alternative Peepso


    vecturn
    Participant

    @vecturn

    Really could use some help because no one can signup to my site.


    vecturn
    Participant

    @vecturn

    Nobody knows?


    vecturn
    Participant

    @vecturn

    Here’s my solution, bit easier:

    function blockode_custom_username_validate( $result ) {
      $error_name = $result[ 'errors' ]->get_error_message( 'user_name' );
      if ( ! empty ( $error_name ) 
          && !preg_match( '/[^_a-zA-Z0-9]/', $result['user_name'] ) 
      ) {
        unset ( $result[ 'errors' ]->errors[ 'user_name' ] );
        return $result;
      }
      else {
        return $result;
      }
    }
    add_filter( 'wpmu_validate_user_signup', 'blockode_custom_username_validate' );

    vecturn
    Participant

    @vecturn

    That doesn’t help me at all, it only forces specific characters inside the username it doesn’t actually allow the option of them.

Viewing 7 replies - 1 through 7 (of 7 total)
Skip to toolbar