Plugin Directory

Changeset 2289248


Ignore:
Timestamp:
04/22/2020 12:29:44 PM (6 years ago)
Author:
nickjamescom
Message:

2.4.9
*Autoresponder Settings update bug fixed.
*Version Update.

Location:
apm-child/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apm-child/trunk/admin/classes/ESP.Class.php

    r2288500 r2289248  
    2121       
    2222        $current_date = date('Y-m-d G:i:s');
    23         $funnel_id = 0;
    24         $esp_list_id = 0;
    2523       
    2624        //--> Entry process for Crediantial
     
    5048        }
    5149       
    52         $this->apm_update_affiliates($esp_list_id, $funnel_id);
     50        $this->apm_update_affiliates("", "", "add_aff_setting");
    5351        $egmail_success = "List has been updated";
    5452        return $egmail_success;
     
    277275        if($egmail_error_found == FALSE)
    278276        {
    279             $this->apm_update_affiliates($esp_list_id, $funnel_id);
     277            $this->apm_update_affiliates($esp_list_id, $funnel_id, "update_aff_setting");
    280278            $egmail_success = "List has been updated";
    281279        }
     
    439437   
    440438   
    441     public function apm_update_affiliates($esp_list_id, $funnel_id)
     439    public function apm_update_affiliates($esp_list_id, $funnel_id, $type)
    442440    {
    443441        global $wpdb;
     
    483481        $getresponse_custom_field  = $recordCrediantial['getresponse_custom_field'];
    484482       
    485        
    486         $postdata = array(
    487             'mode' => 'update_affiliates',
    488             'user_email_id' => $user_email_id,
    489             'first_name' => $first_name,
    490             'last_name' => $last_name,
    491             'jv_zoo_id' => $jv_zoo_id,
    492             'aweber_auth_code' => $aweber_auth_code,
    493             'clickmagick_tracking_code' => $clickmagick_tracking_code,
    494             'consumerKey' => $consumerKey,
    495             'consumerSecret' => $consumerSecret,
    496             'accessKey' => $accessKey,
    497             'accessSecret' => $accessSecret,
    498             'aweber_account_number' => $aweber_account_number,
    499             'funnel_id' => $funnel_id,
    500             'email' => $email,
    501             'version' => $GLOBALS['APM_SUBSCRIPTION_VER'],
    502             'email_service_provider' => $email_service_provider,
    503             'clickbank_affiliate_nickname' => $clickbank_affiliate_nickname,
    504             'warriorplus_aff_id' => $warriorplus_aff_id,
    505             'sendeagle_api_key' => $sendeagle_api_key,
    506             'sendeagle_company_unique_id' => $sendeagle_company_unique_id,
    507             'sendeagle_company_name' => $sendeagle_company_name,
    508             'esp_list_id' => $esp_list_id,
    509             'jvz_infusionsoft_app_name' => $jvz_infusionsoft_app_name,
    510             'jvz_infusionsoft_api_key' => $jvz_infusionsoft_api_key,
    511             'getresponse_api_key' => $getresponse_api_key,
    512             'getresponse_custom_field' => $getresponse_custom_field,
    513         );
     483        if($type ==  "update_aff_setting")
     484        {
     485            $postdata = array(
     486                'mode' => 'update_affiliates',
     487                'user_email_id' => $user_email_id,
     488                'first_name' => $first_name,
     489                'last_name' => $last_name,
     490                'jv_zoo_id' => $jv_zoo_id,
     491                'aweber_auth_code' => $aweber_auth_code,
     492                'clickmagick_tracking_code' => $clickmagick_tracking_code,
     493                'consumerKey' => $consumerKey,
     494                'consumerSecret' => $consumerSecret,
     495                'accessKey' => $accessKey,
     496                'accessSecret' => $accessSecret,
     497                'aweber_account_number' => $aweber_account_number,
     498                'funnel_id' => $funnel_id,
     499                'email' => $email,
     500                'version' => $GLOBALS['APM_SUBSCRIPTION_VER'],
     501                'email_service_provider' => $email_service_provider,
     502                'clickbank_affiliate_nickname' => $clickbank_affiliate_nickname,
     503                'warriorplus_aff_id' => $warriorplus_aff_id,
     504                'sendeagle_api_key' => $sendeagle_api_key,
     505                'sendeagle_company_unique_id' => $sendeagle_company_unique_id,
     506                'sendeagle_company_name' => $sendeagle_company_name,
     507                'esp_list_id' => $esp_list_id,
     508                'jvz_infusionsoft_app_name' => $jvz_infusionsoft_app_name,
     509                'jvz_infusionsoft_api_key' => $jvz_infusionsoft_api_key,
     510                'getresponse_api_key' => $getresponse_api_key,
     511                'getresponse_custom_field' => $getresponse_custom_field,
     512            );
     513        }
     514        else
     515        {
     516            $postdata = array(
     517                'mode' => 'update_affiliates',
     518                'user_email_id' => $user_email_id,
     519                'first_name' => $first_name,
     520                'last_name' => $last_name,
     521                'email' => $email,
     522                'jv_zoo_id' => $jv_zoo_id,
     523                'clickbank_affiliate_nickname' => $clickbank_affiliate_nickname,
     524                'warriorplus_aff_id' => $warriorplus_aff_id,
     525                'email_service_provider' => $email_service_provider,
     526                'version' => $GLOBALS['APM_SUBSCRIPTION_VER'],
     527            );
     528        }
    514529   
    515530        $args = array(
  • apm-child/trunk/mc-main.php

    r2288978 r2289248  
    99Author: Nick James
    1010E-mail: admin@nickjamesadmin.com
    11 Version: 2.4.8
     11Version: 2.4.9
    1212Author URI: http://www.pluginpixie.com
    1313*/
    1414//ini_set('display_errors',1);
    1515global $APM_SUBSCRIPTION_VER;
    16 $APM_SUBSCRIPTION_VER = "2.4.8";
     16$APM_SUBSCRIPTION_VER = "2.4.9";
    1717
    1818define('APM_SUBSCRIPTION_PATH', plugins_url().'/'. basename(dirname(__FILE__)).'/');
  • apm-child/trunk/readme.txt

    r2288978 r2289248  
    169169*Bug fixes
    170170*Version Update.
     171
     1722.4.9
     173*Autoresponder Settings update bug fixed.
     174*Version Update.
Note: See TracChangeset for help on using the changeset viewer.