Plugin Directory

Changeset 2994225


Ignore:
Timestamp:
11/10/2023 11:54:43 PM (2 years ago)
Author:
petmatchpro
Message:

readme.txt

Location:
petmatchpro/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • petmatchpro/trunk/CHANGE-LOG.txt

    r2989480 r2994225  
     1Version 3.3.1 - November 8, 2023
     2 + /pet-match-pro.php
     3    * Assign a default PMP license key to WP Repository users.
     4 + /admin/class-pet-match-pro-admin-settings.php
     5    * Use default PMP license to enable free features.
     6 + /includes/pp/class-pet-match-pro-pp-option.php
     7    * Use default PMP license to enable free features.
     8 + /admin/partials/activate_license_form.php
     9    * Revise form copy for default PMP license key.
     10 + /admin/css/pet-match-pro-admin.css
     11    * Add CSS to style license activation form.
     12
    113Version 3.2.1 - October 28, 2023
    214 + Additional changes to support distribution via the WordPress repository.
  • petmatchpro/trunk/README.txt

    r2989480 r2994225  
    55Tags: petmatchpro, pet match pro, animal, rescue, adoption, shelter, dog, cat, rehome, adopt
    66Requires at least: 5.0
    7 Tested up to: 6.3
    8 Stable tag: 3.2.1
     7Tested up to: 6.4
     8Stable tag: 3.3.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • petmatchpro/trunk/admin/class-pet-match-pro-admin-settings.php

    r2989480 r2994225  
    9090            update_option('PMP_License_Type', "");
    9191            update_option('PMP_License_Type_ID', "");
    92             $this->PMPLicenseTypeID = (int) get_option('PMP_License_Type_ID');                         
     92            $this->PMPLicenseTypeID = (int) get_option('PMP_License_Type_ID');   
     93            /* Set License Key to Default Value */
     94            $licenseKey = constant('LICENSE_KEY');
    9395        }
    9496        //$this->api_activated = $api_activated;
     
    100102        }
    101103        //echo 'License Type: ' . $this->PMPLicenseType . '(' . $this->PMPLicenseTypeID . ')<br>';                                   
     104        //echo 'License Key: ' . $licenseKey . '<br>';
    102105    }
    103106    /**
     
    356359       
    357360        $licenseKey = get_option('PMP_lic_Key');
     361        /* Set License Key to Default Value as Appropriate */
     362        if ( (strlen($licenseKey)==0) ) {
     363            $licenseKey = constant('LICENSE_KEY');
     364        }
    358365        //echo 'License Key = ' . $licenseKey . '<br>';
    359366       
     
    906913
    907914        $licenseKey = get_option('PMP_lic_Key');
     915        /* Set License Key to Default Value as Appropriate */
     916        if ( (strlen($licenseKey)==0) ) {
     917            $licenseKey = constant('LICENSE_KEY');
     918        }       
    908919        //echo 'License Key = ' . $licenseKey . '<br>';
    909920
     
    13071318
    13081319        $licenseKey = get_option('PMP_lic_Key');
     1320        /* Set License Key to Default Value as Appropriate */
     1321        if ( (strlen($licenseKey)==0) ) {
     1322            $licenseKey = constant('LICENSE_KEY');
     1323        }       
    13091324        //echo 'License Key = ' . $licenseKey . '<br>';
    13101325
  • petmatchpro/trunk/admin/css/pet-match-pro-admin.css

    r2989480 r2994225  
    123123}
    124124
     125.pmp-margin-left-1-rem {
     126    margin-left: 1rem !important;
     127}
     128
    125129.pmp-blue {
    126130    color: #2BACE2 !important;
  • petmatchpro/trunk/admin/partials/activate_license_form.php

    r2989480 r2994225  
    1313        }
    1414        ?>
    15         <p><?php _e("Enter your license code and the email address used when registering PetMatchPro to enable the plugin, get feature updates and support.",$this->plugin_slug);?></p>
    16         <ol>
    17             <li><?php _e('If you do not have a license code, visit <a href="https://petmatchpro.com/" target="_blank" title="Register Now">PetMatchPro.com</a> to register for your free license.',$this->plugin_slug);?></li>
    18             <li><?php _e('If you have registered, check your email for a message from [email protected] with your license code.',$this->plugin_slug);?></li>
    19             <li><?php _e('If you would like to use our premium features, <a href="https://petmatchpro.com/my-account/" target="_blank" title="Upgrade Now">login to your account</a> to upgrade your free license.',$this->plugin_slug);?></li>
    20             <li><?php _e('If you need help installing, configuring or customizing PetMatchPro, get help by logging into your <a href="https://petmatchpro.com/my-account/" target="_blank" title="Upgrade Now">PetMatchPro account</a> and selecting the Support tab.',$this->plugin_slug);?></li>
    21         </ol>
    2215        <div>
    2316            <span class="pmp-license-info-title"><?php _e("Version: ",$this->plugin_slug);?></span>
    2417            <?php echo constant('PET_MATCH_PRO_VERSION'); ?>
    25         </div>     
    26         <div class="el-license-field">
    27             <label for="el_license_key"><?php _e("License Code: ",$this->plugin_slug);?></label>
    28             <input type="text" class="regular-text code" name="el_license_key" size="50" placeholder="xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx" required="required">
    29         </div> <!-- .el-license-field -->
    30         <div class="el-license-field">
    31             <label for="el_license_key"><?php _e("Email Address: ",$this->plugin_slug);?></label>
     18        </div>             
     19        <div>
     20            <p><?php _e("If you'd like to <span class='pmp-bold'>enable premium PetMatchPro features</span> or gain access to our support community/experts:",$this->plugin_slug);?></p>
     21            <ul class="pmp-margin-bottom-1-rem">
     22                <li style="margin-left: 1rem"><?php _e('Visit <a href="https://petmatchpro.com/plans/" target="_blank" title="Select Your Plan">PetMatchPro.com</a> to select a plan.',$this->plugin_slug);?></li>
     23            </ul>
     24            <p><?php _e("If you've <span class='pmp-bold'>already registered</span> at <a href='https://petmatchpro.com/my-account/' target='_blank' title='Login to your Account'>PetMatchPro.com</a>:",$this->plugin_slug);?></p>
     25            <ol>
     26                <li><?php _e('Check your email for a message from [email protected] with your license code.',$this->plugin_slug);?></li>
     27                <li><?php _e('Enter your license code and the email address used when registering PetMatchPro in the fields below to enable additional features and support.',$this->plugin_slug);?></li>
     28                <p><label for="el_license_key"><?php _e("License Code: ",$this->plugin_slug);?></label>
     29                <input type="text" class="regular-text code" name="el_license_key" size="50" placeholder="xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx" required="required">
     30                </p>
     31                <p><label for="el_license_key"><?php _e("Email Address: ",$this->plugin_slug);?></label>
    3232            <?php
    3333                $purchaseEmail   = get_option( "PMP_lic_email", get_bloginfo( 'admin_email' ));
    3434            ?>
    3535            <input type="text" class="regular-text code" name="el_license_email" size="50" value="<?php echo $purchaseEmail; ?>" placeholder="" required="required">
     36            </p>
    3637            <div><small><?php _e("We will send PetMatchPro related news to this email address, don't worry, we hate SPAM.",$this->plugin_slug);?></small></div>
    37        </div> <!-- .el-license-field -->
     38
    3839       <div class="el-license-active-btn">
    3940            <?php wp_nonce_field( 'el-license' ); ?>
    4041            <?php submit_button('Activate'); ?>
    4142       </div> <!-- .el-license-active-btn -->
     43
     44                <li><?php _e('Looking for additional premium features? <a href="https://petmatchpro.com/my-account/" target="_blank" title="Upgrade Now">Login to your account</a> to upgrade.',$this->plugin_slug);?></li>
     45            </ol>
     46        </div>
     47        <div>       
     48            <p class="pmp-margin-top-1-rem"><?php _e('If you <span class="pmp-bold">need help</span> installing, configuring or customizing PetMatchPro, login to your <a href="https://petmatchpro.com/my-account/" target="_blank" title="Upgrade Now">PetMatchPro account</a> and select the Support tab.',$this->plugin_slug);?></p>
     49       </div>
    4250    </div>
    4351</form>
  • petmatchpro/trunk/includes/pp/class-pet-match-pro-pp-option.php

    r2989480 r2994225  
    5353       
    5454        $licenseKey = get_option('PMP_lic_Key');
     55        /* Set License Key to Default Value as Appropriate */
     56        if ( (strlen($licenseKey)==0) ) {
     57            $licenseKey = constant('LICENSE_KEY');
     58        }       
    5559        //echo 'License Key = ' . $licenseKey . '<br>';         
    5660
  • petmatchpro/trunk/pet-match-pro.php

    r2989480 r2994225  
    1313 * Plugin Name:       PetMatchPro
    1414 * Description:        Integrates animal search and details from your PetPoint/Petango account into your website with simple shortcodes.
    15  * Version:           3.2.1
     15 * Version:           3.3.1
    1616 * Author:            PetMatchPro
    1717 * Author URI:        https://PetMatchPro.com
     
    2828 * Current plugin version.
    2929 */
    30 define('PET_MATCH_PRO_VERSION', '3.2.1');
     30define('PET_MATCH_PRO_VERSION', '3.3.1');
    3131
    3232/* Define Global Variables */
     
    3434define('PET_MATCH_PRO_PATH_FILE', __FILE__ );
    3535define('ERROR', 'ERROR');
     36define('LICENSE_KEY', '73BBF3F8-8CDC88C2-B66B16B7-1D1B6EED');
    3637
    3738/* Variables to Manage Premium Content */
Note: See TracChangeset for help on using the changeset viewer.