Version Description
[30 August 2019] = * [Bugfix] Using Twitch API v5 instead of v3, as it's going to shutdown * [Improvement] Twitch login is now saving users' email address too along with other profile details * [Improvement] Admin UI improvement
Download this release
Release Info
Developer | the_champ |
Plugin | WordPress Social Share, Social Login and Social Comments Plugin – Super Socializer |
Version | 7.12.34 |
Comparing to | |
See all releases |
Code changes from version 7.12.33 to 7.12.34
- admin/general_options.php +1 -2
- admin/like_buttons.php +27 -54
- admin/social_commenting.php +13 -26
- admin/social_login.php +53 -106
- inc/social_login.php +1 -1
- library/Twitch/twitch.php +10 -7
- readme.txt +11 -1
- super_socializer.php +3 -3
admin/general_options.php
CHANGED
@@ -17,8 +17,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
17 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
18 |
<tr>
|
19 |
<th>
|
20 |
-
<img id="the_champ_footer_script_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
21 |
-
<label for="the_champ_footer_script"><?php _e("Include Javascript in website footer", 'super-socializer'); ?></label>
|
22 |
</th>
|
23 |
<td>
|
24 |
<input id="the_champ_footer_script" name="the_champ_general[footer_script]" type="checkbox" <?php echo isset($theChampGeneralOptions['footer_script']) ? 'checked = "checked"' : '';?> value="1" />
|
17 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
18 |
<tr>
|
19 |
<th>
|
20 |
+
<label for="the_champ_footer_script"><?php _e("Include Javascript in website footer", 'super-socializer'); ?><img id="the_champ_footer_script_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
21 |
</th>
|
22 |
<td>
|
23 |
<input id="the_champ_footer_script" name="the_champ_general[footer_script]" type="checkbox" <?php echo isset($theChampGeneralOptions['footer_script']) ? 'checked = "checked"' : '';?> value="1" />
|
admin/like_buttons.php
CHANGED
@@ -16,8 +16,7 @@
|
|
16 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
17 |
<tr>
|
18 |
<th>
|
19 |
-
<img id="the_champ_sc_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
20 |
-
<label for="the_champ_counter_enable"><?php _e("Enable Like Buttons", 'super-socializer'); ?></label>
|
21 |
</th>
|
22 |
<td>
|
23 |
<input id="the_champ_counter_enable" name="the_champ_counter[enable]" type="checkbox" <?php echo isset($theChampCounterOptions['enable']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -62,8 +61,7 @@
|
|
62 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
63 |
<tr>
|
64 |
<th>
|
65 |
-
<img id="the_champ_sc_horizontal_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
66 |
-
<label for="the_champ_sc_horizontal_enable"><?php _e("Enable standard interface", 'super-socializer'); ?></label>
|
67 |
</th>
|
68 |
<td>
|
69 |
<input id="the_champ_sc_horizontal_enable" onclick="theChampHorizontalCounterOptionsToggle(this)" name="the_champ_counter[hor_enable]" type="checkbox" <?php echo isset($theChampCounterOptions['hor_enable']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -82,8 +80,7 @@
|
|
82 |
<tbody id="the_champ_horizontal_counter_options" <?php echo isset($theChampCounterOptions['hor_enable']) ? '' : 'style="display: none"'; ?>>
|
83 |
<tr>
|
84 |
<th>
|
85 |
-
<img id="the_champ_sc_horizontal_target_url_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
86 |
-
<label for="the_champ_sc_target_url"><?php _e("Target Url", 'super-socializer'); ?></label>
|
87 |
</th>
|
88 |
<td id="the_champ_target_url_column">
|
89 |
<input id="the_champ_target_url_default" name="the_champ_counter[horizontal_target_url]" type="radio" <?php echo !isset($theChampCounterOptions['horizontal_target_url']) || $theChampCounterOptions['horizontal_target_url'] == 'default' ? 'checked = "checked"' : '';?> value="default" />
|
@@ -105,8 +102,7 @@
|
|
105 |
|
106 |
<tr>
|
107 |
<th>
|
108 |
-
<img id="the_champ_sc_title_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
109 |
-
<label for="the_champ_fblogin_title"><?php _e("Title", 'super-socializer'); ?></label>
|
110 |
</th>
|
111 |
<td>
|
112 |
<input id="the_champ_fblogin_title" name="the_champ_counter[title]" type="text" value="<?php echo isset($theChampCounterOptions['title']) ? $theChampCounterOptions['title'] : '' ?>" />
|
@@ -123,8 +119,7 @@
|
|
123 |
|
124 |
<tr>
|
125 |
<th>
|
126 |
-
<img id="the_champ_sc_providers_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
127 |
-
<label><?php _e("Select and rearrange providers", 'super-socializer'); ?></label>
|
128 |
</th>
|
129 |
<td>
|
130 |
<ul id="the_champ_sc_rearrange">
|
@@ -175,8 +170,7 @@
|
|
175 |
|
176 |
<tr>
|
177 |
<th>
|
178 |
-
<img id="the_champ_sc_hor_alignment_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
179 |
-
<label for="the_champ_sc_hor_alignment"><?php _e("Horizontal alignment", 'super-socializer'); ?></label>
|
180 |
</th>
|
181 |
<td>
|
182 |
<select id="the_champ_sc_hor_alignment" name="the_champ_counter[hor_counter_alignment]">
|
@@ -197,8 +191,7 @@
|
|
197 |
|
198 |
<tr>
|
199 |
<th>
|
200 |
-
<img id="the_champ_sc_position_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
201 |
-
<label><?php _e("Position with respect to content", 'super-socializer'); ?></label>
|
202 |
</th>
|
203 |
<td>
|
204 |
<input id="the_champ_counter_top" name="the_champ_counter[top]" type="checkbox" <?php echo isset($theChampCounterOptions['top']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -218,8 +211,7 @@
|
|
218 |
|
219 |
<tr>
|
220 |
<th>
|
221 |
-
<img id="the_champ_sc_location_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
222 |
-
<label><?php _e("Interface location", 'super-socializer'); ?></label>
|
223 |
</th>
|
224 |
<td>
|
225 |
<input id="the_champ_counter_home" name="the_champ_counter[home]" type="checkbox" <?php echo isset($theChampCounterOptions['home']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -312,8 +304,7 @@
|
|
312 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
313 |
<tr>
|
314 |
<th>
|
315 |
-
<img id="the_champ_sc_vertical_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
316 |
-
<label for="the_champ_sc_vertical_enable"><?php _e("Enable floating like buttons", 'super-socializer'); ?></label>
|
317 |
</th>
|
318 |
<td>
|
319 |
<input id="the_champ_sc_vertical_enable" onclick="theChampVerticalCounterOptionsToggle(this)" name="the_champ_counter[vertical_enable]" type="checkbox" <?php echo isset($theChampCounterOptions['vertical_enable']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -332,8 +323,7 @@
|
|
332 |
<tbody id="the_champ_vertical_counter_options" <?php echo isset($theChampCounterOptions['vertical_enable']) ? '' : 'style="display: none"'; ?>>
|
333 |
<tr>
|
334 |
<th>
|
335 |
-
<img id="the_champ_sc_vertical_target_url_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
336 |
-
<label for="the_champ_sc_vertical_target_url"><?php _e("Target Url", 'super-socializer'); ?></label>
|
337 |
</th>
|
338 |
<td id="the_champ_vertical_target_url_column">
|
339 |
<input id="the_champ_vertical_target_url_default" name="the_champ_counter[vertical_target_url]" type="radio" <?php echo !isset($theChampCounterOptions['vertical_target_url']) || $theChampCounterOptions['vertical_target_url'] == 'default' ? 'checked = "checked"' : '';?> value="default" />
|
@@ -355,8 +345,7 @@
|
|
355 |
|
356 |
<tr>
|
357 |
<th>
|
358 |
-
<img id="the_champ_sc_vertical_providers_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
359 |
-
<label><?php _e("Select and rearrange providers", 'super-socializer'); ?></label>
|
360 |
</th>
|
361 |
<td>
|
362 |
<ul id="the_champ_sc_vertical_rearrange">
|
@@ -406,8 +395,7 @@
|
|
406 |
|
407 |
<tr>
|
408 |
<th>
|
409 |
-
<img id="the_champ_sc_vertical_bg_color_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
410 |
-
<label for="the_champ_sc_vertical_bg_color"><?php _e("Background Color", 'super-socializer'); ?></label>
|
411 |
</th>
|
412 |
<td>
|
413 |
<input id="the_champ_sc_vertical_bg_color" style="width: 100px" name="the_champ_counter[vertical_bg]" type="text" value="<?php echo isset($theChampCounterOptions['vertical_bg']) ? $theChampCounterOptions['vertical_bg'] : '' ?>" />
|
@@ -424,8 +412,7 @@
|
|
424 |
|
425 |
<tr>
|
426 |
<th>
|
427 |
-
<img id="the_champ_sc_alignment_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
428 |
-
<label for="the_champ_sc_alignment"><?php _e("Horizontal alignment", 'super-socializer'); ?></label>
|
429 |
</th>
|
430 |
<td>
|
431 |
<select onchange="theChampToggleOffset(this.value)" id="the_champ_sc_alignment" name="the_champ_counter[alignment]">
|
@@ -446,8 +433,7 @@
|
|
446 |
<tbody id="the_champ_sc_left_offset_rows" <?php echo (isset($theChampCounterOptions['alignment']) && $theChampCounterOptions['alignment'] == 'left') ? '' : 'style="display: none"' ?>>
|
447 |
<tr>
|
448 |
<th>
|
449 |
-
<img id="the_champ_sc_left_offset_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
450 |
-
<label for="the_champ_sc_left_offset"><?php _e("Left offset", 'super-socializer'); ?></label>
|
451 |
</th>
|
452 |
<td>
|
453 |
<input style="width: 100px" id="the_champ_sc_left_offset" name="the_champ_counter[left_offset]" type="text" value="<?php echo isset($theChampCounterOptions['left_offset']) ? $theChampCounterOptions['left_offset'] : '' ?>" />px
|
@@ -466,8 +452,7 @@
|
|
466 |
<tbody id="the_champ_sc_right_offset_rows" <?php echo (isset($theChampCounterOptions['alignment']) && $theChampCounterOptions['alignment'] == 'right') ? '' : 'style="display: none"' ?>>
|
467 |
<tr>
|
468 |
<th>
|
469 |
-
<img id="the_champ_sc_right_offset_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
470 |
-
<label for="the_champ_sc_right_offset"><?php _e("Right offset", 'super-socializer'); ?></label>
|
471 |
</th>
|
472 |
<td>
|
473 |
<input style="width: 100px" id="the_champ_sc_right_offset" name="the_champ_counter[right_offset]" type="text" value="<?php echo isset($theChampCounterOptions['right_offset']) ? $theChampCounterOptions['right_offset'] : '' ?>" />px
|
@@ -485,8 +470,7 @@
|
|
485 |
|
486 |
<tr>
|
487 |
<th>
|
488 |
-
<img id="the_champ_sc_top_offset_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
489 |
-
<label for="the_champ_sc_top_offset"><?php _e("Top offset", 'super-socializer'); ?></label>
|
490 |
</th>
|
491 |
<td>
|
492 |
<input style="width: 100px" id="the_champ_sc_top_offset" name="the_champ_counter[top_offset]" type="text" value="<?php echo isset($theChampCounterOptions['top_offset']) ? $theChampCounterOptions['top_offset'] : '' ?>" />px
|
@@ -503,8 +487,7 @@
|
|
503 |
|
504 |
<tr>
|
505 |
<th>
|
506 |
-
<img id="the_champ_sc_vertical_location_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
507 |
-
<label><?php _e("Interface location", 'super-socializer'); ?></label>
|
508 |
</th>
|
509 |
<td>
|
510 |
<input id="the_champ_counter_vertical_home" name="the_champ_counter[vertical_home]" type="checkbox" <?php echo isset($theChampCounterOptions['vertical_home']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -559,8 +542,7 @@
|
|
559 |
|
560 |
<tr>
|
561 |
<th>
|
562 |
-
<img id="the_champ_ss_mobile_likeb_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
563 |
-
<label for="the_champ_ss_mobile_likeb"><?php _e("Hide like buttons on mobile devices", 'super-socializer'); ?></label>
|
564 |
</th>
|
565 |
<td>
|
566 |
<input id="the_champ_ss_mobile_likeb" name="the_champ_counter[hide_mobile_likeb]" type="checkbox" <?php echo isset($theChampCounterOptions['hide_mobile_likeb']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -594,8 +576,7 @@
|
|
594 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
595 |
<tr>
|
596 |
<th>
|
597 |
-
<img id="the_champ_surl_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
598 |
-
<label for="the_champ_surl_enable"><?php _e("Use shortlinks already installed, for tweet button", 'super-socializer'); ?></label>
|
599 |
</th>
|
600 |
<td>
|
601 |
<input id="the_champ_surl_enable" name="the_champ_counter[use_shortlinks]" type="checkbox" <?php echo isset($theChampCounterOptions['use_shortlinks']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -612,8 +593,7 @@
|
|
612 |
|
613 |
<tr>
|
614 |
<th>
|
615 |
-
<img id="the_champ_sc_bitly_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
616 |
-
<label for="the_champ_sc_bitly_enable"><?php _e("Enable bit.ly url shortener for tweet button", 'super-socializer'); ?></label>
|
617 |
</th>
|
618 |
<td>
|
619 |
<input id="the_champ_sc_bitly_enable" name="the_champ_counter[bitly_enable]" type="checkbox" <?php echo isset($theChampCounterOptions['bitly_enable']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -630,8 +610,7 @@
|
|
630 |
|
631 |
<tr>
|
632 |
<th>
|
633 |
-
<img id="the_champ_sc_bitly_login_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
634 |
-
<label for="the_champ_sc_bitly_login"><?php _e("bit.ly username", 'super-socializer'); ?></label>
|
635 |
</th>
|
636 |
<td>
|
637 |
<input id="the_champ_sc_bitly_login" name="the_champ_counter[bitly_username]" type="text" value="<?php echo isset($theChampCounterOptions['bitly_username']) ? $theChampCounterOptions['bitly_username'] : '' ?>" />
|
@@ -649,8 +628,7 @@
|
|
649 |
|
650 |
<tr>
|
651 |
<th>
|
652 |
-
<img id="the_champ_sc_bitly_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
653 |
-
<label for="the_champ_sc_bitly_key"><?php _e("bit.ly API Key", 'super-socializer'); ?></label>
|
654 |
</th>
|
655 |
<td>
|
656 |
<input id="the_champ_sc_bitly_key" name="the_champ_counter[bitly_key]" type="text" value="<?php echo isset($theChampCounterOptions['bitly_key']) ? $theChampCounterOptions['bitly_key'] : '' ?>" />
|
@@ -668,8 +646,7 @@
|
|
668 |
|
669 |
<tr>
|
670 |
<th>
|
671 |
-
<img id="the_champ_clear_shorturl_cache_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
672 |
-
<input type="button" class="button-primary" value="<?php _e('Clear Bitly Cache', 'super-socializer') ?>" onclick="theChampClearShorturlCache()" />
|
673 |
</th>
|
674 |
<td>
|
675 |
<img src="<?php echo plugins_url('../images/ajax_loader.gif', __FILE__) ?>" id="shorturl_cache_loading" style="display:none" />
|
@@ -694,8 +671,7 @@
|
|
694 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
695 |
<tr>
|
696 |
<th>
|
697 |
-
<img id="the_champ_sc_language_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
698 |
-
<label for="the_champ_sc_language"><?php _e("Language", 'super-socializer'); ?></label>
|
699 |
</th>
|
700 |
<td>
|
701 |
<input id="the_champ_sc_language" name="the_champ_counter[language]" type="text" value="<?php echo isset($theChampCounterOptions['language']) ? $theChampCounterOptions['language'] : '' ?>" />
|
@@ -719,8 +695,7 @@
|
|
719 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
720 |
<tr>
|
721 |
<th>
|
722 |
-
<img id="the_champ_sc_twitter_username_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
723 |
-
<label for="the_champ_sc_twitter_username"><?php _e("Twitter username for Tweet (without @)", 'super-socializer'); ?></label>
|
724 |
</th>
|
725 |
<td>
|
726 |
<input id="the_champ_sc_twitter_username" name="the_champ_counter[twitter_username]" type="text" value="<?php echo isset($theChampCounterOptions['twitter_username']) ? $theChampCounterOptions['twitter_username'] : '' ?>" />
|
@@ -738,8 +713,7 @@
|
|
738 |
|
739 |
<tr>
|
740 |
<th>
|
741 |
-
<img id="the_champ_sc_buffer_username_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
742 |
-
<label for="the_champ_sc_buffer_username"><?php _e("Twitter username for Buffer sharing (without @)", 'super-socializer'); ?></label>
|
743 |
</th>
|
744 |
<td>
|
745 |
<input id="the_champ_sc_buffer_username" name="the_champ_counter[buffer_username]" type="text" value="<?php echo isset($theChampCounterOptions['buffer_username']) ? $theChampCounterOptions['buffer_username'] : '' ?>" />
|
@@ -773,8 +747,7 @@
|
|
773 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
774 |
<tr>
|
775 |
<th>
|
776 |
-
<img id="the_champ_mycred_referral_id_like_button_help" class="the_champ_help_bubble" src="<?php echo plugins_url( '../images/info.png', __FILE__ ) ?>"
|
777 |
-
<label for="the_champ_mycred_referral_id_like_button"><?php _e("Append myCRED referral ID to the urls being shared", 'super-socializer'); ?></label>
|
778 |
</th>
|
779 |
<td>
|
780 |
<input id="the_champ_mycred_referral_id_like_button" name="the_champ_counter[mycred_referral]" type="checkbox" <?php echo isset( $theChampCounterOptions['mycred_referral'] ) ? 'checked = "checked"' : '';?> value="1" />
|
16 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
17 |
<tr>
|
18 |
<th>
|
19 |
+
<label for="the_champ_counter_enable"><?php _e("Enable Like Buttons", 'super-socializer'); ?><img id="the_champ_sc_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
20 |
</th>
|
21 |
<td>
|
22 |
<input id="the_champ_counter_enable" name="the_champ_counter[enable]" type="checkbox" <?php echo isset($theChampCounterOptions['enable']) ? 'checked = "checked"' : '';?> value="1" />
|
61 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
62 |
<tr>
|
63 |
<th>
|
64 |
+
<label for="the_champ_sc_horizontal_enable"><?php _e("Enable standard interface", 'super-socializer'); ?><img id="the_champ_sc_horizontal_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
65 |
</th>
|
66 |
<td>
|
67 |
<input id="the_champ_sc_horizontal_enable" onclick="theChampHorizontalCounterOptionsToggle(this)" name="the_champ_counter[hor_enable]" type="checkbox" <?php echo isset($theChampCounterOptions['hor_enable']) ? 'checked = "checked"' : '';?> value="1" />
|
80 |
<tbody id="the_champ_horizontal_counter_options" <?php echo isset($theChampCounterOptions['hor_enable']) ? '' : 'style="display: none"'; ?>>
|
81 |
<tr>
|
82 |
<th>
|
83 |
+
<label for="the_champ_sc_target_url"><?php _e("Target Url", 'super-socializer'); ?><img id="the_champ_sc_horizontal_target_url_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
84 |
</th>
|
85 |
<td id="the_champ_target_url_column">
|
86 |
<input id="the_champ_target_url_default" name="the_champ_counter[horizontal_target_url]" type="radio" <?php echo !isset($theChampCounterOptions['horizontal_target_url']) || $theChampCounterOptions['horizontal_target_url'] == 'default' ? 'checked = "checked"' : '';?> value="default" />
|
102 |
|
103 |
<tr>
|
104 |
<th>
|
105 |
+
<label for="the_champ_fblogin_title"><?php _e("Title", 'super-socializer'); ?><img id="the_champ_sc_title_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
106 |
</th>
|
107 |
<td>
|
108 |
<input id="the_champ_fblogin_title" name="the_champ_counter[title]" type="text" value="<?php echo isset($theChampCounterOptions['title']) ? $theChampCounterOptions['title'] : '' ?>" />
|
119 |
|
120 |
<tr>
|
121 |
<th>
|
122 |
+
<label><?php _e("Select and rearrange providers", 'super-socializer'); ?><img id="the_champ_sc_providers_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
123 |
</th>
|
124 |
<td>
|
125 |
<ul id="the_champ_sc_rearrange">
|
170 |
|
171 |
<tr>
|
172 |
<th>
|
173 |
+
<label for="the_champ_sc_hor_alignment"><?php _e("Horizontal alignment", 'super-socializer'); ?><img id="the_champ_sc_hor_alignment_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
174 |
</th>
|
175 |
<td>
|
176 |
<select id="the_champ_sc_hor_alignment" name="the_champ_counter[hor_counter_alignment]">
|
191 |
|
192 |
<tr>
|
193 |
<th>
|
194 |
+
<label><?php _e("Position with respect to content", 'super-socializer'); ?><img id="the_champ_sc_position_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
195 |
</th>
|
196 |
<td>
|
197 |
<input id="the_champ_counter_top" name="the_champ_counter[top]" type="checkbox" <?php echo isset($theChampCounterOptions['top']) ? 'checked = "checked"' : '';?> value="1" />
|
211 |
|
212 |
<tr>
|
213 |
<th>
|
214 |
+
<label><?php _e("Interface location", 'super-socializer'); ?><img id="the_champ_sc_location_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
215 |
</th>
|
216 |
<td>
|
217 |
<input id="the_champ_counter_home" name="the_champ_counter[home]" type="checkbox" <?php echo isset($theChampCounterOptions['home']) ? 'checked = "checked"' : '';?> value="1" />
|
304 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
305 |
<tr>
|
306 |
<th>
|
307 |
+
<label for="the_champ_sc_vertical_enable"><?php _e("Enable floating like buttons", 'super-socializer'); ?><img id="the_champ_sc_vertical_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
308 |
</th>
|
309 |
<td>
|
310 |
<input id="the_champ_sc_vertical_enable" onclick="theChampVerticalCounterOptionsToggle(this)" name="the_champ_counter[vertical_enable]" type="checkbox" <?php echo isset($theChampCounterOptions['vertical_enable']) ? 'checked = "checked"' : '';?> value="1" />
|
323 |
<tbody id="the_champ_vertical_counter_options" <?php echo isset($theChampCounterOptions['vertical_enable']) ? '' : 'style="display: none"'; ?>>
|
324 |
<tr>
|
325 |
<th>
|
326 |
+
<label for="the_champ_sc_vertical_target_url"><?php _e("Target Url", 'super-socializer'); ?><img id="the_champ_sc_vertical_target_url_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
327 |
</th>
|
328 |
<td id="the_champ_vertical_target_url_column">
|
329 |
<input id="the_champ_vertical_target_url_default" name="the_champ_counter[vertical_target_url]" type="radio" <?php echo !isset($theChampCounterOptions['vertical_target_url']) || $theChampCounterOptions['vertical_target_url'] == 'default' ? 'checked = "checked"' : '';?> value="default" />
|
345 |
|
346 |
<tr>
|
347 |
<th>
|
348 |
+
<label><?php _e("Select and rearrange providers", 'super-socializer'); ?><img id="the_champ_sc_vertical_providers_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
349 |
</th>
|
350 |
<td>
|
351 |
<ul id="the_champ_sc_vertical_rearrange">
|
395 |
|
396 |
<tr>
|
397 |
<th>
|
398 |
+
<label for="the_champ_sc_vertical_bg_color"><?php _e("Background Color", 'super-socializer'); ?><img id="the_champ_sc_vertical_bg_color_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
399 |
</th>
|
400 |
<td>
|
401 |
<input id="the_champ_sc_vertical_bg_color" style="width: 100px" name="the_champ_counter[vertical_bg]" type="text" value="<?php echo isset($theChampCounterOptions['vertical_bg']) ? $theChampCounterOptions['vertical_bg'] : '' ?>" />
|
412 |
|
413 |
<tr>
|
414 |
<th>
|
415 |
+
<label for="the_champ_sc_alignment"><?php _e("Horizontal alignment", 'super-socializer'); ?><img id="the_champ_sc_alignment_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
416 |
</th>
|
417 |
<td>
|
418 |
<select onchange="theChampToggleOffset(this.value)" id="the_champ_sc_alignment" name="the_champ_counter[alignment]">
|
433 |
<tbody id="the_champ_sc_left_offset_rows" <?php echo (isset($theChampCounterOptions['alignment']) && $theChampCounterOptions['alignment'] == 'left') ? '' : 'style="display: none"' ?>>
|
434 |
<tr>
|
435 |
<th>
|
436 |
+
<label for="the_champ_sc_left_offset"><?php _e("Left offset", 'super-socializer'); ?><img id="the_champ_sc_left_offset_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
437 |
</th>
|
438 |
<td>
|
439 |
<input style="width: 100px" id="the_champ_sc_left_offset" name="the_champ_counter[left_offset]" type="text" value="<?php echo isset($theChampCounterOptions['left_offset']) ? $theChampCounterOptions['left_offset'] : '' ?>" />px
|
452 |
<tbody id="the_champ_sc_right_offset_rows" <?php echo (isset($theChampCounterOptions['alignment']) && $theChampCounterOptions['alignment'] == 'right') ? '' : 'style="display: none"' ?>>
|
453 |
<tr>
|
454 |
<th>
|
455 |
+
<label for="the_champ_sc_right_offset"><?php _e("Right offset", 'super-socializer'); ?><img id="the_champ_sc_right_offset_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
456 |
</th>
|
457 |
<td>
|
458 |
<input style="width: 100px" id="the_champ_sc_right_offset" name="the_champ_counter[right_offset]" type="text" value="<?php echo isset($theChampCounterOptions['right_offset']) ? $theChampCounterOptions['right_offset'] : '' ?>" />px
|
470 |
|
471 |
<tr>
|
472 |
<th>
|
473 |
+
<label for="the_champ_sc_top_offset"><?php _e("Top offset", 'super-socializer'); ?><img id="the_champ_sc_top_offset_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
474 |
</th>
|
475 |
<td>
|
476 |
<input style="width: 100px" id="the_champ_sc_top_offset" name="the_champ_counter[top_offset]" type="text" value="<?php echo isset($theChampCounterOptions['top_offset']) ? $theChampCounterOptions['top_offset'] : '' ?>" />px
|
487 |
|
488 |
<tr>
|
489 |
<th>
|
490 |
+
<label><?php _e("Interface location", 'super-socializer'); ?><img id="the_champ_sc_vertical_location_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
491 |
</th>
|
492 |
<td>
|
493 |
<input id="the_champ_counter_vertical_home" name="the_champ_counter[vertical_home]" type="checkbox" <?php echo isset($theChampCounterOptions['vertical_home']) ? 'checked = "checked"' : '';?> value="1" />
|
542 |
|
543 |
<tr>
|
544 |
<th>
|
545 |
+
<label for="the_champ_ss_mobile_likeb"><?php _e("Hide like buttons on mobile devices", 'super-socializer'); ?><img id="the_champ_ss_mobile_likeb_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
546 |
</th>
|
547 |
<td>
|
548 |
<input id="the_champ_ss_mobile_likeb" name="the_champ_counter[hide_mobile_likeb]" type="checkbox" <?php echo isset($theChampCounterOptions['hide_mobile_likeb']) ? 'checked = "checked"' : '';?> value="1" />
|
576 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
577 |
<tr>
|
578 |
<th>
|
579 |
+
<label for="the_champ_surl_enable"><?php _e("Use shortlinks already installed, for tweet button", 'super-socializer'); ?><img id="the_champ_surl_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
580 |
</th>
|
581 |
<td>
|
582 |
<input id="the_champ_surl_enable" name="the_champ_counter[use_shortlinks]" type="checkbox" <?php echo isset($theChampCounterOptions['use_shortlinks']) ? 'checked = "checked"' : '';?> value="1" />
|
593 |
|
594 |
<tr>
|
595 |
<th>
|
596 |
+
<label for="the_champ_sc_bitly_enable"><?php _e("Enable bit.ly url shortener for tweet button", 'super-socializer'); ?><img id="the_champ_sc_bitly_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
597 |
</th>
|
598 |
<td>
|
599 |
<input id="the_champ_sc_bitly_enable" name="the_champ_counter[bitly_enable]" type="checkbox" <?php echo isset($theChampCounterOptions['bitly_enable']) ? 'checked = "checked"' : '';?> value="1" />
|
610 |
|
611 |
<tr>
|
612 |
<th>
|
613 |
+
<label for="the_champ_sc_bitly_login"><?php _e("bit.ly username", 'super-socializer'); ?><img id="the_champ_sc_bitly_login_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
614 |
</th>
|
615 |
<td>
|
616 |
<input id="the_champ_sc_bitly_login" name="the_champ_counter[bitly_username]" type="text" value="<?php echo isset($theChampCounterOptions['bitly_username']) ? $theChampCounterOptions['bitly_username'] : '' ?>" />
|
628 |
|
629 |
<tr>
|
630 |
<th>
|
631 |
+
<label for="the_champ_sc_bitly_key"><?php _e("bit.ly API Key", 'super-socializer'); ?><img id="the_champ_sc_bitly_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
632 |
</th>
|
633 |
<td>
|
634 |
<input id="the_champ_sc_bitly_key" name="the_champ_counter[bitly_key]" type="text" value="<?php echo isset($theChampCounterOptions['bitly_key']) ? $theChampCounterOptions['bitly_key'] : '' ?>" />
|
646 |
|
647 |
<tr>
|
648 |
<th>
|
649 |
+
<input type="button" class="button-primary" value="<?php _e('Clear Bitly Cache', 'super-socializer') ?>" onclick="theChampClearShorturlCache()" /><img id="the_champ_clear_shorturl_cache_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
|
|
650 |
</th>
|
651 |
<td>
|
652 |
<img src="<?php echo plugins_url('../images/ajax_loader.gif', __FILE__) ?>" id="shorturl_cache_loading" style="display:none" />
|
671 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
672 |
<tr>
|
673 |
<th>
|
674 |
+
<label for="the_champ_sc_language"><?php _e("Language", 'super-socializer'); ?><img id="the_champ_sc_language_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
675 |
</th>
|
676 |
<td>
|
677 |
<input id="the_champ_sc_language" name="the_champ_counter[language]" type="text" value="<?php echo isset($theChampCounterOptions['language']) ? $theChampCounterOptions['language'] : '' ?>" />
|
695 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
696 |
<tr>
|
697 |
<th>
|
698 |
+
<label for="the_champ_sc_twitter_username"><?php _e("Twitter username for Tweet (without @)", 'super-socializer'); ?><img id="the_champ_sc_twitter_username_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
699 |
</th>
|
700 |
<td>
|
701 |
<input id="the_champ_sc_twitter_username" name="the_champ_counter[twitter_username]" type="text" value="<?php echo isset($theChampCounterOptions['twitter_username']) ? $theChampCounterOptions['twitter_username'] : '' ?>" />
|
713 |
|
714 |
<tr>
|
715 |
<th>
|
716 |
+
<label for="the_champ_sc_buffer_username"><?php _e("Twitter username for Buffer sharing (without @)", 'super-socializer'); ?><img id="the_champ_sc_buffer_username_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
717 |
</th>
|
718 |
<td>
|
719 |
<input id="the_champ_sc_buffer_username" name="the_champ_counter[buffer_username]" type="text" value="<?php echo isset($theChampCounterOptions['buffer_username']) ? $theChampCounterOptions['buffer_username'] : '' ?>" />
|
747 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
748 |
<tr>
|
749 |
<th>
|
750 |
+
<label for="the_champ_mycred_referral_id_like_button"><?php _e("Append myCRED referral ID to the urls being shared", 'super-socializer'); ?><img id="the_champ_mycred_referral_id_like_button_help" class="the_champ_help_bubble" src="<?php echo plugins_url( '../images/info.png', __FILE__ ) ?>" /></label>
|
|
|
751 |
</th>
|
752 |
<td>
|
753 |
<input id="the_champ_mycred_referral_id_like_button" name="the_champ_counter[mycred_referral]" type="checkbox" <?php echo isset( $theChampCounterOptions['mycred_referral'] ) ? 'checked = "checked"' : '';?> value="1" />
|
admin/social_commenting.php
CHANGED
@@ -49,8 +49,7 @@
|
|
49 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
50 |
<tr>
|
51 |
<th>
|
52 |
-
<img id="the_champ_commenting_tab_order_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
53 |
-
<label for="the_champ_commenting_tab_order"><?php _e("Order of tabs in commenting interface", 'super-socializer'); ?></label>
|
54 |
</th>
|
55 |
<td>
|
56 |
<input id="the_champ_commenting_tab_order" name="the_champ_facebook[commenting_order]" type="text" value="<?php echo isset($theChampFacebookOptions['commenting_order']) ? $theChampFacebookOptions['commenting_order'] : '';?>" />
|
@@ -67,8 +66,7 @@
|
|
67 |
|
68 |
<tr>
|
69 |
<th>
|
70 |
-
<img id="the_champ_commenting_title_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
71 |
-
<label for="the_champ_commenting_title"><?php _e("Comment area label", 'super-socializer'); ?></label>
|
72 |
</th>
|
73 |
<td>
|
74 |
<input id="the_champ_commenting_title" name="the_champ_facebook[commenting_label]" type="text" value="<?php echo isset($theChampFacebookOptions['commenting_label']) ? $theChampFacebookOptions['commenting_label'] : '';?>" />
|
@@ -90,8 +88,7 @@
|
|
90 |
?>
|
91 |
<tr>
|
92 |
<th>
|
93 |
-
<img id="the_champ_comments_location_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
94 |
-
<label><?php _e("Enable Social Commenting at", 'super-socializer'); ?></label>
|
95 |
</th>
|
96 |
<td>
|
97 |
<?php
|
@@ -120,8 +117,7 @@
|
|
120 |
|
121 |
<tr>
|
122 |
<th>
|
123 |
-
<img id="the_champ_commenting_id_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
124 |
-
<label><?php _e("HTML ID of comment form container", 'super-socializer'); ?></label>
|
125 |
</th>
|
126 |
<td>
|
127 |
<input id="the_champ_commenting_id" name="the_champ_facebook[commenting_id]" type="text" value="<?php echo isset($theChampFacebookOptions['commenting_id']) ? $theChampFacebookOptions['commenting_id'] : '';?>" />
|
@@ -188,8 +184,7 @@
|
|
188 |
|
189 |
<tr>
|
190 |
<th>
|
191 |
-
<img id="the_champ_fb_comment_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
192 |
-
<label for="the_champ_enable_fbcomments"><?php _e("Enable Facebook Commenting", 'super-socializer'); ?></label>
|
193 |
</th>
|
194 |
<td>
|
195 |
<input id="the_champ_enable_fbcomments" name="the_champ_facebook[enable_fbcomments]" type="checkbox" <?php echo isset($theChampFacebookOptions['enable_fbcomments']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -206,8 +201,7 @@
|
|
206 |
|
207 |
<tr>
|
208 |
<th>
|
209 |
-
<img id="the_champ_fb_comment_url_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
210 |
-
<label for="the_champ_comment_url"><?php _e('Url to comment on', 'super-socializer'); ?></label>
|
211 |
</th>
|
212 |
<td>
|
213 |
<input id="the_champ_comment_url" name="the_champ_facebook[urlToComment]" type="text" value="<?php echo isset($theChampFacebookOptions['urlToComment']) ? $theChampFacebookOptions['urlToComment'] : '' ?>" />
|
@@ -232,8 +226,7 @@
|
|
232 |
|
233 |
<tr>
|
234 |
<th>
|
235 |
-
<img id="the_champ_fb_comment_width_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
236 |
-
<label for="the_champ_fbcomment_width"><?php _e('Width', 'super-socializer'); ?></label>
|
237 |
</th>
|
238 |
<td>
|
239 |
<input id="the_champ_fbcomment_width" name="the_champ_facebook[comment_width]" type="text" value="<?php echo isset($theChampFacebookOptions['comment_width']) ? $theChampFacebookOptions['comment_width'] : '' ?>" />px
|
@@ -250,8 +243,7 @@
|
|
250 |
|
251 |
<tr>
|
252 |
<th>
|
253 |
-
<img id="the_champ_fb_comment_color_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
254 |
-
<label for="the_champ_fbcomment_color"><?php _e('Color Scheme', 'super-socializer'); ?></label>
|
255 |
</th>
|
256 |
<td>
|
257 |
<select id="the_champ_fbcomment_color" name="the_champ_facebook[comment_color]">
|
@@ -271,8 +263,7 @@
|
|
271 |
|
272 |
<tr>
|
273 |
<th>
|
274 |
-
<img id="the_champ_fb_comment_numposts_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
275 |
-
<label for="the_champ_fbcomment_numposts"><?php _e('Number of comments', 'super-socializer'); ?></label>
|
276 |
</th>
|
277 |
<td>
|
278 |
<input id="the_champ_fbcomment_numposts" name="the_champ_facebook[comment_numposts]" type="text" value="<?php echo isset($theChampFacebookOptions['comment_numposts']) ? $theChampFacebookOptions['comment_numposts'] : '' ?>" />
|
@@ -289,8 +280,7 @@
|
|
289 |
|
290 |
<tr>
|
291 |
<th>
|
292 |
-
<img id="the_champ_fb_comment_orderby_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
293 |
-
<label for="the_champ_fbcomment_orderby"><?php _e('Order by', 'super-socializer'); ?></label>
|
294 |
</th>
|
295 |
<td>
|
296 |
<select id="the_champ_fbcomment_orderby" name="the_champ_facebook[comment_orderby]">
|
@@ -311,8 +301,7 @@
|
|
311 |
|
312 |
<tr>
|
313 |
<th>
|
314 |
-
<img id="the_champ_fb_comment_lang_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
315 |
-
<label for="the_champ_fbcomment_lang"><?php _e('Language', 'super-socializer'); ?></label>
|
316 |
</th>
|
317 |
<td>
|
318 |
<input id="the_champ_fbcomment_lang" name="the_champ_facebook[comment_lang]" type="text" value="<?php echo isset($theChampFacebookOptions['comment_lang']) ? $theChampFacebookOptions['comment_lang'] : '' ?>" />
|
@@ -336,8 +325,7 @@
|
|
336 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
337 |
<tr>
|
338 |
<th>
|
339 |
-
<img id="the_champ_enable_dqcomments_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
340 |
-
<label for="the_champ_enable_dqcomments"><?php _e("Enable Disqus Commenting", 'super-socializer'); ?></label>
|
341 |
</th>
|
342 |
<td>
|
343 |
<input id="the_champ_enable_dqcomments" name="the_champ_facebook[enable_disquscomments]" type="checkbox" <?php echo isset($theChampFacebookOptions['enable_disquscomments']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -354,8 +342,7 @@
|
|
354 |
|
355 |
<tr>
|
356 |
<th>
|
357 |
-
<img id="the_champ_commenting_dq_shortname_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
358 |
-
<label for="the_champ_commenting_dq_shortname"><?php _e("Disqus Shortname", 'super-socializer'); ?></label>
|
359 |
</th>
|
360 |
<td>
|
361 |
<input id="the_champ_commenting_dq_shortname" name="the_champ_facebook[dq_shortname]" type="text" value="<?php echo isset($theChampFacebookOptions['dq_shortname']) ? $theChampFacebookOptions['dq_shortname'] : ''; ?>" />
|
49 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
50 |
<tr>
|
51 |
<th>
|
52 |
+
<label for="the_champ_commenting_tab_order"><?php _e("Order of tabs in commenting interface", 'super-socializer'); ?><img id="the_champ_commenting_tab_order_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
53 |
</th>
|
54 |
<td>
|
55 |
<input id="the_champ_commenting_tab_order" name="the_champ_facebook[commenting_order]" type="text" value="<?php echo isset($theChampFacebookOptions['commenting_order']) ? $theChampFacebookOptions['commenting_order'] : '';?>" />
|
66 |
|
67 |
<tr>
|
68 |
<th>
|
69 |
+
<label for="the_champ_commenting_title"><?php _e("Comment area label", 'super-socializer'); ?><img id="the_champ_commenting_title_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
70 |
</th>
|
71 |
<td>
|
72 |
<input id="the_champ_commenting_title" name="the_champ_facebook[commenting_label]" type="text" value="<?php echo isset($theChampFacebookOptions['commenting_label']) ? $theChampFacebookOptions['commenting_label'] : '';?>" />
|
88 |
?>
|
89 |
<tr>
|
90 |
<th>
|
91 |
+
<label><?php _e("Enable Social Commenting at", 'super-socializer'); ?><img id="the_champ_comments_location_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
92 |
</th>
|
93 |
<td>
|
94 |
<?php
|
117 |
|
118 |
<tr>
|
119 |
<th>
|
120 |
+
<label><?php _e("HTML ID of comment form container", 'super-socializer'); ?><img id="the_champ_commenting_id_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
121 |
</th>
|
122 |
<td>
|
123 |
<input id="the_champ_commenting_id" name="the_champ_facebook[commenting_id]" type="text" value="<?php echo isset($theChampFacebookOptions['commenting_id']) ? $theChampFacebookOptions['commenting_id'] : '';?>" />
|
184 |
|
185 |
<tr>
|
186 |
<th>
|
187 |
+
<label for="the_champ_enable_fbcomments"><?php _e("Enable Facebook Commenting", 'super-socializer'); ?><img id="the_champ_fb_comment_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
188 |
</th>
|
189 |
<td>
|
190 |
<input id="the_champ_enable_fbcomments" name="the_champ_facebook[enable_fbcomments]" type="checkbox" <?php echo isset($theChampFacebookOptions['enable_fbcomments']) ? 'checked = "checked"' : '';?> value="1" />
|
201 |
|
202 |
<tr>
|
203 |
<th>
|
204 |
+
<label for="the_champ_comment_url"><?php _e('Url to comment on', 'super-socializer'); ?><img id="the_champ_fb_comment_url_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
205 |
</th>
|
206 |
<td>
|
207 |
<input id="the_champ_comment_url" name="the_champ_facebook[urlToComment]" type="text" value="<?php echo isset($theChampFacebookOptions['urlToComment']) ? $theChampFacebookOptions['urlToComment'] : '' ?>" />
|
226 |
|
227 |
<tr>
|
228 |
<th>
|
229 |
+
<label for="the_champ_fbcomment_width"><?php _e('Width', 'super-socializer'); ?><img id="the_champ_fb_comment_width_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
230 |
</th>
|
231 |
<td>
|
232 |
<input id="the_champ_fbcomment_width" name="the_champ_facebook[comment_width]" type="text" value="<?php echo isset($theChampFacebookOptions['comment_width']) ? $theChampFacebookOptions['comment_width'] : '' ?>" />px
|
243 |
|
244 |
<tr>
|
245 |
<th>
|
246 |
+
<label for="the_champ_fbcomment_color"><?php _e('Color Scheme', 'super-socializer'); ?><img id="the_champ_fb_comment_color_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
247 |
</th>
|
248 |
<td>
|
249 |
<select id="the_champ_fbcomment_color" name="the_champ_facebook[comment_color]">
|
263 |
|
264 |
<tr>
|
265 |
<th>
|
266 |
+
<label for="the_champ_fbcomment_numposts"><?php _e('Number of comments', 'super-socializer'); ?><img id="the_champ_fb_comment_numposts_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
267 |
</th>
|
268 |
<td>
|
269 |
<input id="the_champ_fbcomment_numposts" name="the_champ_facebook[comment_numposts]" type="text" value="<?php echo isset($theChampFacebookOptions['comment_numposts']) ? $theChampFacebookOptions['comment_numposts'] : '' ?>" />
|
280 |
|
281 |
<tr>
|
282 |
<th>
|
283 |
+
<label for="the_champ_fbcomment_orderby"><?php _e('Order by', 'super-socializer'); ?><img id="the_champ_fb_comment_orderby_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
284 |
</th>
|
285 |
<td>
|
286 |
<select id="the_champ_fbcomment_orderby" name="the_champ_facebook[comment_orderby]">
|
301 |
|
302 |
<tr>
|
303 |
<th>
|
304 |
+
<label for="the_champ_fbcomment_lang"><?php _e('Language', 'super-socializer'); ?><img id="the_champ_fb_comment_lang_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
305 |
</th>
|
306 |
<td>
|
307 |
<input id="the_champ_fbcomment_lang" name="the_champ_facebook[comment_lang]" type="text" value="<?php echo isset($theChampFacebookOptions['comment_lang']) ? $theChampFacebookOptions['comment_lang'] : '' ?>" />
|
325 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
326 |
<tr>
|
327 |
<th>
|
328 |
+
<label for="the_champ_enable_dqcomments"><?php _e("Enable Disqus Commenting", 'super-socializer'); ?><img id="the_champ_enable_dqcomments_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
329 |
</th>
|
330 |
<td>
|
331 |
<input id="the_champ_enable_dqcomments" name="the_champ_facebook[enable_disquscomments]" type="checkbox" <?php echo isset($theChampFacebookOptions['enable_disquscomments']) ? 'checked = "checked"' : '';?> value="1" />
|
342 |
|
343 |
<tr>
|
344 |
<th>
|
345 |
+
<label for="the_champ_commenting_dq_shortname"><?php _e("Disqus Shortname", 'super-socializer'); ?><img id="the_champ_commenting_dq_shortname_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
346 |
</th>
|
347 |
<td>
|
348 |
<input id="the_champ_commenting_dq_shortname" name="the_champ_facebook[dq_shortname]" type="text" value="<?php echo isset($theChampFacebookOptions['dq_shortname']) ? $theChampFacebookOptions['dq_shortname'] : ''; ?>" />
|
admin/social_login.php
CHANGED
@@ -15,8 +15,7 @@
|
|
15 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
16 |
<tr>
|
17 |
<th>
|
18 |
-
<img id="the_champ_sl_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
19 |
-
<label for="the_champ_login_enable"><?php _e("Enable Social Login", 'super-socializer'); ?></label>
|
20 |
</th>
|
21 |
<td>
|
22 |
<input id="the_champ_login_enable" name="the_champ_login[enable]" type="checkbox" <?php echo isset($theChampLoginOptions['enable']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -60,8 +59,7 @@
|
|
60 |
|
61 |
<tr>
|
62 |
<th>
|
63 |
-
<img id="the_champ_sl_disable_reg_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
64 |
-
<label for="the_champ_sl_disable_reg"><?php _e("Disable user registration via Social Login", 'super-socializer'); ?></label>
|
65 |
</th>
|
66 |
<td>
|
67 |
<input id="the_champ_sl_disable_reg" name="the_champ_login[disable_reg]" onclick="if(this.checked){jQuery('#the_champ_disable_reg_options').css('display', 'table-row-group')}else{ jQuery('#the_champ_disable_reg_options').css('display', 'none') }" type="checkbox" <?php echo isset($theChampLoginOptions['disable_reg']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -79,8 +77,7 @@
|
|
79 |
<tbody id="the_champ_disable_reg_options" <?php echo !isset($theChampLoginOptions['disable_reg']) ? 'style = "display: none"' : '';?> >
|
80 |
<tr>
|
81 |
<th>
|
82 |
-
<img id="the_champ_sl_disable_reg_redirect_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
83 |
-
<label for="the_champ_sl_disable_reg_redirect"><?php _e("Redirection url", 'super-socializer'); ?></label>
|
84 |
</th>
|
85 |
<td>
|
86 |
<input id="the_champ_sl_disable_reg_redirect" name="the_champ_login[disable_reg_redirect]" type="text" value="<?php echo isset($theChampLoginOptions['disable_reg_redirect']) ? $theChampLoginOptions['disable_reg_redirect'] : '' ?>" />
|
@@ -98,8 +95,7 @@
|
|
98 |
|
99 |
<tr>
|
100 |
<th>
|
101 |
-
<img id="the_champ_sl_providers_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
102 |
-
<label><?php _e("Select Social Networks", 'super-socializer'); ?></label>
|
103 |
</th>
|
104 |
<td>
|
105 |
<div class="theChampHorizontalSharingProviderContainer">
|
@@ -157,8 +153,7 @@
|
|
157 |
|
158 |
<tr>
|
159 |
<th>
|
160 |
-
<img id="the_champ_slfb_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
161 |
-
<label for="the_champ_fblogin_key"><?php _e("Facebook App ID", 'super-socializer'); ?></label>
|
162 |
</th>
|
163 |
<td>
|
164 |
<input id="the_champ_fblogin_key" name="the_champ_login[fb_key]" type="text" value="<?php echo isset($theChampLoginOptions['fb_key']) ? $theChampLoginOptions['fb_key'] : '' ?>" />
|
@@ -179,8 +174,7 @@
|
|
179 |
|
180 |
<tr>
|
181 |
<th>
|
182 |
-
<img id="the_champ_slfb_secret_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
183 |
-
<label for="the_champ_fblogin_secret"><?php _e("Facebook App Secret", 'super-socializer'); ?></label>
|
184 |
</th>
|
185 |
<td>
|
186 |
<input id="the_champ_fblogin_secret" name="the_champ_login[fb_secret]" type="text" value="<?php echo isset($theChampLoginOptions['fb_secret']) ? $theChampLoginOptions['fb_secret'] : '' ?>" />
|
@@ -201,8 +195,7 @@
|
|
201 |
|
202 |
<tr>
|
203 |
<th>
|
204 |
-
<img id="the_champ_sltw_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
205 |
-
<label for="the_champ_twlogin_key"><?php _e("Twitter API Key", 'super-socializer'); ?></label>
|
206 |
</th>
|
207 |
<td>
|
208 |
<input id="the_champ_twlogin_key" name="the_champ_login[twitter_key]" type="text" value="<?php echo isset($theChampLoginOptions['twitter_key']) ? $theChampLoginOptions['twitter_key'] : '' ?>" />
|
@@ -227,8 +220,7 @@
|
|
227 |
|
228 |
<tr>
|
229 |
<th>
|
230 |
-
<img id="the_champ_sltw_secret_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
231 |
-
<label for="the_champ_twlogin_secret"><?php _e("Twitter API Secret", 'super-socializer'); ?></label>
|
232 |
</th>
|
233 |
<td>
|
234 |
<input id="the_champ_twlogin_secret" name="the_champ_login[twitter_secret]" type="text" value="<?php echo isset($theChampLoginOptions['twitter_secret']) ? $theChampLoginOptions['twitter_secret'] : '' ?>" />
|
@@ -253,8 +245,7 @@
|
|
253 |
|
254 |
<tr>
|
255 |
<th>
|
256 |
-
<img id="the_champ_slli_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
257 |
-
<label for="the_champ_lilogin_key"><?php _e("LinkedIn Client ID", 'super-socializer'); ?></label>
|
258 |
</th>
|
259 |
<td>
|
260 |
<input id="the_champ_lilogin_key" name="the_champ_login[li_key]" type="text" value="<?php echo isset($theChampLoginOptions['li_key']) ? $theChampLoginOptions['li_key'] : '' ?>" />
|
@@ -275,8 +266,7 @@
|
|
275 |
|
276 |
<tr>
|
277 |
<th>
|
278 |
-
<img id="the_champ_slli_secret_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
279 |
-
<label for="the_champ_lilogin_secret"><?php _e("LinkedIn Client Secret ", 'super-socializer'); ?></label>
|
280 |
</th>
|
281 |
<td>
|
282 |
<input id="the_champ_lilogin_secret" name="the_champ_login[li_secret]" type="text" value="<?php echo isset($theChampLoginOptions['li_secret']) ? $theChampLoginOptions['li_secret'] : '' ?>" />
|
@@ -297,8 +287,7 @@
|
|
297 |
|
298 |
<tr>
|
299 |
<th>
|
300 |
-
<img id="the_champ_slgp_id_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
301 |
-
<label for="the_champ_gplogin_key"><?php _e("Google Client ID", 'super-socializer'); ?></label>
|
302 |
</th>
|
303 |
<td>
|
304 |
<input id="the_champ_gplogin_key" name="the_champ_login[google_key]" type="text" value="<?php echo isset($theChampLoginOptions['google_key']) ? $theChampLoginOptions['google_key'] : '' ?>" />
|
@@ -319,8 +308,7 @@
|
|
319 |
|
320 |
<tr>
|
321 |
<th>
|
322 |
-
<img id="the_champ_slgp_secret_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
323 |
-
<label for="the_champ_gplogin_secret"><?php _e("Google Client Secret", 'super-socializer'); ?></label>
|
324 |
</th>
|
325 |
<td>
|
326 |
<input id="the_champ_gplogin_secret" name="the_champ_login[google_secret]" type="text" value="<?php echo isset($theChampLoginOptions['google_secret']) ? $theChampLoginOptions['google_secret'] : '' ?>" />
|
@@ -341,8 +329,7 @@
|
|
341 |
|
342 |
<tr>
|
343 |
<th>
|
344 |
-
<img id="the_champ_slvk_id_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
345 |
-
<label for="the_champ_vklogin_key"><?php _e("Vkontakte Application ID", 'super-socializer'); ?></label>
|
346 |
</th>
|
347 |
<td>
|
348 |
<input id="the_champ_vklogin_key" name="the_champ_login[vk_key]" type="text" value="<?php echo isset($theChampLoginOptions['vk_key']) ? $theChampLoginOptions['vk_key'] : '' ?>" />
|
@@ -363,8 +350,7 @@
|
|
363 |
|
364 |
<tr>
|
365 |
<th>
|
366 |
-
<img id="the_champ_slvk_secure_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
367 |
-
<label for="the_champ_vklogin_secure_key"><?php _e("Vkontakte Secure key", 'super-socializer'); ?></label>
|
368 |
</th>
|
369 |
<td>
|
370 |
<input id="the_champ_vklogin_secure_key" name="the_champ_login[vk_secure_key]" type="text" value="<?php echo isset($theChampLoginOptions['vk_secure_key']) ? $theChampLoginOptions['vk_secure_key'] : '' ?>" />
|
@@ -385,8 +371,7 @@
|
|
385 |
|
386 |
<tr>
|
387 |
<th>
|
388 |
-
<img id="the_champ_slinsta_id_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
389 |
-
<label for="the_champ_insta_key"><?php _e("Instagram Client ID", 'super-socializer'); ?></label>
|
390 |
</th>
|
391 |
<td>
|
392 |
<input id="the_champ_insta_key" name="the_champ_login[insta_id]" type="text" value="<?php echo isset($theChampLoginOptions['insta_id']) ? $theChampLoginOptions['insta_id'] : '' ?>" />
|
@@ -407,8 +392,7 @@
|
|
407 |
|
408 |
<tr>
|
409 |
<th>
|
410 |
-
<img id="the_champ_slxing_ck_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
411 |
-
<label for="the_champ_slxing_ck"><?php _e("Xing Consumer Key", 'super-socializer'); ?></label>
|
412 |
</th>
|
413 |
<td>
|
414 |
<input id="the_champ_slxing_ck" name="the_champ_login[xing_ck]" type="text" value="<?php echo isset($theChampLoginOptions['xing_ck']) ? $theChampLoginOptions['xing_ck'] : '' ?>" />
|
@@ -429,8 +413,7 @@
|
|
429 |
|
430 |
<tr>
|
431 |
<th>
|
432 |
-
<img id="the_champ_slxing_cs_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
433 |
-
<label for="the_champ_slxing_cs"><?php _e("Xing Consumer Secret", 'super-socializer'); ?></label>
|
434 |
</th>
|
435 |
<td>
|
436 |
<input id="the_champ_slxing_cs" name="the_champ_login[xing_cs]" type="text" value="<?php echo isset($theChampLoginOptions['xing_cs']) ? $theChampLoginOptions['xing_cs'] : '' ?>" />
|
@@ -451,8 +434,7 @@
|
|
451 |
|
452 |
<tr>
|
453 |
<th>
|
454 |
-
<img id="the_champ_sl_steam_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
455 |
-
<label for="the_champ_sl_steam_key"><?php _e("Steam API Key", 'super-socializer'); ?></label>
|
456 |
</th>
|
457 |
<td>
|
458 |
<input id="the_champ_sl_steam_key" name="the_champ_login[steam_api_key]" type="text" value="<?php echo isset($theChampLoginOptions['steam_api_key']) ? $theChampLoginOptions['steam_api_key'] : '' ?>" />
|
@@ -471,8 +453,7 @@
|
|
471 |
|
472 |
<tr>
|
473 |
<th>
|
474 |
-
<img id="the_champ_sl_twitch_id_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
475 |
-
<label for="the_champ_sl_twitch_id"><?php _e("Twitch Client ID", 'super-socializer'); ?></label>
|
476 |
</th>
|
477 |
<td>
|
478 |
<input id="the_champ_sl_twitch_id" name="the_champ_login[twitch_client_id]" type="text" value="<?php echo isset($theChampLoginOptions['twitch_client_id']) ? $theChampLoginOptions['twitch_client_id'] : '' ?>" />
|
@@ -493,8 +474,7 @@
|
|
493 |
|
494 |
<tr>
|
495 |
<th>
|
496 |
-
<img id="the_champ_sl_twitch_secret_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
497 |
-
<label for="the_champ_sl_twitch_secret"><?php _e("Twitch Client Secret", 'super-socializer'); ?></label>
|
498 |
</th>
|
499 |
<td>
|
500 |
<input id="the_champ_sl_twitch_secret" name="the_champ_login[twitch_client_secret]" type="text" value="<?php echo isset($theChampLoginOptions['twitch_client_secret']) ? $theChampLoginOptions['twitch_client_secret'] : '' ?>" />
|
@@ -528,8 +508,7 @@
|
|
528 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
529 |
<tr>
|
530 |
<th>
|
531 |
-
<img id="the_champ_sl_title_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
532 |
-
<label for="the_champ_fblogin_title"><?php _e("Title", 'super-socializer'); ?></label>
|
533 |
</th>
|
534 |
<td>
|
535 |
<input id="the_champ_fblogin_title" name="the_champ_login[title]" type="text" value="<?php echo isset($theChampLoginOptions['title']) ? $theChampLoginOptions['title'] : '' ?>" />
|
@@ -547,8 +526,7 @@
|
|
547 |
|
548 |
<tr>
|
549 |
<th>
|
550 |
-
<img id="the_champ_sl_same_tab_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
551 |
-
<label for="the_champ_sl_same_tab"><?php _e("Trigger social login in the same browser tab", 'super-socializer'); ?></label>
|
552 |
</th>
|
553 |
<td>
|
554 |
<input id="the_champ_sl_same_tab" name="the_champ_login[same_tab_login]" type="checkbox" <?php echo isset($theChampLoginOptions['same_tab_login']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -565,8 +543,7 @@
|
|
565 |
|
566 |
<tr>
|
567 |
<th>
|
568 |
-
<img id="the_champ_sl_align_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
569 |
-
<label for="the_champ_sl_align"><?php _e("Center align icons", 'super-socializer'); ?></label>
|
570 |
</th>
|
571 |
<td>
|
572 |
<input id="the_champ_sl_align" name="the_champ_login[center_align]" type="checkbox" <?php echo isset($theChampLoginOptions['center_align']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -583,8 +560,7 @@
|
|
583 |
|
584 |
<tr>
|
585 |
<th>
|
586 |
-
<img id="the_champ_sl_loginpage_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
587 |
-
<label for="the_champ_fblogin_enableAtLogin"><?php _e("Enable at login page", 'super-socializer'); ?></label>
|
588 |
</th>
|
589 |
<td>
|
590 |
<input id="the_champ_fblogin_enableAtLogin" name="the_champ_login[enableAtLogin]" type="checkbox" <?php echo isset($theChampLoginOptions['enableAtLogin']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -601,8 +577,7 @@
|
|
601 |
|
602 |
<tr>
|
603 |
<th>
|
604 |
-
<img id="the_champ_sl_regpage_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
605 |
-
<label for="the_champ_fblogin_enableAtRegister"><?php _e("Enable at register page", 'super-socializer'); ?></label>
|
606 |
</th>
|
607 |
<td>
|
608 |
<input id="the_champ_fblogin_enableAtRegister" name="the_champ_login[enableAtRegister]" type="checkbox" <?php echo isset($theChampLoginOptions['enableAtRegister']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -619,8 +594,7 @@
|
|
619 |
|
620 |
<tr>
|
621 |
<th>
|
622 |
-
<img id="the_champ_sl_cmntform_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
623 |
-
<label for="the_champ_fblogin_enableAtComment"><?php _e("Enable at comment form", 'super-socializer'); ?></label>
|
624 |
</th>
|
625 |
<td>
|
626 |
<input id="the_champ_fblogin_enableAtComment" name="the_champ_login[enableAtComment]" type="checkbox" <?php echo isset($theChampLoginOptions['enableAtComment']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -644,8 +618,7 @@
|
|
644 |
?>
|
645 |
<tr>
|
646 |
<th>
|
647 |
-
<img id="the_champ_sl_wc_before_form_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
648 |
-
<label for="the_champ_sl_wc_before_form"><?php _e("Enable before WooCommerce Customer Login Form", 'super-socializer'); ?></label>
|
649 |
</th>
|
650 |
<td>
|
651 |
<input id="the_champ_sl_wc_before_form" name="the_champ_login[enable_before_wc]" type="checkbox" <?php echo isset($theChampLoginOptions['enable_before_wc']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -662,8 +635,7 @@
|
|
662 |
|
663 |
<tr>
|
664 |
<th>
|
665 |
-
<img id="the_champ_sl_wc_after_form_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
666 |
-
<label for="the_champ_sl_wc_after_form"><?php _e("Enable at WooCommerce Customer Login Form", 'super-socializer'); ?></label>
|
667 |
</th>
|
668 |
<td>
|
669 |
<input id="the_champ_sl_wc_after_form" name="the_champ_login[enable_after_wc]" type="checkbox" <?php echo isset($theChampLoginOptions['enable_after_wc']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -680,8 +652,7 @@
|
|
680 |
|
681 |
<tr>
|
682 |
<th>
|
683 |
-
<img id="the_champ_sl_wc_register_form_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
684 |
-
<label for="the_champ_sl_wc_register_form"><?php _e("Enable at WooCommerce Customer Register Form", 'super-socializer'); ?></label>
|
685 |
</th>
|
686 |
<td>
|
687 |
<input id="the_champ_sl_wc_register_form" name="the_champ_login[enable_register_wc]" type="checkbox" <?php echo isset($theChampLoginOptions['enable_register_wc']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -698,8 +669,7 @@
|
|
698 |
|
699 |
<tr>
|
700 |
<th>
|
701 |
-
<img id="the_champ_sl_wc_checkout_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
702 |
-
<label for="the_champ_sl_wc_checkout"><?php _e("Enable at WooCommerce checkout page", 'super-socializer'); ?></label>
|
703 |
</th>
|
704 |
<td>
|
705 |
<input id="the_champ_sl_wc_checkout" name="the_champ_login[enable_wc_checkout]" type="checkbox" <?php echo isset($theChampLoginOptions['enable_wc_checkout']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -719,8 +689,7 @@
|
|
719 |
?>
|
720 |
<tr>
|
721 |
<th>
|
722 |
-
<img id="the_champ_approve_comment_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
723 |
-
<label for="the_champ_approve_comment"><?php _e("Auto-approve comments made by Social Login users", 'super-socializer'); ?></label>
|
724 |
</th>
|
725 |
<td>
|
726 |
<input id="the_champ_approve_comment" name="the_champ_login[autoApproveComment]" type="checkbox" <?php echo isset($theChampLoginOptions['autoApproveComment']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -740,8 +709,7 @@
|
|
740 |
?>
|
741 |
<tr>
|
742 |
<th>
|
743 |
-
<img id="the_champ_sl_avatar_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
744 |
-
<label for="the_champ_login_avatar"><?php _e("Enable social avatar", 'super-socializer'); ?></label>
|
745 |
</th>
|
746 |
<td>
|
747 |
<input id="the_champ_login_avatar" onclick="if(this.checked){jQuery('#the_champ_avatar_options').css('display', 'table-row-group')}else{ jQuery('#the_champ_avatar_options').css('display', 'none') }" name="the_champ_login[avatar]" type="checkbox" <?php echo isset($theChampLoginOptions['avatar']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -760,8 +728,7 @@
|
|
760 |
<tbody id="the_champ_avatar_options" <?php echo !isset($theChampLoginOptions['avatar']) ? 'style = "display: none"' : '';?> >
|
761 |
<tr>
|
762 |
<th>
|
763 |
-
<img id="the_champ_sl_avatar_quality_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
764 |
-
<label><?php _e("Avatar quality", 'super-socializer'); ?></label>
|
765 |
</th>
|
766 |
<td>
|
767 |
<input id="the_champ_login_average_avatar" name="the_champ_login[avatar_quality]" type="radio" <?php echo !isset($theChampLoginOptions['avatar_quality']) || $theChampLoginOptions['avatar_quality'] == 'average' ? 'checked = "checked"' : '';?> value="average" /> <label for="the_champ_login_average_avatar"><?php _e("Average", 'super-socializer'); ?></label><br/>
|
@@ -780,8 +747,7 @@
|
|
780 |
<?php if($theChampIsBpActive){ ?>
|
781 |
<tr>
|
782 |
<th>
|
783 |
-
<img id="the_champ_sl_avatar_options_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
784 |
-
<label for="the_champ_sl_avatar_options"><?php _e("Show option for users to update social avatar at BuddyPress profile page", 'super-socializer'); ?></label>
|
785 |
</th>
|
786 |
<td>
|
787 |
<input id="the_champ_sl_avatar_options" name="the_champ_login[avatar_options]" type="checkbox" <?php echo isset($theChampLoginOptions['avatar_options']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -801,8 +767,7 @@
|
|
801 |
|
802 |
<tr>
|
803 |
<th>
|
804 |
-
<img id="the_champ_sl_emailreq_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
805 |
-
<label for="the_champ_login_email_required"><?php _e("Email required", 'super-socializer'); ?></label>
|
806 |
</th>
|
807 |
<td>
|
808 |
<input onclick="theChampEmailPopupOptions(this)" id="the_champ_login_email_required" name="the_champ_login[email_required]" type="checkbox" <?php echo isset($theChampLoginOptions['email_required']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -820,8 +785,7 @@
|
|
820 |
|
821 |
<tr>
|
822 |
<th>
|
823 |
-
<img id="the_champ_sl_postreg_email_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
824 |
-
<label for="the_champ_password_email"><?php _e("Send post-registration email to user to set account password", 'super-socializer'); ?></label>
|
825 |
</th>
|
826 |
<td>
|
827 |
<input id="the_champ_password_email" name="the_champ_login[password_email]" type="checkbox" <?php echo isset($theChampLoginOptions['password_email']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -838,8 +802,7 @@
|
|
838 |
|
839 |
<tr>
|
840 |
<th>
|
841 |
-
<img id="the_champ_sl_postreg_admin_email_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
842 |
-
<label for="the_champ_sl_postreg_admin_email"><?php _e("Send new user registration notification email to admin", 'super-socializer'); ?></label>
|
843 |
</th>
|
844 |
<td>
|
845 |
<input id="the_champ_sl_postreg_admin_email" name="the_champ_login[new_user_admin_email]" type="checkbox" <?php echo isset($theChampLoginOptions['new_user_admin_email']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -856,8 +819,7 @@
|
|
856 |
|
857 |
<tr>
|
858 |
<th>
|
859 |
-
<img id="the_champ_sl_loginredirect_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
860 |
-
<label><?php _e("Login redirection", 'super-socializer'); ?></label>
|
861 |
</th>
|
862 |
<td id="the_champ_login_redirection_column">
|
863 |
<input id="the_champ_login_redirection_same" name="the_champ_login[login_redirection]" type="radio" <?php echo !isset($theChampLoginOptions['login_redirection']) || $theChampLoginOptions['login_redirection'] == 'same' ? 'checked = "checked"' : '';?> value="same" />
|
@@ -886,8 +848,7 @@
|
|
886 |
|
887 |
<tr>
|
888 |
<th>
|
889 |
-
<img id="the_champ_sl_register_redirect_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
890 |
-
<label><?php _e("Registration redirection", 'super-socializer'); ?></label>
|
891 |
</th>
|
892 |
<td id="the_champ_register_redirection_column">
|
893 |
<input id="the_champ_register_redirection_same" name="the_champ_login[register_redirection]" type="radio" <?php echo !isset($theChampLoginOptions['register_redirection']) || $theChampLoginOptions['register_redirection'] == 'same' ? 'checked = "checked"' : '';?> value="same" />
|
@@ -923,8 +884,7 @@
|
|
923 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
924 |
<tr>
|
925 |
<th>
|
926 |
-
<img id="the_champ_scl_title_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
927 |
-
<label for="the_champ_scl_title"><?php _e("Title", 'super-socializer'); ?></label>
|
928 |
</th>
|
929 |
<td>
|
930 |
<input id="the_champ_scl_title" name="the_champ_login[scl_title]" type="text" value="<?php echo isset($theChampLoginOptions['scl_title']) ? $theChampLoginOptions['scl_title'] : '' ?>" />
|
@@ -941,8 +901,7 @@
|
|
941 |
|
942 |
<tr>
|
943 |
<th>
|
944 |
-
<img id="the_champ_sl_linking_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
945 |
-
<label for="the_champ_sl_linking"><?php _e("Link social account to already existing account, if email address matches", 'super-socializer'); ?></label>
|
946 |
</th>
|
947 |
<td>
|
948 |
<input id="the_champ_sl_linking" name="the_champ_login[link_account]" type="checkbox" <?php echo isset($theChampLoginOptions['link_account']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -960,8 +919,7 @@
|
|
960 |
<?php if($theChampIsBpActive){ ?>
|
961 |
<tr>
|
962 |
<th>
|
963 |
-
<img id="the_champ_sl_bp_linking_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
964 |
-
<label for="the_champ_sl_bp_linking"><?php _e("Enable social account linking at BuddyPress profile page", 'super-socializer'); ?></label>
|
965 |
</th>
|
966 |
<td>
|
967 |
<input id="the_champ_sl_bp_linking" name="the_champ_login[bp_linking]" type="checkbox" <?php echo isset($theChampLoginOptions['bp_linking']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -987,8 +945,7 @@
|
|
987 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
988 |
<tr>
|
989 |
<th>
|
990 |
-
<img id="the_champ_sl_emailreq_text_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
991 |
-
<label for="the_champ_login_email_required_text"><?php _e("Text on 'Email required' popup", 'super-socializer'); ?></label>
|
992 |
</th>
|
993 |
<td>
|
994 |
<textarea rows="4" cols="40" id="the_champ_login_email_required_text" name="the_champ_login[email_popup_text]"><?php echo isset($theChampLoginOptions['email_popup_text']) ? $theChampLoginOptions['email_popup_text'] : '' ?></textarea>
|
@@ -1006,8 +963,7 @@
|
|
1006 |
|
1007 |
<tr>
|
1008 |
<th>
|
1009 |
-
<img id="the_champ_sl_emailreq_error_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
1010 |
-
<label for="the_champ_login_email_required_error"><?php _e("Error message for 'Email required' popup", 'super-socializer'); ?></label>
|
1011 |
</th>
|
1012 |
<td>
|
1013 |
<textarea rows="4" cols="40" id="the_champ_login_email_required_error" name="the_champ_login[email_error_message]"><?php echo isset($theChampLoginOptions['email_error_message']) ? $theChampLoginOptions['email_error_message'] : '' ?></textarea>
|
@@ -1025,8 +981,7 @@
|
|
1025 |
|
1026 |
<tr>
|
1027 |
<th>
|
1028 |
-
<img id="the_champ_email_popup_height_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
1029 |
-
<label for="the_champ_email_popup_height"><?php _e("Email popup height", 'super-socializer'); ?></label>
|
1030 |
</th>
|
1031 |
<td>
|
1032 |
<input style="width: 100px" id="the_champ_email_popup_height" name="the_champ_login[popup_height]" type="text" value="<?php echo isset($theChampLoginOptions['popup_height']) ? $theChampLoginOptions['popup_height'] : '' ?>" />px
|
@@ -1043,8 +998,7 @@
|
|
1043 |
|
1044 |
<tr>
|
1045 |
<th>
|
1046 |
-
<img id="the_champ_sl_emailver_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
1047 |
-
<label for="the_champ_password_email_verification"><?php _e("Enable email verification", 'super-socializer'); ?></label>
|
1048 |
</th>
|
1049 |
<td>
|
1050 |
<input id="the_champ_password_email_verification" name="the_champ_login[email_verification]" type="checkbox" <?php echo isset($theChampLoginOptions['email_verification']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -1074,8 +1028,7 @@
|
|
1074 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1075 |
<tr>
|
1076 |
<th>
|
1077 |
-
<img id="the_champ_gdpr_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
1078 |
-
<label for="the_champ_gdpr_enable"><?php _e("Enable GDPR opt-in", 'super-socializer'); ?></label>
|
1079 |
</th>
|
1080 |
<td>
|
1081 |
<input id="the_champ_gdpr_enable" name="the_champ_login[gdpr_enable]" type="checkbox" <?php echo isset($theChampLoginOptions['gdpr_enable']) ? 'checked = "checked"' : '';?> value="1" />
|
@@ -1093,8 +1046,7 @@
|
|
1093 |
<tbody id="the_champ_gdpr_options" <?php echo !isset($theChampLoginOptions['gdpr_enable']) ? 'style = "display: none"' : '';?> >
|
1094 |
<tr>
|
1095 |
<th>
|
1096 |
-
<img id="the_champ_gdpr_placement_help" class="the_champ_help_bubble" src="<?php echo plugins_url( '../images/info.png', __FILE__ ) ?>"
|
1097 |
-
<label for="the_champ_gdpr_placement_above"><?php _e( "Placement of GDPR opt-in", 'super-socializer' ); ?></label>
|
1098 |
</th>
|
1099 |
<td>
|
1100 |
<input id="the_champ_gdpr_placement_above" name="the_champ_login[gdpr_placement]" type="radio" <?php echo ! isset( $theChampLoginOptions['gdpr_placement'] ) || $theChampLoginOptions['gdpr_placement'] == 'above' ? 'checked = "checked"' : '';?> value="above" />
|
@@ -1113,8 +1065,7 @@
|
|
1113 |
|
1114 |
<tr>
|
1115 |
<th>
|
1116 |
-
<img id="the_champ_privacy_policy_optin_text_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
1117 |
-
<label for="the_champ_privacy_policy_optin_text"><?php _e("Opt-in text", 'super-socializer'); ?></label>
|
1118 |
</th>
|
1119 |
<td>
|
1120 |
<textarea rows="7" cols="63" id="the_champ_privacy_policy_optin_text" name="the_champ_login[privacy_policy_optin_text]"><?php echo isset( $theChampLoginOptions['privacy_policy_optin_text'] ) ? $theChampLoginOptions['privacy_policy_optin_text'] : '' ?></textarea>
|
@@ -1131,8 +1082,7 @@
|
|
1131 |
|
1132 |
<tr>
|
1133 |
<th>
|
1134 |
-
<img id="the_champ_tc_placeholder_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
1135 |
-
<label><?php _e("Text to link to Terms-Conditions page", 'super-socializer'); ?></label>
|
1136 |
</th>
|
1137 |
<td>
|
1138 |
<input id="the_champ_tc_placeholder" name="the_champ_login[tc_placeholder]" type="text" value="<?php echo $theChampLoginOptions['tc_placeholder'] ?>" />
|
@@ -1149,8 +1099,7 @@
|
|
1149 |
|
1150 |
<tr>
|
1151 |
<th>
|
1152 |
-
<img id="the_champ_tc_url_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
1153 |
-
<label><?php _e("Terms-Conditions Url", 'super-socializer'); ?></label>
|
1154 |
</th>
|
1155 |
<td>
|
1156 |
<input id="the_champ_tc_url" name="the_champ_login[tc_url]" type="text" value="<?php echo $theChampLoginOptions['tc_url'] ?>" />
|
@@ -1167,8 +1116,7 @@
|
|
1167 |
|
1168 |
<tr>
|
1169 |
<th>
|
1170 |
-
<img id="the_champ_privacy_ppu_placeholder_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
1171 |
-
<label><?php _e("Text to link to Privacy Policy page", 'super-socializer'); ?></label>
|
1172 |
</th>
|
1173 |
<td>
|
1174 |
<input id="the_champ_privacy_ppu_placeholder" name="the_champ_login[ppu_placeholder]" type="text" value="<?php echo $theChampLoginOptions['ppu_placeholder'] ?>" />
|
@@ -1185,8 +1133,7 @@
|
|
1185 |
|
1186 |
<tr>
|
1187 |
<th>
|
1188 |
-
<img id="the_champ_privacy_policy_url_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>"
|
1189 |
-
<label><?php _e("Privacy Policy Url", 'super-socializer'); ?></label>
|
1190 |
</th>
|
1191 |
<td>
|
1192 |
<input id="the_champ_privacy_policy_url" name="the_champ_login[privacy_policy_url]" type="text" value="<?php echo $theChampLoginOptions['privacy_policy_url'] ?>" />
|
15 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
16 |
<tr>
|
17 |
<th>
|
18 |
+
<label for="the_champ_login_enable"><?php _e("Enable Social Login", 'super-socializer'); ?><img id="the_champ_sl_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
19 |
</th>
|
20 |
<td>
|
21 |
<input id="the_champ_login_enable" name="the_champ_login[enable]" type="checkbox" <?php echo isset($theChampLoginOptions['enable']) ? 'checked = "checked"' : '';?> value="1" />
|
59 |
|
60 |
<tr>
|
61 |
<th>
|
62 |
+
<label for="the_champ_sl_disable_reg"><?php _e("Disable user registration via Social Login", 'super-socializer'); ?><img id="the_champ_sl_disable_reg_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
63 |
</th>
|
64 |
<td>
|
65 |
<input id="the_champ_sl_disable_reg" name="the_champ_login[disable_reg]" onclick="if(this.checked){jQuery('#the_champ_disable_reg_options').css('display', 'table-row-group')}else{ jQuery('#the_champ_disable_reg_options').css('display', 'none') }" type="checkbox" <?php echo isset($theChampLoginOptions['disable_reg']) ? 'checked = "checked"' : '';?> value="1" />
|
77 |
<tbody id="the_champ_disable_reg_options" <?php echo !isset($theChampLoginOptions['disable_reg']) ? 'style = "display: none"' : '';?> >
|
78 |
<tr>
|
79 |
<th>
|
80 |
+
<label for="the_champ_sl_disable_reg_redirect"><?php _e("Redirection url", 'super-socializer'); ?><img id="the_champ_sl_disable_reg_redirect_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
81 |
</th>
|
82 |
<td>
|
83 |
<input id="the_champ_sl_disable_reg_redirect" name="the_champ_login[disable_reg_redirect]" type="text" value="<?php echo isset($theChampLoginOptions['disable_reg_redirect']) ? $theChampLoginOptions['disable_reg_redirect'] : '' ?>" />
|
95 |
|
96 |
<tr>
|
97 |
<th>
|
98 |
+
<label><?php _e("Select Social Networks", 'super-socializer'); ?><img id="the_champ_sl_providers_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
99 |
</th>
|
100 |
<td>
|
101 |
<div class="theChampHorizontalSharingProviderContainer">
|
153 |
|
154 |
<tr>
|
155 |
<th>
|
156 |
+
<label for="the_champ_fblogin_key"><?php _e("Facebook App ID", 'super-socializer'); ?><img id="the_champ_slfb_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
157 |
</th>
|
158 |
<td>
|
159 |
<input id="the_champ_fblogin_key" name="the_champ_login[fb_key]" type="text" value="<?php echo isset($theChampLoginOptions['fb_key']) ? $theChampLoginOptions['fb_key'] : '' ?>" />
|
174 |
|
175 |
<tr>
|
176 |
<th>
|
177 |
+
<label for="the_champ_fblogin_secret"><?php _e("Facebook App Secret", 'super-socializer'); ?><img id="the_champ_slfb_secret_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
178 |
</th>
|
179 |
<td>
|
180 |
<input id="the_champ_fblogin_secret" name="the_champ_login[fb_secret]" type="text" value="<?php echo isset($theChampLoginOptions['fb_secret']) ? $theChampLoginOptions['fb_secret'] : '' ?>" />
|
195 |
|
196 |
<tr>
|
197 |
<th>
|
198 |
+
<label for="the_champ_twlogin_key"><?php _e("Twitter API Key", 'super-socializer'); ?><img id="the_champ_sltw_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
199 |
</th>
|
200 |
<td>
|
201 |
<input id="the_champ_twlogin_key" name="the_champ_login[twitter_key]" type="text" value="<?php echo isset($theChampLoginOptions['twitter_key']) ? $theChampLoginOptions['twitter_key'] : '' ?>" />
|
220 |
|
221 |
<tr>
|
222 |
<th>
|
223 |
+
<label for="the_champ_twlogin_secret"><?php _e("Twitter API Secret", 'super-socializer'); ?><img id="the_champ_sltw_secret_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
224 |
</th>
|
225 |
<td>
|
226 |
<input id="the_champ_twlogin_secret" name="the_champ_login[twitter_secret]" type="text" value="<?php echo isset($theChampLoginOptions['twitter_secret']) ? $theChampLoginOptions['twitter_secret'] : '' ?>" />
|
245 |
|
246 |
<tr>
|
247 |
<th>
|
248 |
+
<label for="the_champ_lilogin_key"><?php _e("LinkedIn Client ID", 'super-socializer'); ?><img id="the_champ_slli_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
249 |
</th>
|
250 |
<td>
|
251 |
<input id="the_champ_lilogin_key" name="the_champ_login[li_key]" type="text" value="<?php echo isset($theChampLoginOptions['li_key']) ? $theChampLoginOptions['li_key'] : '' ?>" />
|
266 |
|
267 |
<tr>
|
268 |
<th>
|
269 |
+
<label for="the_champ_lilogin_secret"><?php _e("LinkedIn Client Secret", 'super-socializer'); ?><img id="the_champ_slli_secret_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
270 |
</th>
|
271 |
<td>
|
272 |
<input id="the_champ_lilogin_secret" name="the_champ_login[li_secret]" type="text" value="<?php echo isset($theChampLoginOptions['li_secret']) ? $theChampLoginOptions['li_secret'] : '' ?>" />
|
287 |
|
288 |
<tr>
|
289 |
<th>
|
290 |
+
<label for="the_champ_gplogin_key"><?php _e("Google Client ID", 'super-socializer'); ?><img id="the_champ_slgp_id_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
291 |
</th>
|
292 |
<td>
|
293 |
<input id="the_champ_gplogin_key" name="the_champ_login[google_key]" type="text" value="<?php echo isset($theChampLoginOptions['google_key']) ? $theChampLoginOptions['google_key'] : '' ?>" />
|
308 |
|
309 |
<tr>
|
310 |
<th>
|
311 |
+
<label for="the_champ_gplogin_secret"><?php _e("Google Client Secret", 'super-socializer'); ?><img id="the_champ_slgp_secret_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
312 |
</th>
|
313 |
<td>
|
314 |
<input id="the_champ_gplogin_secret" name="the_champ_login[google_secret]" type="text" value="<?php echo isset($theChampLoginOptions['google_secret']) ? $theChampLoginOptions['google_secret'] : '' ?>" />
|
329 |
|
330 |
<tr>
|
331 |
<th>
|
332 |
+
<label for="the_champ_vklogin_key"><?php _e("Vkontakte Application ID", 'super-socializer'); ?><img id="the_champ_slvk_id_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
333 |
</th>
|
334 |
<td>
|
335 |
<input id="the_champ_vklogin_key" name="the_champ_login[vk_key]" type="text" value="<?php echo isset($theChampLoginOptions['vk_key']) ? $theChampLoginOptions['vk_key'] : '' ?>" />
|
350 |
|
351 |
<tr>
|
352 |
<th>
|
353 |
+
<label for="the_champ_vklogin_secure_key"><?php _e("Vkontakte Secure key", 'super-socializer'); ?><img id="the_champ_slvk_secure_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
354 |
</th>
|
355 |
<td>
|
356 |
<input id="the_champ_vklogin_secure_key" name="the_champ_login[vk_secure_key]" type="text" value="<?php echo isset($theChampLoginOptions['vk_secure_key']) ? $theChampLoginOptions['vk_secure_key'] : '' ?>" />
|
371 |
|
372 |
<tr>
|
373 |
<th>
|
374 |
+
<label for="the_champ_insta_key"><?php _e("Instagram Client ID", 'super-socializer'); ?><img id="the_champ_slinsta_id_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
375 |
</th>
|
376 |
<td>
|
377 |
<input id="the_champ_insta_key" name="the_champ_login[insta_id]" type="text" value="<?php echo isset($theChampLoginOptions['insta_id']) ? $theChampLoginOptions['insta_id'] : '' ?>" />
|
392 |
|
393 |
<tr>
|
394 |
<th>
|
395 |
+
<label for="the_champ_slxing_ck"><?php _e("Xing Consumer Key", 'super-socializer'); ?><img id="the_champ_slxing_ck_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
396 |
</th>
|
397 |
<td>
|
398 |
<input id="the_champ_slxing_ck" name="the_champ_login[xing_ck]" type="text" value="<?php echo isset($theChampLoginOptions['xing_ck']) ? $theChampLoginOptions['xing_ck'] : '' ?>" />
|
413 |
|
414 |
<tr>
|
415 |
<th>
|
416 |
+
<label for="the_champ_slxing_cs"><?php _e("Xing Consumer Secret", 'super-socializer'); ?><img id="the_champ_slxing_cs_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
417 |
</th>
|
418 |
<td>
|
419 |
<input id="the_champ_slxing_cs" name="the_champ_login[xing_cs]" type="text" value="<?php echo isset($theChampLoginOptions['xing_cs']) ? $theChampLoginOptions['xing_cs'] : '' ?>" />
|
434 |
|
435 |
<tr>
|
436 |
<th>
|
437 |
+
<label for="the_champ_sl_steam_key"><?php _e("Steam API Key", 'super-socializer'); ?><img id="the_champ_sl_steam_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
438 |
</th>
|
439 |
<td>
|
440 |
<input id="the_champ_sl_steam_key" name="the_champ_login[steam_api_key]" type="text" value="<?php echo isset($theChampLoginOptions['steam_api_key']) ? $theChampLoginOptions['steam_api_key'] : '' ?>" />
|
453 |
|
454 |
<tr>
|
455 |
<th>
|
456 |
+
<label for="the_champ_sl_twitch_id"><?php _e("Twitch Client ID", 'super-socializer'); ?><img id="the_champ_sl_twitch_id_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
457 |
</th>
|
458 |
<td>
|
459 |
<input id="the_champ_sl_twitch_id" name="the_champ_login[twitch_client_id]" type="text" value="<?php echo isset($theChampLoginOptions['twitch_client_id']) ? $theChampLoginOptions['twitch_client_id'] : '' ?>" />
|
474 |
|
475 |
<tr>
|
476 |
<th>
|
477 |
+
<label for="the_champ_sl_twitch_secret"><?php _e("Twitch Client Secret", 'super-socializer'); ?><img id="the_champ_sl_twitch_secret_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
478 |
</th>
|
479 |
<td>
|
480 |
<input id="the_champ_sl_twitch_secret" name="the_champ_login[twitch_client_secret]" type="text" value="<?php echo isset($theChampLoginOptions['twitch_client_secret']) ? $theChampLoginOptions['twitch_client_secret'] : '' ?>" />
|
508 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
509 |
<tr>
|
510 |
<th>
|
511 |
+
<label for="the_champ_fblogin_title"><?php _e("Title", 'super-socializer'); ?><img id="the_champ_sl_title_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
512 |
</th>
|
513 |
<td>
|
514 |
<input id="the_champ_fblogin_title" name="the_champ_login[title]" type="text" value="<?php echo isset($theChampLoginOptions['title']) ? $theChampLoginOptions['title'] : '' ?>" />
|
526 |
|
527 |
<tr>
|
528 |
<th>
|
529 |
+
<label for="the_champ_sl_same_tab"><?php _e("Trigger social login in the same browser tab", 'super-socializer'); ?><img id="the_champ_sl_same_tab_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
530 |
</th>
|
531 |
<td>
|
532 |
<input id="the_champ_sl_same_tab" name="the_champ_login[same_tab_login]" type="checkbox" <?php echo isset($theChampLoginOptions['same_tab_login']) ? 'checked = "checked"' : '';?> value="1" />
|
543 |
|
544 |
<tr>
|
545 |
<th>
|
546 |
+
<label for="the_champ_sl_align"><?php _e("Center align icons", 'super-socializer'); ?><img id="the_champ_sl_align_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
547 |
</th>
|
548 |
<td>
|
549 |
<input id="the_champ_sl_align" name="the_champ_login[center_align]" type="checkbox" <?php echo isset($theChampLoginOptions['center_align']) ? 'checked = "checked"' : '';?> value="1" />
|
560 |
|
561 |
<tr>
|
562 |
<th>
|
563 |
+
<label for="the_champ_fblogin_enableAtLogin"><?php _e("Enable at login page", 'super-socializer'); ?><img id="the_champ_sl_loginpage_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
564 |
</th>
|
565 |
<td>
|
566 |
<input id="the_champ_fblogin_enableAtLogin" name="the_champ_login[enableAtLogin]" type="checkbox" <?php echo isset($theChampLoginOptions['enableAtLogin']) ? 'checked = "checked"' : '';?> value="1" />
|
577 |
|
578 |
<tr>
|
579 |
<th>
|
580 |
+
<label for="the_champ_fblogin_enableAtRegister"><?php _e("Enable at register page", 'super-socializer'); ?><img id="the_champ_sl_regpage_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
581 |
</th>
|
582 |
<td>
|
583 |
<input id="the_champ_fblogin_enableAtRegister" name="the_champ_login[enableAtRegister]" type="checkbox" <?php echo isset($theChampLoginOptions['enableAtRegister']) ? 'checked = "checked"' : '';?> value="1" />
|
594 |
|
595 |
<tr>
|
596 |
<th>
|
597 |
+
<label for="the_champ_fblogin_enableAtComment"><?php _e("Enable at comment form", 'super-socializer'); ?><img id="the_champ_sl_cmntform_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
598 |
</th>
|
599 |
<td>
|
600 |
<input id="the_champ_fblogin_enableAtComment" name="the_champ_login[enableAtComment]" type="checkbox" <?php echo isset($theChampLoginOptions['enableAtComment']) ? 'checked = "checked"' : '';?> value="1" />
|
618 |
?>
|
619 |
<tr>
|
620 |
<th>
|
621 |
+
<label for="the_champ_sl_wc_before_form"><?php _e("Enable before WooCommerce Customer Login Form", 'super-socializer'); ?><img id="the_champ_sl_wc_before_form_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
622 |
</th>
|
623 |
<td>
|
624 |
<input id="the_champ_sl_wc_before_form" name="the_champ_login[enable_before_wc]" type="checkbox" <?php echo isset($theChampLoginOptions['enable_before_wc']) ? 'checked = "checked"' : '';?> value="1" />
|
635 |
|
636 |
<tr>
|
637 |
<th>
|
638 |
+
<label for="the_champ_sl_wc_after_form"><?php _e("Enable at WooCommerce Customer Login Form", 'super-socializer'); ?><img id="the_champ_sl_wc_after_form_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
639 |
</th>
|
640 |
<td>
|
641 |
<input id="the_champ_sl_wc_after_form" name="the_champ_login[enable_after_wc]" type="checkbox" <?php echo isset($theChampLoginOptions['enable_after_wc']) ? 'checked = "checked"' : '';?> value="1" />
|
652 |
|
653 |
<tr>
|
654 |
<th>
|
655 |
+
<label for="the_champ_sl_wc_register_form"><?php _e("Enable at WooCommerce Customer Register Form", 'super-socializer'); ?><img id="the_champ_sl_wc_register_form_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
656 |
</th>
|
657 |
<td>
|
658 |
<input id="the_champ_sl_wc_register_form" name="the_champ_login[enable_register_wc]" type="checkbox" <?php echo isset($theChampLoginOptions['enable_register_wc']) ? 'checked = "checked"' : '';?> value="1" />
|
669 |
|
670 |
<tr>
|
671 |
<th>
|
672 |
+
<label for="the_champ_sl_wc_checkout"><?php _e("Enable at WooCommerce checkout page", 'super-socializer'); ?><img id="the_champ_sl_wc_checkout_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
673 |
</th>
|
674 |
<td>
|
675 |
<input id="the_champ_sl_wc_checkout" name="the_champ_login[enable_wc_checkout]" type="checkbox" <?php echo isset($theChampLoginOptions['enable_wc_checkout']) ? 'checked = "checked"' : '';?> value="1" />
|
689 |
?>
|
690 |
<tr>
|
691 |
<th>
|
692 |
+
<label for="the_champ_approve_comment"><?php _e("Auto-approve comments made by Social Login users", 'super-socializer'); ?><img id="the_champ_approve_comment_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
693 |
</th>
|
694 |
<td>
|
695 |
<input id="the_champ_approve_comment" name="the_champ_login[autoApproveComment]" type="checkbox" <?php echo isset($theChampLoginOptions['autoApproveComment']) ? 'checked = "checked"' : '';?> value="1" />
|
709 |
?>
|
710 |
<tr>
|
711 |
<th>
|
712 |
+
<label for="the_champ_login_avatar"><?php _e("Enable social avatar", 'super-socializer'); ?><img id="the_champ_sl_avatar_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
713 |
</th>
|
714 |
<td>
|
715 |
<input id="the_champ_login_avatar" onclick="if(this.checked){jQuery('#the_champ_avatar_options').css('display', 'table-row-group')}else{ jQuery('#the_champ_avatar_options').css('display', 'none') }" name="the_champ_login[avatar]" type="checkbox" <?php echo isset($theChampLoginOptions['avatar']) ? 'checked = "checked"' : '';?> value="1" />
|
728 |
<tbody id="the_champ_avatar_options" <?php echo !isset($theChampLoginOptions['avatar']) ? 'style = "display: none"' : '';?> >
|
729 |
<tr>
|
730 |
<th>
|
731 |
+
<label><?php _e("Avatar quality", 'super-socializer'); ?><img id="the_champ_sl_avatar_quality_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
732 |
</th>
|
733 |
<td>
|
734 |
<input id="the_champ_login_average_avatar" name="the_champ_login[avatar_quality]" type="radio" <?php echo !isset($theChampLoginOptions['avatar_quality']) || $theChampLoginOptions['avatar_quality'] == 'average' ? 'checked = "checked"' : '';?> value="average" /> <label for="the_champ_login_average_avatar"><?php _e("Average", 'super-socializer'); ?></label><br/>
|
747 |
<?php if($theChampIsBpActive){ ?>
|
748 |
<tr>
|
749 |
<th>
|
750 |
+
<label for="the_champ_sl_avatar_options"><?php _e("Show option for users to update social avatar at BuddyPress profile page", 'super-socializer'); ?><img id="the_champ_sl_avatar_options_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
751 |
</th>
|
752 |
<td>
|
753 |
<input id="the_champ_sl_avatar_options" name="the_champ_login[avatar_options]" type="checkbox" <?php echo isset($theChampLoginOptions['avatar_options']) ? 'checked = "checked"' : '';?> value="1" />
|
767 |
|
768 |
<tr>
|
769 |
<th>
|
770 |
+
<label for="the_champ_login_email_required"><?php _e("Email required", 'super-socializer'); ?><img id="the_champ_sl_emailreq_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
771 |
</th>
|
772 |
<td>
|
773 |
<input onclick="theChampEmailPopupOptions(this)" id="the_champ_login_email_required" name="the_champ_login[email_required]" type="checkbox" <?php echo isset($theChampLoginOptions['email_required']) ? 'checked = "checked"' : '';?> value="1" />
|
785 |
|
786 |
<tr>
|
787 |
<th>
|
788 |
+
<label for="the_champ_password_email"><?php _e("Send post-registration email to user to set account password", 'super-socializer'); ?><img id="the_champ_sl_postreg_email_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
789 |
</th>
|
790 |
<td>
|
791 |
<input id="the_champ_password_email" name="the_champ_login[password_email]" type="checkbox" <?php echo isset($theChampLoginOptions['password_email']) ? 'checked = "checked"' : '';?> value="1" />
|
802 |
|
803 |
<tr>
|
804 |
<th>
|
805 |
+
<label for="the_champ_sl_postreg_admin_email"><?php _e("Send new user registration notification email to admin", 'super-socializer'); ?><img id="the_champ_sl_postreg_admin_email_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
806 |
</th>
|
807 |
<td>
|
808 |
<input id="the_champ_sl_postreg_admin_email" name="the_champ_login[new_user_admin_email]" type="checkbox" <?php echo isset($theChampLoginOptions['new_user_admin_email']) ? 'checked = "checked"' : '';?> value="1" />
|
819 |
|
820 |
<tr>
|
821 |
<th>
|
822 |
+
<label><?php _e("Login redirection", 'super-socializer'); ?><img id="the_champ_sl_loginredirect_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
823 |
</th>
|
824 |
<td id="the_champ_login_redirection_column">
|
825 |
<input id="the_champ_login_redirection_same" name="the_champ_login[login_redirection]" type="radio" <?php echo !isset($theChampLoginOptions['login_redirection']) || $theChampLoginOptions['login_redirection'] == 'same' ? 'checked = "checked"' : '';?> value="same" />
|
848 |
|
849 |
<tr>
|
850 |
<th>
|
851 |
+
<label><?php _e("Registration redirection", 'super-socializer'); ?><img id="the_champ_sl_register_redirect_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
852 |
</th>
|
853 |
<td id="the_champ_register_redirection_column">
|
854 |
<input id="the_champ_register_redirection_same" name="the_champ_login[register_redirection]" type="radio" <?php echo !isset($theChampLoginOptions['register_redirection']) || $theChampLoginOptions['register_redirection'] == 'same' ? 'checked = "checked"' : '';?> value="same" />
|
884 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
885 |
<tr>
|
886 |
<th>
|
887 |
+
<label for="the_champ_scl_title"><?php _e("Title", 'super-socializer'); ?><img id="the_champ_scl_title_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
888 |
</th>
|
889 |
<td>
|
890 |
<input id="the_champ_scl_title" name="the_champ_login[scl_title]" type="text" value="<?php echo isset($theChampLoginOptions['scl_title']) ? $theChampLoginOptions['scl_title'] : '' ?>" />
|
901 |
|
902 |
<tr>
|
903 |
<th>
|
904 |
+
<label for="the_champ_sl_linking"><?php _e("Link social account to already existing account, if email address matches", 'super-socializer'); ?><img id="the_champ_sl_linking_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
905 |
</th>
|
906 |
<td>
|
907 |
<input id="the_champ_sl_linking" name="the_champ_login[link_account]" type="checkbox" <?php echo isset($theChampLoginOptions['link_account']) ? 'checked = "checked"' : '';?> value="1" />
|
919 |
<?php if($theChampIsBpActive){ ?>
|
920 |
<tr>
|
921 |
<th>
|
922 |
+
<label for="the_champ_sl_bp_linking"><?php _e("Enable social account linking at BuddyPress profile page", 'super-socializer'); ?><img id="the_champ_sl_bp_linking_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
923 |
</th>
|
924 |
<td>
|
925 |
<input id="the_champ_sl_bp_linking" name="the_champ_login[bp_linking]" type="checkbox" <?php echo isset($theChampLoginOptions['bp_linking']) ? 'checked = "checked"' : '';?> value="1" />
|
945 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
946 |
<tr>
|
947 |
<th>
|
948 |
+
<label for="the_champ_login_email_required_text"><?php _e("Text on 'Email required' popup", 'super-socializer'); ?><img id="the_champ_sl_emailreq_text_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
949 |
</th>
|
950 |
<td>
|
951 |
<textarea rows="4" cols="40" id="the_champ_login_email_required_text" name="the_champ_login[email_popup_text]"><?php echo isset($theChampLoginOptions['email_popup_text']) ? $theChampLoginOptions['email_popup_text'] : '' ?></textarea>
|
963 |
|
964 |
<tr>
|
965 |
<th>
|
966 |
+
<label for="the_champ_login_email_required_error"><?php _e("Error message for 'Email required' popup", 'super-socializer'); ?><img id="the_champ_sl_emailreq_error_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
967 |
</th>
|
968 |
<td>
|
969 |
<textarea rows="4" cols="40" id="the_champ_login_email_required_error" name="the_champ_login[email_error_message]"><?php echo isset($theChampLoginOptions['email_error_message']) ? $theChampLoginOptions['email_error_message'] : '' ?></textarea>
|
981 |
|
982 |
<tr>
|
983 |
<th>
|
984 |
+
<label for="the_champ_email_popup_height"><?php _e("Email popup height", 'super-socializer'); ?><img id="the_champ_email_popup_height_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
985 |
</th>
|
986 |
<td>
|
987 |
<input style="width: 100px" id="the_champ_email_popup_height" name="the_champ_login[popup_height]" type="text" value="<?php echo isset($theChampLoginOptions['popup_height']) ? $theChampLoginOptions['popup_height'] : '' ?>" />px
|
998 |
|
999 |
<tr>
|
1000 |
<th>
|
1001 |
+
<label for="the_champ_password_email_verification"><?php _e("Enable email verification", 'super-socializer'); ?><img id="the_champ_sl_emailver_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
1002 |
</th>
|
1003 |
<td>
|
1004 |
<input id="the_champ_password_email_verification" name="the_champ_login[email_verification]" type="checkbox" <?php echo isset($theChampLoginOptions['email_verification']) ? 'checked = "checked"' : '';?> value="1" />
|
1028 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1029 |
<tr>
|
1030 |
<th>
|
1031 |
+
<label for="the_champ_gdpr_enable"><?php _e("Enable GDPR opt-in", 'super-socializer'); ?><img id="the_champ_gdpr_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
1032 |
</th>
|
1033 |
<td>
|
1034 |
<input id="the_champ_gdpr_enable" name="the_champ_login[gdpr_enable]" type="checkbox" <?php echo isset($theChampLoginOptions['gdpr_enable']) ? 'checked = "checked"' : '';?> value="1" />
|
1046 |
<tbody id="the_champ_gdpr_options" <?php echo !isset($theChampLoginOptions['gdpr_enable']) ? 'style = "display: none"' : '';?> >
|
1047 |
<tr>
|
1048 |
<th>
|
1049 |
+
<label for="the_champ_gdpr_placement_above"><?php _e( "Placement of GDPR opt-in", 'super-socializer' ); ?><img id="the_champ_gdpr_placement_help" class="the_champ_help_bubble" src="<?php echo plugins_url( '../images/info.png', __FILE__ ) ?>" /></label>
|
|
|
1050 |
</th>
|
1051 |
<td>
|
1052 |
<input id="the_champ_gdpr_placement_above" name="the_champ_login[gdpr_placement]" type="radio" <?php echo ! isset( $theChampLoginOptions['gdpr_placement'] ) || $theChampLoginOptions['gdpr_placement'] == 'above' ? 'checked = "checked"' : '';?> value="above" />
|
1065 |
|
1066 |
<tr>
|
1067 |
<th>
|
1068 |
+
<label for="the_champ_privacy_policy_optin_text"><?php _e("Opt-in text", 'super-socializer'); ?><img id="the_champ_privacy_policy_optin_text_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
1069 |
</th>
|
1070 |
<td>
|
1071 |
<textarea rows="7" cols="63" id="the_champ_privacy_policy_optin_text" name="the_champ_login[privacy_policy_optin_text]"><?php echo isset( $theChampLoginOptions['privacy_policy_optin_text'] ) ? $theChampLoginOptions['privacy_policy_optin_text'] : '' ?></textarea>
|
1082 |
|
1083 |
<tr>
|
1084 |
<th>
|
1085 |
+
<label><?php _e("Text to link to Terms-Conditions page", 'super-socializer'); ?><img id="the_champ_tc_placeholder_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
1086 |
</th>
|
1087 |
<td>
|
1088 |
<input id="the_champ_tc_placeholder" name="the_champ_login[tc_placeholder]" type="text" value="<?php echo $theChampLoginOptions['tc_placeholder'] ?>" />
|
1099 |
|
1100 |
<tr>
|
1101 |
<th>
|
1102 |
+
<label><?php _e("Terms-Conditions Url", 'super-socializer'); ?><img id="the_champ_tc_url_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
1103 |
</th>
|
1104 |
<td>
|
1105 |
<input id="the_champ_tc_url" name="the_champ_login[tc_url]" type="text" value="<?php echo $theChampLoginOptions['tc_url'] ?>" />
|
1116 |
|
1117 |
<tr>
|
1118 |
<th>
|
1119 |
+
<label><?php _e("Text to link to Privacy Policy page", 'super-socializer'); ?><img id="the_champ_privacy_ppu_placeholder_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
1120 |
</th>
|
1121 |
<td>
|
1122 |
<input id="the_champ_privacy_ppu_placeholder" name="the_champ_login[ppu_placeholder]" type="text" value="<?php echo $theChampLoginOptions['ppu_placeholder'] ?>" />
|
1133 |
|
1134 |
<tr>
|
1135 |
<th>
|
1136 |
+
<label><?php _e("Privacy Policy Url", 'super-socializer'); ?><img id="the_champ_privacy_policy_url_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" /></label>
|
|
|
1137 |
</th>
|
1138 |
<td>
|
1139 |
<input id="the_champ_privacy_policy_url" name="the_champ_login[privacy_policy_url]" type="text" value="<?php echo $theChampLoginOptions['privacy_policy_url'] ?>" />
|
inc/social_login.php
CHANGED
@@ -437,7 +437,7 @@ function the_champ_sanitize_profile_data($profileData, $provider){
|
|
437 |
$temp['large_avatar'] = isset($profileData->avatarfull) && heateor_ss_validate_url($profileData->avatarfull) !== false ? $profileData->avatarfull : '';
|
438 |
}elseif($provider == 'twitch'){
|
439 |
$temp['id'] = isset($profileData['_id']) ? sanitize_text_field($profileData['_id']) : '';
|
440 |
-
$temp['email'] = '';
|
441 |
$temp['name'] = isset($profileData['name']) ? sanitize_text_field($profileData['name']) : '';
|
442 |
$temp['username'] = isset($profileData['display_name']) ? sanitize_text_field($profileData['display_name']) : '';
|
443 |
$temp['first_name'] = '';
|
437 |
$temp['large_avatar'] = isset($profileData->avatarfull) && heateor_ss_validate_url($profileData->avatarfull) !== false ? $profileData->avatarfull : '';
|
438 |
}elseif($provider == 'twitch'){
|
439 |
$temp['id'] = isset($profileData['_id']) ? sanitize_text_field($profileData['_id']) : '';
|
440 |
+
$temp['email'] = isset($profileData['email']) ? sanitize_text_field($profileData['email']) : '';
|
441 |
$temp['name'] = isset($profileData['name']) ? sanitize_text_field($profileData['name']) : '';
|
442 |
$temp['username'] = isset($profileData['display_name']) ? sanitize_text_field($profileData['display_name']) : '';
|
443 |
$temp['first_name'] = '';
|
library/Twitch/twitch.php
CHANGED
@@ -179,13 +179,16 @@ class TwitchTV {
|
|
179 |
* @param string $profile_data
|
180 |
* @return array Array of data that includes the display name, Status, Chat links, game that the stream is playing and the banner
|
181 |
*/
|
182 |
-
|
|
|
183 |
//initiate connection to the twitch.tv servers
|
184 |
-
$curl = curl_init();
|
185 |
-
|
186 |
-
|
187 |
-
|
|
|
188 |
));
|
|
|
189 |
$result = curl_exec($curl);
|
190 |
//makes sure that the cURL was excuted if not it generates the error stating that it didn't succeed.
|
191 |
if (!$result) {
|
@@ -195,9 +198,9 @@ class TwitchTV {
|
|
195 |
if (!empty($username)) {
|
196 |
$return = json_decode($result, true);
|
197 |
if ($profile_data) {
|
198 |
-
|
199 |
}else{
|
200 |
-
$user_id = $return['
|
201 |
return $user_id;
|
202 |
}
|
203 |
}
|
179 |
* @param string $profile_data
|
180 |
* @return array Array of data that includes the display name, Status, Chat links, game that the stream is playing and the banner
|
181 |
*/
|
182 |
+
#modified
|
183 |
+
public function get_userid($username, $profile_data = false, $access_token) {
|
184 |
//initiate connection to the twitch.tv servers
|
185 |
+
$curl = curl_init('https://api.twitch.tv/kraken/user');
|
186 |
+
curl_setopt($curl, CURLOPT_HTTPHEADER, array(
|
187 |
+
'Accept: application/vnd.twitchtv.v5+json',
|
188 |
+
'Authorization: OAuth ' . $access_token,
|
189 |
+
'Client-ID: ' . $this->client_id
|
190 |
));
|
191 |
+
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
|
192 |
$result = curl_exec($curl);
|
193 |
//makes sure that the cURL was excuted if not it generates the error stating that it didn't succeed.
|
194 |
if (!$result) {
|
198 |
if (!empty($username)) {
|
199 |
$return = json_decode($result, true);
|
200 |
if ($profile_data) {
|
201 |
+
return $return;
|
202 |
}else{
|
203 |
+
$user_id = $return['_id'];
|
204 |
return $user_id;
|
205 |
}
|
206 |
}
|
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: 5.2.2
|
7 |
-
Stable tag: 7.12.
|
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
|
@@ -210,6 +210,11 @@ Yes, we can help you with it. Just drop an email at support[ at ]heateor[ dot ]c
|
|
210 |
8. **Social Commenting**: Disqus Commenting selected
|
211 |
|
212 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
213 |
= 7.12.33 [24 August 2019] =
|
214 |
* [Bugfix] "Trigger social login in the same browser tab" option was not working when "Load all Javascript files in single file" was enabled at General Options page
|
215 |
* [Improvement] Email share is being triggered in the new browser tab instead of the same tab
|
@@ -1942,4 +1947,9 @@ Yes, we can help you with it. Just drop an email at support[ at ]heateor[ dot ]c
|
|
1942 |
* [Improvement] New user notification email is using WooCommerce new user email template instead of the default new user email template of WordPress, if WooCommerce is active
|
1943 |
* [Improvement] Columns added by S2Member in Users table went blank when Super Socializer was active
|
1944 |
* [Improvement] Updated background of Instagram button to the multicolored one
|
|
|
|
|
|
|
|
|
|
|
1945 |
* [Improvement] Admin UI improvement
|
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: 5.2.2
|
7 |
+
Stable tag: 7.12.34
|
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
|
210 |
8. **Social Commenting**: Disqus Commenting selected
|
211 |
|
212 |
== Changelog ==
|
213 |
+
= 7.12.34 [30 August 2019] =
|
214 |
+
* [Bugfix] Using Twitch API v5 instead of v3, as it's going to shutdown
|
215 |
+
* [Improvement] Twitch login is now saving users' email address too along with other profile details
|
216 |
+
* [Improvement] Admin UI improvement
|
217 |
+
|
218 |
= 7.12.33 [24 August 2019] =
|
219 |
* [Bugfix] "Trigger social login in the same browser tab" option was not working when "Load all Javascript files in single file" was enabled at General Options page
|
220 |
* [Improvement] Email share is being triggered in the new browser tab instead of the same tab
|
1947 |
* [Improvement] New user notification email is using WooCommerce new user email template instead of the default new user email template of WordPress, if WooCommerce is active
|
1948 |
* [Improvement] Columns added by S2Member in Users table went blank when Super Socializer was active
|
1949 |
* [Improvement] Updated background of Instagram button to the multicolored one
|
1950 |
+
* [Improvement] Admin UI improvement
|
1951 |
+
|
1952 |
+
= 7.12.34 [30 August 2019] =
|
1953 |
+
* [Bugfix] Using Twitch API v5 instead of v3, as it's going to shutdown
|
1954 |
+
* [Improvement] Twitch login is now saving users' email address too along with other profile details
|
1955 |
* [Improvement] Admin UI improvement
|
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.12.
|
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.12.
|
15 |
|
16 |
require 'helper.php';
|
17 |
|
@@ -367,7 +367,7 @@ function the_champ_connect(){
|
|
367 |
$accessToken = $twitchAuth->get_access_token($_GET['code']);
|
368 |
$username = $twitchAuth->authenticated_user($accessToken);
|
369 |
if(isset($username)){
|
370 |
-
$profileData = $twitchAuth->get_userid($username, true);
|
371 |
if(is_array($profileData) && isset($profileData['_id'])){
|
372 |
$profileData = the_champ_sanitize_profile_data($profileData, 'twitch');
|
373 |
if(isset($_GET['heateorMSEnabled'])){
|
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.12.34
|
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.12.34');
|
15 |
|
16 |
require 'helper.php';
|
17 |
|
367 |
$accessToken = $twitchAuth->get_access_token($_GET['code']);
|
368 |
$username = $twitchAuth->authenticated_user($accessToken);
|
369 |
if(isset($username)){
|
370 |
+
$profileData = $twitchAuth->get_userid($username, true, $accessToken);
|
371 |
if(is_array($profileData) && isset($profileData['_id'])){
|
372 |
$profileData = the_champ_sanitize_profile_data($profileData, 'twitch');
|
373 |
if(isset($_GET['heateorMSEnabled'])){
|