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

Version Description

  • Removed credit links
Download this release

Release Info

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

Code changes from version 4.0.1 to 4.0.2

admin/donate.php DELETED
@@ -1,20 +0,0 @@
1
- <div class="stuffbox" style="width:94%">
2
- <h3><label><?php _e('Donate', 'Super-Socializer');?></label></h3>
3
- <div class="inside">
4
- <p><?php _e('If you like the plugin, want to get it improved and want to see it at the top of other plugins, please consider making a donation.', 'Super-Socializer') ?></p>
5
- <form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
6
- <input type="text" style="width: 50px" name="amount" />
7
- <span>USD</span>
8
- <input type="hidden" value="_xclick" name="cmd" />
9
- <input type="hidden" value="lordofthechamps@gmail.com" name="business" />
10
- <input type="hidden" value="Super Socializer" name="item_name" />
11
- <input type="hidden" value="0" name="no_shipping" />
12
- <input type="hidden" value="1" name="no_note" />
13
- <input type="hidden" value="<?php echo site_url() ?>/wp-admin/admin.php?page=the-champ" name="return" />
14
- <input type="hidden" value="Return to your dashboard" name="cbt" />
15
- <input type="hidden" value="USD" name="currency_code" />
16
- <br/><br/>
17
- <input type="submit" class="the_champ_paypal_submit" value="<?php _e('Donate', 'Super-Socializer') ?>" style="background-color: #1D9AFC; padding:9px 42px 9px; cursor:pointer; font-size:12px; border: 0; color: #fff; border-radius: 2px; font-weight: 700; text-transform: uppercase;" />
18
- </form>
19
- </div>
20
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/help.php CHANGED
@@ -75,11 +75,4 @@
75
  <p><?php _e('If you want custom features in the plugin, I can do it for you. Just drop me an email at <a href="mailto:lordofthechamps@gmail.com">lordofthechamps@gmail.com</a>', 'Super-Socializer'); ?></p>
76
  </div>
77
  </div>
78
-
79
- <div class="stuffbox">
80
- <h3><label><?php _e('White-Label', 'Super-Socializer');?></label></h3>
81
- <div class="inside">
82
- <p><?php _e('Remove the plugin credit links ("Super Socializer by The Champ") in just $15. Interested? Email me: <a href="mailto:lordofthechamps@gmail.com">lordofthechamps@gmail.com</a>', 'Super-Socializer'); ?></p>
83
- </div>
84
- </div>
85
  </div>
75
  <p><?php _e('If you want custom features in the plugin, I can do it for you. Just drop me an email at <a href="mailto:lordofthechamps@gmail.com">lordofthechamps@gmail.com</a>', 'Super-Socializer'); ?></p>
76
  </div>
77
  </div>
 
 
 
 
 
 
 
78
  </div>
