Find Jobs
Hire Freelancers

Develop custom upload function in WordPress

€30-250 EUR

Completed
Posted about 6 years ago

€30-250 EUR

Paid on delivery
We build webapplications in .NET (C#, MVC etc.) and interconnected for one of our customers a WordPress website to our webapp. What happens is that the customer goes to the WordPress website and then logs in. However, the customer does not directly log into the WordPress website. Instead the customer logs in on our webapplication through a page that is served in an iframe, after which the webapp logs in the user in WordPress using a general (shared) WordPress user. So to clarify; the users John and Karen both login through the WordPress website (iframe) on our webapp. Our webapp logs in both John and Karen on the WordPress website as 'Generic Customer'. What we would like to achieve is that both John and Karen can upload/delete files in WordPress. However the files need to be linked to the (webapp)username, not to the generic (shared) WordPress username. We do store the webapp username in the session object ( $_SESSION["cp_user"] ) so it is available in WordPress. With regard to the uploading, here is what we would like to achive. * A shortcode that we can put up on a page or post that inserts a file upload feature. The feature consists of a input field (text), a browse button and upload button. * A shortcode that we can put up on a page or post that inserts a table that shows the files the (webapp)user has uploaded. * Only documents with pdf extension are allowed to be uploaded * We need to be able to set a maximum file size limit. * The actual filename of the uploaded documents are to be renamed to the format webapp username-iso-datetime-version [login to view URL] So for example; if John uploads a document '[login to view URL]' the filename would be renamed to '[login to view URL] * The uploads will have to be placed in the /wp-content/uploads/cpdocs/ * The original filename is saved and shown to the user. To that end I think I need a table with stores the following data File ID, webapp username, original filename, stored filename, version number, show, date, time File ID [int] is for internal use webapp username [varchar] is in this example John or Karen original file name [varchar] is in this example [login to view URL] stored file name [varchar] is in this example [login to view URL] version number [int] is in this example 1 show [boolean] is in this example true, meaning that this is document has to be listed on the user page in WordPress, showing the user that he/she uploaded this document. date, time [date] that shows the date and time the file was uploaded. * The webapp users would also need to be able to remove their uploads, however, deleting means 'removing from eyesight' in this case. In other words, the show field value needs to be set to false. The renamed file that is stored on the webserver itself should not be removed. * The shortcode that shows the table of uploaded files needs to show all uploaded files to admins. That way an admin can easily see which user uploaded which files. We don't necessarily need a fancy plugin for this as long as it will function. It is ok to set limitations/filters in the code itself. We can add code to [login to view URL] etc. So basically what we primarily need to the above described functionality. Can you develop this for us and if so what would it cost? I'm looking forward to your answer. Kind regards, Remco
Project ID: 16425007

About the project

10 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello! If you are certain that this SESSION is the same session available to wp then I don't see any particular problems why it couldn't be done. Should the admin/admins have any specific capabilities towards those uploads? Like the 'remove' the uploader would have, or maybe even scrap completely etc? The uploading user would never be seeing the actual filename under which the uploaded file was stored under wpp, but always see the original file name instead? I am assuming that the version part of the file name would increase, but it's not apparent when this would happen. I suppose it would be in case the user reuploads a file with the very same filename(original filename) and not when he simply uploads another file. Please elaborate a bit further on that part. Kind Regards, Dobri
€100 EUR in 3 days
4.9 (179 reviews)
6.1
6.1
10 freelancers are bidding on average €225 EUR for this job
User Avatar
Hello. Wordpress expert ready to help you with upload plugin creation. I have more 7 years of Wordpress development experience and more 400 good reviews so all will be done with best quality. Free bugfinxing support. Tnx, and hope to hear you soon.
€211 EUR in 3 days
4.9 (575 reviews)
8.0
8.0
User Avatar
Hello, I have seen your requirements and understanded your project needs. Let's get on chat to discuss further, looking forward to hearing from you asap. Regards
€200 EUR in 5 days
4.5 (8 reviews)
2.9
2.9
User Avatar
Hi . I have 8+ years hand on experience in asp.net web development s . I ‘ m very sure I can complete this project very good. Please Visit my profile portfolios for more samples. *All the payment after complete the project only *Source cords are hand over end of the project Please send me a message for discuss for your requirement. Thanks.
€500 EUR in 3 days
5.0 (1 review)
2.4
2.4

About the client

Flag of NETHERLANDS
Leidschendam, Netherlands
5.0
1
Payment method verified
Member since Mar 5, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.