Plugin Directory

Changeset 1275598


Ignore:
Timestamp:
10/29/2015 04:12:10 PM (10 years ago)
Author:
markusklems
Message:

Bugfix ofhide_upload_success_message flag.

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

Legend:

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

    r1269172 r1275598  
    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.7
     6Version: 0.3.8
    77Author: CloudWok
    88Author Email: [email protected]
     
    9595        $file_upload_form = '<form class="cloudwok-upload">' . $file_upload_input . '</form>';
    9696    }
     97    if(array_key_exists('hide_upload_success_message', $atts) && $atts['hide_upload_success_message'] == "True") {
     98        $hide_upload_success_message = 'data-hide-upload-success-msg="y"';
     99    }
    97100    if(array_key_exists('show_powered_by_link', $atts) && $atts['show_powered_by_link'] == "True") {
    98101        $show_powered_by_link = 'data-pby="y"';
  • cloudwok-file-upload/trunk/readme.txt

    r1269172 r1275598  
    55Requires at least: 3.0.0
    66Tested up to: 4.3.1
    7 Stable tag: 0.3.7
     7Stable tag: 0.3.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8484`[cloudwok wok_id="YOUR_WOK_ID" simple_file_upload_button="True" show_powered_by_link="True"]`
    8585
    86 Since version 0.3.6 of this plugin, you can disable the success message that shows after a successful file upload:
    87 
    88 `[cloudwok wok_id="YOUR_WOK_ID" hide_upload_success_message="True" show_powered_by_link="True"]`
    89 
    9086Since version 0.3.7 of this plugin, you can disallow file uploads, for example to only show the list of downloadable files in your Google Drive, Dropbox, ...:
    9187
    9288`[cloudwok wok_id="YOUR_WOK_ID" allow_upload="False" show_downloads="True"]`
     89
     90Since version 0.3.8 of this plugin, you can disable the success message that shows after a successful file upload:
     91
     92`[cloudwok wok_id="YOUR_WOK_ID" hide_upload_success_message="True" show_powered_by_link="True"]`
    9393
    9494By 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!
     
    110110== Changelog ==
    111111
     112= 0.3.8 =
     113Bugfix to make this feature work: disable the success message after a successful file upload, via hide_upload_success_message="True".
    112114= 0.3.7 =
    113115You can now use the shortcode also to only allow downloads via allow_upload="False". Thereby, you can, for example, place one cloudwok shortcode on a page that only allows uploading and another shortocde on a page that only allows downloading. Both shortcodes can reference the same wok id (i.e., the same Dropbox or Google Drive folder).
Note: See TracChangeset for help on using the changeset viewer.