There’s one in /wp-admin/profile.php in the WordPress dashboard. Presumably you could look at how that’s working, and just reuse the code in your register.php in your child theme.
Hmm…. I’m not sure how I’d approach that feature.
Here is an unlisted plugin (that doesn’t work) but could give some braniac here on BP an idea of how to make a minimum password plugin for BuddyPress…seems like a great idea to me…
http://www.itsananderson.com/plugins/minimum-password-length
Anybody have any thoughts on modding the above minimum password-length plugin to make it work for BP?
Since no codewarrior has stepped up, I’ve implemented a temporary fix. I modified the registration page to say “Is mine strong?” with a link to https://www.microsoft.com/protect/fraud/passwords/checker.aspx?WT.mc_id=Site_Link that opens in a new window. It would be nice to have a password strength meter to encourage strong password creation in future Buddypress versions.
Hey, I’m the author of the minimum password length plugin and I just noticed this thread. I looked at the code from the password strength meter from the OP link and it appears that it’s only checking the password length. Is that what you’re looking for, or did you want to make people use non-alpha characters etc?
The best solution for this would likely be to utilize the existing password strength meter built into WordPress. If I remember correctly, there’s even a JavaScript library that could be queued from core that would do most of the heavy lifting. I’ll take a look tomorrow and see how hard it would be to add that to the BuddyPress profile page (and maybe have an option to force people to use strong passwords too). I’ve had limited experience with BuddyPress though, so we’ll see how far I get