Plugin Directory

Changeset 702809


Ignore:
Timestamp:
04/24/2013 12:21:22 PM (13 years ago)
Author:
TM3909
Message:

2.2 - Adding Stumbleupon Extension and button.

Location:
wpsocialite/trunk
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • wpsocialite/trunk/Socialite/demo/demo.css

    r598435 r702809  
    2626.social-buttons .facebook-like { width: 50px; height: 65px; background-position: -145px 0; }
    2727.social-buttons .linkedin-share { width: 60px; height: 65px; background-position: -215px 0; }
     28
     29.social-buttons .reddit-share { width: 60px; height: 65px; background:blue; }
     30.social-buttons .tumblr-share { width: 60px; height: 65px; background:red; }
     31.social-buttons .stumbleupon-share { width: 60px; height: 65px; background:orange; }
  • wpsocialite/trunk/Socialite/demo/hover.html

    r655377 r702809  
    3030            <li><a href="http://www.facebook.com/sharer.php?u=http://www.socialitejs.com&amp;t=Socialite.js" class="socialite facebook-like" data-href="http://socialitejs.com" data-send="false" data-layout="box_count" data-width="60" data-show-faces="false" rel="nofollow" target="_blank"><span class="vhidden">Share on Facebook</span></a></li>
    3131            <li><a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://socialitejs.com&amp;title=Socialite.js" class="socialite linkedin-share" data-url="http://socialitejs.com" data-counter="top" rel="nofollow" target="_blank"><span class="vhidden">Share on LinkedIn</span></a></li>
     32
     33            <li>
     34                <a href="http://reddit.com/submit?&amp;url=http://socialitejs.com&amp;title=Socialite.js" class="socialite reddit-share" data-url="http://socialitejs.com" data-counter="top" rel="nofollow" target="_blank">
     35                    <span class="vhidden">Share on Reddit</span>
     36                </a>
     37            </li>
     38
     39            <li>
     40                <a id="tumblr-share" href="http://www.tumblr.com/share/link?&amp;url=http://socialitejs.com&amp;name=Socialite.js" class="socialite tumblr-share" data-url="http://socialitejs.com" data-title="Socialite JS" data-counter="top" rel="nofollow" target="_blank">
     41                    <span class="vhidden">Share on Tumblr</span>
     42                </a>
     43            </li>
     44
     45            <li>
     46                <a id="stumbleupon-share" href="http://www.stumbleupon.com/submit?&amp;url=http://inktank.fi/wow-historys-most-iconic-photos-in-colour/&amp;title=InkTank" class="socialite stumbleupon-share" data-url="http://socialitejs.com" data-title="Socialite JS" data-counter="top" data-layout="5" rel="nofollow" target="_blank">
     47                    <span class="vhidden">Share on StumbleUpon</span>
     48                </a>
     49            </li>
     50
    3251        </ul>
    3352    </article>
     
    4261            <li><a href="http://www.facebook.com/sharer.php?u=http://www.socialitejs.com&amp;t=Socialite.js" class="socialite facebook-like" data-href="http://socialitejs.com" data-send="false" data-layout="box_count" data-width="60" data-show-faces="false" rel="nofollow" target="_blank"><span class="vhidden">Share on Facebook</span></a></li>
    4362            <li><a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://socialitejs.com&amp;title=Socialite.js" class="socialite linkedin-share" data-url="http://socialitejs.com" data-counter="top" rel="nofollow" target="_blank"><span class="vhidden">Share on LinkedIn</span></a></li>
     63
     64            <li>
     65                <a id="tumblr-share" href="http://www.tumblr.com/share/link?&amp;url=http://socialitejs.com&amp;name=Socialite.js" class="socialite tumblr-share" data-url="http://socialitejs.com" data-title="Socialite JS" data-counter="top" rel="nofollow" target="_blank">
     66                    <span class="vhidden">Share on Tumblr</span>
     67                </a>
     68            </li>
    4469        </ul>
    4570    </article>
     
    145170    </div>
    146171    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    147     <script src="../socialite.js"></script>
     172    <script src="http://socialitejs.dev/socialite.js"></script>
     173    <script src="http://socialitejs.dev/extensions/socialite.reddit2.js"></script>
     174    <script src="http://socialitejs.dev/extensions/socialite.tumblr.js"></script>
     175    <script src="http://socialitejs.dev/extensions/socialite.stumbleupon.js"></script>
    148176    <script>
    149177
  • wpsocialite/trunk/lib/wpsocialite.css

    r665673 r702809  
    2929.wpsocialite.large .linkedin-share { width: 60px; height: 65px; background-position: -215px 0; }
    3030.wpsocialite.large .pinterest-pinit { width: 50px; height: 65px; background-position: -367px 0; }
    31 
     31.wpsocialite.large .stumbleupon-share { width: 50px; height: 65px; background-position: -439px 0; }
     32.wpsocialite.large .twitter-follow { width: 56px; height: 65px; background-position: -509px 0; }
     33.wpsocialite.large .twitter-follow.socialite-loaded{ width:100%; }
    3234/*
    3335 * Socialite Custom Default
     
    4749.wpsocialite.small .linkedin-share { background-position: 0 -135px; }
    4850.wpsocialite.small .pinterest-pinit { background-position: 0 -175px; }
     51.wpsocialite.small .stumbleupon-share { background-position: 0 -225px; }
     52.wpsocialite.small .twitter-follow.socialite-loaded{ width:200px; }
  • wpsocialite/trunk/readme.txt

    r699152 r702809  
    55Requires at least: 3.0
    66Tested up to: 3.5.1
    7 Stable tag: 2.1
     7Stable tag: 2.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2020    'size' => 'large', //choose which size buttons to display.
    2121    'url' => 'http://google.com', //use this to override the url that is sent to WPSocialite. Not recommended to use in loop.
    22     'button_override' => 'facebook,twitter-share,twitter-follow,pinterest,linkedin,gplus' //used to override buttons that are displayed. Add and remove as needed.
     22    'button_override' => 'facebook,twitter-share,twitter-follow,pinterest,linkedin,gplus,stumbleupon' //used to override buttons that are displayed. Add and remove as needed.
    2323);
    2424wpsocialite_markup( $args ); ?>`
     
    2727= Shortcode =
    2828
    29 `[wpsocialite size="small" url="http://google.com" button_override="facebook,twitter-share,twitter-follow,pinterest,linkedin,gplus"]`
     29`[wpsocialite size="small" url="http://google.com" button_override="facebook,twitter-share,twitter-follow,pinterest,linkedin,gplus,stumbleupon"]`
    3030
    3131== Installation ==
     
    8989== Changelog ==
    9090
     91= 2.2 April 24, 2013 =
     92* Added StumbleUpon Social Sharing Button
     93
    9194= 2.1 - April 17, 2013 =
    9295* Bugfix - Twitter Username did not populate twitter follow button.
     
    135138== Upgrade Notice ==
    136139
     140= 2.2 April 24, 2013 =
     141* Added StumbleUpon Social Sharing Button
     142
    137143= 2.0 February 9, 2013 =
    138144* Code Cleanup, added shortcode additions, Twitter Follow button.
  • wpsocialite/trunk/wpsocialite.php

    r699152 r702809  
    55Description: No one likes long load times! Yet we all want to be able to share our content via Facebook, Twitter, and all other social networks. These take a long time to load. Paradox? Not anymore! With WPSocialite (utilizing David Bushnell's amazing SocialiteJS plugin [http://www.socialitejs.com/]) we can manage the loading process of our social sharing links. Load them on hover, on page scroll, and more!
    66Author: Tom Morton
    7 Version: 2.1
     7Version: 2.2
    88Author URI: http://twmorton.com/
    99
     
    145145                'size'              => get_option('wpsocialite_style'),
    146146                'url'               => null,
    147                 'button_override'   => 'facebook,twitter-share,gplus,linkedin,pinterest,twitter-follow',
     147                'button_override'   => 'facebook,twitter-share,gplus,linkedin,pinterest,twitter-follow,stumbleupon',
    148148            );
    149149            extract( wp_parse_args($args,$default_args), EXTR_SKIP );
     
    522522                    'external_file' => 'socialite.pinterest.js'
    523523                ),
     524                'stumbleupon' => array(
     525                    'name' => 'StumbleUpon',
     526                    'slug' => 'stumbleupon',
     527                    'markup_large' => '<a href="http://www.stumbleupon.com/submit?url='.$link.'&amp;title='.$title.'" class="socialite stumbleupon-share" data-url="'.$link.'" data-title="'.$title.'" data-layout="5" rel="nofollow"><span class="vhidden">'.apply_filters('wpsocialite_share_stumbleupon_label',__('Share on StumbleUpon','wpsocialite')).'</span></a>',
     528                    'markup_small' => '<a href="http://www.stumbleupon.com/submit?url='.$link.'&amp;title='.$title.'" class="socialite stumbleupon-share" data-url="'.$link.'" data-title="'.$title.'" data-layout="1" rel="nofollow"><span class="vhidden">'.apply_filters('wpsocialite_share_stumbleupon_label',__('Share on StumbleUpon','wpsocialite')).'</span></a>',
     529                    'external_file' => 'socialite.stumbleupon.js'
     530                ),
    524531                'twitter-follow' => array(
    525532                    'name' => 'Twitter Follow',
Note: See TracChangeset for help on using the changeset viewer.