Version Description
- [Bugfix] Facebook login was not working for new users
- [Bugfix] Google login was not working with WP Mail SMTP plugin active in a few cases
- [Bugfix] PHP warning was being generated when using Linkedin login
- [Bugfix] AMP validation error was being generated with AMPforWP plugin because of the "super-socializer-no-counts" attribute
- [Improvement] Whatsapp sharing is now compatible with Whatsapp web app
Download this release
Release Info
Developer | the_champ |
Plugin | WordPress Social Share, Social Login and Social Comments Plugin – Super Socializer |
Version | 7.11.11 |
Comparing to | |
See all releases |
Code changes from version 7.11.10 to 7.11.11
- inc/shortcode.php +2 -2
- inc/social_login.php +1 -1
- inc/social_sharing.php +3 -3
- inc/social_sharing_networks.php +4 -4
- inc/widget.php +3 -3
- js/front/combined.js +2 -2
- js/front/sharing/sharing.js +2 -2
- library/Google/Auth/Exception.php +1 -1
- readme.txt +16 -2
- super_socializer.php +5 -4
inc/shortcode.php
CHANGED
@@ -64,7 +64,7 @@ function the_champ_sharing_shortcode($params){
|
|
64 |
}
|
65 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($targetUrl);
|
66 |
$cachedShareCount = heateor_ss_get_cached_share_count($shareCountTransientId);
|
67 |
-
$html = '<div class="the_champ_sharing_container the_champ_'.$type.'_sharing' . ( $type == 'vertical' && isset( $theChampSharingOptions['hide_mobile_sharing'] ) ? ' the_champ_hide_sharing' : '' ) . ( $type == 'vertical' && isset( $theChampSharingOptions['bottom_mobile_sharing'] ) ? ' the_champ_bottom_sharing' : '' ) . '" ss-offset="' . $alignmentOffset . '" ' . ( the_champ_is_amp_page() ? '' : 'super-socializer-data-href="' . $targetUrl . '"' ) . ( $cachedShareCount === false ? "" : 'super-socializer-no-counts="1" ' );
|
68 |
$verticalOffsets = '';
|
69 |
if($type == 'vertical'){
|
70 |
$verticalOffsets = $align . ': '.$$align.'px; top: '.$top.'px;width:' . ((isset($theChampSharingOptions['vertical_sharing_size']) ? $theChampSharingOptions['vertical_sharing_size'] : '35') + 4) . "px;";
|
@@ -142,7 +142,7 @@ function the_champ_counter_shortcode($params){
|
|
142 |
$alignmentOffset = $right;
|
143 |
}
|
144 |
global $theChampCounterOptions;
|
145 |
-
$html = '<div class="the_champ_counter_container the_champ_'.$type.'_counter' . ( $type == 'vertical' && isset( $theChampCounterOptions['hide_mobile_likeb'] ) ? ' the_champ_hide_sharing' : '' ) . '" ss-offset="' . $alignmentOffset . '" ';
|
146 |
$verticalOffsets = '';
|
147 |
if($type == 'vertical'){
|
148 |
$verticalOffsets = $align . ': '.$$align.'px; top: '.$top.'px;';
|
64 |
}
|
65 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($targetUrl);
|
66 |
$cachedShareCount = heateor_ss_get_cached_share_count($shareCountTransientId);
|
67 |
+
$html = '<div class="the_champ_sharing_container the_champ_'.$type.'_sharing' . ( $type == 'vertical' && isset( $theChampSharingOptions['hide_mobile_sharing'] ) ? ' the_champ_hide_sharing' : '' ) . ( $type == 'vertical' && isset( $theChampSharingOptions['bottom_mobile_sharing'] ) ? ' the_champ_bottom_sharing' : '' ) . '" ' . ( the_champ_is_amp_page() ? '' : 'ss-offset="' . $alignmentOffset . '" ' ) . ( the_champ_is_amp_page() ? '' : 'super-socializer-data-href="' . $targetUrl . '"' ) . ( $cachedShareCount === false || the_champ_is_amp_page() ? "" : 'super-socializer-no-counts="1" ' );
|
68 |
$verticalOffsets = '';
|
69 |
if($type == 'vertical'){
|
70 |
$verticalOffsets = $align . ': '.$$align.'px; top: '.$top.'px;width:' . ((isset($theChampSharingOptions['vertical_sharing_size']) ? $theChampSharingOptions['vertical_sharing_size'] : '35') + 4) . "px;";
|
142 |
$alignmentOffset = $right;
|
143 |
}
|
144 |
global $theChampCounterOptions;
|
145 |
+
$html = '<div class="the_champ_counter_container the_champ_'.$type.'_counter' . ( $type == 'vertical' && isset( $theChampCounterOptions['hide_mobile_likeb'] ) ? ' the_champ_hide_sharing' : '' ) . '" ' . ( the_champ_is_amp_page() ? '' : 'ss-offset="' . $alignmentOffset . '" ' );
|
146 |
$verticalOffsets = '';
|
147 |
if($type == 'vertical'){
|
148 |
$verticalOffsets = $align . ': '.$$align.'px; top: '.$top.'px;';
|
inc/social_login.php
CHANGED
@@ -394,7 +394,7 @@ function the_champ_sanitize_profile_data($profileData, $provider){
|
|
394 |
$temp['first_name'] = isset($profileData['first_name']) ? $profileData['first_name'] : '';
|
395 |
$temp['last_name'] = isset($profileData['last_name']) ? $profileData['last_name'] : '';
|
396 |
$temp['bio'] = '';
|
397 |
-
$temp['link'] =
|
398 |
$temp['avatar'] = "//graph.facebook.com/" . $profileData['id'] . "/picture?type=square";
|
399 |
$temp['large_avatar'] = "//graph.facebook.com/" . $profileData['id'] . "/picture?type=large";
|
400 |
}elseif($provider == 'twitter'){
|
394 |
$temp['first_name'] = isset($profileData['first_name']) ? $profileData['first_name'] : '';
|
395 |
$temp['last_name'] = isset($profileData['last_name']) ? $profileData['last_name'] : '';
|
396 |
$temp['bio'] = '';
|
397 |
+
$temp['link'] = '';
|
398 |
$temp['avatar'] = "//graph.facebook.com/" . $profileData['id'] . "/picture?type=square";
|
399 |
$temp['large_avatar'] = "//graph.facebook.com/" . $profileData['id'] . "/picture?type=large";
|
400 |
}elseif($provider == 'twitter'){
|
inc/social_sharing.php
CHANGED
@@ -702,7 +702,7 @@ function the_champ_render_sharing($content){
|
|
702 |
$sharingTitleStyle = 'style="font-weight: bold;list-style: none;position: relative;left: 50%;"';
|
703 |
}
|
704 |
}
|
705 |
-
$horizontalDiv = "<div style='clear: both'></div><div ". $sharingContainerStyle ." class='the_champ_sharing_container the_champ_horizontal_sharing' " . ( the_champ_is_amp_page() ? '' : '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>";
|
706 |
if($sharingBpActivity){
|
707 |
echo $horizontalDiv;
|
708 |
}
|
@@ -768,7 +768,7 @@ function the_champ_render_sharing($content){
|
|
768 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
|
769 |
$sharingDiv = the_champ_prepare_sharing_html($sharingUrl, 'vertical', isset($theChampSharingOptions['vertical_counts']), isset($theChampSharingOptions['vertical_total_shares']), $shareCountTransientId);
|
770 |
$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;' : '');
|
771 |
-
$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="' . $postUrl . '"' ) . ( heateor_ss_get_cached_share_count( $shareCountTransientId ) === false ? "" : 'super-socializer-no-counts="1"' ) . ">".$sharingDiv."</div>";
|
772 |
// show vertical sharing
|
773 |
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']))) {
|
774 |
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') ) ){
|
@@ -788,7 +788,7 @@ function the_champ_render_sharing($content){
|
|
788 |
$sharingUrl = the_champ_generate_social_sharing_short_url($postUrl, 0);
|
789 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
|
790 |
$sharingDiv = the_champ_prepare_sharing_html($sharingUrl, 'vertical', isset($theChampSharingOptions['vertical_counts']), isset($theChampSharingOptions['vertical_total_shares']), $shareCountTransientId);
|
791 |
-
$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="' . $postUrl . '"' ) . ( heateor_ss_get_cached_share_count($shareCountTransientId) === false ? "" : 'super-socializer-no-counts="1"' ) . ">".$sharingDiv."</div>";
|
792 |
}
|
793 |
$content = $content.$verticalDiv;
|
794 |
$$var++;
|
702 |
$sharingTitleStyle = 'style="font-weight: bold;list-style: none;position: relative;left: 50%;"';
|
703 |
}
|
704 |
}
|
705 |
+
$horizontalDiv = "<div style='clear: both'></div><div ". $sharingContainerStyle ." class='the_champ_sharing_container the_champ_horizontal_sharing' " . ( the_champ_is_amp_page() ? '' : 'super-socializer-data-href="' . $postUrl . '"' ) . ( heateor_ss_get_cached_share_count($shareCountTransientId) === false || the_champ_is_amp_page() ? "" : 'super-socializer-no-counts="1"' ) . "><div class='the_champ_sharing_title' ". $sharingTitleStyle ." >".ucfirst($theChampSharingOptions['title'])."</div>".$sharingDiv."</div><div style='clear: both'></div>";
|
706 |
if($sharingBpActivity){
|
707 |
echo $horizontalDiv;
|
708 |
}
|
768 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
|
769 |
$sharingDiv = the_champ_prepare_sharing_html($sharingUrl, 'vertical', isset($theChampSharingOptions['vertical_counts']), isset($theChampSharingOptions['vertical_total_shares']), $shareCountTransientId);
|
770 |
$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;' : '');
|
771 |
+
$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="' . $postUrl . '"' ) . ( heateor_ss_get_cached_share_count( $shareCountTransientId ) === false || the_champ_is_amp_page() ? "" : 'super-socializer-no-counts="1"' ) . ">".$sharingDiv."</div>";
|
772 |
// show vertical sharing
|
773 |
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']))) {
|
774 |
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') ) ){
|
788 |
$sharingUrl = the_champ_generate_social_sharing_short_url($postUrl, 0);
|
789 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($postUrl);
|
790 |
$sharingDiv = the_champ_prepare_sharing_html($sharingUrl, 'vertical', isset($theChampSharingOptions['vertical_counts']), isset($theChampSharingOptions['vertical_total_shares']), $shareCountTransientId);
|
791 |
+
$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="' . $postUrl . '"' ) . ( heateor_ss_get_cached_share_count($shareCountTransientId) === false || the_champ_is_amp_page() ? "" : 'super-socializer-no-counts="1"' ) . ">".$sharingDiv."</div>";
|
792 |
}
|
793 |
$content = $content.$verticalDiv;
|
794 |
$$var++;
|
inc/social_sharing_networks.php
CHANGED
@@ -36,7 +36,7 @@ function heateor_ss_fetch_sharing_networks(){
|
|
36 |
'vkontakte' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://vkontakte.ru/share.php?&url=%encoded_post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
37 |
'pinterest' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick="javascript:void((function() {var e=document.createElement(\'script\' );e.setAttribute(\'type\',\'text/javascript\' );e.setAttribute(\'charset\',\'UTF-8\' );e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e)})());"><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
38 |
'xing' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://www.xing-share.com/social_plugins/share?url=%encoded_post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
39 |
-
'whatsapp' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background"><a href="whatsapp
|
40 |
'instagram' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background"><a href="https://www.instagram.com/'. ($theChampSharingOptions['instagram_username'] != '' ? $theChampSharingOptions['instagram_username'] : $theChampSharingOptions['vertical_instagram_username']) .'" target="_blank"><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></a></i></li>',
|
41 |
'yummly' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://www.yummly.com/urb/verify?url=%encoded_post_url%&title=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
42 |
'buffer' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://buffer.com/add?url=%encoded_post_url%&title=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
@@ -84,7 +84,7 @@ function heateor_ss_fetch_sharing_networks(){
|
|
84 |
'Known' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://withknown.com/share/?url=%encoded_post_url%&title=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
85 |
'Line' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background"><a href="line://msg/text/%post_title%! %encoded_post_url%"><ss style="display:block" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></a></i></li>',
|
86 |
'LiveJournal' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://www.livejournal.com/update.bml?subject=%post_title%&event=%encoded_post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
87 |
-
'Mail.Ru' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("
|
88 |
'Mendeley' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://www.mendeley.com/sign-in/")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
89 |
'Meneame' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://www.meneame.net/submit.php?url=%encoded_post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
90 |
'Mixi' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://mixi.jp/share.pl?mode=login&u=%encoded_post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
@@ -174,7 +174,7 @@ function heateor_ss_fetch_amp_sharing_networks(){
|
|
174 |
'vkontakte' => '<a class="heateor_ss_amp heateor_ss_amp_vkontakte" href="http://vkontakte.ru/share.php?&url=%encoded_post_url%" title="Vkontakte" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/vkontakte.svg" width="%width%" height="%height%" alt="Vkontakte" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
175 |
'pinterest' => '<a class="heateor_ss_amp heateor_ss_amp_pinterest" href="javascript:void( (function() {var e=document.createElement(\'script\' );e.setAttribute(\'type\',\'text/javascript\' );e.setAttribute(\'charset\',\'UTF-8\' );e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e)})());" title="Pinterest" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/pinterest.svg" width="%width%" height="%height%" alt="Pinterest" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
176 |
'xing' => '<a class="heateor_ss_amp heateor_ss_amp_xing" href="https://www.xing-share.com/social_plugins/share?url=%encoded_post_url%" title="Xing" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/xing.svg" width="%width%" height="%height%" alt="Xing" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
177 |
-
'whatsapp' => '<a class="heateor_ss_amp heateor_ss_amp_whatsapp" href="whatsapp
|
178 |
'instagram' => '<a class="heateor_ss_amp heateor_ss_amp_instagram" href="https://www.instagram.com/'. ($theChampSharingOptions['instagram_username'] != '' ? $theChampSharingOptions['instagram_username'] : $theChampSharingOptions['vertical_instagram_username']) .'" title="Instagram" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/instagram.svg" width="%width%" height="%height%" alt="Instagram" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
179 |
'yummly' => '<a class="heateor_ss_amp heateor_ss_amp_yummly" href="http://www.yummly.com/urb/verify?url=%encoded_post_url%&title=%post_title%" title="Yummly" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/yummly.svg" width="%width%" height="%height%" alt="Yummly" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
180 |
'buffer' => '<a class="heateor_ss_amp heateor_ss_amp_buffer" href="https://buffer.com/add?url=%encoded_post_url%&title=%post_title%" title="Buffer" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/buffer.svg" width="%width%" height="%height%" alt="Buffer" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
@@ -221,7 +221,7 @@ function heateor_ss_fetch_amp_sharing_networks(){
|
|
221 |
'Known' => '<a class="heateor_ss_amp heateor_ss_amp_known" href="https://withknown.com/share/?url=%encoded_post_url%&title=%post_title%" title="Known" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/known.svg" width="%width%" height="%height%" alt="Known" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
222 |
'Line' => '<a class="heateor_ss_amp heateor_ss_amp_line" href="line://msg/text/%post_title%! %encoded_post_url%" title="Line" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/line.svg" width="%width%" height="%height%" alt="Line" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
223 |
'LiveJournal' => '<a class="heateor_ss_amp heateor_ss_amp_livejournal" href="http://www.livejournal.com/update.bml?subject=%post_title%&event=%encoded_post_url%" title="LiveJournal" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/livejournal.svg" width="%width%" height="%height%" alt="LiveJournal" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
224 |
-
'Mail.Ru' => '<a class="heateor_ss_amp heateor_ss_amp_mail_ru" href="
|
225 |
'Mendeley' => '<a class="heateor_ss_amp heateor_ss_amp_mendeley" href="https://www.mendeley.com/sign-in/" title="Mendeley" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/mendeley.svg" width="%width%" height="%height%" alt="Mendeley" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
226 |
'Meneame' => '<a class="heateor_ss_amp heateor_ss_amp_meneame" href="https://www.meneame.net/submit.php?url=%encoded_post_url%" title="Meneame" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/meneame.svg" width="%width%" height="%height%" alt="Meneame" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
227 |
'Mixi' => '<a class="heateor_ss_amp heateor_ss_amp_mixi" href="https://mixi.jp/share.pl?mode=login&u=%encoded_post_url%" title="Mixi" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/mixi.svg" width="%width%" height="%height%" alt="Mixi" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
36 |
'vkontakte' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://vkontakte.ru/share.php?&url=%encoded_post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
37 |
'pinterest' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick="javascript:void((function() {var e=document.createElement(\'script\' );e.setAttribute(\'type\',\'text/javascript\' );e.setAttribute(\'charset\',\'UTF-8\' );e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e)})());"><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
38 |
'xing' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://www.xing-share.com/social_plugins/share?url=%encoded_post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
39 |
+
'whatsapp' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background"><a href="https://api.whatsapp.com/send?text=%post_title% %encoded_post_url%"><ss style="display:block" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></a></i></li>',
|
40 |
'instagram' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background"><a href="https://www.instagram.com/'. ($theChampSharingOptions['instagram_username'] != '' ? $theChampSharingOptions['instagram_username'] : $theChampSharingOptions['vertical_instagram_username']) .'" target="_blank"><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></a></i></li>',
|
41 |
'yummly' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://www.yummly.com/urb/verify?url=%encoded_post_url%&title=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
42 |
'buffer' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://buffer.com/add?url=%encoded_post_url%&title=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
84 |
'Known' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://withknown.com/share/?url=%encoded_post_url%&title=%post_title%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
85 |
'Line' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background"><a href="line://msg/text/%post_title%! %encoded_post_url%"><ss style="display:block" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></a></i></li>',
|
86 |
'LiveJournal' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("http://www.livejournal.com/update.bml?subject=%post_title%&event=%encoded_post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
87 |
+
'Mail.Ru' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://connect.mail.ru/share?share_url=%encoded_post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
88 |
'Mendeley' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://www.mendeley.com/sign-in/")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
89 |
'Meneame' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://www.meneame.net/submit.php?url=%encoded_post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
90 |
'Mixi' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="theChampSharing theChamp%ucfirst_network%Background" onclick=\'theChampPopup("https://mixi.jp/share.pl?mode=login&u=%encoded_post_url%")\'><ss style="%inner_style%" class="theChampSharingSvg theChamp%ucfirst_network%Svg"></ss></i></li>',
|
174 |
'vkontakte' => '<a class="heateor_ss_amp heateor_ss_amp_vkontakte" href="http://vkontakte.ru/share.php?&url=%encoded_post_url%" title="Vkontakte" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/vkontakte.svg" width="%width%" height="%height%" alt="Vkontakte" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
175 |
'pinterest' => '<a class="heateor_ss_amp heateor_ss_amp_pinterest" href="javascript:void( (function() {var e=document.createElement(\'script\' );e.setAttribute(\'type\',\'text/javascript\' );e.setAttribute(\'charset\',\'UTF-8\' );e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e)})());" title="Pinterest" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/pinterest.svg" width="%width%" height="%height%" alt="Pinterest" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
176 |
'xing' => '<a class="heateor_ss_amp heateor_ss_amp_xing" href="https://www.xing-share.com/social_plugins/share?url=%encoded_post_url%" title="Xing" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/xing.svg" width="%width%" height="%height%" alt="Xing" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
177 |
+
'whatsapp' => '<a class="heateor_ss_amp heateor_ss_amp_whatsapp" href="https://api.whatsapp.com/send?text=%post_title% %encoded_post_url%" title="Whatsapp" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/whatsapp.svg" width="%width%" height="%height%" alt="Whatsapp" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
178 |
'instagram' => '<a class="heateor_ss_amp heateor_ss_amp_instagram" href="https://www.instagram.com/'. ($theChampSharingOptions['instagram_username'] != '' ? $theChampSharingOptions['instagram_username'] : $theChampSharingOptions['vertical_instagram_username']) .'" title="Instagram" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/instagram.svg" width="%width%" height="%height%" alt="Instagram" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
179 |
'yummly' => '<a class="heateor_ss_amp heateor_ss_amp_yummly" href="http://www.yummly.com/urb/verify?url=%encoded_post_url%&title=%post_title%" title="Yummly" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/yummly.svg" width="%width%" height="%height%" alt="Yummly" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
180 |
'buffer' => '<a class="heateor_ss_amp heateor_ss_amp_buffer" href="https://buffer.com/add?url=%encoded_post_url%&title=%post_title%" title="Buffer" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/buffer.svg" width="%width%" height="%height%" alt="Buffer" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
221 |
'Known' => '<a class="heateor_ss_amp heateor_ss_amp_known" href="https://withknown.com/share/?url=%encoded_post_url%&title=%post_title%" title="Known" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/known.svg" width="%width%" height="%height%" alt="Known" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
222 |
'Line' => '<a class="heateor_ss_amp heateor_ss_amp_line" href="line://msg/text/%post_title%! %encoded_post_url%" title="Line" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/line.svg" width="%width%" height="%height%" alt="Line" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
223 |
'LiveJournal' => '<a class="heateor_ss_amp heateor_ss_amp_livejournal" href="http://www.livejournal.com/update.bml?subject=%post_title%&event=%encoded_post_url%" title="LiveJournal" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/livejournal.svg" width="%width%" height="%height%" alt="LiveJournal" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
224 |
+
'Mail.Ru' => '<a class="heateor_ss_amp heateor_ss_amp_mail_ru" href="https://connect.mail.ru/share?share_url=%encoded_post_url%" title="Mail.Ru" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/mail_ru.svg" width="%width%" height="%height%" alt="Mail.Ru" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
225 |
'Mendeley' => '<a class="heateor_ss_amp heateor_ss_amp_mendeley" href="https://www.mendeley.com/sign-in/" title="Mendeley" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/mendeley.svg" width="%width%" height="%height%" alt="Mendeley" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
226 |
'Meneame' => '<a class="heateor_ss_amp heateor_ss_amp_meneame" href="https://www.meneame.net/submit.php?url=%encoded_post_url%" title="Meneame" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/meneame.svg" width="%width%" height="%height%" alt="Meneame" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
227 |
'Mixi' => '<a class="heateor_ss_amp heateor_ss_amp_mixi" href="https://mixi.jp/share.pl?mode=login&u=%encoded_post_url%" title="Mixi" rel="nofollow noopener" target="_blank"><amp-img src="'. $ampIconPath .'/mixi.svg" width="%width%" height="%height%" alt="Mixi" class="amp-wp-enforced-sizes" style="width: %width%px;"></amp-img></a>',
|
inc/widget.php
CHANGED
@@ -157,7 +157,7 @@ class TheChampSharingWidget extends WP_Widget {
|
|
157 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($sharingUrl);
|
158 |
$cachedShareCount = heateor_ss_get_cached_share_count($shareCountTransientId);
|
159 |
|
160 |
-
echo "<div class='the_champ_sharing_container the_champ_horizontal_sharing' " . ( the_champ_is_amp_page() ? '' : 'super-socializer-data-href="' . $sharingUrl . '"' ) . ($cachedShareCount === false ? "" : "super-socializer-no-counts='1' ") .">";
|
161 |
|
162 |
echo $before_widget;
|
163 |
|
@@ -328,7 +328,7 @@ class TheChampVerticalSharingWidget extends WP_Widget {
|
|
328 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($sharingUrl);
|
329 |
$cachedShareCount = heateor_ss_get_cached_share_count($shareCountTransientId);
|
330 |
|
331 |
-
echo "<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' : '' ) . "' ss-offset='"
|
332 |
|
333 |
if(isset($theChampSharingOptions['use_shortlinks']) && function_exists('wp_get_shortlink')){
|
334 |
$sharingUrl = wp_get_shortlink();
|
@@ -654,7 +654,7 @@ class TheChampVerticalCounterWidget extends WP_Widget {
|
|
654 |
if(isset($instance['alignment']) && isset($instance[$instance['alignment'] . '_offset'])){
|
655 |
$ssOffset = $instance[$instance['alignment'] . '_offset'];
|
656 |
}
|
657 |
-
echo "<div class='the_champ_counter_container the_champ_vertical_counter" . ( isset( $theChampCounterOptions['hide_mobile_likeb'] ) ? ' the_champ_hide_sharing' : '' ) . "' ss-offset='". $ssOffset ."' style='".(isset($instance['alignment']) && $instance['alignment'] != '' && isset($instance[$instance['alignment'].'_offset']) ? $instance['alignment'].': '. ( $instance[$instance['alignment'].'_offset'] == '' ? 0 : $instance[$instance['alignment'].'_offset'] ) .'px;' : '').(isset($instance['top_offset']) ? 'top: '. ( $instance['top_offset'] == '' ? 0 : $instance['top_offset'] ) .'px;' : '') . (isset($instance['vertical_bg']) && $instance['vertical_bg'] != '' ? 'background-color: '.$instance['vertical_bg'] . ';' : '-webkit-box-shadow:none;box-shadow:none;') . "' >";
|
658 |
// if bit.ly integration enabled, generate bit.ly short url
|
659 |
$shortUrl = $counterUrl;
|
660 |
if(isset($theChampCounterOptions['use_shortlinks']) && function_exists('wp_get_shortlink')){
|
157 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($sharingUrl);
|
158 |
$cachedShareCount = heateor_ss_get_cached_share_count($shareCountTransientId);
|
159 |
|
160 |
+
echo "<div class='the_champ_sharing_container the_champ_horizontal_sharing' " . ( the_champ_is_amp_page() ? '' : 'super-socializer-data-href="' . $sharingUrl . '"' ) . ($cachedShareCount === false || the_champ_is_amp_page() ? "" : "super-socializer-no-counts='1' ") .">";
|
161 |
|
162 |
echo $before_widget;
|
163 |
|
328 |
$shareCountTransientId = heateor_ss_get_share_count_transient_id($sharingUrl);
|
329 |
$cachedShareCount = heateor_ss_get_cached_share_count($shareCountTransientId);
|
330 |
|
331 |
+
echo "<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' : '' ) . "' " . ( the_champ_is_amp_page() ? "" : "ss-offset='". $ssOffset ."' " ) . "style='width:" . ((isset($theChampSharingOptions['vertical_sharing_size']) ? $theChampSharingOptions['vertical_sharing_size'] : 35) + 4) . "px;".(isset($instance['alignment']) && $instance['alignment'] != '' && isset($instance[$instance['alignment'].'_offset']) ? $instance['alignment'].': '. ( $instance[$instance['alignment'].'_offset'] == '' ? 0 : $instance[$instance['alignment'].'_offset'] ) .'px;' : '').(isset($instance['top_offset']) ? 'top: '. ( $instance['top_offset'] == '' ? 0 : $instance['top_offset'] ) .'px;' : '') . (isset($instance['vertical_bg']) && $instance['vertical_bg'] != '' ? 'background-color: '.$instance['vertical_bg'] . ';' : '-webkit-box-shadow:none;box-shadow:none;') . "' " . ( the_champ_is_amp_page() ? '' : 'super-socializer-data-href="' . $sharingUrl . '"' ) . ($cachedShareCount === false || the_champ_is_amp_page() ? "" : "super-socializer-no-counts='1' ") .">";
|
332 |
|
333 |
if(isset($theChampSharingOptions['use_shortlinks']) && function_exists('wp_get_shortlink')){
|
334 |
$sharingUrl = wp_get_shortlink();
|
654 |
if(isset($instance['alignment']) && isset($instance[$instance['alignment'] . '_offset'])){
|
655 |
$ssOffset = $instance[$instance['alignment'] . '_offset'];
|
656 |
}
|
657 |
+
echo "<div class='the_champ_counter_container the_champ_vertical_counter" . ( isset( $theChampCounterOptions['hide_mobile_likeb'] ) ? ' the_champ_hide_sharing' : '' ) . "' " . ( the_champ_is_amp_page() ? "" : "ss-offset='". $ssOffset ."' " ) . "style='".(isset($instance['alignment']) && $instance['alignment'] != '' && isset($instance[$instance['alignment'].'_offset']) ? $instance['alignment'].': '. ( $instance[$instance['alignment'].'_offset'] == '' ? 0 : $instance[$instance['alignment'].'_offset'] ) .'px;' : '').(isset($instance['top_offset']) ? 'top: '. ( $instance['top_offset'] == '' ? 0 : $instance['top_offset'] ) .'px;' : '') . (isset($instance['vertical_bg']) && $instance['vertical_bg'] != '' ? 'background-color: '.$instance['vertical_bg'] . ';' : '-webkit-box-shadow:none;box-shadow:none;') . "' >";
|
658 |
// if bit.ly integration enabled, generate bit.ly short url
|
659 |
$shortUrl = $counterUrl;
|
660 |
if(isset($theChampCounterOptions['use_shortlinks']) && function_exists('wp_get_shortlink')){
|
js/front/combined.js
CHANGED
@@ -259,7 +259,7 @@ function theChampMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
|
|
259 |
whatsapp: {
|
260 |
title: "Whatsapp",
|
261 |
locale: "en-US",
|
262 |
-
redirect_url: "whatsapp
|
263 |
},
|
264 |
diigo: {
|
265 |
title: "Diigo",
|
@@ -480,7 +480,7 @@ function theChampMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
|
|
480 |
Mail_Ru: {
|
481 |
title: "Mail.Ru",
|
482 |
locale: "en-US",
|
483 |
-
redirect_url: "
|
484 |
},
|
485 |
Mendeley: {
|
486 |
title: "Mendeley",
|
259 |
whatsapp: {
|
260 |
title: "Whatsapp",
|
261 |
locale: "en-US",
|
262 |
+
redirect_url: "https://api.whatsapp.com/send?text=" + postTitle + " " + postUrl,
|
263 |
},
|
264 |
diigo: {
|
265 |
title: "Diigo",
|
480 |
Mail_Ru: {
|
481 |
title: "Mail.Ru",
|
482 |
locale: "en-US",
|
483 |
+
redirect_url: "https://connect.mail.ru/share?share_url=" + postUrl,
|
484 |
},
|
485 |
Mendeley: {
|
486 |
title: "Mendeley",
|
js/front/sharing/sharing.js
CHANGED
@@ -199,7 +199,7 @@ function theChampMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
|
|
199 |
whatsapp: {
|
200 |
title: "Whatsapp",
|
201 |
locale: "en-US",
|
202 |
-
redirect_url: "whatsapp
|
203 |
},
|
204 |
diigo: {
|
205 |
title: "Diigo",
|
@@ -420,7 +420,7 @@ function theChampMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
|
|
420 |
Mail_Ru: {
|
421 |
title: "Mail.Ru",
|
422 |
locale: "en-US",
|
423 |
-
redirect_url: "
|
424 |
},
|
425 |
Mendeley: {
|
426 |
title: "Mendeley",
|
199 |
whatsapp: {
|
200 |
title: "Whatsapp",
|
201 |
locale: "en-US",
|
202 |
+
redirect_url: "https://api.whatsapp.com/send?text=" + postTitle + " " + postUrl,
|
203 |
},
|
204 |
diigo: {
|
205 |
title: "Diigo",
|
420 |
Mail_Ru: {
|
421 |
title: "Mail.Ru",
|
422 |
locale: "en-US",
|
423 |
+
redirect_url: "https://connect.mail.ru/share?share_url=" + postUrl,
|
424 |
},
|
425 |
Mendeley: {
|
426 |
title: "Mendeley",
|
library/Google/Auth/Exception.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* limitations under the License.
|
16 |
*/
|
17 |
|
18 |
-
require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
|
19 |
|
20 |
class Google_Auth_Exception extends Google_Exception
|
21 |
{
|
15 |
* limitations under the License.
|
16 |
*/
|
17 |
|
18 |
+
//require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
|
19 |
|
20 |
class Google_Auth_Exception extends Google_Exception
|
21 |
{
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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: 4.9.5
|
7 |
-
Stable tag: 7.11.
|
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
|
@@ -209,6 +209,13 @@ Yes, we can help you with it. Just drop an email at support[ at ]heateor[ dot ]c
|
|
209 |
8. **Social Commenting**: Disqus Commenting selected
|
210 |
|
211 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
= 7.11.10 =
|
213 |
* [Improvement] Added filter to customize the redirection after social login
|
214 |
|
@@ -1517,4 +1524,11 @@ Yes, we can help you with it. Just drop an email at support[ at ]heateor[ dot ]c
|
|
1517 |
* [Improvement] Removed 'authenticate' filter from social login
|
1518 |
|
1519 |
= 7.11.10 =
|
1520 |
-
* [Improvement] Added filter to customize the redirection after social login
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 4.9.5
|
7 |
+
Stable tag: 7.11.11
|
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
|
209 |
8. **Social Commenting**: Disqus Commenting selected
|
210 |
|
211 |
== Changelog ==
|
212 |
+
= 7.11.11 =
|
213 |
+
* [Bugfix] Facebook login was not working for new users
|
214 |
+
* [Bugfix] Google login was not working with <a href="https://wordpress.org/plugins/wp-mail-smtp/" target="_blank">WP Mail SMTP</a> plugin active in a few cases
|
215 |
+
* [Bugfix] PHP warning was being generated when using Linkedin login
|
216 |
+
* [Bugfix] AMP validation error was being generated with <a href="https://wordpress.org/plugins/accelerated-mobile-pages/" target="_blank">AMPforWP</a> plugin because of the "super-socializer-no-counts" attribute
|
217 |
+
* [Improvement] Whatsapp sharing is now compatible with Whatsapp web app
|
218 |
+
|
219 |
= 7.11.10 =
|
220 |
* [Improvement] Added filter to customize the redirection after social login
|
221 |
|
1524 |
* [Improvement] Removed 'authenticate' filter from social login
|
1525 |
|
1526 |
= 7.11.10 =
|
1527 |
+
* [Improvement] Added filter to customize the redirection after social login
|
1528 |
+
|
1529 |
+
= 7.11.11 =
|
1530 |
+
* [Bugfix] Facebook login was not working for new users
|
1531 |
+
* [Bugfix] Google login was not working with <a href="https://wordpress.org/plugins/wp-mail-smtp/" target="_blank">WP Mail SMTP</a> plugin active in a few cases
|
1532 |
+
* [Bugfix] PHP warning was being generated when using Linkedin login
|
1533 |
+
* [Bugfix] AMP validation error was being generated with <a href="https://wordpress.org/plugins/accelerated-mobile-pages/" target="_blank">AMPforWP</a> plugin because of the "super-socializer-no-counts" attribute
|
1534 |
+
* [Improvement] Whatsapp sharing is now compatible with Whatsapp web app
|
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.11.
|
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.11.
|
15 |
|
16 |
require 'helper.php';
|
17 |
|
@@ -296,7 +296,7 @@ function the_champ_connect(){
|
|
296 |
}
|
297 |
}
|
298 |
$success = $linkedinClient->Finalize($success);
|
299 |
-
if(is_object($user) && isset($user->id)){
|
300 |
$profileData = the_champ_sanitize_profile_data((array)$user, 'linkedin');
|
301 |
if(isset($_GET['heateorMSEnabled'])){
|
302 |
$profileData['mc_subscribe'] = 1;
|
@@ -447,11 +447,12 @@ function the_champ_connect(){
|
|
447 |
require_once 'library/Google/Utils.php';
|
448 |
require_once 'library/Google/Http/Request.php';
|
449 |
require_once 'library/Google/Auth/Abstract.php';
|
|
|
|
|
450 |
require_once 'library/Google/Auth/OAuth2.php';
|
451 |
require_once 'library/Google/Http/CacheParser.php';
|
452 |
require_once 'library/Google/IO/Abstract.php';
|
453 |
require_once 'library/Google/Task/Retryable.php';
|
454 |
-
require_once 'library/Google/Exception.php';
|
455 |
require_once 'library/Google/IO/Exception.php';
|
456 |
require_once 'library/Google/IO/Curl.php';
|
457 |
require_once 'library/Google/Logger/Abstract.php';
|
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.11.11
|
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.11.11');
|
15 |
|
16 |
require 'helper.php';
|
17 |
|
296 |
}
|
297 |
}
|
298 |
$success = $linkedinClient->Finalize($success);
|
299 |
+
if(isset($user) && is_object($user) && isset($user->id)){
|
300 |
$profileData = the_champ_sanitize_profile_data((array)$user, 'linkedin');
|
301 |
if(isset($_GET['heateorMSEnabled'])){
|
302 |
$profileData['mc_subscribe'] = 1;
|
447 |
require_once 'library/Google/Utils.php';
|
448 |
require_once 'library/Google/Http/Request.php';
|
449 |
require_once 'library/Google/Auth/Abstract.php';
|
450 |
+
require_once 'library/Google/Exception.php';
|
451 |
+
require_once 'library/Google/Auth/Exception.php';
|
452 |
require_once 'library/Google/Auth/OAuth2.php';
|
453 |
require_once 'library/Google/Http/CacheParser.php';
|
454 |
require_once 'library/Google/IO/Abstract.php';
|
455 |
require_once 'library/Google/Task/Retryable.php';
|
|
|
456 |
require_once 'library/Google/IO/Exception.php';
|
457 |
require_once 'library/Google/IO/Curl.php';
|
458 |
require_once 'library/Google/Logger/Abstract.php';
|