WordPress.org

Ready to get started?Download WordPress

Forums

Letting users choose their own password? (23 posts)

  1. deat
    Member
    Posted 8 years ago #

    Is there a way where I can allow users to choose their password when they initially register? because there's always been a hassle with users recieving their password via e-mail; it never reaches them. So I'd like to let users choose their own password right away, to work around this problem.

    Thanks!

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    That is a fantastically bad idea.
    They'll choose poor passwords and someone else will get inside the blog.

  3. deat
    Member
    Posted 8 years ago #

    Thanks for the criticism, but please...give me an alternate suggestion.

    Edit: There's no reason for you to say that someone else will get inside the blog. I'm the only person with any authority, and my password is very secure. There's no logic in cracking a users account with how my blog is setup.

  4. lobsterman
    Member
    Posted 8 years ago #

    I don't have a suggestion for the passwords, but you say you users aren't getting the emails, you might want to check you servers email server, it might need a restart.

  5. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Inside WP you can manually create new users.
    You can then email them with their details.
    Once logged in they can choose their own passwords.

    And passwords are the weakest link in your online security - and anyone with access just makes it weaker. Just saying ....

  6. Bhoney
    Member
    Posted 8 years ago #

    I don't get it Podz.People always change your passwords to what they want later on anyway.What's the difference between allowing them to choose their password at signup and then them just changing it after the first login? Either way they are gonna end up with the password they want.

    :)

  7. dbasulto
    Member
    Posted 8 years ago #

    I was taking a look to wp-register.php
    it works something like this:
    when you click on register it generates a password and calls it $password, then creates the account.
    if you add a text field called "password", and set it to be $password on wp-register, then you'd be able to have user defined passwords. now, the trick is to add an extra field, "re-enter password", and check it against the first one before continue. It could even check for number of characters, etc. Even, add an image verification step.I don't know if this would need some kind of "ssl"-encryption in the script...

    i don't know how to code that much, but looking at this code i can understand how it works and how it could be implemented :)

  8. AzraelUK
    Member
    Posted 7 years ago #

    I've done it! You can find the source code for the new wp-register.php on my blog - http://azrael.awardspace.co.uk/blog

    Enjoy!
    ~Peter Bunyan

  9. aksd
    Member
    Posted 7 years ago #

    can someone post that file? 'cause azarel's site it's offline

  10. MichaelH
    Member
    Posted 7 years ago #

    That site works for me.

  11. aksd
    Member
    Posted 7 years ago #

    i've managed to open the page with a proxifier... so this is the script ? http://azrael.awardspace.co.uk/blog/wordpress/yay-registrations-working
    it doesn't change anything
    i've deleted wp-register.php from wordpress and i can still register

  12. whooami
    Member
    Posted 7 years ago #

    the changed file doesnt restrict registration - it lets people choose their own password.

    Read the title of the thread:

    Letting users choose their own password?

    And since I just looked at YOUR login page, and I see where I am able to enter a password, it appears to work exactly as described.

    Additionally, you dont need the proxy, the site is up.

  13. aksd
    Member
    Posted 7 years ago #

    i've solved the problem a few minutes after i posted that message :)) thanks for helping me
    (i'm happy :D)
    all i needed to do is replace wp-login.php with wp-register.php

  14. aksd
    Member
    Posted 7 years ago #

    it may be up, but not for me :)) i still need a proxy

  15. aksd
    Member
    Posted 7 years ago #

    maybe because i'm from romania

  16. Arash
    Member
    Posted 7 years ago #

    Does anyone have a new link to the file?

  17. Will Taft
    Member
    Posted 7 years ago #

    I have the common issue with new users not receiving their password emails. Thought I might try the script/file solution offered above, but it is no longer at the link. Can anyone post it again? Thanks!

  18. whooami
    Member
    Posted 7 years ago #

    check this:

    http://www.village-idiot.org/code/register.php

    dont download the source, copy and paste that into a new file, rename it wp-login.php and replace your current wp-login.php

    It works, Ive tested it.

  19. whooami
    Member
    Posted 7 years ago #

    Ive went ahead and just posted about the file, and provided a download link.

    Its here:
    http://www.village-idiot.org/archives/2007/05/29/wordpress-picking-your-password/

  20. Will Taft
    Member
    Posted 7 years ago #

    Thanks, but Firefox timed out at the second link and a I got a 404 at the first link.

    On edit: I got your site to load, but it took about 5 minutes. I then got the download to work, so thanks!

    Reading your description makes me wonder if I misunderstood one of the posts above. I thought that in addition to letting users choose their password, this file fixed the users not receiving the password email issue. NOw... upon re reading I see that the way this gets around the missing email issue is that because the user chooses their own password, they don't need to get the email. So it is a work around, not a fix, but at least solves the problem of admins having to manually email users a pw. Thanks again!

  21. totalGraybear
    Member
    Posted 7 years ago #

    Thanks for the link, but it doesn't work. The link in your post is:
    http://www.village-idiot.org/archives/2007/05/29/wordpress-picking-your-password/
    On clicking the download link, it leads to a blank page:
    http://www.village-idiot.org/click.php?id=21
    Could you please post the right one? It will be of great help!
    Thanks

  22. whooami
    Member
    Posted 7 years ago #

    totalGraybear,

    the download link works just fine -- its merely a way to count downloads. Clicking it in firefox downloads he zip to whatever location you normally download files to in firefox.

    In ie 6 and 7 you get a save prompt.

    If you cannot download a simple file ...

    Now that you decided to post a direct link to a file on this site, I suppose I need to put back to the direct linking protection.

  23. totalGraybear
    Member
    Posted 7 years ago #

    Letting Users choose their own password: The following site also carries a similar mod instruction and ZIP file for wp-login.php:
    http://weak.org.uk/2007/05/22/wordpress-hack-users-choose-their-own-password/
    Its for WP 2.2

Topic Closed

This topic has been closed to new replies.

About this Topic