Creating a Custom Registration Page With DotNetNuke 5.2.3 and Later 

Users that are familiar with DotNetNuke administration are most likely familiar with the old way of creating a custom registration page within a DotNetNuke portal.  It was as simple as adding a new page, putting the modules you desired on the page including the "User Account" module to get the actual registration functionality.  From there a simple change in "Site Settings" for the "User Page" and you are set to go!  Well, for those of you working with DNN 5.2.3 and later (Possibly previous 5.x versions as well, I'm not 100% sure when the change was) will find out that the module definition I mention is no longer listed?  What do you do now?

Thankfully it is still an easy process, but with the new setup you have to take a few more steps.  You still start out by adding your new custom page, but this time you add the "Users and Roles" module to the page.  As soon as you add this a total of 3 modules will be added to the page.  A Security Roles module, a Users module, and lastly a User Account module.  What you will need to do now is to just delete the Security Roles and Users modules from the page, and you now have your custom registration page.

So, in the end you do the same thing, but with the new process you have 2 additional modules that are automagically added to the page that you must delete.  DO NOT forget to remove these modules though, as you don't want just anyone having access to them.  I hope this helps those of you looking to create a custom registration page in 5.2.x and later.

Posted by Mitchel on Monday, April 26, 2010
 

Comments

Well, i was looking for same solution. However, i when i tried it with a Turkish portal, i guess something else was wrong as well, because i couldn't see User Account module on module list at control panel.

By id on Tuesday, April 27, 2010 at 7:12 AM

hello ,

one module has 5 module definition.
but in the control panel , there is only one module in the dropdown list.
how can we display 5 module definition without add 5 separated modules?

Thank you

By Daniel on Tuesday, April 27, 2010 at 8:02 PM

Thanks for this timely post. Keep up the good work.

By Ken on Thursday, April 29, 2010 at 8:10 AM

I tried this but dont seem to get it to work.

Any further help regarding creating a custom registration page would be appreciated

By Stephen on Wednesday, May 19, 2010 at 7:26 PM

For sharing thank you very much wish success

By çiçek on Thursday, June 10, 2010 at 5:16 AM

Hello Mitchel,

thanks for the post. Can I ask how to catch the registration event and fire some additional sql off. Basically, I want to update another table in the db with the firstname and password and username of the user just registered,

thanks for all your work and posts

Mark

By Mark Breen on Saturday, June 12, 2010 at 2:33 PM

Mark to do that you will need to use something like Dynamic Registration as there is no build in way to hook to that process.

By mitchel.sellers@gmail.com on Sunday, June 13, 2010 at 10:16 AM

Dear Mark

you can do it by a sql trigger .you must write a trigger based on users table and when a user added it automatically do every things that you want.

good luck
Mohammad Jahanshahi

By Mohammad on Sunday, August 15, 2010 at 12:39 AM

If you don't see "Users and Roles" in your modules drop-down list, it's because the module definition hasn't been assigned to your portal. Login as host, go to Host > Module Definitions, click edit on the "Users and Roles". Move your portal from the "Unassigned" list to the "Assigned" list. Click update, and you should now be able to see "Users and Roles" in the modules drop down on each page.

By Tom on Saturday, September 11, 2010 at 7:53 PM

Hi
Thanks for the all details.
What if I want to configure the membership/registration for dnn to require for payment before Authorizing the user.
Is there something build it or I must build a custom module.

Tudor

By Tudor on Monday, September 27, 2010 at 7:12 AM

You can use Subscription Tools by Ventrian (ventrian.com), i am using it at my own website and it works perfectly.

By dotnetnuke tutorials on Monday, September 27, 2010 at 7:46 AM

Thank you.
Couple of more questions if you have the time:
1. Is it compatible with DNN latest version 5.5.01
2. Is possible to add a new payment provider, for the moment I see they are only supporting PayPal
3. Does it support subscription renewal from admin area

Thanks again, Tudor

By Tudor on Monday, September 27, 2010 at 8:14 AM

Thank you Mitchel for your support of the DNN community. Your tutorials and posts on a number of forums have been very helpful.

I'm going crazy trying to customize my registration page (5.5.1). I've made all fields required under Manage Profile Properties, and under User Settings I've checked the requirement for a valid profile for registration. But on my custom registration page the required fields are not showing - only the module default fields. Any thoughts are appreciated!

By Dan on Wednesday, November 03, 2010 at 9:48 AM

I have the same issue

By Shane Grant on Monday, November 08, 2010 at 4:36 PM

Does anyone thing something is screwed up with 5.5? Firstly, why would you give users options like "validate" ?

Also, worse than that, I have an error when I log out and try to view the page: " This account doesn't exist" Anyone else see that?

By Bo on Sunday, January 09, 2011 at 6:56 PM

Thanks Mitchel for this article and Tom for showing me where to find the module. Your generosity makes a difference to many people. Thank you.

By Mark Buelsing on Tuesday, March 15, 2011 at 1:59 PM

Thanks for your help. It was exactly what I was looking for.
By the way, where can I personalize the skin module or CSS for that module?

By JC BARREAU on Thursday, March 17, 2011 at 1:05 AM

After having added the custom registration page, how do you remove the existing registration page that exists behind top right link left to login link?

By Panayotis Matsinopoulos on Tuesday, April 26, 2011 at 5:13 AM

As noted in the article, you can chang ethe "Registration Page" or the "User Profile Page" to be your page.

By mitchel.sellers@gmail.com on Tuesday, April 26, 2011 at 9:42 AM

This was a helpfull post for starting with my own registration page, thank you.
But I have one problem that I can't solve until today. I want to hide the fields for first name, last name and so on. The new user should just need to enter a nickname, passwort and email address at all. I have set all other fields not requiered and not visible in Manage Profile Properties, but they are visible and required at the registration page and I can't find any way to hide them. Could you give me a hint?

Thanks and regards,
Lorenz

By Lorenz on Tuesday, May 31, 2011 at 12:00 PM

Name (required)

Email (required)

Website

CAPTCHA image
Enter the code shown above:

Content provided in this blog is provided "AS-IS" and the information should be used at your own discretion.  The thoughts and opinions expressed are the personal thoughts of Mitchel Sellers and do not reflect the opinions of his employer.

Friend of RedGate

www.datasprings.com - DotNetNuke Modules ICG Hosting

Click here for advertising information.

Content in this blog is copyright protected.  Re-publishing on other websites is allowed as long as proper credit and backlink to the article is provided.  Any other re-publishing or distribution of this content is prohibited without written permission from Mitchel Sellers.