<![CDATA[ FileUpload working within Login Register / UpdateProfile - My Forums]]> https://forums.modx.com/thread/?thread=98387 <![CDATA[FileUpload working within Login Register / UpdateProfile]]> https://forums.modx.com/thread/98387/fileupload-working-within-login-register-updateprofile#dis-post-532046 )

I am still working on this member registration system for this MODx site and struggling away with file uploading... I have an initial register form which requires the member to upload a CV document. Then, post signup - they can edit their membership details, to upload a new CV doc and also then also upload a photo for their biog...

The code I have working works well on member registration, but when the CV doc is updated, it falls down... Code is here > http://www.virtudraft.com/blog/upload-photo-in-modx-user-registration.html

So... I am thinking... Might be better to abandon that approach and instead use Bob's FileUpload addon.... I have that installed and working on REVO... question is... Can I wrap it within the REGISTER / UPDATEPROFILE Login bits so that all file uploading is handled by FileUploader?? e.g. I don't want to have to have one form on the register page for the main simple text fields, and then another for the file uploading of the CV / photo...

Thoughts?


Cheers guys.]]>
dubbs Sep 22, 2015, 04:31 PM https://forums.modx.com/thread/98387/fileupload-working-within-login-register-updateprofile#dis-post-532046
<![CDATA[Re: FileUpload working within Login Register / UpdateProfile]]> https://forums.modx.com/thread/98387/fileupload-working-within-login-register-updateprofile#dis-post-532076 I don't want to have to have one form on the register page for the main simple text fields, and then another for the file uploading of the CV / photo... I was thinking of alternatives until I hit that clause.

I like two steps, prevents knucklehead spammers and makes things easier for my MODx lifestyle.
I say deal with members, not mere registrants; then you can do what you want with the update profile page.
The update profile page has unique data about the user which you can use to better define specific upload paths.
I remember using FileUpload to set username path and specific/allowed file; with registrants, I could not bother how to use temp whatnots.

Why, you could even use a heavily stripped (or not) version of elFinder to upload and maintain any file of choice.
TinymceWrapper makes it possible to use some cool file upload/browsers in the frontend, with or without TinyMCE.

If you reconsider this path I am suggesting, you will find more people here who have accomplished similar tasks.

I like easy!]]>
donshakespeare Sep 23, 2015, 04:19 AM https://forums.modx.com/thread/98387/fileupload-working-within-login-register-updateprofile#dis-post-532076
<![CDATA[Re: FileUpload working within Login Register / UpdateProfile]]> https://forums.modx.com/thread/98387/fileupload-working-within-login-register-updateprofile#dis-post-532050 dubbs Sep 22, 2015, 05:30 PM https://forums.modx.com/thread/98387/fileupload-working-within-login-register-updateprofile#dis-post-532050