Hupso Share Buttons for Twitter, Facebook & Google+ - Version 1.2

Version Description

  • Improved default settings
Download this release

Release Info

Developer kasal
Plugin Icon 128x128 Hupso Share Buttons for Twitter, Facebook & Google+
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2

Files changed (2) hide show
  1. readme.txt +5 -2
  2. share-buttons-hupso.php +6 -4
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: kasal
3
  Tags: twitter, facebook, google+, social, sharing, stumbleupon, addthis, sharethis, sexybookmarks, addtoany, lockerz, shareaholic
4
  Requires at least: 2.8
5
  Tested up to: 3.4
6
- Stable tag: 1.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -25,7 +25,7 @@ Main features / advantages:
25
  Share Buttons are very easy to configure. Just select button size, button position and which social networking services do you want to offer to your visitors.
26
  Button will apear below your articles or on top of them as you choose.
27
 
28
- [Share Button Demo](http://www.hupso.com/share/).
29
 
30
 
31
  == Installation ==
@@ -79,6 +79,9 @@ Yes. Thay are free and will always be free. And you do not need to open an accou
79
 
80
  == Changelog ==
81
 
 
 
 
82
  = 1.1 =
83
  * Fixed plugin path
84
 
3
  Tags: twitter, facebook, google+, social, sharing, stumbleupon, addthis, sharethis, sexybookmarks, addtoany, lockerz, shareaholic
4
  Requires at least: 2.8
5
  Tested up to: 3.4
6
+ Stable tag: 1.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
25
  Share Buttons are very easy to configure. Just select button size, button position and which social networking services do you want to offer to your visitors.
26
  Button will apear below your articles or on top of them as you choose.
27
 
28
+ [Share Buttons Demo](http://www.hupso.com/share/).
29
 
30
 
31
  == Installation ==
79
 
80
  == Changelog ==
81
 
82
+ = 1.2 =
83
+ * Improved default settings
84
+
85
  = 1.1 =
86
  * Fixed plugin path
87
 
share-buttons-hupso.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Hupso Share Buttons for Twitter, Facebook & Google+
4
  Plugin URI: http://www.hupso.com/share
5
  Description: Add simple social sharing buttons to your articles. Your visitors will be able to easily share your content on the most popular social networks: Twitter, Facebook, Google Plus, Linkedin, StumbleUpon, Digg, Reddit, Bebo and Delicous. These services are used by millions of people every day, so sharing your content there will increase traffic to your website.
6
- Version: 1.0
7
  Author: kasal
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -197,7 +197,7 @@ function hupso_admin_settings_save() {
197
  else {
198
  $hupso_menu_type = get_option ( 'hupso_menu_type', 'labels');
199
  }
200
- $hupso_vars .= 'var icon_type = "'.$hupso_menu_type.'";';
201
 
202
 
203
  /* save button position */
@@ -213,7 +213,7 @@ function hupso_admin_settings_save() {
213
  /* all images are server from local Wordpress installation */
214
  /* minified button code is served by Hupso Static Server */
215
  $static_server = 'http://static.hupso.com/share/js/share.js';
216
- $code = '<!-- Hupso Share Buttons (http://www.hupso.com/share) --><a class="hupso_pop" href="http://www.hupso.com/share"><img src="'.$hupso_plugin_url.'/buttons/'.$hupso_button_size.'.png" width="'.$width.'" height="'.$height.'" border="0" alt="Share Button"/></a><script type="text/javascript">';
217
  $code .= $hupso_vars;
218
  $code .= '</script><script type="text/javascript" src="' . $static_server . '"></script><!-- Hupso Share Buttons -->';
219
  update_option( 'hupso_share_buttons_code', $code );
@@ -234,7 +234,9 @@ function hupso_the_content( $content ) {
234
  global $hupso_plugin_url;
235
 
236
  /* default code */
237
- $share_code = '<!-- Hupso Share Buttons (http://www.hupso.com/share) --><a class="hupso_pop" href="http://www.hupso.com/share"><img src="'.$hupso_plugin_url.'/buttons/button120x28.png" width="100" height="23" border="0" alt="Share Button"/></a><script type="text/javascript">var hupso_services=new Array("Twitter","Facebook","Google Plus","Linkedin","StumbleUpon");var icon_type = "labels";</script><!-- Hupso Share Buttons -->';
 
 
238
 
239
  $code = get_option ( 'hupso_share_buttons_code', $share_code );
240
 
3
  Plugin Name: Hupso Share Buttons for Twitter, Facebook & Google+
4
  Plugin URI: http://www.hupso.com/share
5
  Description: Add simple social sharing buttons to your articles. Your visitors will be able to easily share your content on the most popular social networks: Twitter, Facebook, Google Plus, Linkedin, StumbleUpon, Digg, Reddit, Bebo and Delicous. These services are used by millions of people every day, so sharing your content there will increase traffic to your website.
6
+ Version: 1.2
7
  Author: kasal
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
197
  else {
198
  $hupso_menu_type = get_option ( 'hupso_menu_type', 'labels');
199
  }
200
+ $hupso_vars .= 'var hupso_icon_type = "'.$hupso_menu_type.'";';
201
 
202
 
203
  /* save button position */
213
  /* all images are server from local Wordpress installation */
214
  /* minified button code is served by Hupso Static Server */
215
  $static_server = 'http://static.hupso.com/share/js/share.js';
216
+ $code = '<!-- Hupso Share Buttons (http://www.hupso.com/share) --><a class="hupso_pop" href="http://www.hupso.com/share"><img style="border:0px;" src="'.$hupso_plugin_url.'/buttons/'.$hupso_button_size.'.png" width="'.$width.'" height="'.$height.'" border="0" alt="Share Button"/></a><script type="text/javascript">';
217
  $code .= $hupso_vars;
218
  $code .= '</script><script type="text/javascript" src="' . $static_server . '"></script><!-- Hupso Share Buttons -->';
219
  update_option( 'hupso_share_buttons_code', $code );
234
  global $hupso_plugin_url;
235
 
236
  /* default code */
237
+ $share_code = '<!-- Hupso Share Buttons (http://www.hupso.com/share) --><a class="hupso_pop" href="http://www.hupso.com/share"><img style="border:0px;" src="'.$hupso_plugin_url.'/buttons/button120x28.png" width="100" height="23" border="0" alt="Share Button"/></a><script type="text/javascript">var hupso_services=new Array("Twitter","Facebook","Google Plus","Linkedin","StumbleUpon","Digg","Reddit","Bebo","Delicious"); var hupso_icon_type = "labels";</script>';
238
+ $static_server = 'http://static.hupso.com/share/js/share.js';
239
+ $share_code .= '<script type="text/javascript" src="' . $static_server . '"></script><!-- Hupso Share Buttons -->';
240
 
241
  $code = get_option ( 'hupso_share_buttons_code', $share_code );
242