casino-play icon indicating copy to clipboard operation
casino-play copied to clipboard

AfterUserCreationHook

Open mcmug8 opened this issue 12 years ago • 2 comments

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

mcmug8 avatar Dec 04 '12 07:12 mcmug8

On Tue, Dec 4, 2012 at 8:52 AM, mcmug8 [email protected] 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

raphaelbauer avatar Dec 04 '12 09:12 raphaelbauer

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: [email protected] To: [email protected] CC: [email protected] Subject: Re: [casino-play] AfterUserCreationHook (#8)

On Tue, Dec 4, 2012 at 8:52 AM, mcmug8 [email protected] 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.

mcmug8 avatar Dec 04 '12 17:12 mcmug8