Author: richard112 | Posted on: 4/12/2009 12:13:19 PM | Views : 411

Hi, i am trying to build a profile system, i am on the part whereas a user can upload a picture to use as their profile picture, i will give a quick summary of what i have done so that it is understandable for anyone who could give me an answer

Now, i have made a few configs to the createuzerwizard, so as when a new user is created, it adds their username in the "UserFiles" folder and sets them with 2 sub-categories called Avatar and Signature, so if for example if i wanted to get to my avatar folder and my username was User1, it would be ~/UserFiles/User1/Avatars/

And i also have a file upload that is connfigured to upload the currently logged in users avatar in the appropriate directory,  so if i was to upload a file, it would be in here ~/UserFiles/User1/Avatars/Avatar.jpg, here is the code below

 
protected Go to the complete details ...