這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

SyncS3 Lite

外掛說明

SyncS3 gives Gravity Forms users the ability to push any files to any Amazon S3 bucket. When files are submitted through a form, you can send those files to any Amazon account, and any S3 bucket. Simply add your Amazon AWS credentials, chose which fields should push to S3, and save.

You can even send different file-upload fields to different accounts or buckets. SyncS3 gives you flexible control over which accounts/buckets for sending your files by controlling the settings on global, form, and field levels.

If it doesn’t make sense for you to also store the files locally, you can set the files to be removed from your server after they’re uploaded to S3. This helps reduce the overall disk space of your website.

SyncS3 also includes a WP CLI command for processing all entries, so you can effortlessly send all of your files from all of your form entries to your S3 buckets.

Want to know more about SyncS3? Read about SyncS3’s features.

螢幕擷圖

  • SyncS3 is an add-on for Gravity Forms. Enter your Amazon AWS credentials to connect your S3 account, and select a bucket to host files that are uploaded through your forms. In SyncS3 Pro, you can set different accounts and buckets per form, or per field!
  • SyncS3 file-upload field settings to enable a field to upload files to Amazon S3. Fields do not upload to S3 by default, so you can pick and chose which fields do.
  • In the entry’s details, you have links to the files that are now hosted on Amazon S3.

安裝方式

This section describes how to install the plugin and get it working.

Automatically

  1. Search for SyncS3 in the Add New Plugin section of the WordPress admin
  2. Install & Activate

Manually

  1. Download the zip file and upload syncs3-lite to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

How do I use this plugin?

First, install and activate the plugin.

Next, configure your global Amazon AWS settings. These are found in your wp-admin, under Forms –> Settings. This is where you’ll enter your AWS Access Key, Secret Key, Region, and Bucket name.

If you more control over which accounts files are sent to, SyncS3 Pro allows you to send different file upload fields to different accounts or buckets.

Finally, open the Gravity Forms editor for the file-upload field you want to push to S3. In the Advanced tab, enable the Uploads to S3 field setting, and update your form. SyncS3 will now push files submitted via that field to your Amazon S3 bucket when a user submits the form.

Do you offer support for this plugin?

If you have any questions or need any help, please get in touch with us on our website.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈SyncS3 Lite〉的開發相關工作。

參與者

將〈SyncS3 Lite〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.2

  • Fixed inconsistency with how S3 URLs were saved.

1.1.1

  • Added entry-specific folder to S3 path to help avoid filename conflicts

1.1.0

  • Adjusted how S3 URLs are saved as entry meta
  • Fixed issue with multi-file uploads
  • Added presigned URLs in the entry’s admin and {s3urls} merge tag
  • Refactored how AWS keys, bucket, and region are retrieved. This makes each variable individually determined, which allows for overwriting a single value (e.g. overwriting just the bucket name for a single field).
  • Switched SyncS3Addon->process_entry() from gform_after_submission to gform_entry_created. The former occurs too late in the process, which wouldn’t allow for using the S3 URLs in the {s3urls} merge tag.
  • Cleaned up field settings display

1.0.2

  • Switched SyncS3Addon->process_entry() from gform_after_submission to gform_entry_created. The former occurs too late in the process, which wouldn’t allow for using the S3 URLs in the {s3urls} merge tag.
  • Style tweaks

1.0.1

  • Fixed issue causing uploads to not send

1.0

  • Initial version