Social Sharing Toolkit - Version 2.6

Version Description

  • Removed outdated services
Download this release

Release Info

Developer linksalpha
Plugin Icon wp plugin Social Sharing Toolkit
Version 2.6
Comparing to
See all releases

Code changes from version 2.5 to 2.6

includes/buttons/button.appnet.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
- class MR_Social_Sharing_Toolkit_AppNet extends MR_Social_Sharing_Toolkit_Button {
3
- function __construct() {
4
- $this->share_buttons[] = array('name' => 'ap_share', 'types' => array('none', 'icon_small', 'icon_small_text', 'icon_medium', 'icon_medium_text', 'icon_large'));
5
- $this->follow_buttons[] = array('name' => 'follow_app_net', 'id' => '@', 'types' => array('none', 'icon_small', 'icon_small_text', 'icon_medium', 'icon_medium_text', 'icon_large'));
6
- $this->title = 'App.net';
7
- $this->icon = 'appnet';
8
- }
9
-
10
- function ap_share($url, $title, $type, $id, $media = '', $description = '', $text = '', $icon = '') {
11
- $url = 'https://alpha.app.net/intent/post?text='.urlencode($url).'%20'.urlencode($title);
12
- $text = ($text == '') ? __('Share on','mr_social_sharing_toolkit').' App.net' : $text;
13
- return $this->get_icon($type, $url, $text, $icon, true);
14
- }
15
-
16
- function follow_app_net($type, $id, $text = '', $icon = '') {
17
- $url = 'https://alpha.app.net/'.$id;
18
- $text = ($text == '') ? __('Follow me on','mr_social_sharing_toolkit').' App.net' : $text;
19
- $blank = (get_option('mr_social_sharing_follow_new') == 1) ? true : false;
20
- return $this->get_icon($type, $url, $text, $icon, false, $blank);
21
- }
22
- }
23
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/buttons/button.linksalpha.php CHANGED
@@ -22,7 +22,7 @@ class MR_Social_Sharing_Toolkit_LinksAlpha extends MR_Social_Sharing_Toolkit_But
22
  }
23
  $retval = '<a rel="nofollow" class="linksalpha_button linksalpha_link" href="//www.linksalpha.com/social/mobile" data-url="'.$url.'" data-text="'.$title.'" data-desc="'.$description.'" data-image="'.$media.'" data-button="'.$type.'">
24
  <img src="//www.linksalpha.com/images/'.$image.'" alt="Share" class="linksalpha_image" />
25
- </a><script type="text/javascript" src="//www.linksalpha.com/scripts/loader_iconbox.js?v=2.3"></script>';
26
  return $retval;
27
  }
28
  }
22
  }
23
  $retval = '<a rel="nofollow" class="linksalpha_button linksalpha_link" href="//www.linksalpha.com/social/mobile" data-url="'.$url.'" data-text="'.$title.'" data-desc="'.$description.'" data-image="'.$media.'" data-button="'.$type.'">
24
  <img src="//www.linksalpha.com/images/'.$image.'" alt="Share" class="linksalpha_image" />
25
+ </a><script type="text/javascript" src="//www.linksalpha.com/scripts/loader_iconbox.js?v=2.4"></script>';
26
  return $retval;
27
  }
28
  }
includes/buttons/button.picasa.php DELETED
@@ -1,16 +0,0 @@
1
- <?php
2
- class MR_Social_Sharing_Toolkit_Picasa extends MR_Social_Sharing_Toolkit_Button {
3
- function __construct() {
4
- $this->follow_buttons[] = array('name' => 'follow_picasa', 'id' => 'id:', 'types' => array('icon_small', 'icon_small_text', 'icon_medium', 'icon_medium_text', 'icon_large'));
5
- $this->title = 'Picasa';
6
- $this->icon = 'picasa';
7
- }
8
-
9
- function follow_picasa($type, $id, $text = '', $icon = '') {
10
- $url = 'http://picasaweb.google.com/'.$id;
11
- $text = ($text == '') ? __('My Picasa Web Albums','mr_social_sharing_toolkit') : $text;
12
- $blank = (get_option('mr_social_sharing_follow_new') == 1) ? true : false;
13
- return $this->get_icon($type, $url, $text, $icon, false, $blank);
14
- }
15
- }
16
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/buttons/button.stumbleupon.js DELETED
@@ -1,5 +0,0 @@
1
- (function() {
2
- var li = document.createElement('script'); li.type = 'text/javascript'; li.async = true;
3
- li.src = window.location.protocol + '//platform.stumbleupon.com/1/widgets.js';
4
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(li, s);
5
- })();
 
 
 
 
 
