Skip to content

Commit

Permalink
Final tweaks; version bump!
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkatz committed Feb 2, 2017
1 parent 3cd3687 commit a4260df
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 50 deletions.
4 changes: 2 additions & 2 deletions hidden.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
Plugin URI: https://katz.co/contact-form-7-hidden-fields/
Description: Add hidden fields to the popular Contact Form 7 plugin.
Author: Katz Web Services, Inc.
Author URI: http://www.katzwebservices.com
Version: 2.0
Author URI: http://www.katz.co
Version: 2.0.1
Text Domain: cf7_modules
Domain Path: languages
License: GPLv2 or later
Expand Down
Binary file modified languages/en_US.mo
Binary file not shown.
137 changes: 97 additions & 40 deletions languages/en_US.po
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
msgid ""
msgstr ""
"Project-Id-Version: Contact Form 7 Modules: Send All Fields\n"
"POT-Creation-Date: 2014-03-15 17:07-0700\n"
"PO-Revision-Date: 2014-03-15 17:07-0700\n"
"Last-Translator: Zack Katz <[email protected]>\n"
"POT-Creation-Date: 2017-02-01 18:38-0700\n"
"PO-Revision-Date: 2017-02-01 18:38-0700\n"
"Last-Translator: Katz Web Services, Inc. <[email protected]>\n"
"Language-Team: Zack Katz <[email protected]>\n"
"Language: en_US\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.4\n"
"X-Generator: Poedit 1.8.5\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
Expand All @@ -18,98 +18,155 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"

#: hidden.php:267
msgid "Hidden field"
#: functions.php:46
msgid "Hide this message"
msgstr ""

#: hidden.php:277
#: functions.php:47
msgid "Want to integrate your form with a newsletter?"
msgstr ""

#: functions.php:48
msgid "Don't have a Constant Contact account?"
msgstr ""

#: functions.php:49
msgid "Try Constant Contact for free"
msgstr ""

#: functions.php:50
msgid "for 15 days!"
msgstr ""

#: functions.php:51
msgid ""
"The Contact Form 7 Constant Contact Module makes it super-simple to add your "
"contacts to an email newsletter. Simply sign up for a free trial at Constant "
"Contact, enter your details, and you're ready to rock."
msgstr ""

#: functions.php:52
msgid "Add Newsletter Support"
msgstr ""

#: functions.php:53
msgid "Install Contact Form 7 - Constant Contact Module"
msgstr ""

#: functions.php:54
msgid "It&rsquo;s easy!"
msgstr ""

#: hidden.php:46
msgid ""
"The Contact Form 7 is installed, but you must activate Contact Form 7 below "
"for the Hidden Fields Module to work."
msgstr ""

#: hidden.php:48
msgid ""
"The Contact Form 7 plugin must be installed for the Hidden Fields Module to "
"work."
msgstr ""

#: hidden.php:50
msgid "Install Now."
msgstr ""

#: hidden.php:285
msgctxt "the name of the field button in CF7"
msgid "hidden"
msgstr ""

#: hidden.php:294
#, php-format
msgid "Generate a form tag for a hidden field. For more details, see %s."
msgstr ""

#: hidden.php:295
msgid "the plugin page on WordPress.org"
msgstr ""

#: hidden.php:305
msgid "Name"
msgstr ""

#: hidden.php:280 hidden.php:286
#: hidden.php:313
msgid "ID attribute"
msgstr ""

#: hidden.php:314
msgid "optional"
msgstr ""

#: hidden.php:286
msgid "Default value"
#: hidden.php:320
msgid "Value"
msgstr ""

#: hidden.php:287
#: hidden.php:326
msgid "Use this text as watermark?"
msgstr ""

#: hidden.php:292
#: hidden.php:332
msgid "Dynamic Values"
msgstr ""

#: hidden.php:293
#: hidden.php:336
msgid ""
"To use dynamic data from the post or page the form is embedded on, you can "
"use the following values:"
msgstr ""

#: hidden.php:295
#: hidden.php:339
msgid "<code>post_title</code>: The title of the post/page"
msgstr ""

#: hidden.php:296
#: hidden.php:340
msgid "<code>post_url</code>: The URL of the post/page"
msgstr ""

#: hidden.php:297
#: hidden.php:341
msgid ""
"<code>post_category</code>: The categories the post is in, comma-separated"
msgstr ""

#: hidden.php:298
#: hidden.php:342
msgid "<code>post_date</code>: The date the post/page was created"
msgstr ""

