Social Media Share Buttons - Version 2.9

Version Description

Download this release

Release Info

Developer joaoromao
Plugin Icon 128x128 Social Media Share Buttons
Version 2.9
Comparing to
See all releases

Code changes from version 2.8 to 2.9

img/apps/ad-tracker.png DELETED
Binary file
img/apps/advanced-analytics.png DELETED
Binary file
img/apps/competitor-tracker.png DELETED
Binary file
img/apps/conversions.png DELETED
Binary file
img/apps/expressions-custom-brand.png DELETED
Binary file
img/apps/mailchimp.png ADDED
Binary file
js/plugin.js CHANGED
@@ -127,6 +127,17 @@ jQuery(function($){
127
  });
128
 
129
  jQuery(document).on('click', '.only-activate', function(e){
 
 
 
 
 
 
 
 
 
 
 
130
  e.preventDefault();
131
 
132
  $.post($(this).attr('href'), function(data){
127
  });
128
 
129
  jQuery(document).on('click', '.only-activate', function(e){
130
+
131
+ if ($(this)[0].pathname == "/auth/mailchimp") {
132
+
133
+ if ($(this).attr('prevent')) {
134
+ alert("You need to install Subscriber Bar or Price Alert to work with MailChimp");
135
+ } else {
136
+ window.open($(this).attr('href'), '_blank')
137
+ }
138
+ return;
139
+ }
140
+
141
  e.preventDefault();
142
 
143
  $.post($(this).attr('href'), function(data){
lib/gs.php CHANGED
@@ -3,10 +3,10 @@
3
  class GS {
4
 
5
  // Local
6
- // private $gs_url = "//localhost:3001";
7
- // private $gs_account = "http://localhost:3000/";
8
- // private $gs_url_api = "http://localhost:3001";
9
- // public $api_url = "http://localhost:3000/api/v1/";
10
 
11
  // Staging
12
  // private $gs_url = "http://staging.api.at.getsocial.io";
3
  class GS {
4
 
5
  // Local
6
+ // private $gs_url = "//127.0.0.1:3001";
7
+ // private $gs_account = "http://127.0.0.1:3000/";
8
+ // private $gs_url_api = "http://127.0.0.1:3001";
9
+ // public $api_url = "http://127.0.0.1:3000/api/v1/";
10
 
11
  // Staging
12
  // private $gs_url = "http://staging.api.at.getsocial.io";
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
  === Social Sharing, Follow Bar & Share Buttons by GetSocial.io ===
2
  Contributors: GetSocial.io, joaoromao
3
 
4
- Tags: addthis, addtoany, analytics, button, facebook share, facebook button, like button, tweet button, twitter share, pinterest share, pin button, floating buttons, share, share button, share buttons, share links, shareaholic, sharethis, sharing, social, social analytics, social media, social bookmarking, social buttons, social media, social plugin, social share, social share buttons, social sharing, mobile share bar, mobile sharing, top bar, welcome bar, hello bar, follow buttons, instagram, youtube, increase followers, increase shares, increase traffic, copy paste shares, google analytics integration, yummly, flickr, rss, shopify
5
 
6
  Requires at least: 3.0
7
  Tested up to: 4.3
8
- Stable tag: 2.8
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -13,11 +13,11 @@ All in one plugin with tools to grow your traffic, shares and followers. Include
13
 
14
  == Description ==
15
 
16
- **Social Sharing Buttons by GetSocial.io** is a freemium WordPress all in one toolkit to help you grow your shares, traffic and followers. Get more Visitors, Conversions, Subscribers, Shares and Revenue from your site. Increase your shares, followers & conversions with GetSocial. **This is a freemium plugin so there are some free apps and some paid apps, depending on your needs**
17
 
18
 
19
 
20
- **Partnership with WP Slimstat**: As of June/2015 we started providing all Slimstat users free social sharing analytics. We provide a list of top shared posts and shares count in top social networks.
21
 
22
 
23
 
@@ -45,6 +45,7 @@ All in one plugin with tools to grow your traffic, shares and followers. Include
45
  - Conversion Tracking
46
  - Google Analytics Integration
47
  - Social Sharing Analytics
 
48
 
49
  <h4>Visits Limit</h4>
50
  - Free: 10,000 per month;
@@ -295,6 +296,14 @@ Sure, we’re always here to help. You can contact us at support@getsocial.io or
295
 
296
  == Changelog ==
297
 
 
 
 
 
 
 
 
 
298
  **2.8**
299
 
300
  - Added multi-share bar feature, allowing for independent share bars in the same page
1
  === Social Sharing, Follow Bar & Share Buttons by GetSocial.io ===
2
  Contributors: GetSocial.io, joaoromao
3
 
4
+ Tags: addthis, addtoany, analytics, button, facebook share, facebook button, like button, tweet button, twitter share, pinterest share, pin button, floating buttons, share, share button, share buttons, share links, shareaholic, sharethis, sharing, social, social analytics, social media, social bookmarking, social buttons, social media, social plugin, social share, social share buttons, social sharing, mobile share bar, mobile sharing, top bar, welcome bar, hello bar, follow buttons, instagram, youtube, increase followers, increase shares, increase traffic, copy paste shares, google analytics integration, yummly, flickr, rss, mailchimp
5
 
6
  Requires at least: 3.0
7
  Tested up to: 4.3
8
+ Stable tag: 2.9
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
13
 
14
  == Description ==
15
 
16
+ **Social Sharing Buttons by GetSocial.io** is a freemium WordPress all in one toolkit to help you grow your shares, traffic and followers. Get more Visitors, Conversions, Subscribers, Shares and Revenue from your site. Increase your shares, followers & conversions with GetSocial. **This is a freemium plugin so there are some free apps and some paid apps, depending on your needs** Now integrating with MailChimp.
17
 
18
 
19
 
20
+ **Integration with MailChimpt**: As of October/2015 we started providing a native integration with MailChimp to our paid customers. Users of the Subscriber Bar & Price Alert features (both paid) are now able to push emails automatically, in real-time, to their MailChimp lists.
21
 
22
 
23
 
45
  - Conversion Tracking
46
  - Google Analytics Integration
47
  - Social Sharing Analytics
48
+ - MailChimp Integration
49
 
50
  <h4>Visits Limit</h4>
51
  - Free: 10,000 per month;
296
 
297
  == Changelog ==
298
 
299
+ **2.9**
300
+
301
+ - Added MailChimp Integration
302
+ - Added new Google Logo
303
+ - Added compatibility to page builder plugin
304
+ - Added new app images
305
+ - Added Exclude Page button to the top bar
306
+
307
  **2.8**
308
 
309
  - Added multi-share bar feature, allowing for independent share bars in the same page
tmpl/apps.php CHANGED
@@ -57,7 +57,16 @@
57
  <div class="app-link-buttons">
58
  <div>
59
  <?php if(!$settings['only_activate'] || ( isset($settings['only_activate']) && !$settings['active'] )): ?>
60
- <a href="<?php echo $settings['href'] ?>" target="<?php echo ($settings['only_activate'] ? '' : '_blank') ?>" class="gs-button gs-primary trans border getsocial-tab <?php echo ($settings['only_activate'] ? 'only-activate' : '') ?>">
 
 
 
 
 
 
 
 
 
61
 
62
  <?php echo ($settings['active']) ? 'Edit App' : 'Install App' ?>
63
 
@@ -67,6 +76,7 @@
67
  <div>Requires WooCommerce Plugin</div>
68
  </span>
69
  <?php endif; ?>
 
70
  </a>
71
  <?php endif; ?>
72
 
@@ -79,7 +89,6 @@
79
  </div>
80
  </div>
81
  </div>
82
-
83
  <?php endif; ?>
84
  <?php endif; ?>
85
  <?php endforeach; ?>
57
  <div class="app-link-buttons">
58
  <div>
59
  <?php if(!$settings['only_activate'] || ( isset($settings['only_activate']) && !$settings['active'] )): ?>
60
+
61
+
62
+ <?php
63
+ $prevent_install = "";
64
+
65
+ if($app == 'MailChimp' && !$apps['Price Alert']['active'] && !$apps['Subscriber Bar']['active']):
66
+ $prevent_install = 'prevent="true"';
67
+ endif; ?>
68
+
69
+ <a href="<?php echo $settings['href'] ?>" target="<?php echo ($settings['only_activate'] && $app != 'MailChimp' ? '' : '_blank') ?>" class="gs-button gs-primary trans border getsocial-tab <?php echo ($settings['only_activate'] ? 'only-activate' : ''); ?>" <?php echo $prevent_install; ?>>
70
 
71
  <?php echo ($settings['active']) ? 'Edit App' : 'Install App' ?>
72
 
76
  <div>Requires WooCommerce Plugin</div>
77
  </span>
78
  <?php endif; ?>
79
+
80
  </a>
81
  <?php endif; ?>
82
 
89
  </div>
90
  </div>
91
  </div>
 
92
  <?php endif; ?>
93
  <?php endif; ?>
94
  <?php endforeach; ?>
tmpl/apps_config.php CHANGED
@@ -179,6 +179,17 @@
179
  'href' => $GS->gs_account().'/sites/gs-wordpress/price_alerts/new?api_key='.$GS->api_key.'&amp;source=wordpress'.$GS->utms('price-alert'),
180
  'desc' => "Allow your visitors to get notified when a price drop occurs on a product they want to purchase. Increase sales and fight cart abandonment."
181
  ),
 
 
 
 
 
 
 
 
 
 
 
182
  );
183
 
184
  $plan_class = array_values($plans);
179
  'href' => $GS->gs_account().'/sites/gs-wordpress/price_alerts/new?api_key='.$GS->api_key.'&amp;source=wordpress'.$GS->utms('price-alert'),
180
  'desc' => "Allow your visitors to get notified when a price drop occurs on a product they want to purchase. Increase sales and fight cart abandonment."
181
  ),
182
+ 'MailChimp' => array(
183
+ 'file' => 'mailchimp',
184
+ 'category' => 'ecommerce_integrations',
185
+ 'nocode' => true,
186
+ 'new' => true,
187
+ 'plan' => 1,
188
+ 'active' => $GS->is_active('mailchimp'),
189
+ 'only_activate' => true,
190
+ 'href' => $GS->gs_account() . 'auth/mailchimp',
191
+ 'desc' => "Automatically connect your Subscriber Bar & Price Alert features with your Mailchimp account"
192
+ ),
193
  );
194
 
195
  $plan_class = array_values($plans);
wp-share-buttons-analytics-getsocial.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Share Buttons & tools to grow traffic by GetSocial.io
4
  * Plugin URI: http://getsocial.io
5
  * Description: Share Buttons by GetSocial.io is a freemium WordPress plugin that enables you to track social shares on Wordpress. Provide beautiful wordpress sharing buttons, track how many shares were made in each post and see how much traffic, conversions and shares each post generated. Optimize your SEO and increase social shares with GetSocial.io.
6
- * Version: 2.8
7
  * Author: Getsocial, S.A.
8
  * Author URI: http://getsocial.io
9
  * License: GPL2
3
  * Plugin Name: Share Buttons & tools to grow traffic by GetSocial.io
4
  * Plugin URI: http://getsocial.io
5
  * Description: Share Buttons by GetSocial.io is a freemium WordPress plugin that enables you to track social shares on Wordpress. Provide beautiful wordpress sharing buttons, track how many shares were made in each post and see how much traffic, conversions and shares each post generated. Optimize your SEO and increase social shares with GetSocial.io.
6
+ * Version: 2.9
7
  * Author: Getsocial, S.A.
8
  * Author URI: http://getsocial.io
9
  * License: GPL2