Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...User registration codeUser registration code
Previous
 
Next
New Post
2/13/2010 10:19 PM
 

 Can someone please tell me where to find the code for the user registration page. This is the page off of the login control when you click register


Thank you,
James Campbell
MCP,MCSA,MCSE,Sec +
http://jamesecampbell.blogspot.com
 
New Post
2/15/2010 10:20 AM
 

Hope this helps someone else, as i can tell you , not much info out there about this, sad only things i find are pre defined modules: using DotNetNuke; using DotNetNuke.Common; using DotNetNuke.Common.Utilities; using DotNetNuke.Entities.Users; using DotNetNuke.Entities.Modules; using DotNetNuke.Entities.Modules.Actions; using DotNetNuke.Security; using DotNetNuke.Services.Exceptions; using DotNetNuke.Services.Localization; using DotNetNuke.Security.Membership; namespace DotNetNuke.Modules.Promotions { /// ----------------------------------------------------------------------------- ///

/// The ViewPromotions class displays the content /// /// /// /// /// /// ----------------------------------------------------------------------------- partial class View : PortalModuleBase, IActionable { public void btnRegister_Click(object sender, EventArgs e) { try { UserCreateStatus userstatus = UserCreateStatus.AddUser; UserInfo NewUser = new UserInfo(); NewUser.FirstName = txtFirstname.Text; NewUser.LastName = txtLastName.Text; NewUser.Username = txtUserName.Text; NewUser.DisplayName = txtUserName.Text; NewUser.Profile.City = txtCity.Text; NewUser.Profile.Country = "United States"; NewUser.Email = txtEmail.Text; NewUser.Username = txtUserName.Text; NewUser.Membership.Password = txtPassword.Text; if (PortalSettings.UserRegistration != Convert.ToInt32(DotNetNuke.Common.Globals.PortalRegistrationType.PublicRegistration)) { NewUser.Membership.Approved = true; } { NewUser.Membership.Approved = false; } UserCreateStatus userstatsus = UserController.CreateUser(ref NewUser); } catch (Exception ex) { Console.Write(ex); } }


Thank you,
James Campbell
MCP,MCSA,MCSE,Sec +
http://jamesecampbell.blogspot.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...User registration codeUser registration code


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out