Plugin Directory

Changeset 1255840


Ignore:
Timestamp:
09/29/2015 02:13:37 PM (11 years ago)
Author:
markusklems
Message:

Version 0.3.5. You can now show a simple file-upload button in lieu of the dropzone.

Location:
cloudwok-file-upload/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cloudwok-file-upload/trunk/cloudwok.php

    r1211874 r1255840  
    44Plugin URI: http://www.cloudwok.com
    55Description: 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.3.4
     6Version: 0.3.5
    77Author: CloudWok
    88Author Email: [email protected]
     
    4242            'show_form_input_email' => True,
    4343            'show_powered_by_link' => False,
     44            'simple_file_upload_button' => False,
    4445            'label_add_files_btn' => '',
    4546            'label_send_msg_btn' => '',
     
    5859    $show_form_input_email = ' data-show-email="n"';
    5960    $show_powered_by_link = ' data-pby="n"';
     61    $file_upload_input = '<div class="cloudwok-dropzone"></div>';
    6062
    6163    // customize labels and texts
     
    7779    if(array_key_exists('show_downloads', $atts) && $atts['show_downloads']  == "True") {
    7880        $show_downloads = '<div class="cloudwok-download-files"></div>';
     81    }
     82    if(array_key_exists('simple_file_upload_button', $atts) && $atts['simple_file_upload_button'] == "True") {
     83        $file_upload_input = '<input type="file" name="files[]" multiple>';
    7984    }
    8085    if(array_key_exists('show_powered_by_link', $atts) && $atts['show_powered_by_link'] == "True") {
     
    126131  $to_return = '<div class="cloudwok-embed" data-wokid="' . $atts['wok_id'] . '" ' . $show_powered_by_link . $show_form_input_name . $show_form_input_email . '>'
    127132      . $show_uploads .
    128     '<form class="cloudwok-upload">
    129       <div class="cloudwok-dropzone"></div>
    130     </form>'
     133    '<form class="cloudwok-upload">'
     134        . $file_upload_input
     135        .
     136    '</form>'
    131137        . $show_form
    132138        . $show_downloads .
  • cloudwok-file-upload/trunk/readme.txt

    r1211874 r1255840  
    55Requires at least: 3.0.0
    66Tested up to: 4.2.3
    7 Stable tag: 0.3.4
     7Stable tag: 0.3.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7878Thereby, you gain the ability to more easily correlate files that are uploaded to your Dropbox, Google Drive, etc. with the name and/or e-mail of the person who uploaded these files.
    7979
     80Since version 0.3.5 of this plugin, you can disable the dropzone and show a simple file-upload button instead:
     81
     82`[cloudwok wok_id="YOUR_WOK_ID" simple_file_upload_button="True" show_powered_by_link="True"]`
     83
    8084By 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!
    8185
    8286== Frequently Asked Questions ==
    8387
    84 So far no questions. Send us an e-mail if you have an issue: [email protected] or a tweet @cloudwok.
     88* Is it possible to change the default texts and labels?
     89
     90You can customize texts and labels. Please take a look at this thread: https://wordpress.org/support/topic/custom-text-translation
     91
     92Send us an e-mail if you have an issue: [email protected] or a tweet @cloudwok. Or open a thread in the WordPress support forum for this plugin.
    8593
    8694== Screenshots ==
     
    92100== Changelog ==
    93101
     102= 0.3.5 =
     103Added option to show only simple file-upload button in lieu of dropzone via simple_file_upload_button="True" shortcode attribute.
    94104= 0.3.4 =
    95105Added feature to customize labels and texts (see here: https://wordpress.org/support/topic/custom-text-translation). This will likely be replaced in future versions by a central customization admin page.
Note: See TracChangeset for help on using the changeset viewer.