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

Version Description

  • [Bugfix] Option to update social avatar were appearing at user profile page, even if Social Login was disabled
Download this release

Release Info

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

Code changes from version 7.7.2 to 7.7.3

Files changed (2) hide show
  1. readme.txt +9 -3
  2. super_socializer.php +27 -25
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.5.2
7
- Stable tag: 7.7.2
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,9 @@ 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.7.2 =
208
  * [Bugfix] Title specified in Social Login Shortcode was appearing for logged in users too, at front-end
209
 
@@ -944,4 +947,7 @@ Yes, we can help you with it. Just drop an email at support@heateor.com
944
  * [Bugfix] Fixed PHP warnings being generated when Social Login widget was enabled
945
 
946
  = 7.7.2 =
947
- * [Bugfix] Title specified in Social Login Shortcode was appearing for logged in users too, at front-end
 
 
 
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.6
7
+ Stable tag: 7.7.3
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.7.3 =
208
+ * [Bugfix] Option to update social avatar were appearing at user profile page, even if Social Login was disabled
209
+
210
  = 7.7.2 =
211
  * [Bugfix] Title specified in Social Login Shortcode was appearing for logged in users too, at front-end
212
 
947
  * [Bugfix] Fixed PHP warnings being generated when Social Login widget was enabled
948
 
949
  = 7.7.2 =
950
+ * [Bugfix] Title specified in Social Login Shortcode was appearing for logged in users too, at front-end
951
+
952
+ = 7.7.3 =
953
+ * [Bugfix] Option to update social avatar were appearing at user profile page, even if Social Login was disabled
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.7.2
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.7.2');
15
 
16
  $theChampLoginOptions = get_option('the_champ_login');
17
  if(isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers'])){
@@ -873,29 +873,31 @@ function the_champ_fb_root_div(){
873
  }
874
 
875
  function the_champ_show_avatar_option( $user ) {
876
- global $user_ID;
877
- $dontUpdateAvatar = get_user_meta($user_ID, 'thechamp_dontupdate_avatar', true);
878
- ?>
879
- <h3><?php _e( 'Super Socializer - Social Avatar', 'Super-Socializer' ) ?></h3>
880
- <table class="form-table">
881
- <tr>
882
- <th><label for="ss_small_avatar"><?php _e( 'Small Avatar Url', 'Super-Socializer' ) ?></label></th>
883
- <td><input id="ss_small_avatar" type="text" name="the_champ_small_avatar" value="<?php echo esc_attr(get_user_meta( $user->ID, 'thechamp_avatar', true )); ?>" class="regular-text" /></td>
884
- </tr>
885
- <tr>
886
- <th><label for="ss_large_avatar"><?php _e( 'Large Avatar Url', 'Super-Socializer' ) ?></label></th>
887
- <td><input id="ss_large_avatar" type="text" name="the_champ_large_avatar" value="<?php echo esc_attr(get_user_meta( $user->ID, 'thechamp_large_avatar', true )); ?>" class="regular-text" /></td>
888
- </tr>
889
- <tr>
890
- <th><label for="ss_dontupdate_avatar_1"><?php _e( 'Do not fetch and update social avatar from my profile, next time I Social Login', 'Super-Socializer' ) ?></label></th>
891
- <td><input id="ss_dontupdate_avatar_1" style="margin-right:5px" type="radio" name="ss_dontupdate_avatar" value="1" <?php echo $dontUpdateAvatar ? 'checked' : '' ?> /></td>
892
- </tr>
893
- <tr>
894
- <th><label for="ss_dontupdate_avatar_0"><?php _e( 'Update social avatar, next time I Social Login', 'Super-Socializer' ) ?></label></th>
895
- <td><input id="ss_dontupdate_avatar_0" style="margin-right:5px" type="radio" name="ss_dontupdate_avatar" value="0" <?php echo ! $dontUpdateAvatar ? 'checked' : '' ?> /></td>
896
- </tr>
897
- </table>
898
- <?php
 
 
899
  }
900
  add_action( 'edit_user_profile', 'the_champ_show_avatar_option' );
901
  add_action( 'show_user_profile', 'the_champ_show_avatar_option' );
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.7.3
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.7.3');
15
 
16
  $theChampLoginOptions = get_option('the_champ_login');
17
  if(isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers'])){
873
  }
874
 
875
  function the_champ_show_avatar_option( $user ) {
876
+ global $user_ID, $theChampLoginOptions;
877
+ if ( isset( $theChampLoginOptions['enable'] ) ) {
878
+ $dontUpdateAvatar = get_user_meta($user_ID, 'thechamp_dontupdate_avatar', true);
879
+ ?>
880
+ <h3><?php _e( 'Super Socializer - Social Avatar', 'Super-Socializer' ) ?></h3>
881
+ <table class="form-table">
882
+ <tr>
883
+ <th><label for="ss_small_avatar"><?php _e( 'Small Avatar Url', 'Super-Socializer' ) ?></label></th>
884
+ <td><input id="ss_small_avatar" type="text" name="the_champ_small_avatar" value="<?php echo esc_attr(get_user_meta( $user->ID, 'thechamp_avatar', true )); ?>" class="regular-text" /></td>
885
+ </tr>
886
+ <tr>
887
+ <th><label for="ss_large_avatar"><?php _e( 'Large Avatar Url', 'Super-Socializer' ) ?></label></th>
888
+ <td><input id="ss_large_avatar" type="text" name="the_champ_large_avatar" value="<?php echo esc_attr(get_user_meta( $user->ID, 'thechamp_large_avatar', true )); ?>" class="regular-text" /></td>
889
+ </tr>
890
+ <tr>
891
+ <th><label for="ss_dontupdate_avatar_1"><?php _e( 'Do not fetch and update social avatar from my profile, next time I Social Login', 'Super-Socializer' ) ?></label></th>
892
+ <td><input id="ss_dontupdate_avatar_1" style="margin-right:5px" type="radio" name="ss_dontupdate_avatar" value="1" <?php echo $dontUpdateAvatar ? 'checked' : '' ?> /></td>
893
+ </tr>
894
+ <tr>
895
+ <th><label for="ss_dontupdate_avatar_0"><?php _e( 'Update social avatar, next time I Social Login', 'Super-Socializer' ) ?></label></th>
896
+ <td><input id="ss_dontupdate_avatar_0" style="margin-right:5px" type="radio" name="ss_dontupdate_avatar" value="0" <?php echo ! $dontUpdateAvatar ? 'checked' : '' ?> /></td>
897
+ </tr>
898
+ </table>
899
+ <?php
900
+ }
901
  }
902
  add_action( 'edit_user_profile', 'the_champ_show_avatar_option' );
903
  add_action( 'show_user_profile', 'the_champ_show_avatar_option' );