Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By cuteseal on
Hi there,
I've been playing with Drupal for about a week now, and I'm loving it, but still getting a hang of the ropes. I'm wondering if there is a way to change the user registration process so that a mailout is not required, and either (1) the user chooses their own password or (2) drupal generates it and displays it on screen (as per the initial account creation)?
Thanks,
Jules
Comments
You'd need to hack the
You'd need to hack the Drupal core for this to work.
--
If you have troubles with a particular contrib project, please consider to file a support request. Thanks.
--
Drupal services
My Drupal services
Submit a feature request
As killes says, not currently part of the code, but it could be added. Submit a feature request.
Thanks!
Thanks everyone. I'll raise a feature request. Then hack the code. :D
Hacked!
Ok, here is the hacked code:
Under modules/user.module (~line 982):
Comment out the last line (return t) as above, and add after:
Enjoy!
Suggestion
This is great. I hope you submit it officially so it can be integrated into a future version -- with perhaps some admin code modifications so that the registration method could be toggled between email/onscreen.
Nice work!
--
mediagirl.org
very nice, works like a
very nice, works like a charm!