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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Redirect After Registration not workingRedirect After Registration not working
Previous
 
Next
New Post
10/28/2008 4:29 PM
 

I have set the Redirect After Registration setting under User Settings, but it isn't working.  Instead of being redirected correctly, when a user registers they get a message An e-mail with your details has been sent to the portal administrator for verification. Once your registration has been approved an e-mail will be sent to your e-mail address.

This is un-desirable.  Any thoughts on how to correct this?  I am on version 4.09

 
New Post
10/28/2008 5:28 PM
 

You need to change the user registration security settings.  From the admin menu, choose site settings and then advanced settings.  In there change the user registration to public.   It sounds like you have it set to private. 

 
New Post
10/28/2008 6:09 PM
 

This is true, I am set to Private registration, but I would still like to be able to Redirect after Registration to a page that all unauthenticated users also have access to.

 
New Post
10/28/2008 6:28 PM
 

By way of follow-up, I have been working on a solution since I originally posted my message, and here is what I came up with (for version 4.09):

In admin/Users/User.ascx.vb:
Change
Public Sub CreateUser()
to
Public Funtion CreateUser() As Boolean

At the end of the CreateUser function, add the following line:
Return createStatus = UserCreateStatus.Success

In admin/Users/ManageUsers.ascx.vb, cmdRegister_Click Sub:
Change
ctlUser.CreateUser()
to
If ctlUser.CreateUser() Then
  Dim setting As Object = UserModuleBase.GetSetting(PortalId, "Redirect_AfterRegistration")
  If Not CType(setting, Integer) = Null.NullInteger Then
    Response.Redirect(NavigateURL(CType(setting, Integer)))
  End If
End If

 
New Post
10/28/2008 6:36 PM
 

If it's set to Private then you are registering on behalf of your users.
So "redirect after registration" does not apply at all unless it's set to public, so really not sure what you mean here.



Alex Shirley


 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Redirect After Registration not workingRedirect After Registration not working


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