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

Version Description

  • [Bugfix] Double sharing icons were appearing at front-end
Download this release

Release Info

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

Code changes from version 5.0.2 to 5.1.2

inc/social_sharing.php CHANGED
@@ -36,16 +36,16 @@ function the_champ_prepare_sharing_html($postUrl, $sharingType = 'horizontal', $
36
  $style = 'style="width:' . $theChampSharingOptions[$sharingType . '_sharing_size'] . 'px;height:' . $theChampSharingOptions[$sharingType . '_sharing_size'] . 'px;';
37
  $counterContainerInitHtml = '<span class="the_champ_share_count';
38
  $counterContainerEndHtml = '</span>';
39
- $deliciousRadius = '';
40
  $liClass = 'theChampSharingRound';
41
  if($theChampSharingOptions[$sharingType . '_sharing_shape'] == 'round'){
42
  $style .= 'border-radius:999px;';
43
- $deliciousRadius = 'style="border-radius:999px;"';
44
  }
45
  if($sharingType == 'vertical' && $theChampSharingOptions[$sharingType . '_sharing_shape'] == 'square'){
46
  $style .= 'margin:0;';
47
- $counterContainerInitHtml = '<div class="the_champ_square_count';
48
- $counterContainerEndHtml = '</div>';
49
  $liClass = '';
50
  }
51
  $style .= '"';
@@ -56,9 +56,9 @@ function the_champ_prepare_sharing_html($postUrl, $sharingType = 'horizontal', $
56
  $html .= $counterContainerInitHtml . ' the_champ_'.$provider.'_count" '. ($startingCount ? 'ss_st_count="'. $sharingMeta[$provider . '_' . $sharingType . '_count'] .'"' : '') .' >&nbsp;' . $counterContainerEndHtml;
57
  }
58
  if($provider == 'print'){
59
- $html .= '<i ' .$style. ' alt="Print" Title="Print" class="theChampSharing theChamp'. ucfirst($provider) .'Background" onclick=\'window.print()\'><div class="theChampSharingSvg theChamp'. ucfirst($provider) .'Svg"></div></i>';
60
  }elseif($provider == 'email'){
61
- $html .= '<i ' .$style. ' alt="Email" Title="Email" class="theChampSharing theChamp'. ucfirst($provider) .'Background" onclick="window.location.href = \'mailto:?subject=\' + escape(\''. urlencode($post->post_title) .'\') + \'&body=\' + escape(\''.$postUrl.'\')"><div class="theChampSharingSvg theChamp'. ucfirst($provider) .'Svg"></div></i>';
62
  }else{
63
  if($provider == 'facebook'){
64
  $sharingUrl = 'https://www.facebook.com/sharer/sharer.php?u=' . $postUrl;
@@ -93,9 +93,9 @@ function the_champ_prepare_sharing_html($postUrl, $sharingType = 'horizontal', $
93
  }
94
  $html .= '<i ' .$style. ' alt="'.($provider == 'google' ? 'Google Plus' : ucfirst($provider)).'" Title="'.($provider == 'google' ? 'Google Plus' : ucfirst($provider)).'" class="theChampSharing theChamp'. ucfirst( str_replace(' ', '', $provider) ) .'Background" ';
95
  if($provider == 'pinterest'){
96
- $html .= 'onclick="'.$sharingUrl.'"><div class="theChampSharingSvg theChamp'. ucfirst($provider) .'Svg"></div></i>';
97
  }else{
98
- $html .= 'onclick=\' theChampPopup("'.$sharingUrl.'")\'><div ' . $deliciousRadius . ' class="theChampSharingSvg theChamp'. ucfirst( str_replace(' ', '', $provider) ) .'Svg"></div></i>';
99
  }
100
  }
101
  $html .= '</li>';
@@ -105,7 +105,7 @@ function the_champ_prepare_sharing_html($postUrl, $sharingType = 'horizontal', $
105
  if($displayCount){
106
  $html .= $counterContainerInitHtml . '">&nbsp;' . $counterContainerEndHtml;
107
  }
108
- $html .= '<i ' .$style. ' title="More" alt="More" class="theChampSharing theChampMoreBackground" onclick="theChampMoreSharingPopup(this, \''.$postUrl.'\', \''.urlencode($post->post_title).'\')" ><div class="theChampSharingSvg theChampMoreSvg"></div></i></li>';
109
  }
110
  $html .= '</ul><div style="clear:both"></div>';
111
  }
36
  $style = 'style="width:' . $theChampSharingOptions[$sharingType . '_sharing_size'] . 'px;height:' . $theChampSharingOptions[$sharingType . '_sharing_size'] . 'px;';
37
  $counterContainerInitHtml = '<span class="the_champ_share_count';
38
  $counterContainerEndHtml = '</span>';
39
+ $innerStyle = 'display:block;';
40
  $liClass = 'theChampSharingRound';
41
  if($theChampSharingOptions[$sharingType . '_sharing_shape'] == 'round'){
42
  $style .= 'border-radius:999px;';
43
+ $innerStyle .= 'border-radius:999px;';
44
  }
45
  if($sharingType == 'vertical' && $theChampSharingOptions[$sharingType . '_sharing_shape'] == 'square'){
46
  $style .= 'margin:0;';
47
+ $counterContainerInitHtml = '<ss class="the_champ_square_count';
48
+ $counterContainerEndHtml = '</ss>';
49
  $liClass = '';
50
  }
51
  $style .= '"';
56
  $html .= $counterContainerInitHtml . ' the_champ_'.$provider.'_count" '. ($startingCount ? 'ss_st_count="'. $sharingMeta[$provider . '_' . $sharingType . '_count'] .'"' : '') .' >&nbsp;' . $counterContainerEndHtml;
57
  }
