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.0User Registration - Removing DisplayName PropertyUser Registration - Removing DisplayName Property
Previous
 
Next
New Post
12/12/2006 4:57 PM
 

Thanks for posting that. I finally figured out what to do the other night. Thats Pretty much the same thing as I did except i returned Username.

Works like a charm.

 

 
New Post
6/9/2007 12:32 PM
 

Hi,

 I got the same problem but on the 4.5.1 version.

 I can't figure how to remove the DisplayName from viewing / editing.

The new Token for ths fiels have the Read Only function but I want to keep my DisplayName and just set DisplayName has read-only.

 

Do you know how to do it int he new version ?

 

 
New Post
6/11/2007 7:24 AM
 

Chiming in as another user that needs the option to turn it off.

 
New Post
6/11/2007 8:29 AM
 

Ever since 4.4.1 i think the displayname behaviour is changed. It is now token based. In user settings you can force a calculation type for the displayname, eg. "[FirstName] [LastName]". This will cause displaynames to be autogenerated, and hidden from registration page and profile page


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
8/8/2007 4:37 PM
 

ErikVB wrote

Ever since 4.4.1 i think the displayname behaviour is changed. It is now token based. In user settings you can force a calculation type for the displayname, eg. "[FirstName] [LastName]". This will cause displaynames to be autogenerated, and hidden from registration page and profile page

This token feature is a great workaround.  I need a little more power or flexibility though, and I am hoping that I do not need to modify the core in order to get this done.  The token works fine for the Registration page, but I have a custom Membership Provider that performs the following steps:

  1. Replaces the Username with the e-mail address
  2. Replaces the Display Name with the Username
  3. Performs other business logic tasks

Using this token, it appears that although there is a different value for the DisplayName property, the core is automatically overriding it with whatever token you entered.  Does it retain the original DisplayName value?  If we attempt to use the DisplayName property directly from the UserInfo object, will we get the tokenized DisplayName, or the actual DisplayName? 

I need to use the DisplayName as an "Alias", much like the Live (passport) does.  This way, I can prevent the users e-mail address from getting displayed all over the place.  So, in a perfect world, I would love to be able to use the token or some other method to hide the DisplayName field on the registration and profile controls, but still display it as needed.  Since I am automatically handling this property in the Membership Provider, I do not have the same restrictions or requirements as most.

DNN sure has made it difficult to switch from a Username-based security model to an e-mail address-based one.  Whew!


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0User Registration - Removing DisplayName PropertyUser Registration - Removing DisplayName Property


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