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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesModify the Registration, Login and User Profile ModulesModify the Registration, Login and User Profile Modules
Previous
 
Next
New Post
2/18/2011 5:04 AM
 
Hey guys,

I'm pretty new to using DotNetNuke and not very familiar with certain aspects of the framework and its code structure yet.
Therefore, I would like to apologize for maybe asking stupid questions upfront. ^^
But now to my problem...

I'm have worked with DNN 5.6.0 for a few days, I read and watched some tutorials (amongst others about module creation), and then I tried to create an own module in an independent installation of DNN.
Except of a few difficulties due to my lack of knowledge everything worked pretty well, but now I'm actually trying to modify the behavior of some of the core modules, in particular the Registration, the Login and the User Profile forms, in the following way:

1) I would like to find the parts of these modules, where the database actions are executed and kind of "hook" into the code there.
The reason for this is that I need to invoke an external web service when the user registers, logs in or changes his profile.
The data that has been filled in by the user into the respective forms is part of the request to the web service, and the success of the registration, login and profile update should also depend on the response of the web service.
Unfortunately, I was not really able to figure out, in which parts of which files the modules actually perform a database transaction. :(

2) Secondly, I would like to modify the forms of the mentioned modules by removing some specific fields and adding additional ones, but I'm also not quite sure, where and how to do this. What would be the most elegant way to achieve this modification?

Furthermore, I'm aware of the fact that it's not necessarily good to change the code in core modules in order to keep the whole installation "update-able". To avoid this, I would like to create own modules for my desired functionality and replace the core modules with them.

Due to my lack of experience with DNN this whole undertaking seems a little bit complex for me and I actually just don't know, where to start.
Every kind of help with this issue would be greatly appreciated.
Thanks in advance and kind regards,

Chris
 
New Post
2/21/2011 1:37 PM
 
Anyone? :(
I just need a little help to find the files and code parts that I have to edit for my modifications.
That would be really helpful for the beginning.
Please help.

Kind regards,
Chris
 
New Post
2/21/2011 3:35 PM
 
The user profile module you are looking for is in ~/DesktopModules/Admin/ViewProfile
The login and registration modules in ~/DesktopModules/Admin/Authentication

These are core modules and I wouldn't recommend changing them. Also, I'm sure they use core classes and methods so to change that stuff you need to d/l the core, recompile and redeploy.

"~/" is the webroot of your ddn installation.
 
New Post
2/21/2011 3:35 PM
 
you should create your own modules and membership provider. AFAIR, Charles Nurse blogged about membership provider a few years ago, when it was introduced into DNN 3.0, but there are a couple of other core team members, who wrote about it, e.g. Mitchel Sellers. Please be aware, that some of the code is handled in the core, which sits in between the modules/skin objects in the front and the providers in the back end of the system.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/21/2011 7:26 PM
 
With regard to the first part of your question - a better way handle this functionality would be thru the creation of a custom membership provider.
This is pretty much what the concept of a custom membership provider is all about.

With regard to the second area.

Yes you would need to create your own versions of the various modules in the user area to achieve changes to the interface appearance.  However, if all you are looking to do is add or remove some fields this can be achieved thru the user profile editor - which lets you control which fields are used on the user profile page.

The thing to understand however, is that there is only limited UI modification possible in the DNN core user profile - since this module is driven by the dnn edit settings engine which renders the fields dynamically -  as such there is no LAYOUT markup to be found in the source code.

Westa
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesModify the Registration, Login and User Profile ModulesModify the Registration, Login and User Profile Modules


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