Changeset 1337410
- Timestamp:
- 01/27/2016 05:56:15 PM (10 years ago)
- Location:
- cloudwok-file-upload/trunk
- Files:
-
- 2 edited
-
cloudwok.php (modified) (5 diffs)
-
readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cloudwok-file-upload/trunk/cloudwok.php
r1320804 r1337410 4 4 Plugin URI: http://www.cloudwok.com 5 5 Description: CloudWok enables you to let your website visitors upload files directly into a Dropbox, Google Drive, Amazon S3, Box.com, or other cloud storage folder that you own. 6 Version: 0.4. 26 Version: 0.4.3 7 7 Author: CloudWok 8 8 Author Email: [email protected] … … 54 54 'invisible_form_input_name' => False, 55 55 'show_form_input_email' => True, 56 'hide_form_message_text' => False, 56 57 'show_powered_by_link' => False, 57 58 'simple_file_upload_button' => False, … … 76 77 $show_form_input_name = ''; 77 78 $show_form_input_email = ''; 79 $hide_form_message_text = ''; 78 80 $show_powered_by_link = ' data-pby="n"'; 79 81 $hide_upload_success_message = ''; … … 96 98 if(array_key_exists('show_form_input_email', $atts) && $atts['show_form_input_email'] == "True") { 97 99 $show_form_input_email = ' data-show-email="y"'; 100 } 101 if(array_key_exists('hide_form_message_text', $atts) && $atts['hide_form_message_text'] == "True") { 102 $hide_form_message_text = ' data-hide-message-text="y"'; 98 103 } 99 104 if(array_key_exists('show_downloads', $atts) && $atts['show_downloads'] == "True") { … … 189 194 190 195 // Code 191 $to_return = '<div class="cloudwok-embed" data-wokid="' . $atts['wok_id'] . '" ' . $show_powered_by_link . $show_form_input_name . $show_form_input_email . $hide_ upload_success_message . '>'196 $to_return = '<div class="cloudwok-embed" data-wokid="' . $atts['wok_id'] . '" ' . $show_powered_by_link . $show_form_input_name . $show_form_input_email . $hide_form_message_text . $hide_upload_success_message . '>' 192 197 . $show_uploads 193 198 . $file_upload_form -
cloudwok-file-upload/trunk/readme.txt
r1320804 r1337410 4 4 Tags: upload, file upload, dropbox, google drive, microsoft onedrive, box, s3, facebook, upload form, feedback 5 5 Requires at least: 3.0.0 6 Tested up to: 4.4. 07 Stable tag: 0.4. 26 Tested up to: 4.4.1 7 Stable tag: 0.4.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 14 14 15 15 Receive files directly in your Dropbox folder, Google Drive folder, S3 bucket, Box.com folder, or Facebook photo album. With the CloudWok file-upload plugin you can let others upload files to your cloud storage. 16 17 Simply add the following shortcode in your blog post or page: `[cloudwok wok_id="YOUR_WOK_ID" show_powered_by_link="True"]`. There are many options to customize the file-upload plugin. Please take a look at the "Installation" tab for more information how to customize the plugin. 16 18 17 19 With the CloudWok WordPress plugin, you can embed a cloudwok file-upload form into your own website or blog. Visitors of your website can upload files that are transferred directly into your connected Dropbox folder (or Google Drive folder, ...). … … 24 26 25 27 Share your use case with us by sending us a link to your WordPress site at [email protected]. We are always happy to hear feedback from our users. If you write a blog post about your CloudWok use case, we grant you extra quota for free. Drop me an e-mail if you would like to participate in the free-extra-quota initiative. 26 27 Take a look at the "Installation" tab for more information how to customize the plugin.28 28 29 29 == Installation == … … 102 102 Since version 0.4.2 of this plugin, via `invisible_form_input_name` you can let the plugin submit the wordpress user name when a user uploads a file without showing the input fields to your user: 103 103 104 `[cloudwok wok_id="YOUR_WOK_ID" show_form="True" show_form_input_name="True" prefill_form_fields="True" invisible_form_input_name="True"]` 104 `[cloudwok wok_id="YOUR_WOK_ID" show_uploads="True" show_form="True" show_form_input_name="True" prefill_form_fields="True" invisible_form_input_name="True"]` 105 106 Since version 0.4.3 of this plugin, via `hide_form_message_text="True"`, you can show user name and email input fields without the message text area: 107 108 `[cloudwok wok_id="YOUR_WOK_ID" show_form="True" show_form_input_name="True" required_firstname="True" required_lastname="True" show_form_input_email="True" hide_form_message_text="True"]` 105 109 106 110 By default, a small "powered by" text-link to www.cloudwok.com is disabled. If you like our plug-in, we would appreciate it if you would enable the link via `[cloudwok wok_id="YOUR_WOK_ID" show_powered_by_link="True"]`. Send me a link to your WordPress site with enabled "powered by" link, and I'd be happy to send you a small coupon code gift back: [email protected]. Thanks! … … 122 126 == Changelog == 123 127 128 = 0.4.3 = 129 You can now use `hide_form_message_text="True"` to hide the message text area from the message form. For example, show user name and email input fields without the message text area: `[cloudwok wok_id="YOUR_WOK_ID" show_form="True" show_form_input_name="True" required_firstname="True" required_lastname="True" show_form_input_email="True" hide_form_message_text="True"]`. 124 130 = 0.4.2 = 125 131 You can now use `show_form_input_name="True"` in combination with the new `invisible_form_input_name="True"` to let the plugin submit the wordpress user name when a user uploads a file without showing the input fields to your user. Thereby you know who uploaded the file without need to let your uploader enter her/his name.
Note: See TracChangeset
for help on using the changeset viewer.