Plugin Directory

Changeset 2447903


Ignore:
Timestamp:
12/30/2020 11:01:46 AM (5 years ago)
Author:
aspexi
Message:

2.1.15

Location:
aspexi-facebook-like-box-sidebox
Files:
18 added
7 edited

Legend:

Unmodified
Added
Removed
  • aspexi-facebook-like-box-sidebox/trunk/aspexi-facebook-side-box.php

    r2089755 r2447903  
    11<?php
    22/*
    3 Plugin Name: Aspexi Like Box Sidebox
     3Plugin Name: Aspexi Social Media Sidebox
    44Plugin URI:  http://aspexi.com/downloads/aspexi-facebook-like-box-sidebox-hd/?src=free_plugin
    55Description: Plugin adds fancy Facebook Like Box Sidebox
    66Author: Aspexi
    7 Version: 2.1.14
     7Version: 2.1.15
    88Author URI: http://aspexi.com/
    99License: GPLv2 or later
     
    3131if ( !class_exists( 'AspexiFBsidebox' ) ) {
    3232
    33     define('ASPEXIFBSIDEBOX_VERSION', '2.1.14');
     33    define('ASPEXIFBSIDEBOX_VERSION', '2.1.15');
    3434    define('ASPEXIFBSIDEBOX_URL', plugin_dir_url( __FILE__ ) );
    3535    define('aspexifbsidebox_ADMIN_URL', 'themes.php?page=' . basename( __FILE__ ) );
     
    143143
    144144        public function admin_menu() {
    145             add_submenu_page( 'themes.php', __( 'Aspexi Like Box Sidebox', 'aspexifbsidebox' ), __( 'Aspexi Like Box Sidebox', 'aspexifbsidebox' ), 'manage_options', basename(__FILE__), array( &$this, 'admin_page') );
     145            add_submenu_page( 'themes.php', __( 'Aspexi Social Media Sidebox', 'aspexifbsidebox' ), __( 'Aspexi Social Media Sidebox', 'aspexifbsidebox' ), 'manage_options', basename(__FILE__), array( &$this, 'admin_page') );
    146146        }
    147147
     
    303303            ?>
    304304            <div class="wrap">
    305                 <div id="icon-link" class="icon32"></div><h2><?php _e( 'Aspexi Like Box Sidebox Settings', 'aspexifbsidebox' ); ?></h2>
     305                <div id="icon-link" class="icon32"></div><h2><?php _e( 'Aspexi Social Media Sidebox Settings', 'aspexifbsidebox' ); ?></h2>
    306306                <?php $this->display_admin_notices( true ); ?>
    307307                <div id="poststuff" class="metabox-holder">
     
    420420                                            <tr valign="top">
    421421                                                <th scope="row"><?php _e('Button Placement', 'aspexifbsidebox'); ?></th>
    422                                                 <td><input type="radio" name="afbsb_btvertical" value="top" disabled readonly />&nbsp;<?php _e('top of like box','aspexifbsidebox'); ?><br />
    423                                                     <input type="radio" name="afbsb_btvertical" value="middle" checked disabled readonly />&nbsp;<?php _e('middle of like box','aspexifbsidebox'); ?><br />
    424                                                     <input type="radio" name="afbsb_btvertical" value="bottom" disabled readonly />&nbsp;<?php _e('bottom of like box','aspexifbsidebox'); ?><br />
     422                                                <td><input type="radio" name="afbsb_btvertical" value="top" disabled readonly />&nbsp;<?php _e('top of sidebox','aspexifbsidebox'); ?><br />
     423                                                    <input type="radio" name="afbsb_btvertical" value="middle" checked disabled readonly />&nbsp;<?php _e('middle of sidebox','aspexifbsidebox'); ?><br />
     424                                                    <input type="radio" name="afbsb_btvertical" value="bottom" disabled readonly />&nbsp;<?php _e('bottom of sidebox','aspexifbsidebox'); ?><br />
    425425                                                    <input type="radio" name="afbsb_btvertical" value="fixed" disabled readonly />&nbsp;<?php _e('fixed','aspexifbsidebox'); ?>
    426                                                     <input type="text" name="afbsb_btvertical_val" value="" size="3" disabled readonly />&nbsp;px <?php _e('from like box top','aspexifbsidebox'); ?><?php echo $this->get_pro_link(); ?>
     426                                                    <input type="text" name="afbsb_btvertical_val" value="" size="3" disabled readonly />&nbsp;px <?php _e('from sidebox top','aspexifbsidebox'); ?><?php echo $this->get_pro_link(); ?>
    427427                                                </td>
    428428                                            </tr>
     
    532532                                            </tr>
    533533                                            <tr valign="top">
    534                                                 <th scope="row"><?php _e('Disable on GET', 'aspexifbsidebox'); ?><br /><span style="font-size: 10px"><?php _e('Example: set Parameter=iframe and Value=true. Like Box will be disabled on all URLs like yourwebsite.com/?iframe=true.', 'aspexifbsidebox'); ?></span></th>
     534                                                <th scope="row"><?php _e('Disable on GET', 'aspexifbsidebox'); ?><br /><span style="font-size: 10px"><?php _e('Example: set Parameter=iframe and Value=true. Sidebox will be disabled on all URLs like yourwebsite.com/?iframe=true.', 'aspexifbsidebox'); ?></span></th>
    535535                                                <td><?php _e('Parameter', 'aspexifbsidebox'); ?>:&nbsp;<input type="text" name="afbsb_disableparam" value="" size="6" disabled readonly /><br />
    536536                                                    <?php _e('Value', 'aspexifbsidebox'); ?>:&nbsp;<input type="text" name="afbsb_disableval" value="" size="6" disabled readonly /><?php echo $this->get_pro_link(); ?>
     
    586586                                            </tr>
    587587                                            <tr valign="top">
    588                                                 <th scope="row"><?php _e('Disable on Small Screens', 'aspexifbsidebox'); ?><br /><span style="font-size: 10px"><?php _e('Dynamically hide the plugin if screen size is smaller than like box size (CSS media query)', 'aspexifbsidebox'); ?></span></th>
     588                                                <th scope="row"><?php _e('Disable on Small Screens', 'aspexifbsidebox'); ?><br /><span style="font-size: 10px"><?php _e('Dynamically hide the plugin if screen size is smaller than sidebox size (CSS media query)', 'aspexifbsidebox'); ?></span></th>
    589589                                                <td><input type="checkbox" value="on" name="afbsb_smallscreens" checked disabled readonly /><?php echo $this->get_pro_link(); ?></td>
    590590                                            </tr>
     
    643643                                </div>
    644644                            </div>
    645                             <div id="aspexifbsidebox-footer" style="text-align:left;text-shadow:0 1px 0 #fff;margin:0 0 10px;color:#888;"><?php echo sprintf(__('If you like %s please leave us a %s rating. A huge thank you in advance!'), '<strong>Aspexi Like Box Sidebox HD</strong>', '<a href="https://wordpress.org/plugins/aspexi-facebook-like-box-sidebox/reviews/#new-post" target="_blank">&#9733;&#9733;&#9733;&#9733;&#9733</a>') ?></div>
     645                            <div id="aspexifbsidebox-footer" style="text-align:left;text-shadow:0 1px 0 #fff;margin:0 0 10px;color:#888;"><?php echo sprintf(__('If you like %s please leave us a %s rating. A huge thank you in advance!'), '<strong>Aspexi Social Media Sidebox HD</strong>', '<a href="https://wordpress.org/plugins/aspexi-facebook-like-box-sidebox/reviews/#new-post" target="_blank">&#9733;&#9733;&#9733;&#9733;&#9733</a>') ?></div>
    646646                            <script type="text/javascript">
    647647                                jQuery(document).ready(function(){
     
    742742                if (d.getElementById(id)) return;
    743743                js = d.createElement(s); js.id = id;
    744                 js.src = "//connect.facebook.net/'.$locale.'/sdk.js#xfbml=1&version=v3.3&appId=1548213832159053";
     744                js.src = "//connect.facebook.net/'.$locale.'/sdk.js#xfbml=1&version=v9.0&appId=1548213832159053";
    745745                fjs.parentNode.insertBefore(js, fjs);
    746746            }(document, \'script\', \'facebook - jssdk\'));</script>
  • aspexi-facebook-like-box-sidebox/trunk/js/afsb.js

    r1993491 r2447903  
    66                    afbbox = jQuery('.aspexifbsidebox .aspexi_facebook_iframe');
    77
    8                 if (jQuery.browser.msie && parseInt(jQuery.browser.version) < 8) {
     8                if (aspexi.browser.msie && parseInt(aspexi.browser.version) < 8) {
    99                    jQuery('.aspexifbsidebox .aspexi_facebook_iframe').hide();
    1010                    jQuery('.aspexifbsidebox').find('.arrow').hide();
     
    2020                afbbox.data('width', afsb.width);
    2121
    22                 if (jQuery.browser.msie && parseInt(jQuery.browser.version) < 8) {
     22                if (aspexi.browser.msie && parseInt(aspexi.browser.version) < 8) {
    2323                    afbbox.show().width(afsb.width);
    2424                    afbbox.prev().show();
     
    4040            afbbox.data('width', afsb.width);
    4141
    42             if (jQuery.browser.msie && parseInt(jQuery.browser.version) < 8) {
     42            if (aspexi.browser.msie && parseInt(aspexi.browser.version) < 8) {
    4343                afbbox.show().width(afsb.width);
    4444                afbbox.prev().show();
     
    5959                afbbox = jQuery('.aspexifbsidebox .aspexi_facebook_iframe');
    6060
    61             if (jQuery.browser.msie && parseInt(jQuery.browser.version) < 8) {
     61            if (aspexi.browser.msie && parseInt(aspexi.browser.version) < 8) {
    6262                jQuery('.aspexifbsidebox .aspexi_facebook_iframe').hide();
    6363                jQuery('.aspexifbsidebox').find('.arrow').hide();
     
    7171        });
    7272    }
     73    var aspexi = aspexi || {};
     74    aspexi.browser = {};
     75    (function () {
     76        aspexi.browser.msie = false;
     77        aspexi.browser.version = 0;
     78        if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) {
     79            aspexi.browser.msie = true;
     80            aspexi.browser.version = RegExp.$1;
     81        }
     82    })();
    7383});
  • aspexi-facebook-like-box-sidebox/trunk/readme.txt

    r2089755 r2447903  
    1 === Aspexi Like Box Sidebox ===
     1=== Aspexi Social Media Sidebox ===
    22Author: Krzysztof Dryja (Aspexi)
    33Author URI: http://aspexi.com
     
    66Tags: facebook, likebox, like box, floating, button, slider, facebook likebox, facebook like box, facebook slider, facebook buttons, sidebox, facebook sidebox, like box sidebox, likebox sidebox, side box, like box side box
    77Requires at least: 3.0
    8 Tested up to: 5.2
    9 Stable tag: 2.1.14
     8Tested up to: 5.6
     9Stable tag: 2.1.15
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    125125== Changelog ==
    126126
     127= 2.1.15 =
     128* (premium) Lifetime license 'expiry' info now showing correctly.
     129* Plugin's name update to match Facebook Developer Submission Guidelines
     130* Facebook API update
     131* jQuery Migrate related issue fix
     132
    127133= 2.1.14 =
    128134* (premium) Better License status notification in Settings page
Note: See TracChangeset for help on using the changeset viewer.