Helping you Build Your Own Social Network!

Faster, better and easier!

Dealing with usernames with spaces in buddypress??

(2 posts) (2 voices)
  • Started 11 months ago by Reboot
  • Latest reply from Brajesh Singh

Tags:

No tags yet.


  1. I have a bunch of user/member names that have spaces in them and buddypress does not play well with them.

    For instance, trying to PM a member that has a space in their username gives an error.

    I have added the line:

    define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );

    to my wp-config file, it's help with some other issues but not this.

    Anyone have any idea how I can fix this issue?

    As a workaround I was going to install Brajeshs' plugin "Change usernames" and then send a mass email telling members with spaces in their usernames to change them but I was hoping for a more professional fix without having to alert everyone. I have 8000+ members so it's a little crazy to deal with this.

    Posted 11 months ago #
  2. Hi Reboot,
    yes,the spaces in the User name could be problematic.

    The no. of users you have is another issue in changing username, even if we wrote a script to do it automatically, we will need to inform them of their new users. So, I really don't see a workaround in changing username.

    Maybe, we can just look for the error and find a workaround for that. What error do you get when sending PMs. Can you please specify?

    Posted 11 months ago #

Reply

You must log in to post.