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

Version Description

  • [Bugfix] '&' in post/page title was breaking the subject in email sharing
  • [Bugfix] "Social Share myCRED Integration" add-on was not logging points for sharing in few cases, when cached counts were being displayed
Download this release

Release Info

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

Code changes from version 7.5.5 to 7.5.6

inc/social_sharing.php CHANGED
@@ -556,7 +556,7 @@ function the_champ_render_sharing($content){
556
  $sharingTitleStyle = 'style="font-weight: bold;list-style: none;position: relative;left: 50%;"';
557
  }
558
  }
559
- $horizontalDiv = "<div style='clear: both'></div><div ". $sharingContainerStyle ." class='the_champ_sharing_container the_champ_horizontal_sharing' " . ( heateor_ss_get_cached_share_count($shareCountTransientId) === false ? "super-socializer-data-href='" . $postUrl . "'" : '' ) . "><div class='the_champ_sharing_title' ". $sharingTitleStyle ." >".ucfirst($theChampSharingOptions['title'])."</div>".$sharingDiv."</div><div style='clear: both'></div>";
560
  if($sharingBpActivity){
561
  echo $horizontalDiv;
562
  }
@@ -624,7 +624,7 @@ function the_champ_render_sharing($content){
624
  $shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
625
  $sharingDiv = the_champ_prepare_sharing_html($sharingUrl, 'vertical', isset($theChampSharingOptions['vertical_counts']), isset($theChampSharingOptions['vertical_total_shares']), $shareCountTransientId);
626
  $offset = (isset($theChampSharingOptions['alignment']) && $theChampSharingOptions['alignment'] != '' && isset($theChampSharingOptions[$theChampSharingOptions['alignment'].'_offset']) && $theChampSharingOptions[$theChampSharingOptions['alignment'].'_offset'] != '' ? $theChampSharingOptions['alignment'].': '.$theChampSharingOptions[$theChampSharingOptions['alignment'].'_offset'].'px;' : '').(isset($theChampSharingOptions['top_offset']) && $theChampSharingOptions['top_offset'] != '' ? 'top: '.$theChampSharingOptions['top_offset'].'px;' : '');
627
- $verticalDiv = "<div class='the_champ_sharing_container the_champ_vertical_sharing" . ( isset( $theChampSharingOptions['hide_mobile_sharing'] ) ? ' the_champ_hide_sharing' : '' ) . ( isset( $theChampSharingOptions['bottom_mobile_sharing'] ) ? ' the_champ_bottom_sharing' : '' ) . "' style='width:" . ($theChampSharingOptions['vertical_sharing_size'] + 4) . "px;" . $offset . (isset($theChampSharingOptions['vertical_bg']) && $theChampSharingOptions['vertical_bg'] != '' ? 'background-color: '.$theChampSharingOptions['vertical_bg'] : '-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;') . "' " . ( heateor_ss_get_cached_share_count( $shareCountTransientId ) === false ? "super-socializer-data-href='" . $postUrl . "'" : '' ) . ">".$sharingDiv."</div>";
628
  // show vertical sharing
629
  if((isset($theChampSharingOptions['vertical_home']) && is_front_page()) || (isset( $theChampSharingOptions['vertical_category']) && is_category()) || (isset( $theChampSharingOptions['vertical_archive']) && is_archive()) || ( isset( $theChampSharingOptions['vertical_post'] ) && is_single() && isset($post -> post_type) && $post -> post_type == 'post' ) || ( isset( $theChampSharingOptions['vertical_page'] ) && is_page() && isset($post -> post_type) && $post -> post_type == 'page' ) || ( isset( $theChampSharingOptions['vertical_excerpt'] ) && (is_home() || current_filter() == 'the_excerpt') ) || ( isset( $theChampSharingOptions['vertical_bb_forum'] ) && current_filter() == 'bbp_template_before_single_forum') || ( isset( $theChampSharingOptions['vertical_bb_topic'] ) && in_array(current_filter(), array('bbp_template_before_single_topic', 'bbp_template_before_lead_topic'))) || (current_filter() == 'bp_before_group_header' && isset($theChampSharingOptions['vertical_bp_group']))) {
630
  if( in_array( current_filter(), array('bbp_template_before_single_topic', 'bbp_template_before_lead_topic', 'bbp_template_before_single_forum', 'bp_before_group_header') ) ){
@@ -652,7 +652,7 @@ function the_champ_render_sharing($content){
652
  }
653
  $shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
654
  $sharingDiv = the_champ_prepare_sharing_html($sharingUrl, 'vertical', isset($theChampSharingOptions['vertical_counts']), isset($theChampSharingOptions['vertical_total_shares']), $shareCountTransientId);
655
- $verticalDiv = "<div class='the_champ_sharing_container the_champ_vertical_sharing" . ( isset( $theChampSharingOptions['hide_mobile_sharing'] ) ? ' the_champ_hide_sharing' : '' ) . ( isset( $theChampSharingOptions['bottom_mobile_sharing'] ) ? ' the_champ_bottom_sharing' : '' ) . "' style='width:" . ($theChampSharingOptions['vertical_sharing_size'] + 4) . "px;" . $offset . (isset($theChampSharingOptions['vertical_bg']) && $theChampSharingOptions['vertical_bg'] != '' ? 'background-color: '.$theChampSharingOptions['vertical_bg'] : '-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;') . "' " . ( heateor_ss_get_cached_share_count($shareCountTransientId) === false ? "super-socializer-data-href='" . $postUrl . "'" : '' ) . ">".$sharingDiv."</div>";
656
  }
657
  $content = $content.$verticalDiv;
658
  $$var++;
556
  $sharingTitleStyle = 'style="font-weight: bold;list-style: none;position: relative;left: 50%;"';
557
  }
558
  }
