sandip
 Nuke Active Member Posts:29
 |
| 21 Mar 2006 5:35 AM |
|
Hi Darryl, I was not in town for week and hence could not see all emails.. Well, you have to completly remove cotrol from register.ascx page. On top of the page each control registered is listed. So remove from there. e.g. You may be see following line < % @ Register TagPrefix="dnn" TagName="UserControl" Src="~/controls/UserControl.ascx" % >
Remove it.
Sandi
|
|
|
|
|
lionelluo
 Nuke Active Member Posts:22
 |
| 12 Apr 2006 11:05 PM |
|
| hi, can you please give me some more steps I can follow, I'm new and try to do the same thing. many thanks. |
|
|
|
|
sandip
 Nuke Active Member Posts:29
 |
| 13 Apr 2006 3:10 AM |
|
Hi Darry, Yes, I think I had rereplied this before some where. Any ways. For completly removing module remove first registration code (2-3 lines) from register.ascx. THis will remove that control cmpletely and use can use your control insted. Hope this will help you. Regards, sandi |
|
|
|
|
Nandu
 Nuke Newbie Posts:9
 |
| 20 Mar 2008 6:17 AM |
|
Hi sandi and lee,
Great to hear you that you had got succeeded in modifying the registration page, i hav gone through your conversation with lee. I am also intended to customize the registration page. I am using the latest version 4.8.1. All you were speakin of register.ascx page, but i am sorry , i am not able to find it in my DNN site. I have gone through the core code. But couldn't able to find from where the data is retrieving and storing it in database, how was its going on? i got succeeded in adding fields to the registration page by adding the fields in userinfo.vb. but couldn't able to save the data to the database, please let me how can i overcome this?
Any help is appreciated. |
|
|
|
|
jncraig DNN Creative Staff
 Nuke Master II Posts:2357

 |
| 20 Mar 2008 9:18 AM |
|
The registration code probably has been renamed. Look in subdirectories of the admin directory if you really must customize. I would recommend instead that you take a look at DataSprings.com's Dynamic Registration module. It has a lot of flexibility and you won't have to redo the registration code every time you upgrade DotNetNuke. |
|
Joe Craig DNN Creative Support Subscribe to the website |
|
|
Nandu
 Nuke Newbie Posts:9
 |
| 21 Mar 2008 10:54 AM |
|
Hi craig, Thanks for your quick response, But i dont want to go for third party tool. I would like to make changes like sandi, any way thanks once again, any help, really in needed. |
|
|
|
|
Nandu
 Nuke Newbie Posts:9
 |
| 21 Mar 2008 11:00 AM |
|
Hi everybody, I can add field controls to the register page in dnn 4.8.1, but couldn't able to store the data, First and foremost thing is, i am unable to find how dnn is accessing the database and where? plz help needed, its very urgent. Thanks in advance |
|
|
|
|
jncraig DNN Creative Staff
 Nuke Master II Posts:2357

 |
| 21 Mar 2008 7:31 PM |
|
Nandu,
If you must go the route of customizing the registration module, I'd recommend that you first spend some time learning how the DotNetNuke framework is put together. The DotNetNuke Help area of adefwebserver.com is a good place to start.
As with most things it makes sense to spend some time learning, thinking and planning before you dive into the coding.
But, were I you, I'd probably spend my creative thinking time figuring out ways to raise the funds to purchase a product like the DataSprings Dynamic Registration module.
|
|
Joe Craig DNN Creative Support Subscribe to the website |
|
|
Nandu
 Nuke Newbie Posts:9
 |
| 22 Mar 2008 2:03 AM |
|
Hi craig, ok, i will do that. Thanks for your response.
|
|
|
|
|
Nandu
 Nuke Newbie Posts:9
 |
| 24 Mar 2008 7:15 AM |
|
Hi everybody, I am using dotnetnuke 4.8.1 version, i want to customize register page in dotnetnuke. I got succeeded in adding textboxes to the page but facing some problems in storing that data in database. I had added an extra columns to the user table in database and even to the stored procedure 'adduser'. But when i try to load the data , i am facing with "The INSERT statement conflicted with the FOREIGN KEY constraint "FK_UserProfile_Users". The conflict occurred in database "Databasename", table "dbo.Users", column 'UserID'." When i remove the extra added control, then it works fine. Please help me to get rid of it. Thanks. |
|
|
|
|
jncraig DNN Creative Staff
 Nuke Master II Posts:2357

 |
| 24 Mar 2008 8:06 AM |
|
| As I said in an earlier message, modifying the core code isn't a great idea. Modifying the data tables is an even worse idea. |
|
Joe Craig DNN Creative Support Subscribe to the website |
|
|
Nandu
 Nuke Newbie Posts:9
 |
| 24 Mar 2008 8:44 AM |
|
hi craig,
Thanks for your fast response, i got what you are trying to tell. But i did not change the database but rather i created a table and inserting data into it using the adduser stored procedure, let me know whether am i going in a right way or not? but i dont have any other option rather than developing the code, our company does not show any interest in buying the third party tools. Provide any other solution craig.
Thanks ,
|
|
|
|
|
jncraig DNN Creative Staff
 Nuke Master II Posts:2357

 |
| 24 Mar 2008 9:04 AM |
|
I'm sorry. You said that you added a column to the table. I guess I misunderstood what you were saying. If you just used the existing stored procedure, it might be that you missed some other step. You might want to look at the code for the standard "Membership Provider" so that you can see how DotNetNuke adds users. |
|
Joe Craig DNN Creative Support Subscribe to the website |
|
|
Nandu
 Nuke Newbie Posts:9
 |
| 25 Mar 2008 12:51 AM |
|
HI craig, feeling very happy in getting responses from you. I got succeeded in adding a table and inserting data to it. When i try to add an additional control to the register page in lib/components/users/userinfo.vb, the userid is going to set -1. when i remove this control, it is taking the userid as is from the database.But when i add control property, i am gettin an error as ""FK_UserProfile_Users". The conflict occurred in database "Dnn", table "dbo.Users", column 'UserID'. The statement has been terminated.". if i try to add an extra control, shall i need to make any changes(not major) to the code to any where else? plz let me know. its very urgent. I am on deadline. i need to finish it asap.
Help needed.
|
|
|
|
|
jncraig DNN Creative Staff
 Nuke Master II Posts:2357

 |
| 25 Mar 2008 7:57 AM |
|
Nandu, I don't know what you are doing wrong, but you are doing something wrong with the existing tables. |
|
Joe Craig DNN Creative Support Subscribe to the website |
|
|
Nandu
 Nuke Newbie Posts:9
 |
| 01 Apr 2008 12:01 AM |
|
hi craig, Thanks for your suggestion. I dont think so that i am going in a wrong way. i got succeeded in adding additional fields to the register page and able to save the data in database too. here i am using the adduser store procedure to pass these additional fields data to the database, i have created a new table with user_id in it.I hope , i am going in a right way. But now the problem is , my register page consists of 3 pages, and i need to display only some fields in register page1 and some other in page2 so on. I had added an attribute(pageid) in the propertyattributes. but not finding a way to check that page id. please suggest me where i can check for this page id. Help needed. |
|
|
|
|
sakthimind
 Nuke Newbie Posts:2
 |
| 24 Jul 2008 7:25 AM |
|
|
Hi Nandu / Craig,
Can you please tell me how you added the extra field in User Registration, because I am also facing the same problem and my company also not ready to pay for third party tool.
I am new to DNN.
Please help me! |
|
|
|
|
jncraig DNN Creative Staff
 Nuke Master II Posts:2357

 |
| 24 Jul 2008 6:20 PM |
|
| On the User Accounts page, click Manage Profile Properties. Then, use the dropdown menu to Add New Profile Property. |
|
Joe Craig DNN Creative Support Subscribe to the website |
|
|
webtech4rindia
 Nuke Newbie Posts:1
 |
| 02 Aug 2008 11:56 PM |
|
Hi to all Great Gun (DNN),
I am strater and just moved to dnn.
First thing i want to know how to start with dotnetnuke source code because i need to modify register page with providing all role into that section so that user can select available role at the time of signup.
When i downloaded the source code and Start in .net 2005 , got massive error around(79+).
So, plz guide me who to do that. Provide brief as long as you can becuse i m knew to dnn.
Thank you,
Ajit
|
|
|
|
|
jncraig DNN Creative Staff
 Nuke Master II Posts:2357

 |
| 03 Aug 2008 9:46 AM |
|
I would strongly recommend that you should not modify the source code to provide that functionality. If you do, you will be following a path that makes it very difficult to update. Instead, I'd recommend a module like Datasprings' Dynamic Registration. It will provide the functionality that you need. If, though, you intend to go the modification route, I'd recommend that you try doing this as an additional module, so that you can upgrade and will then only have to deal with your module if necessary. As for help with the source code, I'd recommend that you look for help at the adefwebserver.com site. But ... do this as a module, NOT as a core modification. |
|
Joe Craig DNN Creative Support Subscribe to the website |
|
|