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.0advice needed - modifying registrationadvice needed - modifying registration
Previous
 
Next
New Post
1/10/2007 12:35 AM
 
I have VS2005 , DNN 4.3.7 and MSSQL and I need some advice on what I need to do to modify the site's registration process.
I downloaded an install version of DNN and installed it on a staging server. I have setup the pages in the dnn online environment.

I need to modify the registration code, which (I think) is on admin/security/register.aspx.vb
To test to see if I am in the correct place, I modified the private Sub cmdRegister_Click
from
'update the user
objUserInfo.UserID = UserInfo.UserID
objUserInfo.PortalID = PortalId
objUserInfo.Profile.FirstName = UserControl.FirstName

to
'update the user
objUserInfo.UserID = UserInfo.UserID
objUserInfo.PortalID = PortalId
objUserInfo.Profile.FirstName = "test" & UserControl.FirstName

(The last line has changed)

I then 'built' the page in VS2005 (CTRL + F5). I expected that when this new user was added to the database, the word 'test' would be added to the firstname. Instead the debugger panel gave me alot of errors (I guess problems already present). I tried the page in IE and nothing changed.

Am I totally off track here? I'm not very clever with asp.net.

I was thinking maybe I should have originally downloaded the 'Source' package. From what I gather, this has all the dnn assemblies and you have to compile them all to get the site working. Has this got something to do with it? I don't think I need to modify the classes etc, I just want to use them in a different way when the user registers.

Another idea was that the 'build' was not building on the staging server since I was getting so many errors. So in solution explorer I right clicked the website root (which is the staging server) , clicked 'property pages' and then set 'start options' to the http address of the website on the staging server.

Any suggestions?
 
New Post
1/10/2007 12:24 PM
 
It would be a good idea to try building the site prior to making modifications, that way you’ll know you have a good build/development environment to start with. In regards to registration…

I don’t think the Registration.ascx is used anymore after DNN 4.3.0. It’s been replaced by Users/ManageUsers.ascx.

If you modify the DotNetNuke code you’ll have to maintain that modification with every subsequent DotNetNuke upgrade. The registration process is a particularly volatile area. It changed dramatically when 3.0/4.0 were released then again when 3.3/4.3 were released. It will probably change again when Portal Groups are implemented.
need be.
Checkout our UCanUse User Attributes module www.ucanuse.com. You can do a great deal of customization out-of-the-box. It is also extensible should you need to make changes programmatically. The advantage to our module is it works on DNN 3.0 – 4.4 and we’ll continue to support new versions of DNN when they’re released.


Qualtiy DotNetNuke modules and custom development; we've been serving the DNN community for over 2 years and have hundreds of satisfied customers. Let us serve you today.
 
New Post
1/11/2007 12:58 AM
 
Brian,
Users/manageUsers.ascx is the file that contains the registration function. I agree with what you say, and UCanUse Attributes is a great module and will perform this task.
Thanks very much :)
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0advice needed - modifying registrationadvice needed - modifying registration


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