WordPress Social Tools, Related Posts, Monetization – Shareaholic - Version 6.1.3.4

Version Description

  • Upgraded PHP short tags
  • Much faster Related Content processing for new users!
  • A host of bug fixes and performance improvements
  • Deprecated Yandex
Download this release

Release Info

Developer shareaholic
Plugin Icon 128x128 WordPress Social Tools, Related Posts, Monetization – Shareaholic
Version 6.1.3.4
Comparing to
See all releases

Code changes from version 6.1.3.3 to 6.1.3.4

includes/shrsb_recommendations_settings_page.php CHANGED
@@ -75,6 +75,7 @@ function shrsb_recommendations_settings_page() {
75
 
76
  if ($setting_changed == true){
77
  shr_sendTrackingEvent('FeatureToggle', array('f_updated' => 'f_rec', 'enabled' => ($shrsb_recommendations['recommendations'] == '1' ? 'true' : 'false')));
 
78
  }
79
 
80
  }//Closed Save
75
 
76
  if ($setting_changed == true){
77
  shr_sendTrackingEvent('FeatureToggle', array('f_updated' => 'f_rec', 'enabled' => ($shrsb_recommendations['recommendations'] == '1' ? 'true' : 'false')));
78
+ shr_recommendationsStatus();
79
  }
80
 
81
  }//Closed Save
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: shareaholic
3
  Tags: SexyBookmarks, SexyBookmark, Shareaholic, Shareholic, Facebook, Twitter, LinkedIn, URL Shortener, Bitly, TinyURL, Supr, Goo.gl, Google +1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Google Gmail, Google Notebook, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, Mister Wong, Evernote, Twine, Diigo, add this, addtoany, share this, share and follow, share and enjoy, sharing is sexy, sharing is caring, Mail, Yahoo, Reddit, Techmeme, Hacker News, Tweet Button, Twitter Button, Fark, Buffer, MySpace, Orkut, Plurk, Identi.ca, Hyves, Netlog, HubSpot, WeHeartIt, PrintFriendly, Print, ReadItLater, Yammer, Pinterest, Google Translate, Pinboard, Bookmarks, Social, Email Button, Social Share, Bookmark Button, Share Button, Social Bookmarking, Bookmarks Menu, Bookmarking, Share, Share Count, Sharebar, Social Media, SEO, Analytics, Stats, Sharing, Saving, Posting, Facebook Like, Facebook Recommend, Facebook Send, WPMU, yaarp, yarpp, nrelate, outbrain, linkwithin, Related Content, Related Posts, Thumbnails, Recommendations
4
  Requires at least: 2.7
5
  Tested up to: 3.5.1
6
- Stable tag: 6.1.3.3
7
 
8
  Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
9
 
