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

Version Description

  • Adjusted the "get started" screen so it's visible on smaller screens
  • Bugfix: Fixed Share Buttons not rendering with certain settings
  • Bugfix: Site Name is now actually used at setup
Download this release

Release Info

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

Code changes from version 7.0.3.1 to 7.0.3.2

assets/css/main.css CHANGED
@@ -189,7 +189,11 @@ s,m,l,n = small(5px),medium(10px),large(20px),none(0px)
189
  line-height: 16pt;
190
  box-shadow: 0px 0px 52px rgba(0,0,0,0.32);
191
  padding: 0;
192
- height: 560px;
 
 
 
 
193
  }
194
 
195
  .blocking-modal .content{
@@ -230,23 +234,36 @@ h4 {
230
  }
231
 
232
  .blocking-modal img {
233
- width: 150px;
234
- height: 150px;
235
  }
236
 
237
  .blocking-modal .btn_main {
 
238
  cursor: pointer;
239
  display: inline-block;
240
- background: #31986E;
241
  color: white;
242
  text-transform: uppercase;
243
  text-decoration: none;
244
  padding: 20px 40px;
245
- font-size: 14px;
 
 
 
 
 
 
 
 
 
 
 
 
246
  }
247
 
248
  .blocking-modal .btn_main:hover {
249
- background: #28cc8b;
250
  color: white;
251
  border: none;
252
  }
189
  line-height: 16pt;
190
  box-shadow: 0px 0px 52px rgba(0,0,0,0.32);
191
  padding: 0;
192
+ height: 500px;
193
+ }
194
+
195
+ .api-key-modal{
196
+ height: 350px;
197
  }
198
 
199
  .blocking-modal .content{
234
  }
235
 
236
  .blocking-modal img {
237
+ width: 100px;
238
+ height: 100px;
239
  }
240
 
241
  .blocking-modal .btn_main {
242
+ position: relative;
243
  cursor: pointer;
244
  display: inline-block;
245
+ background: #27ae60;
246
  color: white;
247
  text-transform: uppercase;
248
  text-decoration: none;
249
  padding: 20px 40px;
250
+ font-size: 18px;
251
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
252
+ border-radius: 5px;
253
+ -webkit-box-shadow: inset 0 -3px #14947b;
254
+ box-shadow: inset 0 -3px #14947b;
255
+ }
256
+
257
+ .blocking-modal .btn_main:active {
258
+ top: 1px;
259
+ color: white;
260
+ outline: none;
261
+ -webkit-box-shadow: none;
262
+ box-shadow: none;
263
  }
264
 
265
  .blocking-modal .btn_main:hover {
266
+ background: #21A057;
267
  color: white;
268
  border: none;
269
  }
assets/css/reveal.css CHANGED
@@ -7,7 +7,7 @@
7
  height: 100%;
8
  width: 100%;
9
  background: #000;
10
- background: rgba(0,0,0,.8);
11
  z-index: 100;
12
  display: none;
13
  top: 0;
7
  height: 100%;
8
  width: 100%;
9
  background: #000;
10
+ background: rgba(0,0,0,.7);
11
  z-index: 100;
12
  display: none;
13
  top: 0;
assets/js/main.js CHANGED
@@ -164,12 +164,13 @@
164
  $('#terms_of_service_modal').reveal({
165
  closeonbackgroundclick: false,
166
  closeonescape: false,
167
- topPosition: 100
168
  });
169
 
170
  $('#failed_to_create_api_key').reveal({
171
  closeonbackgroundclick: false,
172
- closeonescape: false
 
173
  });
174
 
