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

Version Description

  • Tumblr button
  • Top div now uses class "hupso-share-buttons", so it is now easy to customize buttons with CSS
  • Better Pinterest dialog for selecting images
Download this release

Release Info

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

Code changes from version 3.9.16 to 3.9.17

img/services/24/tumblr.png ADDED
Binary file
img/services/24/vkontakte.png ADDED
Binary file
img/services/32/tumblr.png ADDED
Binary file
img/services/32/vkontakte.png ADDED
Binary file
img/services/tumblr.png ADDED
Binary file
img/services/vkontakte.png ADDED
Binary file
js/create_button.js CHANGED
@@ -249,6 +249,8 @@ function hupso_create_code() {
249
  hupso_services += '"Pinterest",';
250
  if ( $( "input:checkbox[name=linkedin]:checked" ).val() == 1 )
251
  hupso_services += '"Linkedin",';
 
 
252
  if ( $( "input:checkbox[name=stumbleupon]:checked" ).val() == 1 )
253
  hupso_services += '"StumbleUpon",';
254
  if ( $( "input:checkbox[name=digg]:checked" ).val() == 1 )
249
  hupso_services += '"Pinterest",';
250
  if ( $( "input:checkbox[name=linkedin]:checked" ).val() == 1 )
251
  hupso_services += '"Linkedin",';
252
+ if ( $( "input:checkbox[name=tumblr]:checked" ).val() == 1 )
253
+ hupso_services += '"Tumblr",';
254
  if ( $( "input:checkbox[name=stumbleupon]:checked" ).val() == 1 )
255
  hupso_services += '"StumbleUpon",';
256
  if ( $( "input:checkbox[name=digg]:checked" ).val() == 1 )
readme.txt CHANGED
@@ -1,18 +1,18 @@
1
  === Hupso Share Buttons for Twitter, Facebook & Google+ ===
2
  Contributors: kasal
3
  Donate link: http://www.hupso.com/
4
- Tags: twitter, facebook, google, social sharing, share buttons, social share buttons, share icons, stumbleupon, addthis, sharethis, sexybookmarks, addtoany, multisite, pinterest, print
5
  Requires at least: 2.8
6
  Tested up to: 3.6
7
- Stable tag: 3.9.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Help visitors share your posts on popular social networks: Twitter, Facebook, Google Plus, Linkedin, Pinterest, StumbleUpon, Digg, Reddit and others.
12
 
13
  == Description ==
14
 
15
- Add simple social share 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, Pinterest, StumbleUpon, Digg, Reddit, Bebo, Delicous and Email.
16
 
17
  These services are used by millions of people every day, so sharing your content there will increase traffic to your website.
18
 
@@ -20,7 +20,7 @@ These services are used by millions of people every day, so sharing your content
20
 
21
  * Slick, minimalistic design.
22
  * Very small and fast. The code for sharing button is very small (only a few KB), so share buttons will not slow down your website - even on devices with slow network connections.
23
- * All major social networks are supported: Twitter, Facebook (Facebook Share / Facebook Like / Facebook Send), Google Plus, Linkedin, Pinterest, StumbleUpon, Digg, Reddit, Bebo, Delicious.
24
  * Social media counters: Twitter Tweet, Facebook Like, Google +1, Linkedin Share, Pinterest - Pin it
25
  * Compatible with all major web browsers: Firefox, Chrome, Internet Explorer, Safari, Opera.
26
  * Share toolbar works with desktop and mobile devices (mobile phones and tablets). Tested with PC, Apple iOS / iPhone / iPad and Google Android devices.
@@ -95,6 +95,13 @@ All major social networks are supported: Twitter, Facebook, Google+, Linkedin, S
95
  Yes. There is a sidebar widget included with the plugin. Go to WP Administration then click on "Widgets" under "Appearance" menu.
96
  Then drag Hupso Share Buttons Widget from left and drop it on the sidebar on the right.
97
 
 
 
 
 
 
 
 
98
  = How can I style "Share image" with CSS? =
99
 
100
  Add CSS to your style.css file.
@@ -271,6 +278,11 @@ Please send bug reports and suggestion using [this feedback form](http://www.hup
271
 
272
  == Changelog ==
273
 
 
 
 
 
 
274
  = 3.9.16 =
275
  * Included hupso.pot file for translation. If you would like to translate into your language, send message [here](http://www.hupso.com/share/feedback/).
276
  * Added Czech translation
1
  === Hupso Share Buttons for Twitter, Facebook & Google+ ===
2
  Contributors: kasal
3
  Donate link: http://www.hupso.com/
4
+ Tags: twitter, facebook, google, social sharing, share buttons, social share buttons, share icons, stumbleupon, addthis, sharethis, sexybookmarks, addtoany, multisite, pinterest, print, tumblr
5
  Requires at least: 2.8
6
  Tested up to: 3.6
7
+ Stable tag: 3.9.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Help visitors share your posts on popular social networks: Twitter, Facebook, Google Plus, Linkedin, Pinterest, StumbleUpon, Tumblr, Reddit and others.
12
 
13
  == Description ==
14
 
15
+ Add simple social share 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, Tumblr, Pinterest, StumbleUpon, Digg, Reddit, Bebo, Delicous and Email.
16
 
17
  These services are used by millions of people every day, so sharing your content there will increase traffic to your website.
18
 
20
 
21
  * Slick, minimalistic design.
22
  * Very small and fast. The code for sharing button is very small (only a few KB), so share buttons will not slow down your website - even on devices with slow network connections.
23
+ * All major social networks are supported: Twitter, Facebook (Facebook Share / Facebook Like / Facebook Send), Google Plus, Linkedin, Tumblr, Pinterest, StumbleUpon, Digg, Reddit, Bebo, Delicious.
24
  * Social media counters: Twitter Tweet, Facebook Like, Google +1, Linkedin Share, Pinterest - Pin it
25
  * Compatible with all major web browsers: Firefox, Chrome, Internet Explorer, Safari, Opera.
26
  * Share toolbar works with desktop and mobile devices (mobile phones and tablets). Tested with PC, Apple iOS / iPhone / iPad and Google Android devices.
95
  Yes. There is a sidebar widget included with the plugin. Go to WP Administration then click on "Widgets" under "Appearance" menu.
96
  Then drag Hupso Share Buttons Widget from left and drop it on the sidebar on the right.
97
 
98
+ = How can I style Hupso share buttons with CSS? =
99
+
100
+ Use class "hupso-share-buttons" like this:
101
+ `.hupso-share-buttons {
102
+ /* add style here */
103
+ }`
104
+
105
  = How can I style "Share image" with CSS? =
106
 
107
  Add CSS to your style.css file.
278
 
279
  == Changelog ==
280
 
281
+ = 3.9.17 =
282
+ * Tumblr button
283
+ * Top div now uses class "hupso-share-buttons", so it is now easy to customize buttons with CSS
284
+ * Better Pinterest dialog for selecting images
285
+
286
  = 3.9.16 =
287
  * Included hupso.pot file for translation. If you would like to translate into your language, send message [here](http://www.hupso.com/share/feedback/).
288
  * Added Czech translation
share-buttons-hupso.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
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: 3.9.16
7
  Author: kasal
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -12,7 +12,7 @@ Domain Path: /languages
12
  */
13
 
14
  global $HUPSO_VERSION;
15
- $HUPSO_VERSION = '3.9.16';
16
 
17
  $hupso_dev = '';
18
  $hupso_state = 'normal';
@@ -61,7 +61,7 @@ if ( is_admin() ) {
61
  add_action( 'wp_head', 'hupso_set_facebook_thumbnail', 1 );
62
 
63
  $hupso_all_services = array(
64
- 'Twitter', 'Facebook', 'Google Plus', 'Pinterest', 'Linkedin', 'StumbleUpon', 'Digg', 'Reddit', 'Bebo', 'Delicious', 'Email', 'Print'
65
  );
66
  $hupso_default_services = array(
67
  'Twitter', 'Facebook', 'Google Plus', 'Pinterest', 'Linkedin', 'StumbleUpon', 'Digg', 'Reddit', 'Bebo', 'Delicious'
@@ -142,6 +142,7 @@ function hupso_plugin_uninstall() {
142
  delete_option( 'hupso_googleplus' );
143
  delete_option( 'hupso_pinterest' );
144
  delete_option( 'hupso_linkedin' );
 
145
  delete_option( 'hupso_stumbleupon' );
146
  delete_option( 'hupso_digg' );
147
  delete_option( 'hupso_reddit' );
@@ -260,7 +261,7 @@ function hupso_admin_settings_show() {
260
  $hupso_language = __('English', 'hupso');
261
  $hupso_share_image = __('Share', 'hupso');
262
  $hupso_excerpts = __('Excerpts', 'hupso');
263
- $hupso_feeds = __('Feeds', 'hupso');
264
 
265
  if ( !current_user_can( 'manage_options' ) ) {
266
  wp_die( __( 'You do not have sufficient permissions to access this page.' , 'hupso') );
@@ -310,7 +311,7 @@ function hupso_admin_settings_show() {
310
  $start = '<!-- Hupso Share Buttons - http://www.hupso.com/share/ -->';
311
  $end = '<!-- Hupso Share Buttons -->';
312
  $class_name = 'hupso_pop';
313
- $alt = 'Share Button';
314
  $class_url = ' href="http://www.hupso.com/share/" ';
315
  $style = 'padding-left:5px; padding-top:5px; padding-bottom:5px; margin:0; border:0px;';
316
 
@@ -320,6 +321,7 @@ function hupso_admin_settings_show() {
320
  $button_120_img = '<img style="'.$style.' width: 120px; height:28px;" src="'.$hupso_plugin_url.'/buttons/button120x28.png" alt="'.$alt.'"/>';
321
  $button_160_img = '<img style="'.$style.' width: 160px; height:37px;" src="'.$hupso_plugin_url.'/buttons/button160x37.png" alt="'.$alt.'"/>';
322
 
 
323
  $checked = 'checked="checked"';
324
  $current_button_size = get_option( 'hupso_button_size' , 'button100x23' );
325
  $button60_checked = '';
@@ -888,7 +890,7 @@ function hupso_admin_settings_show() {
888
  $checked = ' checked="checked" ';
889
  $hupso_page_url = get_option( 'hupso_page_url', '');
890
  ?>
891
- <input type="text" name="page_url" value="<?php echo $hupso_page_url;?>" onchange="hupso_create_code()" onmouseout="hupso_create_code()" size="50" /><br/><?php _e('Enter custom url that will always be used for sharing. You can enter your root website here (e.g.: http://www.example.com or http://example.blogspot.com, so counters will show statistics for your whole website, not for each page individually.', 'hupso'); ?><br/><?php _e('Leave this blank to use url of current page for sharing. [Default]', 'hupso'); ?>
892
  </td>
893
  </tr>
894
 
2
  /*
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, Tumblr, Pinterest, 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: 3.9.17
7
  Author: kasal
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
 
14
  global $HUPSO_VERSION;
15
+ $HUPSO_VERSION = '3.9.17';
16
 
17
  $hupso_dev = '';
18
  $hupso_state = 'normal';
61
  add_action( 'wp_head', 'hupso_set_facebook_thumbnail', 1 );
62
 
63
  $hupso_all_services = array(
64
+ 'Twitter', 'Facebook', 'Google Plus', 'Pinterest', 'Linkedin', 'Tumblr', 'StumbleUpon', 'Digg', 'Reddit', 'Bebo', 'Delicious', 'Email', 'Print'
65
  );
66
  $hupso_default_services = array(
67
  'Twitter', 'Facebook', 'Google Plus', 'Pinterest', 'Linkedin', 'StumbleUpon', 'Digg', 'Reddit', 'Bebo', 'Delicious'
142
  delete_option( 'hupso_googleplus' );
143
  delete_option( 'hupso_pinterest' );
144
  delete_option( 'hupso_linkedin' );
145
+ delete_option( 'hupso_tumblr' );
146
  delete_option( 'hupso_stumbleupon' );
147
  delete_option( 'hupso_digg' );
148
  delete_option( 'hupso_reddit' );
261
  $hupso_language = __('English', 'hupso');
262
  $hupso_share_image = __('Share', 'hupso');
263
  $hupso_excerpts = __('Excerpts', 'hupso');
264
+
265
 
266
  if ( !current_user_can( 'manage_options' ) ) {
267
  wp_die( __( 'You do not have sufficient permissions to access this page.' , 'hupso') );
311
  $start = '<!-- Hupso Share Buttons - http://www.hupso.com/share/ -->';
312
  $end = '<!-- Hupso Share Buttons -->';
313
  $class_name = 'hupso_pop';
314
+ $alt = 'Share Button';
315
  $class_url = ' href="http://www.hupso.com/share/" ';
316
  $style = 'padding-left:5px; padding-top:5px; padding-bottom:5px; margin:0; border:0px;';
317
 
321
  $button_120_img = '<img style="'.$style.' width: 120px; height:28px;" src="'.$hupso_plugin_url.'/buttons/button120x28.png" alt="'.$alt.'"/>';
322
  $button_160_img = '<img style="'.$style.' width: 160px; height:37px;" src="'.$hupso_plugin_url.'/buttons/button160x37.png" alt="'.$alt.'"/>';
323
 
324
+
325
  $checked = 'checked="checked"';
326
  $current_button_size = get_option( 'hupso_button_size' , 'button100x23' );
327
  $button60_checked = '';
890
  $checked = ' checked="checked" ';
891
  $hupso_page_url = get_option( 'hupso_page_url', '');
892
  ?>
893
+ <input type="text" name="page_url" value="<?php echo $hupso_page_url;?>" onchange="hupso_create_code()" onmouseout="hupso_create_code()" size="50" /><br/><?php _e('Enter custom url that will always be used for sharing. You can enter your root website here (e.g.: http://www.example.com or http://example.blogspot.com), so counters will show statistics for your whole website, not for each page individually.', 'hupso'); ?><br/><?php _e('Leave this blank to use url of current page for sharing. [Default]', 'hupso'); ?>
894
  </td>
895
  </tr>
896