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

Version Description

  • [Improvement] Compatible with version 1.1.4 of Facebook Comments Notifier add-on
  • [Bugfix] Request url to Facebook SDK was broken in some cases when "Load all Javascript files in single file" option was enabled
  • [Bugfix] Single and double quotes in Social Commenting title were appearing encoded at the webpage
Download this release

Release Info

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

Code changes from version 7.8.19 to 7.8.20

Files changed (3) hide show
  1. js/front/combined.js +1 -1
  2. readme.txt +32 -26
  3. super_socializer.php +4 -5
js/front/combined.js CHANGED
@@ -1,4 +1,4 @@
1
- theChampFBKey = typeof theChampFBKey != 'undefined' ? theChampFBKey : '', theChampFBLang = typeof theChampFBLang != 'undefined' ? theChampFBLang : '';
2
  // general.js
3
  function theChampPopup(e){window.open(e,"popUpWindow","height=400,width=600,left=400,top=100,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("https://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,"")}}
4
  function heateorSsBrowserMsg(){var a=document.createElement("div");a.innerHTML='<button id="heateor_ss_browser_msg_close" class="close-button separated"><img src="'+theChampCloseIconPath+'" /></button><div id="the_champ_sharing_more_content"><div class="all-services" style="padding:20px 10px 0px 10px;height:auto;"><p>'+heateorSsSDKBlockedMsg+"</p></div></div>",a.setAttribute("id","the_champ_sharing_more_providers"),a.setAttribute("style","height:auto;");var b=document.createElement("div");b.setAttribute("id","heateor_ss_browser_popup_bg"),jQuery("body").append(a).append(b),document.getElementById("heateor_ss_browser_popup_bg").onclick=document.getElementById("heateor_ss_browser_msg_close").onclick=function(){a.parentNode.removeChild(a),b.parentNode.removeChild(b)}}
1
+ theChampFBKey = typeof theChampFBKey != 'undefined' ? theChampFBKey : '', theChampFBLang = typeof theChampFBLang != 'undefined' ? theChampFBLang : 'en_US', theChampFbIosLogin = typeof theChampFbIosLogin != 'undefined' ? theChampFbIosLogin : 0;
2
  // general.js
3
  function theChampPopup(e){window.open(e,"popUpWindow","height=400,width=600,left=400,top=100,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("https://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,"")}}
4
  function heateorSsBrowserMsg(){var a=document.createElement("div");a.innerHTML='<button id="heateor_ss_browser_msg_close" class="close-button separated"><img src="'+theChampCloseIconPath+'" /></button><div id="the_champ_sharing_more_content"><div class="all-services" style="padding:20px 10px 0px 10px;height:auto;"><p>'+heateorSsSDKBlockedMsg+"</p></div></div>",a.setAttribute("id","the_champ_sharing_more_providers"),a.setAttribute("style","height:auto;");var b=document.createElement("div");b.setAttribute("id","heateor_ss_browser_popup_bg"),jQuery("body").append(a).append(b),document.getElementById("heateor_ss_browser_popup_bg").onclick=document.getElementById("heateor_ss_browser_msg_close").onclick=function(){a.parentNode.removeChild(a),b.parentNode.removeChild(b)}}
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Super Socializer ===
2
  Contributors: Heateor, the_champ, Hungarian Translator: László Tavaszi http://kerekmese.hu, Chinese Translator: Alex Li plpkj.com, Portuguese Translator: Paulo Purkyt https://www.linkedin.com/in/ppurkyt, Italian Translator: FG3D (Freedom's Gate) https://fg3d.net, Spanish translator: Ignacio Iglesias http://trespies.com, Arabic Translator: http://www.ArabsSM.com, Russian/Ukrainian Translator: Nicholas Lagunov
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, facebook login
5
  Requires at least: 2.5.0
6
- Tested up to: 4.7.3
7
- Stable tag: 7.8.19
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
@@ -13,7 +13,7 @@ The unique Social Plugin to let you integrate Social Login, Social Share and Soc
13
  **Available in English, Spanish, Hungarian, Portuguese, Chinese, Italian, Arabic, Russian and Ukrainian languages**
14
 
15
  = Feature list =
16
- * Social Sharing from around 100 social networks
17
  * Share counts are supported for Facebook, Linkedin, Twitter, GooglePlus, Delicious, Buffer, Reddit, Pinterest, Stumbleupon and Vkontakte
18
  * FREE icon customization options
19
  * Options to specify sharing icon shape - Square, Round and Rectangular
@@ -43,7 +43,7 @@ The unique Social Plugin to let you integrate Social Login, Social Share and Soc
43
  * Customizable login/post-registration redirection
44
  * Enable Facebook Like/Recommend, Google +1, Google Plus Share, Twitter Tweet, Yummly, Buffer, Xing buttons
45
  * Enable Social Comments - Facebook Comments, Google Plus Comments, Disqus Comments
46
- * Widgets and shortcodes for Social Sharing, Social Login, Social Comments and Like Buttons
47
  * Let your users link their social accounts to the account at your website
48
  * Compatible with BuddyPress, bbPress, WooCommerce
49
  * Multisite Compatible
@@ -72,11 +72,11 @@ Detailed Overview:
72
  2. **SEO Optimization**: Social sharing helps your website content get indexed faster and improves other factors that help in search engine optimization of your blog.
73
 
74
 
75
- = Facebook Commenting = Enables users to comment on your website via their Facebook account.
76
 
77
  **Benefits**
78
 
79
- 1. **Virality**: When people comment at your blog using their Facebook account, the comment not only shows up at your blog, but it also appears in their news feed. This puts your blog in front of new audience which further adds to the likelihood of you getting a new returning visitor.
80
 
81
  2. **Higher Conversations**: When you know the person commenting on something, it's more likely that you will also type out your ideas there, unlike the situation when you don't know the person involved in the conversation.
82
 
@@ -84,7 +84,7 @@ Detailed Overview:
84
 
85
  4. **No Spam**: You can get rid off the spammers and users, commenting using their fake accounts.
86
 
87
- 5. **Works for the lazy**: Most people are nowadays lazy. To get these people commenting on your blog, it will just require them to login to their Facebook account (which almost everyone does after powering on computer).
88
 
89
 
90
  = User Profile Data = Every time a user logs in, plugin fetches profile data of the user and store that in your WordPress database.
@@ -110,11 +110,11 @@ Detailed Overview:
110
  7. Our **support team is working 24/7** to answer your queries and assist you. You will find us the quickest to respond.
111
 
112
  = Important links =
113
- * Plugin Demo: http://super-socializer-wordpress.heateor.com
114
- * Plugin Facebook fan page: https://www.facebook.com/SocializerChamp
115
- * Our Facebook Page: https://www.facebook.com/heateor
116
- * Our GooglePlus Page: https://plus.google.com/+Heateor
117
- * Our Twitter Profile: https://twitter.com/heateor
118
 
119
  <a href="http://support.heateor.com">Support Documentation</a> | <a href="https://www.heateor.com/social-analytics-sharing">Social Analytics</a> | <a href="https://www.heateor.com/add-ons">Add-ons</a>
120
 
@@ -131,22 +131,18 @@ You can provide your feedback at hello[at]heateor[dot]com
131
  = Configuration =
132
 
133
  After installing and activating the plugin, you will see **Super Socializer** in the left sidebar in your website admin panel.
134
- You can configure required options in **Facebook**, **Social Login** and **Social Sharing** sections.
135
- There is **help** available with each option. You can see the help text by clicking the **bubble** icon before each option.
136
 
137
  = Widgets and Shortcodes =
138
 
139
  * Navigate to the **Widgets** section in the **Appearance** menu.
140
- * Look for the **Super Socializer - Login** and **Super Socializer - Sharing** widgets and click/drag these to add the widgets to the desired widget area on the right.
141
  * After adding the widget, you can customize it by changing the **Title**, **Before widget content** and **After widget content** options.
142
 
143
- You can use **[TheChamp-Login]** and **[TheChamp-Sharing]** Shortcodes in the content of required page/post where you want to display Social Login and Sharing interfaces respectively.
144
-
145
- Optionally, you can use **style** attribute in the Shortcode to style the rendered Social Login and Sharing interfaces.
146
-
147
- For example
148
-
149
- **[TheChamp-Login style="background-color:#000; float:right"]**
150
 
151
  = Display Social Login and Sharing interface on other pages =
152
  You can enable Social Login and Sharing anywhere in your website page/post content using **Shortcodes** mentioned above.
@@ -188,10 +184,10 @@ Social Sharing enables your website users to share your website content over the
188
  2. **SEO Optimization**: Social sharing helps your website content get indexed faster and improves other factors that help in search engine optimization of your blog.
189
 
190
  = How much do you charge for the plugin? =
191
- This plugin is FREE to download and feel free to use it on your WordPress, BuddyPress, BBPress and any other WP based systems. For advanced features and custom solutions, drop an email at support@heateor.com
192
 
193
  = Can you help me set up the plugin at my website? =
194
- Yes, we can help you with it. Just drop an email at support@heateor.com
195
 
196
  == Screenshots ==
197
  1. **Social Login**: Social Login interface at Wordpress login form
@@ -204,6 +200,11 @@ 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.8.19 =
208
  * [Improvement] Compatible with version 1.1 of <a href="https://www.heateor.com/mailchimp-subscribe/" target="_blank">Mailchimp Subscribe</a> add-on
209
 
@@ -1210,4 +1211,9 @@ Yes, we can help you with it. Just drop an email at support@heateor.com
1210
  * [Improvement] Redirecting old LiveJournal login page (not in use from version 7.8.17) to corresponding webpage without LiveJournal login parameters
1211
 
1212
  = 7.8.19 =
1213
- * [Improvement] Compatible with version 1.1 of <a href="https://www.heateor.com/mailchimp-subscribe/" target="_blank">Mailchimp Subscribe</a> add-on
 
 
 
 
 
1
+ === WordPress Social Share, Social Login and Social Comments Plugin - Super Socializer ===
2
  Contributors: Heateor, the_champ, Hungarian Translator: László Tavaszi http://kerekmese.hu, Chinese Translator: Alex Li plpkj.com, Portuguese Translator: Paulo Purkyt https://www.linkedin.com/in/ppurkyt, Italian Translator: FG3D (Freedom's Gate) https://fg3d.net, Spanish translator: Ignacio Iglesias http://trespies.com, Arabic Translator: http://www.ArabsSM.com, Russian/Ukrainian Translator: Nicholas Lagunov
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, facebook login
5
  Requires at least: 2.5.0
6
+ Tested up to: 4.7.4
7
+ Stable tag: 7.8.20
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
13
  **Available in English, Spanish, Hungarian, Portuguese, Chinese, Italian, Arabic, Russian and Ukrainian languages**
14
 
15
  = Feature list =
16
+ * Social Share from around 100 social networks
17
  * Share counts are supported for Facebook, Linkedin, Twitter, GooglePlus, Delicious, Buffer, Reddit, Pinterest, Stumbleupon and Vkontakte
18
  * FREE icon customization options
19
  * Options to specify sharing icon shape - Square, Round and Rectangular
43
  * Customizable login/post-registration redirection
44
  * Enable Facebook Like/Recommend, Google +1, Google Plus Share, Twitter Tweet, Yummly, Buffer, Xing buttons
45
  * Enable Social Comments - Facebook Comments, Google Plus Comments, Disqus Comments
46
+ * Widgets and shortcodes for Social Share, Social Login, Social Comments and Like Buttons
47
  * Let your users link their social accounts to the account at your website
48
  * Compatible with BuddyPress, bbPress, WooCommerce
49
  * Multisite Compatible
72
  2. **SEO Optimization**: Social sharing helps your website content get indexed faster and improves other factors that help in search engine optimization of your blog.
73
 
74
 
75
+ = Social Comments = Enables users to comment on your website using their Social Media accounts.
76
 
77
  **Benefits**
78
 
79
+ 1. **Virality**: When people comment at your blog using their Facebook, Google, Disqus accounts, the comment not only shows up at your blog, but it also appears in their news feed. This puts your blog in front of new audience which further adds to the likelihood of you getting a new returning visitor.
80
 
81
  2. **Higher Conversations**: When you know the person commenting on something, it's more likely that you will also type out your ideas there, unlike the situation when you don't know the person involved in the conversation.
82
 
84
 
85
  4. **No Spam**: You can get rid off the spammers and users, commenting using their fake accounts.
86
 
87
+ 5. **Works for the lazy**: Most people are nowadays lazy. To get these people commenting on your blog, it will just require them to login to their Facebook, Google account (which almost everyone does after powering ON computer).
88
 
89
 
90
  = User Profile Data = Every time a user logs in, plugin fetches profile data of the user and store that in your WordPress database.
110
  7. Our **support team is working 24/7** to answer your queries and assist you. You will find us the quickest to respond.
111
 
112
  = Important links =
113
+ * <a target="_blank" href="https://super-socializer-wordpress.heateor.com">Plugin Demo</a>
114
+ * <a target="_blank" href="https://www.facebook.com/SocializerChamp">Plugin Facebook fan page</a>
115
+ * <a target="_blank" href="https://www.facebook.com/heateor">Our Facebook Page</a>
116
+ * <a target="_blank" href="https://plus.google.com/+Heateor">Our GooglePlus Page</a>
117
+ * <a target="_blank" href="https://twitter.com/heateor">Our Twitter Page</a>
118
 
119
  <a href="http://support.heateor.com">Support Documentation</a> | <a href="https://www.heateor.com/social-analytics-sharing">Social Analytics</a> | <a href="https://www.heateor.com/add-ons">Add-ons</a>
120
 
131
  = Configuration =
132
 
133
  After installing and activating the plugin, you will see **Super Socializer** in the left sidebar in your website admin panel.
134
+ You can configure required options in **Social Commenting**, **Social Login** and **Social Sharing** sections.
135
+ There is **help** available with each option. You can see the help text by clicking the **(?)** icon before each option.
136
 
137
  = Widgets and Shortcodes =
138
 
139
  * Navigate to the **Widgets** section in the **Appearance** menu.
140
+ * Look for the **Super Socializer - Login**, **Super Socializer - Sharing** and **Super Socializer - Like Buttons** widgets and click/drag these to add the widgets to the desired widget area on the right.
141
  * After adding the widget, you can customize it by changing the **Title**, **Before widget content** and **After widget content** options.
142
 
143
+ * <a target="_blank" href="http://support.heateor.com/social-sharing-shortcode-and-widget/">Social Sharing Shortcode</a>
144
+ * <a target="_blank" href="http://support.heateor.com/social-login-shortcode-and-widget/">Social Login Shortcode</a>
145
+ * <a target="_blank" href="http://support.heateor.com/social-commenting-shortcode/">Social Comments Shortcode</a>
 
 
 
 
146
 
147
  = Display Social Login and Sharing interface on other pages =
148
  You can enable Social Login and Sharing anywhere in your website page/post content using **Shortcodes** mentioned above.
184
  2. **SEO Optimization**: Social sharing helps your website content get indexed faster and improves other factors that help in search engine optimization of your blog.
185
 
186
  = How much do you charge for the plugin? =
187
+ This plugin is FREE to download and feel free to use it on your WordPress, BuddyPress, BBPress and any other WP based systems. For advanced features and custom solutions, drop an email at support[ at ]heateor[ dot ]com
188
 
189
  = Can you help me set up the plugin at my website? =
190
+ Yes, we can help you with it. Just drop an email at support[ at ]heateor[ dot ]com
191
 
192
  == Screenshots ==
193
  1. **Social Login**: Social Login interface at Wordpress login form
200
  8. **Social Commenting**: Disqus Commenting selected
201
 
202
  == Changelog ==
203
+ = 7.8.20 =
204
+ * [Improvement] Compatible with version 1.1.4 of <a href="https://www.heateor.com/facebook-comments-notifier/" target="_blank">Facebook Comments Notifier</a> add-on
205
+ * [Bugfix] Request url to Facebook SDK was broken in some cases when "Load all Javascript files in single file" option was enabled
206
+ * [Bugfix] Single and double quotes in Social Commenting title were appearing encoded at the webpage
207
+
208
  = 7.8.19 =
209
  * [Improvement] Compatible with version 1.1 of <a href="https://www.heateor.com/mailchimp-subscribe/" target="_blank">Mailchimp Subscribe</a> add-on
210
 
1211
  * [Improvement] Redirecting old LiveJournal login page (not in use from version 7.8.17) to corresponding webpage without LiveJournal login parameters
1212
 
1213
  = 7.8.19 =
1214
+ * [Improvement] Compatible with version 1.1 of <a href="https://www.heateor.com/mailchimp-subscribe/" target="_blank">Mailchimp Subscribe</a> add-on
1215
+
1216
+ = 7.8.20 =
1217
+ * [Improvement] Compatible with version 1.1.4 of <a href="https://www.heateor.com/facebook-comments-notifier/" target="_blank">Facebook Comments Notifier</a> add-on
1218
+ * [Bugfix] Request url to Facebook SDK was broken in some cases when "Load all Javascript files in single file" option was enabled
1219
+ * [Bugfix] Single and double quotes in Social Commenting title were appearing encoded at the webpage
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.8.19
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.8.19');
15
 
16
  require 'helper.php';
17
 
@@ -695,9 +695,8 @@ function the_champ_frontend_scripts(){
695
  }
696
  // Facebook scripts
697
  if(the_champ_facebook_plugin_enabled()){
698
- global $heateor_fcn_options;
699
  ?>
700
- <script> var theChampFBKey = '<?php echo $fbKey ?>', theChampFBLang = '<?php echo (isset($theChampFacebookOptions["comment_lang"]) && $theChampFacebookOptions["comment_lang"] != '') ? $theChampFacebookOptions["comment_lang"] : "en_US" ?>', theChampFbLikeMycred = <?php echo defined( 'HEATEOR_SOCIAL_SHARE_MYCRED_INTEGRATION_VERSION' ) && the_champ_facebook_like_rec_enabled() ? 1 : 0 ?>, theChampSsga = <?php echo defined( 'HEATEOR_SHARING_GOOGLE_ANALYTICS_VERSION' ) ? 1 : 0 ?>, theChampCommentNotification = <?php echo isset($heateor_fcn_options) || function_exists('heateor_ss_check_querystring') || function_exists('the_champ_check_querystring') ? 1 : 0; ?>, theChampHeateorFcmRecentComments = <?php echo defined( 'HEATEOR_FB_COM_MOD_VERSION' ) && HEATEOR_FB_COM_MOD_VERSION == '1.1.4' ? 1 : 0 ?>, theChampFbIosLogin = <?php echo !is_user_logged_in() && isset($_GET['code']) && esc_attr(trim($_GET['code'])) != '' ? 1 : 0; ?>; </script>
701
  <?php
702
  add_action('wp_footer', 'the_champ_fb_root_div');
703
  if(!$combinedScript){
@@ -743,7 +742,7 @@ function the_champ_frontend_scripts(){
743
  $labels['googleplus'] = $theChampFacebookOptions['label_googleplus_comments'] != '' ? htmlspecialchars($theChampFacebookOptions['label_googleplus_comments'], ENT_QUOTES) : 'GooglePlus Comments';
744
  $labels['disqus'] = $theChampFacebookOptions['label_disqus_comments'] != '' ? htmlspecialchars($theChampFacebookOptions['label_disqus_comments'], ENT_QUOTES) : 'Disqus Comments';
745
  ?>
746
- <script>var theChampFBCommentUrl = '<?php echo $commentUrl ?>'; var theChampFBCommentColor = '<?php echo (isset($theChampFacebookOptions['comment_color']) && $theChampFacebookOptions['comment_color'] != '') ? $theChampFacebookOptions["comment_color"] : ''; ?>'; var theChampFBCommentNumPosts = '<?php echo (isset($theChampFacebookOptions['comment_numposts']) && $theChampFacebookOptions['comment_numposts'] != '') ? $theChampFacebookOptions["comment_numposts"] : ''; ?>'; var theChampFBCommentWidth = '<?php echo (isset($theChampFacebookOptions['comment_width']) && $theChampFacebookOptions['comment_width'] != '') ? $theChampFacebookOptions["comment_width"] : '100%'; ?>'; var theChampFBCommentOrderby = '<?php echo (isset($theChampFacebookOptions['comment_orderby']) && $theChampFacebookOptions['comment_orderby'] != '') ? $theChampFacebookOptions["comment_orderby"] : ''; ?>'; var theChampCommentingTabs = "<?php echo isset($theChampFacebookOptions['commenting_order']) ? $theChampFacebookOptions['commenting_order'] : ''; ?>", theChampGpCommentsUrl = '<?php echo isset($theChampFacebookOptions['gpcomments_url']) && $theChampFacebookOptions['gpcomments_url'] != '' ? $theChampFacebookOptions['gpcomments_url'] : $commentUrl; ?>', theChampDisqusShortname = '<?php echo isset($theChampFacebookOptions['dq_shortname']) ? $theChampFacebookOptions['dq_shortname'] : ''; ?>', theChampScEnabledTabs = '<?php echo implode(',', $enabledTabs) ?>', theChampScLabel = '<?php echo $theChampFacebookOptions['commenting_label'] != '' ? htmlspecialchars($theChampFacebookOptions['commenting_label'], ENT_QUOTES) : __('Leave a reply', 'Super-Socializer'); ?>', theChampScTabLabels = <?php echo json_encode($labels) ?>, theChampGpCommentsWidth = <?php echo isset($theChampFacebookOptions['gpcomments_width']) && $theChampFacebookOptions['gpcomments_width'] != '' ? $theChampFacebookOptions['gpcomments_width'] : 0; ?>, theChampCommentingId = '<?php echo isset($theChampFacebookOptions['commenting_id']) && $theChampFacebookOptions['commenting_id'] != '' ? $theChampFacebookOptions['commenting_id'] : 'respond' ?>'</script>
747
  <?php
748
  if(!$combinedScript){
749
  wp_enqueue_script('the_champ_fb_commenting', plugins_url('js/front/facebook/commenting.js', __FILE__), false, THE_CHAMP_SS_VERSION, $inFooter);
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.8.20
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.8.20');
15
 
16
  require 'helper.php';
17
 
695
  }
696
  // Facebook scripts
697
  if(the_champ_facebook_plugin_enabled()){
 
698
  ?>
699
+ <script> var theChampFBKey = '<?php echo $fbKey ?>', theChampFBLang = '<?php echo (isset($theChampFacebookOptions["comment_lang"]) && $theChampFacebookOptions["comment_lang"] != '') ? $theChampFacebookOptions["comment_lang"] : "en_US" ?>', theChampFbLikeMycred = <?php echo defined( 'HEATEOR_SOCIAL_SHARE_MYCRED_INTEGRATION_VERSION' ) && the_champ_facebook_like_rec_enabled() ? 1 : 0 ?>, theChampSsga = <?php echo defined( 'HEATEOR_SHARING_GOOGLE_ANALYTICS_VERSION' ) ? 1 : 0 ?>, theChampCommentNotification = <?php echo (defined('HEATEOR_FB_COM_NOT_VERSION') && version_compare('1.1.4', HEATEOR_FB_COM_NOT_VERSION) > 0) || function_exists('heateor_ss_check_querystring') || function_exists('the_champ_check_querystring') ? 1 : 0; ?>, theChampHeateorFcmRecentComments = <?php echo defined('HEATEOR_FB_COM_MOD_VERSION') && HEATEOR_FB_COM_MOD_VERSION == '1.1.4' ? 1 : 0 ?>, theChampFbIosLogin = <?php echo !is_user_logged_in() && isset($_GET['code']) && esc_attr(trim($_GET['code'])) != '' ? 1 : 0; ?>; </script>
700
  <?php
701
  add_action('wp_footer', 'the_champ_fb_root_div');
702
  if(!$combinedScript){
742
  $labels['googleplus'] = $theChampFacebookOptions['label_googleplus_comments'] != '' ? htmlspecialchars($theChampFacebookOptions['label_googleplus_comments'], ENT_QUOTES) : 'GooglePlus Comments';
743
  $labels['disqus'] = $theChampFacebookOptions['label_disqus_comments'] != '' ? htmlspecialchars($theChampFacebookOptions['label_disqus_comments'], ENT_QUOTES) : 'Disqus Comments';
744
  ?>
745
+ <script>var theChampFBCommentUrl = '<?php echo $commentUrl ?>'; var theChampFBCommentColor = '<?php echo (isset($theChampFacebookOptions['comment_color']) && $theChampFacebookOptions['comment_color'] != '') ? $theChampFacebookOptions["comment_color"] : ''; ?>'; var theChampFBCommentNumPosts = '<?php echo (isset($theChampFacebookOptions['comment_numposts']) && $theChampFacebookOptions['comment_numposts'] != '') ? $theChampFacebookOptions["comment_numposts"] : ''; ?>'; var theChampFBCommentWidth = '<?php echo (isset($theChampFacebookOptions['comment_width']) && $theChampFacebookOptions['comment_width'] != '') ? $theChampFacebookOptions["comment_width"] : '100%'; ?>'; var theChampFBCommentOrderby = '<?php echo (isset($theChampFacebookOptions['comment_orderby']) && $theChampFacebookOptions['comment_orderby'] != '') ? $theChampFacebookOptions["comment_orderby"] : ''; ?>'; var theChampCommentingTabs = "<?php echo isset($theChampFacebookOptions['commenting_order']) ? $theChampFacebookOptions['commenting_order'] : ''; ?>", theChampGpCommentsUrl = '<?php echo isset($theChampFacebookOptions['gpcomments_url']) && $theChampFacebookOptions['gpcomments_url'] != '' ? $theChampFacebookOptions['gpcomments_url'] : $commentUrl; ?>', theChampDisqusShortname = '<?php echo isset($theChampFacebookOptions['dq_shortname']) ? $theChampFacebookOptions['dq_shortname'] : ''; ?>', theChampScEnabledTabs = '<?php echo implode(',', $enabledTabs) ?>', theChampScLabel = '<?php echo $theChampFacebookOptions['commenting_label'] != '' ? htmlspecialchars(wp_specialchars_decode($theChampFacebookOptions['commenting_label'], ENT_QUOTES), ENT_QUOTES) : __('Leave a reply', 'Super-Socializer'); ?>', theChampScTabLabels = <?php echo json_encode($labels) ?>, theChampGpCommentsWidth = <?php echo isset($theChampFacebookOptions['gpcomments_width']) && $theChampFacebookOptions['gpcomments_width'] != '' ? $theChampFacebookOptions['gpcomments_width'] : 0; ?>, theChampCommentingId = '<?php echo isset($theChampFacebookOptions['commenting_id']) && $theChampFacebookOptions['commenting_id'] != '' ? $theChampFacebookOptions['commenting_id'] : 'respond' ?>'</script>
746
  <?php
747
  if(!$combinedScript){
748
  wp_enqueue_script('the_champ_fb_commenting', plugins_url('js/front/facebook/commenting.js', __FILE__), false, THE_CHAMP_SS_VERSION, $inFooter);