Skip to:
Content
Pages
Categories
Search
Top
Bottom

user registration: generate random password


  • eli_damon
    Participant

    @eli_damon

    Hello all. The plain old WordPress registration form does not ask for a password. Instead, WordPress emails the person a randomly generated password. However, the Buddypress registration form requires the person enter a password. How can I make Buddypress generate a random password like plain old WordPress does? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

  • r-a-y
    Keymaster

    @r-a-y

    Just an idea, but you could probably create a plugin to inject some javascript and add a button called “Generate Password” on the registration page. When clicked, the JS will generate a password and populate the BuddyPress password fields.

    For the JS, you could use something like Chance.js.


    eli_damon
    Participant

    @eli_damon

    Sorry, but I’m pretty inexperienced with this stuff and your suggestion is beyond my current ability. I do see there are some plug-ins that provide randome password generator widgets, but I don’t know how to integrate such a widget into the registration page. If I try to edit the registration page, there is nothing there to insert the widget’s shortcode into. Also, that would require the user to record their password manually. It would be much easier if the password was recorded automatically in an email.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘user registration: generate random password’ is closed to new replies.
Skip to toolbar