includes/buttons/button.stumbleupon.php DELETED
@@ -1,30 +0,0 @@
1
- <?php
2
- class MR_Social_Sharing_Toolkit_Stumbleupon extends MR_Social_Sharing_Toolkit_Button {
3
- function __construct() {
4
- $this->share_buttons[] = array('name' => 'su_stumble', 'types' => array('none', 'horizontal', 'vertical', 'icon_small', 'icon_small_text', 'icon_medium', 'icon_medium_text', 'icon_large'));
5
- $this->title = 'StumbleUpon';
6
- $this->icon = 'stumbleupon';
7
- }
8
-
9
- function su_stumble($url, $title, $type, $id, $media = '', $description = '', $text = '', $icon = '') {
10
- switch ($type) {
11
- case 'horizontal':
12
- $retval = '<span class="stumble_horizontal"><su:badge layout="1" location="'.$url.'"></su:badge></span>';
13
- $footer = (get_option('mr_social_sharing_js_footer') == 1) ? true : false;
14
- $this->enqueue_script('Social_sharing_stumbleupon', plugins_url('/button.stumbleupon.js', __FILE__), $footer);
15
- break;
16
- case 'vertical':
17
- $retval = '<span class="stumble_vertical"><su:badge layout="5" location="'.$url.'"></su:badge></span>';
18
- $footer = (get_option('mr_social_sharing_js_footer') == 1) ? true : false;
19
- $this->enqueue_script('Social_sharing_stumbleupon', plugins_url('/button.stumbleupon.js', __FILE__), $footer);
20
- break;
21
- default:
22
- $url = 'http://www.stumbleupon.com/submit?url='.urlencode($url);
23
- $text = ($text == '') ? __('Submit to','mr_social_sharing_toolkit').' StumbleUpon' : $text;
24
- $retval = $this->get_icon($type, $url, $text, $icon, true);
25
- break;
26
- }
27
- return $retval;
28
- }
29
- }
30
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Social Sharing Toolkit ===
2
  Contributors: linksalpha
3
- Tags: Facebook, Like, WhatsApp, LinkedIn, Share, Google, Plus, +1, Pinterest, Google+, Twitter, Tweet, Follow, StumbleUpon, Stumble, Tumblr, Delicious, Digg, Reddit, Myspace, Hyves, YouTube, Flickr, 500px, Picasa, deaviantART, App.net, mail, Gmail, AOL, Evernote, Hotmail, Instapaper, Mail.ru, Pocket, Sonico, vkontakte, Weibo, Yahoo Mail, Yammer, RSS, feed, connect, recommend, social, sharing, widget, shortcode, page, post, button, counter, icon, bitly, Open Graph
4
  Requires at least: 3.0
5
- Tested up to: 4.4
6
- Stable tag: 2.5
7
  License: GPLv2 or later
8
 
9
  Easy sharing and connecting on social networks. Display on posts or use widgets or shortcode. Also Twitter name/hashtag to link converter.
@@ -20,17 +20,13 @@ The plugin currently supports the following networks for sharing your content:
20
  * Pinterest
21
  * LinkedIn
22
  * Tumblr
23
- * StumbleUpon
24
- * Delicious
25
  * Digg
26
  * Reddit
27
  * Myspace
28
- * Hyves
29
- * App.net
30
  * Gmail
31
  * AOL
32
  * Evernote
33
- * Hotmail
34
  * Instapaper
35
  * Mail.ru
36
  * Pocket
@@ -38,7 +34,7 @@ The plugin currently supports the following networks for sharing your content:
38
  * vkontakte
39
  * Weibo
40
  * Yahoo Mail
41
- * Yammer.
42
 
43
  On Tweet button you can specify a Twitter handle which is then appended to the tweet a visitor sends (like "... via @WordPress"). An email send button is also included.
44
 
@@ -92,13 +88,11 @@ The networks currently supported for the Follow Widget are:
92
  * YouTube
93
  * Flickr
94
  * 500px
95
- * Picasa
96
  * Instagram
97
  * DeviantArt
98
  * Last.fm
99
  * Spotify
100
  * Soundcloud
101
- * App.net
102
 
103
  A button for an RSS feed is also included. Of course the type, order and orientation of the buttons is also configurable for the Follow Widget. Each button for the Follow Widget supports the following types:
104
 
@@ -183,6 +177,9 @@ Upload the Social Sharing Toolkit plugin to the `/wp-content/plugins/` folder on
183
 
