By Anonymous (not verified) on
Hi,
Is there a hack available which would allow Users to choose their own password, rather then being e-mailed? Through a search I found that this question has been raised before(http://drupal.org/node/view/1959). That post specifies the code which handles the registration process, but does not imply there is a hack.
If there is a hack available, I'd appreciate someone to point me to it. Thanks!
Scott
Comments
In user.module: Find (arou
In user.module:
Find (around line 825, but I'd already done a bit of hacking so it might not be exactly there)
Then move down a few lines and find
and put under it,
Find (a bit further down)
and replace it with
Find (a bit further down again)
// display the registration formand a bit below that,
Now, above that, add
I don't know if that's the best way of doing this (as I have NO knowledge of writing php code - I've just kinda made it up by looking at the rest of user.module and adapting things), but it works (I've tested it fairly thoroughly).
I'm using drupal 4.6, also
I'm using drupal 4.6, also having problem with send mail. I have done follow your instruction, but it seem doesn't match with yours.
When i try to register user, the page register appear the code:
It stay above box email address and below username.
How can i fix it, please help me. Thank you very much,
And if this function as module of drupal, i think that is good function for whom doesn't have local email or complex SMTP configuration.