175
  $('#get_started').on('click', function(e) {
164
  $('#terms_of_service_modal').reveal({
165
  closeonbackgroundclick: false,
166
  closeonescape: false,
167
+ topPosition: 50
168
  });
169
 
170
  $('#failed_to_create_api_key').reveal({
171
  closeonbackgroundclick: false,
172
+ closeonescape: false,
173
+ topPosition: 50
174
  });
175
 
176
  $('#get_started').on('click', function(e) {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: shareaholic
3
  Tags: sexybookmarks, shareaholic, shareholic, facebook, twitter, linkedin, URL Shortener, bitly, tinyurl, Goo.gl, Google+1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Gmail, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, mister wong, evernote, add this, addtoany, share this, sharethis, share and follow, share and enjoy, sharing is sexy, sharing is caring, yahoo, reddit, hackernews, tweet button, twitter button, fark, buffer, myspace, orkut, netlog, hubspot, weheartit, printfriendly, yammer, pinterest, google translate, bookmarks, social, email button, social share, socialize, sociable, sharebar, bookmark button, share button, social bookmarking, bookmarks menu, bookmarking, share, seo, analytics, stats, sharing, facebook like, facebook recommend, WPMU, mutisite, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
4
  Requires at least: 2.7
5
  Tested up to: 3.5.2
6
- Stable tag: 7.0.3.1
7
 
8
  Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
9
 
@@ -141,6 +141,11 @@ Please see here: [Usage & Installation Instructions](https://shareaholic.com/too
141
 
142
  == Changelog ==
143
 
 
 
 
 
 
144
  = 7.0.3.1 =
145
  * Bugfix: Should fix most, if not all, lingering issues related to share buttons or related content not showing up!
146
  * Various performance improvements
@@ -896,6 +901,9 @@ Please see here: [Usage & Installation Instructions](https://shareaholic.com/too
896
 
897
  == Upgrade Notice ==
898
 
 
 
 
899
  = 7.0.3.1 =
900
  This is a highly recommended upgrade. Should fix most, if not all, lingering issues related to share buttons and related content apps not showing on webpages.
901
 
3
  Tags: sexybookmarks, shareaholic, shareholic, facebook, twitter, linkedin, URL Shortener, bitly, tinyurl, Goo.gl, Google+1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Gmail, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, mister wong, evernote, add this, addtoany, share this, sharethis, share and follow, share and enjoy, sharing is sexy, sharing is caring, yahoo, reddit, hackernews, tweet button, twitter button, fark, buffer, myspace, orkut, netlog, hubspot, weheartit, printfriendly, yammer, pinterest, google translate, bookmarks, social, email button, social share, socialize, sociable, sharebar, bookmark button, share button, social bookmarking, bookmarks menu, bookmarking, share, seo, analytics, stats, sharing, facebook like, facebook recommend, WPMU, mutisite, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
4
  Requires at least: 2.7
5
  Tested up to: 3.5.2
6
+ Stable tag: 7.0.3.2
7
 
8
  Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
9
 
141
 
142
  == Changelog ==
143
 
144
+ = 7.0.3.2 =
145
+ * Adjusted the "get started" screen so it's visible on smaller screens
146
+ * Bugfix: Fixed Share Buttons not rendering with certain settings
147
+ * Bugfix: Site Name is now actually used at setup
148
+
149
  = 7.0.3.1 =
150
  * Bugfix: Should fix most, if not all, lingering issues related to share buttons or related content not showing up!
151
  * Various performance improvements
901
 
902
  == Upgrade Notice ==
903
 
904
+ = 7.0.3.2 =
905
+ This is a highly recommended upgrade. Fixes issues affecting users on smaller screens and includes performance improvements.
906
+
907
  = 7.0.3.1 =
908
  This is a highly recommended upgrade. Should fix most, if not all, lingering issues related to share buttons and related content apps not showing on webpages.
909
 
shareaholic.php CHANGED
@@ -3,14 +3,14 @@
3
  * The main and first file!
4
  *
5
  * @package shareaholic
6
- * @version 7.0.3.1
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  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=shareaholic-settings">configuration panel</a> for more settings.
13
- Version: 7.0.3.1
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
  Credits & Thanks: https://shareaholic.com/tools/wordpress/credits
@@ -43,7 +43,7 @@ require_once(SHAREAHOLIC_DIR . '/deprecation.php');
43
  */
44
  class Shareaholic {
45
  const URL = 'https://shareaholic.com';
46
- const VERSION = '7.0.3.1';
47
  /**
48
  * Starts off as false so that ::get_instance() returns
49
  * a new instance.
3
  * The main and first file!
4
  *
5
  * @package shareaholic
6
+ * @version 7.0.3.2
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  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=shareaholic-settings">configuration panel</a> for more settings.
13
+ Version: 7.0.3.2
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
  Credits & Thanks: https://shareaholic.com/tools/wordpress/credits
43
  */
44
  class Shareaholic {
45
  const URL = 'https://shareaholic.com';
46
+ const VERSION = '7.0.3.2';
47
  /**
48
  * Starts off as false so that ::get_instance() returns
49
  * a new instance.
templates/failed_to_create_api_key_modal.php CHANGED
@@ -1,4 +1,4 @@
1
- <div class='reveal-modal blocking-modal' id='failed_to_create_api_key'>
2
  <h4><?php echo sprintf(__('Setup Shareaholic', 'shareaholic')); ?></h4>
3
  <div class="content pal">
4
  <div class="line pvl">
1
+ <div class='reveal-modal blocking-modal api-key-modal' id='failed_to_create_api_key'>
2
  <h4><?php echo sprintf(__('Setup Shareaholic', 'shareaholic')); ?></h4>
3
  <div class="content pal">
4
  <div class="line pvl">
templates/terms_of_service_modal.php CHANGED
@@ -1,23 +1,23 @@
1
  <div class='reveal-modal blocking-modal' id='terms_of_service_modal'>
2
- <h4><?php echo sprintf(__('Thanks for Installing', 'shareaholic')); ?></h4>
3
  <div class="content pal">
4
  <p><?php echo sprintf(__('%sShareaholic%s gives you the essential tools you need to become a successful publisher.', 'shareaholic'), '<strong>', '</strong>'); ?></p>
5
  <div class="line pvl">
6
  <div class="unit size1of3">
7
- <img src="<?php echo $image_url ?>/sharebuttons@2x.png" alt="sharebuttons@2x" width="238" height="238" />
8
- <p><?php echo sprintf(__('%sShare buttons%s let your readers post your content to their favorite networks.', 'shareaholic'), '<strong>', '</strong>'); ?></p>
9
  </div>
10
  <div class="unit size1of3">
11
- <img src="<?php echo $image_url ?>/related_content@2x.png" alt="related%20content@2x" width="238" height="238" />
12
  <p><?php echo sprintf(__('%sRelated content%s keeps people on your site and turns visitors into readers.', 'shareaholic'), '<strong>', '</strong>'); ?></p>
13
  </div>
14
  <div class="unit size1of3">
15
- <img src="<?php echo $image_url ?>/analytics@2x.png" alt="snalytics@2x" />
16
- <p><?php echo sprintf(__('%sAnalytics%s gives you the insight to create tailored content and grow your site.', 'shareaholic'), '<strong>', '</strong>'); ?></p>
17
  </div>
18
  </div>
19
  <div class="pvl">
20
- <a id='get_started' class="btn_main"><?php echo sprintf(__('Get Started', 'shareaholic')); ?></a>
21
  <p><small><?php echo sprintf(__('By clicking "Get Started" you agree to Shareholic\'s %sTerms of Service%s and %sPrivacy Policy%s.', 'shareaholic'), '<a href="https://shareaholic.com/terms/?src=wp_admin" target="_new">', '</a>', '<a href="https://shareaholic.com/privacy/?src=wp_admin" target="_new">', '</a>'); ?></p>
22
  </div>
23
  </div>
1
  <div class='reveal-modal blocking-modal' id='terms_of_service_modal'>
2
+ <h4><?php echo sprintf(__('Thanks for Installing!', 'shareaholic')); ?></h4>
3
  <div class="content pal">
4
  <p><?php echo sprintf(__('%sShareaholic%s gives you the essential tools you need to become a successful publisher.', 'shareaholic'), '<strong>', '</strong>'); ?></p>
5
  <div class="line pvl">
6
  <div class="unit size1of3">
7
+ <img src="<?php echo $image_url ?>/sharebuttons@2x.png" alt="Share Buttons" width="200" height="200" />
8
+ <p><?php echo sprintf(__('%sShare buttons%s enables your readers to spread your content.', 'shareaholic'), '<strong>', '</strong>'); ?></p>
9
  </div>
10
  <div class="unit size1of3">
11
+ <img src="<?php echo $image_url ?>/related_content@2x.png" alt="Related Content" width="200" height="200" />
12
  <p><?php echo sprintf(__('%sRelated content%s keeps people on your site and turns visitors into readers.', 'shareaholic'), '<strong>', '</strong>'); ?></p>
13
  </div>
14
  <div class="unit size1of3">
15
+ <img src="<?php echo $image_url ?>/analytics@2x.png" alt="Analytics" width="200" height="200" />
16
+ <p><?php echo sprintf(__('%sAnalytics%s gives you all the insights you need to grow your site.', 'shareaholic'), '<strong>', '</strong>'); ?></p>
17
  </div>
18
  </div>
19
  <div class="pvl">
20
+ <a id='get_started' class="btn_main"><?php echo sprintf(__('Get Started »', 'shareaholic')); ?></a>
21
  <p><small><?php echo sprintf(__('By clicking "Get Started" you agree to Shareholic\'s %sTerms of Service%s and %sPrivacy Policy%s.', 'shareaholic'), '<a href="https://shareaholic.com/terms/?src=wp_admin" target="_new">', '</a>', '<a href="https://shareaholic.com/privacy/?src=wp_admin" target="_new">', '</a>'); ?></p>
22
  </div>
23
  </div>
utilities.php CHANGED
@@ -555,7 +555,7 @@ class ShareaholicUtilities {
555
  }
556
 
557
  public static function site_name() {
558
- get_bloginfo('name') ? get_bloginfo('name') : site_url();
559
  }
560
 
561
  /**
555
  }
556
 
557
  public static function site_name() {
558
+ return get_bloginfo('name') ? get_bloginfo('name') : site_url();
559
  }
560
 
561
  /**