Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  4.7 Register link bad?
Previous Previous
 
Next Next
New Post 11/12/2007 8:03 AM
Resolved
User is offline Dan Duda
71 posts
10th Ranked


4.7 Register link bad? 

On both an upgraded and clean install of 4.7 if you click on the "Register" link that is on the Account Login control you get a page not found error. I looked at the url it tries to go to and compared it with the url of clicking the "register" skin object link (which works) and found this:

From the skin object:

/Home/tabid/36/ctl/Register/Default.aspx?returnurl=%2fdotnetnukedev%2fHome%2ftabid%2f36%2fDefault.aspx

From the account login control

/Home/tabid/36/ctl/Register/returnurl/%20/Default.aspx

 

 

 

 
New Post 11/12/2007 8:15 AM
User is offline Dan Duda
71 posts
10th Ranked


Re: 4.7 Register link bad? 

Ok, by comparing the User skin object and the account login module I've come up with a fix. Not sure how to post bugs to Gemin ior whatever it is, but if anyone wants to fix theirs open up Admin\Authentication\Login.ascx.vb and alter the cmdRegister event. I left the original code in there commented out for comparison.

 

        Private Sub cmdRegister_Click(ByVal sender As Object, ByVal e As EventArgs) Handles cmdRegister.Click

            'If PortalSettings.UserRegistration <> PortalRegistrationType.NoRegistration Then
            '    If PortalSettings.UserTabId <> -1 Then
            '        ' user defined tab
            '        Response.Redirect(NavigateURL(PortalSettings.UserTabId, "", "returnurl=" & HttpUtility.UrlEncode(HttpContext.Current.Request.QueryString("returnurl"))), True)
            '    Else
            '        ' portal tab
            '        If PortalSettings.HomeTabId <> -1 Then
            '            Response.Redirect(NavigateURL(PortalSettings.HomeTabId, "Register", "returnurl=" & HttpUtility.UrlEncode(HttpContext.Current.Request.QueryString("returnurl"))), True)
            '        Else
            '            Response.Redirect(NavigateURL("Register", "returnurl=" & HttpUtility.UrlEncode(HttpContext.Current.Request.QueryString("returnurl"))), True)
            '        End If
            '    End If
            'End If
           
        If PortalSettings.UserRegistration <> PortalRegistrationType.NoRegistration Then
             Dim ReturnUrl As String = HttpContext.Current.Request.RawUrl
        If ReturnUrl.IndexOf("?returnurl=") <> -1 Then
            ReturnUrl = ReturnUrl.Substring(0, ReturnUrl.IndexOf("?returnurl="))
        End If
        ReturnUrl = HttpUtility.UrlEncode(ReturnUrl)

        If PortalSettings.UserTabId <> -1 Then
            ' user defined tab
            Response.Redirect(NavigateURL(PortalSettings.UserTabId, "", "returnurl=" & ReturnUrl), True)
        Else
            ' portal tab
            If PortalSettings.HomeTabId <> -1 Then
                Response.Redirect(NavigateURL(PortalSettings.HomeTabId, "Register", "returnurl=" & ReturnUrl), True)
            Else
                Response.Redirect(NavigateURL("Register", "returnurl=" & ReturnUrl), True)
            End If
        End If
         End If

        End Sub

 
New Post 12/4/2007 10:42 AM
Accepted Answer 
User is offline raintowers
22 posts
10th Ranked


Re: 4.7 Register link bad? 

Worked Like a Charm Dan!

Thank You!

 
New Post 12/8/2007 8:19 PM
User is offline Gene Waldvogle
23 posts
5pcs.com/Portfolio/
10th Ranked


Re: 4.7 Register link bad? 

Thanks for posting this.  I was very surprised that the registration feature had been broken and had sweat dripping from my glasses until I found it. 

Best wishes on you for the good work!


Gene W
 
New Post 12/9/2007 3:13 AM
User is offline Sebastian Leupold
15042 posts
www.deutschnetnuke.de
1st Ranked












Re: 4.7 Register link bad? 

please log this into the public issue tracker at support.dotnetnuke.com


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  4.7 Register link bad?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/
Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP