Changeset 3319750
- Timestamp:
- 06/30/2025 07:56:30 AM (8 months ago)
- Location:
- wp-leads-builder-any-crm
- Files:
-
- 122 added
- 4 edited
-
tags/3.2 (added)
-
tags/3.2/ConfigureIncludedPlugins.php (added)
-
tags/3.2/Readme.txt (added)
-
tags/3.2/admin (added)
-
tags/3.2/admin/lb-admin.php (added)
-
tags/3.2/admin/views (added)
-
tags/3.2/admin/views/form-all-addons.php (added)
-
tags/3.2/admin/views/form-crmforms.php (added)
-
tags/3.2/admin/views/form-droptable.php (added)
-
tags/3.2/admin/views/form-managefields.php (added)
-
tags/3.2/admin/views/form-settings.php (added)
-
tags/3.2/admin/views/form-sugarcrmconfig.php (added)
-
tags/3.2/admin/views/form-usermodulemapping.php (added)
-
tags/3.2/admin/views/form-usersync.php (added)
-
tags/3.2/admin/views/hire-us.php (added)
-
tags/3.2/admin/views/upgrade-to-pro.php (added)
-
tags/3.2/assets (added)
-
tags/3.2/assets/css (added)
-
tags/3.2/assets/css/bootstrap-select.css (added)
-
tags/3.2/assets/css/bootstrap.css (added)
-
tags/3.2/assets/css/bootstrap.min.css (added)
-
tags/3.2/assets/css/font-awesome (added)
-
tags/3.2/assets/css/font-awesome/css (added)
-
tags/3.2/assets/css/font-awesome/css/font-awesome.css (added)
-
tags/3.2/assets/css/font-awesome/css/font-awesome.min.css (added)
-
tags/3.2/assets/css/font-awesome/webfonts (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-brands-400.eot (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-brands-400.svg (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-brands-400.ttf (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-brands-400.woff (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-brands-400.woff2 (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-regular-400.eot (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-regular-400.svg (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-regular-400.ttf (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-regular-400.woff (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-regular-400.woff2 (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-solid-900.eot (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-solid-900.svg (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-solid-900.ttf (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-solid-900.woff (added)
-
tags/3.2/assets/css/font-awesome/webfonts/fa-solid-900.woff2 (added)
-
tags/3.2/assets/css/frontendstyles.css (added)
-
tags/3.2/assets/css/icheck (added)
-
tags/3.2/assets/css/icheck/green.css (added)
-
tags/3.2/assets/css/icheck/green.png (added)
-
tags/3.2/assets/css/icheck/green@2x.png (added)
-
tags/3.2/assets/css/icomoon.css (added)
-
tags/3.2/assets/css/leads-builder.css (added)
-
tags/3.2/assets/css/mainstyle.css (added)
-
tags/3.2/assets/css/sweetalert.css (added)
-
tags/3.2/assets/fonts (added)
-
tags/3.2/assets/fonts/icomoon.eot (added)
-
tags/3.2/assets/fonts/icomoon.ttf (added)
-
tags/3.2/assets/fonts/icomoon.woff (added)
-
tags/3.2/assets/images (added)
-
tags/3.2/assets/images/ajax-loaders.gif (added)
-
tags/3.2/assets/images/arrow.png (added)
-
tags/3.2/assets/images/calendar.gif (added)
-
tags/3.2/assets/images/callout.gif (added)
-
tags/3.2/assets/images/circletick.png (added)
-
tags/3.2/assets/images/err.png (added)
-
tags/3.2/assets/images/help.png (added)
-
tags/3.2/assets/images/joforce-logo.png (added)
-
tags/3.2/assets/images/leadsIcon24.png (added)
-
tags/3.2/assets/images/tick.png (added)
-
tags/3.2/assets/images/tick_strict.png (added)
-
tags/3.2/assets/js (added)
-
tags/3.2/assets/js/basicaction.js (added)
-
tags/3.2/assets/js/bootstrap-modal.min.js (added)
-
tags/3.2/assets/js/bootstrap-select.js (added)
-
tags/3.2/assets/js/bootstrap.min.js (added)
-
tags/3.2/assets/js/icheck.min.js (added)
-
tags/3.2/assets/js/notify.js (added)
-
tags/3.2/assets/js/sweetalert-dev.js (added)
-
tags/3.2/assets/wp-leads-builder-banner.png (added)
-
tags/3.2/includes (added)
-
tags/3.2/includes/Functions.php (added)
-
tags/3.2/includes/LBContactFormPlugins.php (added)
-
tags/3.2/includes/LBData.php (added)
-
tags/3.2/includes/LB_admin_ajax.php (added)
-
tags/3.2/includes/WPCapture_includes_helper.php (added)
-
tags/3.2/includes/class_lb_manage_shortcodes.php (added)
-
tags/3.2/includes/joforceFunctions.php (added)
-
tags/3.2/includes/lb-main-helper.php (added)
-
tags/3.2/includes/lb-syncuser.php (added)
-
tags/3.2/includes/wpsuiteproFunctions.php (added)
-
tags/3.2/index.php (added)
-
tags/3.2/languages (added)
-
tags/3.2/languages/wp-leads-builder-any-crm-pro-fr_FR.mo (added)
-
tags/3.2/languages/wp-leads-builder-any-crm-pro-fr_FR.po (added)
-
tags/3.2/languages/wp-leads-builder-any-crm-pro-it_IT.mo (added)
-
tags/3.2/languages/wp-leads-builder-any-crm-pro-it_IT.po (added)
-
tags/3.2/languages/wp-leads-builder-any-crm-pro-nl_NL.mo (added)
-
tags/3.2/languages/wp-leads-builder-any-crm-pro-nl_NL.po (added)
-
tags/3.2/languages/wp-leads-builder-any-crm-pro-ru_RU.mo (added)
-
tags/3.2/languages/wp-leads-builder-any-crm-pro-ru_RU.po (added)
-
tags/3.2/languages/wp-leads-builder-any-crm-pro-sr_RS.mo (added)
-
tags/3.2/languages/wp-leads-builder-any-crm-pro-sr_RS.po (added)
-
tags/3.2/lib (added)
-
tags/3.2/lib/nusoap (added)
-
tags/3.2/lib/nusoap/license.txt (added)
-
tags/3.2/lib/nusoap/nusoap.php (added)
-
tags/3.2/screenshot-1.png (added)
-
tags/3.2/screenshot-2.png (added)
-
tags/3.2/screenshot-3.png (added)
-
tags/3.2/screenshot-4.png (added)
-
tags/3.2/screenshot-5.png (added)
-
tags/3.2/screenshot-6.png (added)
-
tags/3.2/templates (added)
-
tags/3.2/templates/SaveConfigHelper.php (added)
-
tags/3.2/templates/SmackContactFormGenerator.php (added)
-
tags/3.2/templates/Sync-settings.php (added)
-
tags/3.2/templates/caldera_form_field_handling.php (added)
-
tags/3.2/templates/contact_form_field_handling.php (added)
-
tags/3.2/templates/display-log.php (added)
-
tags/3.2/templates/plugin-select.php (added)
-
tags/3.2/templates/save-sync-value.php (added)
-
tags/3.2/templates/saveCRMConfig.php (added)
-
tags/3.2/templates/thirdparty_mapping.php (added)
-
tags/3.2/templates/wp_assignedtouser.php (added)
-
tags/3.2/templates/wpform_field_handling.php (added)
-
tags/3.2/templates/wpformpro_form_field_handling.php (added)
-
trunk/Readme.txt (modified) (6 diffs)
-
trunk/includes/Functions.php (modified) (3 diffs)
-
trunk/includes/LB_admin_ajax.php (modified) (33 diffs)
-
trunk/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-leads-builder-any-crm/trunk/Readme.txt
r3251971 r3319750 4 4 Tags: contact form 7, leads, wordpress to lead, webform to lead, lead capture, lead collectionl, lead management, wordpress to crm, wordpress to zoho crm plus, wordpress to zohocrm, wordpress to freshsales, wordpress to vtiger crm, wordpress to sugarcrm, 5 5 Requires at least: 5.0 6 Tested up to: 6. 76 Tested up to: 6.8 7 7 Requires PHP: 5.3 or greater 8 Stable tag: 3. 19 Version: 3. 18 Stable tag: 3.2 9 Version: 3.2 10 10 Author: smackcoders 11 11 License: GPLv2 or later … … 16 16 Empower your WordPress website with the Lead Form Data Collection to CRM plugin, your ultimate solution for capturing WordPress contact form data and effortlessly transferring it to your CRM as Leads or Contacts. This powerful lead form data collection to CRM tool simplifies the data collection process and seamlessly integrates it with your CRM system, eliminating the need for manual data entry and reducing potential errors. 17 17 18 ##Why Choose Lead Form Data Collection to CRM? 18 [https://wordpress.org/support/topic/great-product-superb-support-2/](https://wordpress.org/support/topic/great-product-superb-support-2/) 19 20 21 Great product. Superb support! I have been using the product for 3 years. It always functions as hoped for, and if not, there is reliable support! 22 23 [https://wordpress.org/support/topic/great-plugin-and-awesome-support-184/](https://wordpress.org/support/topic/great-plugin-and-awesome-support-184/) 24 25 Great plugin and awesome support. I had issues configuring the pro plugin initially. The customer support team was very prompt in solving my problem. The plugin itself is very, very useful to as I use suitecrm to manage my leads.It made my life so easy! Great work guys. Please keep it up! 26 27 [https://wordpress.org/support/topic/the-plugin-and-the-support-is-amazing/](https://wordpress.org/support/topic/the-plugin-and-the-support-is-amazing/) 28 29 The plugin and the support is amazing. We have been searching for a plugin for a long time that can integrate wordpress with vTiger, but we have not found any that meet the criteria required by our clients, until this one. Besides having integration with a lot of CRMs, it works with ContactForm7 and WooCommerce, the support team of this plugin is absolutely brilliant. I came to them with a connection problem that was caused by our server. They were patient and solved the problem quickly. In a word, A + plugin and support. 19 30 20 31 With the Lead Form Data Collection to CRM, you can: … … 30 41 The plugin’s simple and intuitive interface makes the form customization effortless. You can create, edit, and update form fields with ease to match your lead capture needs. Automate lead assignments, ensuring every submission reaches the right CRM user for quick follow-ups. Prevent from duplicate entries, customize success and error messages, fine-tune your form submissions and on. 31 42 32 > "The plugin and the support is amazing. We have been searching for a plugin for a long time that can integrate wordpress with vTiger, but we have not found any that meet the criteria required by our clients, until this one. Besides having integration with a lot of CRMs, it works with ContactForm7 and WooCommerce, the support team of this plugin is absolutely brilliant. I came to them with a connection problem that was caused by our server. They were patient and solved the problem quickly. In a word, A + plugin and support. - [Happy User!](https://wordpress.org/support/topic/the-plugin-and-the-support-is-amazing/)33 34 35 43 = Helpful links to try = 36 44 … … 146 154 * If the mail is not configured, the form will trigger an error message stating ‘Submission failed’. 147 155 148 3) Can I create custom web forms with this plugin?149 150 Yes, you can. The plugin enables you to generate web forms for lead data collection from default forms or forms created with form builder plugins like Contact Form 7. It also provides dynamic shortcodes for embedding these forms throughout your WordPress content.151 152 4) What additional features are available in the Pro version?153 154 Upgrading to the Pro version unlocks advanced features such as enhanced WordPress integration (syncing users and custom fields), WooCommerce integration (capturing checkout information and abandoned cart leads), support for third-party form builders like Ninja Forms and Gravity Forms, and advanced CRM lead conversion capabilities.155 156 5)How can I get support or access documentation for the plugin?157 You can get support by [creating a topic in the forum](https://wordpress.org/support/plugin/wp-leads-builder-any-crm/), where our team is ready to assist you. For self-help, explore our detailed [documentation available on our website](.158 159 160 156 == Screenshots == 161 157 1. Suite CRM configuration option … … 165 161 166 162 == Changelog == 163 = 3.2 = 164 * Checked: Compatibility for WordPress 6.8 165 * Bug fixes 166 167 167 = 3.1 = 168 168 * Added :Zoho CRM Canada DC support … … 349 349 350 350 == Upgrade Notice == 351 = 3.2 = 352 Upgrade now for latest WP Compatibility. 353 351 354 = 3.1 = 352 355 Upgrade now for newly added features. -
wp-leads-builder-any-crm/trunk/includes/Functions.php
r3251486 r3319750 94 94 public static function doFieldAjaxAction() 95 95 { 96 if (!is_user_logged_in() || !current_user_can('manage_options')) { 97 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 98 return; 99 } 96 100 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 97 101 $crmtype = isset($_REQUEST['crmtype']) ? sanitize_text_field($_REQUEST['crmtype']) : ""; … … 407 411 public function doNoFieldAjaxAction() 408 412 { 413 if (!is_user_logged_in() || !current_user_can('manage_options')) { 414 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 415 return; 416 } 409 417 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 410 418 $shortcodedata =[]; … … 462 470 public static function adminAllActionsPRO() 463 471 { 472 if (!is_user_logged_in() || !current_user_can('manage_options')) { 473 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 474 return; 475 } 476 464 477 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 465 478 $OverallFunctionObj = new OverallFunctionsPRO(); -
wp-leads-builder-any-crm/trunk/includes/LB_admin_ajax.php
r3251486 r3319750 12 12 13 13 public static function smlb_ajax_events(){ 14 15 14 $ajax_actions = array( 16 15 'selectplugpro' => false, … … 57 56 public static function selectplugpro() 58 57 { 58 if (!is_user_logged_in() || !current_user_can('manage_options')) { 59 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 60 return; 61 } 59 62 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 60 63 require_once(SM_LB_PRO_DIR . "templates/plugin-select.php"); … … 63 66 64 67 public static function SaveSuiteconfig(){ 68 if (!is_user_logged_in() || !current_user_can('manage_options')) { 69 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 70 return; 71 } 65 72 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 66 73 update_option('WpLeadBuilderProActivatedPlugin', 'wpsuitepro'); … … 71 78 public static function createnew_form() 72 79 { 80 if (!is_user_logged_in() || !current_user_can('manage_options')) { 81 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 82 return; 83 } 73 84 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 74 85 if(sanitize_text_field($_REQUEST['Action']) == 'createshortcode') … … 98 109 public static function SaveCRMconfig( ) 99 110 { 111 if (!is_user_logged_in() || !current_user_can('manage_options')) { 112 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 113 return; 114 } 100 115 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 101 116 require_once( SM_LB_PRO_DIR ."templates/saveCRMConfig.php" ); … … 106 121 public static function adminAllActionsPRO() 107 122 { 123 if (!is_user_logged_in() || !current_user_can('manage_options')) { 124 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 125 return; 126 } 108 127 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 109 128 require_once( SM_LB_PRO_DIR ."includes/Functions.php" ); … … 114 133 115 134 public static function save_campaign_details(){ 135 if (!is_user_logged_in() || !current_user_can('manage_options')) { 136 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 137 return; 138 } 116 139 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 117 140 $save_camp_array = array(); … … 126 149 127 150 public static function save_apikey(){ 151 if (!is_user_logged_in() || !current_user_can('manage_options')) { 152 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 153 return; 154 } 128 155 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 129 156 $mc_api_key = sanitize_text_field($_REQUEST['mc_apikey']); … … 134 161 public static function captcha_info() 135 162 { 163 if (!is_user_logged_in() || !current_user_can('manage_options')) { 164 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 165 return; 166 } 136 167 $final_captcha_array=[]; 137 168 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); … … 144 175 public static function droptable_info() 145 176 { 177 if (!is_user_logged_in() || !current_user_can('manage_options')) { 178 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 179 return; 180 } 146 181 $droptable_info=[]; 147 182 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); … … 151 186 } 152 187 public static function import_file(){ 188 if (!is_user_logged_in() || !current_user_can('manage_options')) { 189 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 190 return; 191 } 153 192 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 154 193 $thirdparty_values = sanitize_text_field($_REQUEST['value']); … … 164 203 } 165 204 public static function file_import(){ 205 if (!is_user_logged_in() || !current_user_can('manage_options')) { 206 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 207 return; 208 } 166 209 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 167 210 $option_value=get_option("wp_importfree_file"); … … 370 413 371 414 public static function download_json(){ 415 if (!is_user_logged_in() || !current_user_can('manage_options')) { 416 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 417 return; 418 } 372 419 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 373 420 global $wpdb; … … 422 469 public static function wp_usersync_assignedto() 423 470 { 471 if (!is_user_logged_in() || !current_user_can('manage_options')) { 472 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 473 return; 474 } 424 475 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 425 476 require_once( SM_LB_PRO_DIR ."templates/wp_assignedtouser.php" ); … … 429 480 public static function TFA_auth_save() 430 481 { 482 if (!is_user_logged_in() || !current_user_can('manage_options')) { 483 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 484 return; 485 } 431 486 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 432 487 $TFA_Authtoken_value = sanitize_text_field( $_REQUEST['authtoken']); … … 444 499 public static function mappingmodulepro() 445 500 { 501 if (!is_user_logged_in() || !current_user_can('manage_options')) { 502 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 503 return; 504 } 446 505 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 447 506 $map_module = sanitize_text_field($_REQUEST['postdata']); … … 452 511 public static function Sync_settings_PRO( ) 453 512 { 513 if (!is_user_logged_in() || !current_user_can('manage_options')) { 514 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 515 return; 516 } 454 517 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 455 518 require_once( SM_LB_PRO_DIR .'templates/Sync-settings.php' ); … … 459 522 public static function saveSyncValue() 460 523 { 524 if (!is_user_logged_in() || !current_user_can('manage_options')) { 525 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 526 return; 527 } 461 528 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 462 529 require_once( SM_LB_PRO_DIR .'templates/save-sync-value.php' ); … … 466 533 public static function send_mapping_configuration() 467 534 { 535 if (!is_user_logged_in() || !current_user_can('manage_options')) { 536 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 537 return; 538 } 468 539 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 469 540 require_once( SM_LB_PRO_DIR .'templates/thirdparty_mapping.php' ); … … 476 547 public static function get_thirdparty_fields() 477 548 { 549 if (!is_user_logged_in() || !current_user_can('manage_options')) { 550 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 551 return; 552 } 478 553 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 479 554 require_once( SM_LB_PRO_DIR .'templates/thirdparty_mapping.php' ); … … 484 559 public static function map_thirdparty_fields() 485 560 { 561 if (!is_user_logged_in() || !current_user_can('manage_options')) { 562 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 563 return; 564 } 486 565 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 487 566 require_once( SM_LB_PRO_DIR .'templates/thirdparty_mapping.php' ); … … 492 571 public static function save_thirdparty_form_title() 493 572 { 573 if (!is_user_logged_in() || !current_user_can('manage_options')) { 574 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 575 return; 576 } 494 577 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 495 578 $thirdparty_title_key = sanitize_text_field($_REQUEST['tp_title_key']); … … 500 583 501 584 public static function send_mapped_config() 502 { 585 { 586 if (!is_user_logged_in() || !current_user_can('manage_options')) { 587 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 588 return; 589 } 503 590 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 504 591 require_once( SM_LB_PRO_DIR .'templates/thirdparty_mapping.php' ); … … 509 596 public static function delete_mapped_config() 510 597 { 598 if (!is_user_logged_in() || !current_user_can('manage_options')) { 599 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 600 return; 601 } 511 602 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 512 603 require_once( SM_LB_PRO_DIR .'templates/thirdparty_mapping.php' ); … … 516 607 517 608 public static function saveSFSettings() { 609 if (!is_user_logged_in() || !current_user_can('manage_options')) { 610 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 611 return; 612 } 518 613 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 519 614 $key = sanitize_text_field($_POST['key']); … … 541 636 542 637 public static function saveZohoSettings() { 638 if (!is_user_logged_in() || !current_user_can('manage_options')) { 639 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 640 return; 641 } 543 642 if (!isset($_POST['securekey']) || !wp_verify_nonce($_POST['securekey'], 'smack-leads-builder-crm-key')) { 544 643 wp_send_json_error(['message' => 'Security check failed', 'status' => 403]); … … 586 685 587 686 public static function zohoCRMRedirect(){ 687 if (!is_user_logged_in() || !current_user_can('manage_options')) { 688 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 689 return; 690 } 588 691 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 589 692 $active_plugin = get_option("WpLeadBuilderProActivatedPlugin"); … … 600 703 public static function save_usersync_RR_option() 601 704 { 705 if (!is_user_logged_in() || !current_user_can('manage_options')) { 706 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 707 return; 708 } 602 709 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 603 710 $usersync_RR_value = sanitize_text_field( $_REQUEST['user_rr_val'] ); … … 608 715 public static function customfieldpro() 609 716 { 717 if (!is_user_logged_in() || !current_user_can('manage_options')) { 718 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 719 return; 720 } 610 721 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 611 722 $custom_plugin = sanitize_text_field($_REQUEST['postdata']); … … 692 803 public static function change_ecom_module_config() 693 804 { 805 if (!is_user_logged_in() || !current_user_can('manage_options')) { 806 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 807 return; 808 } 694 809 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 695 810 require_once( SM_LB_PRO_DIR .'templates/ecom_config.php'); … … 700 815 public static function save_convert_lead() 701 816 { 817 if (!is_user_logged_in() || !current_user_can('manage_options')) { 818 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 819 return; 820 } 702 821 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 703 822 $convert_val = sanitize_text_field( $_REQUEST['convert_lead']); … … 707 826 public static function map_ecom_fields() 708 827 { 828 if (!is_user_logged_in() || !current_user_can('manage_options')) { 829 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 830 return; 831 } 709 832 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 710 833 require_once( SM_LB_PRO_DIR .'templates/ecom_config.php'); … … 715 838 public static function map_sync_user_fields() 716 839 { 840 if (!is_user_logged_in() || !current_user_can('manage_options')) { 841 wp_send_json_error(['message' => 'Unauthorized access.'], 403); 842 return; 843 } 717 844 check_ajax_referer('smack-leads-builder-crm-key', 'securekey'); 718 845 require_once(SM_LB_PRO_DIR . "includes/lb-syncuser.php"); -
wp-leads-builder-any-crm/trunk/index.php
r3251486 r3319750 11 11 * @wordpress-plugin 12 12 * Plugin Name: WP Leads Builder For Any CRM 13 * Version: 3. 113 * Version: 3.2 14 14 * Plugin URI: https://www.smackcoders.com/wp-leads-builder-any-crm-pro.html 15 15 * Description: Sync data from Webforms (contact 7 , Ninja & Gravity ) and WP User data to Salesforce, Zoho CRM, Zoho CRM Plus, Vtiger CRM, SuiteCRM, Sugar CRM & Freshsales CRM. Embed forms as Posts, Pages & Widgets. … … 39 39 class SM_WPLeadsBuilderForAnyCRMPro { 40 40 41 public $version = '3. 1';41 public $version = '3.2'; 42 42 43 43 protected static $_instance = null;
Note: See TracChangeset
for help on using the changeset viewer.