WordPress.org

Support

Support » Plugins and Hacks » Restrict Usernames » [Resolved] [Plugin: Restrict Usernames] Works with BuddyPress BUT

[Resolved] [Plugin: Restrict Usernames] Works with BuddyPress BUT

Viewing 7 replies - 1 through 7 (of 7 total)
  • add this to bp-custom.php to enable usernames with capital letters

    define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );

    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 🙂

    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 😉

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

    Plugin Author Scott Reilly

    @coffee2code

    WordPress & Plugin Developer

    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.

    Great stuff Scott, thanks so much.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Restrict Usernames] Works with BuddyPress BUT’ is closed to new replies.
Skip to toolbar