custom registration

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
2/24/2011 1:49:15 PM
Gravatar
Total Posts 32

custom registration

For one of our sites we need custom profile and logic to create data in our own table.

This has been implemented according the documentation and works fine.

However we need to types of registration Business and Private person that need specific custom profile fields and a specific userregistration handler

can this be done since the choice will be made during registration?

peter

2/25/2011 7:13:23 AM
Gravatar
Total Posts 18439

Re: custom registration

You get access to the SiteUser object in the user registered event handler so it seems you should be able to retrieve the custom property and then handle it differently according to your own logic all within the same user registered even handler.

There is no conditional logic for these event handlers, each and every handler defined will fire but it is not a great idea to have a lot of them. For your scenario 1 should be enough.

There is a code snippet at the bottom of this page that sows how to get the custom property value.

http://www.mojoportal.com/userprofileconfiguration.aspx

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.