Changeset 3390573
- Timestamp:
- 11/05/2025 03:48:58 PM (5 months ago)
- Location:
- cf7-mailchimp
- Files:
-
- 4 edited
- 7 copied
-
tags/1.2.1 (copied) (copied from cf7-mailchimp/trunk)
-
tags/1.2.1/api/api.php (copied) (copied from cf7-mailchimp/trunk/api/api.php)
-
tags/1.2.1/cf7-mailchimp.php (copied) (copied from cf7-mailchimp/trunk/cf7-mailchimp.php) (4 diffs)
-
tags/1.2.1/css/select2.min.css (copied) (copied from cf7-mailchimp/trunk/css/select2.min.css)
-
tags/1.2.1/js/select2.min.js (copied) (copied from cf7-mailchimp/trunk/js/select2.min.js)
-
tags/1.2.1/readme.txt (copied) (copied from cf7-mailchimp/trunk/readme.txt) (2 diffs)
-
tags/1.2.1/templates/logs.php (copied) (copied from cf7-mailchimp/trunk/templates/logs.php)
-
tags/1.2.1/templates/settings.php (modified) (1 diff)
-
trunk/cf7-mailchimp.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/templates/settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cf7-mailchimp/tags/1.2.1/cf7-mailchimp.php
r3346610 r3390573 3 3 * Plugin Name: WP Contact Form Mailchimp 4 4 * Description: Integrates Contact Form 7, <a href="https://wordpress.org/plugins/contact-form-entries/">Contact Form Entries Plugin</a> and many other forms with Mailchimp allowing form submissions to be automatically sent to your Mailchimp account 5 * Version: 1.2. 05 * Version: 1.2.1 6 6 * Author URI: https://www.crmperks.com 7 7 * Plugin URI: https://www.crmperks.com/plugins/contact-form-plugins/contact-form-mailchimp-plugin/ … … 25 25 public $id = "vxcf_mailchimp"; 26 26 public $domain = "vxcf-mailchimp"; 27 public $version = "1.2. 0";27 public $version = "1.2.1"; 28 28 public $update_id = "6000001"; 29 29 public $min_cf_version = "1.0"; … … 210 210 } 211 211 212 if( !empty($val) && isset($v['basetype']) && $v['basetype'] == 'mfile' && function_exists('dnd_get_upload_dir') ){212 if( !empty($val) && isset($v['basetype']) && $v['basetype'] == 'mfile' && function_exists('dnd_get_upload_dir') ){ 213 213 $dir=dnd_get_upload_dir(); 214 214 $f_arr=array(); 215 215 foreach($val as $file){ 216 $file_name=explode('/',$file); 216 $file_name=explode('/',$file); 217 217 if(count($file_name)>1){ 218 $f_arr[]=$dir['upload_url'].'/'. $file_name[1];218 $f_arr[]=$dir['upload_url'].'/'.end($file_name); 219 219 } 220 } 221 220 } 222 221 $val=$f_arr; 223 } 222 } 224 223 if(!isset($uploaded_files[$name])){ 225 224 $val=wp_unslash($val); … … 1922 1921 $arr=array("object"=>$feed["object"],"form_id"=>$form['id'],"status"=>$status,"entry_id"=>$entry_id,"crm_id"=>$id,"meta"=>$error,"time"=>date('Y-m-d H:i:s'),"data"=>$temp,"response"=>$this->post('response',$res),"extra"=>$this->post('extra',$res),"feed_id"=>$this->post('id',$feed),'parent_id'=>$parent_id,'event'=>$event,"link"=>$this->post('link',$res)); 1923 1922 $settings=get_option($this->type.'_settings',array()); 1924 //if($this->post('disable_log',$settings) !="yes"){1923 if($this->post('disable_log',$settings) !="yes"){ 1925 1924 $insert_id=$data_db->insert_log($arr,$log_id); 1926 //}1925 } 1927 1926 $log_link=''; 1928 1927 if(!empty($insert_id)){ // -
cf7-mailchimp/tags/1.2.1/readme.txt
r3346610 r3390573 4 4 Requires at least: 3.8 5 5 Tested up to: 6.8 6 Stable tag: 1.2. 07 Version: 1.2. 06 Stable tag: 1.2.1 7 Version: 1.2.1 8 8 Requires PHP: 5.3 9 9 License: GPLv3 … … 194 194 == Changelog == 195 195 196 197 = 1.2.1 = 198 * fixed "mfile upload field without entries plguin" issue. 199 * added "disable logs" feature. 200 196 201 = 1.2.0 = 197 202 * fixed "recreate missing db tables and permissions" issue. -
cf7-mailchimp/tags/1.2.1/templates/settings.php
r2588158 r3390573 66 66 </td> 67 67 </tr> 68 68 <tr> 69 <th scope="row"><label for="vx_plugin_logs"><?php esc_html_e('Mailchimp Logs', 'cf7-mailchimp'); ?></label> 70 </th> 71 <td> 72 <label for="vx_plugin_logs"><input type="checkbox" name="meta[disable_log]" value="yes" <?php if($this->post('disable_log',$meta) == "yes"){echo 'checked="checked"';} ?> id="vx_plugin_logs"><?php esc_html_e('Disable Storing Mailchimp Logs','cf7-mailchimp'); ?></label> 73 </td> 74 </tr> 69 75 70 76 <?php -
cf7-mailchimp/trunk/cf7-mailchimp.php
r3346610 r3390573 3 3 * Plugin Name: WP Contact Form Mailchimp 4 4 * Description: Integrates Contact Form 7, <a href="https://wordpress.org/plugins/contact-form-entries/">Contact Form Entries Plugin</a> and many other forms with Mailchimp allowing form submissions to be automatically sent to your Mailchimp account 5 * Version: 1.2. 05 * Version: 1.2.1 6 6 * Author URI: https://www.crmperks.com 7 7 * Plugin URI: https://www.crmperks.com/plugins/contact-form-plugins/contact-form-mailchimp-plugin/ … … 25 25 public $id = "vxcf_mailchimp"; 26 26 public $domain = "vxcf-mailchimp"; 27 public $version = "1.2. 0";27 public $version = "1.2.1"; 28 28 public $update_id = "6000001"; 29 29 public $min_cf_version = "1.0"; … … 210 210 } 211 211 212 if( !empty($val) && isset($v['basetype']) && $v['basetype'] == 'mfile' && function_exists('dnd_get_upload_dir') ){212 if( !empty($val) && isset($v['basetype']) && $v['basetype'] == 'mfile' && function_exists('dnd_get_upload_dir') ){ 213 213 $dir=dnd_get_upload_dir(); 214 214 $f_arr=array(); 215 215 foreach($val as $file){ 216 $file_name=explode('/',$file); 216 $file_name=explode('/',$file); 217 217 if(count($file_name)>1){ 218 $f_arr[]=$dir['upload_url'].'/'. $file_name[1];218 $f_arr[]=$dir['upload_url'].'/'.end($file_name); 219 219 } 220 } 221 220 } 222 221 $val=$f_arr; 223 } 222 } 224 223 if(!isset($uploaded_files[$name])){ 225 224 $val=wp_unslash($val); … … 1922 1921 $arr=array("object"=>$feed["object"],"form_id"=>$form['id'],"status"=>$status,"entry_id"=>$entry_id,"crm_id"=>$id,"meta"=>$error,"time"=>date('Y-m-d H:i:s'),"data"=>$temp,"response"=>$this->post('response',$res),"extra"=>$this->post('extra',$res),"feed_id"=>$this->post('id',$feed),'parent_id'=>$parent_id,'event'=>$event,"link"=>$this->post('link',$res)); 1923 1922 $settings=get_option($this->type.'_settings',array()); 1924 //if($this->post('disable_log',$settings) !="yes"){1923 if($this->post('disable_log',$settings) !="yes"){ 1925 1924 $insert_id=$data_db->insert_log($arr,$log_id); 1926 //}1925 } 1927 1926 $log_link=''; 1928 1927 if(!empty($insert_id)){ // -
cf7-mailchimp/trunk/readme.txt
r3346610 r3390573 4 4 Requires at least: 3.8 5 5 Tested up to: 6.8 6 Stable tag: 1.2. 07 Version: 1.2. 06 Stable tag: 1.2.1 7 Version: 1.2.1 8 8 Requires PHP: 5.3 9 9 License: GPLv3 … … 194 194 == Changelog == 195 195 196 197 = 1.2.1 = 198 * fixed "mfile upload field without entries plguin" issue. 199 * added "disable logs" feature. 200 196 201 = 1.2.0 = 197 202 * fixed "recreate missing db tables and permissions" issue. -
cf7-mailchimp/trunk/templates/settings.php
r2588158 r3390573 66 66 </td> 67 67 </tr> 68 68 <tr> 69 <th scope="row"><label for="vx_plugin_logs"><?php esc_html_e('Mailchimp Logs', 'cf7-mailchimp'); ?></label> 70 </th> 71 <td> 72 <label for="vx_plugin_logs"><input type="checkbox" name="meta[disable_log]" value="yes" <?php if($this->post('disable_log',$meta) == "yes"){echo 'checked="checked"';} ?> id="vx_plugin_logs"><?php esc_html_e('Disable Storing Mailchimp Logs','cf7-mailchimp'); ?></label> 73 </td> 74 </tr> 69 75 70 76 <?php
Note: See TracChangeset
for help on using the changeset viewer.