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  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
MadCap Software, Inc.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Localize It! (L...  Localize User Registration page
Previous Previous
 
Next Next
New Post 3/14/2008 12:34 PM
User is offline Oliver Chen
17 posts
10th Ranked


Localize User Registration page 

Hi,

I have 2 questions related to user registration.

1. Where is the user registration page located?

2. I want to disallow some public email addresses to register in dotnetnuke. Can it be done? For example, when the user registers with yahoo or hotmail email accounts, an error message will be displayed and inform him the email entered is not valid for registration.

Thank you for your help!

-Oliver

 
New Post 3/14/2008 1:41 PM
User is offline Sebastian Leupold
12276 posts
www.deutschnetnuke.de
1st Ranked












Re: Localize User Registration page 
  1. the registration page is dynamically created from various controls.
  2. you can alter the regular expression used to validate email addresses, this will be the only option. Use a dedicated registration page with a message sbout invalid addresses above.

Sebastian Leupold



DotNetNuke Project UserDefinedTable
DotNetNuke Project XML/XSL
 
New Post 3/14/2008 8:06 PM
User is offline Alejandro Quiroga Alsina
51 posts
DNNCastellano.com
10th Ranked


Re: Localize User Registration page 

 Oliver Chen wrote

2. I want to disallow some public email addresses to register in dotnetnuke. Can it be done? For example, when the user registers with yahoo or hotmail email accounts, an error message will be displayed and inform him the email entered is not valid for registration.

Oliver,

Regarding your second question, how about the following?:

1. Fix the Regular Expression used to validate new users email addresses:

This parameter is within the User Settings page, under Admin - User Accounts and on the lower right click the link.

The parameter is called Email Address Validation and is the fourth before the end of the list. It contains the following regex:

\b[a-zA-Z0-9._%\-+']+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,4}\b

If what you wish is to filter domains like 'yahoo', 'hotmail' or 'gmail' after the @ char, then you must add the following subexpression right there:
(?i)(?!yahoo|hotmail|gmail)

...the final regex will look like this:

\b[a-zA-Z0-9._%\-+']+@(?i)(?!yahoo|hotmail|gmail)[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,4}\b

(click on 'Update' ;-)


2. Modify the messages related to the email address handling during registration:

It is important that you inform your user what type of email addresses you will allow, and if he enters a wrong address, you should explain to him that he tried to use one of those email addresses that are not allowed. If your default language is en-US, those messages are inside:

  • Directory: admin\Users\App_LocalResources
  • File: User.ascx.resx

Within this file look for the following text resources and modify their values, appending what is in italic and bold.

  • Resource Name: 'Value and appended value'
  • UserInfo_Email.Text: 'Email Address: <br>(Do not use a public email address)'
  • UserInfo_Email.Help: 'Enter a valid Email address. Please do not use a public email address, like Yahoo, Hotmail or Gmail.'
  • UserInfo_Email.Validation: 'You must enter a valid email address. <br>No Yahoos, Hotmails nor Gmails, ¿ok?'


That's it. Give it a try!

Saludos,
Alejandro.


Spanish Language Packs
Paquetes de Idioma en Español
 
New Post 3/17/2008 6:23 AM
User is offline Oliver Chen
17 posts
10th Ranked


Re: Localize User Registration page 

Thank you for your quick response Sebastian and Alejandro.

I followed Alejandro's suggestion and it works very well.

Gracias Alejandro y esperanza de poder ayudarle algún día también. (AltaVista Translation. Hope it doesn't sound weird)

-Oliver

 
New Post 5/6/2008 4:35 PM
User is offline Benicio Sanchez
31 posts
10th Ranked


Re: Localize User Registration page 
Modified By Benicio Sanchez  on 5/6/2008 7:36:36 PM)

I have been looking for information on how to localize the text used for the User Name, First Name:, Last Name:, Display Name:, Email Address:, Password, Enter a password., Password: and Confirm Password: used on the registration screen.

I am running DNN 04.04.00.

Regards,

Benicio

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Localize It! (L...  Localize User Registration page
 


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.

 


PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com
DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace

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