Plugin Directory

Changeset 2700536


Ignore:
Timestamp:
03/28/2022 09:58:41 AM (4 years ago)
Author:
smartframe
Message:

Version change hotfix

Location:
smartframe
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • smartframe/tags/2.4/admin/partials/css/admin.css

    r2700524 r2700536  
    882882
    883883/* Settings */
    884 div.smartframe-status {
    885     box-sizing: border-box;
    886     width: 500px;
    887     overflow: hidden;
    888     display: block;
    889     float: left;
    890 
    891 }
     884/*div.smartframe-status {*/
     885/*    box-sizing: border-box;*/
     886/*    width: 500px;*/
     887/*    overflow: hidden;*/
     888/*    display: block;*/
     889/*    float: left;*/
     890
     891/*}*/
    892892
    893893div.smartframe-status:after {
     
    10141014}
    10151015
    1016 div.smartframe-status.wide {
    1017     width: 750px;
    1018 }
     1016/*div.smartframe-status.wide {*/
     1017/*    width: auto;*/
     1018/*}*/
    10191019
    10201020div.smartframe-status div.failure input {
     
    10271027
    10281028div.smartframe-status div.update {
    1029     width: 380px;
    1030     padding: 22px 28px;
     1029    /*width: 380px;*/
     1030    /*padding: 22px 28px;*/
    10311031    background-color: white;
    1032     margin-bottom: -99999px;
     1032    /*margin-bottom: -99999px;*/
    10331033}
    10341034
     
    10631063}
    10641064
    1065 div.smartframe-status.wide div.create {
    1066     box-sizing: border-box;
    1067     background-color: white;
    1068     float: left;
    1069     width: 50%;
    1070     padding: 45px 45px 45px 45px;
    1071     border-right: 1px solid #e5e5e5;
    1072 
    1073 }
     1065/*div.smartframe-status.wide div.create {*/
     1066/*    box-sizing: border-box;*/
     1067/*    background-color: white;*/
     1068/*    float: left;*/
     1069/*    width: 50%;*/
     1070/*    padding: 45px 45px 45px 45px;*/
     1071/*    border-right: 1px solid #e5e5e5;*/
     1072
     1073/*}*/
    10741074
    10751075div.smartframe-status.wide div.update {
    10761076    box-sizing: border-box;
    10771077    float: left;
    1078     width: 50%;
    1079     padding: 40px 45px 99999px 40px;
     1078    /*width: 50%;*/
     1079    padding: 40px 45px 45px 40px;
    10801080
    10811081
  • smartframe/tags/2.4/admin/partials/inputs/apiKey.php

    r2700524 r2700536  
    1111/** @var boolean $keyOk */
    1212?>
    13 <div class="smartframe-status wide border" style="display: none;">
    14     <div style="display: none;" class="update">
     13<div class="smartframe-status wide" style="display: none;">
     14    <div style="display: none;" class="update border">
    1515        <h4>Already have a SmartFrame account?</h4>
    1616        <p class="introduction"> Log in using your access code – you can find it in
     
    1919                settings > Integration</a>
    2020        </p>
    21 
    22 
    2321        <form action="options.php" method="post" id="smartframe--proporties-page">
    2422            <?php
     
    2927                                                                        placeholder="Your access code"
    3028                                                                        id="<?php echo $id ?>"
    31                                                                         value="<?php //echo $apiKey ?>">
    32 
    33             <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary">
    34                 LOG IN
    35             </button>
    36 
     29                                                                        value="<?php //echo $apiKey ?>"
     30            >
     31            <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary">LOG IN</button>
    3732        </form>
    38 
    39 
    4033        <form action="options.php" style="display: none;" method="post" id="smartframe--proporties-page-first-register">
    4134            <?php
     
    4639                                                                        placeholder="Your access code"
    4740                                                                        id="smartframe-without-valid-code"
    48                                                                         value="<?php //echo $apiKey ?>">
    49 
    50             <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary">
    51                 LOG IN
    52             </button>
    53 
     41                                                                        value="<?php //echo $apiKey ?>"
     42            >
     43            <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary">LOG IN</button>
    5444        </form>
    5545    </div>
  • smartframe/tags/2.4/readme.txt

    r2700524 r2700536  
    33Tags: image, images, right click, watermark, watermark image, watermark images, add watermark, zoom, compress, picture, photo, photos, watermarking, compress image, compress images, optimize image, optimise image, optimize images, optimise images, image optimization, image optimisation, image protection, no right click, stealing, image fullscreen, images fullscreen, images full-screen, image full-screen, magnification, magnifier, panorama, responsive, responsive image, responsive images, resize, optimise, optimisation, lazy load, WebP, photography, optimizer, optimiser,  shrink, shrinker, improve, jpeg, jpg, minify, faster, PageRank, responsive effects, hover effect, smartframe, smart frame, smart-frame, compress jpeg, compress jpg, compress jpeg images, compress jpg image, resize images, resize image, protect images, protect image, screenshot blocker, screenshot disabler, screenshot block, right click disabler, protect content, anti theft content, disable copy, disable images selection, prevent right click, prevent screenshot, prevent copy, prevent content theft, download blocker, add share button, stop saving images with right click, brand protection, image theft, images theft, anti theft, lazyload images, lazyload image, prevent bandwitdh theft, prevent hotlinking, disable hotlink, hotlink protection, compress media library
    44Requires at least: 4.1
    5 Stable tag: 2.3.1
    6 Tested up to: 5.8.3
     5Stable tag: 2.4.0
     6Tested up to: 5.9.2
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    2222### Examples ###
    2323
    24 * **[Right click blocker and screenshot protection](https://smartframe.io/demo/right-click-screenshot-protection?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Right%20Click%20Blocker)**
    25 * **[Customizable watermark](https://smartframe.io/demo/customizable-watermark?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Customizable%20Watermark)**
    26 * **[Hyper zoom](https://smartframe.io/demo/deep-zoom?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Image%20Zoom)**
    27 * **[Full-screen button](https://smartframe.io/demo/fullscreen-mode?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Full%20Screen%20Button)**
    28 * **[Button on image](https://smartframe.io/demo/customizable-share-call-action-buttons?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Button%20On%20Image)**
    29 * **[Custom caption over images](https://smartframe.io/demo/customizable-styles-caption?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Custom%20Caption%20Over%20Image)**
     24* **[Right click blocker and screenshot protection](https://smartframe.io/demo/right-click-screenshot-protection?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Right%20Click%20Blocker)**
     25* **[Customizable watermark](https://smartframe.io/demo/customizable-watermark?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Customizable%20Watermark)**
     26* **[Hyper zoom](https://smartframe.io/demo/deep-zoom?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Image%20Zoom)**
     27* **[Full-screen button](https://smartframe.io/demo/fullscreen-mode?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Full%20Screen%20Button)**
     28* **[Button on image](https://smartframe.io/demo/customizable-share-call-action-buttons?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Button%20On%20Image)**
     29* **[Custom caption over images](https://smartframe.io/demo/customizable-styles-caption?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Custom%20Caption%20Over%20Image)**
    3030
    3131https://vimeo.com/314034061
     
    3636With the SmartFrame WordPress Image Security and Compression Plugin, you don't need to choose between image quality and page speed. SmartFrame uses a proprietary algorithm to compress JPG images and maintain page load speeds. Whenever a page with embedded SmartFrames is loaded, it reduce images size and renders your image in the highest needed resolution, based on the device used (retina images). This means that images displayed on the average smartphone or tablet, for example, will be rendered at a lower resolution than on a Retina display.
    3737
    38 SmartFrame will never upscale your images, so you should make sure that the images you initially upload to the SmartFrame Cloud are in a high enough resolution to look good across all devices. The size and resolution of the original image will not affect the page loading speed, although low-resolution images aren’t ideal for display on high-resolution displays, and these may also limit the performance of the Hyper Zoom feature.
     38Unless you choose a display option in WordPress that exceeds the dimensions of the original image, SmartFrame will never upscale your images. For this reason, you should make sure that the original images you upload are in a high enough quality to look good on modern displays (at least 2000px wide for photos). The size of the original image will not affect the page loading speed, but if the image is too small it may not look good on large displays, and may limit the performance of the Hyper Zoom feature.
    3939
    4040### SECURITY AND COPYRIGHT PROTECTION ###
     
    7777The SmartFrame plugin uses a fast and reliable cloud service to process, encrypt and reduce image size. This allows images to be encrypted and displayed quickly and securely in any geographical location. The cloud, which is a custom implementation of an Amazon Web Services platform, features autoscaling, load balancing, frequent backups, 24/7 monitoring and 99.9% availability, and is used by many large international companies.
    7878
    79 To store images in the cloud, users simply need to register for a SmartFrame account, which is free of charge for up to 2GB of images. This can be upgraded to Pro or Enterprise plans for more demanding users. Registration also gives you access to the SmartFrame Admin Panel, which offers many additional tools. [Read more about the features here](https://smartframe.io/?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Features).
     79To store images in the cloud, just register for a SmartFrame account, which is free of charge for up to 500MB of images. Should you require more storage space and additional functionality, you are free to upgrade your plan to either our Standard or Professional package at any time. Registration also gives you access to the SmartFrame Admin Panel, which offers many additional tools. [Read more about the features here](https://smartframe.io/?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Features).
    8080
    8181
     
    8484SmartFrame plugin allows you to convert any JPEG image in your pages and posts into SmartFrame format. Full support for background images, featured images, galleries and multiple image formats is coming soon. The plugin has been tested with most popular WordPress themes but due to the huge variety of WordPress themes and layouts we cannot guarantee that it will work with every theme, especially completely custom ones. Current unsupported themes: Newspaperist, Boggist, Mesmerize, Flatsome.
    8585
    86 SmartFrame plugin has been also tested with Compress JPEG & PNG images, No Right Click Images Plugin, Secure Copy Content Protection, RCD-Right Click Disabler, Jetpack, Prevent Content Theft [Disable Right Click], EWWW Image Optimizer, Optimus – WordPress Image Optimizer, CheetahO Image Compression and Optimizer, ShortPixel Image Optimizer, Image optimization service by Optimole, Robin image optimizer, Kraken Image Optimizer, Image Watermark, Easy Watermark, reSmush.it Image Optimizer, Disable Right Click For WP, No Right Click Images Plugin, WP Content Copy Protection & No Right Click, Content Copy Protection with Color Design, WPForms, MonsterInsights, Yoast SEO, Akismet, WP Fastest Cache, WP Super Cache, LiteSpeed Cache, W3 Total Cache, Google XML Sitemaps, Page Builder by SiteOrigin, WooCommerce, Elementor Page Builder, Avada theme, BeTheme theme, The7 theme, Enfold theme, X The theme, Astra theme, Write theme, Generate Press theme, Neve theme, Reykjavik theme, Cali theme, Didi Lite theme, OceanWP theme.
    87 
    88 SmartFrame plugin doesn't guarantee full compatibility with Lazy Load by WP Rocket plugin, Smush Image Compression and Optimisation, Beaver Builder, WP Image Zoom, Instapage, WordPress Gallery Plugin – NextGEN Gallery, Slider Revolution builder, Divi builder, Modula Image Gallery, Gallery Plugin for WordPress - Envira Photo Gallery, Photo Gallery by 10Web – Mobile-Friendly Image Gallery, FooGallery – Image Gallery WordPress Plugin, Image Gallery by Robo – Responsive Photo Gallery, WPBakery Page Builder, Lazy Loader, Easy Lazy Loader, Lazy Load Optimizer, lazysizes, A performant lazy loader (defer.js), Smart Image Loader, Secure Image Protection, Hotlink Protection.
     86SmartFrame plugin doesn't guarantee full compatibility with Compress JPEG & PNG images, No Right Click Images Plugin, Secure Copy Content Protection, RCD-Right Click Disabler, Jetpack, Prevent Content Theft [Disable Right Click], EWWW Image Optimizer, Optimus – WordPress Image Optimizer, CheetahO Image Compression and Optimizer, ShortPixel Image Optimizer, Image optimization service by Optimole, Robin image optimizer, Kraken Image Optimizer, Image Watermark, Easy Watermark, reSmush.it Image Optimizer, Disable Right Click For WP, No Right Click Images Plugin, WP Content Copy Protection & No Right Click, Content Copy Protection with Color Design, WPForms, MonsterInsights, Yoast SEO, Akismet, WP Fastest Cache, WP Super Cache, LiteSpeed Cache, W3 Total Cache, Google XML Sitemaps, Page Builder by SiteOrigin, WooCommerce, Elementor Page Builder, Avada theme, BeTheme theme, The7 theme, Enfold theme, X The theme, Astra theme, Write theme, Generate Press theme, Neve theme, Reykjavik theme, Cali theme, Didi Lite theme, OceanWP theme, Lazy Load by WP Rocket plugin, Smush Image Compression and Optimisation, Beaver Builder, WP Image Zoom, Instapage, WordPress Gallery Plugin – NextGEN Gallery, Slider Revolution builder, Divi builder, Modula Image Gallery, Gallery Plugin for WordPress - Envira Photo Gallery, Photo Gallery by 10Web – Mobile-Friendly Image Gallery, FooGallery – Image Gallery WordPress Plugin, Image Gallery by Robo – Responsive Photo Gallery, WPBakery Page Builder, Lazy Loader, Easy Lazy Loader, Lazy Load Optimizer, lazysizes, A performant lazy loader (defer.js), Smart Image Loader, Secure Image Protection, Hotlink Protection.
     87
     88SmartFrame plugin is compatible with the following free WordPress themes: Fukusawa by Anders Norén, Photograph by Theme Freesia, Photos by Automattic. It is also compatible with the following WordPress page builders: MotoPress Content Editor Lite, Page Builder by SiteOrigin.
    8989
    9090Please note that the WordPress image masking feature is not supported on SmartFrame. This means that when you select the “Circle Mask” option for one or more images in WordPress, then they will be presented in the default square or rectangular format.
     
    106106= Is the SmartFrame plugin really free? =
    107107
    108 Yes, the plugin itself is completely free to use, regardless of the SmartFrame plan selected. The most basic SmartFrame plan is the Free plan, which includes 2GB storage space for your images. Should you want to increase this and/or remove SmartFrame branding from your images, you’ll need to upgrade to a paid-for SmartFrame Pro plan. [You can read more about SmartFrame pricing here](https://smartframe.io/pricing?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Pricing).
     108Yes, the plugin itself is completely free to use, regardless of the SmartFrame plan selected. The most basic SmartFrame plan is the Personal plan, which includes 500MB storage space for your images. Should you want to increase this and/or remove SmartFrame branding from your images, you’ll need to upgrade to a paid-for SmartFrame plan. [You can read more about SmartFrame pricing here](https://smartframe.io/pricing?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Pricing).
    109109
    110110= Which image formats does SmartFrame support? =
     
    142142Yes. When using the SmartFrame plugin you can opt to use it for all images that you upload, or decide to use it for a particular image by excluding the CSS class in the SmartFrame Settings page.
    143143
    144 You can also decide which SmartFrame features are available on a particular image by using SmartFrame’s Themes. As a WordPress plugin user, you can select one of three existing themes, but if you sign up for a SmartFrame account and decide to use the [SmartFrame Admin panel](https://panel.smartframe.io/login?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=SmartFrame%20Panel) you will be able to create your own bespoke Themes.
     144You can also decide which SmartFrame features are available on a particular image by using SmartFrame’s Themes. As a WordPress plugin user, you can select one of three existing themes, but if you sign up for a SmartFrame account and decide to use the [SmartFrame Admin panel](https://panel.smartframe.io/login?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=SmartFrame%20Panel) you will be able to create your own bespoke Themes.
    145145
    146146= Will SmartFrame have a negative impact on my SEO? =
     
    150150= Does the plugin work on all major browsers? =
    151151
    152 SmartFrame is fully compatible with Chrome, Safari, Firefox and Microsoft Edge browsers. [You can find more information here](https://smartframe.io/support/supported-browsers?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Supported%20Browsers).
     152SmartFrame is fully compatible with Chrome, Safari, Firefox and Microsoft Edge browsers. [You can find more information here](https://smartframe.io/support/supported-browsers?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Supported%20Browsers).
    153153
    154154= How can I remove the "SmartFrame" label from my images? =
     
    168168== Changelog ==
    169169
     170= 2.4 =
     171* Removed the possibility to register a SmartFrame account via WordPress plugin
     172
     173= 2.3 =
     174* SmartFrame plugin is now compatible with WordPress 5.5
     175
    170176= 2.2 =
     177* SmartFrame plugin is now compatible with WordPress 5.4
     178* Added a warning alert in case the user leaves the page during the registration process
     179* Improved image sizing with upscaling allowed
     180* Improved security and stability
     181* Bug fixes
     182
     183= 2.1 =
     184* SmartFrame plugin is now compatible with WordPress 5.3
    171185* Improved the way to select images to be converted to SmartFrame
    172186* Improved security and stability
  • smartframe/tags/2.4/smartframe.php

    r2700524 r2700536  
    3535 * Plugin URI:        https://smartframe.io/wordpress?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20plugins%20page&utm_content=Visit%20plugin%20site
    3636 * Description:       Secure images with watermark, disable right click, enable zoom or fullscreen. Compress images without losing quality.
    37  * Version:           2.3.1
     37 * Version:           2.4.0
    3838 * Author:            SmartFrame Technologies Ltd
    3939 * Author URI:        https://smartframe.io/?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20plugins%20page&utm_content=Visit%20author%20site
  • smartframe/tags/2.4/vendor/composer/installed.php

    r2700524 r2700536  
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => '3720982a71801637ce2852fa9704669b3540727f',
     8        'reference' => '27817b58b8089ba50ebb0ffcb86f7671d8418033',
    99        'name' => '__root__',
    1010        'dev' => true,
     
    1717            'install_path' => __DIR__ . '/../../',
    1818            'aliases' => array(),
    19             'reference' => '3720982a71801637ce2852fa9704669b3540727f',
     19            'reference' => '27817b58b8089ba50ebb0ffcb86f7671d8418033',
    2020            'dev_requirement' => false,
    2121        ),
  • smartframe/tags/2.4/vendor/smartframe/smartlib/src/App/SmartFramePlugin.php

    r2700524 r2700536  
    1919    public static $PLUGIN_NAME = 'sfm-smartframe';
    2020    public static $PLUGIN_OPTION_PREFIX = 'sfm_smartframe';
    21     public static $VERSION = '2.3.1';
     21    public static $VERSION = '2.4.0';
    2222
    2323    private $adminSection;
  • smartframe/tags/2.4/vendor/smartframe/smartlib/src/App/config.plugin.php

    r2700524 r2700536  
    77
    88//CSS AND JS Versioning
    9 $config->addConfig('scripts-version', '2.3.1');
     9$config->addConfig('scripts-version', '2.4.0');
    1010
    1111////////Local
    12 $config->addConfig('DEBUG', true);
    13 $config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data');
    14 $config->addConfig('panel.endpoint', 'http://panel.sfapi.lo:4200');
    15 $config->addConfig('dapi.endpoint', 'http://dapi.sfapi.lo');
    16 $config->addConfig(SMARTFRAME_API_ENDPOINT, 'http://api2.sfapi.lo/v1');
    17 $config->addConfig('static_cdn_sfm_url', 'http://static-cdn-docker.lo/sfm');
    18 $config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan');
    19 $config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate');
    20 $config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');
    21 $config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v1.5.3%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');
    22 $config->addConfig('api.statistics.endpoint', 'http://statistics.sfapi.lo');
     12//$config->addConfig('DEBUG', true);
     13//$config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data');
     14//$config->addConfig('panel.endpoint', 'http://panel.sfapi.lo:4200');
     15//$config->addConfig('dapi.endpoint', 'http://dapi.sfapi.lo');
     16//$config->addConfig(SMARTFRAME_API_ENDPOINT, 'http://api2.sfapi.lo/v1');
     17//$config->addConfig('static_cdn_sfm_url', 'http://static-cdn-docker.lo/sfm');
     18//$config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan');
     19//$config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate');
     20//$config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');
     21//$config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v1.5.3%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');
     22//$config->addConfig('api.statistics.endpoint', 'http://statistics.sfapi.lo');
    2323
    2424//////Preview
     
    6262
    6363//Cloud
    64 //$config->addConfig('DEBUG', false);
    65 //$config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data');
    66 //$config->addConfig('panel.endpoint', 'https://panel.smartframe.io');
    67 //$config->addConfig('dapi.endpoint', 'https://dapi.smartframe.io');
    68 //$config->addConfig(SMARTFRAME_API_ENDPOINT, 'https://api2.smartframe.io/v1');
    69 //$config->addConfig('static_cdn_sfm_url', 'https://static.smartframe.io/sfm');
    70 //$config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source='.$_SERVER['HTTP_HOST'].'&utm_content=Upgrade%20Plan');
    71 //$config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate');
    72 //$config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');
    73 //$config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Skip%20registration%20button');
    74 //$config->addConfig('api.statistics.endpoint', 'https://statistics.smartframe.io'); //check this url after deploy changes to cloud
     64$config->addConfig('DEBUG', false);
     65$config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data');
     66$config->addConfig('panel.endpoint', 'https://panel.smartframe.io');
     67$config->addConfig('dapi.endpoint', 'https://dapi.smartframe.io');
     68$config->addConfig(SMARTFRAME_API_ENDPOINT, 'https://api2.smartframe.io/v1');
     69$config->addConfig('static_cdn_sfm_url', 'https://static.smartframe.io/sfm');
     70$config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source='.$_SERVER['HTTP_HOST'].'&utm_content=Upgrade%20Plan');
     71$config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate');
     72$config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');
     73$config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Skip%20registration%20button');
     74$config->addConfig('api.statistics.endpoint', 'https://statistics.smartframe.io'); //check this url after deploy changes to cloud
  • smartframe/trunk/admin/partials/css/admin.css

    r2595163 r2700536  
    882882
    883883/* Settings */
    884 div.smartframe-status {
    885     box-sizing: border-box;
    886     width: 500px;
    887     overflow: hidden;
    888     display: block;
    889     float: left;
    890 
    891 }
     884/*div.smartframe-status {*/
     885/*    box-sizing: border-box;*/
     886/*    width: 500px;*/
     887/*    overflow: hidden;*/
     888/*    display: block;*/
     889/*    float: left;*/
     890
     891/*}*/
    892892
    893893div.smartframe-status:after {
     
    10141014}
    10151015
    1016 div.smartframe-status.wide {
    1017     width: 750px;
    1018 }
     1016/*div.smartframe-status.wide {*/
     1017/*    width: auto;*/
     1018/*}*/
    10191019
    10201020div.smartframe-status div.failure input {
     
    10271027
    10281028div.smartframe-status div.update {
    1029     width: 380px;
    1030     padding: 22px 28px;
     1029    /*width: 380px;*/
     1030    /*padding: 22px 28px;*/
    10311031    background-color: white;
    1032     margin-bottom: -99999px;
     1032    /*margin-bottom: -99999px;*/
    10331033}
    10341034
     
    10631063}
    10641064
    1065 div.smartframe-status.wide div.create {
    1066     box-sizing: border-box;
    1067     background-color: white;
    1068     float: left;
    1069     width: 50%;
    1070     padding: 45px 45px 45px 45px;
    1071     border-right: 1px solid #e5e5e5;
    1072 
    1073 }
     1065/*div.smartframe-status.wide div.create {*/
     1066/*    box-sizing: border-box;*/
     1067/*    background-color: white;*/
     1068/*    float: left;*/
     1069/*    width: 50%;*/
     1070/*    padding: 45px 45px 45px 45px;*/
     1071/*    border-right: 1px solid #e5e5e5;*/
     1072
     1073/*}*/
    10741074
    10751075div.smartframe-status.wide div.update {
    10761076    box-sizing: border-box;
    10771077    float: left;
    1078     width: 50%;
    1079     padding: 40px 45px 99999px 40px;
     1078    /*width: 50%;*/
     1079    padding: 40px 45px 45px 40px;
    10801080
    10811081
  • smartframe/trunk/admin/partials/inputs/apiKey.php

    r2700521 r2700536  
    1111/** @var boolean $keyOk */
    1212?>
    13 <div class="smartframe-status wide border" style="display: none;">
    14     <div style="display: none;" class="update">
     13<div class="smartframe-status wide" style="display: none;">
     14    <div style="display: none;" class="update border">
    1515        <h4>Already have a SmartFrame account?</h4>
    1616        <p class="introduction"> Log in using your access code – you can find it in
     
    1919                settings > Integration</a>
    2020        </p>
    21 
    22 
    2321        <form action="options.php" method="post" id="smartframe--proporties-page">
    2422            <?php
     
    2927                                                                        placeholder="Your access code"
    3028                                                                        id="<?php echo $id ?>"
    31                                                                         value="<?php //echo $apiKey ?>">
    32 
    33             <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary">
    34                 LOG IN
    35             </button>
    36 
     29                                                                        value="<?php //echo $apiKey ?>"
     30            >
     31            <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary">LOG IN</button>
    3732        </form>
    38 
    39 
    4033        <form action="options.php" style="display: none;" method="post" id="smartframe--proporties-page-first-register">
    4134            <?php
     
    4639                                                                        placeholder="Your access code"
    4740                                                                        id="smartframe-without-valid-code"
    48                                                                         value="<?php //echo $apiKey ?>">
    49 
    50             <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary">
    51                 LOG IN
    52             </button>
    53 
     41                                                                        value="<?php //echo $apiKey ?>"
     42            >
     43            <button <?php //echo $keyOk ? 'disabled="disabled"' : ''; ?> class="button button-primary">LOG IN</button>
    5444        </form>
    5545    </div>
  • smartframe/trunk/readme.txt

    r2700521 r2700536  
    33Tags: image, images, right click, watermark, watermark image, watermark images, add watermark, zoom, compress, picture, photo, photos, watermarking, compress image, compress images, optimize image, optimise image, optimize images, optimise images, image optimization, image optimisation, image protection, no right click, stealing, image fullscreen, images fullscreen, images full-screen, image full-screen, magnification, magnifier, panorama, responsive, responsive image, responsive images, resize, optimise, optimisation, lazy load, WebP, photography, optimizer, optimiser,  shrink, shrinker, improve, jpeg, jpg, minify, faster, PageRank, responsive effects, hover effect, smartframe, smart frame, smart-frame, compress jpeg, compress jpg, compress jpeg images, compress jpg image, resize images, resize image, protect images, protect image, screenshot blocker, screenshot disabler, screenshot block, right click disabler, protect content, anti theft content, disable copy, disable images selection, prevent right click, prevent screenshot, prevent copy, prevent content theft, download blocker, add share button, stop saving images with right click, brand protection, image theft, images theft, anti theft, lazyload images, lazyload image, prevent bandwitdh theft, prevent hotlinking, disable hotlink, hotlink protection, compress media library
    44Requires at least: 4.1
    5 Stable tag: 2.3.1
    6 Tested up to: 5.8.3
     5Stable tag: 2.4.0
     6Tested up to: 5.9.2
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    2222### Examples ###
    2323
    24 * **[Right click blocker and screenshot protection](https://smartframe.io/demo/right-click-screenshot-protection?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Right%20Click%20Blocker)**
    25 * **[Customizable watermark](https://smartframe.io/demo/customizable-watermark?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Customizable%20Watermark)**
    26 * **[Hyper zoom](https://smartframe.io/demo/deep-zoom?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Image%20Zoom)**
    27 * **[Full-screen button](https://smartframe.io/demo/fullscreen-mode?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Full%20Screen%20Button)**
    28 * **[Button on image](https://smartframe.io/demo/customizable-share-call-action-buttons?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Button%20On%20Image)**
    29 * **[Custom caption over images](https://smartframe.io/demo/customizable-styles-caption?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Custom%20Caption%20Over%20Image)**
     24* **[Right click blocker and screenshot protection](https://smartframe.io/demo/right-click-screenshot-protection?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Right%20Click%20Blocker)**
     25* **[Customizable watermark](https://smartframe.io/demo/customizable-watermark?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Customizable%20Watermark)**
     26* **[Hyper zoom](https://smartframe.io/demo/deep-zoom?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Image%20Zoom)**
     27* **[Full-screen button](https://smartframe.io/demo/fullscreen-mode?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Full%20Screen%20Button)**
     28* **[Button on image](https://smartframe.io/demo/customizable-share-call-action-buttons?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Button%20On%20Image)**
     29* **[Custom caption over images](https://smartframe.io/demo/customizable-styles-caption?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Custom%20Caption%20Over%20Image)**
    3030
    3131https://vimeo.com/314034061
     
    3636With the SmartFrame WordPress Image Security and Compression Plugin, you don't need to choose between image quality and page speed. SmartFrame uses a proprietary algorithm to compress JPG images and maintain page load speeds. Whenever a page with embedded SmartFrames is loaded, it reduce images size and renders your image in the highest needed resolution, based on the device used (retina images). This means that images displayed on the average smartphone or tablet, for example, will be rendered at a lower resolution than on a Retina display.
    3737
    38 SmartFrame will never upscale your images, so you should make sure that the images you initially upload to the SmartFrame Cloud are in a high enough resolution to look good across all devices. The size and resolution of the original image will not affect the page loading speed, although low-resolution images aren’t ideal for display on high-resolution displays, and these may also limit the performance of the Hyper Zoom feature.
     38Unless you choose a display option in WordPress that exceeds the dimensions of the original image, SmartFrame will never upscale your images. For this reason, you should make sure that the original images you upload are in a high enough quality to look good on modern displays (at least 2000px wide for photos). The size of the original image will not affect the page loading speed, but if the image is too small it may not look good on large displays, and may limit the performance of the Hyper Zoom feature.
    3939
    4040### SECURITY AND COPYRIGHT PROTECTION ###
     
    7777The SmartFrame plugin uses a fast and reliable cloud service to process, encrypt and reduce image size. This allows images to be encrypted and displayed quickly and securely in any geographical location. The cloud, which is a custom implementation of an Amazon Web Services platform, features autoscaling, load balancing, frequent backups, 24/7 monitoring and 99.9% availability, and is used by many large international companies.
    7878
    79 To store images in the cloud, users simply need to register for a SmartFrame account, which is free of charge for up to 2GB of images. This can be upgraded to Pro or Enterprise plans for more demanding users. Registration also gives you access to the SmartFrame Admin Panel, which offers many additional tools. [Read more about the features here](https://smartframe.io/?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Features).
     79To store images in the cloud, just register for a SmartFrame account, which is free of charge for up to 500MB of images. Should you require more storage space and additional functionality, you are free to upgrade your plan to either our Standard or Professional package at any time. Registration also gives you access to the SmartFrame Admin Panel, which offers many additional tools. [Read more about the features here](https://smartframe.io/?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Features).
    8080
    8181
     
    8484SmartFrame plugin allows you to convert any JPEG image in your pages and posts into SmartFrame format. Full support for background images, featured images, galleries and multiple image formats is coming soon. The plugin has been tested with most popular WordPress themes but due to the huge variety of WordPress themes and layouts we cannot guarantee that it will work with every theme, especially completely custom ones. Current unsupported themes: Newspaperist, Boggist, Mesmerize, Flatsome.
    8585
    86 SmartFrame plugin has been also tested with Compress JPEG & PNG images, No Right Click Images Plugin, Secure Copy Content Protection, RCD-Right Click Disabler, Jetpack, Prevent Content Theft [Disable Right Click], EWWW Image Optimizer, Optimus – WordPress Image Optimizer, CheetahO Image Compression and Optimizer, ShortPixel Image Optimizer, Image optimization service by Optimole, Robin image optimizer, Kraken Image Optimizer, Image Watermark, Easy Watermark, reSmush.it Image Optimizer, Disable Right Click For WP, No Right Click Images Plugin, WP Content Copy Protection & No Right Click, Content Copy Protection with Color Design, WPForms, MonsterInsights, Yoast SEO, Akismet, WP Fastest Cache, WP Super Cache, LiteSpeed Cache, W3 Total Cache, Google XML Sitemaps, Page Builder by SiteOrigin, WooCommerce, Elementor Page Builder, Avada theme, BeTheme theme, The7 theme, Enfold theme, X The theme, Astra theme, Write theme, Generate Press theme, Neve theme, Reykjavik theme, Cali theme, Didi Lite theme, OceanWP theme.
    87 
    88 SmartFrame plugin doesn't guarantee full compatibility with Lazy Load by WP Rocket plugin, Smush Image Compression and Optimisation, Beaver Builder, WP Image Zoom, Instapage, WordPress Gallery Plugin – NextGEN Gallery, Slider Revolution builder, Divi builder, Modula Image Gallery, Gallery Plugin for WordPress - Envira Photo Gallery, Photo Gallery by 10Web – Mobile-Friendly Image Gallery, FooGallery – Image Gallery WordPress Plugin, Image Gallery by Robo – Responsive Photo Gallery, WPBakery Page Builder, Lazy Loader, Easy Lazy Loader, Lazy Load Optimizer, lazysizes, A performant lazy loader (defer.js), Smart Image Loader, Secure Image Protection, Hotlink Protection.
     86SmartFrame plugin doesn't guarantee full compatibility with Compress JPEG & PNG images, No Right Click Images Plugin, Secure Copy Content Protection, RCD-Right Click Disabler, Jetpack, Prevent Content Theft [Disable Right Click], EWWW Image Optimizer, Optimus – WordPress Image Optimizer, CheetahO Image Compression and Optimizer, ShortPixel Image Optimizer, Image optimization service by Optimole, Robin image optimizer, Kraken Image Optimizer, Image Watermark, Easy Watermark, reSmush.it Image Optimizer, Disable Right Click For WP, No Right Click Images Plugin, WP Content Copy Protection & No Right Click, Content Copy Protection with Color Design, WPForms, MonsterInsights, Yoast SEO, Akismet, WP Fastest Cache, WP Super Cache, LiteSpeed Cache, W3 Total Cache, Google XML Sitemaps, Page Builder by SiteOrigin, WooCommerce, Elementor Page Builder, Avada theme, BeTheme theme, The7 theme, Enfold theme, X The theme, Astra theme, Write theme, Generate Press theme, Neve theme, Reykjavik theme, Cali theme, Didi Lite theme, OceanWP theme, Lazy Load by WP Rocket plugin, Smush Image Compression and Optimisation, Beaver Builder, WP Image Zoom, Instapage, WordPress Gallery Plugin – NextGEN Gallery, Slider Revolution builder, Divi builder, Modula Image Gallery, Gallery Plugin for WordPress - Envira Photo Gallery, Photo Gallery by 10Web – Mobile-Friendly Image Gallery, FooGallery – Image Gallery WordPress Plugin, Image Gallery by Robo – Responsive Photo Gallery, WPBakery Page Builder, Lazy Loader, Easy Lazy Loader, Lazy Load Optimizer, lazysizes, A performant lazy loader (defer.js), Smart Image Loader, Secure Image Protection, Hotlink Protection.
     87
     88SmartFrame plugin is compatible with the following free WordPress themes: Fukusawa by Anders Norén, Photograph by Theme Freesia, Photos by Automattic. It is also compatible with the following WordPress page builders: MotoPress Content Editor Lite, Page Builder by SiteOrigin.
    8989
    9090Please note that the WordPress image masking feature is not supported on SmartFrame. This means that when you select the “Circle Mask” option for one or more images in WordPress, then they will be presented in the default square or rectangular format.
     
    106106= Is the SmartFrame plugin really free? =
    107107
    108 Yes, the plugin itself is completely free to use, regardless of the SmartFrame plan selected. The most basic SmartFrame plan is the Free plan, which includes 2GB storage space for your images. Should you want to increase this and/or remove SmartFrame branding from your images, you’ll need to upgrade to a paid-for SmartFrame Pro plan. [You can read more about SmartFrame pricing here](https://smartframe.io/pricing?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Pricing).
     108Yes, the plugin itself is completely free to use, regardless of the SmartFrame plan selected. The most basic SmartFrame plan is the Personal plan, which includes 500MB storage space for your images. Should you want to increase this and/or remove SmartFrame branding from your images, you’ll need to upgrade to a paid-for SmartFrame plan. [You can read more about SmartFrame pricing here](https://smartframe.io/pricing?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Pricing).
    109109
    110110= Which image formats does SmartFrame support? =
     
    142142Yes. When using the SmartFrame plugin you can opt to use it for all images that you upload, or decide to use it for a particular image by excluding the CSS class in the SmartFrame Settings page.
    143143
    144 You can also decide which SmartFrame features are available on a particular image by using SmartFrame’s Themes. As a WordPress plugin user, you can select one of three existing themes, but if you sign up for a SmartFrame account and decide to use the [SmartFrame Admin panel](https://panel.smartframe.io/login?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=SmartFrame%20Panel) you will be able to create your own bespoke Themes.
     144You can also decide which SmartFrame features are available on a particular image by using SmartFrame’s Themes. As a WordPress plugin user, you can select one of three existing themes, but if you sign up for a SmartFrame account and decide to use the [SmartFrame Admin panel](https://panel.smartframe.io/login?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=SmartFrame%20Panel) you will be able to create your own bespoke Themes.
    145145
    146146= Will SmartFrame have a negative impact on my SEO? =
     
    150150= Does the plugin work on all major browsers? =
    151151
    152 SmartFrame is fully compatible with Chrome, Safari, Firefox and Microsoft Edge browsers. [You can find more information here](https://smartframe.io/support/supported-browsers?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Supported%20Browsers).
     152SmartFrame is fully compatible with Chrome, Safari, Firefox and Microsoft Edge browsers. [You can find more information here](https://smartframe.io/support/supported-browsers?utm_campaign=WordPress%20Plugin%20v2.4.0&utm_medium=referral&utm_source=WordPress%20Plugin%20Page&utm_content=Supported%20Browsers).
    153153
    154154= How can I remove the "SmartFrame" label from my images? =
     
    168168== Changelog ==
    169169
     170= 2.4 =
     171* Removed the possibility to register a SmartFrame account via WordPress plugin
     172
     173= 2.3 =
     174* SmartFrame plugin is now compatible with WordPress 5.5
     175
    170176= 2.2 =
     177* SmartFrame plugin is now compatible with WordPress 5.4
     178* Added a warning alert in case the user leaves the page during the registration process
     179* Improved image sizing with upscaling allowed
     180* Improved security and stability
     181* Bug fixes
     182
     183= 2.1 =
     184* SmartFrame plugin is now compatible with WordPress 5.3
    171185* Improved the way to select images to be converted to SmartFrame
    172186* Improved security and stability
  • smartframe/trunk/smartframe.php

    r2700521 r2700536  
    3535 * Plugin URI:        https://smartframe.io/wordpress?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20plugins%20page&utm_content=Visit%20plugin%20site
    3636 * Description:       Secure images with watermark, disable right click, enable zoom or fullscreen. Compress images without losing quality.
    37  * Version:           2.3.1
     37 * Version:           2.4.0
    3838 * Author:            SmartFrame Technologies Ltd
    3939 * Author URI:        https://smartframe.io/?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress%20plugins%20page&utm_content=Visit%20author%20site
  • smartframe/trunk/vendor/smartframe/smartlib/src/App/SmartFramePlugin.php

    r2700521 r2700536  
    1919    public static $PLUGIN_NAME = 'sfm-smartframe';
    2020    public static $PLUGIN_OPTION_PREFIX = 'sfm_smartframe';
    21     public static $VERSION = '2.3.1';
     21    public static $VERSION = '2.4.0';
    2222
    2323    private $adminSection;
  • smartframe/trunk/vendor/smartframe/smartlib/src/App/config.plugin.php

    r2700521 r2700536  
    77
    88//CSS AND JS Versioning
    9 $config->addConfig('scripts-version', '2.3.1');
     9$config->addConfig('scripts-version', '2.4.0');
    1010
    1111////////Local
    12 $config->addConfig('DEBUG', true);
    13 $config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data');
    14 $config->addConfig('panel.endpoint', 'http://panel.sfapi.lo:4200');
    15 $config->addConfig('dapi.endpoint', 'http://dapi.sfapi.lo');
    16 $config->addConfig(SMARTFRAME_API_ENDPOINT, 'http://api2.sfapi.lo/v1');
    17 $config->addConfig('static_cdn_sfm_url', 'http://static-cdn-docker.lo/sfm');
    18 $config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan');
    19 $config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate');
    20 $config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');
    21 $config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v1.5.3%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');
    22 $config->addConfig('api.statistics.endpoint', 'http://statistics.sfapi.lo');
     12//$config->addConfig('DEBUG', true);
     13//$config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data');
     14//$config->addConfig('panel.endpoint', 'http://panel.sfapi.lo:4200');
     15//$config->addConfig('dapi.endpoint', 'http://dapi.sfapi.lo');
     16//$config->addConfig(SMARTFRAME_API_ENDPOINT, 'http://api2.sfapi.lo/v1');
     17//$config->addConfig('static_cdn_sfm_url', 'http://static-cdn-docker.lo/sfm');
     18//$config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan');
     19//$config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate');
     20//$config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');
     21//$config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') . '/api-register?utm_campaign=WordPress%20Plugin%20v1.5.3%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');
     22//$config->addConfig('api.statistics.endpoint', 'http://statistics.sfapi.lo');
    2323
    2424//////Preview
     
    6262
    6363//Cloud
    64 //$config->addConfig('DEBUG', false);
    65 //$config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data');
    66 //$config->addConfig('panel.endpoint', 'https://panel.smartframe.io');
    67 //$config->addConfig('dapi.endpoint', 'https://dapi.smartframe.io');
    68 //$config->addConfig(SMARTFRAME_API_ENDPOINT, 'https://api2.smartframe.io/v1');
    69 //$config->addConfig('static_cdn_sfm_url', 'https://static.smartframe.io/sfm');
    70 //$config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source='.$_SERVER['HTTP_HOST'].'&utm_content=Upgrade%20Plan');
    71 //$config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate');
    72 //$config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');
    73 //$config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Skip%20registration%20button');
    74 //$config->addConfig('api.statistics.endpoint', 'https://statistics.smartframe.io'); //check this url after deploy changes to cloud
     64$config->addConfig('DEBUG', false);
     65$config->addConfig('wpPluginApiUrl', $_SERVER['HTTP_HOST'] . '?rest_route=/smartframe/v1/images-data');
     66$config->addConfig('panel.endpoint', 'https://panel.smartframe.io');
     67$config->addConfig('dapi.endpoint', 'https://dapi.smartframe.io');
     68$config->addConfig(SMARTFRAME_API_ENDPOINT, 'https://api2.smartframe.io/v1');
     69$config->addConfig('static_cdn_sfm_url', 'https://static.smartframe.io/sfm');
     70$config->addConfig('panel.upgradePlane', $config->getConfig('panel.endpoint') . '/account/upgrade-plan?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source='.$_SERVER['HTTP_HOST'].'&utm_content=Upgrade%20Plan');
     71$config->addConfig('api.activate-token', $config->getConfig('dapi.endpoint') . '/api-activate');
     72$config->addConfig('api.register-call', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Get%20started%20button');
     73$config->addConfig('api.register-call-guest', $config->getConfig('dapi.endpoint') .'/api-register?utm_campaign=WordPress%20Plugin%20v2.2.0%20-%20Guest%20user&utm_medium=referral&utm_source=WordPress Plugin - ' . $_SERVER['HTTP_HOST'] . '&utm_content=Skip%20registration%20button');
     74$config->addConfig('api.statistics.endpoint', 'https://statistics.smartframe.io'); //check this url after deploy changes to cloud
Note: See TracChangeset for help on using the changeset viewer.