Completed

Develop custom upload function in WordPress

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

Skills: ASP.NET, C# Programming, HTML, PHP, WordPress

See more: develop custom wordpress theme, wordpress custom upload logo, custom function wordpress, wordpress plugin file upload tutorial, upload image in wordpress plugin code, custom file upload in wordpress, custom image upload in wordpress, wordpress upload file programmatically, file upload in wordpress form, wordpress move file to upload directory, how to upload image in wordpress using php, .net, asp.net, save image upload function wordpress, upload function wordpress plugin, function upload image wordpress, image upload function wordpress, wordpress plugin upload function, wordpress image upload function, function wordpress upload image

About the Employer:
( 1 review ) Leidschendam, Netherlands

Project ID: #16425007

Awarded to:

justTry

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 th More

€100 EUR in 3 days
(168 Reviews)
6.1

11 freelancers are bidding on average €220 for this job

sapotacorp

Dear MultitaskICT! Im a full stack developer, i can help you do this task fast. i have already charged a reasonable price I'm #1 WordPress Vietnam in here.. Our WordPress's projects: [login to view URL] More

€207 EUR in 5 days
(1020 Reviews)
8.7
evgendob

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 More

€211 EUR in 3 days
(495 Reviews)
7.8
JoomlaVogue

Hello Sir, First of all, we would like to tell you how we will initialize the project with you. We insist to follow these steps before you award the project to us: - We (technical team) will review the job and ask y More

€388 EUR in 10 days
(123 Reviews)
7.5
Mangal01

I work on all the versions of Magento and currently updated myself with Magento 2.2.3 experience. I primarily work on web-development using MagentoCE and Magento EE. Other GEMS of the websites I work on are JavaScri More

€222 EUR in 5 days
(45 Reviews)
5.3
unikinfoways1

Hello Remco, I have gone through your requirements and understood that you are looking for an experienced WordPress developer to Develop custom upload function in WordPress. I am pleased to inform you we have exp More

€166 EUR in 2 days
(14 Reviews)
5.1
deeptisangwar5

Hello, sir, You are looking for a .net developer(in API calls also).I having 5+ years experience in .net. I feel that I am suitable for the job. I am highly interested to work for you. I have very go More

€155 EUR in 3 days
(3 Reviews)
3.6
sudhamrit

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
(7 Reviews)
2.9
lakshancbandara

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 More

€500 EUR in 3 days
(1 Review)
2.4
deeptimahadeva

Worked on multiple wordpress projects and plugins and web [login to view URL] 11 years of experience in .net development.

€155 EUR in 4 days
(0 Reviews)
0.0
€111 EUR in 10 days
(0 Reviews)
0.0