Social Sharing Toolkit - Version 2.1.4

Version Description

Change from webstagram profile to native instagram profile, notification of author change.

Download this release

Release Info

Developer MarijnRongen
Plugin Icon wp plugin Social Sharing Toolkit
Version 2.1.4
Comparing to
See all releases

Code changes from version 2.1.3 to 2.1.4

banners/3docean.gif DELETED
Binary file
banners/activeden.gif DELETED
Binary file
banners/audiojungle.gif DELETED
Binary file
banners/codecanyon.gif DELETED
Binary file
banners/graphicriver.gif DELETED
Binary file
banners/mojo_1.jpg DELETED
Binary file
banners/mojo_2.jpg DELETED
Binary file
banners/photodune.gif DELETED
Binary file
banners/themeforest.gif DELETED
Binary file
banners/tutsplus.gif DELETED
Binary file
banners/videohive.gif DELETED
Binary file
includes/buttons/button.instagram.php CHANGED
@@ -7,7 +7,7 @@ class MR_Social_Sharing_Toolkit_instagram extends MR_Social_Sharing_Toolkit_Butt
7
  }
8
 
9
  function follow_webstagram($type, $id, $text = '', $icon = '') {
10
- $url = 'http://web.stagram.com/n/'.$id;
11
  $text = ($text == '') ? __('Follow me on','mr_social_sharing_toolkit').' Instagram' : $text;
12
  $blank = (get_option('mr_social_sharing_follow_new') == 1) ? true : false;
13
  return $this->get_icon($type, $url, $text, $icon, false, $blank);
7
  }
8
 
