Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Search

History

02.11.2007 16:44:08
-213.128.110.210
02.11.2007 16:05:08
-213.128.110.210
16.10.2007 17:39:32
-213.128.110.210
29.01.2007 19:29:57
-192.168.11.57
21.01.2007 12:51:11
-194.231.187.237
List all versions List all versions
Dnn Registration
.

DeltaMind Registration

The dnnRegistration module is an extended version of the existing DotNetNuke registration module. It supports enhanced user profiles, fields for entering a salutation and a company name are integrated by default. All input fields are checked using several validation mechanisms to prevent misstyped inputs - e.g. using regular expression for telefone numbers or postal codes.

In deep e-mail validation can be enabled with the integration of the checkMX Validation Server.

The complete module strictly seperates data and layout by the use of CSS to make it most felxible for applying corporate designs.

Compatibility

Three different versions are available to support DotNetNuke 3.*, 4.0.* and 4.*

Installation

General module installation instructions for the DeltaMind Business Pack modules are described in the PAModuleInstallation or SourceCodeInstallation section.This module also requires the following web.config settings to work properly:

DotNetNuke Version 3.*, 4.0.*

...
    </roleManager>

    <!-- *** BEGIN: dnnRegistration *** -->
    <profile enabled="true">
      <providers>
        <add name="AspNetSqlProvider" type="DotNetNuke.Users.Profile.DNNSQLProfileProvider, DNNSQLProfileProvider" connectionStringName="SiteSqlServer" applicationName="/" description="Stores and retrieves profile data from the local Microsoft SQL Server database" />
      </providers>
      <properties>
        <add name="Title" type="string" allowAnonymous="true" />
        <add name="TitleEN" type="string" allowAnonymous="true" />
        <add name="FirstName" type="string" allowAnonymous="true" />
        <add name="LastName" type="string" allowAnonymous="true" />
        <add name="Company" type="string" allowAnonymous="true" />
        <add name="Unit" type="string" allowAnonymous="true" />
        <add name="Street" type="string" allowAnonymous="true" />
        <add name="StreetNo" type="string" allowAnonymous="true" />
        <add name="City" type="string" allowAnonymous="true" />
        <add name="Region" type="string" allowAnonymous="true" />
        <add name="PostalCode" type="string" allowAnonymous="true" />
        <add name="Country" type="string" allowAnonymous="true" />
        <add name="Telephone" type="string" allowAnonymous="true" />
        <add name="Fax" type="string" allowAnonymous="true" />
        <add name="EMail" type="string" allowAnonymous="true" />
        <add name="Cell" type="string" allowAnonymous="true" />
        <add name="Website" type="string" allowAnonymous="true" />
        <add name="IM" type="string" allowAnonymous="true" />
        <add name="ICQ" type="string" allowAnonymous="true" />
        <add name="TimeZone" type="integer" allowAnonymous="true" />
        <add name="DebtorNo" type="integer" allowAnonymous="true" />
        <add name="PreferredLocale" type="string" allowAnonymous="true" />
      </properties>
    </profile>
    <!-- *** END: dnnRegistration *** -->

    <anonymousIdentification enabled="true" cookieName=".ASPXANONYMOUS" cookieTimeout="100000" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="None" domain="" />
  </memberrolesprototype>
...

DotNetNuke Version 4.*

...
      </providers>
    </membership>
        
    <!-- *** BEGIN: dnnRegistration *** -->
    <profile defaultProvider="SqlProvider">
              <providers>
                <clear />
                <add name="SqlProvider" type="System.Web.Profile.SqlProfileProvider"
                             connectionStringName="SiteSqlServer"
                        applicationName="SampleApplication"
                        description="SqlProfileProvider for DNN BusinessPack" />
         </providers>

              <properties>
                 <add name="Title" />
                 <add name="Company" />
                 <add name="FirstName" />
                <add name="LastName" />
                 <add name="Street" />
                <add name="StreetNo" />
                <add name="PostalCode" />
                 <add name="City" />
                <add name="Telephone" />
                <add name="Email" />
        </properties>
     </profile>
     <!-- *** END: dnnRegistration *** -->

  </system.web>
  
  <dotnetnuke>
    <htmlEditor 
...

Skin usercontrol usage

This module can also be used when selecting the user-profile/register link which gets rendered from the skin usercontrol (<dnn:USER runat="server" id="dnnUSER" />.

The approach is to change the link target of the 'Register link' each portal normally has. To achieve this, you have to change the ControlSrc entry in the ModuleControls table to 'DesktopModules/dnnRegistration/dnnRegister.ascx' where ControlTitle='Register', ControlKey='Register' and ControlType='-1'. Another row with ControlTitle='Profile', ControlKey='Profile' and ControlType='-1' has to be changed to 'DesktopModules/dnnRegistration/dnnRegister.ascx' too.

This way has the benefit that the registration module is independent from any TabID - necessary when building multilanguage portals in conjunction with DnnStyleMenu where the registration page 'virtually' has different locations.

Be careful not to insert several rows with this ControlKey property - this will cause an exception in DNN. This behaviour was noticed after DNN 4.4 upgrade, in this case simply rename or delete the new entry.

Contribute Add/Edit this topic to extend this documentation with your experiences and best practices.

DeltaMind - Wiki Home EN - DotNetNuke Wiki

DotNetNuke Community-Wiki

Eine Wiki Kurzanleitung findet sich unter QuickReference. Zum üben und ausprobieren bitte die PlayPage benutzen.

Recent Topics