Closed (duplicate)
Project:
Bio
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2007 at 21:10 UTC
Updated:
11 Sep 2007 at 21:30 UTC
Option to display the Bio node creation form when registering for a new account.
Comments
Comment #1
allie mickaThis 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...
Comment #2
robloachThe 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.
Comment #3
marqpdx commentedIf 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
Comment #4
guardian commentedsubscribing
Comment #5
dldege commentedWhat 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')
Comment #6
robloachDuplicated
Comment #7
dldege commentedWhat 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.