Changeset 2827978
- Timestamp:
- 12/02/2022 10:53:52 PM (3 years ago)
- Location:
- integrate-sharpspring-and-gravity-forms
- Files:
-
- 8 edited
- 1 copied
-
tags/1.0.4 (copied) (copied from integrate-sharpspring-and-gravity-forms/trunk)
-
tags/1.0.4/class-integrate-sharpspring-and-gravity-forms.php (modified) (1 diff)
-
tags/1.0.4/integrate-sharpspring-and-gravity-forms.php (modified) (1 diff)
-
tags/1.0.4/js/form_settings.js (modified) (1 diff)
-
tags/1.0.4/readme.txt (modified) (4 diffs)
-
trunk/class-integrate-sharpspring-and-gravity-forms.php (modified) (1 diff)
-
trunk/integrate-sharpspring-and-gravity-forms.php (modified) (1 diff)
-
trunk/js/form_settings.js (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
integrate-sharpspring-and-gravity-forms/tags/1.0.4/class-integrate-sharpspring-and-gravity-forms.php
r2530005 r2827978 428 428 $lead_post = $this->sharpspring_post( $params, 'createLeads'); 429 429 $lead_post = json_decode($lead_post['body'], true); 430 $lead_error = $lead_post['result']['creates'][0]['error']['code']; 431 432 // Check to see if the lead is created already, if so grab the ID. 433 if( $lead_error == '301' ) { 434 $lead_params = array( 'where' => array( 'emailAddress' => $params['emailAddress'] ) ); 435 $lead_results = $this->sharpspring_post( $lead_params, 'getLeads'); 436 $lead_results = json_decode($lead_results['body'], true); 437 $lead_id = $lead_results['result']['lead'][0]['id']; 438 439 // If lead already exists, update the lead's information 440 $lead_updated = $this->sharpspring_post( $params, 'updateLeads' ); 430 431 if( isset( $lead_post['result']['creates'][0]['error']['code'] ) ) { 432 $lead_error = $lead_post['result']['creates'][0]['error']['code']; 433 434 if( $lead_error == '301' ) { 435 $lead_params = array( 'where' => array( 'emailAddress' => $params['emailAddress'] ) ); 436 $lead_results = $this->sharpspring_post( $lead_params, 'getLeads'); 437 $lead_results = json_decode($lead_results['body'], true); 438 $lead_id = $lead_results['result']['lead'][0]['id']; 439 440 // If lead already exists, update the lead's information 441 $lead_updated = $this->sharpspring_post( $params, 'updateLeads' ); 442 } 441 443 } else { 442 $lead_id = $lead_post['result']['creates'][0]['id']; 444 // Check to see if the lead is created already, if so grab the ID. 445 $lead_id = $lead_post['result']['creates'][0]['id']; 443 446 } 444 447 -
integrate-sharpspring-and-gravity-forms/tags/1.0.4/integrate-sharpspring-and-gravity-forms.php
r2530006 r2827978 3 3 Plugin Name: Integrate SharpSpring and Gravity Forms 4 4 Description: Integrates Gravity Forms with SharpSpring, allowing form submissions to be automatically sent to your SharpSpring account. 5 Version: 1.0. 35 Version: 1.0.4 6 6 Author: Oyova 7 7 Author URI: https://www.oyova.com 8 8 */ 9 9 10 define('INTEGRATE_SHARPSPRING_AND_GRAVITY_FORMS', '1.0 ');10 define('INTEGRATE_SHARPSPRING_AND_GRAVITY_FORMS', '1.0.4'); 11 11 12 12 add_action('gform_loaded', array('ISGF_GF_Simple_Feed_AddOn_Bootstrap', 'load'), 5); -
integrate-sharpspring-and-gravity-forms/tags/1.0.4/js/form_settings.js
r2396277 r2827978 1 1 jQuery(function() { 2 var $customFieldCheckbox = jQuery('.customfield-checkbox').prop('checked'),3 $customFields = jQuery('#gaddon-setting-row-mappedFieldsCustom, #_gform_setting_mappedFieldsCustom_container');2 var $customFieldCheckbox = $('.customfield-checkbox').prop('checked'), 3 $customFields = $('#gaddon-setting-row-mappedFieldsCustom, #_gform_setting_mappedFieldsCustom_container'); 4 4 5 5 // If checkbox is checked show custom fields -
integrate-sharpspring-and-gravity-forms/tags/1.0.4/readme.txt
r2530005 r2827978 4 4 Tags: Gravity Forms, CRM, SharpSpring 5 5 Requires at least: 5.4 6 Tested up to: 5.77 Stable tag: 5.76 Tested up to: 6.1 7 Stable tag: 1.0.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 15 15 ## Intelligent Integration 16 16 17 Connect your forms with Sharp Spring and push your lead data into your lists. Capture new leads from any form on your site, they will automatically be added to your contact manager as a lead. Have one form connect to multiple lists and capture different data using multiple feeds on one form.17 Connect your forms with SharpSpring and push your lead data into your lists. Capture new leads from any form on your site, they will automatically be added to your contact manager as a lead. Have one form connect to multiple lists and capture different data using multiple feeds on one form. 18 18 19 19 ## Custom Fields 20 20 21 Capture more data than the basics. Create custom fields in Sharp Spring and easily map them to any field from your form. That data will then be mapped to your new lead.21 Capture more data than the basics. Create custom fields in SharpSpring and easily map them to any field from your form. That data will then be mapped to your new lead. 22 22 23 23 ## Conditional Logic … … 27 27 ## Integrate SharpSpring and Gravity Forms Setup: 28 28 29 * Go To Forms -> Settings -> SharpSpring -> Add API settings ( These can be found in Shar Spring: Sharpsring Settings -> Sharpspring API -> API Settings )30 * Go to Forms -> Select any Form -> Settings -> SharpS spring -> Create feed ( Create One )29 * Go To Forms -> Settings -> SharpSpring -> Add API settings ( These can be found in SharpSpring: SharpSpring Settings -> Sharppring API -> API Settings ) 30 * Go to Forms -> Select any Form -> Settings -> SharpSpring -> Create feed ( Create One ) 31 31 * Feed Settings -> Create feed name -> Choose a list -> Map form fields -> Update settings 32 32 … … 38 38 39 39 == Changelog == 40 41 = 1.0.4 = 42 *Release Date - 2 December 2022* 43 44 * Dev - Increment tested value: 6.1. 45 * Corrected readme typographical errors. 46 * Dev - Corrected null offset warning. 40 47 41 48 = 1.0.3 = -
integrate-sharpspring-and-gravity-forms/trunk/class-integrate-sharpspring-and-gravity-forms.php
r2530005 r2827978 428 428 $lead_post = $this->sharpspring_post( $params, 'createLeads'); 429 429 $lead_post = json_decode($lead_post['body'], true); 430 $lead_error = $lead_post['result']['creates'][0]['error']['code']; 431 432 // Check to see if the lead is created already, if so grab the ID. 433 if( $lead_error == '301' ) { 434 $lead_params = array( 'where' => array( 'emailAddress' => $params['emailAddress'] ) ); 435 $lead_results = $this->sharpspring_post( $lead_params, 'getLeads'); 436 $lead_results = json_decode($lead_results['body'], true); 437 $lead_id = $lead_results['result']['lead'][0]['id']; 438 439 // If lead already exists, update the lead's information 440 $lead_updated = $this->sharpspring_post( $params, 'updateLeads' ); 430 431 if( isset( $lead_post['result']['creates'][0]['error']['code'] ) ) { 432 $lead_error = $lead_post['result']['creates'][0]['error']['code']; 433 434 if( $lead_error == '301' ) { 435 $lead_params = array( 'where' => array( 'emailAddress' => $params['emailAddress'] ) ); 436 $lead_results = $this->sharpspring_post( $lead_params, 'getLeads'); 437 $lead_results = json_decode($lead_results['body'], true); 438 $lead_id = $lead_results['result']['lead'][0]['id']; 439 440 // If lead already exists, update the lead's information 441 $lead_updated = $this->sharpspring_post( $params, 'updateLeads' ); 442 } 441 443 } else { 442 $lead_id = $lead_post['result']['creates'][0]['id']; 444 // Check to see if the lead is created already, if so grab the ID. 445 $lead_id = $lead_post['result']['creates'][0]['id']; 443 446 } 444 447 -
integrate-sharpspring-and-gravity-forms/trunk/integrate-sharpspring-and-gravity-forms.php
r2530006 r2827978 3 3 Plugin Name: Integrate SharpSpring and Gravity Forms 4 4 Description: Integrates Gravity Forms with SharpSpring, allowing form submissions to be automatically sent to your SharpSpring account. 5 Version: 1.0. 35 Version: 1.0.4 6 6 Author: Oyova 7 7 Author URI: https://www.oyova.com 8 8 */ 9 9 10 define('INTEGRATE_SHARPSPRING_AND_GRAVITY_FORMS', '1.0 ');10 define('INTEGRATE_SHARPSPRING_AND_GRAVITY_FORMS', '1.0.4'); 11 11 12 12 add_action('gform_loaded', array('ISGF_GF_Simple_Feed_AddOn_Bootstrap', 'load'), 5); -
integrate-sharpspring-and-gravity-forms/trunk/js/form_settings.js
r2396277 r2827978 1 1 jQuery(function() { 2 var $customFieldCheckbox = jQuery('.customfield-checkbox').prop('checked'),3 $customFields = jQuery('#gaddon-setting-row-mappedFieldsCustom, #_gform_setting_mappedFieldsCustom_container');2 var $customFieldCheckbox = $('.customfield-checkbox').prop('checked'), 3 $customFields = $('#gaddon-setting-row-mappedFieldsCustom, #_gform_setting_mappedFieldsCustom_container'); 4 4 5 5 // If checkbox is checked show custom fields -
integrate-sharpspring-and-gravity-forms/trunk/readme.txt
r2530005 r2827978 4 4 Tags: Gravity Forms, CRM, SharpSpring 5 5 Requires at least: 5.4 6 Tested up to: 5.77 Stable tag: 5.76 Tested up to: 6.1 7 Stable tag: 1.0.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 15 15 ## Intelligent Integration 16 16 17 Connect your forms with Sharp Spring and push your lead data into your lists. Capture new leads from any form on your site, they will automatically be added to your contact manager as a lead. Have one form connect to multiple lists and capture different data using multiple feeds on one form.17 Connect your forms with SharpSpring and push your lead data into your lists. Capture new leads from any form on your site, they will automatically be added to your contact manager as a lead. Have one form connect to multiple lists and capture different data using multiple feeds on one form. 18 18 19 19 ## Custom Fields 20 20 21 Capture more data than the basics. Create custom fields in Sharp Spring and easily map them to any field from your form. That data will then be mapped to your new lead.21 Capture more data than the basics. Create custom fields in SharpSpring and easily map them to any field from your form. That data will then be mapped to your new lead. 22 22 23 23 ## Conditional Logic … … 27 27 ## Integrate SharpSpring and Gravity Forms Setup: 28 28 29 * Go To Forms -> Settings -> SharpSpring -> Add API settings ( These can be found in Shar Spring: Sharpsring Settings -> Sharpspring API -> API Settings )30 * Go to Forms -> Select any Form -> Settings -> SharpS spring -> Create feed ( Create One )29 * Go To Forms -> Settings -> SharpSpring -> Add API settings ( These can be found in SharpSpring: SharpSpring Settings -> Sharppring API -> API Settings ) 30 * Go to Forms -> Select any Form -> Settings -> SharpSpring -> Create feed ( Create One ) 31 31 * Feed Settings -> Create feed name -> Choose a list -> Map form fields -> Update settings 32 32 … … 38 38 39 39 == Changelog == 40 41 = 1.0.4 = 42 *Release Date - 2 December 2022* 43 44 * Dev - Increment tested value: 6.1. 45 * Corrected readme typographical errors. 46 * Dev - Corrected null offset warning. 40 47 41 48 = 1.0.3 =
Note: See TracChangeset
for help on using the changeset viewer.