@@ -125,7 +125,7 @@ Please see here: [Usage & Installation Instructions](https://shareaholic.com/too
125
 
126
  == Changelog ==
127
 
128
- = 6.1.3.3 =
129
  * Upgraded PHP short tags
130
  * Much faster Related Content processing for new users!
131
  * A host of bug fixes and performance improvements
@@ -832,7 +832,7 @@ Please see here: [Usage & Installation Instructions](https://shareaholic.com/too
832
 
833
  == Upgrade Notice ==
834
 
835
- = 6.1.3.3 =
836
  Several bug fixes and performance improvements. This is a highly recommended upgrade!
837
 
838
  = 3.2.3.1 =
3
  Tags: SexyBookmarks, SexyBookmark, Shareaholic, Shareholic, Facebook, Twitter, LinkedIn, URL Shortener, Bitly, TinyURL, Supr, Goo.gl, Google +1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Google Gmail, Google Notebook, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, Mister Wong, Evernote, Twine, Diigo, add this, addtoany, share this, share and follow, share and enjoy, sharing is sexy, sharing is caring, Mail, Yahoo, Reddit, Techmeme, Hacker News, Tweet Button, Twitter Button, Fark, Buffer, MySpace, Orkut, Plurk, Identi.ca, Hyves, Netlog, HubSpot, WeHeartIt, PrintFriendly, Print, ReadItLater, Yammer, Pinterest, Google Translate, Pinboard, Bookmarks, Social, Email Button, Social Share, Bookmark Button, Share Button, Social Bookmarking, Bookmarks Menu, Bookmarking, Share, Share Count, Sharebar, Social Media, SEO, Analytics, Stats, Sharing, Saving, Posting, Facebook Like, Facebook Recommend, Facebook Send, WPMU, yaarp, yarpp, nrelate, outbrain, linkwithin, Related Content, Related Posts, Thumbnails, Recommendations
4
  Requires at least: 2.7
5
  Tested up to: 3.5.1
6
+ Stable tag: 6.1.3.4
7
 
8
  Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
9
 
125
 
126
  == Changelog ==
127
 
128
+ = 6.1.3.4 =
129
  * Upgraded PHP short tags
130
  * Much faster Related Content processing for new users!
131
  * A host of bug fixes and performance improvements
832
 
833
  == Upgrade Notice ==
834
 
835
+ = 6.1.3.4 =
836
  Several bug fixes and performance improvements. This is a highly recommended upgrade!
837
 
838
  = 3.2.3.1 =
sexy-bookmarks.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Shareaholic | share buttons, analytics, related content
4
  Plugin URI: https://shareaholic.com/publishers/
5
  Description: Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, Shareaholic will help you get it done. See <a href="admin.php?page=sexy-bookmarks.php">configuration panel</a> for more settings.
6
- Version: 6.1.3.3
7
  Author: Shareaholic
8
  Author URI: https://shareaholic.com
9
  Credits & Thanks: https://shareaholic.com/tools/wordpress/credits
@@ -14,7 +14,7 @@ Credits & Thanks: https://shareaholic.com/tools/wordpress/credits
14
  * @desc Define Plugin version
15
  */
16
 
17
- define('SHRSB_vNum','6.1.3.3');
18
 
19
 
20
  /*
@@ -37,7 +37,6 @@ if(false !== $shrsb_version && $shrsb_version !== SHRSB_vNum ) {
37
  add_action('admin_notices', 'shrsb_Upgrade', 12);
38
 
39
  shr_sendTrackingEvent('Upgrade', array('prev_plugin_ver' => get_option('SHRSBvNum')) );
40
- shr_recommendationsStatus();
41
 
42
  // Added global variable to track the updating state
43
  define('SHRSB_UPGRADING', TRUE);
@@ -153,21 +152,35 @@ update_option('SHRSBvNum', SHRSB_vNum);
153
 
154
  function shr_getTrackingData() {
155
 
 
156
  $sbtmp = get_option('SexyBookmarks');
157
  $cbtmp = get_option('ShareaholicClassicBookmarks');
158
  $rdtmp = get_option('ShareaholicRecommendations');
159
  $tbtmp = get_option('ShareaholicTopbar');
160
-
161
  $tracking_metadata = array(
162
- 'plugin_ver' => SHRSB_vNum,
163
- 'apikey' => isset($shrsb_plugopts['apikey']) ? $shrsb_plugopts['apikey'] : '',
164
- 'domain' => home_url(),
165
- 'theme' => get_option('template'),
166
- 'wp_ver' => get_bloginfo('version'),
167
- 'f_sexy' => ($sbtmp['sexybookmark'] == '1') ? 'true' : 'false',
168
- 'f_topbar' => ($tbtmp['topbar'] == '1') ? 'true' : 'false',
169
- 'f_classic' => ($cbtmp['cb'] == '1') ? 'true' : 'false',
170
- 'f_rec' => ($rdtmp['recommendations'] == '1') ? 'true' : 'false'
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  );
172
  return $tracking_metadata;
173
  }
3
  Plugin Name: Shareaholic | share buttons, analytics, related content
4
  Plugin URI: https://shareaholic.com/publishers/
5
  Description: Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, Shareaholic will help you get it done. See <a href="admin.php?page=sexy-bookmarks.php">configuration panel</a> for more settings.
6
+ Version: 6.1.3.4
7
  Author: Shareaholic
8
  Author URI: https://shareaholic.com
9
  Credits & Thanks: https://shareaholic.com/tools/wordpress/credits
14
  * @desc Define Plugin version
15
  */
16
 
17
+ define('SHRSB_vNum','6.1.3.4');
18
 
19
 
20
  /*
37
  add_action('admin_notices', 'shrsb_Upgrade', 12);
38
 
39
  shr_sendTrackingEvent('Upgrade', array('prev_plugin_ver' => get_option('SHRSBvNum')) );
 
40
 
41
  // Added global variable to track the updating state
42
  define('SHRSB_UPGRADING', TRUE);
152
 
153
  function shr_getTrackingData() {
154
 
155
+ global $wpdb;
156
  $sbtmp = get_option('SexyBookmarks');
157
  $cbtmp = get_option('ShareaholicClassicBookmarks');
158
  $rdtmp = get_option('ShareaholicRecommendations');
159
  $tbtmp = get_option('ShareaholicTopbar');
160
+
161
  $tracking_metadata = array(
162
+ 'plugin_version' => SHRSB_vNum,
163
+ 'api_key' => isset($shrsb_plugopts['apikey']) ? $shrsb_plugopts['apikey'] : '',
164
+ 'domain' => get_bloginfo('url'),
165
+ 'locale' => get_bloginfo('language'),
166
+ 'stats' => array (
167
+ 'posts_total' => $wpdb->get_var( "SELECT count(ID) FROM $wpdb->posts where post_type = 'post' AND post_status = 'publish'" ),
168
+ 'pages_total' => $wpdb->get_var( "SELECT count(ID) FROM $wpdb->posts where post_type = 'page' AND post_status = 'publish'" ),
169
+ 'comments_total' => wp_count_comments()->approved,
170
+ 'users_total' => $wpdb->get_var("SELECT count(ID) FROM $wpdb->users"),
171
+ ),
172
+ 'diagnostics' => array (
173
+ 'wp_version' => get_bloginfo('version'),
174
+ 'theme' => get_option('template'),
175
+ 'active_plugins' => get_option('active_plugins', array()),
176
+ 'multisite' => is_multisite(),
177
+ ),
178
+ 'features' => array (
179
+ 'f_sexy' => ($sbtmp['sexybookmark'] == '1') ? 'true' : 'false',
180
+ 'f_topbar' => ($tbtmp['topbar'] == '1') ? 'true' : 'false',
181
+ 'f_classic' => ($cbtmp['cb'] == '1') ? 'true' : 'false',
182
+ 'f_rec' => ($rdtmp['recommendations'] == '1') ? 'true' : 'false'
183
+ )
184
  );
185
  return $tracking_metadata;
186
  }