58
  if($provider == 'print'){
59
+ $html .= '<i ' .$style. ' alt="Print" Title="Print" class="theChampSharing theChamp'. ucfirst($provider) .'Background" onclick=\'window.print()\'><ss style="display:block" class="theChampSharingSvg theChamp'. ucfirst($provider) .'Svg"></ss></i>';
60
  }elseif($provider == 'email'){
61
+ $html .= '<i ' .$style. ' alt="Email" Title="Email" class="theChampSharing theChamp'. ucfirst($provider) .'Background" onclick="window.location.href = \'mailto:?subject=\' + escape(\''. urlencode($post->post_title) .'\') + \'&body=\' + escape(\''.$postUrl.'\')"><ss style="display:block" class="theChampSharingSvg theChamp'. ucfirst($provider) .'Svg"></ss></i>';
62
  }else{
63
  if($provider == 'facebook'){
64
  $sharingUrl = 'https://www.facebook.com/sharer/sharer.php?u=' . $postUrl;
93
  }
94
  $html .= '<i ' .$style. ' alt="'.($provider == 'google' ? 'Google Plus' : ucfirst($provider)).'" Title="'.($provider == 'google' ? 'Google Plus' : ucfirst($provider)).'" class="theChampSharing theChamp'. ucfirst( str_replace(' ', '', $provider) ) .'Background" ';
95
  if($provider == 'pinterest'){
96
+ $html .= 'onclick="'.$sharingUrl.'"><ss style="display:block" class="theChampSharingSvg theChamp'. ucfirst($provider) .'Svg"></ss></i>';
97
  }else{
98
+ $html .= 'onclick=\' theChampPopup("'.$sharingUrl.'")\'><ss style="'. $innerStyle .'" class="theChampSharingSvg theChamp'. ucfirst( str_replace(' ', '', $provider) ) .'Svg"></ss></i>';
99
  }
100
  }
101
  $html .= '</li>';
105
  if($displayCount){
106
  $html .= $counterContainerInitHtml . '">&nbsp;' . $counterContainerEndHtml;
107
  }
108
+ $html .= '<i ' .$style. ' title="More" alt="More" class="theChampSharing theChampMoreBackground" onclick="theChampMoreSharingPopup(this, \''.$postUrl.'\', \''.urlencode($post->post_title).'\')" ><ss style="display:block" class="theChampSharingSvg theChampMoreSvg"></ss></i></li>';
109
  }
110
  $html .= '</ul><div style="clear:both"></div>';
111
  }
js/front/facebook/commenting.js CHANGED
@@ -41,7 +41,8 @@ function theChampRenderFBCommenting() {
41
  }
42
  commentingHtml += '</div>';
43
  t.innerHTML = commentingHtml;
44
- document.getElementById("reply-title").remove();
 
45
  for(var i = 0; i < theChampScEnabledTabs.length; i++){
46
  if(scripts[theChampScEnabledTabs[i]]){
47
  var script = document.createElement('script');
41
  }
42
  commentingHtml += '</div>';
43
  t.innerHTML = commentingHtml;
44
+ var replyTitle = document.getElementById("reply-title");
45
+ if(replyTitle){ replyTitle.remove(); }
46
  for(var i = 0; i < theChampScEnabledTabs.length; i++){
47
  if(scripts[theChampScEnabledTabs[i]]){
48
  var script = document.createElement('script');
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.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
@@ -74,12 +74,11 @@ Below is more detail about the features:
74
  = Important links =
75
  * Plugin Demo: http://super-socializer-wordpress.heateor.com
76
  * Plugin Facebook fan page: https://www.facebook.com/SocializerChamp
77
- * Blog: http://thechamplord.wordpress.com
78
- * My Facebook profile: https://www.facebook.com/thechamp.lord
79
- * My Facebook fan page: https://www.facebook.com/pages/The-Champ/196278200561984
80
- * My Twitter profile: https://twitter.com/l0rd_champ
81
 
82
- You can provide your feedback at lordofthechamps@gmail.com
83
 
84
  == Installation ==
85
 
@@ -164,6 +163,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.2 =
168
  * [Bugfix] Sharing icons were not being displayed in admin and front-end, with some themes, on updating the plugin
169
 
@@ -472,4 +474,7 @@ Yes, I can help you with it. Just drop me an email at lordofthechamps@gmail.com
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
 
 
 
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.1.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
74
  = Important links =
75
  * Plugin Demo: http://super-socializer-wordpress.heateor.com
76
  * Plugin Facebook fan page: https://www.facebook.com/SocializerChamp
77
+ * Our Facebook Page: https://www.facebook.com/heateor
78
+ * Our GooglePlus Page: https://plus.google.com/u/0/b/108269557664834008011/108269557664834008011/about
79
+ * Our Twitter Profile: https://twitter.com/heateor
 
80
 
81
+ You can provide your feedback at heateor@gmail.com
82
 
83
  == Installation ==
84
 
163
  7. **Social Counter**: Horizontal Interface
164
 
165
  == Changelog ==
166
+ = 5.1.2 =
167
+ * [Bugfix] Double sharing icons were appearing at front-end
168
+
169
  = 5.0.2 =
170
  * [Bugfix] Sharing icons were not being displayed in admin and front-end, with some themes, on updating the plugin
171
 
474
  * [Bugfix] Social Commenting was breaking layout of some themes
475
 
476
  = 5.0.2 =
477
+ * [Bugfix] Sharing icons were not being displayed in admin and front-end, with some themes, on updating the plugin
478
+
479
+ = 5.1.2 =
480
+ * [Bugfix] Double sharing icons were appearing at front-end
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.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'])){
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.1.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.1.2');
13
 
14
  $theChampLoginOptions = get_option('the_champ_login');
15
  if(isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers'])){