#: hidden.php:299
#: hidden.php:343
msgid "<code>post_author</code>: The name of the author of the post/page"
msgstr ""

#: hidden.php:301
#: hidden.php:345
msgid "The following values will be replaced if an user is logged in:"
msgstr ""

#: hidden.php:303
#: hidden.php:347
msgid "<code>user_name</code>: User Login"
msgstr ""

#: hidden.php:304
#: hidden.php:348
msgid "<code>user_id</code>: User ID"
msgstr ""

#: hidden.php:305
#: hidden.php:349
msgid "<code>user_email</code>: User Email Address"
msgstr ""

#: hidden.php:306
#: hidden.php:350
msgid ""
"<code>user_display_name</code>: Display Name (Generally the first and last "
"name of the user)"
msgstr ""

#: hidden.php:312
msgid "Copy this code and paste it into the form left."
#: hidden.php:364
msgid "Insert Tag"
msgstr ""

#: hidden.php:314
msgid "And, put this code into the Mail fields below."
msgstr ""

#: send-all-fields.php:110
msgid "All Fields"
msgstr ""

#: send-all-fields.php:118
#: hidden.php:370
#, php-format
msgid "Add all fields to your email with %s[all-fields]%s"
msgstr ""

#: send-all-fields.php:120
msgid ""
"Put this code into the Mail fields below to output all submitted fields in "
"the email."
"To use the value input through this field in a mail field, you need to "
"insert the corresponding mail-tag (%s) into the field on the Mail tab."
msgstr ""
17 changes: 11 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
=== Contact Form 7 Modules ===
Tags: Contact Form 7, cf7, Contact Forms 7, hidden fields, all fields
Requires at least: 2.8
Tested up to: 4.2.2
Tested up to: 4.7.2
Stable tag: trunk
Contributors: katzwebdesign, katzwebservices
Donate link: https://katz.co/contact-form-7-hidden-fields/
License: GPLv2 or later

Contact Form 7 - Add useful modules such as hidden fields and "send all fields" to the Contact Form 7 plugin

== Description ==

### Add Hidden Fields to Contact Form 7

The Contact Form 7 plugin has over <em>8.4 million</em> downloads, yet the great plugin still lacks a simple feature: <strong>hidden fields</strong>. This plugin adds hidden fields to Contact Form 7 once and for all.
The Contact Form 7 plugin has over <em>1 million</em> active installations, yet the great plugin still lacks a simple feature: <strong>hidden fields</strong>. This plugin adds hidden fields to Contact Form 7 once and for all.

#### Inserting dynamic values

Expand Down Expand Up @@ -90,10 +91,6 @@ To get the values of WordPress default profile fields, for example, you would us

* This plugin is released under a GPL license.

= Is the plugin available in other languages? =

Not yet, so [help translate the plugin!](https://www.transifex.com/projects/p/contact-form-7-modules/)

= How do I send empty values with the `[all-fields]` shortcode? =

Add this to your `functions.php` file: `add_filter('wpcf7_send_all_fields_send_empty_fields', '__return_true');`
Expand All @@ -114,7 +111,15 @@ Add this to your `functions.php` file: `add_filter('wpcf7_send_all_fields_send_e

== Changelog ==

= 2.0.1 on February 1, 2017 =

* Confirmed compatibility with WordPress 4.7.2
* Updated to work with Contact Form 7 4.6
* Fixed: `[hidden]` shortcodes not being replaced in emails
* Fixed: PHP warning related to deprecated function
* Fixed: Removed use of deprecated `get_currentuserinfo()` function
* Updated translations

= 2.0 on June 28, 2015 =
* **Requires Contact Form 7 4.2 or higher**
* Updated to work with latest Contact Form 7
Expand Down
3 changes: 1 addition & 2 deletions send-all-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: https://katz.co/contact-form-7-hidden-fields/
Description: Send all submitted fields in the message body using one simple tag: <code>[all-fields]</code>
Author: Katz Web Services, Inc.
Author URI: http://www.katzwebservices.com
Author URI: http://www.katz.co
Version: 2.0.1
Text Domain: cf7_modules
Domain Path: languages
Expand All @@ -24,7 +24,6 @@ function all_fields_wpcf7_load_functions() {

function all_fields_wpcf7_before_send_mail($array) {
$debug = false;
global $wpdb;

if ( $debug ) {
print_r( $array );
Expand Down

0 comments on commit a4260df

Please sign in to comment.