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...4.5.2 - New Registration Email Error4.5.2 - New Registration Email Error
Previous
 
Next
New Post
6/1/2007 2:31 PM
 

After I upgraded my site to 4.5.2 I have noticed that in the "User Registered" e-mail that is sent that the first and last names even if specified by the user are NOT transmitted in the e-mail.

I have not modified the text or anything on the e-mails.  Has anyone else noticed this?


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
6/3/2007 12:40 PM
 

Yes, I just noticed it now for two sites upgraded to 4.5.3 yesterday. The only field that has data in the e-mail is the e-mail address of the person registering. I'll try to track down the cause.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
6/4/2007 12:41 AM
 

In either DNN v 4.5.1 or 4.5.2 there were significant changes made to DotNetNuke.Services.Localization.TokenReplace, particularly in the area of defining the concept of and a property for the "AccessingUser" and which (if any) Profile properties the AccessingUser have sufficient access level permissions to view. In the replacedTokenValue function, a check is made on AccessingUser.UserId=Null.NullInteger.  If the AccessingUser is unauthenticated (UserID=-1), any attempt to replace tokens for Profile properties such as Firstname, Lastname, etc. return String.Empty rather than the property value.  It is in the shared function TokenReplace.Create that the AccessingUser first set from the HttpContext as follows: AccessingUser= CType(HttpContext.Current.Items("UserInfo"), DotNetNuke.Entities.Users.UserInfo). Unfortunately, in the case of a new user registering, his/her UserInfo object passed in the HttpContext is still the default for an unauthenticated user (with UserID=-1).  The correct UserInfo for the new registration is being passed to TokenReplace.Create, so the information is there, but not accessible to the "AccessingUser" even for tokenizing the body of the new registration e-mail being sent to the Administrator.  Either the HttpContext needs to be updated to pass the newly registered UserInfo object or the TokenReplace.Create and/or TokenReplace.replacedTokenValue methods will need modification to allow access to profile information that is being e-mailed to the Administrator.

I'll check Gemini and if it is not already reported, log the problem.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
6/4/2007 1:07 AM
 

Not finding this previously reported, I have added it to Gemini: http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=5750


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
6/4/2007 6:54 AM
 

Is there any temporary workaround for this issue?


Or-Rouge Team Or-Rouge
Personally recommend Hostgator for hosting single or multiple DotNetNuke Websites.
DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy root
DotNetNuke Türkçe Hakkinda Hersey
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...4.5.2 - New Registration Email Error4.5.2 - New Registration Email Error


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