raphaelbauer / casino-play

User management for Play! framework (authentication, registration, password management)
Other
48 stars 20 forks source link

AfterUserCreationHook #8

Open mcmug8 opened 11 years ago

mcmug8 commented 11 years ago

Hi there,

I am trying to add a full name input field and user avatar as part of registration process. I was thinking about using AfterUserCreationHook to render a new page contains those fields. But then I got stuck and don't know how I can do that. I don't know if using AfterUserCreationHook for this is a good approach or not. Could you please tell me the best way to achieve that?

Thank you very much, Tim

raphaelbauer commented 11 years ago

On Tue, Dec 4, 2012 at 8:52 AM, mcmug8 notifications@github.com wrote:

Hi there,

I am trying to add a full name input field and user avatar as part of registration process. I was thinking about using AfterUserCreationHook to render a new page contains those fields. But then I got stuck and don't know how I can do that. I don't know if using AfterUserCreationHook for this is a good approach or not. Could you please tell me the best way to achieve that?

AfterUserCreationHook ist more or less a backend thing. To add a separate Payment table entry for instance.

What you want to achieve is still supersimple: Just make it a two step process:

  1. Use Casino to sign up a user.
  2. The last step of the sign up process is that the user gets an email to confirm. You can edit that page and add the possibility to add an avatar or anything else. That way you don't interfere with the casino signup - but still have full control what to add after the user has successfully signed up :)

Hope that helps,

Cheers,

ra

Thank you very much, Tim

— Reply to this email directly or view it on GitHubhttps://github.com/reyez/casino-play/issues/8.

inc: http://ars-machina.raphaelbauer.com tech: http://ars-codia.raphaelbauer.com web: http://raphaelbauer.com

mcmug8 commented 11 years ago

Great idea, I didn't think of that. Again, thank you for your help! -Tim

Date: Tue, 4 Dec 2012 01:13:44 -0800 From: notifications@github.com To: casino-play@noreply.github.com CC: timn8@hotmail.com Subject: Re: [casino-play] AfterUserCreationHook (#8)

On Tue, Dec 4, 2012 at 8:52 AM, mcmug8 notifications@github.com wrote:

Hi there,

I am trying to add a full name input field and user avatar as part of

registration process. I was thinking about using AfterUserCreationHook to

render a new page contains those fields. But then I got stuck and don't

know how I can do that. I don't know if using AfterUserCreationHook for

this is a good approach or not. Could you please tell me the best way to

achieve that?

AfterUserCreationHook ist more or less a backend thing. To add a separate

Payment table entry for instance.

What you want to achieve is still supersimple: Just make it a two step

process:

  1. Use Casino to sign up a user.
  2. The last step of the sign up process is that the user gets an email to

confirm. You can edit that page and add the possibility to add an avatar or

anything else. That way you don't interfere with the casino signup - but

still have full control what to add after the user has successfully signed

up :)

Hope that helps,

Cheers,

ra

Thank you very much,

Tim

Reply to this email directly or view it on GitHubhttps://github.com/reyez/casino-play/issues/8.

inc: http://ars-machina.raphaelbauer.com

tech: http://ars-codia.raphaelbauer.com

web: http://raphaelbauer.com

          —

          Reply to this email directly or view it on GitHub.