WordPress Social Share, Social Login and Social Comments Plugin – Super Socializer - Version 5.0.2

Version Description

  • [Bugfix] Sharing icons were not being displayed in admin and front-end, with some themes, on updating the plugin
Download this release

Release Info

Developer the_champ
Plugin Icon 128x128 WordPress Social Share, Social Login and Social Comments Plugin – Super Socializer
Version 5.0.2
Comparing to
See all releases

Code changes from version 5.0.1 to 5.0.2

Files changed (4) hide show
  1. helper.php +12 -0
  2. inc/social_sharing.php +12 -0
  3. readme.txt +8 -2
  4. super_socializer.php +4 -8
helper.php CHANGED
@@ -68,6 +68,18 @@ function the_champ_social_login_page(){
68
  function the_champ_social_sharing_page(){
69
  // social sharing options
70
  global $theChampSharingOptions, $theChampIsBpActive;
 
 
 
 
 
 
 
 
 
 
 
 
71
  // message on saving options
72
  echo the_champ_settings_saved_notification();
73
  require 'admin/social_sharing.php';
68
  function the_champ_social_sharing_page(){
69
  // social sharing options
70
  global $theChampSharingOptions, $theChampIsBpActive;
71
+ if(!isset($theChampSharingOptions['horizontal_sharing_size'])){
72
+ $theChampSharingOptions['horizontal_sharing_size'] = 30;
73
+ }
74
+ if(!isset($theChampSharingOptions['horizontal_sharing_shape'])){
75
+ $theChampSharingOptions['horizontal_sharing_shape'] = 'round';
76
+ }
77
+ if(!isset($theChampSharingOptions['vertical_sharing_size'])){
78
+ $theChampSharingOptions['vertical_sharing_size'] = 35;
79
+ }
80
+ if(!isset($theChampSharingOptions['vertical_sharing_shape'])){
81
+ $theChampSharingOptions['vertical_sharing_shape'] = 'square';
82
+ }
83
  // message on saving options
84
  echo the_champ_settings_saved_notification();
85
  require 'admin/social_sharing.php';
inc/social_sharing.php CHANGED
@@ -10,6 +10,18 @@ defined('ABSPATH') or die("Cheating........Uh!!");
10
  function the_champ_prepare_sharing_html($postUrl, $sharingType = 'horizontal', $displayCount){
11
  global $theChampSharingOptions, $post;
12
  $postUrl = (isset($theChampSharingOptions['use_shortlink']) && function_exists('wp_get_shortlink')) ? wp_get_shortlink() : $postUrl;
 
 
 
 
 
 
 
 
 
 
 
 
13
  $output = apply_filters('the_champ_sharing_interface_filter', '', $postUrl, $sharingType, $theChampSharingOptions, $post, $displayCount);
14
  if($output != ''){
15
  return $output;
10
  function the_champ_prepare_sharing_html($postUrl, $sharingType = 'horizontal', $displayCount){
11
  global $theChampSharingOptions, $post;
12
  $postUrl = (isset($theChampSharingOptions['use_shortlink']) && function_exists('wp_get_shortlink')) ? wp_get_shortlink() : $postUrl;
13
+ if(!isset($theChampSharingOptions['horizontal_sharing_size'])){
14
+ $theChampSharingOptions['horizontal_sharing_size'] = 30;
15
+ }
16
+ if(!isset($theChampSharingOptions['horizontal_sharing_shape'])){
17
+ $theChampSharingOptions['horizontal_sharing_shape'] = 'round';
18
+ }
19
+ if(!isset($theChampSharingOptions['vertical_sharing_size'])){
20
+ $theChampSharingOptions['vertical_sharing_size'] = 35;
21
+ }
22
+ if(!isset($theChampSharingOptions['vertical_sharing_shape'])){
23
+ $theChampSharingOptions['vertical_sharing_shape'] = 'square';
24
+ }
25
  $output = apply_filters('the_champ_sharing_interface_filter', '', $postUrl, $sharingType, $theChampSharingOptions, $post, $displayCount);
26
  if($output != ''){
27
  return $output;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: hello@heateor.com
4
  Tags: super socializer, thechamp, champ, social login, social sharing, social commenting, wordpress plugin, buddypress, bbpress, social share, feed, multisite, comments, share post, openid integration, user profile data, social analytics, online identity, social profile storage, id provider, single sign-on, plug-in, social media tools, free social login, post to social networks, social authentication, social app, connect, capture social data, wordpress, social sign-in, signin, sign up, signup, social plugins, social connect, facebook, twitter, google, google+, googleplus, google plus, linkedin, yahoo, vkontakte, instagram, reddit, digg, stumbleupon, delicious, float it, tumblr, widget, social network
5
  Requires at least: 2.5.0
6
  Tested up to: 4.2.2
7
- Stable tag: 5.0.1
8
  License: GPLv2 or later
9
 
10
  A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing and more
@@ -164,6 +164,9 @@ Yes, I can help you with it. Just drop me an email at lordofthechamps@gmail.com
164
  7. **Social Counter**: Horizontal Interface
165
 
166
  == Changelog ==
 
 
 
167
  = 5.0.1 =
168
  * [Bugfix] Social Commenting was breaking layout of some themes
169
 
@@ -466,4 +469,7 @@ Yes, I can help you with it. Just drop me an email at lordofthechamps@gmail.com
466
  * [Bugfix] Cached short urls were not being removed on deletion of plugin
467
 
468
  = 5.0.1 =
469
- * [Bugfix] Social Commenting was breaking layout of some themes
 
 
 
4
  Tags: super socializer, thechamp, champ, social login, social sharing, social commenting, wordpress plugin, buddypress, bbpress, social share, feed, multisite, comments, share post, openid integration, user profile data, social analytics, online identity, social profile storage, id provider, single sign-on, plug-in, social media tools, free social login, post to social networks, social authentication, social app, connect, capture social data, wordpress, social sign-in, signin, sign up, signup, social plugins, social connect, facebook, twitter, google, google+, googleplus, google plus, linkedin, yahoo, vkontakte, instagram, reddit, digg, stumbleupon, delicious, float it, tumblr, widget, social network
5
  Requires at least: 2.5.0
6
  Tested up to: 4.2.2
7
+ Stable tag: 5.0.2
8
  License: GPLv2 or later
9
 
10
  A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing and more
164
  7. **Social Counter**: Horizontal Interface
165
 
166
  == Changelog ==
167
+ = 5.0.2 =
168
+ * [Bugfix] Sharing icons were not being displayed in admin and front-end, with some themes, on updating the plugin
169
+
170
  = 5.0.1 =
171
  * [Bugfix] Social Commenting was breaking layout of some themes
172
 
469
  * [Bugfix] Cached short urls were not being removed on deletion of plugin
470
 
471
  = 5.0.1 =
472
+ * [Bugfix] Social Commenting was breaking layout of some themes
473
+
474
+ = 5.0.2 =
475
+ * [Bugfix] Sharing icons were not being displayed in admin and front-end, with some themes, on updating the plugin
super_socializer.php CHANGED
@@ -3,13 +3,13 @@
3
  Plugin Name: Super Socializer
4
  Plugin URI: http://super-socializer-wordpress.heateor.com
5
  Description: A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing and more.
6
- Version: 5.0.1
7
  Author: Heateor Team
8
  Author URI: http://www.heateor.com
9
  License: GPL2+
10
  */
11
  defined('ABSPATH') or die("Cheating........Uh!!");
12
- define('THE_CHAMP_SS_VERSION', '5.0.1');
13
 
14
  $theChampLoginOptions = get_option('the_champ_login');
15
  if(isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers'])){
@@ -430,7 +430,7 @@ function the_champ_frontend_scripts(){
430
  wp_enqueue_script('the_champ_sl_facebook', plugins_url('js/front/social_login/facebook.js', __FILE__), array('jquery'), THE_CHAMP_SS_VERSION, $inFooter);
431
  }
432
  // Social commenting
433
- if(the_champ_social_commenting_enabled() && !is_front_page()){
434
  global $post;
435
  if(isset($theChampFacebookOptions['urlToComment']) && $theChampFacebookOptions['urlToComment'] != ''){
436
  $commentUrl = $theChampFacebookOptions['urlToComment'];
@@ -629,12 +629,8 @@ function the_champ_default_options(){
629
  'horizontal_more' => 1,
630
  ))){
631
  $theChampTmpSharingOptions = get_option('the_champ_sharing');
632
- $theChampTmpSharingOptions['horizontal_sharing_shape'] = 'round';
633
- $theChampTmpSharingOptions['horizontal_sharing_size'] = 30;
634
- $theChampTmpSharingOptions['vertical_sharing_shape'] = 'square';
635
- $theChampTmpSharingOptions['vertical_sharing_size'] = 35;
636
  $theChampTmpSharingOptions['vertical_more'] = 1;
637
- $theChampTmpSharingOptions['horizontal_more'] = 1;
638
  update_option('the_champ_sharing', $theChampTmpSharingOptions);
639
  }
640
 
3
  Plugin Name: Super Socializer
4
  Plugin URI: http://super-socializer-wordpress.heateor.com
5
  Description: A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing and more.
6
+ Version: 5.0.2
7
  Author: Heateor Team
8
  Author URI: http://www.heateor.com
9
  License: GPL2+
10
  */
11
  defined('ABSPATH') or die("Cheating........Uh!!");
12
+ define('THE_CHAMP_SS_VERSION', '5.0.2');
13
 
14
  $theChampLoginOptions = get_option('the_champ_login');
15
  if(isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers'])){
430
  wp_enqueue_script('the_champ_sl_facebook', plugins_url('js/front/social_login/facebook.js', __FILE__), array('jquery'), THE_CHAMP_SS_VERSION, $inFooter);
431
  }
432
  // Social commenting
433
+ if(the_champ_social_commenting_enabled()){
434
  global $post;
435
  if(isset($theChampFacebookOptions['urlToComment']) && $theChampFacebookOptions['urlToComment'] != ''){
436
  $commentUrl = $theChampFacebookOptions['urlToComment'];
629
  'horizontal_more' => 1,
630
  ))){
631
  $theChampTmpSharingOptions = get_option('the_champ_sharing');
632
+ $theChampTmpSharingOptions['horizontal_more'] = 1;
 
 
 
633
  $theChampTmpSharingOptions['vertical_more'] = 1;
 
634
  update_option('the_champ_sharing', $theChampTmpSharingOptions);
635
  }
636