Plugin Directory

Changeset 1282540


Ignore:
Timestamp:
11/09/2015 01:52:58 PM (10 years ago)
Author:
markusklems
Message:

Added prefill_form_fields flag.

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

Legend:

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

    r1281660 r1282540  
    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.9
     6Version: 0.4.0
    77Author: CloudWok
    88Author Email: [email protected]
     
    6363            'label_send_email_placeholder' => '',
    6464            'label_send_firstname_placeholder' => '',
    65             'label_send_lastname_placeholder' => ''
     65            'label_send_lastname_placeholder' => '',
     66            'prefill_form_fields' => ''
    6667        ), $atts )
    6768    );
     
    129130      }}';
    130131    }
    131     if(array_key_exists('label_send_msg_btn', $atts) || array_key_exists('label_send_msg_placeholder', $atts)) {
     132    if(array_key_exists('label_send_msg_btn', $atts) || array_key_exists('label_send_msg_placeholder', $atts) || array_key_exists('prefill_form_fields', $atts)) {
    132133        $customizeMessages = 'document.querySelector( ".cloudwok-embed .cloudwok-upload-message").addEventListener("DOMNodeInserted", customizeMessages, false);
    133134        function customizeMessages(e) {
  • cloudwok-file-upload/trunk/readme.txt

    r1281660 r1282540  
    55Requires at least: 3.0.0
    66Tested up to: 4.3.1
    7 Stable tag: 0.3.9
     7Stable tag: 0.4.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9292`[cloudwok wok_id="YOUR_WOK_ID" hide_upload_success_message="True" show_powered_by_link="True"]`
    9393
     94Since version 0.4.0 of this plugin, you can pre-fill the e-mail and name fields with values from the current WordPress user:
     95
     96`[cloudwok wok_id="YOUR_WOK_ID" show_form="True" show_form_input_name="True" show_form_input_email="True" prefill_form_fields="True"]`
     97
    9498By 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!
    9599
     
    110114== Changelog ==
    111115
     116= 0.4.0 =
     117Minor change to make feature introduced in 0.3.9 work in all cases.
    112118= 0.3.9 =
    113119Minor feature improvement: pre-fill message form with e-mail, first name, and last name of a logged in WP user.
Note: See TracChangeset for help on using the changeset viewer.