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.0Extending profile/user classExtending profile/user class
Previous
 
Next
New Post
5/10/2007 9:00 AM
 

Yeah, Matt is right about the "providers"...they are nice and can be switched out for your own...I am doing it right now with the Membership provider.

See with my situation, we have different customers who wanted different registration forms (some with custom fields and some without), so the "dynamic" form solution was the way I had to go.

But if you are just going to have one site with one registration form, then Matt's solution might be better for you.

But I was thinking about it last night...If you only need to add new "Profile" fields, then there is really no reason why you need to touch the UserController.  the Profile fields are contained in the "ProfilePropertyDefinition" table.  You might be able to add a new row in that table with the new field that you need.  Then, I know, in the profile controller there is are methods that ae "GetPropertyValue" and "SetPropertyValue" which you can pass in the property Key name and get what you need.  I had to use it for the core "Biography" field...It was missing from the ProfileInfo class (not sure if it is still missing) and it worked just fine.

That should take care of your profile problem without to much problem...This is just a theory though...I haven't tried this way myself...The method calls are there, but whether or not you can add a new row in the profile definition table simply is the theory part :-)

Let me know if you have any questions.

 
New Post
5/10/2007 9:04 AM
 

Actually, I was just looking at it and if my last suggestion works, I might rethink how my "dynamic form" builds the form....Instead of adding rows in my "Questions" table, you can just add a new profile property definition...Damn!!!  I should have done that :-)

 
New Post
5/22/2007 11:00 PM
 

Would it be possible to create a new "User" module with all the custom fields and functionality we need, but then call the existing "Manage Profile" and "Manage Password" pages?

Creating  new password/profile manager would not be the end of the world, but it would be nice to find a way to link to it - just like DNN does it now.

I'm thinking of incorporating PayPro Flow into my new "Manage Services" and handle some of the subscription and un-subscriptions differently - but I like the way the password and profile functionality works already.

Any ideas?

-Scott

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Extending profile/user classExtending profile/user class


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