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
11/30/2006 6:06 PM
 
Add me to the list of DNN admins who would like the ability to "hide" the "display name" property from the user signup/profile and have this field auto-filled to be the user's fullname or username etc.

esmamlin atxgeek.me
 
New Post
12/1/2006 12:29 PM
 

Its not just the UserName - would it not be useful to be able to place a change password control where "the project needs it" - Also to be able to turn off (without hacking) the Remember Password  feature. What place does that have on a corporate intranet?

Maybe the whole user account module could be abstracted into smaller components with a few settings.

I really like the idea of being able to predefine UserName and not ask at all.

Overall its true that the lack of flexibilty is real drawback for many applications.

Ian 


Mutate and Survive
 
New Post
12/5/2006 5:59 AM
 

"Where are the textboxes, tables, and labels for Username, DisplayName, Email, First Name, and Last Name located?"

Okay,
  I'm still stuck on this DisplayName issue after a month. How do I get rid of it. I've set up the stored procedures to automatically take the username and insert it into the display name field, but the displayname text box still appears on my registration.

  Correct Me If I'm Wrong:
  The module called when the Register link is clicked is the manageusers.ascx file. This file bases off the control key to either display the modify account or register page. Since I clicked register, I go to the register page.

  I see where the password, captcha, profile, tabs, and everything else is created. Where are the textboxes, tables, and labels for Username, DisplayName, Email, First Name, and Last Name located?

  I am extremely grateful for any help on this problem.

  Jeremy Heeg

 
New Post
12/5/2006 1:18 PM
 
I think they are in a control called User.ascx but it has been a while since the lt time I investigated.

Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
12/12/2006 11:40 AM
 
Jeremy,

I've done it this way:
- patched the file Library\Components\Users\UserInfo.vb

Locate DisplayName property in this file and change it to the following code:
(Please note, that Browsable and Required attributes int the property declaration were changed to False -- it does the trick of hiding it).

<Browsable(False), SortOrder(3), Required(False), MaxLength(128)> Public Property DisplayName() As String
            Get
                '<patch>
                'Return _DisplayName
                Return _FirstName + " " + _LastName
                '</patch>
            End Get
            Set(ByVal Value As String)
                _DisplayName = Value
            End Set
        End Property

If you found a more elegant way of handling this problem, please share with us in forum.
Thanks.

--Daniel
 
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