• Skip to primary navigation
  • Skip to main content

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Store
    • Cart
    • Checkout
  • Blog
    • Basics [Free]
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Contact
  • Sign In
  • Show Search
Hide Search
Home » Filters » Easier random password filter

Easier random password filter

Chad Butler · Mar 22, 2012 ·

On occasion, site admins are faced with a user base that needs things to be more simple. Here is some sample code to simplify the random password generated and emailed to the user.

This article is only available to WP-Members Support Subscribers. If you have an existing subscription, please login below. If you do not have a current support subscription, you can purchase a support subscription here.

Already a Member? Log In Here
   
Forgot password? Click here to reset

To gain full access to WP-Members premium content, a current support subscription is required. You can purchase an annual support subscription for as little as $59, which provides you with access to priority support, a customer support forum, access to code snippets, and more.

Why wait? Choose your subscription option here.

[
Why join?]

Filters filters, hooks, random_password, wp-filters

Welcome to RocketGeek Interactive › Forums › Easier random password filter

Tagged: filters, hooks, random_password, wp-filters

  • This topic has 4 replies, 2 voices, and was last updated 4 years, 5 months ago by Chad Butler.
Viewing 2 reply threads
  • Author
    Posts
    • May 4, 2012 at 1:16 pm #545
      Chad Butler
      Keymaster

      On occasion, site admins are faced with a user base that needs things to be more simple. Here is some sample code to simplify the random password gene
      [See the full post at: Easier random password filter]

    • September 15, 2016 at 9:41 pm #11313
      Pickwatch
      Participant

      Hey Chad

      I know this is an old post, but I tried it to simplify our password reset process.

      Code snippet one just returned a blank password in the email, so I’ve used code snippet two for now. Can you think if there’s a way of using the first one? I’d prefer to use something slightly more rigorous, but eliminate the special characters and reduce the length (ie: exactly what the first snippet does in theory!)

      Great plugin, appreciate all you do

      Shaun

      • September 15, 2016 at 10:08 pm #11315
        Chad Butler
        Keymaster

        Hi Shaun,

        Thanks for the info. Even though it’s an older post, it’s definitely still relevant (and used – I hope).

        I think at some point I probably made a change to the code to make the variables more intuitive as to what they actually are and I missed one change – $chr was changed to $characters but one instance of the variable was missed, so that was the problem.

        I’ve updated the code snippet accordingly so that should work now.

        You might want to also check out my new(er) plugin WordPass. There’s a simple and free version on wordpress.org at http://wordpress.org/plugins/wordpass/ and current rocketgeek.com subscribers can download the Pro version as part of their subscription.

        See https://rocketgeek.com/plugins/wordpass/ for a description of features.

        Personally, I think the best implementation is to use the Pro version, disable the special characters (and possibly the numbers) and set the word count to 4 (leave the case setting at random). That setup will generate 4 word passwords that will meet the strong password requirements without being impossible to retype (or remember).

        There’s a great article on this subject here:
        https://blogs.dropbox.com/tech/2012/04/zxcvbn-realistic-password-strength-estimation/

        The plugin can certainly create jibberish passwords from words, but it can also create multi-word passwords that are much better and can be human friendly while remaining difficult to crack.

    • September 15, 2016 at 10:16 pm #11316
      Pickwatch
      Participant

      Thanks for the quick reply Chad. I’ll use wordpass pro, great idea!

      • September 16, 2016 at 12:08 am #11317
        Chad Butler
        Keymaster

        No problem – let me know how it works out.

  • Author
    Posts
Viewing 2 reply threads
  • You must be logged in to reply to this topic.
Log In

Ready to get started?

Join Today!

© 2021 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Refund Policy