Plugin Directory

Changeset 3390573


Ignore:
Timestamp:
11/05/2025 03:48:58 PM (5 months ago)
Author:
CRMPerks
Message:

releasing 1.2.1

Location:
cf7-mailchimp
Files:
4 edited
7 copied

Legend:

Unmodified
Added
Removed
  • cf7-mailchimp/tags/1.2.1/cf7-mailchimp.php

    r3346610 r3390573  
    33* Plugin Name: WP Contact Form Mailchimp
    44* 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.0
     5* Version: 1.2.1
    66* Author URI: https://www.crmperks.com
    77* Plugin URI: https://www.crmperks.com/plugins/contact-form-plugins/contact-form-mailchimp-plugin/
     
    2525  public  $id = "vxcf_mailchimp";
    2626  public  $domain = "vxcf-mailchimp";
    27   public  $version = "1.2.0";
     27  public  $version = "1.2.1";
    2828  public  $update_id = "6000001";
    2929  public  $min_cf_version = "1.0";
     
    210210   }
    211211
    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') ){
    213213      $dir=dnd_get_upload_dir();
    214214     $f_arr=array();
    215215      foreach($val as $file){
    216      $file_name=explode('/',$file);
     216     $file_name=explode('/',$file); 
    217217     if(count($file_name)>1){
    218       $f_arr[]=$dir['upload_url'].'/'.$file_name[1];   
     218      $f_arr[]=$dir['upload_url'].'/'.end($file_name);   
    219219     }
    220       }
    221        
     220      }   
    222221   $val=$f_arr;   
    223    } 
     222   }   
    224223    if(!isset($uploaded_files[$name])){
    225224     $val=wp_unslash($val);   
     
    19221921  $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));
    19231922  $settings=get_option($this->type.'_settings',array());
    1924 //  if($this->post('disable_log',$settings) !="yes"){
     1923  if($this->post('disable_log',$settings) !="yes"){
    19251924   $insert_id=$data_db->insert_log($arr,$log_id);
    1926 //  }
     1925  }
    19271926  $log_link='';
    19281927    if(!empty($insert_id)){ //   
  • cf7-mailchimp/tags/1.2.1/readme.txt

    r3346610 r3390573  
    44Requires at least: 3.8
    55Tested up to: 6.8
    6 Stable tag: 1.2.0
    7 Version: 1.2.0
     6Stable tag: 1.2.1
     7Version: 1.2.1
    88Requires PHP: 5.3
    99License: GPLv3
     
    194194== Changelog ==
    195195
     196
     197= 1.2.1 =
     198* fixed "mfile upload field without entries plguin" issue.
     199* added "disable logs" feature.
     200
    196201= 1.2.0 =
    197202* fixed "recreate missing db tables and permissions" issue.
  • cf7-mailchimp/tags/1.2.1/templates/settings.php

    r2588158 r3390573  
    6666  </td>
    6767  </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>
    6975
    7076  <?php
  • cf7-mailchimp/trunk/cf7-mailchimp.php

    r3346610 r3390573  
    33* Plugin Name: WP Contact Form Mailchimp
    44* 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.0
     5* Version: 1.2.1
    66* Author URI: https://www.crmperks.com
    77* Plugin URI: https://www.crmperks.com/plugins/contact-form-plugins/contact-form-mailchimp-plugin/
     
    2525  public  $id = "vxcf_mailchimp";
    2626  public  $domain = "vxcf-mailchimp";
    27   public  $version = "1.2.0";
     27  public  $version = "1.2.1";
    2828  public  $update_id = "6000001";
    2929  public  $min_cf_version = "1.0";
     
    210210   }
    211211
    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') ){
    213213      $dir=dnd_get_upload_dir();
    214214     $f_arr=array();
    215215      foreach($val as $file){
    216      $file_name=explode('/',$file);
     216     $file_name=explode('/',$file); 
    217217     if(count($file_name)>1){
    218       $f_arr[]=$dir['upload_url'].'/'.$file_name[1];   
     218      $f_arr[]=$dir['upload_url'].'/'.end($file_name);   
    219219     }
    220       }
    221        
     220      }   
    222221   $val=$f_arr;   
    223    } 
     222   }   
    224223    if(!isset($uploaded_files[$name])){
    225224     $val=wp_unslash($val);   
     
    19221921  $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));
    19231922  $settings=get_option($this->type.'_settings',array());
    1924 //  if($this->post('disable_log',$settings) !="yes"){
     1923  if($this->post('disable_log',$settings) !="yes"){
    19251924   $insert_id=$data_db->insert_log($arr,$log_id);
    1926 //  }
     1925  }
    19271926  $log_link='';
    19281927    if(!empty($insert_id)){ //   
  • cf7-mailchimp/trunk/readme.txt

    r3346610 r3390573  
    44Requires at least: 3.8
    55Tested up to: 6.8
    6 Stable tag: 1.2.0
    7 Version: 1.2.0
     6Stable tag: 1.2.1
     7Version: 1.2.1
    88Requires PHP: 5.3
    99License: GPLv3
     
    194194== Changelog ==
    195195
     196
     197= 1.2.1 =
     198* fixed "mfile upload field without entries plguin" issue.
     199* added "disable logs" feature.
     200
    196201= 1.2.0 =
    197202* fixed "recreate missing db tables and permissions" issue.
  • cf7-mailchimp/trunk/templates/settings.php

    r2588158 r3390573  
    6666  </td>
    6767  </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>
    6975
    7076  <?php
Note: See TracChangeset for help on using the changeset viewer.