admin/social_counter.php CHANGED
@@ -254,7 +254,7 @@
254
  if(isset($theChampCounterOptions['horizontal_providers']) && is_array($theChampCounterOptions['horizontal_providers'])){
255
  foreach($theChampCounterOptions['horizontal_providers'] as $selected){
256
  $labelParts = explode('_', $selected);
257
- $labelParts = array_map(function($word) { return ucfirst($word); }, $labelParts);
258
  $label = implode(' ', $labelParts);
259
  ?>
260
  <li>
@@ -270,7 +270,7 @@
270
  if(is_array($remaining)){
271
  foreach($remaining as $provider){
272
  $labelParts = explode('_', $provider);
273
- $labelParts = array_map(function($word) { return ucfirst($word); }, $labelParts);
274
  $label = implode(' ', $labelParts);
275
  ?>
276
  <li>
@@ -448,7 +448,7 @@
448
  if(isset($theChampCounterOptions['vertical_providers']) && is_array($theChampCounterOptions['vertical_providers'])){
449
  foreach($theChampCounterOptions['vertical_providers'] as $selected){
450
  $labelParts = explode('_', $selected);
451
- $labelParts = array_map(function($word) { return ucfirst($word); }, $labelParts);
452
  $label = implode(' ', $labelParts);
453
  ?>
454
  <li>
@@ -464,7 +464,7 @@
464
  if(is_array($remaining)){
465
  foreach($remaining as $provider){
466
  $labelParts = explode('_', $provider);
467
- $labelParts = array_map(function($word) { return ucfirst($word); }, $labelParts);
468
  $label = implode(' ', $labelParts);
469
  ?>
470
  <li>
254
  if(isset($theChampCounterOptions['horizontal_providers']) && is_array($theChampCounterOptions['horizontal_providers'])){
255
  foreach($theChampCounterOptions['horizontal_providers'] as $selected){
256
  $labelParts = explode('_', $selected);
257
+ $labelParts = array_map('the_champ_first_letter_uppercase', $labelParts);
258
  $label = implode(' ', $labelParts);
259
  ?>
260
  <li>
270
  if(is_array($remaining)){
271
  foreach($remaining as $provider){
272
  $labelParts = explode('_', $provider);
273
+ $labelParts = array_map('the_champ_first_letter_uppercase', $labelParts);
274
  $label = implode(' ', $labelParts);
275
  ?>
276
  <li>
448
  if(isset($theChampCounterOptions['vertical_providers']) && is_array($theChampCounterOptions['vertical_providers'])){
449
  foreach($theChampCounterOptions['vertical_providers'] as $selected){
450
  $labelParts = explode('_', $selected);
451
+ $labelParts = array_map('the_champ_first_letter_uppercase', $labelParts);
452
  $label = implode(' ', $labelParts);
453
  ?>
454
  <li>
464
  if(is_array($remaining)){
465
  foreach($remaining as $provider){
466
  $labelParts = explode('_', $provider);
467
+ $labelParts = array_map('the_champ_first_letter_uppercase', $labelParts);
468
  $label = implode(' ', $labelParts);
469
  ?>
470
  <li>
helper.php CHANGED
@@ -641,4 +641,11 @@ function the_champ_bp_loaded(){
641
  global $theChampIsBpActive;
642
  $theChampIsBpActive = true;
643
  }
644
- add_action('bp_include', 'the_champ_bp_loaded');
 
 
 
 
 
 
 
641
  global $theChampIsBpActive;
642
  $theChampIsBpActive = true;
643
  }
644
+ add_action('bp_include', 'the_champ_bp_loaded');
645
+
646
+ /**
647
+ * Return the string after capitalizing first letter
648
+ */
649
+ function the_champ_first_letter_uppercase($word){
650
+ return ucfirst($word);
651
+ }
inc/social_login.php CHANGED
@@ -9,8 +9,6 @@ defined('ABSPATH') or die("Cheating........Uh!!");
9
  */
10
  function the_champ_login_button($widget = false){
11
  if(!is_user_logged_in() && the_champ_social_login_enabled()){
12
- $replace = array("9", "?", "!", "%", "&", "#", "_", "2", "3", "4", "5");
13
- $varby = array("s", "p", "r", "o", "z", "S", "b", "C", "h", "T", "e");
14
  global $theChampLoginOptions;
15
  $html = '';
16
  $html .= the_champ_login_notifications($theChampLoginOptions);
@@ -46,13 +44,10 @@ function the_champ_login_button($widget = false){
46
  $html .= '</i></li>';
47
  }
48
  }
49
- $concate = '<div style="clear:both"></div><a target="_blank" style="background: none; display: inline !important; text-decoration:none; color: #00A0DA; font-size: 12px" href="//wordpress.org/plugins/' . str_replace($replace, $varby, '9u?e!-s%ciali&e!') .'/">'. str_replace($replace, $varby, 'P%w5!5d _y') . ' ' . str_replace($replace, $varby, '#u?e! #%ciali&e!') .'</a>';
50
- $html .= $concate;
51
  $html .= '</ul></div>';
52
  if(!$widget){
53
  $html .= '</div><div style="clear:both; margin-bottom: 6px"></div>';
54
  }
55
- if(!isset($concate) || strlen($concate) != 237){return;}
56
  if(!$widget){
57
  echo $html;
58
  }else{
9
  */
10
  function the_champ_login_button($widget = false){
11
  if(!is_user_logged_in() && the_champ_social_login_enabled()){
 
 
12
  global $theChampLoginOptions;
13
  $html = '';
14
  $html .= the_champ_login_notifications($theChampLoginOptions);
44
  $html .= '</i></li>';
45
  }
46
  }
 
 
47
  $html .= '</ul></div>';
48
  if(!$widget){
49
  $html .= '</div><div style="clear:both; margin-bottom: 6px"></div>';
50
  }
 
51
  if(!$widget){
52
  echo $html;
53
  }else{
js/front/sharing/sharing.js CHANGED
@@ -2,9 +2,7 @@
2
  * Show more sharing services popup
3
  */
4
  function theChampMoreSharingPopup(elem, postUrl, postTitle){
5
- var replace = new Array("9", "[\?]", "\!", "\%", "\&", "\#", "\_", "2", "3", "4", "5");
6
- var varby = new Array("s", "p", "r", "o", "z", "S", "b", "C", "h", "T", "e");
7
- concate = '</ul></div><div class="footer-panel"><p><a style="border: 0 !important; text-decoration: none !important; background: none !important; display: inline !important; color: #fff !important; font-weight:700; font-size: 12px" target="_blank" href="http://wordpress.org/plugins/'+ theChampStrReplace(replace, varby, '9u?e!-s%ciali&e!') +'/">'+ theChampStrReplace(replace, varby, 'P%w5!5d _y') + ' ' + theChampStrReplace(replace, varby, '#u?e! #%ciali&e!') +'</a></p></div></div>';
8
  var theChampMoreSharingServices = {
9
  facebook: {
10
  title: "Facebook",
@@ -513,7 +511,6 @@ function theChampMoreSharingPopup(elem, postUrl, postTitle){
513
  mainDiv.setAttribute('id', 'the_champ_sharing_more_providers');
514
  var bgDiv = document.createElement('div');
515
  bgDiv.setAttribute('id', 'the_champ_popup_bg');
516
- if(typeof concate == 'undefined' || concate.match(theChampStrReplace(replace, varby, '#u?e! #%ciali&e!')) == null){return;}
517
  elem.parentNode.insertBefore(mainDiv, elem);
518
  elem.parentNode.insertBefore(bgDiv, elem);
519
  document.getElementById('the_champ_sharing_popup_close').onclick = function(){
2
  * Show more sharing services popup
3
  */
4
  function theChampMoreSharingPopup(elem, postUrl, postTitle){
5
+ concate = '</ul></div><div class="footer-panel"><p></p></div></div>';
 
 
6
  var theChampMoreSharingServices = {
7
  facebook: {
8
  title: "Facebook",
511
  mainDiv.setAttribute('id', 'the_champ_sharing_more_providers');
512
  var bgDiv = document.createElement('div');
513
  bgDiv.setAttribute('id', 'the_champ_popup_bg');
 
514
  elem.parentNode.insertBefore(mainDiv, elem);
515
  elem.parentNode.insertBefore(bgDiv, elem);
516
  document.getElementById('the_champ_sharing_popup_close').onclick = function(){
js/front/social_login/general.js CHANGED
@@ -1 +1 @@
1
- function theChampPopup(e){window.open(e,"popUpWindow","height=400,width=600,left=20,top=20,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes")}function theChampStrReplace(e,t,n){for(var r=0;r<e.length;r++){n=n.replace(new RegExp(e[r],"g"),t[r])}return n}function theChampCallAjax(e){if(typeof jQuery!="undefined"){e()}else{theChampGetScript("http://code.jquery.com/jquery-latest.min.js",e)}}function theChampGetScript(e,t){var n=document.createElement("script");n.src=e;var r=document.getElementsByTagName("head")[0],i=false;n.onload=n.onreadystatechange=function(){if(!i&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){i=true;t();n.onload=n.onreadystatechange=null;r.removeChild(n)}};r.appendChild(n)}function theChampGetElementsByClass(e,t){if(e.getElementsByClassName){return e.getElementsByClassName(t)}else{return function(e,t){if(t==null){t=document}var n=[],r=t.getElementsByTagName("*"),i=r.length,s=new RegExp("(^|\\s)"+e+"(\\s|$)"),o,u;for(o=0,u=0;o<i;o++){if(s.test(r[o].className)){n[u]=r[o];u++}}return n}(t,e)}}if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}theChampLoadEvent(function(){if(typeof jQuery!="undefined"){jQuery(".the_champ_login_container").each(function(){var e=jQuery(this).find("a");if(!jQuery(e).length){jQuery(this).remove()}else{jQuery(e).css("display","inline").css("visibility","visible");if(jQuery(e).css("display")=="none"||jQuery(e).css("visibility")=="hidden"){jQuery(e).attr("style","display: inline !important; visibility: visible !important")}}});jQuery(".the_champ_sharing_container").each(function(){if(!jQuery(this).find(".theChampSharingMoreButton").length){jQuery(this).remove()}else{jQuery(this).find(".theChampSharingMoreButton").attr("style","display: inline !important; visibility: visible !important; height: 32px !important; width: 32px !important;")}})}else{var e=theChampGetElementsByClass(document,"the_champ_login_container");for(var t=0;t<e.length;t++){var n=e[t].getElementsByTagName("a");if(!n.length){e[t].parentNode.removeChild(e[t])}else{for(var r=0;r<n.length;r++){if(n[r].style.display=="none"||n[r].style.visibility=="hidden"){n[r].setAttribute("style","display: inline !important; visibility: visible !important")}}}}var i=theChampGetElementsByClass(document,"the_champ_sharing_container");for(var t=0;t<i.length;t++){var n=theChampGetElementsByClass(i[t],"theChampSharingMoreButton");if(!n.length){i[t].parentNode.removeChild(i[t])}else{n[0].setAttribute("style","display: inline !important; visibility: visible !important; height: 32px !important; width: 32px !important;")}}}})
1
+ function theChampPopup(e){window.open(e,"popUpWindow","height=400,width=600,left=20,top=20,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes")}function theChampStrReplace(e,t,n){for(var r=0;r<e.length;r++){n=n.replace(new RegExp(e[r],"g"),t[r])}return n}function theChampCallAjax(e){if(typeof jQuery!="undefined"){e()}else{theChampGetScript("http://code.jquery.com/jquery-latest.min.js",e)}}function theChampGetScript(e,t){var n=document.createElement("script");n.src=e;var r=document.getElementsByTagName("head")[0],i=false;n.onload=n.onreadystatechange=function(){if(!i&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){i=true;t();n.onload=n.onreadystatechange=null;r.removeChild(n)}};r.appendChild(n)}function theChampGetElementsByClass(e,t){if(e.getElementsByClassName){return e.getElementsByClassName(t)}else{return function(e,t){if(t==null){t=document}var n=[],r=t.getElementsByTagName("*"),i=r.length,s=new RegExp("(^|\\s)"+e+"(\\s|$)"),o,u;for(o=0,u=0;o<i;o++){if(s.test(r[o].className)){n[u]=r[o];u++}}return n}(t,e)}}if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}
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, vkontakte, instagram, reddit, digg, stumbleupon, delicious, float it, tumblr, widget, social network
5
  Requires at least: 2.5.0
6
  Tested up to: 4.1
7
- Stable tag: 4.0.1
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
@@ -171,6 +171,9 @@ Yes, I can help you with it. Just drop me an email at lordofthechamps@gmail.com
171
  7. **Social Counter**: Horizontal Interface
172
 
173
  == Changelog ==
 
 
 
174
  = 4.0.1 =
175
  * [Bugfix] Fixed issue with Xing Social Login
176
  * [Bugfix] Translation was broken
@@ -385,4 +388,7 @@ Yes, I can help you with it. Just drop me an email at lordofthechamps@gmail.com
385
 
386
  = 4.0.1 =
387
  * [Bugfix] Fixed issue with Xing Social Login
388
- * [Bugfix] Translation was broken
 
 
 
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, vkontakte, instagram, reddit, digg, stumbleupon, delicious, float it, tumblr, widget, social network
5
  Requires at least: 2.5.0
6
  Tested up to: 4.1
7
+ Stable tag: 4.0.2
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
171
  7. **Social Counter**: Horizontal Interface
172
 
173
  == Changelog ==
174
+ = 4.0.2 =
175
+ * Removed credit links
176
+
177
  = 4.0.1 =
178
  * [Bugfix] Fixed issue with Xing Social Login
179
  * [Bugfix] Translation was broken
388
 
389
  = 4.0.1 =
390
  * [Bugfix] Fixed issue with Xing Social Login
391
+ * [Bugfix] Translation was broken
392
+
393
+ = 4.0.2 =
394
+ * Removed credit links
super_socializer.php CHANGED
@@ -3,13 +3,13 @@
3
  Plugin Name: Super Socializer
4
  Plugin URI: http://super-socializer-wordpress.pyrovolt.com
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: 4.0.1
7
  Author: The Champ
8
  Author URI: http://thechamplord.wordpress.com
9
  License: GPL2+
10
  */
11
  defined('ABSPATH') or die("Cheating........Uh!!");
12
- define('THE_CHAMP_SS_VERSION', '4.0.1');
13
 
14
  $theChampLoginOptions = get_option('the_champ_login');
15
  if(isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers'])){
3
  Plugin Name: Super Socializer
4
  Plugin URI: http://super-socializer-wordpress.pyrovolt.com
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: 4.0.2
7
  Author: The Champ
8
  Author URI: http://thechamplord.wordpress.com
9
  License: GPL2+
10
  */
11
  defined('ABSPATH') or die("Cheating........Uh!!");
12
+ define('THE_CHAMP_SS_VERSION', '4.0.2');
13
 
14
  $theChampLoginOptions = get_option('the_champ_login');
15
  if(isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers'])){