9
  function follow_webstagram($type, $id, $text = '', $icon = '') {
10
+ $url = 'http://instagram.com/'.$id;
11
  $text = ($text == '') ? __('Follow me on','mr_social_sharing_toolkit').' Instagram' : $text;
12
  $blank = (get_option('mr_social_sharing_follow_new') == 1) ? true : false;
13
  return $this->get_icon($type, $url, $text, $icon, false, $blank);
readme.txt CHANGED
@@ -1,16 +1,23 @@
1
  === Social Sharing Toolkit ===
2
- Contributors: MarijnRongen
3
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=P8ZVNC57E58FE&lc=NL&item_name=WordPress%20plugins%20by%20Marijn%20Rongen&item_number=Social%20Sharing%20Toolkit&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
4
  Tags: Facebook, Like, LinkedIn, Share, Google, Plus, +1, Pinterest, Google+, Twitter, Tweet, Buffer, Follow, StumbleUpon, Stumble, Tumblr, Delicious, Digg, Reddit, Myspace, Hyves, YouTube, Flickr, 500px, Picasa, deaviantART, App.net, mail, RSS, feed, connect, recommend, social, sharing, widget, shortcode, page, post, button, counter, icon, bitly, Open Graph
5
  Requires at least: 3.0
6
- Tested up to: 3.5.1
7
- Stable tag: 2.1.3
8
  License: GPLv2 or later
9
 
10
  Easy sharing and connecting on social networks. Display on posts or use widgets or shortcode. Also Twitter name/hashtag to link converter.
11
 
12
  == Description ==
13
 
 
 
 
 
 
 
 
 
14
  = Sharing content =
15
 
16
  The plugin currently supports the following networks for sharing your content:
@@ -170,6 +177,10 @@ Upload the Social Sharing Toolkit plugin to the `/wp-content/plugins/` folder on
170
 
171
  == Upgrade Notice ==
172
 
 
 
 
 
173
  = 2.1.3 =
174
 
175
  Please update to version 2.1.3 to fix an issue with the loading of stylesheets.
1
  === Social Sharing Toolkit ===
2
+ Contributors: linksalpha
 
3
  Tags: Facebook, Like, LinkedIn, Share, Google, Plus, +1, Pinterest, Google+, Twitter, Tweet, Buffer, Follow, StumbleUpon, Stumble, Tumblr, Delicious, Digg, Reddit, Myspace, Hyves, YouTube, Flickr, 500px, Picasa, deaviantART, App.net, mail, 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: 3.5.2
6
+ Stable tag: 2.1.4
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.
10
 
11
  == Description ==
12
 
13
+ = Change of developer after version 2.1.4 =
14
+
15
+ Version 2.1.4 is the last version I have personally updated and supported. From now on, further development and support will be provided by LinksAlpha.
16
+
17
+ The last years I have been amazed at how well received this plugin has been. Sadly, I find myself unable to effectively combine further development and, more importantly, support with my other obligations. This is why I agreed to transfer further development and support to LinksAlpha. I fully expect that the current quality of the plugin will be maintained and improved under the care of LinksAlpha.
18
+
19
+ ~ Marijn Rongen, Active-Bits - July 2013
20
+
21
  = Sharing content =
22
 
23
  The plugin currently supports the following networks for sharing your content:
177
 
178
  == Upgrade Notice ==
179
 
180
+ = 2.1.4 =
181
+
182
+ Change from webstagram profile to native instagram profile, notification of author change.
183
+
184
  = 2.1.3 =
185
 
186
  Please update to version 2.1.3 to fix an issue with the loading of stylesheets.
social_sharing_toolkit.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /*
3
  Plugin Name: Social Sharing Toolkit
4
- Plugin URI: http://www.active-bits.nl/support/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.1.3
7
- Author: Marijn Rongen
8
- Author URI: http://www.active-bits.nl
9
  */
10
 
11
  class MR_Social_Sharing_Toolkit {
@@ -198,8 +198,7 @@ class MR_Social_Sharing_Toolkit {
198
 
199
  function plugin_links($links, $file) {
200
  if ($file == plugin_basename(__FILE__)) {
201
- $links[] = '<a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=P8ZVNC57E58FE&lc=NL&item_name=WordPress%20plugins%20by%20Marijn%20Rongen&item_number=Social%20Sharing%20Toolkit&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted">'.__('Donate','mr_social_sharing_toolkit').'</a>';
202
- $links[] = '<a href="/wp-admin/options-general.php?page=mr_social_sharing">'.__('Settings').'</a>';
203
  }
204
  return $links;
205
  }
@@ -389,12 +388,14 @@ class MR_Social_Sharing_Toolkit {
389
  <div class="mr_social_sharing_networks">
390
  <h3>'.__('Thank you for using the Social Sharing Toolkit!','mr_social_sharing_toolkit').'</h3>
391
  <p>
392
- '.__('For questions or requests about this plugin please use the','mr_social_sharing_toolkit').' <a href="http://www.active-bits.nl/support/social-sharing-toolkit/" target="_blank">'.__('official plugin page','mr_social_sharing_toolkit').'</a>.
393
- '.__('If you like the plugin I would appreciate it if you provide a rating of the','mr_social_sharing_toolkit').' <a href="http://wordpress.org/extend/plugins/social-sharing-toolkit/" target="_blank">'.__('plugin on WordPress.org','mr_social_sharing_toolkit').'</a>. '.__('If you really like the plugin you can also','mr_social_sharing_toolkit').' <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=P8ZVNC57E58FE&lc=NL&item_name=WordPress%20plugins%20by%20Marijn%20Rongen&item_number=Social%20Sharing%20Toolkit&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted" target="_blank">'.__('donate here','mr_social_sharing_toolkit').'</a>.
 
 
 
 
 
394
  </p>
395
- </div>
396
- <div class="mr_social_sharing_networks banners">
397
- '.$this->getBanner().'
398
  </div>
399
  </form>
400
  </div>';
@@ -487,37 +488,6 @@ class MR_Social_Sharing_Toolkit {
487
  </select>';
488
  }
489
 
490
- /* Affiliates */
491
-
492
- function getBanner() {
493
- $banners = array();
494
- // ElegantThemes:
495
- $banners[] = '<a href="http://www.elegantthemes.com/affiliates/idevaffiliate.php?id=14757" target="_blank"><img border="0" src="http://www.elegantthemes.com/affiliates/banners/468x60.gif" width="468" height="60"></a>';
496
- $banners[] = '<a href="http://www.elegantthemes.com/affiliates/idevaffiliate.php?id=14757" target="_blank"><img border="0" src="http://www.elegantthemes.com/affiliates/banners/468x60.gif" width="468" height="60"></a>';
497
- $banners[] = '<a href="http://www.elegantthemes.com/affiliates/idevaffiliate.php?id=14757" target="_blank"><img border="0" src="http://www.elegantthemes.com/affiliates/banners/468x60.gif" width="468" height="60"></a>';
498
- $banners[] = '<a href="http://www.elegantthemes.com/affiliates/idevaffiliate.php?id=14757" target="_blank"><img border="0" src="http://www.elegantthemes.com/affiliates/banners/468x60.gif" width="468" height="60"></a>';
499
- // WooThemes:
500
- $banners[] = '<a href="http://woothemes.zferral.com/l/53/33738" title=""><img src="http://woothemes.zferral.com/m/53" alt="" title="" style="border: none" /></a>';
501
- $banners[] = '<a href="http://woothemes.zferral.com/l/32/33738" title=""><img src="http://woothemes.zferral.com/m/32" alt="" title="" style="border: none" /></a>';
502
- // Mojo Themes:
503
- $banners[] = '<a href="http://www.mojo-themes.com/categories/wordpress/?r=mrongen" target="_blank"><img src="'.plugins_url('/banners/mojo_1.jpg', __FILE__).'" /></a>';
504
- $banners[] = '<a href="http://www.mojo-themes.com/?r=mrongen" target="_blank"><img src="'.plugins_url('/banners/mojo_1.jpg', __FILE__).'" /></a>';
505
- $banners[] = '<a href="http://www.mojo-themes.com/categories/wordpress/?r=mrongen" target="_blank"><img src="'.plugins_url('/banners/mojo_2.jpg', __FILE__).'" /></a>';
506
- $banners[] = '<a href="http://www.mojo-themes.com/?r=mrongen" target="_blank"><img src="'.plugins_url('/banners/mojo_2.jpg', __FILE__).'" /></a>';
507
- // ThemeForest:
508
- $banners[] = '<a href="http://themeforest.net/category/wordpress?ref=MRongen" target="_blank"><img src="'.plugins_url('/banners/themeforest.gif', __FILE__).'" /></a>';
509
- $banners[] = '<a href="http://activeden.net/?ref=MRongen" target="_blank"><img src="'.plugins_url('/banners/activeden.gif', __FILE__).'" /></a>';
510
- $banners[] = '<a href="http://audiojungle.net/?ref=MRongen" target="_blank"><img src="'.plugins_url('/banners/audiojungle.gif', __FILE__).'" /></a>';
511
- $banners[] = '<a href="http://videohive.net/?ref=MRongen" target="_blank"><img src="'.plugins_url('/banners/videohive.gif', __FILE__).'" /></a>';
512
- $banners[] = '<a href="http://graphicriver.net/?ref=MRongen" target="_blank"><img src="'.plugins_url('/banners/graphicriver.gif', __FILE__).'" /></a>';
513
- $banners[] = '<a href="http://3docean.net/?ref=MRongen" target="_blank"><img src="'.plugins_url('/banners/3docean.gif', __FILE__).'" /></a>';
514
- $banners[] = '<a href="http://codecanyon.net/?ref=MRongen" target="_blank"><img src="'.plugins_url('/banners/codecanyon.gif', __FILE__).'" /></a>';
515
- $banners[] = '<a href="http://marketplace.tutsplus.com/?ref=MRongen" target="_blank"><img src="'.plugins_url('/banners/tutsplus.gif', __FILE__).'" /></a>';
516
- $banners[] = '<a href="http://photodune.net/?ref=MRongen" target="_blank"><img src="'.plugins_url('/banners/photodune.gif', __FILE__).'" /></a>';
517
- shuffle($banners);
518
- return $banners[0];
519
- }
520
-
521
  /* Output functions */
522
 
523
  function print_opengraph() {
@@ -654,7 +624,7 @@ class MR_Social_Sharing_Toolkit {
654
  }
655
  $bookmarks = '
656
  <div class="mr_social_sharing_wrapper">
657
- <!-- Social Sharing Toolkit v2.1.2 | http://www.active-bits.nl/support/social-sharing-toolkit/ -->';
658
  foreach ($this->options['mr_social_sharing_'.$type.'button_order'] as $button) {
659
  if ($this->options['mr_social_sharing_'.$type.'buttons'][$button]['enable'] == 1) {
660
  $id = (array_key_exists('id', $this->options['mr_social_sharing_'.$type.'buttons'][$button])) ? $this->options['mr_social_sharing_'.$type.'buttons'][$button]['id'] : '';
@@ -672,7 +642,7 @@ class MR_Social_Sharing_Toolkit {
672
  function create_followers() {
673
  $followers = '
674
  <div class="mr_social_sharing_wrapper">
675
- <!-- Social Sharing Toolkit v2.1.2 | http://www.active-bits.nl/support/social-sharing-toolkit/ -->';
676
  foreach ($this->options['mr_social_sharing_follow_button_order'] as $button) {
677
  if ($this->options['mr_social_sharing_follow_buttons'][$button]['enable'] == 1) {
678
  $id = (array_key_exists('id', $this->options['mr_social_sharing_follow_buttons'][$button])) ? $this->options['mr_social_sharing_follow_buttons'][$button]['id'] : '';
@@ -913,7 +883,7 @@ if (is_array($buttons) && count($buttons) > 0) {
913
  }
914
  unset($buttons);
915
 
916
- //global $MR_Social_Sharing_Toolkit;
917
  $MR_Social_Sharing_Toolkit = new MR_Social_Sharing_Toolkit();
918
  add_action('admin_menu', array($MR_Social_Sharing_Toolkit, 'plugin_menu'));
919
  if ($MR_Social_Sharing_Toolkit->should_print_opengraph()) {
1
  <?php
2
  /*
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.1.4
7
+ Author: linksalpha
8
+ Author URI: http://www.linksalpha.com
9
  */
10
 
11
  class MR_Social_Sharing_Toolkit {
198
 
199
  function plugin_links($links, $file) {
200
  if ($file == plugin_basename(__FILE__)) {
201
+ $links[] = '<a href="/wp-admin/options-general.php?page=mr_social_sharing">'.__('Settings').'</a>';
 
202
  }
203
  return $links;
204
  }
388
  <div class="mr_social_sharing_networks">
389
  <h3>'.__('Thank you for using the Social Sharing Toolkit!','mr_social_sharing_toolkit').'</h3>
390
  <p>
391
+ Version 2.1.4 is the last version I have personally updated and supported. From now on, further development and support will be provided by LinksAlpha.
392
+ </p>
393
+ <p>
394
+ The last years I have been amazed at how well received this plugin has been. Sadly, I find myself unable to effectively combine further development and, more importantly, support with my other obligations. This is why I agreed to transfer further development and support to LinksAlpha. I fully expect that the current quality of the plugin will be maintained and improved under the care of LinksAlpha.
395
+ </p>
396
+ <p style="font-style: italic;">
397
+ ~ Marijn Rongen, Active-Bits - July 2013
398
  </p>
 
 
 
399
  </div>
400
  </form>
401
  </div>';
488
  </select>';
489
  }
490
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
491
  /* Output functions */
492
 
493
  function print_opengraph() {
624
  }
625
  $bookmarks = '
626
  <div class="mr_social_sharing_wrapper">
627
+ <!-- Social Sharing Toolkit v2.1.4 -->';
628
  foreach ($this->options['mr_social_sharing_'.$type.'button_order'] as $button) {
629
  if ($this->options['mr_social_sharing_'.$type.'buttons'][$button]['enable'] == 1) {
630
  $id = (array_key_exists('id', $this->options['mr_social_sharing_'.$type.'buttons'][$button])) ? $this->options['mr_social_sharing_'.$type.'buttons'][$button]['id'] : '';
642
  function create_followers() {
643
  $followers = '
644
  <div class="mr_social_sharing_wrapper">
645
+ <!-- Social Sharing Toolkit v2.1.4 -->';
646
  foreach ($this->options['mr_social_sharing_follow_button_order'] as $button) {
647
  if ($this->options['mr_social_sharing_follow_buttons'][$button]['enable'] == 1) {
648
  $id = (array_key_exists('id', $this->options['mr_social_sharing_follow_buttons'][$button])) ? $this->options['mr_social_sharing_follow_buttons'][$button]['id'] : '';
883
  }
884
  unset($buttons);
885
 
886
+
887
  $MR_Social_Sharing_Toolkit = new MR_Social_Sharing_Toolkit();
888
  add_action('admin_menu', array($MR_Social_Sharing_Toolkit, 'plugin_menu'));
889
  if ($MR_Social_Sharing_Toolkit->should_print_opengraph()) {