So this might be a really stupid question, but... How do you edit the user registration and lost password forms? Those are ones I'm most interested in changing (some really random information included with the fields that's just noise.) The problem is that when you're logged in as admin, you can't see those forms. But if you log out, you lose the capability to edit. I tried adding permissions to edit even for anonymous users (temporarily of course!) but that didn't work either.

Anyhow, your help would be sincerely appreciated--I was so excited to stumble on this module after wrestling with unruly forms all night. (literally). Thanks!

Comments

metzlerd’s picture

Because session variables aren't viable in the anonymous user case, we've been having trouble with this.

See http://drupal.org/node/239691 for further explanation.

I haven't come up with any brilliant work arounds yet. Open to ideas.

Dave

amandawolfe’s picture

Status: Active » Closed (fixed)

Thanks for answering! I didn't think there was a solution, but I thought I'd ask because most of the time with Drupal when I think it can't be done I'm really just being obtuse and/or don't know enough. :) I doubt I'll be much help, but I'll certainly think about it because I'd love to be able to take advantage of this awesome feature.

Thanks again, Amanda

skizzo’s picture

If I understand it correctly, here you
find a workaround for D4 and D6
If you can provide a patch for D5
also, please post it there.

http://drupal.org/node/118498

mrtoner’s picture

Status: Closed (fixed) » Active

This is easily accomplished with the registration form, as long as you are willing to hack core for the short period of time necessary to edit the form.

In user.module (D6), look for:

function user_register_access() {
  return user_is_anonymous() && variable_get('user_register', 1);
}

Change to:

function user_register_access() {
  return variable_get('user_register', 1);
}

Enable the Form Defaults editor and navigate to user/register. Make your changes and then change user.module back to its original condition.

I've not figured out yet what to change for user/login or user/password.

shadowdknight’s picture

Version: 6.x-1.0 » 7.x-1.x-dev

I know this is old thread, any idea how to change the Default user/password ?

Thanks

metzlerd’s picture

Not sure what you're asking here. Do you mean change it to a specific default for ALL users that register? Or are you looking for something that would change this to a programatically generated value.