Version Description
[16 October 2019] = * [Bugfix] Querystring Parameters in the url of webpage were resetting the Facebook Like and Facebook Recommend counts to zero * [Bugfix] Admin was not receiving new user notification email with Woocommerce active
Download this release
Release Info
Developer | the_champ |
Plugin | WordPress Social Share, Social Login and Social Comments Plugin – Super Socializer |
Version | 7.12.36 |
Comparing to | |
See all releases |
Code changes from version 7.12.35 to 7.12.36
- inc/shortcode.php +1 -1
- inc/social_login.php +4 -3
- inc/social_sharing.php +5 -5
- inc/widget.php +2 -2
- readme.txt +14 -5
- super_socializer.php +2 -2
inc/shortcode.php
CHANGED
@@ -93,7 +93,7 @@ function the_champ_sharing_shortcode($params){
|
|
93 |
if($type == 'horizontal' && $title != ''){
|
94 |
$html .= '<div style="font-weight:bold" class="the_champ_sharing_title">' . ucfirst($title) . '</div>';
|
95 |
}
|
96 |
-
$html .= the_champ_prepare_sharing_html($shortUrl == '' ? $targetUrl : $shortUrl, $type, $count, $total_shares == 'ON' ? 1 : 0, $shareCountTransientId);
|
97 |
$html .= '</div>';
|
98 |
if(($count || $total_shares == 'ON') && $cachedShareCount === false){
|
99 |
$html .= '<script>theChampLoadEvent(function(){theChampCallAjax(function(){theChampGetSharingCounts();});});</script>';
|
93 |
if($type == 'horizontal' && $title != ''){
|
94 |
$html .= '<div style="font-weight:bold" class="the_champ_sharing_title">' . ucfirst($title) . '</div>';
|
95 |
}
|
96 |
+
$html .= the_champ_prepare_sharing_html($shortUrl == '' ? $targetUrl : $shortUrl, $shareCountUrl, $type, $count, $total_shares == 'ON' ? 1 : 0, $shareCountTransientId);
|
97 |
$html .= '</div>';
|
98 |
if(($count || $total_shares == 'ON') && $cachedShareCount === false){
|
99 |
$html .= '<script>theChampLoadEvent(function(){theChampCallAjax(function(){theChampGetSharingCounts();});});</script>';
|
inc/social_login.php
CHANGED
@@ -833,9 +833,10 @@ function heateor_ss_new_user_notification($userId){
|
|
833 |
}
|
834 |
if($notificationType){
|
835 |
if(class_exists('WC_Emails')){
|
836 |
-
$
|
837 |
-
|
838 |
-
|
|
|
839 |
wp_new_user_notification($userId, null, $notificationType);
|
840 |
}
|
841 |
}
|
833 |
}
|
834 |
if($notificationType){
|
835 |
if(class_exists('WC_Emails')){
|
836 |
+
if ($notificationType == 'both') {
|
837 |
+
$wc_emails = WC_Emails::instance();
|
838 |
+
$wc_emails->customer_new_account($userId);
|
839 |
+
}
|
840 |
wp_new_user_notification($userId, null, $notificationType);
|
841 |
}
|
842 |
}
|
inc/social_sharing.php
CHANGED
@@ -7,7 +7,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
7 |
/**
|
8 |
* Render sharing interface html
|
9 |
*/
|
10 |
-
function the_champ_prepare_sharing_html( $postUrl, $sharingType = 'horizontal', $displayCount, $totalShares, $shareCountTransientId, $standardWidget = false ) {
|
11 |
|
12 |
global $post, $theChampSharingOptions;
|
13 |
|
@@ -199,7 +199,7 @@ function the_champ_prepare_sharing_html( $postUrl, $sharingType = 'horizontal',
|
|
199 |
ucfirst( str_replace( array( ' ', '_', '.' ), '', $provider ) ),
|
200 |
$likeButtonCountContainer,
|
201 |
urlencode( $postUrl ),
|
202 |
-
$
|
203 |
$postTitle,
|
204 |
$wpseoPostTitle,
|
205 |
$decodedPostTitle,
|
@@ -725,7 +725,7 @@ function the_champ_render_sharing($content){
|
|
725 |
$sharingUrl = the_champ_generate_social_sharing_short_url($postUrl, $postId);
|
726 |
|
727 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
|
728 |
-
$sharingDiv = the_champ_prepare_sharing_html($sharingUrl, 'horizontal', isset($theChampSharingOptions['horizontal_counts']), isset($theChampSharingOptions['horizontal_total_shares']), $shareCountTransientId);
|
729 |
$sharingContainerStyle = '';
|
730 |
$sharingTitleStyle = 'style="font-weight:bold"';
|
731 |
if(isset($theChampSharingOptions['hor_sharing_alignment'])){
|
@@ -810,7 +810,7 @@ function the_champ_render_sharing($content){
|
|
810 |
$sharingUrl = the_champ_generate_social_sharing_short_url($postUrl, $postId);
|
811 |
|
812 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
|
813 |
-
$sharingDiv = the_champ_prepare_sharing_html($sharingUrl, 'vertical', isset($theChampSharingOptions['vertical_counts']), isset($theChampSharingOptions['vertical_total_shares']), $shareCountTransientId);
|
814 |
$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;' : '');
|
815 |
$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;box-shadow:none;') . "' " . ( the_champ_is_amp_page() ? '' : 'super-socializer-data-href="' . (isset($shareCountUrl) && $shareCountUrl ? $shareCountUrl : $postUrl) . '"' ) . ( heateor_ss_get_cached_share_count( $shareCountTransientId ) === false || the_champ_is_amp_page() ? "" : 'super-socializer-no-counts="1"' ) . ">".$sharingDiv."</div>";
|
816 |
// show vertical sharing
|
@@ -835,7 +835,7 @@ function the_champ_render_sharing($content){
|
|
835 |
}
|
836 |
$sharingUrl = the_champ_generate_social_sharing_short_url($postUrl, 0);
|
837 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
|
838 |
-
$sharingDiv = the_champ_prepare_sharing_html($sharingUrl, 'vertical', isset($theChampSharingOptions['vertical_counts']), isset($theChampSharingOptions['vertical_total_shares']), $shareCountTransientId);
|
839 |
$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;box-shadow:none;') . "' " . ( the_champ_is_amp_page() ? '' : 'super-socializer-data-href="' . (isset($shareCountUrl) && $shareCountUrl ? $shareCountUrl : $postUrl) . '"' ) . ( heateor_ss_get_cached_share_count($shareCountTransientId) === false || the_champ_is_amp_page() ? "" : 'super-socializer-no-counts="1"' ) . ">".$sharingDiv."</div>";
|
840 |
}
|
841 |
$content = $content.$verticalDiv;
|
7 |
/**
|
8 |
* Render sharing interface html
|
9 |
*/
|
10 |
+
function the_champ_prepare_sharing_html( $postUrl, $shareCountUrl, $sharingType = 'horizontal', $displayCount, $totalShares, $shareCountTransientId, $standardWidget = false ) {
|
11 |
|
12 |
global $post, $theChampSharingOptions;
|
13 |
|
199 |
ucfirst( str_replace( array( ' ', '_', '.' ), '', $provider ) ),
|
200 |
$likeButtonCountContainer,
|
201 |
urlencode( $postUrl ),
|
202 |
+
$shareCountUrl,
|
203 |
$postTitle,
|
204 |
$wpseoPostTitle,
|
205 |
$decodedPostTitle,
|
725 |
$sharingUrl = the_champ_generate_social_sharing_short_url($postUrl, $postId);
|
726 |
|
727 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
|
728 |
+
$sharingDiv = the_champ_prepare_sharing_html($sharingUrl, $shareCountUrl, 'horizontal', isset($theChampSharingOptions['horizontal_counts']), isset($theChampSharingOptions['horizontal_total_shares']), $shareCountTransientId);
|
729 |
$sharingContainerStyle = '';
|
730 |
$sharingTitleStyle = 'style="font-weight:bold"';
|
731 |
if(isset($theChampSharingOptions['hor_sharing_alignment'])){
|
810 |
$sharingUrl = the_champ_generate_social_sharing_short_url($postUrl, $postId);
|
811 |
|
812 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
|
813 |
+
$sharingDiv = the_champ_prepare_sharing_html($sharingUrl, $shareCountUrl, 'vertical', isset($theChampSharingOptions['vertical_counts']), isset($theChampSharingOptions['vertical_total_shares']), $shareCountTransientId);
|
814 |
$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;' : '');
|
815 |
$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;box-shadow:none;') . "' " . ( the_champ_is_amp_page() ? '' : 'super-socializer-data-href="' . (isset($shareCountUrl) && $shareCountUrl ? $shareCountUrl : $postUrl) . '"' ) . ( heateor_ss_get_cached_share_count( $shareCountTransientId ) === false || the_champ_is_amp_page() ? "" : 'super-socializer-no-counts="1"' ) . ">".$sharingDiv."</div>";
|
816 |
// show vertical sharing
|
835 |
}
|
836 |
$sharingUrl = the_champ_generate_social_sharing_short_url($postUrl, 0);
|
837 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
|
838 |
+
$sharingDiv = the_champ_prepare_sharing_html($sharingUrl, $shareCountUrl, 'vertical', isset($theChampSharingOptions['vertical_counts']), isset($theChampSharingOptions['vertical_total_shares']), $shareCountTransientId);
|
839 |
$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;box-shadow:none;') . "' " . ( the_champ_is_amp_page() ? '' : 'super-socializer-data-href="' . (isset($shareCountUrl) && $shareCountUrl ? $shareCountUrl : $postUrl) . '"' ) . ( heateor_ss_get_cached_share_count($shareCountTransientId) === false || the_champ_is_amp_page() ? "" : 'super-socializer-no-counts="1"' ) . ">".$sharingDiv."</div>";
|
840 |
}
|
841 |
$content = $content.$verticalDiv;
|
inc/widget.php
CHANGED
@@ -190,7 +190,7 @@ class TheChampSharingWidget extends WP_Widget {
|
|
190 |
$sharingUrl = $shortUrl;
|
191 |
}
|
192 |
}
|
193 |
-
echo the_champ_prepare_sharing_html($sharingUrl, 'horizontal', isset($instance['show_counts']), isset($instance['total_shares']), $shareCountTransientId, !is_singular() ? true : false);
|
194 |
|
195 |
if( !empty( $instance['after_widget_content'] ) ){
|
196 |
echo '<div>' . $instance['after_widget_content'] . '</div>';
|
@@ -364,7 +364,7 @@ class TheChampVerticalSharingWidget extends WP_Widget {
|
|
364 |
}
|
365 |
}
|
366 |
//echo $before_widget;
|
367 |
-
echo the_champ_prepare_sharing_html($sharingUrl, 'vertical', isset($instance['show_counts']), isset($instance['total_shares']), $shareCountTransientId);
|
368 |
echo '</div>';
|
369 |
if((isset($instance['show_counts']) || isset($instance['total_shares'])) && $cachedShareCount == false){
|
370 |
echo '<script>theChampLoadEvent(
|
190 |
$sharingUrl = $shortUrl;
|
191 |
}
|
192 |
}
|
193 |
+
echo the_champ_prepare_sharing_html($sharingUrl, $shareCountUrl, 'horizontal', isset($instance['show_counts']), isset($instance['total_shares']), $shareCountTransientId, !is_singular() ? true : false);
|
194 |
|
195 |
if( !empty( $instance['after_widget_content'] ) ){
|
196 |
echo '<div>' . $instance['after_widget_content'] . '</div>';
|
364 |
}
|
365 |
}
|
366 |
//echo $before_widget;
|
367 |
+
echo the_champ_prepare_sharing_html($sharingUrl, $shareCountUrl, 'vertical', isset($instance['show_counts']), isset($instance['total_shares']), $shareCountTransientId);
|
368 |
echo '</div>';
|
369 |
if((isset($instance['show_counts']) || isset($instance['total_shares'])) && $cachedShareCount == false){
|
370 |
echo '<script>theChampLoadEvent(
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Heateor, farhan8heateor, jatin8heateor, the_champ, Hungarian Trans
|
|
3 |
Donate link: https://www.heateor.com/donate?action=Super+Socializer
|
4 |
Tags: social login, social share, social commenting, social comments, social plugin, profile data, social analytics, online identity, social profile storage, single sign-on, social media follow, facebook login, Twitch login
|
5 |
Requires at least: 2.5.0
|
6 |
-
Tested up to: 5.2.
|
7 |
-
Stable tag: 7.12.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
The unique Social Plugin to let you integrate Social Login, Social Share, Social Comments and Social Media follow at your website
|
@@ -14,8 +14,9 @@ Integrate Social Login, Social Share and Social Comments at your website easiest
|
|
14 |
|
15 |
**Note:**
|
16 |
1. Plugin will not work on local server. You should have an online website for the plugin to function properly.
|
17 |
-
2. If you want to integrate only Facebook
|
18 |
-
3. If you want to integrate only
|
|
|
19 |
|
20 |
= Feature list =
|
21 |
* GDPR Compliant
|
@@ -210,6 +211,10 @@ Yes, we can help you with it. Just drop an email at support[ at ]heateor[ dot ]c
|
|
210 |
8. **Social Commenting**: Disqus Commenting selected
|
211 |
|
212 |
== Changelog ==
|
|
|
|
|
|
|
|
|
213 |
= 7.12.35 [25 September 2019] =
|
214 |
* [Bugfix] Twitch login stopped working
|
215 |
* [Security fix] Twitch login was not checking if user's email has been verified on Twitch
|
@@ -1960,4 +1965,8 @@ Yes, we can help you with it. Just drop an email at support[ at ]heateor[ dot ]c
|
|
1960 |
|
1961 |
= 7.12.35 [25 September 2019] =
|
1962 |
* [Bugfix] Twitch login stopped working
|
1963 |
-
* [Security fix] Twitch login was not checking if user's email has been verified on Twitch
|
|
|
|
|
|
|
|
3 |
Donate link: https://www.heateor.com/donate?action=Super+Socializer
|
4 |
Tags: social login, social share, social commenting, social comments, social plugin, profile data, social analytics, online identity, social profile storage, single sign-on, social media follow, facebook login, Twitch login
|
5 |
Requires at least: 2.5.0
|
6 |
+
Tested up to: 5.2.4
|
7 |
+
Stable tag: 7.12.36
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
The unique Social Plugin to let you integrate Social Login, Social Share, Social Comments and Social Media follow at your website
|
14 |
|
15 |
**Note:**
|
16 |
1. Plugin will not work on local server. You should have an online website for the plugin to function properly.
|
17 |
+
2. If you want to integrate only Facebook Login button, you should install <a target="_blank" href="https://wordpress.org/plugins/heateor-login/">Heateor Login</a>
|
18 |
+
3. If you want to integrate only Facebook Comments, you should install <a target="_blank" href="https://wordpress.org/plugins/fancy-facebook-comments/">Fancy Comments</a>
|
19 |
+
4. If you want to integrate only Social Share, you should install <a target="_blank" href="https://wordpress.org/plugins/sassy-social-share">Sassy Social Share</a>
|
20 |
|
21 |
= Feature list =
|
22 |
* GDPR Compliant
|
211 |
8. **Social Commenting**: Disqus Commenting selected
|
212 |
|
213 |
== Changelog ==
|
214 |
+
= 7.12.36 [16 October 2019] =
|
215 |
+
* [Bugfix] Querystring Parameters in the url of webpage were resetting the Facebook Like and Facebook Recommend counts to zero
|
216 |
+
* [Bugfix] Admin was not receiving new user notification email with Woocommerce active
|
217 |
+
|
218 |
= 7.12.35 [25 September 2019] =
|
219 |
* [Bugfix] Twitch login stopped working
|
220 |
* [Security fix] Twitch login was not checking if user's email has been verified on Twitch
|
1965 |
|
1966 |
= 7.12.35 [25 September 2019] =
|
1967 |
* [Bugfix] Twitch login stopped working
|
1968 |
+
* [Security fix] Twitch login was not checking if user's email has been verified on Twitch
|
1969 |
+
|
1970 |
+
= 7.12.36 [16 October 2019] =
|
1971 |
+
* [Bugfix] Querystring Parameters in the url of webpage were resetting the Facebook Like and Facebook Recommend counts to zero
|
1972 |
+
* [Bugfix] Admin was not receiving new user notification email with Woocommerce active
|
super_socializer.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Super Socializer
|
4 |
Plugin URI: https://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, Social Media follow and more
|
6 |
-
Version: 7.12.
|
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.12.
|
15 |
|
16 |
require 'helper.php';
|
17 |
|
3 |
Plugin Name: Super Socializer
|
4 |
Plugin URI: https://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, Social Media follow and more
|
6 |
+
Version: 7.12.36
|
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.12.36');
|
15 |
|
16 |
require 'helper.php';
|
17 |
|