Option to display the Bio node creation form when registering for a new account.

Comments

allie micka’s picture

This is the #1 most common request, and something that will almost certainly have to happen soon!

The one question we've been kicking around is how many of the node's fields should appear on the registration form? Having the entire node form show up could be daunting!

Profile does a nice job of asking which fields should appear on the registration form, so you're not confronted by the whole mess. Obviously, there's no systematic way to do this using Bio. One of our thoughts is to optionally hide all by the "required" fields.

Perhaps I'm overthinking...

robloach’s picture

The thing that Profile does that CCK and Bio doesn't do is provide a checkbox that says "Display on registration page" for each field. I don't know how this would translate when put into the Bio module though.

marqpdx’s picture

If i'm not mistaken, the hook_user 'register' action should do the trick. i'll play with it and if i get it rigged up i'll submit a patch.

second step would be the check button on whether to show up on reg. or not.

see here:
http://api.drupal.org/api/function/hook_user/5

best,
m

guardian’s picture

subscribing

dldege’s picture

What I'm doing is forcing the user over to the user/N/bio page after registration using hook_user which makes the registration feel like a 2 step wizard. I use hook_init to force the user to complete the bio before letting them go anywhere else.

ie. user/register -> submit -> hook_init() if (bio_for_user(N) == false) drupal_goto('user/N/bio')

robloach’s picture

Status: Active » Closed (duplicate)
dldege’s picture

What is the duplicate issue number - didn't see it.

I've made some progress here using hook_user, node_save, and various cck api calls. Its definitely not a complete solution but I want to share my results and track the issue.

Thanks.