WordPress.org

Ready to get started?Download WordPress

Forums

Restrict Usernames
[resolved] Works with BuddyPress BUT (8 posts)

  1. Funny caveat :)

    When a username is kicked back it says 'Only lowercase letters and numbers allowed.'

    Which ... not so much the problem, but it stops the account from registering, so yay! I think the error is a BuddyPress thing. Have to go see if I can edit that.

    http://wordpress.org/extend/plugins/restrict-usernames/

  2. @modemlooper
    Member
    Posted 3 years ago #

    add this to bp-custom.php to enable usernames with capital letters

    define( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE', true );

  3. I don't want usernames with caps. I want the ERROR from Restrict Usernames to be parsed correctly on BuddyPress so instead of seeing 'Only lowercase letters and numbers allowed.' you see 'Your username is not permitted.' or something similar WHEN and ONLY when the username is listed on Restrict Usernames :)

  4. Thanks to Boone, I know I need to hook it into bp_core_validate_user_signup somehow.

    I've done this before, just gotta sort out HOW here ;)

  5. aljuk
    Member
    Posted 3 years ago #

    Have you gotten anywhere with a solution? I'm struggling with it. Also, I can't get partial matching to work, can you?

  6. Scott Reilly
    WordPress & Plugin Dev
    Plugin Author

    Posted 2 years ago #

    I've just released v3.1 of Restrict Usernames. It fixes compatibility with the latest WordPress (currently 3.2.1) and also specifically adds compatibility with BuddyPress (v1.2+ and v1.3). Definitely a recommended update for everyone.

    This means everything should work as expected. You won't see 'Only lowercase letters and numbers allowed.' if the error is really due to Restrict Usernames. Partial matching should work as well.

  7. aljuk
    Member
    Posted 2 years ago #

    Great stuff Scott, thanks so much.

  8. vechnost
    Member
    Posted 2 years ago #

    I don't no, but it stop working and maybe after upgrade...
    absolutely no works... where i can download previous version?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic