want to add an additional field to user profiles

Topics: ASP.NET 2.0, Controls
Mar 7, 2011 at 3:16 AM
Edited Mar 7, 2011 at 7:47 AM

I think i've modified all the code to include an additional field. The only thing i haven't found so far is how to add the additional field to show up in the admin/users/profile.aspx page. Can someone tell me where the code is that generates that form?

thanks

edit: well looks like i borked something. When i try to view a blog post i get the following error:

Data is Null. This method or property cannot be called on Null values.

And when i try to edit the profile, none of the form fields show up, other then the option to select what role to assign.

I've edited the dbblogprovider - added an additional if statement to select the Website from the dictionary for the SelectProfile function. Also updated UpdateProfile in the same file.

Also edited authorProfile.cs - added a private string webSite and the get and set properties

app_code/profile.cs - added in pf.Website = vals[15];

admin/users/profiles.aspx - added var website = $('#txtWebsite').val();
and vals[15] = website; 

admin/users/profile.aspx.cs  - added Wesbite= string.empty at line 77

any ideas what i'm missing/messed up?