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

Version Description

  • New: Introducing the Tools Badge! Introducing a brand new way to launch the Shareaholic Console without ever leaving your website! Contains quick-links to your site analytics, help center, and much more to help you manage your site with greater ease. If you'd rather hide this badge or change its location, you can do so from your settings. It is 100% configurable.
  • Bugfix: Resolved the 403 Forbidden error that some admins were getting upon clicking the Dashboard link. Affected only sites on cPanel with mod_security enabled ex. HostGator
  • Enhancement: Google+ share count is now also available to sites that do not enable Server Side Share counts API
Download this release

Release Info

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

Code changes from version 8.0.1 to 8.1.0

admin.php CHANGED
@@ -72,6 +72,12 @@ JQUERY;
72
 
73
  if ($redirect_url != NULL) {
74
 
 
 
 
 
 
 
75
  // exit if redirect is not to shareaholic.com
76
  $redirect_url_host = parse_url($redirect_url, PHP_URL_HOST);
77
 
72
 
73
  if ($redirect_url != NULL) {
74
 
75
+ // Support redirect URLs with no scheme; default to httpS
76
+ $parsed = parse_url($redirect_url);
77
+ if (empty($parsed['scheme'])) {
78
+ $redirect_url = 'https://' . ltrim($redirect_url);
79
+ }
80
+
81
  // exit if redirect is not to shareaholic.com
82
  $redirect_url_host = parse_url($redirect_url, PHP_URL_HOST);
83
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: shareaholic
3
  Tags: share buttons, related content, cookie compliance, eu cookie law, shareaholic, shareholic, sexybookmarks, recommendations, cookie consent, email button, social sharing, social bookmarking, share image, image sharing, follow buttons, floated share buttons, floating share buttons, analytics, social media, social plugin, facebook, twitter, google plus, google bookmarks, gmail, linkedin, pinterest, reddit, tumblr, evernote, digg, delicious, stumbleupon, printfriendly, fancy, amazon, xing, vk, yahoo, mister wong, viadeo, odnoklassniki box.net, diigo, yammer, ycombinator, hotmail, instapaper, mixi, arto, whatsapp, hootsuite, inbound.org, plurk, aim, buffer, meneame, pinboard.in, stumpedia, bitly, blogger, yummly, izeby, kaboodle, weibo, instagram, tinyurl, typepad, weheartit, flipboard, pocket, wanelo, fark, wykop, symphony, kindle, houzz, youtube, sms, onenote, google classroom, disqus, spotify, zillow, feedly, kik, line, livejournal, baidu
4
  Requires at least: 3.0
5
  Tested up to: 4.8
6
- Stable tag: 8.0.1
7
 
8
  World's leading all-in-one Content Amplification Platform that helps grow your site traffic, engagement, conversions & monetization for FREE.
9
 
@@ -194,6 +194,10 @@ Please see here: [Shareaholic Helpdesk](http://support.shareaholic.com/hc/en-us)
194
  Please see here: [Usage & Installation Instructions](http://support.shareaholic.com/hc/en-us/categories/200101476-WordPress-Plugin)
195
 
196
  == Changelog ==
 
 
 
 
197
 
198
  = 8.0.1 =
199
  * Version 8 is here bringing with it a brand new revamped and streamlined UI!
@@ -623,100 +627,10 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
623
  * More robust curl function, more robust plugin
624
  * Show Related Posts data status
625
 
626
- = 6.1.5.1 =
627
- * Recommendations / Related Content are now 100% responsive (aka "mobile-ready")! This means they will now adapt to the screen size or device (iPhone, iPad, Android, tablet, laptop, etc) of your visitors automagically for the best, most seamless discovery experience.
628
-
629
- = 6.1.5.0 =
630
- * Fix for Cross-Site Request Forgery vulnerability. Upgrade immediately. Credits for finding and reporting the vulnerability go to Charlie Eriksen via Secunia SVCRP.
631
-
632
- = 6.1.4.1 =
633
- * Shareaholic is 100% compatible with WordPress 3.6! Yay!
634
-
635
- = 6.1.4.0 =
636
- * Bugfix: Related Content settings page now loads for multisite install. Updated how Shareaholic reads user permissions. Now using in-built WordPress functions.
637
- * Bugfix: Facebook Debugger will no longer show "Parser Mismatched Metadata" warnings
638
- * Updated primary plugin file to "shareaholic.php"
639
- * Cleaned up assets directory, as a result the plugin install file is now a lot smaller
640
-
641
- = 6.1.3.8 =
642
- * Bugfix: fixed "Cannot use object of type WP_Error"
643
-
644
- = 6.1.3.7 =
645
- * [Bugfix](http://wordpress.org/support/topic/big-issue-with-css): More robust CSS
646
-
647
- = 6.1.3.6 =
648
- * Show Related Posts data status
649
- * Updated screenshots (corrected WordPress logo)
650
-
651
- = 6.1.3.5 =
652
- * Much faster Related Posts processing for new users!
653
-
654
- = 6.1.3.4 =
655
- * Upgraded PHP short tags
656
- * A host of bug fixes and performance improvements
657
- * Deprecated Yandex
658
-
659
- = 6.1.3.1 =
660
- * Bug fixes & event reporting
661
-
662
- = 6.1.3.0 =
663
- * Fixed Bitly not picking up custom credentials
664
- * Fixed links to Help Center docs
665
- * Fixed Twitter template not getting picked up by Like Button Sets, Classic Bookmarks
666
- * Deprecated Squidoo, Posterous (can no longer share to these services)
667
- * Deprecated Awe.sm, Su.pr
668
-
669
- = 6.1.2.0 =
670
- * Fix for Facebook Like button error (Facebook now requires non-encoded URL's to be passed)
671
-
672
- = 6.1.1.0 =
673
- * JavaScript is now hosted on Amazon's CDN to make everything blazing fast!
674
- * Removed Strands, FAQPal, Tipd, Sphinn, Twittley (services have shut down)
675
- * Removed Technorati, Ning (can no longer share to these services)
676
-
677
- = 6.1.0.0 =
678
- * Fixed syntax error caught by latest jQuery
679
- * Fixed encoding errors
680
- * Support for Shareaholic Content Tags - shareaholic:image and shareaholic:site_name
681
- * Update links to new analytics
682
- * Admin panel code optimizations
683
- * Load time optimization by reducing # of Twitter API calls
684
- * Deprecated "comment feed" service
685
-
686
- = 6.0.0.3 =
687
- * Updated screenshots
688
-
689
- = 6.0.0.1 =
690
- * New feature: Recommendations - drive more pageviews and engagement by displaying per post Related Posts to your readers (enable via the admin panel)
691
- * New sharing style - Classic Bookmarks
692
- * Redesigned Dashboard
693
- * Cleaned up legacy code for greater efficiency
694
-
695
- = 5.0.0.4 =
696
- * MAJOR UPDATE!
697
- * New translations!
698
- -> Belarusian (by Alexander Ovsov)
699
- -> Polish (by Bartosz Chojnacki)
700
- -> Catalan (by Joan Jordi Berdullas Segura)
701
- -> Bulgarian (by Nikolay Nikolov)
702
- -> Lithuanian (by Nata Strazda)
703
- * Added Google Plus as a service to SexyBookmarks
704
- * Added support to show Topbar across different types of pages (posts, pages, index & category)
705
- * Added Share Counts for LinkedIn
706
- * Added functionality to enable/disable SexyBookmarks independently
707
- * Added brand new, much improved way to share posts via email!
708
- * Added support to enforce publisher specified language locale
709
- * Social Analytics are now also viewable by contributors, authors and editors (previously limited to admins)
710
- * Fixed bug: Twitter counter display position in Like Button Set
711
- * Fixed bug: Nofollow links in "new mode"
712
- * New activation page
713
- * Numerous performance optimizations
714
- * Custom Twitter template is now used universally
715
- * URL shortener settings now used universally
716
- * Cleaned up legacy code for greater efficiency
717
- * Added Google Analytics Social Tracking Feature
718
-
719
  == Upgrade Notice ==
 
 
 
720
  = 8.0.1 =
721
  Version 8 is here bringing with it a brand new revamped and streamlined UI!
722
 
3
  Tags: share buttons, related content, cookie compliance, eu cookie law, shareaholic, shareholic, sexybookmarks, recommendations, cookie consent, email button, social sharing, social bookmarking, share image, image sharing, follow buttons, floated share buttons, floating share buttons, analytics, social media, social plugin, facebook, twitter, google plus, google bookmarks, gmail, linkedin, pinterest, reddit, tumblr, evernote, digg, delicious, stumbleupon, printfriendly, fancy, amazon, xing, vk, yahoo, mister wong, viadeo, odnoklassniki box.net, diigo, yammer, ycombinator, hotmail, instapaper, mixi, arto, whatsapp, hootsuite, inbound.org, plurk, aim, buffer, meneame, pinboard.in, stumpedia, bitly, blogger, yummly, izeby, kaboodle, weibo, instagram, tinyurl, typepad, weheartit, flipboard, pocket, wanelo, fark, wykop, symphony, kindle, houzz, youtube, sms, onenote, google classroom, disqus, spotify, zillow, feedly, kik, line, livejournal, baidu
4
  Requires at least: 3.0
5
  Tested up to: 4.8
6
+ Stable tag: 8.1.0
7
 
8
  World's leading all-in-one Content Amplification Platform that helps grow your site traffic, engagement, conversions & monetization for FREE.
9
 
194
  Please see here: [Usage & Installation Instructions](http://support.shareaholic.com/hc/en-us/categories/200101476-WordPress-Plugin)
195
 
196
  == Changelog ==
197
+ = 8.1.0 =
198
+ * New: Introducing the Tools Badge! Introducing a brand new way to launch the Shareaholic Console without ever leaving your website! Contains quick-links to your site analytics, help center, and much more to help you manage your site with greater ease. If you'd rather hide this badge or change its location, you can do so from your settings. It is 100% configurable.
199
+ * Bugfix: Resolved the 403 Forbidden error that some admins were getting upon clicking the Dashboard link. Affected only sites on cPanel with mod_security enabled ex. HostGator
200
+ * Enhancement: Google+ share count is now also available to sites that do not enable Server Side Share counts API
201
 
202
  = 8.0.1 =
203
  * Version 8 is here bringing with it a brand new revamped and streamlined UI!
627
  * More robust curl function, more robust plugin
628
  * Show Related Posts data status
629
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
630
  == Upgrade Notice ==
631
+ = 8.1.0 =
632
+ New Tools Badge! Introducing a brand new way to launch the Shareaholic Console without ever leaving your website! Contains quick-links to your site analytics, help center, and much more to help you manage your site with greater ease. If you'd rather hide this badge or change its location, you can do so from your settings. It is 100% configurable.
633
+
634
  = 8.0.1 =
635
  Version 8 is here bringing with it a brand new revamped and streamlined UI!
636
 
shareaholic.php CHANGED
@@ -3,14 +3,14 @@
3
  * The main file!
4
  *
5
  * @package shareaholic
6
- * @version 8.0.1
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  Description: The world's leading all-in-one Content Amplification Platform that helps grow your website traffic, engagement, conversions & monetization. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
13
- Version: 8.0.1
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
  Text Domain: shareaholic
@@ -63,7 +63,7 @@ if (!class_exists('Shareaholic')) {
63
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
64
  const REC_API_URL = 'http://recommendations.shareaholic.com';
65
 
66
- const VERSION = '8.0.1';
67
 
68
  /**
69
  * Starts off as false so that ::get_instance() returns
3
  * The main file!
4
  *
5
  * @package shareaholic
6
+ * @version 8.1.0
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  Description: The world's leading all-in-one Content Amplification Platform that helps grow your website traffic, engagement, conversions & monetization. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
13
+ Version: 8.1.0
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
  Text Domain: shareaholic
63
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
64
  const REC_API_URL = 'http://recommendations.shareaholic.com';
65
 
66
+ const VERSION = '8.1.0';
67
 
68
  /**
69
  * Starts off as false so that ::get_instance() returns
templates/admin_form.php CHANGED
@@ -5,9 +5,3 @@
5
  <input type="submit" name="Submit" value="Update Options" />
6
  </p>
7
  </form>
8
-
9
- <form name='verify_api_key' method='post' action='<? echo Shareaholic::API_URL; ?>/v2/verify_api_key'>
10
- <input type="hidden" name="api_key" value="<?php echo $api_key; ?>">
11
- <input type="hidden" name="hashed_key" value="<?php echo $hashed_key; ?>">
12
- <input type='submit' name='Submit' value='Verify API key' />
13
- </form>
5
  <input type="submit" name="Submit" value="Update Options" />
6
  </p>
7
  </form>
 
 
 
 
 
 
templates/settings.php CHANGED
@@ -23,7 +23,7 @@
23
  </div>
24
 
25
  <div class="app">
26
- <p><a href="<?php echo esc_url(admin_url("admin.php?shareaholic_redirect_url=https://shareaholic.com/signup/")); ?>" target="_blank" class="btn btn-info btn-block" role="button" style="font-size: 14px;"><?php echo sprintf(__('Shareaholic Dashboard', 'shareaholic')); ?></a>
27
  </p>
28
  <p>
29
  <?php echo sprintf(__('Configure Apps such as Floating Share buttons, Social Share Count Recovery, Follow buttons, Share Buttons for Images, Monetization Dashboard, EU Cookie Consent bar, and more from the dashboard.', 'shareaholic')); ?>
23
  </div>
24
 
25
  <div class="app">
26
+ <p><a href="<?php echo esc_url(admin_url("admin.php?shareaholic_redirect_url=shareaholic.com/signup/")); ?>" target="_blank" class="btn btn-info btn-block" role="button" style="font-size: 14px;"><?php echo sprintf(__('Shareaholic Dashboard', 'shareaholic')); ?></a>
27
  </p>
28
  <p>
29
  <?php echo sprintf(__('Configure Apps such as Floating Share buttons, Social Share Count Recovery, Follow buttons, Share Buttons for Images, Monetization Dashboard, EU Cookie Consent bar, and more from the dashboard.', 'shareaholic')); ?>
templates/why_to_sign_up.php CHANGED
@@ -12,7 +12,7 @@
12
  <li><?php echo sprintf(__('Earnings Dashboard', 'shareaholic')); ?></li>
13
  <li><?php echo sprintf(__('...lots more!', 'shareaholic')); ?></li>
14
  </ul>
15
- <a href="<?php echo esc_url(admin_url("admin.php?shareaholic_redirect_url=https://shareaholic.com/signup/")); ?>" target="_blank" class="btn btn-info btn-lg" role="button" style="font-size: 16px;"><?php echo sprintf(__('Shareaholic Dashboard', 'shareaholic')); ?></a>
16
  <p class="signuppromo_note">
17
  <?php echo sprintf(__("Already have a Shareaholic account? Click the button above to log in.", 'shareaholic')); ?>
18
  </p>
12
  <li><?php echo sprintf(__('Earnings Dashboard', 'shareaholic')); ?></li>
13
  <li><?php echo sprintf(__('...lots more!', 'shareaholic')); ?></li>
14
  </ul>
15
+ <a href="<?php echo esc_url(admin_url("admin.php?shareaholic_redirect_url=shareaholic.com/signup/")); ?>" target="_blank" class="btn btn-info btn-lg" role="button" style="font-size: 16px;"><?php echo sprintf(__('Shareaholic Dashboard', 'shareaholic')); ?></a>
16
  <p class="signuppromo_note">
17
  <?php echo sprintf(__("Already have a Shareaholic account? Click the button above to log in.", 'shareaholic')); ?>
18
  </p>