Plugin Directory

Changeset 3319750


Ignore:
Timestamp:
06/30/2025 07:56:30 AM (8 months ago)
Author:
smackcoders
Message:

Version 3.2 - WP Latest Compatibility & Minor bug fixes

Location:
wp-leads-builder-any-crm
Files:
122 added
4 edited

Legend:

Unmodified
Added
Removed
  • wp-leads-builder-any-crm/trunk/Readme.txt

    r3251971 r3319750  
    44Tags: 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,
    55Requires at least: 5.0
    6 Tested up to: 6.7
     6Tested up to: 6.8
    77Requires PHP: 5.3 or greater
    8 Stable tag: 3.1
    9 Version: 3.1
     8Stable tag: 3.2
     9Version: 3.2
    1010Author: smackcoders
    1111License: GPLv2 or later
     
    1616Empower 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.
    1717
    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
     21Great 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
     25Great 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
     29The 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.
    1930
    2031With the Lead Form Data Collection to CRM, you can:
     
    3041The 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.
    3142
    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 
    3543= Helpful links to try =
    3644
     
    146154* If the mail is not configured, the form will trigger an error message stating ‘Submission failed’.
    147155
    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 
    160156== Screenshots ==
    1611571. Suite CRM configuration option
     
    165161
    166162== Changelog ==
     163= 3.2 =
     164* Checked: Compatibility for WordPress 6.8
     165* Bug fixes
     166
    167167= 3.1 =
    168168* Added :Zoho CRM Canada DC support
     
    349349
    350350== Upgrade Notice ==
     351= 3.2 =
     352Upgrade now for latest WP Compatibility.
     353
    351354= 3.1 =
    352355Upgrade now for newly added features.
  • wp-leads-builder-any-crm/trunk/includes/Functions.php

    r3251486 r3319750  
    9494    public static function doFieldAjaxAction()
    9595    {
     96        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     97            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     98            return;
     99        }
    96100        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    97101        $crmtype = isset($_REQUEST['crmtype']) ? sanitize_text_field($_REQUEST['crmtype']) : "";
     
    407411    public function doNoFieldAjaxAction()
    408412    {
     413        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     414            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     415            return;
     416        }
    409417        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    410418        $shortcodedata =[];
     
    462470    public static function adminAllActionsPRO()
    463471    {
     472        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     473            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     474            return;
     475        }
     476
    464477        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    465478        $OverallFunctionObj = new OverallFunctionsPRO();
  • wp-leads-builder-any-crm/trunk/includes/LB_admin_ajax.php

    r3251486 r3319750  
    1212
    1313    public static function smlb_ajax_events(){
    14 
    1514        $ajax_actions = array(
    1615            'selectplugpro' => false,
     
    5756    public static function selectplugpro()
    5857    {
     58        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     59            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     60            return;
     61        }
    5962        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    6063        require_once(SM_LB_PRO_DIR . "templates/plugin-select.php");
     
    6366
    6467    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        }
    6572        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    6673        update_option('WpLeadBuilderProActivatedPlugin', 'wpsuitepro');
     
    7178    public static function createnew_form()
    7279    {
     80        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     81            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     82            return;
     83        }
    7384        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    7485        if(sanitize_text_field($_REQUEST['Action']) == 'createshortcode')
     
    98109    public static function SaveCRMconfig( )
    99110    {
     111        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     112            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     113            return;
     114        }
    100115        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    101116        require_once( SM_LB_PRO_DIR ."templates/saveCRMConfig.php" );
     
    106121    public static function adminAllActionsPRO()
    107122    {
     123        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     124            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     125            return;
     126        }
    108127        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    109128        require_once( SM_LB_PRO_DIR ."includes/Functions.php" );
     
    114133
    115134    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        }
    116139        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    117140        $save_camp_array = array();
     
    126149
    127150    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        }
    128155        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    129156        $mc_api_key = sanitize_text_field($_REQUEST['mc_apikey']);
     
    134161    public static function captcha_info()
    135162    {
     163        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     164            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     165            return;
     166        }
    136167        $final_captcha_array=[];
    137168        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
     
    144175    public static function droptable_info()
    145176    {
     177        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     178            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     179            return;
     180        }
    146181        $droptable_info=[];
    147182        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
     
    151186    }
    152187    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        }
    153192        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    154193        $thirdparty_values = sanitize_text_field($_REQUEST['value']);
     
    164203    }
    165204    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        }
    166209        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    167210        $option_value=get_option("wp_importfree_file"); 
     
    370413
    371414    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        }
    372419        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    373420        global $wpdb;
     
    422469    public static function wp_usersync_assignedto()
    423470    {
     471        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     472            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     473            return;
     474        }
    424475        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    425476        require_once( SM_LB_PRO_DIR ."templates/wp_assignedtouser.php" );
     
    429480    public static function TFA_auth_save()
    430481    {
     482        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     483            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     484            return;
     485        }
    431486        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    432487        $TFA_Authtoken_value = sanitize_text_field( $_REQUEST['authtoken']);
     
    444499    public static function mappingmodulepro()
    445500    {
     501        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     502            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     503            return;
     504        }
    446505        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    447506        $map_module = sanitize_text_field($_REQUEST['postdata']);
     
    452511    public static function Sync_settings_PRO( )
    453512    {
     513        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     514            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     515            return;
     516        }
    454517        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    455518        require_once( SM_LB_PRO_DIR .'templates/Sync-settings.php' );
     
    459522    public static function saveSyncValue()
    460523    {
     524        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     525            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     526            return;
     527        }
    461528        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    462529        require_once( SM_LB_PRO_DIR .'templates/save-sync-value.php' );
     
    466533    public static function send_mapping_configuration()
    467534    {
     535        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     536            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     537            return;
     538        }
    468539        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    469540        require_once( SM_LB_PRO_DIR .'templates/thirdparty_mapping.php' );
     
    476547    public static function get_thirdparty_fields()
    477548    {
     549        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     550            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     551            return;
     552        }
    478553        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    479554        require_once( SM_LB_PRO_DIR .'templates/thirdparty_mapping.php' );
     
    484559    public static function map_thirdparty_fields()
    485560    {
     561        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     562            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     563            return;
     564        }
    486565        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    487566        require_once( SM_LB_PRO_DIR .'templates/thirdparty_mapping.php' );
     
    492571    public static function save_thirdparty_form_title()
    493572    {
     573        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     574            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     575            return;
     576        }
    494577        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    495578        $thirdparty_title_key = sanitize_text_field($_REQUEST['tp_title_key']);
     
    500583
    501584    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        }
    503590        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    504591        require_once( SM_LB_PRO_DIR .'templates/thirdparty_mapping.php' );
     
    509596    public static function delete_mapped_config()
    510597    {
     598        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     599            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     600            return;
     601        }
    511602        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    512603        require_once( SM_LB_PRO_DIR .'templates/thirdparty_mapping.php' );
     
    516607
    517608    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        }
    518613        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    519614        $key = sanitize_text_field($_POST['key']);
     
    541636
    542637    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        }
    543642        if (!isset($_POST['securekey']) || !wp_verify_nonce($_POST['securekey'], 'smack-leads-builder-crm-key')) {
    544643            wp_send_json_error(['message' => 'Security check failed', 'status' => 403]);
     
    586685
    587686    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        }
    588691        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    589692        $active_plugin = get_option("WpLeadBuilderProActivatedPlugin");
     
    600703    public static function save_usersync_RR_option()
    601704    {
     705        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     706            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     707            return;
     708        }
    602709        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    603710        $usersync_RR_value = sanitize_text_field( $_REQUEST['user_rr_val'] );
     
    608715    public static function customfieldpro()
    609716    {
     717        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     718            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     719            return;
     720        }
    610721        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    611722        $custom_plugin = sanitize_text_field($_REQUEST['postdata']);
     
    692803    public static function change_ecom_module_config()
    693804    {
     805        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     806            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     807            return;
     808        }
    694809        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    695810        require_once( SM_LB_PRO_DIR .'templates/ecom_config.php');
     
    700815    public static function save_convert_lead()
    701816    {
     817        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     818            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     819            return;
     820        }
    702821        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    703822        $convert_val = sanitize_text_field( $_REQUEST['convert_lead']);
     
    707826    public static function map_ecom_fields()
    708827    {
     828        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     829            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     830            return;
     831        }
    709832        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    710833        require_once( SM_LB_PRO_DIR .'templates/ecom_config.php');
     
    715838    public static function map_sync_user_fields()
    716839    {
     840        if (!is_user_logged_in() || !current_user_can('manage_options')) {
     841            wp_send_json_error(['message' => 'Unauthorized access.'], 403);
     842            return;
     843        }
    717844        check_ajax_referer('smack-leads-builder-crm-key', 'securekey');
    718845        require_once(SM_LB_PRO_DIR . "includes/lb-syncuser.php");
  • wp-leads-builder-any-crm/trunk/index.php

    r3251486 r3319750  
    1111 * @wordpress-plugin
    1212 * Plugin Name: WP Leads Builder For Any CRM
    13  * Version:     3.1
     13 * Version:     3.2
    1414 * Plugin URI:  https://www.smackcoders.com/wp-leads-builder-any-crm-pro.html
    1515 * 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.
     
    3939class SM_WPLeadsBuilderForAnyCRMPro {
    4040
    41     public $version = '3.1';
     41    public $version = '3.2';
    4242
    4343    protected static $_instance = null;
Note: See TracChangeset for help on using the changeset viewer.