I added some extra code today. My users should now be able to upload a picture to their own profiles.
(I basically extended the FileUploader control with two properties, one to set the text for the label, and one that now holds the fileUrl. In the profile control, I set the text to zero (so I can have a label in the table (hehe. Look at me rhyme!), and just the control next to that.
Then, being the lazy geek that I am, I automatically hide the FileUpload control as soon as SaveControlState is called, and set the AvatarUrl textbox's text to the current fileurl of the upload control. The reason I use SaveControlState for it is that I first tried using the Page Load, and just checking if there's a postback. However, that fires before the button_click from the control fires, so the textbox would end up empty.
I also added a UserTitle the user can set themselves to the forum and the profile.
Haven't uploaded it yet, and the missus wants to go to bed, so hopefully tomorrow you can see it in action. If you want the full code, just let me know :)
Update: Disregard that statement above. Snuck out and uploaded anyway. Just didn't get a chance to check/test yet.
Cheers,
Peter
http://entropia-online.blogspot.com/