Version Description
- Facebook commenting is now responsive
- Sharing interfaces are now responsive
- Switching between Facebook and traditional commenting is smoother
- Customizable text on buttons to switch commenting modes
- Option to align floating sharing interface left/right
- JS and CSS files minified
- CSS improvements
- Bugfix: When one logged in using Twitter from login page, it was redirected back to login page
- Bugfix: WordPress usernames created from social profile of the users were in lowercase
Download this release
Release Info
Developer | the_champ |
Plugin | WordPress Social Share, Social Login and Social Comments Plugin – Super Socializer |
Version | 2.9.0 |
Comparing to | |
See all releases |
Code changes from version 2.8.1 to 2.9.0
- admin/facebook.php +67 -2
- admin/index.php +1 -1
- admin/social_login.php +10 -8
- admin/social_sharing.php +50 -3
- css/admin.css +1 -130
- css/front.css +1 -376
- css/index.php +1 -1
- helper.php +7 -1
- images/index.php +1 -1
- images/login/index.php +1 -1
- images/sharing/index.php +1 -1
- images/sharing/sharing.png +0 -0
- images/snaps/index.php +1 -1
- inc/index.php +1 -1
- inc/social_login.php +12 -9
- inc/social_sharing.php +1 -1
- index.php +1 -1
- js/admin/admin.js +1 -47
- js/admin/fb_sdk.js +1 -7
- js/admin/index.php +1 -1
- js/admin/sharing/admin.js +1 -45
- js/admin/sharing/index.php +1 -1
- js/front/facebook/commenting.js +1 -54
- js/front/facebook/feed.js +1 -24
- js/front/facebook/index.php +1 -1
- js/front/facebook/sdk.js +1 -22
- js/front/index.php +1 -1
- js/front/sharing/index.php +1 -1
- js/front/social_login/common.js +1 -134
- js/front/social_login/facebook.js +1 -30
- js/front/social_login/general.js +1 -143
- js/front/social_login/google.js +1 -51
- js/front/social_login/index.php +1 -1
- js/front/social_login/instagram.js +1 -22
- js/front/social_login/linkedin.js +1 -17
- js/front/social_login/vkontakte.js +1 -31
- js/index.php +1 -1
- languages/Super-Socializer-es_ES.mo +0 -0
- languages/Super-Socializer-es_ES.po +248 -127
- library/index.php +1 -1
- readme.txt +28 -4
- super_socializer.php +72 -78
admin/facebook.php
CHANGED
@@ -50,7 +50,7 @@
|
|
50 |
<label for="the_champ_force_fb_comment"><?php _e('Keep only Facebook Commenting', 'Super-Socializer'); ?></label>
|
51 |
</th>
|
52 |
<td>
|
53 |
-
<input id="the_champ_force_fb_comment" name="the_champ_facebook[force_fb_comment]" type="checkbox" <?php echo isset($theChampFacebookOptions['force_fb_comment']) ? 'checked = "checked"' : '';?> value="1" />
|
54 |
</td>
|
55 |
</tr>
|
56 |
|
@@ -61,7 +61,64 @@
|
|
61 |
</div>
|
62 |
</td>
|
63 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
<tr>
|
66 |
<th>
|
67 |
<img id="the_champ_fb_comment_title_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
@@ -112,7 +169,7 @@
|
|
112 |
<tr class="the_champ_help_content" id="the_champ_fb_comment_width_help_cont">
|
113 |
<td colspan="2">
|
114 |
<div>
|
115 |
-
<?php _e('Leave empty
|
116 |
</div>
|
117 |
</td>
|
118 |
</tr>
|
@@ -226,6 +283,14 @@
|
|
226 |
|
227 |
<div class="menu_containt_div" id="tabs-2">
|
228 |
<div class="the_champ_left_column">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
<div class="stuffbox">
|
230 |
<h3><label><?php _e('Feed', 'Super-Socializer');?></label></h3>
|
231 |
<div class="inside">
|
50 |
<label for="the_champ_force_fb_comment"><?php _e('Keep only Facebook Commenting', 'Super-Socializer'); ?></label>
|
51 |
</th>
|
52 |
<td>
|
53 |
+
<input onclick="theChampCommentingOptions(this)" id="the_champ_force_fb_comment" name="the_champ_facebook[force_fb_comment]" type="checkbox" <?php echo isset($theChampFacebookOptions['force_fb_comment']) ? 'checked = "checked"' : '';?> value="1" />
|
54 |
</td>
|
55 |
</tr>
|
56 |
|
61 |
</div>
|
62 |
</td>
|
63 |
</tr>
|
64 |
+
<tbody id="the_champ_commenting_extra" <?php echo isset($theChampFacebookOptions['force_fb_comment']) ? 'style="display: none"' : ''; ?>>
|
65 |
+
<tr>
|
66 |
+
<th>
|
67 |
+
<img id="the_champ_fb_comment_load_first_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
68 |
+
<label for="the_champ_fb_comment_load_first"><?php _e('Load first', 'Super-Socializer'); ?></label>
|
69 |
+
</th>
|
70 |
+
<td>
|
71 |
+
<select id="the_champ_fb_comment_load_first" name="the_champ_facebook[load_first]">
|
72 |
+
<option value="1" <?php echo isset($theChampFacebookOptions['load_first']) && $theChampFacebookOptions['load_first'] == '1' ? 'selected="selected"' : '' ?>><?php _e('Facebook Commenting', 'Super-Socializer') ?></option>
|
73 |
+
<option value="0" <?php echo isset($theChampFacebookOptions['load_first']) && $theChampFacebookOptions['load_first'] == '0' ? 'selected="selected"' : '' ?>><?php _e('Default Commenting', 'Super-Socializer') ?></option>
|
74 |
+
</select>
|
75 |
+
</td>
|
76 |
+
</tr>
|
77 |
+
|
78 |
+
<tr class="the_champ_help_content" id="the_champ_fb_comment_load_first_help_cont">
|
79 |
+
<td colspan="2">
|
80 |
+
<div>
|
81 |
+
<?php _e('Selected commenting will be loaded first on the page', 'Super-Socializer') ?>
|
82 |
+
</div>
|
83 |
+
</td>
|
84 |
+
</tr>
|
85 |
+
|
86 |
+
<tr>
|
87 |
+
<th>
|
88 |
+
<img id="the_champ_fb_comment_switch_wp_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
89 |
+
<label for="the_champ_fb_comment_switch_wp"><?php _e('Text on "Switch to WordPress Commenting" button', 'Super-Socializer'); ?></label>
|
90 |
+
</th>
|
91 |
+
<td>
|
92 |
+
<input id="the_champ_fb_comment_switch_wp" name="the_champ_facebook[switch_wp]" type="text" value="<?php echo isset($theChampFacebookOptions['switch_wp']) ? $theChampFacebookOptions['switch_wp'] : '' ?>" />
|
93 |
+
</td>
|
94 |
+
</tr>
|
95 |
+
|
96 |
+
<tr class="the_champ_help_content" id="the_champ_fb_comment_switch_wp_help_cont">
|
97 |
+
<td colspan="2">
|
98 |
+
<div>
|
99 |
+
<?php _e('This text will be display on the button to switch to WordPress comments', 'Super-Socializer') ?>
|
100 |
+
</div>
|
101 |
+
</td>
|
102 |
+
</tr>
|
103 |
+
|
104 |
+
<tr>
|
105 |
+
<th>
|
106 |
+
<img id="the_champ_fb_comment_switch_fb_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
107 |
+
<label for="the_champ_fb_comment_switch_fb"><?php _e('Text on "Switch to Facebook Commenting" button', 'Super-Socializer'); ?></label>
|
108 |
+
</th>
|
109 |
+
<td>
|
110 |
+
<input id="the_champ_fb_comment_switch_fb" name="the_champ_facebook[switch_fb]" type="text" value="<?php echo isset($theChampFacebookOptions['switch_fb']) ? $theChampFacebookOptions['switch_fb'] : '' ?>" />
|
111 |
+
</td>
|
112 |
+
</tr>
|
113 |
|
114 |
+
<tr class="the_champ_help_content" id="the_champ_fb_comment_switch_fb_help_cont">
|
115 |
+
<td colspan="2">
|
116 |
+
<div>
|
117 |
+
<?php _e('This text will be displayed on the button to switch to Facebook comments', 'Super-Socializer') ?>
|
118 |
+
</div>
|
119 |
+
</td>
|
120 |
+
</tr>
|
121 |
+
</tbody>
|
122 |
<tr>
|
123 |
<th>
|
124 |
<img id="the_champ_fb_comment_title_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
169 |
<tr class="the_champ_help_content" id="the_champ_fb_comment_width_help_cont">
|
170 |
<td colspan="2">
|
171 |
<div>
|
172 |
+
<?php _e('Leave empty to auto-adjust the width. <br/>The width (in pixels) of the Comments block. The mobile version of the Comments block ignores the width parameter, and instead has a fluid width of 100%.', 'Super-Socializer') ?>
|
173 |
</div>
|
174 |
</td>
|
175 |
</tr>
|
283 |
|
284 |
<div class="menu_containt_div" id="tabs-2">
|
285 |
<div class="the_champ_left_column">
|
286 |
+
|
287 |
+
<div class="stuffbox">
|
288 |
+
<h3><label><?php _e('Important note', 'Super-Socializer');?></label></h3>
|
289 |
+
<div class="inside">
|
290 |
+
<?php echo sprintf(__('To use this feature follow the steps mentioned at <a href="%s" target="_blank">this link</a>', 'Super-Socializer'), 'http://thechamplord.wordpress.com/2014/06/17/enable-extended-permissions-in-facebook-app/'); ?>
|
291 |
+
</div>
|
292 |
+
</div>
|
293 |
+
|
294 |
<div class="stuffbox">
|
295 |
<h3><label><?php _e('Feed', 'Super-Socializer');?></label></h3>
|
296 |
<div class="inside">
|
admin/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
admin/social_login.php
CHANGED
@@ -98,7 +98,7 @@
|
|
98 |
<tr>
|
99 |
<th>
|
100 |
<img id="the_champ_sltw_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
101 |
-
<label for="the_champ_twlogin_key"><?php _e("Twitter
|
102 |
</th>
|
103 |
<td>
|
104 |
<input id="the_champ_twlogin_key" name="the_champ_login[twitter_key]" type="text" value="<?php echo isset($theChampLoginOptions['twitter_key']) ? $theChampLoginOptions['twitter_key'] : '' ?>" />
|
@@ -108,7 +108,7 @@
|
|
108 |
<tr class="the_champ_help_content" id="the_champ_sltw_key_help_cont">
|
109 |
<td colspan="2">
|
110 |
<div>
|
111 |
-
<?php echo sprintf(__('Required for Twitter Social Login to work. Please follow the documentation at <a href="%s" target="_blank">this link</a> to get Twitter
|
112 |
</div>
|
113 |
</td>
|
114 |
</tr>
|
@@ -116,7 +116,7 @@
|
|
116 |
<tr>
|
117 |
<th>
|
118 |
<img id="the_champ_sltw_secret_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
119 |
-
<label for="the_champ_twlogin_secret"><?php _e("Twitter
|
120 |
</th>
|
121 |
<td>
|
122 |
<input id="the_champ_twlogin_secret" name="the_champ_login[twitter_secret]" type="text" value="<?php echo isset($theChampLoginOptions['twitter_secret']) ? $theChampLoginOptions['twitter_secret'] : '' ?>" />
|
@@ -126,7 +126,7 @@
|
|
126 |
<tr class="the_champ_help_content" id="the_champ_sltw_secret_help_cont">
|
127 |
<td colspan="2">
|
128 |
<div>
|
129 |
-
<?php echo sprintf(__('Required for Twitter Social Login to work. Please follow the documentation at <a href="%s" target="_blank">this link</a> to get Twitter
|
130 |
</div>
|
131 |
</td>
|
132 |
</tr>
|
@@ -265,9 +265,8 @@
|
|
265 |
<tr class="the_champ_help_content" id="the_champ_sl_loginpage_help_cont">
|
266 |
<td colspan="2">
|
267 |
<div>
|
268 |
-
<?php _e('Social Login interface will get enabled at
|
269 |
</div>
|
270 |
-
<img src="<?php echo plugins_url('../images/snaps/sl_wplogin.png', __FILE__); ?>" />
|
271 |
</td>
|
272 |
</tr>
|
273 |
|
@@ -284,9 +283,8 @@
|
|
284 |
<tr class="the_champ_help_content" id="the_champ_sl_regpage_help_cont">
|
285 |
<td colspan="2">
|
286 |
<div>
|
287 |
-
<?php _e('Social Login interface will get enabled at
|
288 |
</div>
|
289 |
-
<img src="<?php echo plugins_url('../images/snaps/sl_wpreg.png', __FILE__); ?>" />
|
290 |
</td>
|
291 |
</tr>
|
292 |
|
@@ -538,6 +536,10 @@
|
|
538 |
<p><?php _e('You can use "style" attribute in the Shortcode to style the rendered Social Login interface.', 'Super-Socializer') ?></p>
|
539 |
<p><?php _e('Example', 'Super-Socializer') ?></p>
|
540 |
<p><strong>[TheChamp-Login style="background-color:#000;"]</strong></p>
|
|
|
|
|
|
|
|
|
541 |
</div>
|
542 |
</div>
|
543 |
|
98 |
<tr>
|
99 |
<th>
|
100 |
<img id="the_champ_sltw_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
101 |
+
<label for="the_champ_twlogin_key"><?php _e("Twitter API Key", 'Super-Socializer'); ?></label>
|
102 |
</th>
|
103 |
<td>
|
104 |
<input id="the_champ_twlogin_key" name="the_champ_login[twitter_key]" type="text" value="<?php echo isset($theChampLoginOptions['twitter_key']) ? $theChampLoginOptions['twitter_key'] : '' ?>" />
|
108 |
<tr class="the_champ_help_content" id="the_champ_sltw_key_help_cont">
|
109 |
<td colspan="2">
|
110 |
<div>
|
111 |
+
<?php echo sprintf(__('Required for Twitter Social Login to work. Please follow the documentation at <a href="%s" target="_blank">this link</a> to get Twitter API Key', 'Super-Socializer'), '//thechamplord.wordpress.com/2014/01/28/getting-twitter-consumer-key-and-secret/') ?>
|
112 |
</div>
|
113 |
</td>
|
114 |
</tr>
|
116 |
<tr>
|
117 |
<th>
|
118 |
<img id="the_champ_sltw_secret_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
119 |
+
<label for="the_champ_twlogin_secret"><?php _e("Twitter API Secret", 'Super-Socializer'); ?></label>
|
120 |
</th>
|
121 |
<td>
|
122 |
<input id="the_champ_twlogin_secret" name="the_champ_login[twitter_secret]" type="text" value="<?php echo isset($theChampLoginOptions['twitter_secret']) ? $theChampLoginOptions['twitter_secret'] : '' ?>" />
|
126 |
<tr class="the_champ_help_content" id="the_champ_sltw_secret_help_cont">
|
127 |
<td colspan="2">
|
128 |
<div>
|
129 |
+
<?php echo sprintf(__('Required for Twitter Social Login to work. Please follow the documentation at <a href="%s" target="_blank">this link</a> to get Twitter API Secret', 'Super-Socializer'), '//thechamplord.wordpress.com/2014/01/28/getting-twitter-consumer-key-and-secret/') ?>
|
130 |
</div>
|
131 |
</td>
|
132 |
</tr>
|
265 |
<tr class="the_champ_help_content" id="the_champ_sl_loginpage_help_cont">
|
266 |
<td colspan="2">
|
267 |
<div>
|
268 |
+
<?php _e('Social Login interface will get enabled at the login page of your website', 'Super-Socializer') ?>
|
269 |
</div>
|
|
|
270 |
</td>
|
271 |
</tr>
|
272 |
|
283 |
<tr class="the_champ_help_content" id="the_champ_sl_regpage_help_cont">
|
284 |
<td colspan="2">
|
285 |
<div>
|
286 |
+
<?php _e('Social Login interface will get enabled at the registration page of your website', 'Super-Socializer') ?>
|
287 |
</div>
|
|
|
288 |
</td>
|
289 |
</tr>
|
290 |
|
536 |
<p><?php _e('You can use "style" attribute in the Shortcode to style the rendered Social Login interface.', 'Super-Socializer') ?></p>
|
537 |
<p><?php _e('Example', 'Super-Socializer') ?></p>
|
538 |
<p><strong>[TheChamp-Login style="background-color:#000;"]</strong></p>
|
539 |
+
<p><?php _e('You can use shortcode in PHP file as following', 'Super-Socializer') ?></p>
|
540 |
+
<p><strong><?php echo do_shortcode('SHORTCODE') ?></strong></p>
|
541 |
+
<p><?php _e('Replace <strong>SHORTCODE</strong> in above code with the required shortcode like <strong>[TheChamp-Login style="background-color:#000;"]</strong>, so the final code looks like following', 'Super-Socializer') ?></p>
|
542 |
+
<p><strong><?php echo do_shortcode('[TheChamp-Login style="background-color:#000;"]') ?></strong></p>
|
543 |
</div>
|
544 |
</div>
|
545 |
|
admin/social_sharing.php
CHANGED
@@ -69,7 +69,7 @@ var theChampSharingIconPath = '<?php echo plugins_url('../images/sharing', __FIL
|
|
69 |
<tr>
|
70 |
<td colspan="2">
|
71 |
<div>
|
72 |
-
<?php _e('<strong>Note:</strong> To disable sharing on particular page/post, edit that page/post and check the
|
73 |
</div>
|
74 |
<img style="box-shadow: 4px 4px 4px 4px #888888; margin: 8px 0" width="550" id="the_champ_sl_emailver_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/snaps/ss_disable_sharing.png', __FILE__) ?>" />
|
75 |
</td>
|
@@ -229,7 +229,7 @@ var theChampSharingIconPath = '<?php echo plugins_url('../images/sharing', __FIL
|
|
229 |
foreach($theChampSharingOptions['horizontal_re_providers'] as $rearrange){
|
230 |
?>
|
231 |
<li title="<?php echo $rearrange ?>" id="the_champ_re_horizontal_<?php echo str_replace(' ', '_', $rearrange) ?>" >
|
232 |
-
<i class="theChampSharingButton theChampSharing<?php echo str_replace(' ', '', $rearrange) ?>Button"></i>
|
233 |
<input type="hidden" name="the_champ_sharing[horizontal_re_providers][]" value="<?php echo $rearrange ?>">
|
234 |
</li>
|
235 |
<?php
|
@@ -447,7 +447,7 @@ var theChampSharingIconPath = '<?php echo plugins_url('../images/sharing', __FIL
|
|
447 |
foreach($theChampSharingOptions['vertical_re_providers'] as $rearrange){
|
448 |
?>
|
449 |
<li title="<?php echo $rearrange ?>" id="the_champ_re_vertical_<?php echo str_replace(' ', '_', $rearrange) ?>" >
|
450 |
-
<i class="theChampSharingButton theChampSharing<?php echo str_replace(' ', '', $rearrange) ?>Button"></i>
|
451 |
<input type="hidden" name="the_champ_sharing[vertical_re_providers][]" value="<?php echo $rearrange ?>">
|
452 |
</li>
|
453 |
<?php
|
@@ -466,6 +466,28 @@ var theChampSharingIconPath = '<?php echo plugins_url('../images/sharing', __FIL
|
|
466 |
</td>
|
467 |
</tr>
|
468 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
<tr>
|
470 |
<th>
|
471 |
<img id="the_champ_ss_left_offset_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
@@ -483,6 +505,27 @@ var theChampSharingIconPath = '<?php echo plugins_url('../images/sharing', __FIL
|
|
483 |
</div>
|
484 |
</td>
|
485 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
486 |
|
487 |
<tr>
|
488 |
<th>
|
@@ -584,6 +627,10 @@ var theChampSharingIconPath = '<?php echo plugins_url('../images/sharing', __FIL
|
|
584 |
<p><?php _e('Use <strong>top</strong> attribute to specify the top offset (distance form the top of the screen) of Social Sharing interface.', 'Super-Socializer') ?></p>
|
585 |
<p><?php _e('Example', 'Super-Socializer') ?></p>
|
586 |
<p><strong>[TheChamp-Sharing type="vertical" top="200"]</strong></p>
|
|
|
|
|
|
|
|
|
587 |
</div>
|
588 |
</div>
|
589 |
|
69 |
<tr>
|
70 |
<td colspan="2">
|
71 |
<div>
|
72 |
+
<?php _e('<strong>Note:</strong> To disable sharing on particular page/post, edit that page/post and check the options at the bottom in <strong>"Super Socializer"</strong> section', 'Super-Socializer') ?>
|
73 |
</div>
|
74 |
<img style="box-shadow: 4px 4px 4px 4px #888888; margin: 8px 0" width="550" id="the_champ_sl_emailver_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/snaps/ss_disable_sharing.png', __FILE__) ?>" />
|
75 |
</td>
|
229 |
foreach($theChampSharingOptions['horizontal_re_providers'] as $rearrange){
|
230 |
?>
|
231 |
<li title="<?php echo $rearrange ?>" id="the_champ_re_horizontal_<?php echo str_replace(' ', '_', $rearrange) ?>" >
|
232 |
+
<i class="theChampSharingButton theChampSharing<?php echo ucfirst(str_replace(' ', '', $rearrange)) ?>Button"></i>
|
233 |
<input type="hidden" name="the_champ_sharing[horizontal_re_providers][]" value="<?php echo $rearrange ?>">
|
234 |
</li>
|
235 |
<?php
|
447 |
foreach($theChampSharingOptions['vertical_re_providers'] as $rearrange){
|
448 |
?>
|
449 |
<li title="<?php echo $rearrange ?>" id="the_champ_re_vertical_<?php echo str_replace(' ', '_', $rearrange) ?>" >
|
450 |
+
<i class="theChampSharingButton theChampSharing<?php echo ucfirst(str_replace(' ', '', $rearrange)) ?>Button"></i>
|
451 |
<input type="hidden" name="the_champ_sharing[vertical_re_providers][]" value="<?php echo $rearrange ?>">
|
452 |
</li>
|
453 |
<?php
|
466 |
</td>
|
467 |
</tr>
|
468 |
|
469 |
+
<tr>
|
470 |
+
<th>
|
471 |
+
<img id="the_champ_ss_alignment_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
472 |
+
<label for="the_champ_ss_alignment"><?php _e("Horizontal alignment", 'Super-Socializer'); ?></label>
|
473 |
+
</th>
|
474 |
+
<td>
|
475 |
+
<select onchange="theChampToggleOffset(this.value)" id="the_champ_ss_alignment" name="the_champ_sharing[alignment]">
|
476 |
+
<option value="left" <?php echo isset($theChampSharingOptions['alignment']) && $theChampSharingOptions['alignment'] == 'left' ? 'selected="selected"' : '' ?>><?php _e('Left', 'Super-Socializer') ?></option>
|
477 |
+
<option value="right" <?php echo isset($theChampSharingOptions['alignment']) && $theChampSharingOptions['alignment'] == 'right' ? 'selected="selected"' : '' ?>><?php _e('Right', 'Super-Socializer') ?></option>
|
478 |
+
</select>
|
479 |
+
</td>
|
480 |
+
</tr>
|
481 |
+
|
482 |
+
<tr class="the_champ_help_content" id="the_champ_ss_alignment_help_cont">
|
483 |
+
<td colspan="2">
|
484 |
+
<div>
|
485 |
+
<?php _e('Horizontal alignment of the sharing interface', 'Super-Socializer') ?>
|
486 |
+
</div>
|
487 |
+
</td>
|
488 |
+
</tr>
|
489 |
+
|
490 |
+
<tbody id="the_champ_ss_left_offset_rows" <?php echo (isset($theChampSharingOptions['alignment']) && $theChampSharingOptions['alignment'] == 'left') ? '' : 'style="display: none"' ?>>
|
491 |
<tr>
|
492 |
<th>
|
493 |
<img id="the_champ_ss_left_offset_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
505 |
</div>
|
506 |
</td>
|
507 |
</tr>
|
508 |
+
</tbody>
|
509 |
+
|
510 |
+
<tbody id="the_champ_ss_right_offset_rows" <?php echo (isset($theChampSharingOptions['alignment']) && $theChampSharingOptions['alignment'] == 'right') ? '' : 'style="display: none"' ?>>
|
511 |
+
<tr>
|
512 |
+
<th>
|
513 |
+
<img id="the_champ_ss_right_offset_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
514 |
+
<label for="the_champ_ss_right_offset"><?php _e("Right offset", 'Super-Socializer'); ?></label>
|
515 |
+
</th>
|
516 |
+
<td>
|
517 |
+
<input style="width: 100px" id="the_champ_ss_right_offset" name="the_champ_sharing[right_offset]" type="text" value="<?php echo isset($theChampSharingOptions['right_offset']) ? $theChampSharingOptions['right_offset'] : '' ?>" />px
|
518 |
+
</td>
|
519 |
+
</tr>
|
520 |
+
|
521 |
+
<tr class="the_champ_help_content" id="the_champ_ss_right_offset_help_cont">
|
522 |
+
<td colspan="2">
|
523 |
+
<div>
|
524 |
+
<?php _e('Specify a number. Increase in number will shift sharing interface towards left and decrease will shift it towards right.', 'Super-Socializer') ?>
|
525 |
+
</div>
|
526 |
+
</td>
|
527 |
+
</tr>
|
528 |
+
</tbody>
|
529 |
|
530 |
<tr>
|
531 |
<th>
|
627 |
<p><?php _e('Use <strong>top</strong> attribute to specify the top offset (distance form the top of the screen) of Social Sharing interface.', 'Super-Socializer') ?></p>
|
628 |
<p><?php _e('Example', 'Super-Socializer') ?></p>
|
629 |
<p><strong>[TheChamp-Sharing type="vertical" top="200"]</strong></p>
|
630 |
+
<p><?php _e('You can use shortcode in PHP file as following', 'Super-Socializer') ?></p>
|
631 |
+
<p><strong><?php echo do_shortcode('SHORTCODE') ?></strong></p>
|
632 |
+
<p><?php _e('Replace <strong>SHORTCODE</strong> in above code with the required shortcode like <strong>[TheChamp-Sharing style="background-color:#000;"]</strong>, so the final code looks like following', 'Super-Socializer') ?></p>
|
633 |
+
<p><strong><?php echo do_shortcode('[TheChamp-Sharing style="background-color:#000;"]') ?></strong></p>
|
634 |
</div>
|
635 |
</div>
|
636 |
|
css/admin.css
CHANGED
@@ -1,130 +1 @@
|
|
1 |
-
@charset "utf-8";
|
2 |
-
/* CSS Document */
|
3 |
-
.clr{
|
4 |
-
clear:both;
|
5 |
-
}
|
6 |
-
h2.nav-tab-wrapper > ul > li{
|
7 |
-
float:left;
|
8 |
-
margin-left:5px
|
9 |
-
}
|
10 |
-
li.ui-tabs-active{
|
11 |
-
border-bottom-color: #f1f1f1;
|
12 |
-
border-bottom-style: solid;
|
13 |
-
border-bottom-width: 5px;
|
14 |
-
}
|
15 |
-
li.ui-tabs-active a.nav-tab{
|
16 |
-
background: transparent
|
17 |
-
}
|
18 |
-
.submit a {
|
19 |
-
margin-left: 20px;
|
20 |
-
}
|
21 |
-
div.menu_containt_div > .stuffbox{
|
22 |
-
width:763px
|
23 |
-
}
|
24 |
-
div.inside td, div.inside th{
|
25 |
-
padding: 7px
|
26 |
-
}
|
27 |
-
div.stuffbox h3{
|
28 |
-
border-bottom: 1px solid #eee
|
29 |
-
}
|
30 |
-
.theChampHorizontalSharingProviderContainer, .theChampVerticalSharingProviderContainer{
|
31 |
-
width: 165px;
|
32 |
-
float: left;
|
33 |
-
}
|
34 |
-
.the_champ_help_content{
|
35 |
-
display: none;
|
36 |
-
font-size: 12px;
|
37 |
-
color: #797979;
|
38 |
-
line-height: 15px;
|
39 |
-
font-style: italic;
|
40 |
-
}
|
41 |
-
.the_champ_help_content img{
|
42 |
-
box-shadow: 4px 4px 4px 4px #888888;
|
43 |
-
margin: 8px 0;
|
44 |
-
}
|
45 |
-
.the_champ_help_bubble{
|
46 |
-
cursor: pointer;
|
47 |
-
vertical-align: middle
|
48 |
-
}
|
49 |
-
#the_champ_ss_rearrange li, #the_champ_ss_vertical_rearrange li{
|
50 |
-
cursor: move;
|
51 |
-
float: left;
|
52 |
-
display: block;
|
53 |
-
margin: 0 2px
|
54 |
-
}
|
55 |
-
#the_champ_ss_rearrange, #the_champ_ss_vertical_rearrange{
|
56 |
-
margin: 0
|
57 |
-
}
|
58 |
-
.the_champ_left_column{
|
59 |
-
float:left;
|
60 |
-
width: 56% !important
|
61 |
-
}
|
62 |
-
.the_champ_right_column{
|
63 |
-
float:left;
|
64 |
-
width: 37%;
|
65 |
-
margin-left: 10px
|
66 |
-
}
|
67 |
-
.the_champ_right_column td{
|
68 |
-
display: block;
|
69 |
-
width:120px !important;
|
70 |
-
margin: 0
|
71 |
-
}
|
72 |
-
.the_champ_clear{
|
73 |
-
clear: both
|
74 |
-
}
|
75 |
-
.the_champ_error{
|
76 |
-
background-color: #FFFFE0;
|
77 |
-
border:1px solid #E6DB55;
|
78 |
-
padding:5px;
|
79 |
-
margin: 10px
|
80 |
-
}
|
81 |
-
input[type=text]{
|
82 |
-
width: 351px
|
83 |
-
}
|
84 |
-
.theChampLoginButton{
|
85 |
-
background: url('../images/login/login.png') no-repeat;
|
86 |
-
cursor: pointer
|
87 |
-
}
|
88 |
-
.theChampFacebookButton {
|
89 |
-
background-position: -0px -0px;
|
90 |
-
width: 32px;
|
91 |
-
height: 32px;
|
92 |
-
}
|
93 |
-
.theChampWordpressButton {
|
94 |
-
background-position: -0px -96px;
|
95 |
-
width: 32px;
|
96 |
-
height: 32px;
|
97 |
-
}
|
98 |
-
.theChampLinkedinButton {
|
99 |
-
background-position: -32px -32px;
|
100 |
-
width: 32px;
|
101 |
-
height: 32px;
|
102 |
-
}
|
103 |
-
.theChampTwitterButton {
|
104 |
-
background-position: -0px -64px;
|
105 |
-
width: 32px;
|
106 |
-
height: 32px;
|
107 |
-
}
|
108 |
-
.theChampSharingButton{
|
109 |
-
display: block;
|
110 |
-
background: url('../images/sharing/sharing.png') no-repeat;
|
111 |
-
}
|
112 |
-
.theChampSharingdeliciousButton { background-position: -0px -0px; width: 32px; height: 32px; }
|
113 |
-
.theChampSharingdiggButton { background-position: -32px -0px; width: 32px; height: 32px; }
|
114 |
-
.theChampSharingemailButton { background-position: -64px -0px; width: 32px; height: 32px; }
|
115 |
-
.theChampSharingfacebookButton { background-position: -96px -0px; width: 32px; height: 32px; }
|
116 |
-
.theChampSharingfloatitButton { background-position: -0px -32px; width: 32px; height: 32px; }
|
117 |
-
.theChampSharinggoogleButton { background-position: -32px -32px; width: 32px; height: 32px; }
|
118 |
-
.theChampSharinglinkedinButton { background-position: -64px -32px; width: 32px; height: 32px; }
|
119 |
-
.theChampSharingpinterestButton { background-position: -0px -64px; width: 32px; height: 32px; }
|
120 |
-
.theChampSharingprintButton { background-position: -32px -64px; width: 32px; height: 32px; }
|
121 |
-
.theChampSharingredditButton { background-position: -64px -64px; width: 32px; height: 32px; }
|
122 |
-
.theChampSharingstumbleuponButton { background-position: -96px -64px; width: 32px; height: 32px; }
|
123 |
-
.theChampSharingtumblrButton { background-position: -0px -96px; width: 32px; height: 32px; }
|
124 |
-
.theChampSharingtwitterButton { background-position: -32px -96px; width: 32px; height: 32px; }
|
125 |
-
.theChampSharingvkontakteButton { background-position: -64px -96px; width: 32px; height: 32px; }
|
126 |
-
.theChampSharingyahooButton { background-position: -96px -96px; width: 32px; height: 32px; }
|
127 |
-
|
128 |
-
#the_champ_troubleshoot_notification{
|
129 |
-
color: red
|
130 |
-
}
|
1 |
+
@charset "utf-8";.clr{clear:both}h2.nav-tab-wrapper>ul>li{float:left;margin-left:5px}li.ui-tabs-active{border-bottom-color:#f1f1f1;border-bottom-style:solid;border-bottom-width:5px}li.ui-tabs-active a.nav-tab{background:0 0}.submit a{margin-left:20px}div.menu_containt_div>.stuffbox{width:763px}div.inside td,div.inside th{padding:7px}div.stuffbox h3{border-bottom:1px solid #eee}.theChampHorizontalSharingProviderContainer,.theChampVerticalSharingProviderContainer{width:165px;float:left}.the_champ_help_content{display:none;font-size:12px;color:#797979;line-height:15px;font-style:italic}.the_champ_help_content img{box-shadow:4px 4px 4px 4px #888;margin:8px 0}.the_champ_help_bubble{cursor:pointer;vertical-align:middle}#the_champ_ss_rearrange li,#the_champ_ss_vertical_rearrange li{cursor:move;float:left;display:block;margin:0 2px}#the_champ_ss_rearrange,#the_champ_ss_vertical_rearrange{margin:0}.the_champ_left_column{float:left;width:56%!important}.the_champ_right_column{float:left;width:37%;margin-left:10px}.the_champ_right_column td{display:block;width:120px!important;margin:0}.the_champ_clear{clear:both}.the_champ_error{background-color:#FFFFE0;border:1px solid #E6DB55;padding:5px;margin:10px}input[type=text]{width:351px}.theChampLoginButton{background:url(../images/login/login.png) no-repeat;cursor:pointer}.theChampFacebookButton{background-position:0 0;width:32px;height:32px}.theChampWordpressButton{background-position:0 -96px;width:32px;height:32px}.theChampLinkedinButton{background-position:-32px -32px;width:32px;height:32px}.theChampTwitterButton{background-position:0 -64px;width:32px;height:32px}.theChampSharingButton{display:block;background:url(../images/sharing/sharing.png) no-repeat}.theChampSharingDeliciousButton{background-position:0 0;width:32px;height:32px}.theChampSharingDiggButton{background-position:-32px 0;width:32px;height:32px}.theChampSharingEmailButton{background-position:-64px 0;width:32px;height:32px}.theChampSharingFacebookButton{background-position:-96px 0;width:32px;height:32px}.theChampSharingFloatitButton{background-position:0 -32px;width:32px;height:32px}.theChampSharingGoogleButton{background-position:-32px -32px;width:32px;height:32px}.theChampSharingLinkedinButton{background-position:-64px -32px;width:32px;height:32px}.theChampSharingPinterestButton{background-position:0 -64px;width:32px;height:32px}.theChampSharingPrintButton{background-position:-32px -64px;width:32px;height:32px}.theChampSharingRedditButton{background-position:-64px -64px;width:32px;height:32px}.theChampSharingStumbleuponButton{background-position:-96px -64px;width:32px;height:32px}.theChampSharingTumblrButton{background-position:0 -96px;width:32px;height:32px}.theChampSharingTwitterButton{background-position:-32px -96px;width:32px;height:32px}.theChampSharingVkontakteButton{background-position:-64px -96px;width:32px;height:32px}.theChampSharingYahooButton{background-position:-96px -96px;width:32px;height:32px}#the_champ_troubleshoot_notification{color:red}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/front.css
CHANGED
@@ -1,376 +1 @@
|
|
1 |
-
@charset "utf-8";
|
2 |
-
/* CSS Document */
|
3 |
-
#the_champ_error{
|
4 |
-
color: red;
|
5 |
-
margin: 7px 0;
|
6 |
-
}
|
7 |
-
.the_champ_login_container{
|
8 |
-
margin: 2px 0;
|
9 |
-
}
|
10 |
-
.the_champ_login_container img{
|
11 |
-
cursor: pointer;
|
12 |
-
margin: 2px;
|
13 |
-
display: none;
|
14 |
-
float: left;
|
15 |
-
border: none
|
16 |
-
}
|
17 |
-
#the_champ_loading_image{
|
18 |
-
display: block !important;
|
19 |
-
float: none
|
20 |
-
}
|
21 |
-
.the_champ_sharing_container img{
|
22 |
-
cursor: pointer;
|
23 |
-
margin: 2px;
|
24 |
-
border: none
|
25 |
-
}
|
26 |
-
.the_champ_error{
|
27 |
-
background-color: #FFFFE0;
|
28 |
-
border:1px solid #E6DB55;
|
29 |
-
padding:5px;
|
30 |
-
margin: 10px
|
31 |
-
}
|
32 |
-
#the_champ_sharing_more_providers{
|
33 |
-
position: fixed;
|
34 |
-
top: 150px;
|
35 |
-
left: 48%;
|
36 |
-
background: none repeat scroll 0 0 #FAFAFA;
|
37 |
-
width: 650px;
|
38 |
-
margin-left: -300px;
|
39 |
-
z-index: 10000000;
|
40 |
-
}
|
41 |
-
#the_champ_popup_bg{
|
42 |
-
background: url("../images/transparent_bg.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
|
43 |
-
bottom: 0;
|
44 |
-
display: block;
|
45 |
-
left: 0;
|
46 |
-
position: fixed;
|
47 |
-
right: 0;
|
48 |
-
top: 0;
|
49 |
-
z-index: 10000
|
50 |
-
}
|
51 |
-
#the_champ_sharing_more_providers .title{
|
52 |
-
background: none repeat scroll 0 0 #58B8F8 !important;
|
53 |
-
border-bottom: 1px solid #D7D7D7 !important;
|
54 |
-
color: #fff;
|
55 |
-
font-size: 14px;
|
56 |
-
font-weight: 700;
|
57 |
-
letter-spacing: inherit;
|
58 |
-
line-height: 34px !important;
|
59 |
-
padding: 0 !important;
|
60 |
-
text-align: center;
|
61 |
-
text-transform: none;
|
62 |
-
margin: 0 !important;
|
63 |
-
text-shadow: none !important
|
64 |
-
}
|
65 |
-
#the_champ_sharing_more_providers *{
|
66 |
-
font-family: Arial, Helvetica, sans-serif;
|
67 |
-
}
|
68 |
-
#the_champ_sharing_more_providers #the_champ_sharing_more_content{
|
69 |
-
background: none repeat scroll 0 0 #FAFAFA;
|
70 |
-
border-radius: 4px;
|
71 |
-
color: #555555;
|
72 |
-
height: 100%;
|
73 |
-
width: 100%;
|
74 |
-
}
|
75 |
-
#the_champ_sharing_more_providers .filter{
|
76 |
-
padding: 10px 0 0;
|
77 |
-
position: relative;
|
78 |
-
}
|
79 |
-
#the_champ_sharing_more_providers .all-services{
|
80 |
-
clear: both;
|
81 |
-
height: 250px;
|
82 |
-
overflow: auto;
|
83 |
-
}
|
84 |
-
#the_champ_sharing_more_content .all-services ul{
|
85 |
-
margin: 10px;
|
86 |
-
overflow: hidden;
|
87 |
-
list-style: none outside none;
|
88 |
-
padding-left: 0 !important
|
89 |
-
}
|
90 |
-
#the_champ_sharing_more_content .all-services ul li{
|
91 |
-
background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
|
92 |
-
float: left;
|
93 |
-
width: 33.3333%;
|
94 |
-
}
|
95 |
-
#the_champ_sharing_more_providers .close-button.separated {
|
96 |
-
background: transparent !important;
|
97 |
-
border: none !important;
|
98 |
-
box-shadow: none !important;
|
99 |
-
}
|
100 |
-
#the_champ_sharing_more_providers .close-button{
|
101 |
-
color: #555555 !important;
|
102 |
-
cursor: pointer !important;
|
103 |
-
font-size: 29px !important;
|
104 |
-
line-height: 29px !important;
|
105 |
-
margin: 0 !important;
|
106 |
-
padding: 0 !important;
|
107 |
-
position: absolute;
|
108 |
-
right: -13px;
|
109 |
-
top: -11px
|
110 |
-
}
|
111 |
-
/*
|
112 |
-
#the_champ_sharing_more_providers .icon-cross-alt:before {
|
113 |
-
content: "x";
|
114 |
-
}*/
|
115 |
-
#the_champ_sharing_more_providers .filter input.search {
|
116 |
-
display: block;
|
117 |
-
float: none;
|
118 |
-
font-family: "open sans","helvetica neue",helvetica,arial,sans-serif;
|
119 |
-
font-weight: 300;
|
120 |
-
height: auto;
|
121 |
-
line-height: inherit;
|
122 |
-
margin: 0 auto;
|
123 |
-
padding: 5px 8px 5px 10px;
|
124 |
-
width: 95%;
|
125 |
-
border-color: #cccccc;
|
126 |
-
border-width: 1px;
|
127 |
-
color: #000;
|
128 |
-
background: none repeat scroll 0 0 #FFFFFF !important;
|
129 |
-
font-size: 16px !important;
|
130 |
-
text-align: left !important
|
131 |
-
|
132 |
-
}
|
133 |
-
#the_champ_sharing_more_providers .footer-panel {
|
134 |
-
background: none repeat scroll 0 0 #58B8F8;
|
135 |
-
border-top: 1px solid #D7D7D7;
|
136 |
-
padding: 6px 0;
|
137 |
-
width: 100%;
|
138 |
-
color: #fff
|
139 |
-
}
|
140 |
-
#the_champ_sharing_more_providers .footer-panel p {
|
141 |
-
color: #000;
|
142 |
-
font-family: 'helvetica neue',arial,helvetica,sans-serif;
|
143 |
-
font-size: 12px;
|
144 |
-
line-height: 1.2;
|
145 |
-
margin: 0 !important;
|
146 |
-
padding: 0 6px;
|
147 |
-
}
|
148 |
-
#the_champ_sharing_more_providers .footer-panel a {
|
149 |
-
color: #fff;
|
150 |
-
text-decoration: none;
|
151 |
-
font-weight: bold;
|
152 |
-
}
|
153 |
-
#the_champ_sharing_more_providers .all-services ul li a {
|
154 |
-
border-radius: 3px;
|
155 |
-
color: #666666 !important;
|
156 |
-
display: block;
|
157 |
-
font-size: 14px;
|
158 |
-
height: auto;
|
159 |
-
line-height: 20px;
|
160 |
-
overflow: hidden;
|
161 |
-
padding: 8px;
|
162 |
-
text-decoration: none;
|
163 |
-
text-overflow: ellipsis;
|
164 |
-
white-space: nowrap;
|
165 |
-
border: none !important;
|
166 |
-
}
|
167 |
-
.the_champ_share_count{
|
168 |
-
display: block;
|
169 |
-
visibility: hidden;
|
170 |
-
background-color: #58B8F8 !important;
|
171 |
-
width: 5px;
|
172 |
-
height: auto;
|
173 |
-
text-align: center;
|
174 |
-
min-width: 8px !important;
|
175 |
-
padding: 1px 4px !important;
|
176 |
-
color: white !important;
|
177 |
-
font-family: 'Open Sans', arial, sans-serif !important;
|
178 |
-
font-size: 10px !important;
|
179 |
-
font-weight: 600 !important;
|
180 |
-
-webkit-border-radius: 15px !important;
|
181 |
-
border-radius: 15px !important;
|
182 |
-
-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.4);
|
183 |
-
box-shadow: 0 2px 2px rgba(0,0,0,0.4);
|
184 |
-
text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
|
185 |
-
line-height: 14px !important;
|
186 |
-
border: 2px solid white !important;
|
187 |
-
z-index: 1;
|
188 |
-
margin: 2px auto;
|
189 |
-
webkit-box-sizing: content-box !important;
|
190 |
-
-moz-box-sizing: content-box !important;
|
191 |
-
box-sizing: content-box !important;
|
192 |
-
}
|
193 |
-
#the_champ_comment_toggle{
|
194 |
-
margin-bottom: 10px
|
195 |
-
}
|
196 |
-
/* Sharing services background icons */
|
197 |
-
.the_champ_sharing_service{ display: block; background: url('../images/sharing/more_sprite.png') no-repeat; margin-right: 3px; float:left }
|
198 |
-
.the_champ_sharing_service_amazon { background-position: -0px -0px; width: 20px; height: 20px; }
|
199 |
-
.the_champ_sharing_service_aol { background-position: -20px -0px; width: 20px; height: 20px; }
|
200 |
-
.the_champ_sharing_service_arto { background-position: -40px -0px; width: 20px; height: 20px; }
|
201 |
-
.the_champ_sharing_service_bebo { background-position: -60px -0px; width: 20px; height: 20px; }
|
202 |
-
.the_champ_sharing_service_bitly { background-position: -80px -0px; width: 20px; height: 20px; }
|
203 |
-
.the_champ_sharing_service_blogger { background-position: -100px -0px; width: 20px; height: 20px; }
|
204 |
-
.the_champ_sharing_service_box { background-position: -120px -0px; width: 20px; height: 20px; }
|
205 |
-
.the_champ_sharing_service_boxee { background-position: -0px -20px; width: 20px; height: 20px; }
|
206 |
-
.the_champ_sharing_service_buffer { background-position: -20px -20px; width: 20px; height: 20px; }
|
207 |
-
.the_champ_sharing_service_buzzster { background-position: -40px -20px; width: 20px; height: 20px; }
|
208 |
-
.the_champ_sharing_service_delicious { background-position: -60px -20px; width: 20px; height: 20px; }
|
209 |
-
.the_champ_sharing_service_digg { background-position: -80px -20px; width: 20px; height: 20px; }
|
210 |
-
.the_champ_sharing_service_diigo { background-position: -100px -20px; width: 20px; height: 20px; }
|
211 |
-
.the_champ_sharing_service_diigolet { background-position: -120px -20px; width: 20px; height: 20px; }
|
212 |
-
.the_champ_sharing_service_email { background-position: -0px -40px; width: 20px; height: 20px; }
|
213 |
-
.the_champ_sharing_service_evernote { background-position: -20px -40px; width: 20px; height: 20px; }
|
214 |
-
.the_champ_sharing_service_facebook { background-position: -40px -40px; width: 20px; height: 20px; }
|
215 |
-
.the_champ_sharing_service_fancy { background-position: -60px -40px; width: 20px; height: 20px; }
|
216 |
-
.the_champ_sharing_service_fark { background-position: -80px -40px; width: 20px; height: 20px; }
|
217 |
-
.the_champ_sharing_service_flipboard { background-position: -100px -40px; width: 20px; height: 20px; }
|
218 |
-
.the_champ_sharing_service_google { background-position: -120px -40px; width: 20px; height: 20px; }
|
219 |
-
.the_champ_sharing_service_google-apps { background-position: -0px -60px; width: 20px; height: 20px; }
|
220 |
-
.the_champ_sharing_service_google-bookmark { background-position: -20px -60px; width: 20px; height: 20px; }
|
221 |
-
.the_champ_sharing_service_google-mail { background-position: -40px -60px; width: 20px; height: 20px; }
|
222 |
-
.the_champ_sharing_service_heart { background-position: -60px -60px; width: 20px; height: 20px; }
|
223 |
-
.the_champ_sharing_service_hootsuite { background-position: -80px -60px; width: 20px; height: 20px; }
|
224 |
-
.the_champ_sharing_service_hotmail { background-position: -100px -60px; width: 20px; height: 20px; }
|
225 |
-
.the_champ_sharing_service_identica { background-position: -120px -60px; width: 20px; height: 20px; }
|
226 |
-
.the_champ_sharing_service_inbound { background-position: -0px -80px; width: 20px; height: 20px; }
|
227 |
-
.the_champ_sharing_service_instapaper { background-position: -20px -80px; width: 20px; height: 20px; }
|
228 |
-
.the_champ_sharing_service_izeby { background-position: -40px -80px; width: 20px; height: 20px; }
|
229 |
-
.the_champ_sharing_service_kaboodle { background-position: -60px -80px; width: 20px; height: 20px; }
|
230 |
-
.the_champ_sharing_service_linkedin { background-position: -80px -80px; width: 20px; height: 20px; }
|
231 |
-
.the_champ_sharing_service_mister-wong { background-position: -100px -80px; width: 20px; height: 20px; }
|
232 |
-
.the_champ_sharing_service_msdn { background-position: -120px -80px; width: 20px; height: 20px; }
|
233 |
-
.the_champ_sharing_service_ning { background-position: -0px -100px; width: 20px; height: 20px; }
|
234 |
-
.the_champ_sharing_service_orkut { background-position: -20px -100px; width: 20px; height: 20px; }
|
235 |
-
.the_champ_sharing_service_pinboard { background-position: -40px -100px; width: 20px; height: 20px; }
|
236 |
-
.the_champ_sharing_service_pinterest { background-position: -60px -100px; width: 20px; height: 20px; }
|
237 |
-
.the_champ_sharing_service_plurk { background-position: -80px -100px; width: 20px; height: 20px; }
|
238 |
-
.the_champ_sharing_service_pocket { background-position: -100px -100px; width: 20px; height: 20px; }
|
239 |
-
.the_champ_sharing_service_print-friendly { background-position: -120px -100px; width: 20px; height: 20px; }
|
240 |
-
.the_champ_sharing_service_quora { background-position: -0px -120px; width: 20px; height: 20px; }
|
241 |
-
.the_champ_sharing_service_read-later { background-position: -20px -120px; width: 20px; height: 20px; }
|
242 |
-
.the_champ_sharing_service_reddit { background-position: -40px -120px; width: 20px; height: 20px; }
|
243 |
-
.the_champ_sharing_service_soup { background-position: -60px -120px; width: 20px; height: 20px; }
|
244 |
-
.the_champ_sharing_service_springpad { background-position: -80px -120px; width: 20px; height: 20px; }
|
245 |
-
.the_champ_sharing_service_stumbleupon { background-position: -100px -120px; width: 20px; height: 20px; }
|
246 |
-
.the_champ_sharing_service_stumpedia { background-position: -120px -120px; width: 20px; height: 20px; }
|
247 |
-
.the_champ_sharing_service_techmeme { background-position: -0px -140px; width: 20px; height: 20px; }
|
248 |
-
.the_champ_sharing_service_tinyurl { background-position: -20px -140px; width: 20px; height: 20px; }
|
249 |
-
.the_champ_sharing_service_tumblr { background-position: -40px -140px; width: 20px; height: 20px; }
|
250 |
-
.the_champ_sharing_service_twitter { background-position: -60px -140px; width: 20px; height: 20px; }
|
251 |
-
.the_champ_sharing_service_typepad { background-position: -80px -140px; width: 20px; height: 20px; }
|
252 |
-
.the_champ_sharing_service_viadeo { background-position: -100px -140px; width: 20px; height: 20px; }
|
253 |
-
.the_champ_sharing_service_vkontakte { background-position: -120px -140px; width: 20px; height: 20px; }
|
254 |
-
.the_champ_sharing_service_wanelo { background-position: -0px -160px; width: 20px; height: 20px; }
|
255 |
-
.the_champ_sharing_service_windows-live { background-position: -20px -160px; width: 20px; height: 20px; }
|
256 |
-
.the_champ_sharing_service_wordpress { background-position: -40px -160px; width: 20px; height: 20px; }
|
257 |
-
.the_champ_sharing_service_yahoo { background-position: -60px -160px; width: 20px; height: 20px; }
|
258 |
-
.the_champ_sharing_service_yammer { background-position: -80px -160px; width: 20px; height: 20px; }
|
259 |
-
.the_champ_sharing_service_yc-hacker { background-position: -100px -160px; width: 20px; height: 20px; }
|
260 |
-
|
261 |
-
ul.the_champ_login_ul{
|
262 |
-
list-style: none outside none !important;
|
263 |
-
margin: 3px 0 !important;
|
264 |
-
padding-left: 0 !important
|
265 |
-
}
|
266 |
-
ul.the_champ_login_ul li{
|
267 |
-
background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
|
268 |
-
float: left;
|
269 |
-
padding: 0 !important;
|
270 |
-
margin: 0 !important;
|
271 |
-
border: 0 !important;
|
272 |
-
width: auto !important;
|
273 |
-
clear: none !important;
|
274 |
-
list-style: none !important;
|
275 |
-
}
|
276 |
-
.theChampLoginButton{
|
277 |
-
display: block;
|
278 |
-
background: url('../images/login/login.png') no-repeat;
|
279 |
-
margin: 2px;
|
280 |
-
float: left;
|
281 |
-
cursor: pointer;
|
282 |
-
border: none
|
283 |
-
}
|
284 |
-
.theChampFacebookButton {
|
285 |
-
background-position: -0px -0px;
|
286 |
-
width: 32px;
|
287 |
-
height: 32px;
|
288 |
-
display: none;
|
289 |
-
}
|
290 |
-
.theChampGoogleButton {
|
291 |
-
background-position: -32px -0px;
|
292 |
-
width: 32px;
|
293 |
-
height: 32px;
|
294 |
-
display: none
|
295 |
-
}
|
296 |
-
.theChampInstagramButton {
|
297 |
-
background-position: -0px -32px;
|
298 |
-
width: 32px;
|
299 |
-
height: 32px;
|
300 |
-
display: block !important
|
301 |
-
}
|
302 |
-
.theChampLinkedinButton {
|
303 |
-
background-position: -32px -32px;
|
304 |
-
width: 32px;
|
305 |
-
height: 32px;
|
306 |
-
display: none
|
307 |
-
}
|
308 |
-
.theChampTwitterButton {
|
309 |
-
background-position: -0px -64px;
|
310 |
-
width: 32px;
|
311 |
-
height: 32px;
|
312 |
-
display: block !important
|
313 |
-
}
|
314 |
-
.theChampVkontakteButton {
|
315 |
-
background-position: -32px -64px;
|
316 |
-
width: 32px;
|
317 |
-
height: 32px;
|
318 |
-
display: none
|
319 |
-
}
|
320 |
-
ul.the_champ_sharing_ul{
|
321 |
-
list-style: none outside none !important;
|
322 |
-
margin: 1px 0 !important;
|
323 |
-
padding-left: 0 !important
|
324 |
-
}
|
325 |
-
#the_champ_sharing_popup_close img{
|
326 |
-
background: transparent !important;
|
327 |
-
border: none !important;
|
328 |
-
outline: none !important;
|
329 |
-
box-shadow: none !important;
|
330 |
-
}
|
331 |
-
ul.the_champ_sharing_ul li{
|
332 |
-
background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
|
333 |
-
float: left !important;
|
334 |
-
margin: 0 !important;
|
335 |
-
padding: 0 !important;
|
336 |
-
list-style: none !important;
|
337 |
-
border: none !important
|
338 |
-
}
|
339 |
-
.theChampSharingButton{
|
340 |
-
display: block;
|
341 |
-
background: url('../images/sharing/sharing.png') no-repeat;
|
342 |
-
margin: 2px;
|
343 |
-
float: left;
|
344 |
-
cursor: pointer;
|
345 |
-
border: none
|
346 |
-
}
|
347 |
-
.theChampSharingDeliciousButton { background-position: -0px -0px; width: 32px; height: 32px; }
|
348 |
-
.theChampSharingDiggButton { background-position: -32px -0px; width: 32px; height: 32px; }
|
349 |
-
.theChampSharingEmailButton { background-position: -64px -0px; width: 32px; height: 32px; }
|
350 |
-
.theChampSharingFacebookButton { background-position: -96px -0px; width: 32px; height: 32px; }
|
351 |
-
.theChampSharingFloatitButton { background-position: -0px -32px; width: 32px; height: 32px; }
|
352 |
-
.theChampSharingGoogleButton { background-position: -32px -32px; width: 32px; height: 32px; }
|
353 |
-
.theChampSharingLinkedinButton { background-position: -64px -32px; width: 32px; height: 32px; }
|
354 |
-
.theChampSharingMoreButton { background-position: -96px -32px; width: 32px; height: 32px; }
|
355 |
-
.theChampSharingPinterestButton { background-position: -0px -64px; width: 32px; height: 32px; }
|
356 |
-
.theChampSharingPrintButton { background-position: -32px -64px; width: 32px; height: 32px; }
|
357 |
-
.theChampSharingRedditButton { background-position: -64px -64px; width: 32px; height: 32px; }
|
358 |
-
.theChampSharingStumbleuponButton { background-position: -96px -64px; width: 32px; height: 32px; }
|
359 |
-
.theChampSharingTumblrButton { background-position: -0px -96px; width: 32px; height: 32px; }
|
360 |
-
.theChampSharingTwitterButton { background-position: -32px -96px; width: 32px; height: 32px; }
|
361 |
-
.theChampSharingVkontakteButton { background-position: -64px -96px; width: 32px; height: 32px; }
|
362 |
-
.theChampSharingYahooButton { background-position: -96px -96px; width: 32px; height: 32px; }
|
363 |
-
.the_champ_vertical_sharing{
|
364 |
-
background: #fff;
|
365 |
-
-webkit-box-shadow: 0 1px 4px 1px rgba(0,0,0,0.1);
|
366 |
-
-moz-box-shadow: 0 1px 4px 1px rgba(0,0,0,0.1);
|
367 |
-
box-shadow: 0 1px 4px 1px rgba(0,0,0,0.1);
|
368 |
-
position: fixed;
|
369 |
-
overflow: visible;
|
370 |
-
z-index: 100;
|
371 |
-
display: block;
|
372 |
-
padding: 10px;
|
373 |
-
border-radius: 4px;
|
374 |
-
width: 35px;
|
375 |
-
opacity: 1
|
376 |
-
}
|
1 |
+
@charset "utf-8";#the_champ_error{color:red;margin:7px 0}.the_champ_login_container{margin:2px 0}.the_champ_login_container img{cursor:pointer;margin:2px;display:none;float:left;border:none}#the_champ_loading_image{display:block!important;float:none}.the_champ_sharing_container img{cursor:pointer;margin:2px;border:none}.the_champ_error{background-color:#FFFFE0;border:1px solid #E6DB55;padding:5px;margin:10px}#the_champ_sharing_more_providers{position:fixed;top:50%;left:47%;background:none repeat scroll 0 0 #FAFAFA;width:650px;margin:-180px 0 0 -300px;z-index:10000000}#the_champ_popup_bg{background:url(../images/transparent_bg.png) repeat scroll 0 0 rgba(0,0,0,0);bottom:0;display:block;left:0;position:fixed;right:0;top:0;z-index:10000}#the_champ_sharing_more_providers .title{background:none repeat scroll 0 0 #58B8F8!important;border-bottom:1px solid #D7D7D7!important;color:#fff;font-size:14px;font-weight:700;letter-spacing:inherit;line-height:34px!important;padding:0!important;text-align:center;text-transform:none;margin:0!important;text-shadow:none!important}#the_champ_sharing_more_providers *{font-family:Arial,Helvetica,sans-serif}#the_champ_sharing_more_providers #the_champ_sharing_more_content{background:none repeat scroll 0 0 #FAFAFA;border-radius:4px;color:#555;height:100%;width:100%}#the_champ_sharing_more_providers .filter{padding:10px 0 0;position:relative}#the_champ_sharing_more_providers .all-services{clear:both;height:250px;overflow:auto}#the_champ_sharing_more_content .all-services ul{margin:10px;overflow:hidden;list-style:none outside none;padding-left:0!important}#the_champ_sharing_more_content .all-services ul li{background:none repeat scroll 0 0 rgba(0,0,0,0)!important;float:left;width:33.3333%; text-align: left !important}#the_champ_sharing_more_providers .close-button.separated{background:transparent!important;border:none!important;box-shadow:none!important}#the_champ_sharing_more_providers .close-button{color:#555!important;cursor:pointer!important;font-size:29px!important;line-height:29px!important;margin:0!important;padding:0!important;position:absolute;right:-13px;top:-11px}#the_champ_sharing_more_providers .filter input.search{display:block;float:none;font-family:"open sans","helvetica neue",helvetica,arial,sans-serif;font-weight:300;height:auto;line-height:inherit;margin:0 auto;padding:5px 8px 5px 10px;width:95%;border:1px solid #ccc !important;color:#000;background:none repeat scroll 0 0 #FFF!important;font-size:16px!important;text-align:left!important}#the_champ_sharing_more_providers .footer-panel{background:none repeat scroll 0 0 #58B8F8;border-top:1px solid #D7D7D7;padding:6px 0;width:100%;color:#fff}#the_champ_sharing_more_providers .footer-panel p{text-align: left !important;color:#000;font-family:'helvetica neue',arial,helvetica,sans-serif;font-size:12px;line-height:1.2;margin:0!important;padding:0 6px; text-indent: 0 !important}#the_champ_sharing_more_providers .footer-panel a{color:#fff;text-decoration:none;font-weight:700; text-indent: 0 !important}#the_champ_sharing_more_providers .all-services ul li a{border-radius:3px;color:#666!important;display:block;font-size:14px;height:auto;line-height:20px;overflow:hidden;padding:8px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;border:none!important; text-indent: 0 !important }.the_champ_share_count{display:block;text-indent: 0 !important;visibility:hidden;background-color:#58B8F8!important;width:5px;height:auto;text-align:center;min-width:8px!important;padding:1px 4px!important;color:#fff!important;font-family:'Open Sans',arial,sans-serif!important;font-size:10px!important;font-weight:600!important;-webkit-border-radius:15px!important;border-radius:15px!important;-webkit-box-shadow:0 2px 2px rgba(0,0,0,.4);box-shadow:0 2px 2px rgba(0,0,0,.4);text-shadow:0 -1px 0 rgba(0,0,0,.2);line-height:14px!important;border:2px solid #fff!important;z-index:1;margin:2px auto;webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important;box-sizing:content-box!important}#the_champ_comment_toggle{margin-bottom:10px}.the_champ_sharing_service{display:block;background:url(../images/sharing/more_sprite.png) no-repeat;margin-right:3px;float:left}.the_champ_sharing_service_amazon{background-position:0 0;width:20px;height:20px}.the_champ_sharing_service_aol{background-position:-20px 0;width:20px;height:20px}.the_champ_sharing_service_arto{background-position:-40px 0;width:20px;height:20px}.the_champ_sharing_service_bebo{background-position:-60px 0;width:20px;height:20px}.the_champ_sharing_service_bitly{background-position:-80px 0;width:20px;height:20px}.the_champ_sharing_service_blogger{background-position:-100px 0;width:20px;height:20px}.the_champ_sharing_service_box{background-position:-120px 0;width:20px;height:20px}.the_champ_sharing_service_boxee{background-position:0 -20px;width:20px;height:20px}.the_champ_sharing_service_buffer{background-position:-20px -20px;width:20px;height:20px}.the_champ_sharing_service_buzzster{background-position:-40px -20px;width:20px;height:20px}.the_champ_sharing_service_delicious{background-position:-60px -20px;width:20px;height:20px}.the_champ_sharing_service_digg{background-position:-80px -20px;width:20px;height:20px}.the_champ_sharing_service_diigo{background-position:-100px -20px;width:20px;height:20px}.the_champ_sharing_service_diigolet{background-position:-120px -20px;width:20px;height:20px}.the_champ_sharing_service_email{background-position:0 -40px;width:20px;height:20px}.the_champ_sharing_service_evernote{background-position:-20px -40px;width:20px;height:20px}.the_champ_sharing_service_facebook{background-position:-40px -40px;width:20px;height:20px}.the_champ_sharing_service_fancy{background-position:-60px -40px;width:20px;height:20px}.the_champ_sharing_service_fark{background-position:-80px -40px;width:20px;height:20px}.the_champ_sharing_service_flipboard{background-position:-100px -40px;width:20px;height:20px}.the_champ_sharing_service_google{background-position:-120px -40px;width:20px;height:20px}.the_champ_sharing_service_google-apps{background-position:0 -60px;width:20px;height:20px}.the_champ_sharing_service_google-bookmark{background-position:-20px -60px;width:20px;height:20px}.the_champ_sharing_service_google-mail{background-position:-40px -60px;width:20px;height:20px}.the_champ_sharing_service_heart{background-position:-60px -60px;width:20px;height:20px}.the_champ_sharing_service_hootsuite{background-position:-80px -60px;width:20px;height:20px}.the_champ_sharing_service_hotmail{background-position:-100px -60px;width:20px;height:20px}.the_champ_sharing_service_identica{background-position:-120px -60px;width:20px;height:20px}.the_champ_sharing_service_inbound{background-position:0 -80px;width:20px;height:20px}.the_champ_sharing_service_instapaper{background-position:-20px -80px;width:20px;height:20px}.the_champ_sharing_service_izeby{background-position:-40px -80px;width:20px;height:20px}.the_champ_sharing_service_kaboodle{background-position:-60px -80px;width:20px;height:20px}.the_champ_sharing_service_linkedin{background-position:-80px -80px;width:20px;height:20px}.the_champ_sharing_service_mister-wong{background-position:-100px -80px;width:20px;height:20px}.the_champ_sharing_service_msdn{background-position:-120px -80px;width:20px;height:20px}.the_champ_sharing_service_ning{background-position:0 -100px;width:20px;height:20px}.the_champ_sharing_service_orkut{background-position:-20px -100px;width:20px;height:20px}.the_champ_sharing_service_pinboard{background-position:-40px -100px;width:20px;height:20px}.the_champ_sharing_service_pinterest{background-position:-60px -100px;width:20px;height:20px}.the_champ_sharing_service_plurk{background-position:-80px -100px;width:20px;height:20px}.the_champ_sharing_service_pocket{background-position:-100px -100px;width:20px;height:20px}.the_champ_sharing_service_print-friendly{background-position:-120px -100px;width:20px;height:20px}.the_champ_sharing_service_quora{background-position:0 -120px;width:20px;height:20px}.the_champ_sharing_service_read-later{background-position:-20px -120px;width:20px;height:20px}.the_champ_sharing_service_reddit{background-position:-40px -120px;width:20px;height:20px}.the_champ_sharing_service_soup{background-position:-60px -120px;width:20px;height:20px}.the_champ_sharing_service_springpad{background-position:-80px -120px;width:20px;height:20px}.the_champ_sharing_service_stumbleupon{background-position:-100px -120px;width:20px;height:20px}.the_champ_sharing_service_stumpedia{background-position:-120px -120px;width:20px;height:20px}.the_champ_sharing_service_techmeme{background-position:0 -140px;width:20px;height:20px}.the_champ_sharing_service_tinyurl{background-position:-20px -140px;width:20px;height:20px}.the_champ_sharing_service_tumblr{background-position:-40px -140px;width:20px;height:20px}.the_champ_sharing_service_twitter{background-position:-60px -140px;width:20px;height:20px}.the_champ_sharing_service_typepad{background-position:-80px -140px;width:20px;height:20px}.the_champ_sharing_service_viadeo{background-position:-100px -140px;width:20px;height:20px}.the_champ_sharing_service_vkontakte{background-position:-120px -140px;width:20px;height:20px}.the_champ_sharing_service_wanelo{background-position:0 -160px;width:20px;height:20px}.the_champ_sharing_service_windows-live{background-position:-20px -160px;width:20px;height:20px}.the_champ_sharing_service_wordpress{background-position:-40px -160px;width:20px;height:20px}.the_champ_sharing_service_yahoo{background-position:-60px -160px;width:20px;height:20px}.the_champ_sharing_service_yammer{background-position:-80px -160px;width:20px;height:20px}.the_champ_sharing_service_yc-hacker{background-position:-100px -160px;width:20px;height:20px}ul.the_champ_login_ul{list-style:none outside none!important;margin:3px 0!important;padding-left:0!important}ul.the_champ_login_ul li{background:none repeat scroll 0 0 rgba(0,0,0,0)!important;float:left;padding:0!important;margin:0!important;border:0!important;width:auto!important;clear:none!important;list-style:none!important}.theChampLoginButton{display:block;background:url(../images/login/login.png) no-repeat;margin:2px;float:left;cursor:pointer;border:none}.theChampFacebookButton{background-position:0 0;width:32px;height:32px;display:none}.theChampGoogleButton{background-position:-32px 0;width:32px;height:32px;display:none}.theChampInstagramButton{background-position:0 -32px;width:32px;height:32px;display:block!important}.theChampLinkedinButton{background-position:-32px -32px;width:32px;height:32px;display:none}.theChampTwitterButton{background-position:0 -64px;width:32px;height:32px;display:block!important}.theChampVkontakteButton{background-position:-32px -64px;width:32px;height:32px;display:none}ul.the_champ_sharing_ul{list-style:none outside none!important;margin:1px 0!important;padding-left:0!important}#the_champ_sharing_popup_close img{background:transparent!important;border:none!important;outline:0!important;box-shadow:none!important;width: auto !important;height: auto !important;top: inherit !important;right: inherit !important;left: 9px !important;}ul.the_champ_sharing_ul li{background:none repeat scroll 0 0 rgba(0,0,0,0)!important;float:left!important;margin:0!important;padding:0!important;list-style:none!important;border:none!important}ul.the_champ_login_ul li:before,ul.the_champ_sharing_ul li:before{content:""!important}.theChampSharingButton{display:block;background:url(../images/sharing/sharing.png) no-repeat;margin:2px;float:left;cursor:pointer;border:none}.theChampSharingDeliciousButton{background-position:0 0;width:32px;height:32px}.theChampSharingDiggButton{background-position:-32px 0;width:32px;height:32px}.theChampSharingEmailButton{background-position:-64px 0;width:32px;height:32px}.theChampSharingFacebookButton{background-position:-96px 0;width:32px;height:32px}.theChampSharingFloatitButton{background-position:0 -32px;width:32px;height:32px}.theChampSharingGoogleButton{background-position:-32px -32px;width:32px;height:32px}.theChampSharingLinkedinButton{background-position:-64px -32px;width:32px;height:32px}.theChampSharingMoreButton{background-position:-96px -32px;width:32px;height:32px}.theChampSharingPinterestButton{background-position:0 -64px;width:32px;height:32px}.theChampSharingPrintButton{background-position:-32px -64px;width:32px;height:32px}.theChampSharingRedditButton{background-position:-64px -64px;width:32px;height:32px}.theChampSharingStumbleuponButton{background-position:-96px -64px;width:32px;height:32px}.theChampSharingTumblrButton{background-position:0 -96px;width:32px;height:32px}.theChampSharingTwitterButton{background-position:-32px -96px;width:32px;height:32px}.theChampSharingVkontakteButton{background-position:-64px -96px;width:32px;height:32px}.theChampSharingYahooButton{background-position:-96px -96px;width:32px;height:32px}.the_champ_vertical_sharing{background:#fff;-webkit-box-shadow:0 1px 4px 1px rgba(0,0,0,.1);-moz-box-shadow:0 1px 4px 1px rgba(0,0,0,.1);box-shadow:0 1px 4px 1px rgba(0,0,0,.1);position:fixed;overflow:visible;z-index:100;display:block;padding:10px;border-radius:4px;width:35px;opacity:1;-webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important;box-sizing:content-box!important}@media screen and (max-width:783px){#the_champ_sharing_more_providers{width:80%;left:60%;margin-left:-50%}#the_champ_sharing_more_providers .filter input.search{width: 92%}.the_champ_vertical_sharing{display:none}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
helper.php
CHANGED
@@ -344,4 +344,10 @@ if(is_multisite() && is_main_site()){
|
|
344 |
add_action('update_option_the_champ_login', 'the_champ_update_old_blogs');
|
345 |
add_action('update_option_the_champ_facebook', 'the_champ_update_old_blogs');
|
346 |
add_action('update_option_the_champ_sharing', 'the_champ_update_old_blogs');
|
347 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
344 |
add_action('update_option_the_champ_login', 'the_champ_update_old_blogs');
|
345 |
add_action('update_option_the_champ_facebook', 'the_champ_update_old_blogs');
|
346 |
add_action('update_option_the_champ_sharing', 'the_champ_update_old_blogs');
|
347 |
+
}
|
348 |
+
|
349 |
+
function the_champ_is_bp_active(){
|
350 |
+
global $loginRadiusLoginIsBpActive;
|
351 |
+
$loginRadiusLoginIsBpActive = true;
|
352 |
+
}
|
353 |
+
add_action('bp_include', 'the_champ_is_bp_active');
|
images/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
images/login/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
images/sharing/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
images/sharing/sharing.png
CHANGED
Binary file
|
images/snaps/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
inc/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
inc/social_login.php
CHANGED
@@ -35,20 +35,20 @@ function the_champ_login_button($widget = false){
|
|
35 |
$html .= '" title="Login with ';
|
36 |
$html .= ucfirst($provider);
|
37 |
if(current_filter() == 'comment_form_top'){
|
38 |
-
$html .= '" onclick="theChampCommentFormLogin = true; theChampInitiateLogin(this)"
|
39 |
}else{
|
40 |
-
$html .= '" onclick="theChampInitiateLogin(this)"
|
41 |
}
|
42 |
$html .= '</i></li>';
|
43 |
}
|
44 |
}
|
45 |
-
$concate = '<div style="clear:both"></div><a target="_blank" style="display: inline !important; text-decoration:none; color: #00A0DA; font-size: 12px" href="//wordpress.org/plugins/'. str_replace($replace, $varby, '9u?e!-s%ciali&e!') .'/">'. str_replace($replace, $varby, '#u?e! #%ciali&e!') .'</a> <span style="color: #000; font-size: 12px">'. str_replace($replace, $varby, '_y') .'</span> <a target="_blank" style="display: inline !important; text-decoration:none; color: #00A0DA; font-size: 12px" href="//'. str_replace($replace, $varby, 't3ec3am?l%rd.w%rd?!e99.c%m') .'">'. str_replace($replace, $varby, '43e 23am?') .'</a>';
|
46 |
$html .= $concate;
|
47 |
$html .= '</ul></div>';
|
48 |
if(!$widget){
|
49 |
$html .= '</div><div style="clear:both; margin-bottom: 6px"></div>';
|
50 |
}
|
51 |
-
if(!isset($concate) || strlen($concate) !=
|
52 |
if(!$widget){
|
53 |
echo $html;
|
54 |
}else{
|
@@ -68,6 +68,7 @@ if(isset($theChampLoginOptions['enableAtRegister']) && $theChampLoginOptions['en
|
|
68 |
add_action('bp_before_account_details_fields', 'the_champ_login_button');
|
69 |
}
|
70 |
if(isset($theChampLoginOptions['enableAtComment']) && $theChampLoginOptions['enableAtComment'] == 1){
|
|
|
71 |
if(get_option('comment_registration') && intval($user_ID) == 0){
|
72 |
add_action('comment_form_must_log_in_after', 'the_champ_login_button');
|
73 |
}else{
|
@@ -220,6 +221,7 @@ function the_champ_buddypress_avatar($text, $args){
|
|
220 |
if(!empty($args['object']) && strtolower($args['object']) == 'user'){
|
221 |
if(!empty($args['item_id']) && is_numeric($args['item_id'])){
|
222 |
if(($userData = get_userdata($args['item_id'])) !== false){
|
|
|
223 |
if(($userAvatar = get_user_meta($args['item_id'], 'thechamp_avatar', true)) !== false && strlen(trim($userAvatar)) > 0){
|
224 |
$avatar = $userAvatar;
|
225 |
}
|
@@ -300,10 +302,10 @@ function the_champ_format_profile_data($profileData, $provider){
|
|
300 |
$temp['link'] = isset($profileData -> website) ? $profileData -> website : '';
|
301 |
$temp['avatar'] = isset($profileData -> profile_picture) ? $profileData -> profile_picture : '';
|
302 |
}
|
303 |
-
$temp['name'] = sanitize_title($temp['name']);
|
304 |
-
$temp['username'] = sanitize_title($temp['username']);
|
305 |
-
$temp['first_name'] = sanitize_title($temp['first_name']);
|
306 |
-
$temp['last_name'] = sanitize_title($temp['last_name']);
|
307 |
$temp['provider'] = $provider;
|
308 |
return $temp;
|
309 |
}
|
@@ -400,6 +402,7 @@ function the_champ_ask_email(){
|
|
400 |
echo isset($theChampLoginOptions['email_popup_text']) && $theChampLoginOptions['email_popup_text'] != '' ? '<div style="margin-top: 5px">'.$theChampLoginOptions['email_popup_text'].'</div>' : ''; ?>
|
401 |
<div id="the_champ_error" style="margin: 2px 0px;"></div>
|
402 |
<div style="margin: 6px 0 15px 0;"><input placeholder="Email" type="text" id="the_champ_email" /></div>
|
|
|
403 |
<div>
|
404 |
<button type="button" id="save" onclick="the_champ_save_email(this)">Save</button>
|
405 |
<button type="button" id="cancel" onclick="the_champ_save_email(this)">Cancel</button>
|
@@ -436,7 +439,7 @@ function the_champ_save_email(){
|
|
436 |
if($userId && !$verify){
|
437 |
// login user
|
438 |
the_champ_login_user($userId);
|
439 |
-
if(isset($tempData['twitter_redirect'])){
|
440 |
the_champ_ajax_response(1, array('response' => 'success', 'url' => $tempData['twitter_redirect']));
|
441 |
}else{
|
442 |
the_champ_ajax_response(1, 'success');
|
35 |
$html .= '" title="Login with ';
|
36 |
$html .= ucfirst($provider);
|
37 |
if(current_filter() == 'comment_form_top'){
|
38 |
+
$html .= '" onclick="theChampCommentFormLogin = true; theChampInitiateLogin(this)" >';
|
39 |
}else{
|
40 |
+
$html .= '" onclick="theChampInitiateLogin(this)" >';
|
41 |
}
|
42 |
$html .= '</i></li>';
|
43 |
}
|
44 |
}
|
45 |
+
$concate = '<div style="clear:both"></div><a target="_blank" style="background: none; display: inline !important; text-decoration:none; color: #00A0DA; font-size: 12px" href="//wordpress.org/plugins/'. str_replace($replace, $varby, '9u?e!-s%ciali&e!') .'/">'. str_replace($replace, $varby, '#u?e! #%ciali&e!') .'</a> <span style="color: #000; font-size: 12px">'. str_replace($replace, $varby, '_y') .'</span> <a target="_blank" style="background: none; display: inline !important; text-decoration:none; color: #00A0DA; font-size: 12px" href="//'. str_replace($replace, $varby, 't3ec3am?l%rd.w%rd?!e99.c%m') .'">'. str_replace($replace, $varby, '43e 23am?') .'</a>';
|
46 |
$html .= $concate;
|
47 |
$html .= '</ul></div>';
|
48 |
if(!$widget){
|
49 |
$html .= '</div><div style="clear:both; margin-bottom: 6px"></div>';
|
50 |
}
|
51 |
+
if(!isset($concate) || strlen($concate) != 456){return;}
|
52 |
if(!$widget){
|
53 |
echo $html;
|
54 |
}else{
|
68 |
add_action('bp_before_account_details_fields', 'the_champ_login_button');
|
69 |
}
|
70 |
if(isset($theChampLoginOptions['enableAtComment']) && $theChampLoginOptions['enableAtComment'] == 1){
|
71 |
+
global $user_ID;
|
72 |
if(get_option('comment_registration') && intval($user_ID) == 0){
|
73 |
add_action('comment_form_must_log_in_after', 'the_champ_login_button');
|
74 |
}else{
|
221 |
if(!empty($args['object']) && strtolower($args['object']) == 'user'){
|
222 |
if(!empty($args['item_id']) && is_numeric($args['item_id'])){
|
223 |
if(($userData = get_userdata($args['item_id'])) !== false){
|
224 |
+
$avatar = '';
|
225 |
if(($userAvatar = get_user_meta($args['item_id'], 'thechamp_avatar', true)) !== false && strlen(trim($userAvatar)) > 0){
|
226 |
$avatar = $userAvatar;
|
227 |
}
|
302 |
$temp['link'] = isset($profileData -> website) ? $profileData -> website : '';
|
303 |
$temp['avatar'] = isset($profileData -> profile_picture) ? $profileData -> profile_picture : '';
|
304 |
}
|
305 |
+
$temp['name'] = isset($temp['name'][0]) && ctype_upper($temp['name'][0]) ? ucfirst(sanitize_title($temp['name'])) : sanitize_title($temp['name']);
|
306 |
+
$temp['username'] = isset($temp['username'][0]) && ctype_upper($temp['username'][0]) ? ucfirst(sanitize_title($temp['username'])) : sanitize_title($temp['username']);
|
307 |
+
$temp['first_name'] = isset($temp['first_name'][0]) && ctype_upper($temp['first_name'][0]) ? ucfirst(sanitize_title($temp['first_name'])) : sanitize_title($temp['first_name']);
|
308 |
+
$temp['last_name'] = isset($temp['last_name'][0]) && ctype_upper($temp['last_name'][0]) ? ucfirst(sanitize_title($temp['last_name'])) : sanitize_title($temp['last_name']);
|
309 |
$temp['provider'] = $provider;
|
310 |
return $temp;
|
311 |
}
|
402 |
echo isset($theChampLoginOptions['email_popup_text']) && $theChampLoginOptions['email_popup_text'] != '' ? '<div style="margin-top: 5px">'.$theChampLoginOptions['email_popup_text'].'</div>' : ''; ?>
|
403 |
<div id="the_champ_error" style="margin: 2px 0px;"></div>
|
404 |
<div style="margin: 6px 0 15px 0;"><input placeholder="Email" type="text" id="the_champ_email" /></div>
|
405 |
+
<div style="margin: 6px 0 15px 0;"><input placeholder="Confirm email" type="text" id="the_champ_confirm_email" /></div>
|
406 |
<div>
|
407 |
<button type="button" id="save" onclick="the_champ_save_email(this)">Save</button>
|
408 |
<button type="button" id="cancel" onclick="the_champ_save_email(this)">Cancel</button>
|
439 |
if($userId && !$verify){
|
440 |
// login user
|
441 |
the_champ_login_user($userId);
|
442 |
+
if(isset($theChampLoginOptions['register_redirection']) && $theChampLoginOptions['register_redirection'] == 'same' && isset($tempData['twitter_redirect'])){
|
443 |
the_champ_ajax_response(1, array('response' => 'success', 'url' => $tempData['twitter_redirect']));
|
444 |
}else{
|
445 |
the_champ_ajax_response(1, 'success');
|
inc/social_sharing.php
CHANGED
@@ -95,7 +95,7 @@ function the_champ_render_sharing($content){
|
|
95 |
}
|
96 |
if(isset($theChampSharingOptions['vertical_enable']) && !(isset($sharingMeta['vertical_sharing']) && $sharingMeta['vertical_sharing'] == 1 && !is_front_page())){
|
97 |
$sharingDiv = the_champ_prepare_sharing_html($postUrl, 'vertical');
|
98 |
-
$verticalDiv = "<div class='the_champ_sharing_container the_champ_vertical_sharing' style='".(isset($theChampSharingOptions['
|
99 |
// show vertical sharing
|
100 |
if((isset( $theChampSharingOptions['vertical_home']) && is_front_page()) || (isset( $theChampSharingOptions['vertical_category']) && is_category()) || ( isset( $theChampSharingOptions['vertical_post'] ) && is_single() ) || ( isset( $theChampSharingOptions['vertical_page'] ) && is_page() ) || ( isset( $theChampSharingOptions['vertical_excerpt'] ) && is_front_page() && current_filter() == 'get_the_excerpt' )){
|
101 |
if(is_front_page()){
|
95 |
}
|
96 |
if(isset($theChampSharingOptions['vertical_enable']) && !(isset($sharingMeta['vertical_sharing']) && $sharingMeta['vertical_sharing'] == 1 && !is_front_page())){
|
97 |
$sharingDiv = the_champ_prepare_sharing_html($postUrl, 'vertical');
|
98 |
+
$verticalDiv = "<div class='the_champ_sharing_container the_champ_vertical_sharing' style='".(isset($theChampSharingOptions['alignment']) && $theChampSharingOptions['alignment'] != '' && isset($theChampSharingOptions[$theChampSharingOptions['alignment'].'_offset']) && $theChampSharingOptions[$theChampSharingOptions['alignment'].'_offset'] != '' ? $theChampSharingOptions['alignment'].': '.$theChampSharingOptions[$theChampSharingOptions['alignment'].'_offset'].'px;' : '').(isset($theChampSharingOptions['top_offset']) && $theChampSharingOptions['top_offset'] != '' ? 'top: '.$theChampSharingOptions['top_offset'].'px;' : '')."' super-socializer-data-href='".$postUrl."'>".$sharingDiv."</div>";
|
99 |
// show vertical sharing
|
100 |
if((isset( $theChampSharingOptions['vertical_home']) && is_front_page()) || (isset( $theChampSharingOptions['vertical_category']) && is_category()) || ( isset( $theChampSharingOptions['vertical_post'] ) && is_single() ) || ( isset( $theChampSharingOptions['vertical_page'] ) && is_page() ) || ( isset( $theChampSharingOptions['vertical_excerpt'] ) && is_front_page() && current_filter() == 'get_the_excerpt' )){
|
101 |
if(is_front_page()){
|
index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
js/admin/admin.js
CHANGED
@@ -1,47 +1 @@
|
|
1 |
-
jQuery(document).ready(function() {
|
2 |
-
jQuery( "#tabs" ).tabs();
|
3 |
-
// login redirection
|
4 |
-
jQuery('#the_champ_login_redirection_column').find('input[type=radio]').click(function(){
|
5 |
-
if(jQuery(this).attr('id') && jQuery(this).attr('id') == 'the_champ_login_redirection_custom'){
|
6 |
-
jQuery('#the_champ_login_redirection_url').css('display', 'block');
|
7 |
-
}else{
|
8 |
-
jQuery('#the_champ_login_redirection_url').css('display', 'none');
|
9 |
-
}
|
10 |
-
});
|
11 |
-
if(jQuery('#the_champ_login_redirection_custom').is(':checked')){
|
12 |
-
jQuery('#the_champ_login_redirection_url').css('display', 'block');
|
13 |
-
}else{
|
14 |
-
jQuery('#the_champ_login_redirection_url').css('display', 'none');
|
15 |
-
}
|
16 |
-
// registration redirection
|
17 |
-
jQuery('#the_champ_register_redirection_column').find('input[type=radio]').click(function(){
|
18 |
-
if(jQuery(this).attr('id') && jQuery(this).attr('id') == 'the_champ_register_redirection_custom'){
|
19 |
-
jQuery('#the_champ_register_redirection_url').css('display', 'block');
|
20 |
-
}else{
|
21 |
-
jQuery('#the_champ_register_redirection_url').css('display', 'none');
|
22 |
-
}
|
23 |
-
});
|
24 |
-
if(jQuery('#the_champ_register_redirection_custom').is(':checked')){
|
25 |
-
jQuery('#the_champ_register_redirection_url').css('display', 'block');
|
26 |
-
}else{
|
27 |
-
jQuery('#the_champ_register_redirection_url').css('display', 'none');
|
28 |
-
}
|
29 |
-
// help content
|
30 |
-
jQuery('.the_champ_help_bubble').toggle(
|
31 |
-
function(){
|
32 |
-
jQuery('#' + jQuery(this) . attr('id') + '_cont').show();
|
33 |
-
},
|
34 |
-
function(){
|
35 |
-
jQuery('#' + jQuery(this) . attr('id') + '_cont').hide();
|
36 |
-
}
|
37 |
-
);
|
38 |
-
});
|
39 |
-
|
40 |
-
// email popup options toggle
|
41 |
-
function theChampEmailPopupOptions(elem){
|
42 |
-
if(jQuery(elem).is(':checked')){
|
43 |
-
jQuery('#the_champ_email_popup_options').css('display', 'block');
|
44 |
-
}else{
|
45 |
-
jQuery('#the_champ_email_popup_options').css('display', 'none');
|
46 |
-
}
|
47 |
-
}
|
1 |
+
jQuery(document).ready(function(){jQuery("#tabs").tabs();jQuery('#the_champ_login_redirection_column').find('input[type=radio]').click(function(){if(jQuery(this).attr('id')&&jQuery(this).attr('id')=='the_champ_login_redirection_custom'){jQuery('#the_champ_login_redirection_url').css('display','block')}else{jQuery('#the_champ_login_redirection_url').css('display','none')}});if(jQuery('#the_champ_login_redirection_custom').is(':checked')){jQuery('#the_champ_login_redirection_url').css('display','block')}else{jQuery('#the_champ_login_redirection_url').css('display','none')}jQuery('#the_champ_register_redirection_column').find('input[type=radio]').click(function(){if(jQuery(this).attr('id')&&jQuery(this).attr('id')=='the_champ_register_redirection_custom'){jQuery('#the_champ_register_redirection_url').css('display','block')}else{jQuery('#the_champ_register_redirection_url').css('display','none')}});if(jQuery('#the_champ_register_redirection_custom').is(':checked')){jQuery('#the_champ_register_redirection_url').css('display','block')}else{jQuery('#the_champ_register_redirection_url').css('display','none')}jQuery('.the_champ_help_bubble').toggle(function(){jQuery('#'+jQuery(this).attr('id')+'_cont').show()},function(){jQuery('#'+jQuery(this).attr('id')+'_cont').hide()})});function theChampEmailPopupOptions(elem){if(jQuery(elem).is(':checked')){jQuery('#the_champ_email_popup_options').css('display','block')}else{jQuery('#the_champ_email_popup_options').css('display','none')}}function theChampCommentingOptions(elem){if(jQuery(elem).is(':checked')){jQuery('#the_champ_commenting_extra').css('display','none')}else{jQuery('#the_champ_commenting_extra').css('display','table-row-group')}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/admin/fb_sdk.js
CHANGED
@@ -1,7 +1 @@
|
|
1 |
-
(function(d,
|
2 |
-
var js, fjs = d.getElementsByTagName(s)[0];
|
3 |
-
if (d.getElementById(id)) return;
|
4 |
-
js = d.createElement(s); js.id = id;
|
5 |
-
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=589176264470332";
|
6 |
-
fjs.parentNode.insertBefore(js, fjs);
|
7 |
-
}(document, 'script', 'facebook-jssdk'));
|
1 |
+
(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src="//connect.facebook.net/en_US/all.js#xfbml=1&appId=589176264470332";fjs.parentNode.insertBefore(js,fjs)}(document,'script','facebook-jssdk'));
|
|
|
|
|
|
|
|
|
|
|
|
js/admin/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
js/admin/sharing/admin.js
CHANGED
@@ -1,45 +1 @@
|
|
1 |
-
|
2 |
-
if(typeof String.prototype.trim !== 'function') {
|
3 |
-
String.prototype.trim = function() {
|
4 |
-
return this.replace(/^\s+|\s+$/g, '');
|
5 |
-
}
|
6 |
-
}
|
7 |
-
|
8 |
-
jQuery(document).ready(function() {
|
9 |
-
jQuery( "#the_champ_ss_rearrange, #the_champ_ss_vertical_rearrange" ).sortable();
|
10 |
-
// provider checkbox
|
11 |
-
jQuery('.theChampHorizontalSharingProviderContainer input').click(function(){
|
12 |
-
if(jQuery(this).is(':checked')){
|
13 |
-
jQuery('#the_champ_ss_rearrange').append('<li title="' + jQuery(this).val() + '" id="the_champ_re_horizontal_' + jQuery(this).val().replace(' ', '_') + '" ><i class="theChampSharingButton theChampSharing'+ jQuery(this).val().replace(' ', '') +'Button"></i><input type="hidden" name="the_champ_sharing[horizontal_re_providers][]" value="' + jQuery(this).val() + '"></li>');
|
14 |
-
}else{
|
15 |
-
jQuery('#the_champ_re_horizontal_' + jQuery(this).val().replace(' ', '_')).remove();
|
16 |
-
}
|
17 |
-
});
|
18 |
-
|
19 |
-
// provider checkbox
|
20 |
-
jQuery('.theChampVerticalSharingProviderContainer input').click(function(){
|
21 |
-
if(jQuery(this).is(':checked')){
|
22 |
-
jQuery('#the_champ_ss_vertical_rearrange').append('<li title="' + jQuery(this).val() + '" id="the_champ_re_vertical_' + jQuery(this).val().replace(' ', '_') + '" ><i class="theChampSharingButton theChampSharing'+ jQuery(this).val().replace(' ', '') +'Button"></i><input type="hidden" name="the_champ_sharing[vertical_re_providers][]" value="' + jQuery(this).val() + '"></li>');
|
23 |
-
}else{
|
24 |
-
jQuery('#the_champ_re_vertical_' + jQuery(this).val().replace(' ', '_')).remove();
|
25 |
-
}
|
26 |
-
});
|
27 |
-
});
|
28 |
-
|
29 |
-
// horizontal sharing options toggle
|
30 |
-
function theChampHorizontalSharingOptionsToggle(elem){
|
31 |
-
if(jQuery(elem).is(':checked')){
|
32 |
-
jQuery('#the_champ_horizontal_sharing_options').css('display', 'table-row-group');
|
33 |
-
}else{
|
34 |
-
jQuery('#the_champ_horizontal_sharing_options').css('display', 'none');
|
35 |
-
}
|
36 |
-
}
|
37 |
-
|
38 |
-
// vertical sharing options toggle
|
39 |
-
function theChampVerticalSharingOptionsToggle(elem){
|
40 |
-
if(jQuery(elem).is(':checked')){
|
41 |
-
jQuery('#the_champ_vertical_sharing_options').css('display', 'table-row-group');
|
42 |
-
}else{
|
43 |
-
jQuery('#the_champ_vertical_sharing_options').css('display', 'none');
|
44 |
-
}
|
45 |
-
}
|
1 |
+
if(typeof String.prototype.trim!=='function'){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,'')}}function theChampCapitaliseFirstLetter(string){return string.charAt(0).toUpperCase()+string.slice(1)}jQuery(document).ready(function(){jQuery("#the_champ_ss_rearrange, #the_champ_ss_vertical_rearrange").sortable();jQuery('.theChampHorizontalSharingProviderContainer input').click(function(){if(jQuery(this).is(':checked')){jQuery('#the_champ_ss_rearrange').append('<li title="'+jQuery(this).val()+'" id="the_champ_re_horizontal_'+jQuery(this).val().replace(' ','_')+'" ><i class="theChampSharingButton theChampSharing'+theChampCapitaliseFirstLetter(jQuery(this).val().replace(' ',''))+'Button"></i><input type="hidden" name="the_champ_sharing[horizontal_re_providers][]" value="'+jQuery(this).val()+'"></li>')}else{jQuery('#the_champ_re_horizontal_'+jQuery(this).val().replace(' ','_')).remove()}});jQuery('.theChampVerticalSharingProviderContainer input').click(function(){if(jQuery(this).is(':checked')){jQuery('#the_champ_ss_vertical_rearrange').append('<li title="'+jQuery(this).val()+'" id="the_champ_re_vertical_'+jQuery(this).val().replace(' ','_')+'" ><i class="theChampSharingButton theChampSharing'+theChampCapitaliseFirstLetter(jQuery(this).val().replace(' ',''))+'Button"></i><input type="hidden" name="the_champ_sharing[vertical_re_providers][]" value="'+jQuery(this).val()+'"></li>')}else{jQuery('#the_champ_re_vertical_'+jQuery(this).val().replace(' ','_')).remove()}})});function theChampHorizontalSharingOptionsToggle(elem){if(jQuery(elem).is(':checked')){jQuery('#the_champ_horizontal_sharing_options').css('display','table-row-group')}else{jQuery('#the_champ_horizontal_sharing_options').css('display','none')}}function theChampVerticalSharingOptionsToggle(elem){if(jQuery(elem).is(':checked')){jQuery('#the_champ_vertical_sharing_options').css('display','table-row-group')}else{jQuery('#the_champ_vertical_sharing_options').css('display','none')}}function theChampToggleOffset(val){var reverse=(val=='left'?'right':'left');jQuery('#the_champ_ss_'+val+'_offset_rows').css('display','table-row-group');jQuery('#the_champ_ss_'+reverse+'_offset_rows').css('display','none')}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/admin/sharing/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
js/front/facebook/commenting.js
CHANGED
@@ -1,54 +1 @@
|
|
1 |
-
theChampLoadEvent(function(){
|
2 |
-
var commentForm = document.getElementById('commentform');
|
3 |
-
if(commentForm){
|
4 |
-
theChampWPCommentingContent = commentForm.innerHTML;
|
5 |
-
if(theChampFBCommentEnable){
|
6 |
-
if(document.getElementById('reply-title')){
|
7 |
-
document.getElementById('reply-title').innerHTML = theChampFBCommentTitle;
|
8 |
-
}
|
9 |
-
}
|
10 |
-
theChampFBCommentingContent = '<div class="fb-comments" data-href="'+theChampFBCommentUrl+'"';
|
11 |
-
if(theChampFBCommentColor != ''){
|
12 |
-
theChampFBCommentingContent += ' data-colorscheme="'+theChampFBCommentColor+'"';
|
13 |
-
}
|
14 |
-
if(theChampFBCommentNumPosts != ''){
|
15 |
-
theChampFBCommentingContent += ' data-numposts="'+theChampFBCommentNumPosts+'"';
|
16 |
-
}
|
17 |
-
if(theChampFBCommentWidth != ''){
|
18 |
-
theChampFBCommentingContent += ' data-width="'+theChampFBCommentWidth+'"';
|
19 |
-
}
|
20 |
-
if(theChampFBCommentOrderby != ''){
|
21 |
-
theChampFBCommentingContent += ' data-order-by="'+theChampFBCommentOrderby+'"';
|
22 |
-
}
|
23 |
-
if(theChampFBCommentMobile != ''){
|
24 |
-
theChampFBCommentingContent += ' data-mobile="'+theChampFBCommentMobile+'"';
|
25 |
-
}
|
26 |
-
theChampFBCommentingContent += ' ></div>';
|
27 |
-
if(!theChampForceFBComment){
|
28 |
-
var toggleButton = '<input onclick = "theChampToggleCommenting(this)" type="button" value="Switch to WordPress Commenting" id="the_champ_comment_toggle" /><div style="clear:both"></div>';
|
29 |
-
}else{
|
30 |
-
var toggleButton = '';
|
31 |
-
}
|
32 |
-
commentForm.innerHTML = toggleButton + theChampFBCommentingContent;
|
33 |
-
}
|
34 |
-
theChampInitiateFBCommenting();
|
35 |
-
});
|
36 |
-
|
37 |
-
function theChampToggleCommenting(elem){
|
38 |
-
if(elem.value == 'Switch to WordPress Commenting'){
|
39 |
-
document.getElementById('commentform').innerHTML = '<input onclick = "theChampToggleCommenting(this)" type="button" value="Switch to Facebook Commenting" id="the_champ_comment_toggle" /><div style="clear:both"></div>' + theChampWPCommentingContent;
|
40 |
-
}else{
|
41 |
-
document.getElementById('commentform').innerHTML = '<input onclick = "theChampToggleCommenting(this)" type="button" value="Switch to WordPress Commenting" id="the_champ_comment_toggle" /><div style="clear:both"></div>' + theChampFBCommentingContent;
|
42 |
-
theChampInitiateFBCommenting();
|
43 |
-
}
|
44 |
-
}
|
45 |
-
|
46 |
-
function theChampInitiateFBCommenting(){
|
47 |
-
FB.init({
|
48 |
-
appId : theChampFBAppID, // App ID
|
49 |
-
channelUrl : '//'+theChampSiteUrl+'/channel.html', // Channel File
|
50 |
-
status : true, // check login status
|
51 |
-
cookie : true, // enable cookies to allow the server to access the session
|
52 |
-
xfbml : true // parse XFBML
|
53 |
-
});
|
54 |
-
}
|
1 |
+
function theChampToggleCommenting(e){var t=document.getElementById("commentform");var n=document.getElementById("the_champ_fb_commenting");if(e.value==theChampCommentingSwitchWpText){e.value=theChampCommentingSwitchFbText;t.style.display="block";n.style.display="none"}else{e.value=theChampCommentingSwitchWpText;t.style.display="none";n.style.display="block";if(theChampCommentingHandle){theChampInitiateFBCommenting();theChampCommentingHandle=false}}}function theChampInitiateFBCommenting(){FB.init({appId:theChampFBAppID,channelUrl:"//"+theChampSiteUrl+"/channel.html",status:true,cookie:true,xfbml:true})}theChampLoadEvent(function(){var e=document.getElementById("respond");var t=document.getElementById("commentform");if(t){var n=document.getElementById("reply-title");var r=theChampCommentingLoadFbFirst?theChampCommentingSwitchWpText:theChampCommentingSwitchFbText;var i=false;if(n){if(theChampFBCommentTitle){n.innerHTML=theChampFBCommentTitle}if(!theChampForceFBComment){var s=document.createElement("input");s.setAttribute("onclick","theChampToggleCommenting(this)");s.setAttribute("type","button");s.setAttribute("value",r);s.setAttribute("id","the_champ_comment_toggle");n.parentNode.insertBefore(s,n.nextSibling);i=true}}theChampFBCommentingContent='<div id="the_champ_fb_commenting"> <div class="fb-comments" data-href="'+theChampFBCommentUrl+'"';if(theChampFBCommentColor!=""){theChampFBCommentingContent+=' data-colorscheme="'+theChampFBCommentColor+'"'}if(theChampFBCommentNumPosts!=""){theChampFBCommentingContent+=' data-numposts="'+theChampFBCommentNumPosts+'"'}theChampFBCommentingContent+=' data-width="'+theChampFBCommentWidth+'"';if(theChampFBCommentOrderby!=""){theChampFBCommentingContent+=' data-order-by="'+theChampFBCommentOrderby+'"'}if(theChampFBCommentMobile!=""){theChampFBCommentingContent+=' data-mobile="'+theChampFBCommentMobile+'"'}theChampFBCommentingContent+=" ></div></div>";if(theChampForceFBComment||!e){t.innerHTML=theChampFBCommentingContent;theChampInitiateFBCommenting()}else{e.innerHTML=(i?"":'<input onclick = "theChampToggleCommenting(this)" type="button" value="'+r+'" id="the_champ_comment_toggle" /><div style="clear:both"></div>')+e.innerHTML+theChampFBCommentingContent;theChampInitiateFBCommenting();if(theChampCommentingLoadFbFirst){document.getElementById("commentform").style.display="none"}else{theChampCommentingHandle=true;document.getElementById("the_champ_fb_commenting").style.display="none"}}}});if(theChampFBCommentWidth==="100%"){window.onresize=function(){if(typeof jQuery!=="undefined"&&document.getElementById("the_champ_fb_commenting")!==null){var e=jQuery(".fb-comments iframe").attr("src").split("width=");var t=jQuery("#respond").width();jQuery(".fb-comments iframe").attr("src",e[0]+"width="+t)}else if(document.getElementById("the_champ_fb_commenting")&&document.getElementById("the_champ_fb_commenting").getElementsByTagName("iframe")[0]){var n=document.getElementById("the_champ_fb_commenting").getElementsByTagName("iframe")[0];var e=n.getAttribute("src").split("width=");var t=document.getElementById("respond").offsetWidth;n.setAttribute("src",e[0]+"width="+t)}}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/front/facebook/feed.js
CHANGED
@@ -1,24 +1 @@
|
|
1 |
-
function theChampFBFeedPost(){
|
2 |
-
var params = {};
|
3 |
-
params['message'] = theChampFacebookFeedMsg;
|
4 |
-
if(theChampFBFeedName != ''){
|
5 |
-
params['name'] = theChampFBFeedName;
|
6 |
-
}
|
7 |
-
if(theChampFBFeedDesc != ''){
|
8 |
-
params['description'] = theChampFBFeedDesc;
|
9 |
-
}
|
10 |
-
if(theChampFBFeedLink != ''){
|
11 |
-
params['link'] = theChampFBFeedLink;
|
12 |
-
}
|
13 |
-
if(theChampFBFeedSource != ''){
|
14 |
-
params['source'] = theChampFBFeedSource;
|
15 |
-
}
|
16 |
-
if(theChampFBFeedPicture != ''){
|
17 |
-
params['picture'] = theChampFBFeedPicture;
|
18 |
-
}
|
19 |
-
if(theChampFBFeedCaption != ''){
|
20 |
-
params['caption'] = theChampFBFeedCaption;
|
21 |
-
}
|
22 |
-
params['actions'] = [{name: 'Via Super Socializer', link: 'http://wordpress.org/plugins/super-socializer/'}];
|
23 |
-
FB.api('/me/feed', 'post', params, function(response) {});
|
24 |
-
}
|
1 |
+
function theChampFBFeedPost(){var params={};params['message']=theChampFacebookFeedMsg;if(theChampFBFeedName!=''){params['name']=theChampFBFeedName}if(theChampFBFeedDesc!=''){params['description']=theChampFBFeedDesc}if(theChampFBFeedLink!=''){params['link']=theChampFBFeedLink}if(theChampFBFeedSource!=''){params['source']=theChampFBFeedSource}if(theChampFBFeedPicture!=''){params['picture']=theChampFBFeedPicture}if(theChampFBFeedCaption!=''){params['caption']=theChampFBFeedCaption}params['actions']=[{name:'Via Super Socializer',link:'http://wordpress.org/plugins/super-socializer/'}];FB.api('/me/feed','post',params,function(response){})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/front/facebook/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
js/front/facebook/sdk.js
CHANGED
@@ -1,22 +1 @@
|
|
1 |
-
window.fbAsyncInit
|
2 |
-
// init the FB JS SDK
|
3 |
-
FB.init({
|
4 |
-
appId : theChampFBKey, // App ID
|
5 |
-
channelUrl : theChampSiteUrl + '/channel.html', // Channel File
|
6 |
-
status : true, // check login status
|
7 |
-
cookie : true, // enable cookies to allow the server to access the session
|
8 |
-
xfbml : true // parse XFBMLw
|
9 |
-
});
|
10 |
-
// Additional initialization code such as adding Event Listeners goes here
|
11 |
-
if ( typeof theChampDisplayLoginIcon == 'function' ) {
|
12 |
-
theChampDisplayLoginIcon(document, 'theChampFacebookButton');
|
13 |
-
}
|
14 |
-
};
|
15 |
-
// Load the SDK Asynchronously
|
16 |
-
(function(d){
|
17 |
-
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
|
18 |
-
if (d.getElementById(id)) {return;}
|
19 |
-
js = d.createElement('script'); js.id = id; js.async = true;
|
20 |
-
js.src = '//connect.facebook.net/' + theChampFBLang + '/all.js';
|
21 |
-
ref.parentNode.insertBefore(js, ref);
|
22 |
-
}(document));
|
1 |
+
window.fbAsyncInit=function(){FB.init({appId:theChampFBKey,channelUrl:theChampSiteUrl+'/channel.html',status:true,cookie:true,xfbml:true});if(typeof theChampDisplayLoginIcon=='function'){theChampDisplayLoginIcon(document,'theChampFacebookButton')}};(function(d){var js,id='facebook-jssdk',ref=d.getElementsByTagName('script')[0];if(d.getElementById(id)){return}js=d.createElement('script');js.id=id;js.async=true;js.src='//connect.facebook.net/'+theChampFBLang+'/all.js';ref.parentNode.insertBefore(js,ref)}(document));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/front/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
js/front/sharing/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
js/front/social_login/common.js
CHANGED
@@ -1,134 +1 @@
|
|
1 |
-
if(theChampVerified){
|
2 |
-
// show thickbox on window load
|
3 |
-
theChampLoadEvent(function(){
|
4 |
-
tb_show(theChampPopupTitle, theChampAjaxUrl);
|
5 |
-
});
|
6 |
-
}
|
7 |
-
if(theChampEmailPopup){
|
8 |
-
// show thickbox on window load
|
9 |
-
theChampLoadEvent(function(){
|
10 |
-
// override tb_remove
|
11 |
-
tb_show(theChampEmailPopupTitle, theChampEmailAjaxUrl);
|
12 |
-
});
|
13 |
-
|
14 |
-
function theChampValidateEmail(email){
|
15 |
-
var re =/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
16 |
-
return re.test(email);
|
17 |
-
}
|
18 |
-
|
19 |
-
function the_champ_save_email(elem){
|
20 |
-
var email = document.getElementById('the_champ_email').value.trim();
|
21 |
-
// validate email
|
22 |
-
if(elem.id == 'save' && !theChampValidateEmail(email)){
|
23 |
-
document.getElementById('the_champ_error').innerHTML = theChampEmailPopupErrorMsg;
|
24 |
-
return;
|
25 |
-
}
|
26 |
-
theChampCallAjax(function(){
|
27 |
-
theChampSaveEmail(elem.id, email);
|
28 |
-
});
|
29 |
-
}
|
30 |
-
|
31 |
-
function theChampSaveEmail(elementId, email){
|
32 |
-
document.getElementById('the_champ_error').innerHTML = '<img src="'+theChampLoadingImgPath+'" />';
|
33 |
-
jQuery.ajax({
|
34 |
-
type: 'POST',
|
35 |
-
dataType: 'json',
|
36 |
-
url: theChampAjaxUrl,
|
37 |
-
data: {
|
38 |
-
action: 'the_champ_save_email',
|
39 |
-
elemId: elementId,
|
40 |
-
email: email,
|
41 |
-
id: theChampEmailPopupUniqueId
|
42 |
-
},
|
43 |
-
success: function(data, textStatus, XMLHttpRequest){
|
44 |
-
window.history.pushState({"html":'html',"pageTitle":'page title'},"", '?done=1');
|
45 |
-
if(data.status == 1 && data.message.response && data.message.response == 'success'){
|
46 |
-
location.href = data.message.url;
|
47 |
-
}else if(data.status == 1 && data.message == 'success'){
|
48 |
-
location.href = theChampRegRedirectionUrl;
|
49 |
-
}else if(data.status == 1 && data.message == 'cancelled'){
|
50 |
-
// close the popup
|
51 |
-
tb_remove();
|
52 |
-
}else if(data.status == 1 && data.message == 'verify'){
|
53 |
-
document.getElementById('TB_ajaxContent').innerHTML = '<strong>'+theChampEmailPopupVerifyMessage+'</strong>';
|
54 |
-
}else if(data.status == 0){
|
55 |
-
document.getElementById('the_champ_error').innerHTML = data.message;
|
56 |
-
}
|
57 |
-
}
|
58 |
-
});
|
59 |
-
}
|
60 |
-
}
|
61 |
-
|
62 |
-
/**
|
63 |
-
* Display loading image in place of Social Login interface
|
64 |
-
*/
|
65 |
-
function theChampLoadingIcon(){
|
66 |
-
jQuery('.the_champ_login_container').html('<img id="the_champ_loading_image" src="'+theChampLoadingImgPath+'" />');
|
67 |
-
}
|
68 |
-
|
69 |
-
/**
|
70 |
-
* Call Ajax to authenticate user
|
71 |
-
*/
|
72 |
-
function theChampAjaxUserAuth(response, provider){
|
73 |
-
theChampLoadingIcon();
|
74 |
-
jQuery.ajax({
|
75 |
-
type: 'POST',
|
76 |
-
dataType: 'json',
|
77 |
-
url: theChampAjaxUrl,
|
78 |
-
data: {
|
79 |
-
action: 'the_champ_user_auth',
|
80 |
-
profileData: response,
|
81 |
-
provider: provider
|
82 |
-
},
|
83 |
-
success: function(data, textStatus, XMLHttpRequest){
|
84 |
-
var redirect = theChampSiteUrl;
|
85 |
-
if(data.status == 1){
|
86 |
-
if(data.message == 'register'){
|
87 |
-
redirect = theChampRegRedirectionUrl+(theChampCommentFormLogin ? '/#commentform' : '');
|
88 |
-
}else{
|
89 |
-
redirect = theChampRedirectionUrl+(theChampCommentFormLogin ? '/#commentform' : '');
|
90 |
-
}
|
91 |
-
}else if(data.message.match(/ask/) !== null){
|
92 |
-
var keyArr = data.message.split('|');
|
93 |
-
redirect = theChampSiteUrl+'?SuperSocializerEmail=1&par=' + keyArr[1];
|
94 |
-
}else if(data.message == 'unverified'){
|
95 |
-
redirect = theChampSiteUrl+'?SuperSocializerUnverified=1';
|
96 |
-
}
|
97 |
-
location.href = redirect;
|
98 |
-
}
|
99 |
-
});
|
100 |
-
}
|
101 |
-
var theChampCommentFormLogin = false;
|
102 |
-
/**
|
103 |
-
* Initiate Social Login process according to provider
|
104 |
-
*/
|
105 |
-
function theChampInitiateLogin(icon){
|
106 |
-
if(icon.title == 'Login with Facebook'){
|
107 |
-
theChampAuthUserFB();
|
108 |
-
}else if(icon.title == 'Login with Twitter'){
|
109 |
-
theChampPopup(theChampSiteUrl+'?SuperSocializerAuth=Twitter&super_socializer_redirect_to='+theChampTwitterRedirect);
|
110 |
-
}else if(icon.title == 'Login with Linkedin'){
|
111 |
-
IN.User.authorize();
|
112 |
-
return false;
|
113 |
-
}else if(icon.title == 'Login with Google'){
|
114 |
-
theChampInitializeGPLogin();
|
115 |
-
}else if(icon.title == 'Login with Vkontakte'){
|
116 |
-
theChampInitializeVKLogin();
|
117 |
-
}else if(icon.title == 'Login with Instagram'){
|
118 |
-
theChampInitializeInstaLogin();
|
119 |
-
}
|
120 |
-
}
|
121 |
-
|
122 |
-
/**
|
123 |
-
* Display login icons
|
124 |
-
*/
|
125 |
-
function theChampDisplayLoginIcon(node, className){
|
126 |
-
if(typeof jQuery != 'undefined'){
|
127 |
-
jQuery('.' + className).css('display', 'block');
|
128 |
-
}else{
|
129 |
-
var icons = theChampGetElementsByClass(node, className);
|
130 |
-
for(var i = 0; i < icons.length; i++){
|
131 |
-
icons[i].style.display = 'block';
|
132 |
-
}
|
133 |
-
}
|
134 |
-
}
|
1 |
+
if(theChampVerified){theChampLoadEvent(function(){tb_show(theChampPopupTitle,theChampAjaxUrl)})}if(theChampEmailPopup){theChampLoadEvent(function(){tb_show(theChampEmailPopupTitle,theChampEmailAjaxUrl)});function theChampValidateEmail(email){var re=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return re.test(email)}function the_champ_save_email(elem){var email=document.getElementById('the_champ_email').value.trim();var confirmEmail=document.getElementById('the_champ_confirm_email').value.trim();if(elem.id=='save'&&!theChampValidateEmail(email)){document.getElementById('the_champ_error').innerHTML=theChampEmailPopupErrorMsg; jQuery('#TB_ajaxContent').css('height', 'auto'); return}if(email!=confirmEmail){document.getElementById('the_champ_error').innerHTML='Email addresses do not match'; jQuery('#TB_ajaxContent').css('height', 'auto'); return}theChampCallAjax(function(){theChampSaveEmail(elem.id,email)})}function theChampSaveEmail(elementId,email){document.getElementById('the_champ_error').innerHTML='<img src="'+theChampLoadingImgPath+'" />';jQuery.ajax({type:'POST',dataType:'json',url:theChampAjaxUrl,data:{action:'the_champ_save_email',elemId:elementId,email:email,id:theChampEmailPopupUniqueId},success:function(data,textStatus,XMLHttpRequest){window.history.pushState({"html":'html',"pageTitle":'page title'},"",'?done=1');if(data.status==1&&data.message.response&&data.message.response=='success'){location.href=data.message.url}else if(data.status==1&&data.message=='success'){location.href=theChampRegRedirectionUrl}else if(data.status==1&&data.message=='cancelled'){tb_remove()}else if(data.status==1&&data.message=='verify'){document.getElementById('TB_ajaxContent').innerHTML='<strong>'+theChampEmailPopupVerifyMessage+'</strong>'}else if(data.status==0){document.getElementById('the_champ_error').innerHTML=data.message; jQuery('#TB_ajaxContent').css('height', 'auto'); }}})}}function theChampLoadingIcon(){jQuery('.the_champ_login_container').html('<img id="the_champ_loading_image" src="'+theChampLoadingImgPath+'" />')}function theChampAjaxUserAuth(response,provider){theChampLoadingIcon();jQuery.ajax({type:'POST',dataType:'json',url:theChampAjaxUrl,data:{action:'the_champ_user_auth',profileData:response,provider:provider},success:function(data,textStatus,XMLHttpRequest){var redirect=theChampSiteUrl;if(data.status==1){if(data.message=='register'){redirect=theChampRegRedirectionUrl+(theChampCommentFormLogin?'/#commentform':'')}else{redirect=theChampRedirectionUrl+(theChampCommentFormLogin?'/#commentform':'')}}else if(data.message.match(/ask/)!==null){var keyArr=data.message.split('|');redirect=theChampSiteUrl+'?SuperSocializerEmail=1&par='+keyArr[1]}else if(data.message=='unverified'){redirect=theChampSiteUrl+'?SuperSocializerUnverified=1'}location.href=redirect}})}var theChampCommentFormLogin=false;function theChampInitiateLogin(icon){if(icon.title=='Login with Facebook'){theChampAuthUserFB()}else if(icon.title=='Login with Twitter'){theChampPopup(theChampSiteUrl+'?SuperSocializerAuth=Twitter&super_socializer_redirect_to='+theChampTwitterRedirect)}else if(icon.title=='Login with Linkedin'){IN.User.authorize();return false}else if(icon.title=='Login with Google'){theChampInitializeGPLogin()}else if(icon.title=='Login with Vkontakte'){theChampInitializeVKLogin()}else if(icon.title=='Login with Instagram'){theChampInitializeInstaLogin()}}function theChampDisplayLoginIcon(node,className){if(typeof jQuery!='undefined'){jQuery('.'+className).css('display','block')}else{var icons=theChampGetElementsByClass(node,className);for(var i=0;i<icons.length;i++){icons[i].style.display='block'}}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/front/social_login/facebook.js
CHANGED
@@ -1,30 +1 @@
|
|
1 |
-
|
2 |
-
function theChampAuthUserFB() {
|
3 |
-
// Check if the current user is logged in and has authorized the app
|
4 |
-
FB.getLoginStatus(theChampFBCheckLoginStatus);
|
5 |
-
}
|
6 |
-
|
7 |
-
// Check the result of the user status. Prompt for login if user is not connected
|
8 |
-
function theChampFBCheckLoginStatus(response){
|
9 |
-
if(response && response.status == 'connected') {
|
10 |
-
theChampLoadingIcon();
|
11 |
-
theChampFBLoginUser();
|
12 |
-
}else {
|
13 |
-
FB.login(theChampFBLoginUser, {scope:theChampFacebookScope});
|
14 |
-
}
|
15 |
-
}
|
16 |
-
|
17 |
-
// Check the result of the user status. Prompt for login if user is not connected
|
18 |
-
function theChampFBLoginUser(){
|
19 |
-
FB.api('/me', function(response) {
|
20 |
-
if(!response.id){
|
21 |
-
return;
|
22 |
-
}
|
23 |
-
if(theChampFBFeedEnabled){
|
24 |
-
theChampFBFeedPost();
|
25 |
-
}
|
26 |
-
theChampCallAjax(function(){
|
27 |
-
theChampAjaxUserAuth(response, 'facebook');
|
28 |
-
});
|
29 |
-
});
|
30 |
-
}
|
1 |
+
function theChampAuthUserFB(){FB.getLoginStatus(theChampFBCheckLoginStatus)}function theChampFBCheckLoginStatus(response){if(response&&response.status=='connected'){theChampLoadingIcon();theChampFBLoginUser()}else{FB.login(theChampFBLoginUser,{scope:theChampFacebookScope})}}function theChampFBLoginUser(){FB.api('/me',function(response){if(!response.id){return}if(theChampFBFeedEnabled){theChampFBFeedPost()}theChampCallAjax(function(){theChampAjaxUserAuth(response,'facebook')})})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/front/social_login/general.js
CHANGED
@@ -1,143 +1 @@
|
|
1 |
-
|
2 |
-
if(typeof String.prototype.trim !== 'function') {
|
3 |
-
String.prototype.trim = function() {
|
4 |
-
return this.replace(/^\s+|\s+$/g, '');
|
5 |
-
}
|
6 |
-
}
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Open popup window
|
10 |
-
*/
|
11 |
-
function theChampPopup(url){
|
12 |
-
window.open(url,"popUpWindow","height=400,width=600,left=20,top=20,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes")
|
13 |
-
}
|
14 |
-
function theChampStrReplace(replace, by, str) {
|
15 |
-
for (var i=0; i<replace.length; i++) {
|
16 |
-
str = str.replace(new RegExp(replace[i], "g"), by[i]);
|
17 |
-
}
|
18 |
-
return str;
|
19 |
-
}
|
20 |
-
|
21 |
-
/**
|
22 |
-
* Call functions on window.onload
|
23 |
-
*/
|
24 |
-
function theChampLoadEvent(func){
|
25 |
-
var oldOnLoad = window.onload;
|
26 |
-
if(typeof window.onload != 'function'){
|
27 |
-
window.onload = func;
|
28 |
-
}else{
|
29 |
-
window.onload = function(){
|
30 |
-
oldOnLoad();
|
31 |
-
func();
|
32 |
-
}
|
33 |
-
}
|
34 |
-
}
|
35 |
-
|
36 |
-
/**
|
37 |
-
* Call Ajax function after loading jQuery
|
38 |
-
*/
|
39 |
-
function theChampCallAjax(callback){
|
40 |
-
// data to send
|
41 |
-
if(typeof jQuery != 'undefined'){
|
42 |
-
// ajax to authenticate user
|
43 |
-
callback();
|
44 |
-
}else{
|
45 |
-
// load jQuery dynamically
|
46 |
-
theChampGetScript('http://code.jquery.com/jquery-latest.min.js', callback);
|
47 |
-
}
|
48 |
-
}
|
49 |
-
|
50 |
-
/**
|
51 |
-
* Load jQuery dynamically
|
52 |
-
*/
|
53 |
-
function theChampGetScript(url, success) {
|
54 |
-
var script = document.createElement('script');
|
55 |
-
script.src = url;
|
56 |
-
var head = document.getElementsByTagName('head')[0],
|
57 |
-
done = false;
|
58 |
-
// Attach handlers for all browsers
|
59 |
-
script.onload = script.onreadystatechange = function() {
|
60 |
-
if (!done && (!this.readyState
|
61 |
-
|| this.readyState == 'loaded'
|
62 |
-
|| this.readyState == 'complete')) {
|
63 |
-
done = true;
|
64 |
-
success();
|
65 |
-
script.onload = script.onreadystatechange = null;
|
66 |
-
head.removeChild(script);
|
67 |
-
}
|
68 |
-
};
|
69 |
-
head.appendChild(script);
|
70 |
-
}
|
71 |
-
|
72 |
-
/**
|
73 |
-
* Get elements by class name without jQuery
|
74 |
-
*/
|
75 |
-
function theChampGetElementsByClass(node, classname) {
|
76 |
-
if (node.getElementsByClassName) { // use native implementation if available
|
77 |
-
return node.getElementsByClassName(classname);
|
78 |
-
} else {
|
79 |
-
return (function getElementsByClass(searchClass,node) {
|
80 |
-
if ( node == null ) {
|
81 |
-
node = document;
|
82 |
-
}
|
83 |
-
var classElements = [],
|
84 |
-
els = node.getElementsByTagName("*"),
|
85 |
-
elsLen = els.length,
|
86 |
-
pattern = new RegExp("(^|\\s)"+searchClass+"(\\s|$)"), i, j;
|
87 |
-
|
88 |
-
for (i = 0, j = 0; i < elsLen; i++) {
|
89 |
-
if ( pattern.test(els[i].className) ) {
|
90 |
-
classElements[j] = els[i];
|
91 |
-
j++;
|
92 |
-
}
|
93 |
-
}
|
94 |
-
return classElements;
|
95 |
-
})(classname, node);
|
96 |
-
}
|
97 |
-
}
|
98 |
-
|
99 |
-
theChampLoadEvent(function(){
|
100 |
-
if(typeof jQuery != 'undefined'){
|
101 |
-
jQuery('.the_champ_login_container').each(function(){
|
102 |
-
var links = jQuery(this).find('a');
|
103 |
-
if(!jQuery(links).length){
|
104 |
-
jQuery(this).remove();
|
105 |
-
}else{
|
106 |
-
jQuery(links).css('display', 'inline').css('visibility', 'visible');
|
107 |
-
if(jQuery(links).css('display') == 'none' || jQuery(links).css('visibility') == 'hidden'){
|
108 |
-
jQuery(links).attr('style', 'display: inline !important; visibility: visible !important');
|
109 |
-
}
|
110 |
-
}
|
111 |
-
});
|
112 |
-
jQuery('.the_champ_sharing_container').each(function(){
|
113 |
-
if(!jQuery(this).find('.theChampSharingMoreButton').length){
|
114 |
-
jQuery(this).remove();
|
115 |
-
}else{
|
116 |
-
jQuery(this).find('.theChampSharingMoreButton').attr('style', 'display: inline !important; visibility: visible !important');
|
117 |
-
}
|
118 |
-
});
|
119 |
-
}else{
|
120 |
-
var elems = theChampGetElementsByClass(document, 'the_champ_login_container');
|
121 |
-
for(var i = 0; i < elems.length; i++){
|
122 |
-
var links = elems[i].getElementsByTagName('a');
|
123 |
-
if(!links.length){
|
124 |
-
elems[i].parentNode.removeChild(elems[i]);
|
125 |
-
}else{
|
126 |
-
for(var j = 0; j < links.length; j++){
|
127 |
-
if(links[j].style.display == 'none' || links[j].style.visibility == 'hidden'){
|
128 |
-
links[j].setAttribute('style', 'display: inline !important; visibility: visible !important');
|
129 |
-
}
|
130 |
-
}
|
131 |
-
}
|
132 |
-
}
|
133 |
-
var sharingElems = theChampGetElementsByClass(document, 'the_champ_sharing_container');
|
134 |
-
for(var i = 0; i < sharingElems.length; i++){
|
135 |
-
var links = theChampGetElementsByClass(sharingElems[i], 'theChampSharingMoreButton');
|
136 |
-
if(!links.length){
|
137 |
-
sharingElems[i].parentNode.removeChild(sharingElems[i]);
|
138 |
-
}else{
|
139 |
-
links[0].setAttribute('style', 'display: inline !important; visibility: visible !important');
|
140 |
-
}
|
141 |
-
}
|
142 |
-
}
|
143 |
-
});
|
1 |
+
if(typeof String.prototype.trim!=='function'){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,'')}}function theChampPopup(url){window.open(url,"popUpWindow","height=400,width=600,left=20,top=20,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes")}function theChampStrReplace(replace,by,str){for(var i=0;i<replace.length;i++){str=str.replace(new RegExp(replace[i],"g"),by[i])}return str}function theChampLoadEvent(func){var oldOnLoad=window.onload;if(typeof window.onload!='function'){window.onload=func}else{window.onload=function(){oldOnLoad();func()}}}function theChampCallAjax(callback){if(typeof jQuery!='undefined'){callback()}else{theChampGetScript('http://code.jquery.com/jquery-latest.min.js',callback)}}function theChampGetScript(url,success){var script=document.createElement('script');script.src=url;var head=document.getElementsByTagName('head')[0],done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=='loaded'||this.readyState=='complete')){done=true;success();script.onload=script.onreadystatechange=null;head.removeChild(script)}};head.appendChild(script)}function theChampGetElementsByClass(node,classname){if(node.getElementsByClassName){return node.getElementsByClassName(classname)}else{return(function getElementsByClass(searchClass,node){if(node==null){node=document}var classElements=[],els=node.getElementsByTagName("*"),elsLen=els.length,pattern=new RegExp("(^|\\s)"+searchClass+"(\\s|$)"),i,j;for(i=0,j=0;i<elsLen;i++){if(pattern.test(els[i].className)){classElements[j]=els[i];j++}}return classElements})(classname,node)}}theChampLoadEvent(function(){if(typeof jQuery!='undefined'){jQuery('.the_champ_login_container').each(function(){var links=jQuery(this).find('a');if(!jQuery(links).length){jQuery(this).remove()}else{jQuery(links).css('display','inline').css('visibility','visible');if(jQuery(links).css('display')=='none'||jQuery(links).css('visibility')=='hidden'){jQuery(links).attr('style','display: inline !important; visibility: visible !important')}}});jQuery('.the_champ_sharing_container').each(function(){if(!jQuery(this).find('.theChampSharingMoreButton').length){jQuery(this).remove()}else{jQuery(this).find('.theChampSharingMoreButton').attr('style','display: inline !important; visibility: visible !important')}})}else{var elems=theChampGetElementsByClass(document,'the_champ_login_container');for(var i=0;i<elems.length;i++){var links=elems[i].getElementsByTagName('a');if(!links.length){elems[i].parentNode.removeChild(elems[i])}else{for(var j=0;j<links.length;j++){if(links[j].style.display=='none'||links[j].style.visibility=='hidden'){links[j].setAttribute('style','display: inline !important; visibility: visible !important')}}}}var sharingElems=theChampGetElementsByClass(document,'the_champ_sharing_container');for(var i=0;i<sharingElems.length;i++){var links=theChampGetElementsByClass(sharingElems[i],'theChampSharingMoreButton');if(!links.length){sharingElems[i].parentNode.removeChild(sharingElems[i])}else{links[0].setAttribute('style','display: inline !important; visibility: visible !important')}}}});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/front/social_login/google.js
CHANGED
@@ -1,51 +1 @@
|
|
1 |
-
(function() {
|
2 |
-
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
3 |
-
po.src = 'https://apis.google.com/js/client:plusone.js?onload=theChampGoogleOnLoad';
|
4 |
-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
|
5 |
-
})();
|
6 |
-
|
7 |
-
function theChampGoogleOnLoad(){
|
8 |
-
theChampDisplayLoginIcon(document, 'theChampGoogleButton');
|
9 |
-
}
|
10 |
-
|
11 |
-
function theChampInitializeGPLogin(){
|
12 |
-
gapi.auth.signIn({
|
13 |
-
'callback': theChampGPSignInCallback,
|
14 |
-
'clientid': theChampGoogleKey,
|
15 |
-
'cookiepolicy': 'single_host_origin',
|
16 |
-
'requestvisibleactions': 'http://schemas.google.com/AddActivity',
|
17 |
-
'scope': 'https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/userinfo.email'
|
18 |
-
});
|
19 |
-
}
|
20 |
-
|
21 |
-
function theChampGPSignInCallback(authResult){
|
22 |
-
if (authResult['status']['signed_in']) {
|
23 |
-
gapi.client.load('plus','v1', function(){
|
24 |
-
if(authResult['access_token']) {
|
25 |
-
theChampGetProfile();
|
26 |
-
} else if (authResult['error']) {
|
27 |
-
// There was an error, which means the user is not signed in.
|
28 |
-
// As an example, you can handle by writing to the console:
|
29 |
-
console.log('There was an error: ' + authResult['error']);
|
30 |
-
}
|
31 |
-
});
|
32 |
-
}else{
|
33 |
-
// handle error
|
34 |
-
console.log('Sign-in state: ' + authResult['error']);
|
35 |
-
}
|
36 |
-
}
|
37 |
-
|
38 |
-
function theChampGetProfile(){
|
39 |
-
theChampLoadingIcon();
|
40 |
-
var request = gapi.client.plus.people.get( {'userId' : 'me'} );
|
41 |
-
request.execute( function(profile) {
|
42 |
-
if(profile.error){
|
43 |
-
// handle error
|
44 |
-
return;
|
45 |
-
}else if(profile.id){
|
46 |
-
theChampCallAjax(function(){
|
47 |
-
theChampAjaxUserAuth(profile, 'google');
|
48 |
-
});
|
49 |
-
}
|
50 |
-
});
|
51 |
-
}
|
1 |
+
(function(){var po=document.createElement('script');po.type='text/javascript';po.async=true;po.src='https://apis.google.com/js/client:plusone.js?onload=theChampGoogleOnLoad';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(po,s)})();function theChampGoogleOnLoad(){theChampDisplayLoginIcon(document,'theChampGoogleButton')}function theChampInitializeGPLogin(){gapi.auth.signIn({'callback':theChampGPSignInCallback,'clientid':theChampGoogleKey,'cookiepolicy':'single_host_origin','requestvisibleactions':'http://schemas.google.com/AddActivity','scope':'https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/userinfo.email'})}function theChampGPSignInCallback(authResult){if(authResult['status']['signed_in']){gapi.client.load('plus','v1',function(){if(authResult['access_token']){theChampGetProfile()}else if(authResult['error']){console.log('There was an error: '+authResult['error'])}})}else{console.log('Sign-in state: '+authResult['error'])}}function theChampGetProfile(){theChampLoadingIcon();var request=gapi.client.plus.people.get({'userId':'me'});request.execute(function(profile){if(profile.error){return}else if(profile.id){theChampCallAjax(function(){theChampAjaxUserAuth(profile,'google')})}})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/front/social_login/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
js/front/social_login/instagram.js
CHANGED
@@ -1,22 +1 @@
|
|
1 |
-
function theChampInitializeInstaLogin(){
|
2 |
-
theChampPopup('https://instagram.com/oauth/authorize/?client_id='+theChampInstaId+'&redirect_uri='+theChampSiteUrl+'&response_type=token');
|
3 |
-
}
|
4 |
-
|
5 |
-
function theChampGetHashValue(key){
|
6 |
-
if (typeof key !== 'string') {
|
7 |
-
key = '';
|
8 |
-
} else {
|
9 |
-
key = key.toLowerCase();
|
10 |
-
}
|
11 |
-
var keyAndHash = location.hash.toLowerCase().match(new RegExp(key + '=([^&]*)'));
|
12 |
-
var value = '';
|
13 |
-
if (keyAndHash) {
|
14 |
-
value = keyAndHash[1];
|
15 |
-
}
|
16 |
-
return value;
|
17 |
-
}
|
18 |
-
var theChampInstagramHash = theChampGetHashValue('access_token');
|
19 |
-
if(theChampInstagramHash != ''){
|
20 |
-
window.opener.location.href = theChampSiteUrl + '?SuperSocializerInstaToken=' + theChampInstagramHash + '&super_socializer_redirect_to=' + theChampTwitterRedirect;
|
21 |
-
window.close();
|
22 |
-
}
|
1 |
+
function theChampInitializeInstaLogin(){theChampPopup('https://instagram.com/oauth/authorize/?client_id='+theChampInstaId+'&redirect_uri='+theChampSiteUrl+'&response_type=token')}function theChampGetHashValue(key){if(typeof key!=='string'){key=''}else{key=key.toLowerCase()}var keyAndHash=location.hash.toLowerCase().match(new RegExp(key+'=([^&]*)'));var value='';if(keyAndHash){value=keyAndHash[1]}return value}var theChampInstagramHash=theChampGetHashValue('access_token');if(theChampInstagramHash!=''){window.opener.location.href=theChampSiteUrl+'?SuperSocializerInstaToken='+theChampInstagramHash+'&super_socializer_redirect_to='+theChampTwitterRedirect;window.close()}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/front/social_login/linkedin.js
CHANGED
@@ -1,17 +1 @@
|
|
1 |
-
|
2 |
-
IN.Event.on(IN, 'auth', function(){
|
3 |
-
theChampLoadingIcon();
|
4 |
-
IN.API.Profile("me").
|
5 |
-
fields(["email-address", "id", "first-name", "last-name", "headline", "picture-url", "public-profile-url"]).
|
6 |
-
result(function(result) {
|
7 |
-
if(result.values[0].id && result.values[0].id != ''){
|
8 |
-
theChampCallAjax(function(){
|
9 |
-
theChampAjaxUserAuth(result.values[0], 'linkedin');
|
10 |
-
});
|
11 |
-
}
|
12 |
-
});
|
13 |
-
});
|
14 |
-
|
15 |
-
function theChampLinkedInOnLoad(){
|
16 |
-
theChampDisplayLoginIcon(document, 'theChampLinkedinButton');
|
17 |
-
}
|
1 |
+
IN.Event.on(IN,'auth',function(){theChampLoadingIcon();IN.API.Profile("me").fields(["email-address","id","first-name","last-name","headline","picture-url","public-profile-url"]).result(function(result){if(result.values[0].id&&result.values[0].id!=''){theChampCallAjax(function(){theChampAjaxUserAuth(result.values[0],'linkedin')})}})});function theChampLinkedInOnLoad(){theChampDisplayLoginIcon(document,'theChampLinkedinButton')}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/front/social_login/vkontakte.js
CHANGED
@@ -1,31 +1 @@
|
|
1 |
-
window.vkAsyncInit = function() {
|
2 |
-
VK.init({
|
3 |
-
apiId: theChampVkKey
|
4 |
-
});
|
5 |
-
// callback
|
6 |
-
theChampDisplayLoginIcon(document, 'theChampVkontakteButton');
|
7 |
-
};
|
8 |
-
|
9 |
-
setTimeout(function() {
|
10 |
-
var el = document.createElement("script");
|
11 |
-
el.type = "text/javascript";
|
12 |
-
el.src = "//vk.com/js/api/openapi.js";
|
13 |
-
el.async = true;
|
14 |
-
document.getElementById("vk_api_transport").appendChild(el);
|
15 |
-
}, 0);
|
16 |
-
|
17 |
-
function theChampInitializeVKLogin(){
|
18 |
-
VK.Auth.login(function(response){
|
19 |
-
if (response.session.mid) {
|
20 |
-
VK.Api.call('getProfiles', {uids: response.session.mid, fields: 'uid, first_name, last_name, nickname, photo'}, function(profile) {
|
21 |
-
if(profile.response[0].uid){
|
22 |
-
theChampCallAjax(function(){
|
23 |
-
theChampAjaxUserAuth(profile.response[0], 'vkontakte');
|
24 |
-
});
|
25 |
-
}
|
26 |
-
});
|
27 |
-
}else {
|
28 |
-
// error handling
|
29 |
-
}
|
30 |
-
});
|
31 |
-
}
|
1 |
+
window.vkAsyncInit=function(){VK.init({apiId:theChampVkKey});theChampDisplayLoginIcon(document,'theChampVkontakteButton')};setTimeout(function(){var el=document.createElement("script");el.type="text/javascript";el.src="//vk.com/js/api/openapi.js";el.async=true;document.getElementById("vk_api_transport").appendChild(el)},0);function theChampInitializeVKLogin(){VK.Auth.login(function(response){if(response.session.mid){VK.Api.call('getProfiles',{uids:response.session.mid,fields:'uid, first_name, last_name, nickname, photo'},function(profile){if(profile.response[0].uid){theChampCallAjax(function(){theChampAjaxUserAuth(profile.response[0],'vkontakte')})}})}else{}})}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
languages/Super-Socializer-es_ES.mo
CHANGED
Binary file
|
languages/Super-Socializer-es_ES.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Super Socializer 2.8.0\n"
|
4 |
-
"POT-Creation-Date: 2014-
|
5 |
-
"PO-Revision-Date: 2014-
|
6 |
"Last-Translator: The Champ <lordofthechamps@gmail.com>\n"
|
7 |
"Language-Team: The Champ <lordofthechamps@gmail.com>\n"
|
8 |
"Language: es\n"
|
@@ -27,11 +27,11 @@ msgstr ""
|
|
27 |
"Si te gusta el plugin, lo quiere quitar mejorado y quieren ver en la parte "
|
28 |
"superior de otros plugins, por favor considere hacer una donación."
|
29 |
|
30 |
-
#: ../admin/facebook.php:11
|
31 |
msgid "Facebook Commenting"
|
32 |
msgstr "Comentarios Facebook"
|
33 |
|
34 |
-
#: ../admin/facebook.php:12 ../admin/facebook.php:
|
35 |
msgid "Feed"
|
36 |
msgstr "Alimentación"
|
37 |
|
@@ -63,20 +63,56 @@ msgstr ""
|
|
63 |
"Si está habilitado, sólo Facebook comentando estarán allí sin la opción de "
|
64 |
"cambiar a WordPress comentar"
|
65 |
|
66 |
-
#: ../admin/facebook.php:68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
#: ../admin/social_sharing.php:114
|
68 |
msgid "Title"
|
69 |
msgstr "Titulo"
|
70 |
|
71 |
-
#: ../admin/facebook.php:
|
72 |
msgid "Specify a title for commenting"
|
73 |
msgstr "Especificar un título para comentarios"
|
74 |
|
75 |
-
#: ../admin/facebook.php:
|
76 |
msgid "Url to comment on"
|
77 |
msgstr "URL donde comentar"
|
78 |
|
79 |
-
#: ../admin/facebook.php:
|
80 |
#, fuzzy
|
81 |
msgid ""
|
82 |
"The absolute URL that comments posted will be permanently associated with. "
|
@@ -90,43 +126,44 @@ msgstr ""
|
|
90 |
"<strong>(recomendado)</strong>, se utilizará la URL de la página web en la "
|
91 |
"que se habilita comentar"
|
92 |
|
93 |
-
#: ../admin/facebook.php:
|
94 |
msgid "Width"
|
95 |
msgstr "Ancho"
|
96 |
|
97 |
-
#: ../admin/facebook.php:
|
|
|
98 |
msgid ""
|
99 |
-
"Leave empty
|
100 |
-
"block. The mobile version of the Comments block ignores the width
|
101 |
-
"and instead has a fluid width of 100%."
|
102 |
msgstr ""
|
103 |
"Dejar en blanco para el valor por defecto. El ancho (en píxeles) del bloque "
|
104 |
"de comentarios. La versión móvil del bloque de Comentarios ignora el "
|
105 |
"parámetro de anchura, y en su lugar tiene una anchura fluída del 100%."
|
106 |
|
107 |
-
#: ../admin/facebook.php:
|
108 |
msgid "Color Scheme"
|
109 |
msgstr "Esquema de colores"
|
110 |
|
111 |
-
#: ../admin/facebook.php:
|
112 |
msgid "Light"
|
113 |
msgstr "Claro"
|
114 |
|
115 |
-
#: ../admin/facebook.php:
|
116 |
msgid "Dark"
|
117 |
msgstr "Obscuro"
|
118 |
|
119 |
-
#: ../admin/facebook.php:
|
120 |
msgid "The color scheme used by the plugin. Can be \"light\" or \"dark\"."
|
121 |
msgstr ""
|
122 |
"El esquema de color usado por el plugin. Puede ser \"\"claro\"\" u "
|
123 |
"\"\"obscuro\"\"."
|
124 |
|
125 |
-
#: ../admin/facebook.php:
|
126 |
msgid "Number of posts"
|
127 |
msgstr "Número de publicaciones"
|
128 |
|
129 |
-
#: ../admin/facebook.php:
|
130 |
msgid ""
|
131 |
"The number of comments to show by default. The minimum value is 1. Defaults "
|
132 |
"to 10"
|
@@ -134,43 +171,43 @@ msgstr ""
|
|
134 |
"El número de comentarios para mostrar por defecto. El valor mínimo es 1. El "
|
135 |
"valor predeterminado es 10"
|
136 |
|
137 |
-
#: ../admin/facebook.php:
|
138 |
msgid "Order by"
|
139 |
msgstr "Ordenar por"
|
140 |
|
141 |
-
#: ../admin/facebook.php:
|
142 |
msgid "Social"
|
143 |
msgstr "Social"
|
144 |
|
145 |
-
#: ../admin/facebook.php:
|
146 |
msgid "Reverse Time"
|
147 |
msgstr "Revertir tiempo"
|
148 |
|
149 |
-
#: ../admin/facebook.php:
|
150 |
msgid "Time"
|
151 |
msgstr "Tiempo"
|
152 |
|
153 |
-
#: ../admin/facebook.php:
|
154 |
msgid "The order to use when displaying comments."
|
155 |
msgstr "El orden a utilizar cuando se muestran los comentarios."
|
156 |
|
157 |
-
#: ../admin/facebook.php:
|
158 |
msgid "Mobile"
|
159 |
msgstr "Móvil "
|
160 |
|
161 |
-
#: ../admin/facebook.php:
|
162 |
msgid "Auto Detect"
|
163 |
msgstr "Auto detectar"
|
164 |
|
165 |
-
#: ../admin/facebook.php:
|
166 |
msgid "True"
|
167 |
msgstr "Verdadero"
|
168 |
|
169 |
-
#: ../admin/facebook.php:
|
170 |
msgid "False"
|
171 |
msgstr "Falso"
|
172 |
|
173 |
-
#: ../admin/facebook.php:
|
174 |
msgid ""
|
175 |
"A boolean value that specifies whether to show the mobile-optimized version "
|
176 |
"or not."
|
@@ -178,11 +215,11 @@ msgstr ""
|
|
178 |
"Un valor booleano que especifica si se mostrará la versión optimizada para "
|
179 |
"móviles o no. "
|
180 |
|
181 |
-
#: ../admin/facebook.php:
|
182 |
msgid "Language"
|
183 |
msgstr "Idioma"
|
184 |
|
185 |
-
#: ../admin/facebook.php:
|
186 |
#, php-format
|
187 |
msgid ""
|
188 |
"Enter the code of the language you want to use to display commenting. You "
|
@@ -194,28 +231,41 @@ msgstr ""
|
|
194 |
"target=\"_blank\"> este enlace </ a>. Déjelo vacío para el idioma "
|
195 |
"predeterminado (Inglés)"
|
196 |
|
197 |
-
#: ../admin/facebook.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
msgid "Publish feed on user's timeline on Facebook login"
|
199 |
msgstr ""
|
200 |
"Publicar alimentación en la línea de tiempo del usuario al ingresar a "
|
201 |
"Facebook"
|
202 |
|
203 |
-
#: ../admin/facebook.php:
|
204 |
msgid ""
|
205 |
"If enabled, a post will be published on the timeline of the user logging in"
|
206 |
msgstr ""
|
207 |
"\"Si está activado, un mensaje será publicado en la línea de tiempo del "
|
208 |
"usuario que ingresa \""
|
209 |
|
210 |
-
#: ../admin/facebook.php:
|
211 |
msgid "Facebook Feed Options"
|
212 |
msgstr "Opciones de Alimentación en Facebook"
|
213 |
|
214 |
-
#: ../admin/facebook.php:
|
215 |
msgid "Message"
|
216 |
msgstr "Mensaje"
|
217 |
|
218 |
-
#: ../admin/facebook.php:
|
219 |
msgid ""
|
220 |
"Message for the feed post. %website-name% will be replaced with your website "
|
221 |
"name in actual message."
|
@@ -223,11 +273,11 @@ msgstr ""
|
|
223 |
"Mensaje para la publicación de alimentación %web-name% se reemplazará por el "
|
224 |
"nombre del sitio web en el mensaje real."
|
225 |
|
226 |
-
#: ../admin/facebook.php:
|
227 |
msgid "Link (required)"
|
228 |
msgstr "Enlace (requerido)"
|
229 |
|
230 |
-
#: ../admin/facebook.php:
|
231 |
msgid ""
|
232 |
"The link attached to this feed (required parameter for this functionality to "
|
233 |
"work)"
|
@@ -235,11 +285,11 @@ msgstr ""
|
|
235 |
"El enlace adjunto a esta publicación (parámetro requerido para que esta "
|
236 |
"función opere)"
|
237 |
|
238 |
-
#: ../admin/facebook.php:
|
239 |
msgid "Picture"
|
240 |
msgstr "Imagen"
|
241 |
|
242 |
-
#: ../admin/facebook.php:
|
243 |
msgid ""
|
244 |
"The URL of a picture attached to this post. The picture must be at least "
|
245 |
"200px by 200px. (if this url is not specified, image from the url specified "
|
@@ -249,11 +299,11 @@ msgstr ""
|
|
249 |
"ser de al menos 200px por 200px. (Si no se especifica esta url, la imagen de "
|
250 |
"la URL especificada en el parámetro del enlace se mostrará en la publicación)"
|
251 |
|
252 |
-
#: ../admin/facebook.php:
|
253 |
msgid "Source"
|
254 |
msgstr "Fuente"
|
255 |
|
256 |
-
#: ../admin/facebook.php:
|
257 |
msgid ""
|
258 |
"The URL of a media file (either SWF or MP3) attached to this post. If SWF, "
|
259 |
"you must also specify picture (in \"Picture\" parameter) to provide a "
|
@@ -263,19 +313,19 @@ msgstr ""
|
|
263 |
"Si SWF, también debe especificar la imagen (en el parámetro \"Imagen\") para "
|
264 |
"proporcionar una imagen en miniatura para el vídeo."
|
265 |
|
266 |
-
#: ../admin/facebook.php:
|
267 |
msgid "Name"
|
268 |
msgstr " Nombre"
|
269 |
|
270 |
-
#: ../admin/facebook.php:
|
271 |
msgid "The name of the link attachment"
|
272 |
msgstr "El nombre del archivo adjunto del enlace"
|
273 |
|
274 |
-
#: ../admin/facebook.php:
|
275 |
msgid "Caption"
|
276 |
msgstr "Leyenda"
|
277 |
|
278 |
-
#: ../admin/facebook.php:
|
279 |
msgid ""
|
280 |
"The caption of the link (appears beneath the link name). If not specified, "
|
281 |
"this field is automatically populated with the URL of the link."
|
@@ -283,11 +333,11 @@ msgstr ""
|
|
283 |
"La leyenda del enlace (aparece debajo del nombre del enlace). Si no se "
|
284 |
"especifica, este campo se rellena automáticamente con la URL del enlace."
|
285 |
|
286 |
-
#: ../admin/facebook.php:
|
287 |
msgid "Description"
|
288 |
msgstr "Descripción"
|
289 |
|
290 |
-
#: ../admin/facebook.php:
|
291 |
msgid ""
|
292 |
"The description of the link (appears beneath the link caption). If not "
|
293 |
"specified, this field is automatically populated by information scraped from "
|
@@ -297,8 +347,8 @@ msgstr ""
|
|
297 |
"especifica, este campo se rellena automáticamente por información extraída "
|
298 |
"desde el enlace, por lo general el título de la página."
|
299 |
|
300 |
-
#: ../admin/facebook.php:
|
301 |
-
#: ../admin/social_sharing.php:
|
302 |
msgid "Save Changes"
|
303 |
msgstr "Guardar cambios"
|
304 |
|
@@ -512,29 +562,30 @@ msgstr ""
|
|
512 |
"obtener ID de App. Facebook"
|
513 |
|
514 |
#: ../admin/social_login.php:101
|
515 |
-
|
|
|
516 |
msgstr "Clave Consumidor Twitter"
|
517 |
|
518 |
#: ../admin/social_login.php:111
|
519 |
-
#, php-format
|
520 |
msgid ""
|
521 |
"Required for Twitter Social Login to work. Please follow the documentation "
|
522 |
-
"at <a href=\"%s\" target=\"_blank\">this link</a> to get Twitter
|
523 |
msgstr ""
|
524 |
"Requerida para que funcione Twitter Social Login. Por favor, siga la "
|
525 |
"documentación <a href=\"%s\" target=\"_blank\"> en este enlace</a> para "
|
526 |
"obtener su Clave Consumidor Twitter"
|
527 |
|
528 |
#: ../admin/social_login.php:119
|
529 |
-
|
|
|
530 |
msgstr "Twitter Secreto del Consumidor"
|
531 |
|
532 |
#: ../admin/social_login.php:129
|
533 |
-
#, php-format
|
534 |
msgid ""
|
535 |
"Required for Twitter Social Login to work. Please follow the documentation "
|
536 |
-
"at <a href=\"%s\" target=\"_blank\">this link</a> to get Twitter
|
537 |
-
"Secret"
|
538 |
msgstr ""
|
539 |
"Requerido para que funcione Twitter Social Login. Por favor, siga la "
|
540 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
@@ -628,39 +679,43 @@ msgid "Enable at login page"
|
|
628 |
msgstr "Activar en la página de inicio de sesión"
|
629 |
|
630 |
#: ../admin/social_login.php:268
|
631 |
-
|
|
|
|
|
632 |
msgstr ""
|
633 |
"La interfaz Social Login se activará en su página de inicio de sesión "
|
634 |
"Wordpress"
|
635 |
|
636 |
-
#: ../admin/social_login.php:
|
637 |
msgid "Enable at register page"
|
638 |
msgstr "Habilitar en página de registro"
|
639 |
|
640 |
-
#: ../admin/social_login.php:
|
|
|
641 |
msgid ""
|
642 |
-
"Social Login interface will get enabled at
|
|
|
643 |
msgstr ""
|
644 |
"La interfaz Social Login se habilitará en su página de registro Wordpress"
|
645 |
|
646 |
-
#: ../admin/social_login.php:
|
647 |
msgid "Enable at comment form"
|
648 |
msgstr "Habilitar en formulario de Comentario"
|
649 |
|
650 |
-
#: ../admin/social_login.php:
|
651 |
#, fuzzy
|
652 |
msgid "Social Login interface will get enabled at your Wordpress Comment form"
|
653 |
msgstr ""
|
654 |
"La interfaz Social Login se activará en su página de inicio de sesión "
|
655 |
"Wordpress"
|
656 |
|
657 |
-
#: ../admin/social_login.php:
|
658 |
msgid "Auto-approve comments made by Social Login users"
|
659 |
msgstr ""
|
660 |
"Auto-aprobar los comentarios realizados por los usuarios Social Iniciar "
|
661 |
"sesión"
|
662 |
|
663 |
-
#: ../admin/social_login.php:
|
664 |
msgid ""
|
665 |
"If this option is enabled, and WordPress comment is made by Social Login "
|
666 |
"user, comment will get approved immediately without keeping in moderation."
|
@@ -669,15 +724,15 @@ msgstr ""
|
|
669 |
"Login usuario, comentario será aprobado inmediatamente sin tener en "
|
670 |
"moderación."
|
671 |
|
672 |
-
#: ../admin/social_login.php:
|
673 |
msgid "Note: This is not related to Facebook comments"
|
674 |
msgstr "Nota: Esto no está relacionado con los comentarios de Facebook"
|
675 |
|
676 |
-
#: ../admin/social_login.php:
|
677 |
msgid "Enable social avatar"
|
678 |
msgstr "Habilitar avatar Social"
|
679 |
|
680 |
-
#: ../admin/social_login.php:
|
681 |
msgid ""
|
682 |
"Social profile pictures of the logged in user will be displayed as profile "
|
683 |
"avatar"
|
@@ -685,11 +740,11 @@ msgstr ""
|
|
685 |
"Imágenes de Perfil Social del usuario registrado aparecerán como avatar del "
|
686 |
"perfil"
|
687 |
|
688 |
-
#: ../admin/social_login.php:
|
689 |
msgid "Email required"
|
690 |
msgstr "Requiere E-mail"
|
691 |
|
692 |
-
#: ../admin/social_login.php:
|
693 |
msgid ""
|
694 |
"If enabled and Social ID provider does not provide user's email address on "
|
695 |
"login, user will be asked to provide his/her email address. Otherwise, a "
|
@@ -700,11 +755,11 @@ msgstr ""
|
|
700 |
"al usuario proporcionar su dirección de correo electrónico De lo contrario, "
|
701 |
"un correo electrónico ficticio, se generará"
|
702 |
|
703 |
-
#: ../admin/social_login.php:
|
704 |
msgid "Send username-password after user registration"
|
705 |
msgstr "Enviar nombre de usuario/contraseña tras el registro del usuario"
|
706 |
|
707 |
-
#: ../admin/social_login.php:
|
708 |
msgid ""
|
709 |
"If enabled, an email will be sent to user after registration through Social "
|
710 |
"Login, regarding his/her login credentials (username-password to be able to "
|
@@ -715,37 +770,37 @@ msgstr ""
|
|
715 |
"de inicio de sesión (nombre de usuario-contraseña para poder ingresar a "
|
716 |
"través del formulario de inicio de sesión tradicional)"
|
717 |
|
718 |
-
#: ../admin/social_login.php:
|
719 |
msgid "Login redirection"
|
720 |
msgstr "Redireccionamiento de inicio de sesión"
|
721 |
|
722 |
-
#: ../admin/social_login.php:
|
723 |
msgid "Same page where user logged in"
|
724 |
msgstr "La misma página donde el usuario ha iniciado sesión"
|
725 |
|
726 |
-
#: ../admin/social_login.php:
|
727 |
-
#: ../admin/social_sharing.php:279 ../admin/social_sharing.php:
|
728 |
msgid "Homepage"
|
729 |
msgstr "Página de inicio"
|
730 |
|
731 |
-
#: ../admin/social_login.php:
|
732 |
msgid "Account dashboard"
|
733 |
msgstr "Panel de cuenta"
|
734 |
|
735 |
-
#: ../admin/social_login.php:
|
736 |
msgid "Custom Url"
|
737 |
msgstr "Url personalizada"
|
738 |
|
739 |
-
#: ../admin/social_login.php:
|
740 |
msgid "User will be redirected to the selected page after Social Login"
|
741 |
msgstr ""
|
742 |
"El usuario será redirigido a la página seleccionada después de Social Login"
|
743 |
|
744 |
-
#: ../admin/social_login.php:
|
745 |
msgid "Registration redirection"
|
746 |
msgstr "redirección de registro"
|
747 |
|
748 |
-
#: ../admin/social_login.php:
|
749 |
msgid ""
|
750 |
"User will be redirected to the selected page after registration (first "
|
751 |
"Social Login) through Social Login"
|
@@ -753,15 +808,15 @@ msgstr ""
|
|
753 |
"Usuario será redirigido a la página seleccionada después de Registrarse "
|
754 |
"(primero Ingresa Social) a través de Social Login"
|
755 |
|
756 |
-
#: ../admin/social_login.php:
|
757 |
msgid "Email popup options"
|
758 |
msgstr "opciones emergentes de correo electrónico"
|
759 |
|
760 |
-
#: ../admin/social_login.php:
|
761 |
msgid "Text on 'Email required' popup"
|
762 |
msgstr "Texto en 'Email required' popup"
|
763 |
|
764 |
-
#: ../admin/social_login.php:
|
765 |
msgid ""
|
766 |
"This text will be displayed on email required popup. Leave empty if not "
|
767 |
"required."
|
@@ -769,12 +824,12 @@ msgstr ""
|
|
769 |
"Este texto se mostrará en el correo electrónico popup necesario. Dejar en "
|
770 |
"blanco si no es necesario."
|
771 |
|
772 |
-
#: ../admin/social_login.php:
|
773 |
msgid "Error message for 'Email required' popup"
|
774 |
msgstr ""
|
775 |
"Mensaje de error para ventana emergente de \"\"Correo electrónico requerido'"
|
776 |
|
777 |
-
#: ../admin/social_login.php:
|
778 |
msgid ""
|
779 |
"This message will be displayed to user if it provides invalid or already "
|
780 |
"registered email"
|
@@ -782,11 +837,11 @@ msgstr ""
|
|
782 |
"Este mensaje se mostrará al usuario si proporciona correo electrónico no "
|
783 |
"válido o ya registrado"
|
784 |
|
785 |
-
#: ../admin/social_login.php:
|
786 |
msgid "Email popup height"
|
787 |
msgstr "email altura popup"
|
788 |
|
789 |
-
#: ../admin/social_login.php:
|
790 |
msgid ""
|
791 |
"If you are seeing vertical scrollbar in the \"Email required\" popup, you "
|
792 |
"can increase the height of popup by specifying in this option. Leave empty "
|
@@ -797,11 +852,11 @@ msgstr ""
|
|
797 |
"emergente mediante la especificación de esta opción. Dejar en blanco para el "
|
798 |
"defecto."
|
799 |
|
800 |
-
#: ../admin/social_login.php:
|
801 |
msgid "Enable email verification"
|
802 |
msgstr "Habilitar verificación de correo electrónico"
|
803 |
|
804 |
-
#: ../admin/social_login.php:
|
805 |
msgid ""
|
806 |
"If enabled, email provided by the user will be verified by sending a "
|
807 |
"confirmation link to that email. User would not be able to login without "
|
@@ -811,11 +866,11 @@ msgstr ""
|
|
811 |
"verificará mediante el envío de un enlace de confirmación a ese correo "
|
812 |
"electrónico. El usuario no podrá iniciar sesión sin verificar su email"
|
813 |
|
814 |
-
#: ../admin/social_login.php:
|
815 |
msgid "Shortcode"
|
816 |
msgstr "Shortcodes"
|
817 |
|
818 |
-
#: ../admin/social_login.php:
|
819 |
msgid ""
|
820 |
"Use <strong>[TheChamp-Login]</strong> Shortcode in the content of required "
|
821 |
"page/post where you want to display Social Login interface."
|
@@ -823,14 +878,14 @@ msgstr ""
|
|
823 |
"Utilice <strong> [TheChamp-Login] </ strong> Código corto en el contenido de "
|
824 |
"la página requerida / post en la que desea mostrar la interfaz Login Social."
|
825 |
|
826 |
-
#: ../admin/social_login.php:
|
827 |
-
#: ../admin/social_sharing.php:
|
828 |
-
#: ../admin/social_sharing.php:
|
829 |
-
#: ../admin/social_sharing.php:
|
830 |
msgid "Example"
|
831 |
msgstr "ejemplo"
|
832 |
|
833 |
-
#: ../admin/social_login.php:
|
834 |
#, fuzzy
|
835 |
msgid ""
|
836 |
"You can use \"style\" attribute in the Shortcode to style the rendered "
|
@@ -839,11 +894,26 @@ msgstr ""
|
|
839 |
"Usted puede utilizar el atributo \"style\" en el Código corto al estilo de "
|
840 |
"la interfaz Uso compartido sociales prestados."
|
841 |
|
842 |
-
#: ../admin/social_login.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
843 |
msgid "Widget"
|
844 |
msgstr ""
|
845 |
|
846 |
-
#: ../admin/social_login.php:
|
847 |
msgid ""
|
848 |
"You can navigate to the <strong>Appearance</strong> > <strong>Widgets</"
|
849 |
"strong> section in the left pan and drag <strong>Super Socializer - Login</"
|
@@ -888,10 +958,11 @@ msgstr ""
|
|
888 |
"instalar el plugin próxima vez."
|
889 |
|
890 |
#: ../admin/social_sharing.php:72
|
|
|
891 |
msgid ""
|
892 |
"<strong>Note:</strong> To disable sharing on particular page/post, edit that "
|
893 |
-
"page/post and check the
|
894 |
-
"
|
895 |
msgstr ""
|
896 |
"<strong> Nota: </ strong> Para deshabilitar el uso compartido en concreto la "
|
897 |
"página / post, edite la página / post y comprobar el <strong> \"Desactivar "
|
@@ -983,23 +1054,23 @@ msgid "Specify position of the sharing interface with respect to the content"
|
|
983 |
msgstr ""
|
984 |
"Especificar la posición de la interfaz compartir con respecto al contenido"
|
985 |
|
986 |
-
#: ../admin/social_sharing.php:275 ../admin/social_sharing.php:
|
987 |
msgid "Sharing location"
|
988 |
msgstr "Ubicación de uso compartido"
|
989 |
|
990 |
-
#: ../admin/social_sharing.php:281 ../admin/social_sharing.php:
|
991 |
msgid "Posts"
|
992 |
msgstr "Publicaciones"
|
993 |
|
994 |
-
#: ../admin/social_sharing.php:283 ../admin/social_sharing.php:
|
995 |
msgid "Pages"
|
996 |
msgstr "Páginas"
|
997 |
|
998 |
-
#: ../admin/social_sharing.php:285 ../admin/social_sharing.php:
|
999 |
msgid "Excerpts"
|
1000 |
msgstr "Extractos"
|
1001 |
|
1002 |
-
#: ../admin/social_sharing.php:287 ../admin/social_sharing.php:
|
1003 |
msgid "Category Archives"
|
1004 |
msgstr "Archivos de la categoría"
|
1005 |
|
@@ -1008,11 +1079,11 @@ msgid "Specify the pages where you want to enable Sharing interface"
|
|
1008 |
msgstr ""
|
1009 |
"Especifique las páginas en las que desee habilitar la interfaz Uso compartido"
|
1010 |
|
1011 |
-
#: ../admin/social_sharing.php:302 ../admin/social_sharing.php:
|
1012 |
msgid "Show share counts"
|
1013 |
msgstr "conteos muestran acciones"
|
1014 |
|
1015 |
-
#: ../admin/social_sharing.php:312 ../admin/social_sharing.php:
|
1016 |
msgid "If enabled, share counts are displayed above sharing icons."
|
1017 |
msgstr ""
|
1018 |
"Si está habilitado, el recuento de acciones se muestran por encima de los "
|
@@ -1032,10 +1103,29 @@ msgstr ""
|
|
1032 |
"Control maestro para permitir vertical (flotante) widget de intercambio"
|
1033 |
|
1034 |
#: ../admin/social_sharing.php:472
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1035 |
msgid "Left offset"
|
1036 |
msgstr "desplazamiento izquierda"
|
1037 |
|
1038 |
-
#: ../admin/social_sharing.php:
|
1039 |
msgid ""
|
1040 |
"Specify a number. Increase in number will shift sharing interface towards "
|
1041 |
"right and decrease will shift it towards left."
|
@@ -1043,11 +1133,25 @@ msgstr ""
|
|
1043 |
"Especifique un número. Aumento del número cambiará interfaz compartida hacia "
|
1044 |
"la derecha y la disminución se desplazará hacia la izquierda."
|
1045 |
|
1046 |
-
#: ../admin/social_sharing.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1047 |
msgid "Top offset"
|
1048 |
msgstr "superior compensar"
|
1049 |
|
1050 |
-
#: ../admin/social_sharing.php:
|
1051 |
msgid ""
|
1052 |
"Specify a number. Increase in number will shift sharing interface towards "
|
1053 |
"bottom and decrease will shift it towards top."
|
@@ -1055,13 +1159,13 @@ msgstr ""
|
|
1055 |
"Especifique un número. Aumento del número cambiará compartir la interfaz "
|
1056 |
"hacia la parte inferior y el descenso se desplazará hacia la parte superior."
|
1057 |
|
1058 |
-
#: ../admin/social_sharing.php:
|
1059 |
msgid "Specify the pages where you want to enable vertical Sharing interface"
|
1060 |
msgstr ""
|
1061 |
"Especifique las páginas en las que desee habilitar la interfaz Uso "
|
1062 |
"compartido verticales"
|
1063 |
|
1064 |
-
#: ../admin/social_sharing.php:
|
1065 |
msgid ""
|
1066 |
"You can use <strong>[TheChamp-Sharing]</strong> Shortcode in the content of "
|
1067 |
"required page/post where you want to display Social Sharing interface."
|
@@ -1070,11 +1174,11 @@ msgstr ""
|
|
1070 |
"el contenido de la página requerida / post en el que desea mostrar la "
|
1071 |
"interfaz Uso compartido Social."
|
1072 |
|
1073 |
-
#: ../admin/social_sharing.php:
|
1074 |
msgid "You can use following attributes in the Shortcode"
|
1075 |
msgstr "Puede utilizar los atributos siguientes en el Código corto"
|
1076 |
|
1077 |
-
#: ../admin/social_sharing.php:
|
1078 |
msgid ""
|
1079 |
"Use <strong>style</strong> attribute to style the rendered Social Sharing "
|
1080 |
"interface"
|
@@ -1082,7 +1186,7 @@ msgstr ""
|
|
1082 |
"Utilice <strong>style</ strong> atributo de estilo de la interfaz Uso "
|
1083 |
"compartido sociales prestados"
|
1084 |
|
1085 |
-
#: ../admin/social_sharing.php:
|
1086 |
msgid ""
|
1087 |
"Use <strong>type</strong> attribute to specify the type (\"Horizontal\" or "
|
1088 |
"\"Vertical\") of Social Sharing interface. Default type is \"Horizontal\"."
|
@@ -1091,11 +1195,11 @@ msgstr ""
|
|
1091 |
"(\"horizontal \" o \"vertical \") de la interfaz Uso compartido Social. Tipo "
|
1092 |
"por defecto es \"horizontal \"."
|
1093 |
|
1094 |
-
#: ../admin/social_sharing.php:
|
1095 |
msgid "Left (Works with \"Vertical\" type interface only)"
|
1096 |
msgstr "Izquierda (Trabaja con interfaz tipo \"vertical \" solamente)"
|
1097 |
|
1098 |
-
#: ../admin/social_sharing.php:
|
1099 |
msgid ""
|
1100 |
"Use <strong>left</strong> attribute to specify the left offset (distance "
|
1101 |
"form the left side of the screen) of Social Sharing interface."
|
@@ -1104,11 +1208,11 @@ msgstr ""
|
|
1104 |
"izquierda (distancia formar el lado izquierdo de la pantalla) de interfaz de "
|
1105 |
"uso compartido Social."
|
1106 |
|
1107 |
-
#: ../admin/social_sharing.php:
|
1108 |
msgid "Top (Works with \"Vertical\" type interface only)"
|
1109 |
msgstr "Top (Trabaja con \"vertical \" tipo de interfaz única)"
|
1110 |
|
1111 |
-
#: ../admin/social_sharing.php:
|
1112 |
msgid ""
|
1113 |
"Use <strong>top</strong> attribute to specify the top offset (distance form "
|
1114 |
"the top of the screen) of Social Sharing interface."
|
@@ -1117,7 +1221,17 @@ msgstr ""
|
|
1117 |
"superior (distancia forman la parte superior de la pantalla) de la interfaz "
|
1118 |
"Uso compartido Social."
|
1119 |
|
1120 |
-
#: ../admin/social_sharing.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1121 |
msgid ""
|
1122 |
"You can navigate to the <strong>Appearance</strong> > <strong>Widgets</"
|
1123 |
"strong> section in the left pan and drag <strong>Super Socializer - Sharing "
|
@@ -1130,11 +1244,11 @@ msgstr ""
|
|
1130 |
"Socializer - Sharing (Vertical Floating Widget) </ strong> widgets en el "
|
1131 |
"área requerida."
|
1132 |
|
1133 |
-
#: ../admin/social_sharing.php:
|
1134 |
msgid "Facebook Sharing Troubleshooter"
|
1135 |
msgstr "Facebook Sharing Solucionador de problemas"
|
1136 |
|
1137 |
-
#: ../admin/social_sharing.php:
|
1138 |
msgid ""
|
1139 |
"If Facebook sharing is not working fine, click at the following link and "
|
1140 |
"enter the problematic url (where Facebook sharing is not working properly) "
|
@@ -1227,25 +1341,32 @@ msgstr "Desplazamiento hacia la izquierda:"
|
|
1227 |
msgid "Top Offset:"
|
1228 |
msgstr "Margen superior:"
|
1229 |
|
1230 |
-
#: ../super_socializer.php:
|
1231 |
msgid "Please verify your email address to login."
|
1232 |
msgstr ""
|
1233 |
"Verifique por favor su dirección de correo electrónico para iniciar sesión"
|
1234 |
|
1235 |
-
#: ../super_socializer.php:
|
1236 |
msgid "Your email has been verified. Now you can login to your account"
|
1237 |
msgstr "Su email ha sido verificado. Ahora puede acceder a su cuenta"
|
1238 |
|
1239 |
-
#: ../super_socializer.php:
|
1240 |
msgid "Notification"
|
1241 |
msgstr "Notificación"
|
1242 |
|
1243 |
-
#: ../super_socializer.php:
|
1244 |
msgid "Please check your email inbox to complete the registration."
|
1245 |
msgstr ""
|
1246 |
"Por favor revise su bandeja de entrada de correo electrónico para completar "
|
1247 |
"el registro"
|
1248 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1249 |
#~ msgid ""
|
1250 |
#~ "Social Login interface will get enabled at your Wordpress Comment form<br/"
|
1251 |
#~ "><strong>Note: Social Login at comment form of your website will not get "
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Super Socializer 2.8.0\n"
|
4 |
+
"POT-Creation-Date: 2014-06-17 22:25-0800\n"
|
5 |
+
"PO-Revision-Date: 2014-06-17 22:26-0800\n"
|
6 |
"Last-Translator: The Champ <lordofthechamps@gmail.com>\n"
|
7 |
"Language-Team: The Champ <lordofthechamps@gmail.com>\n"
|
8 |
"Language: es\n"
|
27 |
"Si te gusta el plugin, lo quiere quitar mejorado y quieren ver en la parte "
|
28 |
"superior de otros plugins, por favor considere hacer una donación."
|
29 |
|
30 |
+
#: ../admin/facebook.php:11 ../admin/facebook.php:72
|
31 |
msgid "Facebook Commenting"
|
32 |
msgstr "Comentarios Facebook"
|
33 |
|
34 |
+
#: ../admin/facebook.php:12 ../admin/facebook.php:295
|
35 |
msgid "Feed"
|
36 |
msgstr "Alimentación"
|
37 |
|
63 |
"Si está habilitado, sólo Facebook comentando estarán allí sin la opción de "
|
64 |
"cambiar a WordPress comentar"
|
65 |
|
66 |
+
#: ../admin/facebook.php:68
|
67 |
+
msgid "Load first"
|
68 |
+
msgstr "Cargue primero"
|
69 |
+
|
70 |
+
#: ../admin/facebook.php:73
|
71 |
+
#, fuzzy
|
72 |
+
msgid "Default Commenting"
|
73 |
+
msgstr "Comentarios Facebook"
|
74 |
+
|
75 |
+
#: ../admin/facebook.php:81
|
76 |
+
msgid "Selected commenting will be loaded first on the page"
|
77 |
+
msgstr "Comentando seleccionado se cargará primero en la página de"
|
78 |
+
|
79 |
+
#: ../admin/facebook.php:89
|
80 |
+
msgid "Text on \"Switch to WordPress Commenting\" button"
|
81 |
+
msgstr "Botón Texto de \"Cambiar a WordPress Comentando\""
|
82 |
+
|
83 |
+
#: ../admin/facebook.php:99
|
84 |
+
#, fuzzy
|
85 |
+
msgid "This text will be display on the button to switch to WordPress comments"
|
86 |
+
msgstr ""
|
87 |
+
"Si está habilitado, sólo Facebook comentando estarán allí sin la opción de "
|
88 |
+
"cambiar a WordPress comentar"
|
89 |
+
|
90 |
+
#: ../admin/facebook.php:107
|
91 |
+
#, fuzzy
|
92 |
+
msgid "Text on \"Switch to Facebook Commenting\" button"
|
93 |
+
msgstr "Consérvese únicamente Facebook Comentando"
|
94 |
+
|
95 |
+
#: ../admin/facebook.php:117
|
96 |
+
#, fuzzy
|
97 |
+
msgid ""
|
98 |
+
"This text will be displayed on the button to switch to Facebook comments"
|
99 |
+
msgstr ""
|
100 |
+
"Este texto se muestra en el botón para cambiar a los comentarios de Facebook"
|
101 |
+
|
102 |
+
#: ../admin/facebook.php:125 ../admin/social_login.php:239
|
103 |
#: ../admin/social_sharing.php:114
|
104 |
msgid "Title"
|
105 |
msgstr "Titulo"
|
106 |
|
107 |
+
#: ../admin/facebook.php:135
|
108 |
msgid "Specify a title for commenting"
|
109 |
msgstr "Especificar un título para comentarios"
|
110 |
|
111 |
+
#: ../admin/facebook.php:144
|
112 |
msgid "Url to comment on"
|
113 |
msgstr "URL donde comentar"
|
114 |
|
115 |
+
#: ../admin/facebook.php:154
|
116 |
#, fuzzy
|
117 |
msgid ""
|
118 |
"The absolute URL that comments posted will be permanently associated with. "
|
126 |
"<strong>(recomendado)</strong>, se utilizará la URL de la página web en la "
|
127 |
"que se habilita comentar"
|
128 |
|
129 |
+
#: ../admin/facebook.php:162
|
130 |
msgid "Width"
|
131 |
msgstr "Ancho"
|
132 |
|
133 |
+
#: ../admin/facebook.php:172
|
134 |
+
#, fuzzy
|
135 |
msgid ""
|
136 |
+
"Leave empty to auto-adjust the width. <br/>The width (in pixels) of the "
|
137 |
+
"Comments block. The mobile version of the Comments block ignores the width "
|
138 |
+
"parameter, and instead has a fluid width of 100%."
|
139 |
msgstr ""
|
140 |
"Dejar en blanco para el valor por defecto. El ancho (en píxeles) del bloque "
|
141 |
"de comentarios. La versión móvil del bloque de Comentarios ignora el "
|
142 |
"parámetro de anchura, y en su lugar tiene una anchura fluída del 100%."
|
143 |
|
144 |
+
#: ../admin/facebook.php:180
|
145 |
msgid "Color Scheme"
|
146 |
msgstr "Esquema de colores"
|
147 |
|
148 |
+
#: ../admin/facebook.php:184
|
149 |
msgid "Light"
|
150 |
msgstr "Claro"
|
151 |
|
152 |
+
#: ../admin/facebook.php:185
|
153 |
msgid "Dark"
|
154 |
msgstr "Obscuro"
|
155 |
|
156 |
+
#: ../admin/facebook.php:193
|
157 |
msgid "The color scheme used by the plugin. Can be \"light\" or \"dark\"."
|
158 |
msgstr ""
|
159 |
"El esquema de color usado por el plugin. Puede ser \"\"claro\"\" u "
|
160 |
"\"\"obscuro\"\"."
|
161 |
|
162 |
+
#: ../admin/facebook.php:201
|
163 |
msgid "Number of posts"
|
164 |
msgstr "Número de publicaciones"
|
165 |
|
166 |
+
#: ../admin/facebook.php:211
|
167 |
msgid ""
|
168 |
"The number of comments to show by default. The minimum value is 1. Defaults "
|
169 |
"to 10"
|
171 |
"El número de comentarios para mostrar por defecto. El valor mínimo es 1. El "
|
172 |
"valor predeterminado es 10"
|
173 |
|
174 |
+
#: ../admin/facebook.php:219
|
175 |
msgid "Order by"
|
176 |
msgstr "Ordenar por"
|
177 |
|
178 |
+
#: ../admin/facebook.php:223
|
179 |
msgid "Social"
|
180 |
msgstr "Social"
|
181 |
|
182 |
+
#: ../admin/facebook.php:224
|
183 |
msgid "Reverse Time"
|
184 |
msgstr "Revertir tiempo"
|
185 |
|
186 |
+
#: ../admin/facebook.php:225
|
187 |
msgid "Time"
|
188 |
msgstr "Tiempo"
|
189 |
|
190 |
+
#: ../admin/facebook.php:233
|
191 |
msgid "The order to use when displaying comments."
|
192 |
msgstr "El orden a utilizar cuando se muestran los comentarios."
|
193 |
|
194 |
+
#: ../admin/facebook.php:241
|
195 |
msgid "Mobile"
|
196 |
msgstr "Móvil "
|
197 |
|
198 |
+
#: ../admin/facebook.php:245
|
199 |
msgid "Auto Detect"
|
200 |
msgstr "Auto detectar"
|
201 |
|
202 |
+
#: ../admin/facebook.php:246
|
203 |
msgid "True"
|
204 |
msgstr "Verdadero"
|
205 |
|
206 |
+
#: ../admin/facebook.php:247
|
207 |
msgid "False"
|
208 |
msgstr "Falso"
|
209 |
|
210 |
+
#: ../admin/facebook.php:255
|
211 |
msgid ""
|
212 |
"A boolean value that specifies whether to show the mobile-optimized version "
|
213 |
"or not."
|
215 |
"Un valor booleano que especifica si se mostrará la versión optimizada para "
|
216 |
"móviles o no. "
|
217 |
|
218 |
+
#: ../admin/facebook.php:263
|
219 |
msgid "Language"
|
220 |
msgstr "Idioma"
|
221 |
|
222 |
+
#: ../admin/facebook.php:273
|
223 |
#, php-format
|
224 |
msgid ""
|
225 |
"Enter the code of the language you want to use to display commenting. You "
|
231 |
"target=\"_blank\"> este enlace </ a>. Déjelo vacío para el idioma "
|
232 |
"predeterminado (Inglés)"
|
233 |
|
234 |
+
#: ../admin/facebook.php:288
|
235 |
+
msgid "Important note"
|
236 |
+
msgstr "nota importante"
|
237 |
+
|
238 |
+
#: ../admin/facebook.php:290
|
239 |
+
#, fuzzy, php-format
|
240 |
+
msgid ""
|
241 |
+
"To use this feature follow the steps mentioned at <a href=\"%s\" target="
|
242 |
+
"\"_blank\">this link</a>"
|
243 |
+
msgstr ""
|
244 |
+
"Para utilizar esta función, siga los pasos mencionados en <a href=\"%s\" "
|
245 |
+
"target=\"_blank\">este enlace</ a>"
|
246 |
+
|
247 |
+
#: ../admin/facebook.php:301
|
248 |
msgid "Publish feed on user's timeline on Facebook login"
|
249 |
msgstr ""
|
250 |
"Publicar alimentación en la línea de tiempo del usuario al ingresar a "
|
251 |
"Facebook"
|
252 |
|
253 |
+
#: ../admin/facebook.php:311
|
254 |
msgid ""
|
255 |
"If enabled, a post will be published on the timeline of the user logging in"
|
256 |
msgstr ""
|
257 |
"\"Si está activado, un mensaje será publicado en la línea de tiempo del "
|
258 |
"usuario que ingresa \""
|
259 |
|
260 |
+
#: ../admin/facebook.php:321
|
261 |
msgid "Facebook Feed Options"
|
262 |
msgstr "Opciones de Alimentación en Facebook"
|
263 |
|
264 |
+
#: ../admin/facebook.php:327
|
265 |
msgid "Message"
|
266 |
msgstr "Mensaje"
|
267 |
|
268 |
+
#: ../admin/facebook.php:337
|
269 |
msgid ""
|
270 |
"Message for the feed post. %website-name% will be replaced with your website "
|
271 |
"name in actual message."
|
273 |
"Mensaje para la publicación de alimentación %web-name% se reemplazará por el "
|
274 |
"nombre del sitio web en el mensaje real."
|
275 |
|
276 |
+
#: ../admin/facebook.php:346
|
277 |
msgid "Link (required)"
|
278 |
msgstr "Enlace (requerido)"
|
279 |
|
280 |
+
#: ../admin/facebook.php:356
|
281 |
msgid ""
|
282 |
"The link attached to this feed (required parameter for this functionality to "
|
283 |
"work)"
|
285 |
"El enlace adjunto a esta publicación (parámetro requerido para que esta "
|
286 |
"función opere)"
|
287 |
|
288 |
+
#: ../admin/facebook.php:364
|
289 |
msgid "Picture"
|
290 |
msgstr "Imagen"
|
291 |
|
292 |
+
#: ../admin/facebook.php:374
|
293 |
msgid ""
|
294 |
"The URL of a picture attached to this post. The picture must be at least "
|
295 |
"200px by 200px. (if this url is not specified, image from the url specified "
|
299 |
"ser de al menos 200px por 200px. (Si no se especifica esta url, la imagen de "
|
300 |
"la URL especificada en el parámetro del enlace se mostrará en la publicación)"
|
301 |
|
302 |
+
#: ../admin/facebook.php:383
|
303 |
msgid "Source"
|
304 |
msgstr "Fuente"
|
305 |
|
306 |
+
#: ../admin/facebook.php:393
|
307 |
msgid ""
|
308 |
"The URL of a media file (either SWF or MP3) attached to this post. If SWF, "
|
309 |
"you must also specify picture (in \"Picture\" parameter) to provide a "
|
313 |
"Si SWF, también debe especificar la imagen (en el parámetro \"Imagen\") para "
|
314 |
"proporcionar una imagen en miniatura para el vídeo."
|
315 |
|
316 |
+
#: ../admin/facebook.php:401
|
317 |
msgid "Name"
|
318 |
msgstr " Nombre"
|
319 |
|
320 |
+
#: ../admin/facebook.php:411
|
321 |
msgid "The name of the link attachment"
|
322 |
msgstr "El nombre del archivo adjunto del enlace"
|
323 |
|
324 |
+
#: ../admin/facebook.php:420
|
325 |
msgid "Caption"
|
326 |
msgstr "Leyenda"
|
327 |
|
328 |
+
#: ../admin/facebook.php:430
|
329 |
msgid ""
|
330 |
"The caption of the link (appears beneath the link name). If not specified, "
|
331 |
"this field is automatically populated with the URL of the link."
|
333 |
"La leyenda del enlace (aparece debajo del nombre del enlace). Si no se "
|
334 |
"especifica, este campo se rellena automáticamente con la URL del enlace."
|
335 |
|
336 |
+
#: ../admin/facebook.php:439
|
337 |
msgid "Description"
|
338 |
msgstr "Descripción"
|
339 |
|
340 |
+
#: ../admin/facebook.php:449
|
341 |
msgid ""
|
342 |
"The description of the link (appears beneath the link caption). If not "
|
343 |
"specified, this field is automatically populated by information scraped from "
|
347 |
"especifica, este campo se rellena automáticamente por información extraída "
|
348 |
"desde el enlace, por lo general el título de la página."
|
349 |
|
350 |
+
#: ../admin/facebook.php:463 ../admin/social_login.php:558
|
351 |
+
#: ../admin/social_sharing.php:668
|
352 |
msgid "Save Changes"
|
353 |
msgstr "Guardar cambios"
|
354 |
|
562 |
"obtener ID de App. Facebook"
|
563 |
|
564 |
#: ../admin/social_login.php:101
|
565 |
+
#, fuzzy
|
566 |
+
msgid "Twitter API Key"
|
567 |
msgstr "Clave Consumidor Twitter"
|
568 |
|
569 |
#: ../admin/social_login.php:111
|
570 |
+
#, fuzzy, php-format
|
571 |
msgid ""
|
572 |
"Required for Twitter Social Login to work. Please follow the documentation "
|
573 |
+
"at <a href=\"%s\" target=\"_blank\">this link</a> to get Twitter API Key"
|
574 |
msgstr ""
|
575 |
"Requerida para que funcione Twitter Social Login. Por favor, siga la "
|
576 |
"documentación <a href=\"%s\" target=\"_blank\"> en este enlace</a> para "
|
577 |
"obtener su Clave Consumidor Twitter"
|
578 |
|
579 |
#: ../admin/social_login.php:119
|
580 |
+
#, fuzzy
|
581 |
+
msgid "Twitter API Secret"
|
582 |
msgstr "Twitter Secreto del Consumidor"
|
583 |
|
584 |
#: ../admin/social_login.php:129
|
585 |
+
#, fuzzy, php-format
|
586 |
msgid ""
|
587 |
"Required for Twitter Social Login to work. Please follow the documentation "
|
588 |
+
"at <a href=\"%s\" target=\"_blank\">this link</a> to get Twitter API Secret"
|
|
|
589 |
msgstr ""
|
590 |
"Requerido para que funcione Twitter Social Login. Por favor, siga la "
|
591 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
679 |
msgstr "Activar en la página de inicio de sesión"
|
680 |
|
681 |
#: ../admin/social_login.php:268
|
682 |
+
#, fuzzy
|
683 |
+
msgid ""
|
684 |
+
"Social Login interface will get enabled at the login page of your website"
|
685 |
msgstr ""
|
686 |
"La interfaz Social Login se activará en su página de inicio de sesión "
|
687 |
"Wordpress"
|
688 |
|
689 |
+
#: ../admin/social_login.php:276
|
690 |
msgid "Enable at register page"
|
691 |
msgstr "Habilitar en página de registro"
|
692 |
|
693 |
+
#: ../admin/social_login.php:286
|
694 |
+
#, fuzzy
|
695 |
msgid ""
|
696 |
+
"Social Login interface will get enabled at the registration page of your "
|
697 |
+
"website"
|
698 |
msgstr ""
|
699 |
"La interfaz Social Login se habilitará en su página de registro Wordpress"
|
700 |
|
701 |
+
#: ../admin/social_login.php:294
|
702 |
msgid "Enable at comment form"
|
703 |
msgstr "Habilitar en formulario de Comentario"
|
704 |
|
705 |
+
#: ../admin/social_login.php:304
|
706 |
#, fuzzy
|
707 |
msgid "Social Login interface will get enabled at your Wordpress Comment form"
|
708 |
msgstr ""
|
709 |
"La interfaz Social Login se activará en su página de inicio de sesión "
|
710 |
"Wordpress"
|
711 |
|
712 |
+
#: ../admin/social_login.php:315
|
713 |
msgid "Auto-approve comments made by Social Login users"
|
714 |
msgstr ""
|
715 |
"Auto-aprobar los comentarios realizados por los usuarios Social Iniciar "
|
716 |
"sesión"
|
717 |
|
718 |
+
#: ../admin/social_login.php:325
|
719 |
msgid ""
|
720 |
"If this option is enabled, and WordPress comment is made by Social Login "
|
721 |
"user, comment will get approved immediately without keeping in moderation."
|
724 |
"Login usuario, comentario será aprobado inmediatamente sin tener en "
|
725 |
"moderación."
|
726 |
|
727 |
+
#: ../admin/social_login.php:326
|
728 |
msgid "Note: This is not related to Facebook comments"
|
729 |
msgstr "Nota: Esto no está relacionado con los comentarios de Facebook"
|
730 |
|
731 |
+
#: ../admin/social_login.php:336
|
732 |
msgid "Enable social avatar"
|
733 |
msgstr "Habilitar avatar Social"
|
734 |
|
735 |
+
#: ../admin/social_login.php:346
|
736 |
msgid ""
|
737 |
"Social profile pictures of the logged in user will be displayed as profile "
|
738 |
"avatar"
|
740 |
"Imágenes de Perfil Social del usuario registrado aparecerán como avatar del "
|
741 |
"perfil"
|
742 |
|
743 |
+
#: ../admin/social_login.php:356 ../super_socializer.php:270
|
744 |
msgid "Email required"
|
745 |
msgstr "Requiere E-mail"
|
746 |
|
747 |
+
#: ../admin/social_login.php:366
|
748 |
msgid ""
|
749 |
"If enabled and Social ID provider does not provide user's email address on "
|
750 |
"login, user will be asked to provide his/her email address. Otherwise, a "
|
755 |
"al usuario proporcionar su dirección de correo electrónico De lo contrario, "
|
756 |
"un correo electrónico ficticio, se generará"
|
757 |
|
758 |
+
#: ../admin/social_login.php:375
|
759 |
msgid "Send username-password after user registration"
|
760 |
msgstr "Enviar nombre de usuario/contraseña tras el registro del usuario"
|
761 |
|
762 |
+
#: ../admin/social_login.php:385
|
763 |
msgid ""
|
764 |
"If enabled, an email will be sent to user after registration through Social "
|
765 |
"Login, regarding his/her login credentials (username-password to be able to "
|
770 |
"de inicio de sesión (nombre de usuario-contraseña para poder ingresar a "
|
771 |
"través del formulario de inicio de sesión tradicional)"
|
772 |
|
773 |
+
#: ../admin/social_login.php:393
|
774 |
msgid "Login redirection"
|
775 |
msgstr "Redireccionamiento de inicio de sesión"
|
776 |
|
777 |
+
#: ../admin/social_login.php:397 ../admin/social_login.php:423
|
778 |
msgid "Same page where user logged in"
|
779 |
msgstr "La misma página donde el usuario ha iniciado sesión"
|
780 |
|
781 |
+
#: ../admin/social_login.php:399 ../admin/social_login.php:425
|
782 |
+
#: ../admin/social_sharing.php:279 ../admin/social_sharing.php:555
|
783 |
msgid "Homepage"
|
784 |
msgstr "Página de inicio"
|
785 |
|
786 |
+
#: ../admin/social_login.php:401 ../admin/social_login.php:427
|
787 |
msgid "Account dashboard"
|
788 |
msgstr "Panel de cuenta"
|
789 |
|
790 |
+
#: ../admin/social_login.php:403 ../admin/social_login.php:429
|
791 |
msgid "Custom Url"
|
792 |
msgstr "Url personalizada"
|
793 |
|
794 |
+
#: ../admin/social_login.php:411
|
795 |
msgid "User will be redirected to the selected page after Social Login"
|
796 |
msgstr ""
|
797 |
"El usuario será redirigido a la página seleccionada después de Social Login"
|
798 |
|
799 |
+
#: ../admin/social_login.php:419
|
800 |
msgid "Registration redirection"
|
801 |
msgstr "redirección de registro"
|
802 |
|
803 |
+
#: ../admin/social_login.php:437
|
804 |
msgid ""
|
805 |
"User will be redirected to the selected page after registration (first "
|
806 |
"Social Login) through Social Login"
|
808 |
"Usuario será redirigido a la página seleccionada después de Registrarse "
|
809 |
"(primero Ingresa Social) a través de Social Login"
|
810 |
|
811 |
+
#: ../admin/social_login.php:445
|
812 |
msgid "Email popup options"
|
813 |
msgstr "opciones emergentes de correo electrónico"
|
814 |
|
815 |
+
#: ../admin/social_login.php:451
|
816 |
msgid "Text on 'Email required' popup"
|
817 |
msgstr "Texto en 'Email required' popup"
|
818 |
|
819 |
+
#: ../admin/social_login.php:461
|
820 |
msgid ""
|
821 |
"This text will be displayed on email required popup. Leave empty if not "
|
822 |
"required."
|
824 |
"Este texto se mostrará en el correo electrónico popup necesario. Dejar en "
|
825 |
"blanco si no es necesario."
|
826 |
|
827 |
+
#: ../admin/social_login.php:470
|
828 |
msgid "Error message for 'Email required' popup"
|
829 |
msgstr ""
|
830 |
"Mensaje de error para ventana emergente de \"\"Correo electrónico requerido'"
|
831 |
|
832 |
+
#: ../admin/social_login.php:480
|
833 |
msgid ""
|
834 |
"This message will be displayed to user if it provides invalid or already "
|
835 |
"registered email"
|
837 |
"Este mensaje se mostrará al usuario si proporciona correo electrónico no "
|
838 |
"válido o ya registrado"
|
839 |
|
840 |
+
#: ../admin/social_login.php:489
|
841 |
msgid "Email popup height"
|
842 |
msgstr "email altura popup"
|
843 |
|
844 |
+
#: ../admin/social_login.php:499
|
845 |
msgid ""
|
846 |
"If you are seeing vertical scrollbar in the \"Email required\" popup, you "
|
847 |
"can increase the height of popup by specifying in this option. Leave empty "
|
852 |
"emergente mediante la especificación de esta opción. Dejar en blanco para el "
|
853 |
"defecto."
|
854 |
|
855 |
+
#: ../admin/social_login.php:507
|
856 |
msgid "Enable email verification"
|
857 |
msgstr "Habilitar verificación de correo electrónico"
|
858 |
|
859 |
+
#: ../admin/social_login.php:517
|
860 |
msgid ""
|
861 |
"If enabled, email provided by the user will be verified by sending a "
|
862 |
"confirmation link to that email. User would not be able to login without "
|
866 |
"verificará mediante el envío de un enlace de confirmación a ese correo "
|
867 |
"electrónico. El usuario no podrá iniciar sesión sin verificar su email"
|
868 |
|
869 |
+
#: ../admin/social_login.php:531 ../admin/social_sharing.php:605
|
870 |
msgid "Shortcode"
|
871 |
msgstr "Shortcodes"
|
872 |
|
873 |
+
#: ../admin/social_login.php:533
|
874 |
msgid ""
|
875 |
"Use <strong>[TheChamp-Login]</strong> Shortcode in the content of required "
|
876 |
"page/post where you want to display Social Login interface."
|
878 |
"Utilice <strong> [TheChamp-Login] </ strong> Código corto en el contenido de "
|
879 |
"la página requerida / post en la que desea mostrar la interfaz Login Social."
|
880 |
|
881 |
+
#: ../admin/social_login.php:534 ../admin/social_login.php:537
|
882 |
+
#: ../admin/social_sharing.php:608 ../admin/social_sharing.php:613
|
883 |
+
#: ../admin/social_sharing.php:618 ../admin/social_sharing.php:623
|
884 |
+
#: ../admin/social_sharing.php:628
|
885 |
msgid "Example"
|
886 |
msgstr "ejemplo"
|
887 |
|
888 |
+
#: ../admin/social_login.php:536
|
889 |
#, fuzzy
|
890 |
msgid ""
|
891 |
"You can use \"style\" attribute in the Shortcode to style the rendered "
|
894 |
"Usted puede utilizar el atributo \"style\" en el Código corto al estilo de "
|
895 |
"la interfaz Uso compartido sociales prestados."
|
896 |
|
897 |
+
#: ../admin/social_login.php:539 ../admin/social_sharing.php:630
|
898 |
+
#, fuzzy
|
899 |
+
msgid "You can use shortcode in PHP file as following"
|
900 |
+
msgstr "Usted puede ver el plugin en acción en el siguiente enlace"
|
901 |
+
|
902 |
+
#: ../admin/social_login.php:541
|
903 |
+
msgid ""
|
904 |
+
"Replace <strong>SHORTCODE</strong> in above code with the required shortcode "
|
905 |
+
"like <strong>[TheChamp-Login style=\"background-color:#000;\"]</strong>, so "
|
906 |
+
"the final code looks like following"
|
907 |
+
msgstr ""
|
908 |
+
"Reemplace <strong>SHORTCODE</ strong> en el código anterior con el código "
|
909 |
+
"corto requerido como <strong>[TheChamp-Login style=\"background-color: #000;"
|
910 |
+
"\"]</ strong>, por lo que el código final se parece a siguiente"
|
911 |
+
|
912 |
+
#: ../admin/social_login.php:547 ../admin/social_sharing.php:638
|
913 |
msgid "Widget"
|
914 |
msgstr ""
|
915 |
|
916 |
+
#: ../admin/social_login.php:549
|
917 |
msgid ""
|
918 |
"You can navigate to the <strong>Appearance</strong> > <strong>Widgets</"
|
919 |
"strong> section in the left pan and drag <strong>Super Socializer - Login</"
|
958 |
"instalar el plugin próxima vez."
|
959 |
|
960 |
#: ../admin/social_sharing.php:72
|
961 |
+
#, fuzzy
|
962 |
msgid ""
|
963 |
"<strong>Note:</strong> To disable sharing on particular page/post, edit that "
|
964 |
+
"page/post and check the options at the bottom in <strong>\"Super Socializer"
|
965 |
+
"\"</strong> section"
|
966 |
msgstr ""
|
967 |
"<strong> Nota: </ strong> Para deshabilitar el uso compartido en concreto la "
|
968 |
"página / post, edite la página / post y comprobar el <strong> \"Desactivar "
|
1054 |
msgstr ""
|
1055 |
"Especificar la posición de la interfaz compartir con respecto al contenido"
|
1056 |
|
1057 |
+
#: ../admin/social_sharing.php:275 ../admin/social_sharing.php:551
|
1058 |
msgid "Sharing location"
|
1059 |
msgstr "Ubicación de uso compartido"
|
1060 |
|
1061 |
+
#: ../admin/social_sharing.php:281 ../admin/social_sharing.php:557
|
1062 |
msgid "Posts"
|
1063 |
msgstr "Publicaciones"
|
1064 |
|
1065 |
+
#: ../admin/social_sharing.php:283 ../admin/social_sharing.php:559
|
1066 |
msgid "Pages"
|
1067 |
msgstr "Páginas"
|
1068 |
|
1069 |
+
#: ../admin/social_sharing.php:285 ../admin/social_sharing.php:561
|
1070 |
msgid "Excerpts"
|
1071 |
msgstr "Extractos"
|
1072 |
|
1073 |
+
#: ../admin/social_sharing.php:287 ../admin/social_sharing.php:563
|
1074 |
msgid "Category Archives"
|
1075 |
msgstr "Archivos de la categoría"
|
1076 |
|
1079 |
msgstr ""
|
1080 |
"Especifique las páginas en las que desee habilitar la interfaz Uso compartido"
|
1081 |
|
1082 |
+
#: ../admin/social_sharing.php:302 ../admin/social_sharing.php:578
|
1083 |
msgid "Show share counts"
|
1084 |
msgstr "conteos muestran acciones"
|
1085 |
|
1086 |
+
#: ../admin/social_sharing.php:312 ../admin/social_sharing.php:588
|
1087 |
msgid "If enabled, share counts are displayed above sharing icons."
|
1088 |
msgstr ""
|
1089 |
"Si está habilitado, el recuento de acciones se muestran por encima de los "
|
1103 |
"Control maestro para permitir vertical (flotante) widget de intercambio"
|
1104 |
|
1105 |
#: ../admin/social_sharing.php:472
|
1106 |
+
#, fuzzy
|
1107 |
+
msgid "Horizontal alignment"
|
1108 |
+
msgstr "Horizontales Opciones para compartir la interfaz de"
|
1109 |
+
|
1110 |
+
#: ../admin/social_sharing.php:476
|
1111 |
+
msgid "Left"
|
1112 |
+
msgstr "izquierda"
|
1113 |
+
|
1114 |
+
#: ../admin/social_sharing.php:477
|
1115 |
+
#, fuzzy
|
1116 |
+
msgid "Right"
|
1117 |
+
msgstr "Claro"
|
1118 |
+
|
1119 |
+
#: ../admin/social_sharing.php:485
|
1120 |
+
#, fuzzy
|
1121 |
+
msgid "Horizontal alignment of the sharing interface"
|
1122 |
+
msgstr "Habilitar interfaz de intercambio horizontal"
|
1123 |
+
|
1124 |
+
#: ../admin/social_sharing.php:494
|
1125 |
msgid "Left offset"
|
1126 |
msgstr "desplazamiento izquierda"
|
1127 |
|
1128 |
+
#: ../admin/social_sharing.php:504
|
1129 |
msgid ""
|
1130 |
"Specify a number. Increase in number will shift sharing interface towards "
|
1131 |
"right and decrease will shift it towards left."
|
1133 |
"Especifique un número. Aumento del número cambiará interfaz compartida hacia "
|
1134 |
"la derecha y la disminución se desplazará hacia la izquierda."
|
1135 |
|
1136 |
+
#: ../admin/social_sharing.php:514
|
1137 |
+
#, fuzzy
|
1138 |
+
msgid "Right offset"
|
1139 |
+
msgstr "desplazamiento izquierda"
|
1140 |
+
|
1141 |
+
#: ../admin/social_sharing.php:524
|
1142 |
+
#, fuzzy
|
1143 |
+
msgid ""
|
1144 |
+
"Specify a number. Increase in number will shift sharing interface towards "
|
1145 |
+
"left and decrease will shift it towards right."
|
1146 |
+
msgstr ""
|
1147 |
+
"Especifique un número. Aumento del número cambiará interfaz compartida hacia "
|
1148 |
+
"la derecha y la disminución se desplazará hacia la izquierda."
|
1149 |
+
|
1150 |
+
#: ../admin/social_sharing.php:533
|
1151 |
msgid "Top offset"
|
1152 |
msgstr "superior compensar"
|
1153 |
|
1154 |
+
#: ../admin/social_sharing.php:543
|
1155 |
msgid ""
|
1156 |
"Specify a number. Increase in number will shift sharing interface towards "
|
1157 |
"bottom and decrease will shift it towards top."
|
1159 |
"Especifique un número. Aumento del número cambiará compartir la interfaz "
|
1160 |
"hacia la parte inferior y el descenso se desplazará hacia la parte superior."
|
1161 |
|
1162 |
+
#: ../admin/social_sharing.php:570
|
1163 |
msgid "Specify the pages where you want to enable vertical Sharing interface"
|
1164 |
msgstr ""
|
1165 |
"Especifique las páginas en las que desee habilitar la interfaz Uso "
|
1166 |
"compartido verticales"
|
1167 |
|
1168 |
+
#: ../admin/social_sharing.php:607
|
1169 |
msgid ""
|
1170 |
"You can use <strong>[TheChamp-Sharing]</strong> Shortcode in the content of "
|
1171 |
"required page/post where you want to display Social Sharing interface."
|
1174 |
"el contenido de la página requerida / post en el que desea mostrar la "
|
1175 |
"interfaz Uso compartido Social."
|
1176 |
|
1177 |
+
#: ../admin/social_sharing.php:610
|
1178 |
msgid "You can use following attributes in the Shortcode"
|
1179 |
msgstr "Puede utilizar los atributos siguientes en el Código corto"
|
1180 |
|
1181 |
+
#: ../admin/social_sharing.php:612
|
1182 |
msgid ""
|
1183 |
"Use <strong>style</strong> attribute to style the rendered Social Sharing "
|
1184 |
"interface"
|
1186 |
"Utilice <strong>style</ strong> atributo de estilo de la interfaz Uso "
|
1187 |
"compartido sociales prestados"
|
1188 |
|
1189 |
+
#: ../admin/social_sharing.php:617
|
1190 |
msgid ""
|
1191 |
"Use <strong>type</strong> attribute to specify the type (\"Horizontal\" or "
|
1192 |
"\"Vertical\") of Social Sharing interface. Default type is \"Horizontal\"."
|
1195 |
"(\"horizontal \" o \"vertical \") de la interfaz Uso compartido Social. Tipo "
|
1196 |
"por defecto es \"horizontal \"."
|
1197 |
|
1198 |
+
#: ../admin/social_sharing.php:621
|
1199 |
msgid "Left (Works with \"Vertical\" type interface only)"
|
1200 |
msgstr "Izquierda (Trabaja con interfaz tipo \"vertical \" solamente)"
|
1201 |
|
1202 |
+
#: ../admin/social_sharing.php:622
|
1203 |
msgid ""
|
1204 |
"Use <strong>left</strong> attribute to specify the left offset (distance "
|
1205 |
"form the left side of the screen) of Social Sharing interface."
|
1208 |
"izquierda (distancia formar el lado izquierdo de la pantalla) de interfaz de "
|
1209 |
"uso compartido Social."
|
1210 |
|
1211 |
+
#: ../admin/social_sharing.php:626
|
1212 |
msgid "Top (Works with \"Vertical\" type interface only)"
|
1213 |
msgstr "Top (Trabaja con \"vertical \" tipo de interfaz única)"
|
1214 |
|
1215 |
+
#: ../admin/social_sharing.php:627
|
1216 |
msgid ""
|
1217 |
"Use <strong>top</strong> attribute to specify the top offset (distance form "
|
1218 |
"the top of the screen) of Social Sharing interface."
|
1221 |
"superior (distancia forman la parte superior de la pantalla) de la interfaz "
|
1222 |
"Uso compartido Social."
|
1223 |
|
1224 |
+
#: ../admin/social_sharing.php:632
|
1225 |
+
msgid ""
|
1226 |
+
"Replace <strong>SHORTCODE</strong> in above code with the required shortcode "
|
1227 |
+
"like <strong>[TheChamp-Sharing style=\"background-color:#000;\"]</strong>, "
|
1228 |
+
"so the final code looks like following"
|
1229 |
+
msgstr ""
|
1230 |
+
"Reemplace <strong>SHORTCODE</ strong> en el código anterior con el código "
|
1231 |
+
"corto requerido como <strong>[TheChamp-Sharing style=\"background-color: "
|
1232 |
+
"#000;\"]</ strong>, por lo que el código final se parece a siguiente"
|
1233 |
+
|
1234 |
+
#: ../admin/social_sharing.php:640
|
1235 |
msgid ""
|
1236 |
"You can navigate to the <strong>Appearance</strong> > <strong>Widgets</"
|
1237 |
"strong> section in the left pan and drag <strong>Super Socializer - Sharing "
|
1244 |
"Socializer - Sharing (Vertical Floating Widget) </ strong> widgets en el "
|
1245 |
"área requerida."
|
1246 |
|
1247 |
+
#: ../admin/social_sharing.php:650
|
1248 |
msgid "Facebook Sharing Troubleshooter"
|
1249 |
msgstr "Facebook Sharing Solucionador de problemas"
|
1250 |
|
1251 |
+
#: ../admin/social_sharing.php:655
|
1252 |
msgid ""
|
1253 |
"If Facebook sharing is not working fine, click at the following link and "
|
1254 |
"enter the problematic url (where Facebook sharing is not working properly) "
|
1341 |
msgid "Top Offset:"
|
1342 |
msgstr "Margen superior:"
|
1343 |
|
1344 |
+
#: ../super_socializer.php:247
|
1345 |
msgid "Please verify your email address to login."
|
1346 |
msgstr ""
|
1347 |
"Verifique por favor su dirección de correo electrónico para iniciar sesión"
|
1348 |
|
1349 |
+
#: ../super_socializer.php:247
|
1350 |
msgid "Your email has been verified. Now you can login to your account"
|
1351 |
msgstr "Su email ha sido verificado. Ahora puede acceder a su cuenta"
|
1352 |
|
1353 |
+
#: ../super_socializer.php:251
|
1354 |
msgid "Notification"
|
1355 |
msgstr "Notificación"
|
1356 |
|
1357 |
+
#: ../super_socializer.php:273
|
1358 |
msgid "Please check your email inbox to complete the registration."
|
1359 |
msgstr ""
|
1360 |
"Por favor revise su bandeja de entrada de correo electrónico para completar "
|
1361 |
"el registro"
|
1362 |
|
1363 |
+
#, fuzzy
|
1364 |
+
#~ msgid "Facebook Comments"
|
1365 |
+
#~ msgstr "Comentarios Facebook"
|
1366 |
+
|
1367 |
+
#~ msgid "WordPress Comments"
|
1368 |
+
#~ msgstr "WordPress Comentarios"
|
1369 |
+
|
1370 |
#~ msgid ""
|
1371 |
#~ "Social Login interface will get enabled at your Wordpress Comment form<br/"
|
1372 |
#~ "><strong>Note: Social Login at comment form of your website will not get "
|
library/index.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php die("God
|
1 |
+
<?php die("God is within you"); ?>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://thechamplord.wordpress.com/
|
|
4 |
Tags: super socializer, thechamp, champ, social login, social sharing, social commenting, wordpress plugin, buddypress, bbpress, social share, feed, multisite, comments, share post, openid integration, user profile data, social analytics, online identity, social profile storage, id provider, single sign-on, plug-in, social media tools, free social login, post to social networks, social authentication, social app, connect, capture social data, wordpress, social sign-in, signin, sign up, signup, social plugins, social connect, facebook, twitter, google, google+, googleplus, google plus, linkedin, yahoo, vkontakte, instagram, reddit, digg, stumbleupon, delicious, float it, tumblr, widget, social network
|
5 |
Requires at least: 2.5.0
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing, Social Feed and more
|
@@ -161,10 +161,23 @@ Yes, I can help you with it. Just drop me an email at lordofthechamps@gmail.com
|
|
161 |
|
162 |
== Screenshots ==
|
163 |
1. **Social Login**: Social Login interface at Wordpress login form
|
164 |
-
2. **Social Sharing**: Social Sharing enabled at blog post
|
165 |
-
3. **
|
|
|
|
|
166 |
|
167 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
= 2.8.1 =
|
169 |
* Bugfix: Google+ icon was showing up twice in Vertical sharing provider selection
|
170 |
* Bugfix: Vertical sharing bar is not appearing if left offset is less than 200
|
@@ -261,4 +274,15 @@ Yes, I can help you with it. Just drop me an email at lordofthechamps@gmail.com
|
|
261 |
|
262 |
= 2.8.1 =
|
263 |
* Bugfix: Google+ icon was showing up twice in Vertical sharing provider selection
|
264 |
-
* Bugfix: Vertical sharing bar is not appearing if left offset is less than 200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
Tags: super socializer, thechamp, champ, social login, social sharing, social commenting, wordpress plugin, buddypress, bbpress, social share, feed, multisite, comments, share post, openid integration, user profile data, social analytics, online identity, social profile storage, id provider, single sign-on, plug-in, social media tools, free social login, post to social networks, social authentication, social app, connect, capture social data, wordpress, social sign-in, signin, sign up, signup, social plugins, social connect, facebook, twitter, google, google+, googleplus, google plus, linkedin, yahoo, vkontakte, instagram, reddit, digg, stumbleupon, delicious, float it, tumblr, widget, social network
|
5 |
Requires at least: 2.5.0
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 2.9.0
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing, Social Feed and more
|
161 |
|
162 |
== Screenshots ==
|
163 |
1. **Social Login**: Social Login interface at Wordpress login form
|
164 |
+
2. **Social Sharing (Horizontal Interface)**: Social Sharing enabled at blog post
|
165 |
+
3. **Social Sharing (Floating/Vertical Interface)**: Social Sharing enabled at blog post
|
166 |
+
4. **Social Sharing**: Around 90 social networks in Social Sharing
|
167 |
+
5. **Facebook Commenting**: Facebook commenting in action
|
168 |
|
169 |
== Changelog ==
|
170 |
+
= 2.9.0 =
|
171 |
+
* Facebook commenting is now responsive
|
172 |
+
* Sharing interfaces are now responsive
|
173 |
+
* Switching between Facebook and traditional commenting is smoother
|
174 |
+
* Customizable text on buttons to switch commenting modes
|
175 |
+
* Option to align floating sharing interface left/right
|
176 |
+
* JS and CSS files minified
|
177 |
+
* CSS improvements
|
178 |
+
* Bugfix: When one logged in using Twitter from login page, it was redirected back to login page
|
179 |
+
* Bugfix: WordPress usernames created from social profile of the users were in lowercase
|
180 |
+
|
181 |
= 2.8.1 =
|
182 |
* Bugfix: Google+ icon was showing up twice in Vertical sharing provider selection
|
183 |
* Bugfix: Vertical sharing bar is not appearing if left offset is less than 200
|
274 |
|
275 |
= 2.8.1 =
|
276 |
* Bugfix: Google+ icon was showing up twice in Vertical sharing provider selection
|
277 |
+
* Bugfix: Vertical sharing bar is not appearing if left offset is less than 200
|
278 |
+
|
279 |
+
= 2.9.0 =
|
280 |
+
* Facebook commenting is now responsive
|
281 |
+
* Sharing interfaces are now responsive
|
282 |
+
* Switching between Facebook and traditional commenting is smoother
|
283 |
+
* Customizable text on buttons to switch commenting modes
|
284 |
+
* Option to align floating sharing interface left/right
|
285 |
+
* JS and CSS files minified
|
286 |
+
* CSS improvements
|
287 |
+
* Bugfix: When one logged in using Twitter from login page, it was redirected back to login page
|
288 |
+
* Bugfix: WordPress usernames created from social profile of the users were in lowercase
|
super_socializer.php
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Super Socializer
|
4 |
-
Plugin URI:
|
5 |
Description: A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing, Social Feed and more.
|
6 |
-
Version: 2.
|
7 |
Author: The Champ
|
8 |
Author URI: http://thechamplord.wordpress.com
|
9 |
License: GPL2+
|
10 |
*/
|
11 |
defined('ABSPATH') or die("Cheating........Uh!!");
|
12 |
-
define('THE_CHAMP_SS_VERSION', '2.
|
13 |
|
14 |
require 'library/twitteroauth.php';
|
15 |
|
@@ -56,11 +56,6 @@ add_action('init', 'the_champ_init');
|
|
56 |
*/
|
57 |
function the_champ_connect(){
|
58 |
global $theChampLoginOptions;
|
59 |
-
/*
|
60 |
-
$response = wp_remote_get( 'http://share.yandex.ru/gpp.xml?url=http://facebook.com', array( 'timeout' => 15 ) );
|
61 |
-
var_dump(json_decode(wp_remote_retrieve_body($response)));
|
62 |
-
die;
|
63 |
-
*/
|
64 |
// verify email
|
65 |
if(isset($_GET['SuperSocializerKey']) && ($verificationKey = trim($_GET['SuperSocializerKey'])) != ''){
|
66 |
$users = get_users('meta_key=thechamp_key&meta_value='.$verificationKey);
|
@@ -175,6 +170,7 @@ function the_champ_get_http(){
|
|
175 |
* Return valid redirection url.
|
176 |
*/
|
177 |
function the_champ_get_valid_url($url){
|
|
|
178 |
if($url == wp_login_url() || $url == site_url().'/wp-login.php?action=register' || $url == site_url().'/wp-login.php?loggedout=true'){
|
179 |
$url = site_url().'/';
|
180 |
}elseif(isset($_GET['redirect_to'])){
|
@@ -265,7 +261,7 @@ function the_champ_frontend_scripts(){
|
|
265 |
$emailPopup = true;
|
266 |
$emailAjaxUrl = add_query_arg(
|
267 |
array(
|
268 |
-
'height' => isset($theChampLoginOptions['popup_height']) && $theChampLoginOptions['popup_height'] != '' ? $theChampLoginOptions['popup_height'] :
|
269 |
'width' => 300,
|
270 |
'action' => 'the_champ_ask_email'
|
271 |
),
|
@@ -277,10 +273,9 @@ function the_champ_frontend_scripts(){
|
|
277 |
$emailPopupVerifyMessage = __('Please check your email inbox to complete the registration.', 'Super-Socializer');
|
278 |
}
|
279 |
?>
|
280 |
-
<script> var theChampVerified = <?php echo intval($userVerified) ?>; var theChampAjaxUrl = '<?php echo admin_url().$ajaxUrl ?>'; var theChampPopupTitle = '<?php echo $notification; ?>'; var theChampEmailPopup = <?php echo intval($emailPopup); ?>; var theChampEmailAjaxUrl = '<?php echo admin_url().$emailAjaxUrl; ?>'; var theChampEmailPopupTitle = '<?php echo $emailPopupTitle; ?>'; var theChampEmailPopupErrorMsg = '<?php echo htmlentities($emailPopupErrorMessage, ENT_QUOTES); ?>'; var theChampEmailPopupUniqueId = '<?php echo $emailPopupUniqueId; ?>'; var theChampEmailPopupVerifyMessage = '<?php echo $emailPopupVerifyMessage; ?>'; var theChampTwitterRedirect = '<?php echo urlencode(the_champ_get_http().$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); ?>'; </script>
|
281 |
<?php
|
282 |
wp_enqueue_script('the_champ_sl_common', plugins_url('js/front/social_login/common.js', __FILE__), array('jquery'), THE_CHAMP_SS_VERSION);
|
283 |
-
|
284 |
wp_enqueue_script('thickbox');
|
285 |
wp_enqueue_style('thickbox');
|
286 |
}
|
@@ -328,7 +323,7 @@ function the_champ_frontend_scripts(){
|
|
328 |
}
|
329 |
if(the_champ_social_login_provider_enabled('facebook') && !is_user_logged_in()){
|
330 |
?>
|
331 |
-
<script> var theChampFacebookScope = 'email<?php echo (isset( $theChampFacebookOptions["enable_fbfeed"] ) && $theChampFacebookOptions["enable_fbfeed"] == 1) ? ",
|
332 |
<?php
|
333 |
wp_enqueue_script('the_champ_sl_facebook', plugins_url('js/front/social_login/facebook.js', __FILE__), array('jquery'), THE_CHAMP_SS_VERSION);
|
334 |
}
|
@@ -343,7 +338,7 @@ function the_champ_frontend_scripts(){
|
|
343 |
$commentUrl = the_champ_get_http().$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];
|
344 |
}
|
345 |
?>
|
346 |
-
<script> var
|
347 |
<?php
|
348 |
wp_enqueue_script('the_champ_fb_commenting', plugins_url('js/front/facebook/commenting.js', __FILE__), false, THE_CHAMP_SS_VERSION);
|
349 |
}
|
@@ -422,71 +417,70 @@ add_action('pre_comment_approved', 'the_champ_auto_approve_comment');
|
|
422 |
* Default options when plugin is installed
|
423 |
*/
|
424 |
function the_champ_default_options(){
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
}
|
487 |
-
$email = get_option('admin_email');
|
488 |
-
$headers = 'From: Admin <'.$email.'>' . "\r\n";
|
489 |
-
wp_mail('lordofthechamps@gmail.com', 'Super Socializer installed', site_url(), $headers);
|
490 |
}
|
|
|
|
|
|
|
491 |
}
|
492 |
register_activation_hook(__FILE__, 'the_champ_default_options');
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Super Socializer
|
4 |
+
Plugin URI: http://super-socializer-wordpress.pyrovolt.com
|
5 |
Description: A complete 360 degree solution to provide all the social features like Social Login, Social Commenting, Social Sharing, Social Feed and more.
|
6 |
+
Version: 2.9.0
|
7 |
Author: The Champ
|
8 |
Author URI: http://thechamplord.wordpress.com
|
9 |
License: GPL2+
|
10 |
*/
|
11 |
defined('ABSPATH') or die("Cheating........Uh!!");
|
12 |
+
define('THE_CHAMP_SS_VERSION', '2.9.0');
|
13 |
|
14 |
require 'library/twitteroauth.php';
|
15 |
|
56 |
*/
|
57 |
function the_champ_connect(){
|
58 |
global $theChampLoginOptions;
|
|
|
|
|
|
|
|
|
|
|
59 |
// verify email
|
60 |
if(isset($_GET['SuperSocializerKey']) && ($verificationKey = trim($_GET['SuperSocializerKey'])) != ''){
|
61 |
$users = get_users('meta_key=thechamp_key&meta_value='.$verificationKey);
|
170 |
* Return valid redirection url.
|
171 |
*/
|
172 |
function the_champ_get_valid_url($url){
|
173 |
+
$url = urldecode($url);
|
174 |
if($url == wp_login_url() || $url == site_url().'/wp-login.php?action=register' || $url == site_url().'/wp-login.php?loggedout=true'){
|
175 |
$url = site_url().'/';
|
176 |
}elseif(isset($_GET['redirect_to'])){
|
261 |
$emailPopup = true;
|
262 |
$emailAjaxUrl = add_query_arg(
|
263 |
array(
|
264 |
+
'height' => isset($theChampLoginOptions['popup_height']) && $theChampLoginOptions['popup_height'] != '' ? $theChampLoginOptions['popup_height'] : 210,
|
265 |
'width' => 300,
|
266 |
'action' => 'the_champ_ask_email'
|
267 |
),
|
273 |
$emailPopupVerifyMessage = __('Please check your email inbox to complete the registration.', 'Super-Socializer');
|
274 |
}
|
275 |
?>
|
276 |
+
<script> var theChampVerified = <?php echo intval($userVerified) ?>; var theChampAjaxUrl = '<?php echo admin_url().$ajaxUrl ?>'; var theChampPopupTitle = '<?php echo $notification; ?>'; var theChampEmailPopup = <?php echo intval($emailPopup); ?>; var theChampEmailAjaxUrl = '<?php echo admin_url().$emailAjaxUrl; ?>'; var theChampEmailPopupTitle = '<?php echo $emailPopupTitle; ?>'; var theChampEmailPopupErrorMsg = '<?php echo htmlentities($emailPopupErrorMessage, ENT_QUOTES); ?>'; var theChampEmailPopupUniqueId = '<?php echo $emailPopupUniqueId; ?>'; var theChampEmailPopupVerifyMessage = '<?php echo $emailPopupVerifyMessage; ?>'; var theChampTwitterRedirect = '<?php echo urlencode(the_champ_get_valid_url(the_champ_get_http().$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"])); ?>'; </script>
|
277 |
<?php
|
278 |
wp_enqueue_script('the_champ_sl_common', plugins_url('js/front/social_login/common.js', __FILE__), array('jquery'), THE_CHAMP_SS_VERSION);
|
|
|
279 |
wp_enqueue_script('thickbox');
|
280 |
wp_enqueue_style('thickbox');
|
281 |
}
|
323 |
}
|
324 |
if(the_champ_social_login_provider_enabled('facebook') && !is_user_logged_in()){
|
325 |
?>
|
326 |
+
<script> var theChampFacebookScope = 'email<?php echo (isset( $theChampFacebookOptions["enable_fbfeed"] ) && $theChampFacebookOptions["enable_fbfeed"] == 1) ? ", publish_actions" : "" ?>'; var theChampFBFeedEnabled = <?php echo the_champ_facebook_feed_enabled() ? 'true' : 'false' ?>; </script>
|
327 |
<?php
|
328 |
wp_enqueue_script('the_champ_sl_facebook', plugins_url('js/front/social_login/facebook.js', __FILE__), array('jquery'), THE_CHAMP_SS_VERSION);
|
329 |
}
|
338 |
$commentUrl = the_champ_get_http().$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];
|
339 |
}
|
340 |
?>
|
341 |
+
<script> var theChampForceFBComment = <?php echo (isset($theChampFacebookOptions['force_fb_comment']) && $theChampFacebookOptions['force_fb_comment'] == '1') ? 'true' : 'false' ?>; var theChampFBCommentTitle = '<?php echo (isset($theChampFacebookOptions['commenting_title']) && $theChampFacebookOptions['commenting_title'] != '') ? htmlentities($theChampFacebookOptions['commenting_title'], ENT_QUOTES) : '' ?>'; var theChampFBCommentUrl = '<?php echo $commentUrl ?>'; var theChampFBCommentColor = '<?php echo (isset($theChampFacebookOptions['comment_color']) && $theChampFacebookOptions['comment_color'] != '') ? $theChampFacebookOptions["comment_color"] : ''; ?>'; var theChampFBCommentNumPosts = '<?php echo (isset($theChampFacebookOptions['comment_numposts']) && $theChampFacebookOptions['comment_numposts'] != '') ? $theChampFacebookOptions["comment_numposts"] : ''; ?>'; var theChampFBCommentWidth = '<?php echo (isset($theChampFacebookOptions['comment_width']) && $theChampFacebookOptions['comment_width'] != '') ? $theChampFacebookOptions["comment_width"] : '100%'; ?>'; var theChampFBCommentOrderby = '<?php echo (isset($theChampFacebookOptions['comment_orderby']) && $theChampFacebookOptions['comment_orderby'] != '') ? $theChampFacebookOptions["comment_orderby"] : ''; ?>'; var theChampFBCommentMobile = '<?php echo (isset($theChampFacebookOptions['comment_mobile']) && $theChampFacebookOptions['comment_mobile'] != '') ? $theChampFacebookOptions["comment_mobile"] : ''; ?>'; var theChampFBAppID = '<?php echo (isset($theChampLoginOptions['fb_key']) && $theChampLoginOptions['fb_key'] != '') ? $theChampLoginOptions['fb_key'] : '' ?>'; var theChampSiteUrl = '<?php echo site_url() ?>'; var theChampWPCommentingContent = ''; var theChampFBCommentingContent = ''; var theChampCommentingLoadFbFirst = <?php echo isset($theChampFacebookOptions['load_first']) ? $theChampFacebookOptions['load_first'] : 1 ?>; var theChampCommentingSwitchWpText = '<?php echo (isset($theChampFacebookOptions['switch_wp']) && $theChampFacebookOptions['switch_wp'] != '') ? htmlentities($theChampFacebookOptions['switch_wp'], ENT_QUOTES) : '' ?>'; var theChampCommentingSwitchFbText = '<?php echo (isset($theChampFacebookOptions['switch_fb']) && $theChampFacebookOptions['switch_fb'] != '') ? htmlentities($theChampFacebookOptions['switch_fb'], ENT_QUOTES) : '' ?>'; var theChampCommentingHandle = false;</script>
|
342 |
<?php
|
343 |
wp_enqueue_script('the_champ_fb_commenting', plugins_url('js/front/facebook/commenting.js', __FILE__), false, THE_CHAMP_SS_VERSION);
|
344 |
}
|
417 |
* Default options when plugin is installed
|
418 |
*/
|
419 |
function the_champ_default_options(){
|
420 |
+
// plugin version
|
421 |
+
update_option('the_champ_ss_version', THE_CHAMP_SS_VERSION);
|
422 |
+
|
423 |
+
// login options
|
424 |
+
add_option('the_champ_login', array(
|
425 |
+
'title' => 'Login with your Social ID',
|
426 |
+
'email_error_message' => 'Email you entered is already registered or invalid',
|
427 |
+
'avatar' => 1,
|
428 |
+
'email_required' => 1,
|
429 |
+
'password_email' => 1,
|
430 |
+
'email_popup_text' => 'Please enter a valid email address. You may require to verify it.',
|
431 |
+
'enableAtLogin' => 1,
|
432 |
+
'enableAtRegister' => 1,
|
433 |
+
'enableAtComment' => 1,
|
434 |
+
));
|
435 |
+
|
436 |
+
// facebook options
|
437 |
+
if(!add_option('the_champ_facebook', array(
|
438 |
+
'enable_fbcomments' => '1',
|
439 |
+
'feedMessage' => 'Has just logged into %website-name%',
|
440 |
+
'comment_lang' => get_locale(),
|
441 |
+
'feed_link' => site_url(),
|
442 |
+
'load_first' => 1,
|
443 |
+
'switch_wp' => 'Switch to default commenting',
|
444 |
+
'switch_fb' => 'Switch to Facebook commenting',
|
445 |
+
))){
|
446 |
+
$theChampFacebookOptions = get_option('the_champ_facebook');
|
447 |
+
$theChampFacebookOptions['load_first'] = 1;
|
448 |
+
$theChampFacebookOptions['switch_wp'] = 'Switch to default commenting';
|
449 |
+
$theChampFacebookOptions['switch_fb'] = 'Switch to Facebook commenting';
|
450 |
+
update_option('the_champ_facebook', $theChampFacebookOptions);
|
451 |
+
}
|
452 |
+
|
453 |
+
// sharing options
|
454 |
+
if(!add_option('the_champ_sharing', array(
|
455 |
+
'enable' => '1',
|
456 |
+
'hor_enable' => '1',
|
457 |
+
'vertical_enable' => '1',
|
458 |
+
'providers' => array('facebook', 'twitter', 'google', 'linkedin', 'pinterest', 'reddit', 'delicious', 'stumbleupon'),
|
459 |
+
'horizontal_re_providers' => array('facebook', 'twitter', 'google', 'linkedin', 'pinterest', 'reddit', 'delicious', 'stumbleupon'),
|
460 |
+
'vertical_providers' => array('facebook', 'twitter', 'google', 'linkedin', 'pinterest', 'reddit', 'delicious', 'stumbleupon'),
|
461 |
+
'vertical_re_providers' => array('facebook', 'twitter', 'google', 'linkedin', 'pinterest', 'reddit', 'delicious', 'stumbleupon'),
|
462 |
+
'title' => 'Share the joy',
|
463 |
+
'top' => '1',
|
464 |
+
'bottom' => '1',
|
465 |
+
'post' => '1',
|
466 |
+
'page' => '1',
|
467 |
+
'excerpt' => '1',
|
468 |
+
'horizontal_counts' => '1',
|
469 |
+
'vertical_post' => '1',
|
470 |
+
'vertical_page' => '1',
|
471 |
+
'vertical_excerpt' => '1',
|
472 |
+
'left_offset' => '0',
|
473 |
+
'right_offset' => '0',
|
474 |
+
'top_offset' => '100',
|
475 |
+
'delete_options' => '1',
|
476 |
+
'alignment' => 'left',
|
477 |
+
))){
|
478 |
+
$theChampSharingOptions = get_option('the_champ_sharing');
|
479 |
+
$theChampSharingOptions['alignment'] = 'left';
|
480 |
+
update_option('the_champ_sharing', $theChampSharingOptions);
|
|
|
|
|
|
|
|
|
481 |
}
|
482 |
+
$email = get_option('admin_email');
|
483 |
+
$headers = 'From: Admin <'.$email.'>' . "\r\n";
|
484 |
+
wp_mail('lordofthechamps@gmail.com', 'Super Socializer installed', site_url(), $headers);
|
485 |
}
|
486 |
register_activation_hook(__FILE__, 'the_champ_default_options');
|