r/Wordpress•
toolzb

Looking for plugin advice for user login and file upload.

I work at a trucking company and I want my drivers to be able to upload pictures of their load receipts to the website so we can print them and start on the billing process immediately. So, of course I want the upload page to be password protected. What is the best way to go about this? I assume there are good plugins available for custom login and also for file uploading.

Can you guys make some good recommendations for me?

Posted Mar 6, 2017, 12:33 PM UTC

35
onedayrunningmanDeveloper•

You can create the form with file upload using contact form 7 (free) https://wordpress.org/plugins/contact-form-7/

Or Gravity forms (commercial) http://www.gravityforms.com/

For the password, it depends on how complex you want it, if you just want to set a password for the page with the form, and have it be the same password for everyone, you can use the page visibility settings in WordPress core. when creating the page look at the visibility settings on the right hand column and you can set it to Protected and add in a password. Anyone with the password can then view and use the page/form.

If you want to have logins for each trucker etc, then you could do something using Groups (free) https://wordpress.org/plugins/groups/

and have only registered users have access to the page using groups capabilities. This is assuming you have no other registered users on your site, if you do then you'd create a new group for truckers and add the capabilities to those groups along with the trucker registered accounts.

The benefit of gravity over CF7 is in addition to sending emails when someone fills out the form, it also stores the entries in the backend for easy viewing/export/download/etc which can be handy.

(there are a bunch of plugins you can add/buy to add this functionality into CF7 but I've never used one so can't recommend one.

Hope that helps to get you started!

2
toolzbOP•

Excellent! This is all exactly what I'm looking for.

2
ClicksFix•

How secure are you wanting your load receipts? Here is an alternative solution that may work too.

I have once setup a solution with Out-of-the-Box (premium) and it worked very well. You can integrate it with your website for users to login and upload files directly to Dropbox/Box/OneDrive/Google Drive (Box has very secure file upload/store methods). You can even make it so each user has their own individual folder. This way each driver would only see their uploaded receipts, but in your view you would see all the drivers folders. This makes it more organized than just receiving files via a contact form (also, if your directory .htaccess is not setup correctly any visitor could go grab those upload receipts).

For the password protected page I would make users have to login with a social login or password and then have the upload page content protected with a membership plugin.

An alternative way I just though of that you could do is by building a simple app on Kinetise (drag and drop app builder) that allows the driver to actually just take a picture directly from their phone and have that directly sent to you. Kind of similar process as doing a mobile check deposit (if you've done that before).

Hope any of that helps :)

1
toolzbOP•

Oh this is great too. I will check out the app builder.

2
AuGKlasD•

I use wp-client, which is a paid plugin. It allows users to create an account and have their own custom dashboard when logged in. You can design it many different ways, including a file upload section. I use it for my clients to give me files and also pay for invoices etc..

1