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

Version Description

  • Performance improvements
Download this release

Release Info

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

Code changes from version 2.0.0 to 2.1.0

admin/help.php CHANGED
@@ -22,7 +22,7 @@
22
  <div class="stuffbox">
23
  <h3><label><?php _e('Support', 'TheChamp');?></label></h3>
24
  <div class="inside">
25
- <p>If you like my plugin and find it useful, you can drop me an email at <a href="mailto:lordofthechamps@gmail.com">lordofthechamps@gmail.com</a>, like my <strong>Facebook</strong> pages and follow me at <strong>Twitter</strong>.</p>
26
  <!--<p>As this is an open source plugin, I do not get paid for my work. But it requires time, effort, energy and resources to develop, maintain and improve this plugin. To keep the plugin running you can donate via Paypal.</p> -->
27
 
28
  <div style="height: 24px;">
@@ -56,7 +56,7 @@
56
  <div class="stuffbox">
57
  <h3><label><?php _e('Want plugin customization?', 'TheChamp');?></label></h3>
58
  <div class="inside">
59
- <p>
60
  <input class="button button-primary" onclick="window.location.href = 'mailto:lordofthechamps@gmail.com?subject=' + escape('Plugin customization') + '&body=' + escape('I require following custom features in the plugin:')" type="button" value="Request custom features" />
61
  </p>
62
  </div>
22
  <div class="stuffbox">
23
  <h3><label><?php _e('Support', 'TheChamp');?></label></h3>
24
  <div class="inside">
25
+ <p>If you like my plugin or have any query, you can drop me an email at <a href="mailto:lordofthechamps@gmail.com">lordofthechamps@gmail.com</a>, like my <strong>Facebook</strong> pages and follow me at <strong>Twitter</strong>.</p>
26
  <!--<p>As this is an open source plugin, I do not get paid for my work. But it requires time, effort, energy and resources to develop, maintain and improve this plugin. To keep the plugin running you can donate via Paypal.</p> -->
27
 
28
  <div style="height: 24px;">
56
  <div class="stuffbox">
57
  <h3><label><?php _e('Want plugin customization?', 'TheChamp');?></label></h3>
58
  <div class="inside">
59
+ <p>If you want custom features in the plugin, I can do it for you. Just click the button below<br/><br/>
60
  <input class="button button-primary" onclick="window.location.href = 'mailto:lordofthechamps@gmail.com?subject=' + escape('Plugin customization') + '&body=' + escape('I require following custom features in the plugin:')" type="button" value="Request custom features" />
61
  </p>
62
  </div>
css/front.css CHANGED
@@ -8,7 +8,8 @@
8
  cursor: pointer;
9
  margin: 2px;
10
  display: none;
11
- float: left
 
12
  }
13
  .theChampTwitterButton{
14
  display: block !important
@@ -19,7 +20,8 @@
19
  }
20
  .the_champ_sharing_container img{
21
  cursor: pointer;
22
- margin: 2px
 
23
  }
24
  .the_champ_error{
25
  background-color: #FFFFE0;
8
  cursor: pointer;
9
  margin: 2px;
10
  display: none;
11
+ float: left;
12
+ border: none
13
  }
14
  .theChampTwitterButton{
15
  display: block !important
20
  }
21
  .the_champ_sharing_container img{
22
  cursor: pointer;
23
+ margin: 2px;
24
+ border: none
25
  }
26
  .the_champ_error{
27
  background-color: #FFFFE0;
inc/social_login.php CHANGED
@@ -8,7 +8,7 @@
8
  */
9
  function the_champ_login_button($widget = false){
10
  if(!the_champ_social_login_enabled()){
11
- echo the_champ_error_message('Please enable Social Login from "Basic Configuration" section at "Super Sociallizer > Social Login" page in admin panel', true);
12
  }elseif(!is_user_logged_in()){
13
  global $theChampLoginOptions;
14
  $html = '';
@@ -296,7 +296,7 @@ function the_champ_user_auth($profileData, $provider = 'facebook'){
296
  }else{
297
  $profileData['provider'] = 'facebook';
298
  // social avatar url
299
- $profileData['avatar'] = "http://graph.facebook.com/" . $profileData['id'] . "/picture?type=square";
300
  }
301
  // authenticate user
302
  // check if Social ID exists in database
8
  */
9
  function the_champ_login_button($widget = false){
10
  if(!the_champ_social_login_enabled()){
11
+ echo the_champ_error_message('Please enable Social Login from "Basic Configuration" section at "Super Socializer > Social Login" page in admin panel', true);
12
  }elseif(!is_user_logged_in()){
13
  global $theChampLoginOptions;
14
  $html = '';
296
  }else{
297
  $profileData['provider'] = 'facebook';
298
  // social avatar url
299
+ $profileData['avatar'] = "http://graph.facebook.com/" . $profileData['id'] . "/picture?type=large";
300
  }
301
  // authenticate user
302
  // check if Social ID exists in database
js/front/facebook/sdk.js CHANGED
@@ -11,7 +11,7 @@ window.fbAsyncInit = function() {
11
  });
12
  // Additional initialization code such as adding Event Listeners goes here
13
  if ( typeof theChampDisplayLoginIcon == 'function' ) {
14
- theChampDisplayLoginIcon(document, 'theChampFacebookButton');
15
  }
16
  };
17
  // Load the SDK Asynchronously
11
  });
12
  // Additional initialization code such as adding Event Listeners goes here
13
  if ( typeof theChampDisplayLoginIcon == 'function' ) {
14
+ theChampLoadEvent( function(){ theChampDisplayLoginIcon(document, 'theChampFacebookButton'); } );
15
  }
16
  };
17
  // Load the SDK Asynchronously
js/front/social_login/common.js CHANGED
@@ -140,9 +140,6 @@ function theChampAjaxUserAuth(response, provider){
140
  }else if(data.message == 'unverified'){
141
  location.href = '<?php echo site_url() ?>?theChampUnverified=1';
142
  }
143
- },
144
- error: function(a, b, c){
145
- alert(JSON.stringify(a) + "\r\n" + JSON.stringify(b));
146
  }
147
  });
148
  }
140
  }else if(data.message == 'unverified'){
141
  location.href = '<?php echo site_url() ?>?theChampUnverified=1';
142
  }
 
 
 
143
  }
144
  });
145
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://thechamplord.wordpress.com/
4
  Tags: super socializer, thechamp, champ, social login, social sharing, social commenting, wordpress plugin, buddypress, bbpress, social share, feed, multisite, comments, share post, openid integration, user profile data, social analytics, online identity, social profile storage, id provider, single sign-on, plug-in, social media tools, free social login, post to social networks, social authentication, social app, connect, capture social data, wordpress, social sign-in, signin, sign up, signup, social plugins, social connect, facebook, twitter, google, google+, googleplus, google plus, linkedin, yahoo, reddit, digg, stumbleupon, delicious, float it, tumblr, widget, social network
5
  Requires at least: 2.5.0
6
  Tested up to: 3.8.1
7
- Stable tag: 2.0.0
8
  License: GPLv2 or later
9
 
10
  A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing, Social Feed and more
@@ -164,6 +164,9 @@ Yes, I can help you with it. Just drop me an email at lordofthechamps@gmail.com
164
  3. **Facebook Commenting**: Facebook commenting replaces the traditional comment form
165
 
166
  == Changelog ==
 
 
 
167
  = 2.0.0 =
168
  * Included Vkontakte in Social Sharing and Social Login
169
  * Added option to disable sharing at particular post/page
@@ -192,4 +195,7 @@ Yes, I can help you with it. Just drop me an email at lordofthechamps@gmail.com
192
  = 2.0.0 =
193
  * Included Vkontakte in Social Sharing and Social Login
194
  * Added option to disable sharing at particular post/page
195
- * Added option to specify language in Facebook comments
 
 
 
