Plugin Directory

Changeset 3243804


Ignore:
Timestamp:
02/20/2025 10:47:35 AM (12 months ago)
Author:
itpathsolutions
Message:

0.0.4

*Release Date 20 February 2025*

  • New - Documentation Page added
  • Fix - Minor fixes and updates
  • Enhancement - More API Support added
Location:
connect-wpform-to-any-api
Files:
37 added
5 edited

Legend:

Unmodified
Added
Removed
  • connect-wpform-to-any-api/trunk/README.txt

    r3201546 r3243804  
    55Tested up to: 6.7
    66Requires PHP: 7.4
    7 Stable tag: 0.0.3
     7Stable tag: 0.0.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    9191== Changelog ==
    9292
     93= 0.0.4 =
     94
     95*Release Date 20 February 2025*
     96
     97* New - Documentation Page added
     98* Fix - Minor fixes and updates
     99* Enhancement - More API Support added
     100
    93101= 0.0.3 =
    94102* Fixed Notice Issue
  • connect-wpform-to-any-api/trunk/admin/class-wpform-to-any-api-admin.php

    r3161499 r3243804  
    143143            array(&$this,'wpformapi_logs_callback')
    144144        );
     145
     146        add_submenu_page(
     147            'edit.php?post_type=wpform_api',
     148            __('Documentation', 'connect-wpform-to-any-api'),
     149            __('Documentation', 'connect-wpform-to-any-api'),
     150            'manage_options',
     151            'wpformapi_docs',
     152            array(&$this,'wpformapi_submenu_docs_callback')
     153        );
    145154    }
    146155
     
    152161     * */
    153162    public function wpform_to_any_api_add_settings_link( $links, $file ){
    154 
    155         if($file === 'wpform-to-any-api/wpform-to-any-api.php' && current_user_can('manage_options')){
    156 
     163        if($file === 'connect-wpform-to-any-api/wpform-to-any-api.php' && current_user_can('manage_options')){
    157164            $settings_url   = admin_url('edit.php?post_type=wpform_api');
    158165            $documentation  = admin_url('edit.php?post_type=wpform_api&page=wpformapi_docs');
    159166            $links = (array) $links;
    160167            $links[] = sprintf('<a href="%s">%s</a>', $settings_url, __('Settings','connect-wpform-to-any-api'));
     168            $links[] = sprintf('<a href="%s">%s</a>', $documentation, __('Documentation','connect-wpform-to-any-api'));
    161169        }
    162170
     
    366374    }
    367375
     376    public function wpformapi_submenu_docs_callback(){
     377        include dirname(__FILE__).'/partials/wpform-to-any-api-admin-display-docs.php';
     378    }
     379
    368380    /**
    369381     * Manage Column on api list view
     
    601613        $wpdb->insert($table,$data);
    602614    }
     615
     616    // Function to add additional links in plugin meta area of plugin listing page
     617    public function wpformanyapi_add_plugin_links($links, $file) {
     618       
     619        if ($file == 'connect-wpform-to-any-api/wpform-to-any-api.php') {
     620            $new_links = array(
     621                '<a href="https://www.contactformtoapi.com/#contact_us" target="_blank">Support</a>',               
     622                '<a href="https://www.contactformtoapi.com/#contact_us" target="_blank">Need Customization?</a>',       
     623                '<a href="https://www.contactformtoapi.com/pricing/#crm" target="_blank">Supported CRM/API</a>',
     624                '<a href="https://wordpress.org/plugins/contact-form-to-any-api/" target="_blank">Contact Form to Any API</a>'
     625            );
     626
     627            // Merge new links with existing ones
     628            $links = array_merge($links, $new_links);
     629        }
     630        return $links;
     631    }
    603632}
  • connect-wpform-to-any-api/trunk/admin/css/wpform-to-any-api-admin.css

    r3161499 r3243804  
    208208    margin: 12px;
    209209}
    210 .wpform_api_page_wpformapi_docs .nav-pills .nav-link.active{
     210/* .wpform_api_page_wpformapi_docs .nav-pills .nav-link.active{
    211211    background-color: #2271b1 !important;
    212 }
    213 .wpform_api_page_wpformapi_docs .wpformapi_doc{
    214     font-size: 17px;
     212}  */
     213.wpform_api_page_wpformapi_docs .cf7anyapi_doc, .wpform_api_page_wpformapi_docs .cf7anyapi_doc p{
     214    /*    font-size: 17px;*/
     215        font-size:14px;
     216}
     217.wpform_api_page_wpformapi_docs .cf7anyapi_doc{
    215218    padding: 40px;
    216 } 
     219}
    217220.wpform_api_page_wpformapi_docs .row{
    218221    margin-top: 25px;
    219222    border: 1px solid #ccc;
    220223}
    221 .wpform_api_page_wpformapi_docs .col-2.tab{
    222     border: 1px solid #ccc;
     224.wpform_api_page_wpformapi_docs .column-tab-nav.tab{
     225    border: 1px solid #e0e0e0;
    223226    padding: 0px;
    224     background-color: #eeebe6;
    225 }
    226 .wpform_api_page_wpformapi_docs .nav.flex-column.nav-pills a:hover {
     227    /* background-color: #eeebe6; */
     228}
     229/* .wpform_api_page_wpformapi_docs .nav.flex-column.nav-pills a:hover {
    227230    background-color: #ddd;
    228   }
     231  } */
    229232.wpform_api_page_wpformapi_docs .col-7.tab{
    230233    border: 1px solid #ccc;
     
    243246
    244247
    245 .wpform_api_page_wpformapi_docs .wpformapi_full_width pre { margin:15px 15px; }
    246 .wpform_api_page_wpformapi_docs .wpformapi_full_width ol li{margin-bottom:15px;  }
     248.wpform_api_page_wpformapi_docs .cf7anyapi_full_width pre { margin:15px 15px; }
     249.wpform_api_page_wpformapi_docs .cf7anyapi_full_width ol li{margin-bottom:15px;  }
    247250
    248251.cf7-any-api-modal {
     
    284287    height: 100px;
    285288}
    286 .cf7-any-api-modal .reason textarea{
     289/* .cf7-any-api-modal .reason textarea{
    287290    display: none;
    288 }
     291} */
    289292.cf7-any-api-modal .cf7-any-api-modal-header h4 {
    290293    margin: 0;
     
    346349    height: 100%;
    347350}
     351
     352/* New Css */
     353.tab-pane pre {
     354    background: #eee;
     355    padding: 10px;
     356    border-radius: 5px;
     357    overflow-x: auto;
     358}
     359.tab-pane ul {
     360    margin: 20px 0;
     361    padding-left: 40px;
     362}
     363.tab-pane ol ul, .tab-pane ul {
     364    list-style-type: circle;
     365    list-style-type: disclosure-closed;
     366}
     367.tab-pane ol li::marker {
     368    font-weight: bolder;
     369}
     370.tab-pane ul li::marker {
     371    color: #015e8c;
     372}
     373.tab-pane li {
     374    margin-bottom: 10px;
     375}
     376.tab-pane code {
     377    background: #f4f4f4;
     378    padding: 2px 4px;
     379    border-radius: 4px;
     380    color: #c7254e;
     381}
     382.tab-pane .tab-title {
     383    background: #e5f1f8;
     384    border-bottom: 4px solid #007cba;
     385    padding: 10px;
     386    margin: 20px 0;
     387    border-radius: 5px;
     388}
     389.cf7anyapi_doc .nav.nav-pills .nav-link {
     390    color: #007cba;
     391    background-color: transparent;
     392    display: grid;
     393    align-items: center;
     394    grid-template-columns: 48px auto;
     395    border-right: none;
     396    border-bottom: 1px solid #e0e0e0;
     397    border-radius: 0;
     398    padding: 12px 16px;
     399    font-size: 14px;
     400    font-weight: 600;
     401    box-shadow: inset 5px 0 0 0 transparent;
     402}
     403.cf7anyapi_doc .nav.nav-pills .nav-link:hover{
     404    background-color: #f6f7f7;
     405}
     406.cf7anyapi_doc .nav.nav-pills .nav-link:focus {
     407    box-shadow: none;
     408}
     409
     410.cf7anyapi_doc .nav.nav-pills .nav-link.active {
     411    box-shadow: inset 5px 0 0 0 #007cba;
     412    transition: box-shadow .1s linear;
     413    background-color: #007ab81a;
     414}
     415.tab-index {
     416    border-radius: 50%;
     417    width: 32px;
     418    height: 32px;
     419    border: 1px solid #007cba;
     420}
     421.tab-index:after {   
     422    color: var(--wp-admin-theme-color);
     423    font-weight: 700;
     424    justify-content: center;
     425    display: flex;
     426    align-items: center;
     427    height: 100%;
     428    width: 100%;
     429}
     430.tab-index-1 .tab-index:after {
     431    content: "1";
     432}
     433.tab-index-2 .tab-index:after {
     434    content: "2";
     435}
     436.tab-index-3 .tab-index:after {
     437    content: "3";
     438}
     439.tab-index-4 .tab-index:after {
     440    content: "4";
     441}
     442.tab-index-5 .tab-index:after {
     443    content: "5";
     444}
     445.tab-index-6 .tab-index:after {
     446    content: "6";
     447}
     448.tab-index-7 .tab-index:after {
     449    content: "7";
     450}
     451.tab-index-8 .tab-index:after {
     452    content: "8";
     453}
     454.tab-pane h5 {
     455    text-align: center;
     456    margin-bottom: 30px;
     457    font-size: 26px;
     458}
     459.tab-content a{
     460    color: #007cba;
     461}
     462.tab-content a:focus, .tab-content a:hover{
     463    color: #007cba;
     464    box-shadow: none;
     465    text-decoration: none;
     466}
     467.tab-pane .iframe-wrap {
     468    text-align: center;
     469    width: 90%;
     470    margin: 40px auto;
     471}
     472.tab-pane .iframe-wrap iframe, .tab-pane img{
     473    box-shadow: 0px 6px 10px #00000033;
     474    border-radius: 10px;
     475}
     476.get_pro_version-btn {
     477    margin-top: 40px;
     478}
     479.get_pro_version-btn a {
     480    font-size: 20px;
     481    font-weight: 700;
     482    background: #e5f1f8;
     483    color: #212529;
     484    border-bottom: 4px solid #007cba;
     485    padding: 10px 30px;
     486    border-radius: 5px;
     487    text-decoration: none !important;
     488}
     489.get_pro_version-btn a:hover{
     490    color: #212529;
     491    box-shadow: none;
     492}
     493.get_pro_version-btn a:focus{
     494    box-shadow: none;
     495}
     496ul.pro_crm_list {
     497    column-count: 2;
     498}
    348499@media screen and (max-width: 1500px){
    349500   
  • connect-wpform-to-any-api/trunk/includes/class-wpform-to-any-api.php

    r3161499 r3243804  
    176176        $this->loader->add_filter( 'manage_edit-wpform_api_sortable_columns', $plugin_admin, 'wpform_api_sortable_columns');
    177177        $this->loader->add_action( 'wpforms_process_complete', $plugin_admin, 'wpformapi_send_data_to_api', 10, 4);
     178        // Plugin links
     179        $this->loader->add_filter('plugin_row_meta', $plugin_admin, 'wpformanyapi_add_plugin_links', 10, 2);
    178180    }
    179181
  • connect-wpform-to-any-api/trunk/wpform-to-any-api.php

    r3201546 r3243804  
    1717 * Plugin URI:        https://wordpress.org/plugins/connect-wpform-to-any-api
    1818 * Description:       Send WPForms Lead/Data to Any CRM or Third Party APIs
    19  * Version:           0.0.3
     19 * Version:           0.0.4
    2020 * Author:            IT Path Solutions
    2121 * Author URI:        https://www.itpathsolutions.com/
     22 * Requires Plugins:  wpforms-lite
    2223 * License:           GPL-2.0+
    2324 * License URI:       http://www.gnu.org/licenses/gpl-2.0.txt
     
    3637 * Rename this for your plugin and update it as you release new versions.
    3738 */
    38 define( 'WPFORM_TO_ANY_API_VERSION', '0.0.3' );
     39define( 'WPFORM_TO_ANY_API_VERSION', '0.0.4' );
    3940
    4041/**
Note: See TracChangeset for help on using the changeset viewer.