Plugin Directory

Changeset 614905


Ignore:
Timestamp:
10/20/2012 12:59:36 PM (13 years ago)
Author:
remix4
Message:

2.4.4

Location:
slick-social-share-buttons
Files:
55 added
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • slick-social-share-buttons/trunk/css/admin_dcssb.css

    r493433 r614905  
    5959/* Plugin specific */
    6060#sortable {padding-top: 10px;}
    61 #sortable li {cursor: move; background: #fff; border: 1px solid #ccc; margin-bottom: 1px; box-shadow: 0 1px 0 #FFFFFF; -moz-border-radius:5px;    -webkit-border-radius:5px;}
     61#sortable li {cursor: move; background: #fff; border: 1px solid #ccc; margin-bottom: 1px; box-shadow: 0 1px 0 #FFFFFF; -moz-border-radius:5px;    -webkit-border-radius:5px; z-index: 10;}
    6262#sortable li.sort-holder {height: 75px; background: #F2F5FF;}
    6363#sortable li .dcwp-table tr td {padding: 0 10px; height: 68px;}
     
    7575
    7676select.dcssb-button, #dcssb_position, #dcssb_shortener, #dcssb_direction {width: 140px;}
    77 span.dcssb-button  {display: none;}
     77span.dcssb-button  {display: none; z-index: 11;}
     78select.dcssb-button {z-index: 100;}
    7879
    7980.postbox-container .meta-box-sortables {min-height: 200px;}
  • slick-social-share-buttons/trunk/css/dcssb.css

    r526733 r614905  
    88#nav-dcssb li {
    99padding: 5px;
     10background: none;
    1011}
    1112#nav-dcssb li.size-box {
  • slick-social-share-buttons/trunk/dcwp_slick_social_buttons.php

    r544611 r614905  
    77Author: Lee Chestnutt
    88Author URI: http://www.designchemical.com
    9 Version: 2.4.3
     9Version: 2.4.4
    1010*/
    1111
     
    2222            add_shortcode( 'dcssb-link', 'dcssb_share_link_shortcode' );
    2323           
    24            
    25                 add_filter('language_attributes', array('dc_jqslicksocial','OpenGraph'));
    26                 add_filter('language_attributes', array('dc_jqslicksocial','FGraph'));
     24            add_filter('language_attributes', array('dc_jqslicksocial','OpenGraph'));
     25            add_filter('language_attributes', array('dc_jqslicksocial','FGraph'));
    2726           
    2827        }
     
    6867                wp_enqueue_script( 'jqueryslick', dc_jqslicksocial::get_plugin_directory() . '/js/jquery.social.slick.1.0.js', array('jquery') );
    6968            } else {
    70                 wp_enqueue_script( 'jqueryeasing', dc_jqslicksocial::get_plugin_directory() . '/js/jquery.easing.js', array('jquery') );
    7169                wp_enqueue_script( 'jqueryfloater', dc_jqslicksocial::get_plugin_directory() . '/js/jquery.social.float.1.3.js', array('jquery') );
    7270            }
     
    8078    }
    8179   
    82     function get_plugin_directory(){
    83         return WP_PLUGIN_URL . '/slick-social-share-buttons';   
     80    function get_plugin_directory(){   
     81        return plugins_url() . '/slick-social-share-buttons';
    8482    }
    8583   
  • slick-social-share-buttons/trunk/inc/dcwp_admin.php

    r503014 r614905  
    1313        var $homepage = 'http://www.designchemical.com/blog/index.php/wordpress-plugins/wordpress-plugin-slick-social-share-buttons/';
    1414        var $imageurl = 'http://www.designchemical.com/media/images/slick_social_share_buttons.jpg';
    15         var $homeshort = 'http://bit.ly/q9oapO';
     15        var $homeshort = 'http://bit.ly/ow2zdN';
    1616        var $twitter = 'designchemical';
    1717        var $title = 'Wordpress plugin Slick Social Share Buttons';
     
    127127            });
    128128            $( "#sortable" ).disableSelection();
     129           
     130            $('#sortable input, #sortable select').bind('click.sortable mousedown.sortable',function(ev){
     131                ev.target.focus();
     132            });
     133           
    129134            $('.dcwp-category-list li a').live('click',function(){
    130135                $(this).addClass('process');
  • slick-social-share-buttons/trunk/inc/dcwp_social.php

    r544611 r614905  
    529529                <?php if($method == 'stick'){ ?>
    530530               
    531                     jQuery('#dc-dcssb').dcSocialSlick({
     531                    var config = {
    532532                        idWrapper : '<?php echo $idWrapper; ?>',
    533533                        location: '<?php echo $location; ?>',
     
    541541                        classOpen: '<?php echo $classOpen; ?>',
    542542                        classClose: '<?php echo $classClose; ?>',
    543                         classToggle: '<?php echo $classToggle; ?>'
    544                        
    545                     });
     543                        classToggle: '<?php echo $classToggle; ?>'                 
     544                    };
     545                    if(!jQuery().dcSocialSlick) {
     546                        $.getScript('<?php echo dc_jqslicksocial::get_plugin_directory(); ?>/js/jquery.social.slick.1.0.js', function(){
     547                            jQuery('#dc-dcssb').dcSocialSlick(config);
     548                        });
     549                    } else {
     550                        jQuery('#dc-dcssb').dcSocialSlick(config);
     551                    }
     552
     553                <?php } else { ?>
    546554                   
    547                 <?php } else { ?>
    548                
    549                     jQuery('#dc-dcssb').dcSocialFloater({
     555                    var config = {
    550556                        idWrapper : '<?php echo $idWrapper; ?>',
    551557                        width: '<?php echo $width; ?>',
     
    565571                        classOpen: '<?php echo $classOpen; ?>',
    566572                        classClose: '<?php echo $classClose; ?>',
    567                         classToggle: '<?php echo $classToggle; ?>'
    568                     });
     573                        classToggle: '<?php echo $classToggle; ?>'             
     574                    };
     575                    if(!jQuery().dcSocialFloater) {
     576                        $.getScript('<?php echo dc_jqslicksocial::get_plugin_directory(); ?>/js/jquery.social.float.1.3.js', function(){
     577                            jQuery('#dc-dcssb').dcSocialFloater(config);
     578                        });
     579                    } else {
     580                        jQuery('#dc-dcssb').dcSocialFloater(config);
     581                    }
    569582                <?php } ?>
    570583                });
  • slick-social-share-buttons/trunk/js/jquery.social.float.1.3.js

    r503014 r614905  
     1/*
     2 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
     3 *
     4 * Uses the built in easing capabilities added In jQuery 1.1
     5 * to offer multiple easing options
     6 *
     7 * TERMS OF USE - jQuery Easing
     8 *
     9 * Open source under the BSD License.
     10 *
     11 * Copyright © 2008 George McGinley Smith
     12 * All rights reserved.
     13*/
     14
     15// t: current time, b: begInnIng value, c: change In value, d: duration
     16jQuery.easing['jswing'] = jQuery.easing['swing'];
     17
     18jQuery.extend( jQuery.easing,
     19{
     20    def: 'easeOutQuad',
     21    swing: function (x, t, b, c, d) {
     22        //alert(jQuery.easing.default);
     23        return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
     24    },
     25    easeInQuad: function (x, t, b, c, d) {
     26        return c*(t/=d)*t + b;
     27    },
     28    easeOutQuad: function (x, t, b, c, d) {
     29        return -c *(t/=d)*(t-2) + b;
     30    },
     31    easeInOutQuad: function (x, t, b, c, d) {
     32        if ((t/=d/2) < 1) return c/2*t*t + b;
     33        return -c/2 * ((--t)*(t-2) - 1) + b;
     34    },
     35    easeInCubic: function (x, t, b, c, d) {
     36        return c*(t/=d)*t*t + b;
     37    },
     38    easeOutCubic: function (x, t, b, c, d) {
     39        return c*((t=t/d-1)*t*t + 1) + b;
     40    },
     41    easeInOutCubic: function (x, t, b, c, d) {
     42        if ((t/=d/2) < 1) return c/2*t*t*t + b;
     43        return c/2*((t-=2)*t*t + 2) + b;
     44    },
     45    easeInQuart: function (x, t, b, c, d) {
     46        return c*(t/=d)*t*t*t + b;
     47    },
     48    easeOutQuart: function (x, t, b, c, d) {
     49        return -c * ((t=t/d-1)*t*t*t - 1) + b;
     50    },
     51    easeInOutQuart: function (x, t, b, c, d) {
     52        if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
     53        return -c/2 * ((t-=2)*t*t*t - 2) + b;
     54    },
     55    easeInQuint: function (x, t, b, c, d) {
     56        return c*(t/=d)*t*t*t*t + b;
     57    },
     58    easeOutQuint: function (x, t, b, c, d) {
     59        return c*((t=t/d-1)*t*t*t*t + 1) + b;
     60    },
     61    easeInOutQuint: function (x, t, b, c, d) {
     62        if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
     63        return c/2*((t-=2)*t*t*t*t + 2) + b;
     64    },
     65    easeInSine: function (x, t, b, c, d) {
     66        return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
     67    },
     68    easeOutSine: function (x, t, b, c, d) {
     69        return c * Math.sin(t/d * (Math.PI/2)) + b;
     70    },
     71    easeInOutSine: function (x, t, b, c, d) {
     72        return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
     73    },
     74    easeInExpo: function (x, t, b, c, d) {
     75        return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
     76    },
     77    easeOutExpo: function (x, t, b, c, d) {
     78        return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
     79    },
     80    easeInOutExpo: function (x, t, b, c, d) {
     81        if (t==0) return b;
     82        if (t==d) return b+c;
     83        if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
     84        return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
     85    },
     86    easeInCirc: function (x, t, b, c, d) {
     87        return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
     88    },
     89    easeOutCirc: function (x, t, b, c, d) {
     90        return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
     91    },
     92    easeInOutCirc: function (x, t, b, c, d) {
     93        if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
     94        return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
     95    },
     96    easeInElastic: function (x, t, b, c, d) {
     97        var s=1.70158;var p=0;var a=c;
     98        if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
     99        if (a < Math.abs(c)) { a=c; var s=p/4; }
     100        else var s = p/(2*Math.PI) * Math.asin (c/a);
     101        return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
     102    },
     103    easeOutElastic: function (x, t, b, c, d) {
     104        var s=1.70158;var p=0;var a=c;
     105        if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
     106        if (a < Math.abs(c)) { a=c; var s=p/4; }
     107        else var s = p/(2*Math.PI) * Math.asin (c/a);
     108        return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
     109    },
     110    easeInOutElastic: function (x, t, b, c, d) {
     111        var s=1.70158;var p=0;var a=c;
     112        if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
     113        if (a < Math.abs(c)) { a=c; var s=p/4; }
     114        else var s = p/(2*Math.PI) * Math.asin (c/a);
     115        if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
     116        return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
     117    },
     118    easeInBack: function (x, t, b, c, d, s) {
     119        if (s == undefined) s = 1.70158;
     120        return c*(t/=d)*t*((s+1)*t - s) + b;
     121    },
     122    easeOutBack: function (x, t, b, c, d, s) {
     123        if (s == undefined) s = 1.70158;
     124        return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
     125    },
     126    easeInOutBack: function (x, t, b, c, d, s) {
     127        if (s == undefined) s = 1.70158;
     128        if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
     129        return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
     130    },
     131    easeInBounce: function (x, t, b, c, d) {
     132        return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
     133    },
     134    easeOutBounce: function (x, t, b, c, d) {
     135        if ((t/=d) < (1/2.75)) {
     136            return c*(7.5625*t*t) + b;
     137        } else if (t < (2/2.75)) {
     138            return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
     139        } else if (t < (2.5/2.75)) {
     140            return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
     141        } else {
     142            return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
     143        }
     144    },
     145    easeInOutBounce: function (x, t, b, c, d) {
     146        if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
     147        return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
     148    }
     149});
    1150/*
    2151 * DC jQuery Floater - jQuery Floater
     
    229378
    230379jQuery(document).ready(function($) {
    231     $('.pinItButton').click(function(){
     380    $('.pinItButton').click(function(e){
    232381        exec_pinmarklet();
     382        e.preventDefault();
    233383    });
    234384});
  • slick-social-share-buttons/trunk/js/jquery.social.slick.1.0.js

    r503014 r614905  
    230230
    231231jQuery(document).ready(function($) {
    232     $('.pinItButton').click(function(){
     232    $('.pinItButton').click(function(e){
    233233        exec_pinmarklet();
     234        e.preventDefault();
    234235    });
    235236});
  • slick-social-share-buttons/trunk/readme.txt

    r544611 r614905  
    44Tags: social media, facebook, linkedin, twitter, google+1, digg, delicious, reddit, buffer, social networks, bookmarks, buttons, animated, jquery, flyout, drop down, floating, sliding, pin it, pinterest, social statistics, social metrics
    55Requires at least: 3.0
    6 Tested up to: 3.3.1
    7 Stable tag: 2.4.3
     6Tested up to: 3.4.2
     7Stable tag: 2.4.4
    88
    99Slick social share buttons adds facebook, twitter, google +1, linkedin, digg, delicious, reddit, stumbleupon, buffer and pinterest pin it social media buttons in a floating or slide out tab. Includes a social statistics page in the plugin admin panel showing summaries of all share totals
     
    126126== Changelog ==
    127127
     128= 2.4.4 =
     129* Add: Code to reload jquery plugins if overwritten
     130* Edit: Change plugin path to use plugins_url()
     131* Fixed: Bug with button size select lists in admin
     132
    128133= 2.4.3 =
    129134* Edit: Delicious HTML
Note: See TracChangeset for help on using the changeset viewer.