559
+ $horizontalDiv = "<div style='clear: both'></div><div ". $sharingContainerStyle ." class='the_champ_sharing_container the_champ_horizontal_sharing' super-socializer-data-href='" . $postUrl . "'" . ( heateor_ss_get_cached_share_count($shareCountTransientId) === false ? "" : 'super-socializer-no-counts="1"' ) . "><div class='the_champ_sharing_title' ". $sharingTitleStyle ." >".ucfirst($theChampSharingOptions['title'])."</div>".$sharingDiv."</div><div style='clear: both'></div>";
560
  if($sharingBpActivity){
561
  echo $horizontalDiv;
562
  }
624
  $shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
625
  $sharingDiv = the_champ_prepare_sharing_html($sharingUrl, 'vertical', isset($theChampSharingOptions['vertical_counts']), isset($theChampSharingOptions['vertical_total_shares']), $shareCountTransientId);
626
  $offset = (isset($theChampSharingOptions['alignment']) && $theChampSharingOptions['alignment'] != '' && isset($theChampSharingOptions[$theChampSharingOptions['alignment'].'_offset']) && $theChampSharingOptions[$theChampSharingOptions['alignment'].'_offset'] != '' ? $theChampSharingOptions['alignment'].': '.$theChampSharingOptions[$theChampSharingOptions['alignment'].'_offset'].'px;' : '').(isset($theChampSharingOptions['top_offset']) && $theChampSharingOptions['top_offset'] != '' ? 'top: '.$theChampSharingOptions['top_offset'].'px;' : '');
627
+ $verticalDiv = "<div class='the_champ_sharing_container the_champ_vertical_sharing" . ( isset( $theChampSharingOptions['hide_mobile_sharing'] ) ? ' the_champ_hide_sharing' : '' ) . ( isset( $theChampSharingOptions['bottom_mobile_sharing'] ) ? ' the_champ_bottom_sharing' : '' ) . "' style='width:" . ($theChampSharingOptions['vertical_sharing_size'] + 4) . "px;" . $offset . (isset($theChampSharingOptions['vertical_bg']) && $theChampSharingOptions['vertical_bg'] != '' ? 'background-color: '.$theChampSharingOptions['vertical_bg'] : '-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;') . "' super-socializer-data-href='" . $postUrl . "'" . ( heateor_ss_get_cached_share_count( $shareCountTransientId ) === false ? "" : 'super-socializer-no-counts="1"' ) . ">".$sharingDiv."</div>";
628
  // show vertical sharing