184
  == Upgrade Notice ==
185
 
 
 
 
186
  = 2.5 =
187
  * Minor change.
188
  * WP 4.4 release support.
1
  === Social Sharing Toolkit ===
2
  Contributors: linksalpha
3
+ Tags: Facebook, Like, WhatsApp, LinkedIn, Share, Google, Plus, +1, Pinterest, Google+, Twitter, Tweet, Follow, Tumblr, Digg, Reddit, Myspace, YouTube, Flickr, 500px, deaviantART, email, Gmail, AOL, Evernote, Hotmail, Instapaper, Mail.ru, Pocket, Sonico, vkontakte, Weibo, Yahoo Mail, Yammer, RSS, feed, connect, recommend, social, sharing, widget, shortcode, page, post, button, counter, icon, bitly, Open Graph
4
  Requires at least: 3.0
5
+ Tested up to: 5.0.3
6
+ Stable tag: 2.6
7
  License: GPLv2 or later
8
 
9
  Easy sharing and connecting on social networks. Display on posts or use widgets or shortcode. Also Twitter name/hashtag to link converter.
20
  * Pinterest
21
  * LinkedIn
22
  * Tumblr
 
 
23
  * Digg
24
  * Reddit
25
  * Myspace
 
 
26
  * Gmail
27
  * AOL
28
  * Evernote
29
+ * Outlook
30
  * Instapaper
31
  * Mail.ru
32
  * Pocket
34
  * vkontakte
35
  * Weibo
36
  * Yahoo Mail
37
+ * Yammer
38
 
39
  On Tweet button you can specify a Twitter handle which is then appended to the tweet a visitor sends (like "... via @WordPress"). An email send button is also included.
40
 
88
  * YouTube
89
  * Flickr
90
  * 500px
 
91
  * Instagram
92
  * DeviantArt
93
  * Last.fm
94
  * Spotify
95
  * Soundcloud
 
96
 
97
  A button for an RSS feed is also included. Of course the type, order and orientation of the buttons is also configurable for the Follow Widget. Each button for the Follow Widget supports the following types:
98
 
177
 
178
  == Upgrade Notice ==
179
 
180
+ = 2.6 =
181
+ * Removed outdated services
182
+
183
  = 2.5 =
184
  * Minor change.
185
  * WP 4.4 release support.
social_sharing_toolkit.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Social Sharing Toolkit
4
  Plugin URI: http://wordpress.org/plugins/social-sharing-toolkit/
5
  Description: This plugin enables sharing of your content via popular social networks and can also convert Twitter names and hashtags to links. Easy & configurable.
6
- Version: 2.5
7
  Author: linksalpha
8
  Author URI: http://www.linksalpha.com
9
  */
3
  Plugin Name: Social Sharing Toolkit
4
  Plugin URI: http://wordpress.org/plugins/social-sharing-toolkit/
5
  Description: This plugin enables sharing of your content via popular social networks and can also convert Twitter names and hashtags to links. Easy & configurable.
6
+ Version: 2.6
7
  Author: linksalpha
8
  Author URI: http://www.linksalpha.com
9
  */
style_2.1.2.css CHANGED
@@ -1,5 +1,5 @@
1
  div.mr_social_sharing_wrapper {height: auto; width: 100%; margin: 4px 0; padding: 0; border: 0; line-height: 0;}
2
- div.mr_social_sharing, span.mr_social_sharing, div.mr_social_sharing_top, span.mr_social_sharing_top {display: block; width: auto; height: auto; margin: 2px; padding: 0; vertical-align: bottom;}
3
  span.mr_social_sharing, span.mr_social_sharing_top {display: inline-block;}
4
  div.mr_social_sharing_top, span.mr_social_sharing_top {vertical-align: top;}
5
  div.mr_social_sharing div, span.mr_social_sharing div {vertical-align: bottom !important;}
1
  div.mr_social_sharing_wrapper {height: auto; width: 100%; margin: 4px 0; padding: 0; border: 0; line-height: 0;}
2
+ div.mr_social_sharing, span.mr_social_sharing, div.mr_social_sharing_top, span.mr_social_sharing_top {display: block; width: auto; height: auto; margin: 0 2px; padding: 0; vertical-align: bottom;}
3
  span.mr_social_sharing, span.mr_social_sharing_top {display: inline-block;}
4
  div.mr_social_sharing_top, span.mr_social_sharing_top {vertical-align: top;}
5
  div.mr_social_sharing div, span.mr_social_sharing div {vertical-align: bottom !important;}