Submit file with SelfRegistration?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
sabernar

Submit file with SelfRegistration?

Post by sabernar »

Is it possible to have someone who is registering on a CMSMS site using SelfRegistation (and feuser and uploads) to upload a file along with their registration?

Thanks in advance.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Submit file with SelfRegistration?

Post by calguy1000 »

Not currently, that's not one of the property types in the feusers module, what's your idea?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
sabernar

Re: Submit file with SelfRegistration?

Post by sabernar »

Well, I need to make a form where a user can sign up and submit his/her resume.  Perhaps I could do it in 2 stages where the user signs up, and then is taken to a page where they can upload their resume, but the client really wanted it so that the user could submit the file along with the form submission.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Submit file with SelfRegistration?

Post by calguy1000 »

That'd be a significant modification to feusers/selfreg, I'd suggest using the uploads module if you can, and doing it in a two step process.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
sabernar

Re: Submit file with SelfRegistration?

Post by sabernar »

How would I associate a file with a particular user?  Is that possible?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Submit file with SelfRegistration?

Post by calguy1000 »

Currently the uploads module will attempt to get a username from the frontendusers module, to see if anybody is logged in, and will attempt to use that username.  However this isn't mandatory, and the user "could" change it, so I'm fising the uploads module so that the author field is not necessarily shown.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Submit file with SelfRegistration?

Post by calguy1000 »

Okay, I just committed some changes to the uploads module which should allow this to happen.  Though some more work may have to be done with feusers, etc.

essentially, to associate an upload with a user account, you simply have to put {cms_module module=Uploads mode=upload category=whatever key=$userid} into your page, and it will work.

However, for this to happen, you need to be using the latest and greatest version of cms core (svn), and the latest and greatest versions of uploads module, and frontendusers.

but, it's a start.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “CMSMS Core”