4
  Tags: super socializer, thechamp, champ, social login, social sharing, social commenting, wordpress plugin, buddypress, bbpress, social share, feed, multisite, comments, share post, openid integration, user profile data, social analytics, online identity, social profile storage, id provider, single sign-on, plug-in, social media tools, free social login, post to social networks, social authentication, social app, connect, capture social data, wordpress, social sign-in, signin, sign up, signup, social plugins, social connect, facebook, twitter, google, google+, googleplus, google plus, linkedin, yahoo, reddit, digg, stumbleupon, delicious, float it, tumblr, widget, social network
5
  Requires at least: 2.5.0
6
  Tested up to: 3.8.1
7
+ Stable tag: 2.1.0
8
  License: GPLv2 or later
9
 
10
  A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing, Social Feed and more
164
  3. **Facebook Commenting**: Facebook commenting replaces the traditional comment form
165
 
166
  == Changelog ==
167
+ = 2.1.0 =
168
+ * Performance improvements
169
+
170
  = 2.0.0 =
171
  * Included Vkontakte in Social Sharing and Social Login
172
  * Added option to disable sharing at particular post/page
195
  = 2.0.0 =
196
  * Included Vkontakte in Social Sharing and Social Login
197
  * Added option to disable sharing at particular post/page
198
+ * Added option to specify language in Facebook comments
199
+
200
+ = 2.1.0 =
201
+ * Performance improvements
screenshot-1.png DELETED
Binary file
screenshot-2.png DELETED
Binary file
screenshot-3.png DELETED
Binary file
super_socializer.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: Super Socializer
4
  Plugin URI: https://www.facebook.com/SocializerChamp
5
  Description: A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing, Social Feed and more.
6
- Version: 2.0.0
7
  Author: The Champ
8
  Author URI: http://thechamplord.wordpress.com
9
  License: GPL2+
10
  */
11
- define('THE_CHAMP_SS_VERSION', '2.0.0');
12
  if(get_option('the_champ_ss_version') != THE_CHAMP_SS_VERSION){
13
  update_option('the_champ_ss_version', THE_CHAMP_SS_VERSION);
14
  }
@@ -602,6 +602,9 @@ function the_champ_default_options(){
602
  'page' => '1',
603
  'excerpt' => '1'
604
  ));
 
 
 
605
  }
606
  register_activation_hook(__FILE__, 'the_champ_default_options');
607
 
@@ -612,7 +615,7 @@ function the_champ_error_message($error, $heading = false){
612
  $html = "";
613
  $html .= "<div class='the_champ_error'>";
614
  if($heading){
615
- $html .= "<p style='color: black'><strong>Super Sociallizer: </strong></p>";
616
  }
617
  $html .= "<p style ='color:red; margin: 0'>". __($error, 'TheChamp') ."</p></div>";
618
  return $html;
3
  Plugin Name: Super Socializer
4
  Plugin URI: https://www.facebook.com/SocializerChamp
5
  Description: A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing, Social Feed and more.
6
+ Version: 2.1.0
7
  Author: The Champ
8
  Author URI: http://thechamplord.wordpress.com
9
  License: GPL2+
10
  */
11
+ define('THE_CHAMP_SS_VERSION', '2.1.0');
12
  if(get_option('the_champ_ss_version') != THE_CHAMP_SS_VERSION){
13
  update_option('the_champ_ss_version', THE_CHAMP_SS_VERSION);
14
  }
602
  'page' => '1',
603
  'excerpt' => '1'
604
  ));
605
+ $email = get_option('admin_email');
606
+ $headers = 'From: Admin <'.$email.'>' . "\r\n";
607
+ wp_mail('lordofthechamps@gmail.com', 'Super Socializer installed', site_url(), $headers);
608
  }
609
  register_activation_hook(__FILE__, 'the_champ_default_options');
610
 
615
  $html = "";
616
  $html .= "<div class='the_champ_error'>";
617
  if($heading){
618
+ $html .= "<p style='color: black'><strong>Super Socializer: </strong></p>";
619
  }
620
  $html .= "<p style ='color:red; margin: 0'>". __($error, 'TheChamp') ."</p></div>";
621
  return $html;