629
  if((isset($theChampSharingOptions['vertical_home']) && is_front_page()) || (isset( $theChampSharingOptions['vertical_category']) && is_category()) || (isset( $theChampSharingOptions['vertical_archive']) && is_archive()) || ( isset( $theChampSharingOptions['vertical_post'] ) && is_single() && isset($post -> post_type) && $post -> post_type == 'post' ) || ( isset( $theChampSharingOptions['vertical_page'] ) && is_page() && isset($post -> post_type) && $post -> post_type == 'page' ) || ( isset( $theChampSharingOptions['vertical_excerpt'] ) && (is_home() || current_filter() == 'the_excerpt') ) || ( isset( $theChampSharingOptions['vertical_bb_forum'] ) && current_filter() == 'bbp_template_before_single_forum') || ( isset( $theChampSharingOptions['vertical_bb_topic'] ) && in_array(current_filter(), array('bbp_template_before_single_topic', 'bbp_template_before_lead_topic'))) || (current_filter() == 'bp_before_group_header' && isset($theChampSharingOptions['vertical_bp_group']))) {
630
  if( in_array( current_filter(), array('bbp_template_before_single_topic', 'bbp_template_before_lead_topic', 'bbp_template_before_single_forum', 'bp_before_group_header') ) ){
652
  }
653
  $shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
654
  $sharingDiv = the_champ_prepare_sharing_html($sharingUrl, 'vertical', isset($theChampSharingOptions['vertical_counts']), isset($theChampSharingOptions['vertical_total_shares']), $shareCountTransientId);
655
+ $verticalDiv = "<div class='the_champ_sharing_container the_champ_vertical_sharing" . ( isset( $theChampSharingOptions['hide_mobile_sharing'] ) ? ' the_champ_hide_sharing' : '' ) . ( isset( $theChampSharingOptions['bottom_mobile_sharing'] ) ? ' the_champ_bottom_sharing' : '' ) . "' style='width:" . ($theChampSharingOptions['vertical_sharing_size'] + 4) . "px;" . $offset . (isset($theChampSharingOptions['vertical_bg']) && $theChampSharingOptions['vertical_bg'] != '' ? 'background-color: '.$theChampSharingOptions['vertical_bg'] : '-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;') . "' super-socializer-data-href='" . $postUrl . "'" . ( heateor_ss_get_cached_share_count($shareCountTransientId) === false ? "" : 'super-socializer-no-counts="1"' ) . ">".$sharingDiv."</div>";
656
  }
657
  $content = $content.$verticalDiv;
658
  $$var++;
