Changeset 2289248
- Timestamp:
- 04/22/2020 12:29:44 PM (6 years ago)
- Location:
- apm-child/trunk
- Files:
-
- 3 edited
-
admin/classes/ESP.Class.php (modified) (5 diffs)
-
mc-main.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
apm-child/trunk/admin/classes/ESP.Class.php
r2288500 r2289248 21 21 22 22 $current_date = date('Y-m-d G:i:s'); 23 $funnel_id = 0;24 $esp_list_id = 0;25 23 26 24 //--> Entry process for Crediantial … … 50 48 } 51 49 52 $this->apm_update_affiliates( $esp_list_id, $funnel_id);50 $this->apm_update_affiliates("", "", "add_aff_setting"); 53 51 $egmail_success = "List has been updated"; 54 52 return $egmail_success; … … 277 275 if($egmail_error_found == FALSE) 278 276 { 279 $this->apm_update_affiliates($esp_list_id, $funnel_id );277 $this->apm_update_affiliates($esp_list_id, $funnel_id, "update_aff_setting"); 280 278 $egmail_success = "List has been updated"; 281 279 } … … 439 437 440 438 441 public function apm_update_affiliates($esp_list_id, $funnel_id )439 public function apm_update_affiliates($esp_list_id, $funnel_id, $type) 442 440 { 443 441 global $wpdb; … … 483 481 $getresponse_custom_field = $recordCrediantial['getresponse_custom_field']; 484 482 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 } 514 529 515 530 $args = array( -
apm-child/trunk/mc-main.php
r2288978 r2289248 9 9 Author: Nick James 10 10 E-mail: admin@nickjamesadmin.com 11 Version: 2.4. 811 Version: 2.4.9 12 12 Author URI: http://www.pluginpixie.com 13 13 */ 14 14 //ini_set('display_errors',1); 15 15 global $APM_SUBSCRIPTION_VER; 16 $APM_SUBSCRIPTION_VER = "2.4. 8";16 $APM_SUBSCRIPTION_VER = "2.4.9"; 17 17 18 18 define('APM_SUBSCRIPTION_PATH', plugins_url().'/'. basename(dirname(__FILE__)).'/'); -
apm-child/trunk/readme.txt
r2288978 r2289248 169 169 *Bug fixes 170 170 *Version Update. 171 172 2.4.9 173 *Autoresponder Settings update bug fixed. 174 *Version Update.
Note: See TracChangeset
for help on using the changeset viewer.