Plugin Directory

Changeset 1337410


Ignore:
Timestamp:
01/27/2016 05:56:15 PM (10 years ago)
Author:
markusklems
Message:

Added new flag hide_form_message_text by which you can have a form with user name and/or email input fields but without the message text area.

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

Legend:

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

    r1320804 r1337410  
    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.4.2
     6Version: 0.4.3
    77Author: CloudWok
    88Author Email: [email protected]
     
    5454            'invisible_form_input_name' => False,
    5555            'show_form_input_email' => True,
     56            'hide_form_message_text' => False,
    5657            'show_powered_by_link' => False,
    5758            'simple_file_upload_button' => False,
     
    7677    $show_form_input_name = '';
    7778    $show_form_input_email = '';
     79    $hide_form_message_text = '';
    7880    $show_powered_by_link = ' data-pby="n"';
    7981    $hide_upload_success_message = '';
     
    9698    if(array_key_exists('show_form_input_email', $atts) && $atts['show_form_input_email'] == "True") {
    9799        $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"';
    98103    }
    99104    if(array_key_exists('show_downloads', $atts) && $atts['show_downloads']  == "True") {
     
    189194
    190195    // 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 . '>'
    192197      . $show_uploads
    193198        . $file_upload_form
  • cloudwok-file-upload/trunk/readme.txt

    r1320804 r1337410  
    44Tags: upload, file upload, dropbox, google drive, microsoft onedrive, box, s3, facebook, upload form, feedback
    55Requires at least: 3.0.0
    6 Tested up to: 4.4.0
    7 Stable tag: 0.4.2
     6Tested up to: 4.4.1
     7Stable tag: 0.4.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1414
    1515Receive 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
     17Simply 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.
    1618
    1719With 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, ...).
     
    2426
    2527Share 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.
    2828
    2929== Installation ==
     
    102102Since 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:
    103103
    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
     106Since 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"]`
    105109
    106110By 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!
     
    122126== Changelog ==
    123127
     128= 0.4.3 =
     129You 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"]`.
    124130= 0.4.2 =
    125131You 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.