Version Description
- fixed "timestamp" on front end entries.
Download this release
Release Info
Developer | CRMPerks |
Plugin | ![]() |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
- contact-form-entries.php +5 -4
- includes/plugin-pages.php +0 -1
- readme.txt +5 -2
- templates/leads-table.php +1 -1
contact-form-entries.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Contact Form Entries
|
4 |
-
* Description: Save form submissions to the database from <a href="https://wordpress.org/plugins/contact-form-7/">Contact Form 7</a>, <a href="https://wordpress.org/plugins/jetpack/">JetPack Contact Form</a>, <a href="https://wordpress.org/plugins/ninja-forms/">Ninja Forms</a>, <a href="https://wordpress.org/plugins/formidable/">Formidable Forms</a>, <a href="http://codecanyon.net/item/quform-wordpress-form-builder/706149">Quform</a>, <a href="https://wordpress.org/plugins/cforms2/">cformsII</a>, <a href="https://wordpress.org/plugins/contact-form-plugin/">Contact Form by BestWebSoft</a>, <a href="https://wordpress.org/plugins/ultimate-form-builder-lite/">Ultimate Form Builder</a
|
5 |
-
* Version: 1.1.
|
6 |
* Requires at least: 3.8
|
7 |
* Tested up to: 5.4
|
8 |
* Author URI: https://www.crmperks.com
|
@@ -26,7 +26,7 @@ class vxcf_form {
|
|
26 |
public static $type = "vxcf_form";
|
27 |
public static $path = '';
|
28 |
|
29 |
-
public static $version = '1.1.
|
30 |
public static $upload_folder = 'crm_perks_uploads';
|
31 |
public static $db_version='';
|
32 |
public static $base_url='';
|
@@ -468,7 +468,8 @@ return $entry_id;
|
|
468 |
public function create_update_lead($detail,$lead,$entry_id=''){
|
469 |
$data=vxcf_form::get_data_object();
|
470 |
if(empty($entry_id)){ //no partial entry
|
471 |
-
$entry_id=$data->update_lead('',$detail,'',$lead);
|
|
|
472 |
}else{
|
473 |
$detail_db= $data->get_lead_detail($entry_id);
|
474 |
$update=$insert=array();
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Contact Form Entries
|
4 |
+
* Description: Save form submissions to the database from <a href="https://wordpress.org/plugins/contact-form-7/">Contact Form 7</a>, <a href="https://wordpress.org/plugins/jetpack/">JetPack Contact Form</a>, <a href="https://wordpress.org/plugins/ninja-forms/">Ninja Forms</a>, <a href="https://wordpress.org/plugins/formidable/">Formidable Forms</a>, <a href="http://codecanyon.net/item/quform-wordpress-form-builder/706149">Quform</a>, <a href="https://wordpress.org/plugins/cforms2/">cformsII</a>, <a href="https://wordpress.org/plugins/contact-form-plugin/">Contact Form by BestWebSoft</a>, <a href="https://wordpress.org/plugins/ultimate-form-builder-lite/">Ultimate Form Builder</a> and <a href="https://wordpress.org/plugins/wpforms-lite/">WP Forms</a>.
|
5 |
+
* Version: 1.1.2
|
6 |
* Requires at least: 3.8
|
7 |
* Tested up to: 5.4
|
8 |
* Author URI: https://www.crmperks.com
|
26 |
public static $type = "vxcf_form";
|
27 |
public static $path = '';
|
28 |
|
29 |
+
public static $version = '1.1.2';
|
30 |
public static $upload_folder = 'crm_perks_uploads';
|
31 |
public static $db_version='';
|
32 |
public static $base_url='';
|
468 |
public function create_update_lead($detail,$lead,$entry_id=''){
|
469 |
$data=vxcf_form::get_data_object();
|
470 |
if(empty($entry_id)){ //no partial entry
|
471 |
+
$entry_id=$data->update_lead('',$detail,'',$lead);
|
472 |
+
|
473 |
}else{
|
474 |
$detail_db= $data->get_lead_detail($entry_id);
|
475 |
$update=$insert=array();
|
includes/plugin-pages.php
CHANGED
@@ -1034,7 +1034,6 @@ $this->show_msgs();
|
|
1034 |
$base_url=vxcf_form::get_base_url();
|
1035 |
$main_fields=array('vxurl','vxscreen','vxbrowser','vxcreated','vxupdated');
|
1036 |
if(is_array($form_id)){$form_id=vxcf_form::$form_id_string;}
|
1037 |
-
|
1038 |
include_once(vxcf_form::$path . "templates/leads.php");
|
1039 |
}
|
1040 |
|
1034 |
$base_url=vxcf_form::get_base_url();
|
1035 |
$main_fields=array('vxurl','vxscreen','vxbrowser','vxcreated','vxupdated');
|
1036 |
if(is_array($form_id)){$form_id=vxcf_form::$form_id_string;}
|
|
|
1037 |
include_once(vxcf_form::$path . "templates/leads.php");
|
1038 |
}
|
1039 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: crmperks, sbazzi
|
|
3 |
Tags: contact form 7, contact form 7 database, contact form db, save contact form, wpforms database
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 5.4
|
6 |
-
Stable tag: 1.1.
|
7 |
-
Version: 1.1.
|
8 |
Requires PHP: 5.3
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -217,6 +217,9 @@ Contact form 7 entries plugin allows you to save contact form 7 entries to local
|
|
217 |
|
218 |
== Changelog ==
|
219 |
|
|
|
|
|
|
|
220 |
= 1.1.1 =
|
221 |
* fixed "per-page" option in front end entries table.
|
222 |
|
3 |
Tags: contact form 7, contact form 7 database, contact form db, save contact form, wpforms database
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 5.4
|
6 |
+
Stable tag: 1.1.2
|
7 |
+
Version: 1.1.2
|
8 |
Requires PHP: 5.3
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
217 |
|
218 |
== Changelog ==
|
219 |
|
220 |
+
= 1.1.2 =
|
221 |
+
* fixed "timestamp" on front end entries.
|
222 |
+
|
223 |
= 1.1.1 =
|
224 |
* fixed "per-page" option in front end entries table.
|
225 |
|
templates/leads-table.php
CHANGED
@@ -79,7 +79,7 @@ if(is_array($field_label)){
|
|
79 |
$field_label=implode(', ',$field_label);
|
80 |
} }
|
81 |
if($field['name'] == 'created' && !empty($lead['created'])){
|
82 |
-
$field_label=strtotime($lead['created'])
|
83 |
$field_label= date('M-d-Y H:i:s',$field_label);
|
84 |
}
|
85 |
?>
|
79 |
$field_label=implode(', ',$field_label);
|
80 |
} }
|
81 |
if($field['name'] == 'created' && !empty($lead['created'])){
|
82 |
+
$field_label=strtotime($lead['created']); //+$offset
|
83 |
$field_label= date('M-d-Y H:i:s',$field_label);
|
84 |
}
|
85 |
?>
|