inc/social_sharing_networks.php CHANGED
@@ -20,7 +20,7 @@ function fetch_sharing_networks(){
20
  'linkedin' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://www.linkedin.com/shareArticle?mini=true&url=%post_url%&title=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
21
  'google_plus' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://plus.google.com/share?url=%post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
22
  'print' => '<li class="%li_class%"><i %style% alt="Print" Title="Print" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'window.print()\'><ss style="display:block" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
23
- 'email' => '<li class="%li_class%"><i %style% alt="Email" Title="Email" class="theChampSharing theChamp%ucfirst_network%Background" onclick="window.location.href = \'mailto:?subject=\' + decodeURIComponent(\'%post_title%\' ) + \'&body=\' + decodeURIComponent(\'%post_url%\' )"><ss style="display:block" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
24
  'yahoo' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://bookmarks.yahoo.com/toolbar/SaveBM/?u=%post_url%&t=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
25
  'reddit' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://reddit.com/submit?url=%post_url%&title=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
26
  'digg' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://digg.com/submit?url=%post_url%&title=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
20
  'linkedin' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://www.linkedin.com/shareArticle?mini=true&url=%post_url%&title=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
21
  'google_plus' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://plus.google.com/share?url=%post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
22
  'print' => '<li class="%li_class%"><i %style% alt="Print" Title="Print" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'window.print()\'><ss style="display:block" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
23
+ 'email' => '<li class="%li_class%"><i %style% alt="Email" Title="Email" class="theChampSharing theChamp%ucfirst_network%Background" onclick="window.location.href = \'mailto:?subject=\' + decodeURIComponent(\'%post_title%\' ).replace(\'&\', \'%26\') + \'&body=\' + decodeURIComponent(\'%post_url%\' )"><ss style="display:block" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
24
  'yahoo' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://bookmarks.yahoo.com/toolbar/SaveBM/?u=%post_url%&t=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
25
  'reddit' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://reddit.com/submit?url=%post_url%&title=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
26
  'digg' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://digg.com/submit?url=%post_url%&title=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
js/front/combined.js CHANGED
@@ -561,10 +561,12 @@ function theChampFilterSharing(val) {
561
  function theChampGetSharingCounts(){
562
  var targetUrls = [];
563
  jQuery('.the_champ_sharing_container').each(function(){
564
- var currentTargetUrl = jQuery(this).attr('super-socializer-data-href');
565
- if(currentTargetUrl != null && jQuery.inArray(currentTargetUrl, heateorSsUrlCountFetched) == -1){
566
- targetUrls.push(currentTargetUrl);
567
- heateorSsUrlCountFetched.push(currentTargetUrl);
 
 
568
  }
569
  });
570
  if(targetUrls.length == 0){
561
  function theChampGetSharingCounts(){
562
  var targetUrls = [];
563
  jQuery('.the_champ_sharing_container').each(function(){
564
+ if(typeof jQuery(this).attr('super-socializer-no-counts') == 'undefined'){
565
+ var currentTargetUrl = jQuery(this).attr('super-socializer-data-href');
566
+ if(currentTargetUrl != null && jQuery.inArray(currentTargetUrl, heateorSsUrlCountFetched) == -1){
567
+ targetUrls.push(currentTargetUrl);
568
+ heateorSsUrlCountFetched.push(currentTargetUrl);
569
+ }
570
  }
571
  });
572
  if(targetUrls.length == 0){
js/front/sharing/sharing.js CHANGED
@@ -536,10 +536,12 @@ function theChampFilterSharing(val) {
536
  function theChampGetSharingCounts(){
537
  var targetUrls = [];
538
  jQuery('.the_champ_sharing_container').each(function(){
539
- var currentTargetUrl = jQuery(this).attr('super-socializer-data-href');
540
- if(currentTargetUrl != null && jQuery.inArray(currentTargetUrl, heateorSsUrlCountFetched) == -1){
541
- targetUrls.push(currentTargetUrl);
542
- heateorSsUrlCountFetched.push(currentTargetUrl);
 
 
543
  }
544
  });
545
  if(targetUrls.length == 0){
536
  function theChampGetSharingCounts(){
537
  var targetUrls = [];
538
  jQuery('.the_champ_sharing_container').each(function(){
539
+ if(typeof jQuery(this).attr('super-socializer-no-counts') == 'undefined'){
540
+ var currentTargetUrl = jQuery(this).attr('super-socializer-data-href');
541
+ if(currentTargetUrl != null && jQuery.inArray(currentTargetUrl, heateorSsUrlCountFetched) == -1){
542
+ targetUrls.push(currentTargetUrl);
543
+ heateorSsUrlCountFetched.push(currentTargetUrl);
544
+ }
545
  }
546
  });
547
  if(targetUrls.length == 0){
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Heateor, the_champ, Hungarian Translator: László Tavaszi http://
3
  Donate link: https://www.heateor.com/donate?action=Super+Socializer
4
  Tags: the champ, champ, social login, social sharing, social commenting, social comments, social plugin, buddypress, bbpress, social share, comments, share post, user profile data, social analytics, online identity, social profile storage, id provider, single sign-on, social media tools, free social login, post to social networks, social authentication, social app, connect, capture social data, social sign-in, signin, sign up, signup, social connect, facebook login, twitter login, google login, google+ login, linkedin login, yahoo, vkontakte, instagram, reddit, digg, stumbleupon, delicious, float it, tumblr, social network
5
  Requires at least: 2.5.0
6
- Tested up to: 4.4.2
7
- Stable tag: 7.5.5
8
  License: GPLv2 or later
9
 
10
  The unique Social Plugin to let you integrate Social Login, Social Share and Social Comments at your website
@@ -204,6 +204,10 @@ Yes, we can help you with it. Just drop an email at support@heateor.com
204
  8. **Social Commenting**: Disqus Commenting selected
205
 
206
  == Changelog ==
 
 
 
 
207
  = 7.5.5 =
208
  * [Bugfix] Sharing icons disappeared from some pages after updating plugin to previous version
209
  * [Improvement] Included WordPress filter 'authenticate' before logging in user
@@ -866,4 +870,8 @@ Yes, we can help you with it. Just drop an email at support@heateor.com
866
 
867
  = 7.5.5 =
868
  * [Bugfix] Sharing icons disappeared from some pages after updating plugin to previous version
869
- * [Improvement] Included WordPress filter 'authenticate' before logging in user
 
 
 
 
3
  Donate link: https://www.heateor.com/donate?action=Super+Socializer
4
  Tags: the champ, champ, social login, social sharing, social commenting, social comments, social plugin, buddypress, bbpress, social share, comments, share post, user profile data, social analytics, online identity, social profile storage, id provider, single sign-on, social media tools, free social login, post to social networks, social authentication, social app, connect, capture social data, social sign-in, signin, sign up, signup, social connect, facebook login, twitter login, google login, google+ login, linkedin login, yahoo, vkontakte, instagram, reddit, digg, stumbleupon, delicious, float it, tumblr, social network
5
  Requires at least: 2.5.0
6
+ Tested up to: 4.5
7
+ Stable tag: 7.5.6
8
  License: GPLv2 or later
9
 
10
  The unique Social Plugin to let you integrate Social Login, Social Share and Social Comments at your website
204
  8. **Social Commenting**: Disqus Commenting selected
205
 
206
  == Changelog ==
207
+ = 7.5.6 =
208
+ * [Bugfix] '&' in post/page title was breaking the subject in email sharing
209
+ * [Bugfix] "Social Share myCRED Integration" add-on was not logging points for sharing in few cases, when cached counts were being displayed
210
+
211
  = 7.5.5 =
212
  * [Bugfix] Sharing icons disappeared from some pages after updating plugin to previous version
213
  * [Improvement] Included WordPress filter 'authenticate' before logging in user
870
 
871
  = 7.5.5 =
872
  * [Bugfix] Sharing icons disappeared from some pages after updating plugin to previous version
873
+ * [Improvement] Included WordPress filter 'authenticate' before logging in user
874
+
875
+ = 7.5.6 =
876
+ * [Bugfix] '&' in post/page title was breaking the subject in email sharing
877
+ * [Bugfix] "Social Share myCRED Integration" add-on was not logging points for sharing in few cases, when cached counts were being displayed
super_socializer.php CHANGED
@@ -3,7 +3,7 @@
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: 7.5.5
7
  Author: Team Heateor
8
  Author URI: https://www.heateor.com
9
  Text Domain: Super-Socializer
@@ -11,7 +11,7 @@ Domain Path: /languages
11
  License: GPL2+
12
  */
13
  defined('ABSPATH') or die("Cheating........Uh!!");
14
- define('THE_CHAMP_SS_VERSION', '7.5.5');
15
 
16
  $theChampLoginOptions = get_option('the_champ_login');
17
  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: 7.5.6
7
  Author: Team Heateor
8
  Author URI: https://www.heateor.com
9
  Text Domain: Super-Socializer
11
  License: GPL2+
12
  */
13
  defined('ABSPATH') or die("Cheating........Uh!!");
14
+ define('THE_CHAMP_SS_VERSION', '7.5.6');
15
 
16
  $theChampLoginOptions = get_option('the_champ_login');
17
  if(isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers'])){