Ninja Forms - File Uploads to Azure WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Add support for offloading Ninja Forms Uploads to the Microsoft Azure cloud.
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/dss-web/ninjaforms-uploads-azure/archive/refs/heads/main.zipOn Packagist as dss-web/ninjaforms-uploads-azure:
composer require dss-web/ninjaforms-uploads-azureAdd support for offloading Ninja Forms Uploads to the Microsoft Azure cloud.
How to use
- Define connection setting (https://site.com/wp/wp-admin/admin.php?page=ninja-forms-uploads&tab=external)
- Switch off 'SAVE TO SERVER' setting on File Upload field.
- Add 'External File Upload' action to form and enable uploading to 'MICROSOFT AZURE'
You can also define constants:
define( 'MICROSOFT_AZURE_ACCOUNT_NAME', '' );
define( 'MICROSOFT_AZURE_ACCOUNT_KEY', '' );
define( 'MICROSOFT_AZURE_CNAME', '' );
The respective settings have priority over constants in this situation.
For more controlled environments, you may also use the following constant to automatically force all use the external Azure storage service when creating forms:
define( 'MICROSOFT_AZURE_FORCE_EXTERNAL_UPLOAD', true );
This constant may not be overwritten by individual settings on your site or sites.
Development
Install NodeJS and run npm install and npm run azure to launch development server.
Use local settings:
- Account Name:
devstoreaccount1 - Account Key:
Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw== - Blob Service Endpoint:
http://127.0.0.1:10000/devstoreaccount1
Credits
Copyright
Ninja Forms File Uploads to Azure is copyright 2021 DSS
Ninja Forms File Uploads to Azure is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
Ninja Forms File Uploads to Azure is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with the Extension. If not, see http://www.gnu.org/licenses/.
Releases
6 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.