Version Description
- Added Social Counters (Facebook like, Twitter Tweet, Google +1 etc)
- Updated StumbleUpon sharing icon
- Added FAQ section at "Social Sharing" page
- CSS improvements
- Added hook "do_action('the_champ_user_successfully_created', $userId, $userdata)" after user creation
- Added hook "apply_filters('the_champ_bypass_sharing', $post, $content)" before rendering sharing interface
- Added option to specify background color of the vertical sharing bar
- Added option to use bit.ly url shortening sevice in sharing
- Added option to specify username in Twitter sharing
- Bugfix: If used any other language than English in the FB comment title, undefined characters were being displayed at front end
Download this release
Release Info
Developer | the_champ |
Plugin | WordPress Social Share, Social Login and Social Comments Plugin – Super Socializer |
Version | 3.4.0 |
Comparing to | |
See all releases |
Code changes from version 2.9.0 to 3.4.0
- admin/facebook.php +2 -0
- admin/social_counter.php +560 -0
- admin/social_login.php +9 -1
- admin/social_sharing.php +124 -0
- css/admin.css +1 -1
- css/front.css +2 -1
- helper.php +60 -8
- images/sharing/sharing.png +0 -0
- images/snaps/ss_bitly_apikey.png +0 -0
- images/snaps/ss_bitly_username.png +0 -0
- images/snaps/ss_disable_sharing.png +0 -0
- images/snaps/ss_twitter_username.png +0 -0
- images/snaps/switch_to_default_commenting.png +0 -0
- images/snaps/switch_to_facebook_commenting.png +0 -0
- inc/shortcode.php +46 -0
- inc/social_login.php +7 -1
- inc/social_sharing.php +161 -30
- inc/widget.php +264 -22
- js/admin/admin.js +1 -1
- js/admin/counter/admin.js +1 -0
- js/admin/counter/index.php +1 -0
- js/admin/sharing/admin.js +1 -1
- js/front/sharing/sharing.js +2 -2
- js/front/social_login/common.js +1 -1
- js/front/social_login/general.js +1 -1
- js/front/social_login/instagram.js +1 -1
- languages/Super-Socializer-es_ES.mo +0 -0
- languages/Super-Socializer-es_ES.po +688 -279
- library/twitteroauth.php +0 -1
- readme.txt +28 -2
- super_socializer.php +26 -18
admin/facebook.php
CHANGED
@@ -98,6 +98,7 @@
|
|
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 |
|
@@ -116,6 +117,7 @@
|
|
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>
|
98 |
<div>
|
99 |
<?php _e('This text will be display on the button to switch to WordPress comments', 'Super-Socializer') ?>
|
100 |
</div>
|
101 |
+
<img width="562" src="<?php echo plugins_url('../images/snaps/switch_to_default_commenting.png', __FILE__); ?>" />
|
102 |
</td>
|
103 |
</tr>
|
104 |
|
117 |
<div>
|
118 |
<?php _e('This text will be displayed on the button to switch to Facebook comments', 'Super-Socializer') ?>
|
119 |
</div>
|
120 |
+
<img width="562" src="<?php echo plugins_url('../images/snaps/switch_to_facebook_commenting.png', __FILE__); ?>" />
|
121 |
</td>
|
122 |
</tr>
|
123 |
</tbody>
|
admin/social_counter.php
ADDED
@@ -0,0 +1,560 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php defined('ABSPATH') or die("Cheating........Uh!!"); ?>
|
2 |
+
|
3 |
+
<div id="fb-root"></div>
|
4 |
+
|
5 |
+
<div class="metabox-holder columns-2" id="post-body">
|
6 |
+
<div class="menu_div" id="tabs">
|
7 |
+
<?php require 'donate.php'; ?>
|
8 |
+
<form action="options.php" method="post">
|
9 |
+
<?php settings_fields('the_champ_counter_options'); ?>
|
10 |
+
<h2 class="nav-tab-wrapper" style="height:36px">
|
11 |
+
<ul>
|
12 |
+
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-1"><?php _e('Basic Configuration', 'Super-Socializer') ?></a></li>
|
13 |
+
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-2"><?php _e('Social Counter', 'Super-Socializer') ?></a></li>
|
14 |
+
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-3"><?php _e('Shortcode & Widget', 'Super-Socializer') ?></a></li>
|
15 |
+
</ul>
|
16 |
+
</h2>
|
17 |
+
<div class="menu_containt_div" id="tabs-1">
|
18 |
+
<div class="the_champ_left_column">
|
19 |
+
<div class="stuffbox" >
|
20 |
+
<h3><label><?php _e('Basic Configuration', 'Super-Socializer');?></label></h3>
|
21 |
+
<div class="inside">
|
22 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
23 |
+
<tr>
|
24 |
+
<th>
|
25 |
+
<img id="the_champ_sc_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
26 |
+
<label for="the_champ_counter_enable"><?php _e("Enable Social Counter", 'Super-Socializer'); ?></label>
|
27 |
+
</th>
|
28 |
+
<td>
|
29 |
+
<input id="the_champ_counter_enable" name="the_champ_counter[enable]" type="checkbox" <?php echo isset($theChampCounterOptions['enable']) ? 'checked = "checked"' : '';?> value="1" />
|
30 |
+
</td>
|
31 |
+
</tr>
|
32 |
+
|
33 |
+
<tr class="the_champ_help_content" id="the_champ_sc_enable_help_cont">
|
34 |
+
<td colspan="2">
|
35 |
+
<div>
|
36 |
+
<?php _e('Master control for Social Counter. It must be checked to enable Social Counter functionality', 'Super-Socializer') ?>
|
37 |
+
</div>
|
38 |
+
</td>
|
39 |
+
</tr>
|
40 |
+
</table>
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
|
44 |
+
<div class="stuffbox">
|
45 |
+
<div class="inside">
|
46 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
47 |
+
<tr>
|
48 |
+
<td colspan="2">
|
49 |
+
<div>
|
50 |
+
<?php _e('<strong>Note:</strong> To disable counter on particular page/post, edit that page/post and check the options at the bottom in <strong>"Super Socializer"</strong> section', 'Super-Socializer') ?>
|
51 |
+
</div>
|
52 |
+
<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__) ?>" />
|
53 |
+
</td>
|
54 |
+
</tr>
|
55 |
+
</table>
|
56 |
+
</div>
|
57 |
+
</div>
|
58 |
+
|
59 |
+
</div>
|
60 |
+
<?php include 'help.php'; ?>
|
61 |
+
</div>
|
62 |
+
|
63 |
+
<div class="menu_containt_div" id="tabs-2">
|
64 |
+
<div class="the_champ_left_column">
|
65 |
+
|
66 |
+
<div class="stuffbox">
|
67 |
+
<h3><label><?php _e('bit.ly url shortener', 'Super-Socializer');?></label></h3>
|
68 |
+
<div class="inside">
|
69 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
70 |
+
<tr>
|
71 |
+
<th>
|
72 |
+
<img id="the_champ_sc_bitly_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
73 |
+
<label for="the_champ_sc_bitly_enable"><?php _e("Enable bit.ly url shortener for tweet button", 'Super-Socializer'); ?></label>
|
74 |
+
</th>
|
75 |
+
<td>
|
76 |
+
<input id="the_champ_sc_bitly_enable" name="the_champ_counter[bitly_enable]" type="checkbox" <?php echo isset($theChampCounterOptions['bitly_enable']) ? 'checked = "checked"' : '';?> value="1" />
|
77 |
+
</td>
|
78 |
+
</tr>
|
79 |
+
|
80 |
+
<tr class="the_champ_help_content" id="the_champ_sc_bitly_enable_help_cont">
|
81 |
+
<td colspan="2">
|
82 |
+
<div>
|
83 |
+
<?php _e('Master control to enable bit.ly url shortening for sharing', 'Super-Socializer') ?>
|
84 |
+
</div>
|
85 |
+
</td>
|
86 |
+
</tr>
|
87 |
+
|
88 |
+
<tr>
|
89 |
+
<th>
|
90 |
+
<img id="the_champ_sc_bitly_login_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
91 |
+
<label for="the_champ_sc_bitly_login"><?php _e("bit.ly username", 'Super-Socializer'); ?></label>
|
92 |
+
</th>
|
93 |
+
<td>
|
94 |
+
<input id="the_champ_sc_bitly_login" name="the_champ_counter[bitly_username]" type="text" value="<?php echo isset($theChampCounterOptions['bitly_username']) ? $theChampCounterOptions['bitly_username'] : '' ?>" />
|
95 |
+
</td>
|
96 |
+
</tr>
|
97 |
+
|
98 |
+
<tr class="the_champ_help_content" id="the_champ_sc_bitly_login_help_cont">
|
99 |
+
<td colspan="2">
|
100 |
+
<div>
|
101 |
+
<?php echo sprintf(__('Login to your bit.ly account and navigate to <a href="%s" target="_blank">this link</a> to get bit.ly username', 'Super-Socializer'), 'https://bitly.com/a/your_api_key') ?>
|
102 |
+
<img width="550" src="<?php echo plugins_url('../images/snaps/ss_bitly_username.png', __FILE__); ?>" />
|
103 |
+
</div>
|
104 |
+
</td>
|
105 |
+
</tr>
|
106 |
+
|
107 |
+
<tr>
|
108 |
+
<th>
|
109 |
+
<img id="the_champ_sc_bitly_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
110 |
+
<label for="the_champ_sc_bitly_key"><?php _e("bit.ly API Key", 'Super-Socializer'); ?></label>
|
111 |
+
</th>
|
112 |
+
<td>
|
113 |
+
<input id="the_champ_sc_bitly_key" name="the_champ_counter[bitly_key]" type="text" value="<?php echo isset($theChampCounterOptions['bitly_key']) ? $theChampCounterOptions['bitly_key'] : '' ?>" />
|
114 |
+
</td>
|
115 |
+
</tr>
|
116 |
+
|
117 |
+
<tr class="the_champ_help_content" id="the_champ_sc_bitly_key_help_cont">
|
118 |
+
<td colspan="2">
|
119 |
+
<div>
|
120 |
+
<?php echo sprintf(__('Login to your bit.ly account and navigate to <a href="%s" target="_blank">this link</a> to get your API key', 'Super-Socializer'), 'https://bitly.com/a/your_api_key') ?>
|
121 |
+
<img width="550" src="<?php echo plugins_url('../images/snaps/ss_bitly_apikey.png', __FILE__); ?>" />
|
122 |
+
</div>
|
123 |
+
</td>
|
124 |
+
</tr>
|
125 |
+
</table>
|
126 |
+
</div>
|
127 |
+
</div>
|
128 |
+
|
129 |
+
<div class="stuffbox">
|
130 |
+
<h3><label><?php _e('Twitter username in tweet button', 'Super-Socializer');?></label></h3>
|
131 |
+
<div class="inside">
|
132 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
133 |
+
<tr>
|
134 |
+
<th>
|
135 |
+
<img id="the_champ_sc_twitter_username_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
136 |
+
<label for="the_champ_sc_twitter_username"><?php _e("Twitter username (without @)", 'Super-Socializer'); ?></label>
|
137 |
+
</th>
|
138 |
+
<td>
|
139 |
+
<input id="the_champ_sc_twitter_username" name="the_champ_counter[twitter_username]" type="text" value="<?php echo isset($theChampCounterOptions['twitter_username']) ? $theChampCounterOptions['twitter_username'] : '' ?>" />
|
140 |
+
</td>
|
141 |
+
</tr>
|
142 |
+
|
143 |
+
<tr class="the_champ_help_content" id="the_champ_sc_twitter_username_help_cont">
|
144 |
+
<td colspan="2">
|
145 |
+
<div>
|
146 |
+
<?php _e('Provided username will be appended after the content being tweeted as "via @USERNAME". Leave empty if you do not want any username.', 'Super-Socializer') ?>
|
147 |
+
<img width="550" src="<?php echo plugins_url('../images/snaps/ss_twitter_username.png', __FILE__); ?>" />
|
148 |
+
</div>
|
149 |
+
</td>
|
150 |
+
</tr>
|
151 |
+
</table>
|
152 |
+
</div>
|
153 |
+
</div>
|
154 |
+
|
155 |
+
<div class="stuffbox">
|
156 |
+
<h3><label><?php _e('Horizontal Counter Interface Options', 'Super-Socializer');?></label></h3>
|
157 |
+
<div class="inside">
|
158 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
159 |
+
<tr>
|
160 |
+
<th>
|
161 |
+
<img id="the_champ_sc_horizontal_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
162 |
+
<label for="the_champ_sc_horizontal_enable"><?php _e("Enable horizontal counter interface", 'Super-Socializer'); ?></label>
|
163 |
+
</th>
|
164 |
+
<td>
|
165 |
+
<input id="the_champ_sc_horizontal_enable" onclick="theChampHorizontalCounterOptionsToggle(this)" name="the_champ_counter[hor_enable]" type="checkbox" <?php echo isset($theChampCounterOptions['hor_enable']) ? 'checked = "checked"' : '';?> value="1" />
|
166 |
+
</td>
|
167 |
+
</tr>
|
168 |
+
|
169 |
+
<tr class="the_champ_help_content" id="the_champ_sc_horizontal_enable_help_cont">
|
170 |
+
<td colspan="2">
|
171 |
+
<div>
|
172 |
+
<?php _e('Master control to enable horizontal counter', 'Super-Socializer') ?>
|
173 |
+
<img width="550" src="<?php echo plugins_url('../images/snaps/ss_horizontal_sharing.png', __FILE__); ?>" />
|
174 |
+
</div>
|
175 |
+
</td>
|
176 |
+
</tr>
|
177 |
+
|
178 |
+
<tbody id="the_champ_horizontal_counter_options" <?php echo isset($theChampCounterOptions['hor_enable']) ? '' : 'style="display: none"'; ?>>
|
179 |
+
<tr>
|
180 |
+
<th>
|
181 |
+
<img id="the_champ_sc_title_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
182 |
+
<label for="the_champ_fblogin_title"><?php _e("Title", 'Super-Socializer'); ?></label>
|
183 |
+
</th>
|
184 |
+
<td>
|
185 |
+
<input id="the_champ_fblogin_title" name="the_champ_counter[title]" type="text" value="<?php echo isset($theChampCounterOptions['title']) ? $theChampCounterOptions['title'] : '' ?>" />
|
186 |
+
</td>
|
187 |
+
</tr>
|
188 |
+
|
189 |
+
<tr class="the_champ_help_content" id="the_champ_sc_title_help_cont">
|
190 |
+
<td colspan="2">
|
191 |
+
<div>
|
192 |
+
<?php _e('The text to display above the counter interface', 'Super-Socializer') ?>
|
193 |
+
</div>
|
194 |
+
</td>
|
195 |
+
</tr>
|
196 |
+
|
197 |
+
<tr>
|
198 |
+
<th>
|
199 |
+
<img id="the_champ_sc_providers_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
200 |
+
<label><?php _e("Select and rearrange providers", 'Super-Socializer'); ?></label>
|
201 |
+
</th>
|
202 |
+
<td>
|
203 |
+
<ul id="the_champ_sc_rearrange">
|
204 |
+
<?php
|
205 |
+
$counterProviders = array('facebook_like', 'facebook_recommend', 'twitter_tweet', 'linkedin_share', 'google_plusone', 'googleplus_share', 'pinterest_pin_it', 'reddit');
|
206 |
+
// show selected providers
|
207 |
+
if(isset($theChampCounterOptions['horizontal_providers']) && is_array($theChampCounterOptions['horizontal_providers'])){
|
208 |
+
foreach($theChampCounterOptions['horizontal_providers'] as $selected){
|
209 |
+
$labelParts = explode('_', $selected);
|
210 |
+
$labelParts = array_map(function($word) { return ucfirst($word); }, $labelParts);
|
211 |
+
$label = implode(' ', $labelParts);
|
212 |
+
?>
|
213 |
+
<li>
|
214 |
+
<input id="the_champ_counter_<?php echo $selected ?>" name="the_champ_counter[horizontal_providers][]" type="checkbox" checked = "checked" value="<?php echo $selected ?>" />
|
215 |
+
<label for="the_champ_counter_<?php echo $selected ?>"><?php _e($label, 'Super-Socializer'); ?></label>
|
216 |
+
</li>
|
217 |
+
<?php
|
218 |
+
}
|
219 |
+
}else{
|
220 |
+
$theChampCounterOptions['horizontal_providers'] = array();
|
221 |
+
}
|
222 |
+
$remaining = array_diff($counterProviders, $theChampCounterOptions['horizontal_providers']);
|
223 |
+
if(is_array($remaining)){
|
224 |
+
foreach($remaining as $provider){
|
225 |
+
$labelParts = explode('_', $provider);
|
226 |
+
$labelParts = array_map(function($word) { return ucfirst($word); }, $labelParts);
|
227 |
+
$label = implode(' ', $labelParts);
|
228 |
+
?>
|
229 |
+
<li>
|
230 |
+
<input id="the_champ_counter_<?php echo $provider ?>" name="the_champ_counter[horizontal_providers][]" type="checkbox" value="<?php echo $provider ?>" />
|
231 |
+
<label for="the_champ_counter_<?php echo $provider ?>"><?php _e($label, 'Super-Socializer'); ?></label>
|
232 |
+
</li>
|
233 |
+
<?php
|
234 |
+
}
|
235 |
+
}
|
236 |
+
?>
|
237 |
+
</ul>
|
238 |
+
</td>
|
239 |
+
</tr>
|
240 |
+
|
241 |
+
<tr class="the_champ_help_content" id="the_champ_sc_providers_help_cont">
|
242 |
+
<td colspan="2">
|
243 |
+
<div>
|
244 |
+
<?php _e('Select the providers for counter interface. Drag them to rearrange.', 'Super-Socializer') ?>
|
245 |
+
</div>
|
246 |
+
</td>
|
247 |
+
</tr>
|
248 |
+
|
249 |
+
<tr>
|
250 |
+
<th>
|
251 |
+
<img id="the_champ_sc_position_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
252 |
+
<label><?php _e("Position with respect to content", 'Super-Socializer'); ?></label>
|
253 |
+
</th>
|
254 |
+
<td>
|
255 |
+
<input id="the_champ_counter_top" name="the_champ_counter[top]" type="checkbox" <?php echo isset($theChampCounterOptions['top']) ? 'checked = "checked"' : '';?> value="1" />
|
256 |
+
<label for="the_champ_counter_top"><?php _e('Top of the content', 'Super-Socializer') ?></label><br/>
|
257 |
+
<input id="the_champ_counter_bottom" name="the_champ_counter[bottom]" type="checkbox" <?php echo isset($theChampCounterOptions['bottom']) ? 'checked = "checked"' : '';?> value="1" />
|
258 |
+
<label for="the_champ_counter_bottom"><?php _e('Bottom of the content', 'Super-Socializer') ?></label>
|
259 |
+
</td>
|
260 |
+
</tr>
|
261 |
+
|
262 |
+
<tr class="the_champ_help_content" id="the_champ_sc_position_help_cont">
|
263 |
+
<td colspan="2">
|
264 |
+
<div>
|
265 |
+
<?php _e('Specify position of the counter interface with respect to the content', 'Super-Socializer') ?>
|
266 |
+
</div>
|
267 |
+
</td>
|
268 |
+
</tr>
|
269 |
+
|
270 |
+
<tr>
|
271 |
+
<th>
|
272 |
+
<img id="the_champ_sc_location_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
273 |
+
<label><?php _e("Counter location", 'Super-Socializer'); ?></label>
|
274 |
+
</th>
|
275 |
+
<td>
|
276 |
+
<input id="the_champ_counter_home" name="the_champ_counter[home]" type="checkbox" <?php echo isset($theChampCounterOptions['home']) ? 'checked = "checked"' : '';?> value="1" />
|
277 |
+
<label for="the_champ_counter_home"><?php _e('Homepage', 'Super-Socializer') ?></label><br/>
|
278 |
+
<input id="the_champ_counter_post" name="the_champ_counter[post]" type="checkbox" <?php echo isset($theChampCounterOptions['post']) ? 'checked = "checked"' : '';?> value="1" />
|
279 |
+
<label for="the_champ_counter_post"><?php _e('Posts', 'Super-Socializer') ?></label><br/>
|
280 |
+
<input id="the_champ_counter_page" name="the_champ_counter[page]" type="checkbox" <?php echo isset($theChampCounterOptions['page']) ? 'checked = "checked"' : '';?> value="1" />
|
281 |
+
<label for="the_champ_counter_page"><?php _e('Pages', 'Super-Socializer') ?></label><br/>
|
282 |
+
<input id="the_champ_counter_excerpt" name="the_champ_counter[excerpt]" type="checkbox" <?php echo isset($theChampCounterOptions['excerpt']) ? 'checked = "checked"' : '';?> value="1" />
|
283 |
+
<label for="the_champ_counter_excerpt"><?php _e('Excerpts', 'Super-Socializer') ?></label><br/>
|
284 |
+
<input id="the_champ_counter_category" name="the_champ_counter[category]" type="checkbox" <?php echo isset($theChampCounterOptions['category']) ? 'checked = "checked"' : '';?> value="1" />
|
285 |
+
<label for="the_champ_counter_category"><?php _e('Category Archives', 'Super-Socializer') ?></label>
|
286 |
+
</td>
|
287 |
+
</tr>
|
288 |
+
|
289 |
+
<tr class="the_champ_help_content" id="the_champ_sc_location_help_cont">
|
290 |
+
<td colspan="2">
|
291 |
+
<div>
|
292 |
+
<?php _e('Specify the pages where you want to enable counter interface', 'Super-Socializer') ?>
|
293 |
+
</div>
|
294 |
+
</td>
|
295 |
+
</tr>
|
296 |
+
</tbody>
|
297 |
+
</table>
|
298 |
+
</div>
|
299 |
+
</div>
|
300 |
+
|
301 |
+
<div class="stuffbox">
|
302 |
+
<h3><label><?php _e('Vertical (Floating) counter interface Options', 'Super-Socializer');?></label></h3>
|
303 |
+
<div class="inside">
|
304 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
305 |
+
<tr>
|
306 |
+
<th>
|
307 |
+
<img id="the_champ_sc_vertical_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
308 |
+
<label for="the_champ_sc_vertical_enable"><?php _e("Enable vertical (floating) counter interface", 'Super-Socializer'); ?></label>
|
309 |
+
</th>
|
310 |
+
<td>
|
311 |
+
<input id="the_champ_sc_vertical_enable" onclick="theChampVerticalCounterOptionsToggle(this)" name="the_champ_counter[vertical_enable]" type="checkbox" <?php echo isset($theChampCounterOptions['vertical_enable']) ? 'checked = "checked"' : '';?> value="1" />
|
312 |
+
</td>
|
313 |
+
</tr>
|
314 |
+
|
315 |
+
<tr class="the_champ_help_content" id="the_champ_sc_vertical_enable_help_cont">
|
316 |
+
<td colspan="2">
|
317 |
+
<div>
|
318 |
+
<?php _e('Master control to enable vertical (floating) counter widget', 'Super-Socializer') ?>
|
319 |
+
<img width="550" src="<?php echo plugins_url('../images/snaps/ss_vertical_sharing.png', __FILE__); ?>" />
|
320 |
+
</div>
|
321 |
+
</td>
|
322 |
+
</tr>
|
323 |
+
|
324 |
+
<tbody id="the_champ_vertical_counter_options" <?php echo isset($theChampCounterOptions['vertical_enable']) ? '' : 'style="display: none"'; ?>>
|
325 |
+
|
326 |
+
<tr>
|
327 |
+
<th>
|
328 |
+
<img id="the_champ_sc_vertical_providers_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
329 |
+
<label><?php _e("Select and rearrange providers", 'Super-Socializer'); ?></label>
|
330 |
+
</th>
|
331 |
+
<td>
|
332 |
+
<ul id="the_champ_sc_vertical_rearrange">
|
333 |
+
<?php
|
334 |
+
// show selected providers
|
335 |
+
if(isset($theChampCounterOptions['vertical_providers']) && is_array($theChampCounterOptions['vertical_providers'])){
|
336 |
+
foreach($theChampCounterOptions['vertical_providers'] as $selected){
|
337 |
+
$labelParts = explode('_', $selected);
|
338 |
+
$labelParts = array_map(function($word) { return ucfirst($word); }, $labelParts);
|
339 |
+
$label = implode(' ', $labelParts);
|
340 |
+
?>
|
341 |
+
<li>
|
342 |
+
<input id="the_champ_vertical_counter_<?php echo $selected ?>" name="the_champ_counter[vertical_providers][]" type="checkbox" checked = "checked" value="<?php echo $selected ?>" />
|
343 |
+
<label for="the_champ_vertical_counter_<?php echo $selected ?>"><?php _e($label, 'Super-Socializer'); ?></label>
|
344 |
+
</li>
|
345 |
+
<?php
|
346 |
+
}
|
347 |
+
}else{
|
348 |
+
$theChampCounterOptions['vertical_providers'] = array();
|
349 |
+
}
|
350 |
+
$remaining = array_diff($counterProviders, $theChampCounterOptions['vertical_providers']);
|
351 |
+
if(is_array($remaining)){
|
352 |
+
foreach($remaining as $provider){
|
353 |
+
$labelParts = explode('_', $provider);
|
354 |
+
$labelParts = array_map(function($word) { return ucfirst($word); }, $labelParts);
|
355 |
+
$label = implode(' ', $labelParts);
|
356 |
+
?>
|
357 |
+
<li>
|
358 |
+
<input id="the_champ_vertical_counter_<?php echo $provider ?>" name="the_champ_counter[vertical_providers][]" type="checkbox" value="<?php echo $provider ?>" />
|
359 |
+
<label for="the_champ_vertical_counter_<?php echo $provider ?>"><?php _e($label, 'Super-Socializer'); ?></label>
|
360 |
+
</li>
|
361 |
+
<?php
|
362 |
+
}
|
363 |
+
}
|
364 |
+
?>
|
365 |
+
</ul>
|
366 |
+
</td>
|
367 |
+
</tr>
|
368 |
+
|
369 |
+
<tr class="the_champ_help_content" id="the_champ_sc_vertical_providers_help_cont">
|
370 |
+
<td colspan="2">
|
371 |
+
<div>
|
372 |
+
<?php _e('Select the providers for counter interface. Drag them to rearrange.', 'Super-Socializer') ?>
|
373 |
+
</div>
|
374 |
+
</td>
|
375 |
+
</tr>
|
376 |
+
|
377 |
+
<tr>
|
378 |
+
<th>
|
379 |
+
<img id="the_champ_sc_vertical_bg_color_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
380 |
+
<label for="the_champ_sc_vertical_bg_color"><?php _e("Background Color", 'Super-Socializer'); ?></label>
|
381 |
+
</th>
|
382 |
+
<td>
|
383 |
+
<input id="the_champ_sc_vertical_bg_color" style="width: 100px" name="the_champ_counter[vertical_bg]" type="text" value="<?php echo isset($theChampCounterOptions['vertical_bg']) ? $theChampCounterOptions['vertical_bg'] : '' ?>" />
|
384 |
+
</td>
|
385 |
+
</tr>
|
386 |
+
|
387 |
+
<tr class="the_champ_help_content" id="the_champ_sc_vertical_bg_color_help_cont">
|
388 |
+
<td colspan="2">
|
389 |
+
<div>
|
390 |
+
<?php _e('Specify the color or hex code (example #cc78e0) for the background of vertical counter bar. Leave empty for transparent. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'Super-Socializer') ?>
|
391 |
+
</div>
|
392 |
+
</td>
|
393 |
+
</tr>
|
394 |
+
|
395 |
+
<tr>
|
396 |
+
<th>
|
397 |
+
<img id="the_champ_sc_alignment_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
398 |
+
<label for="the_champ_sc_alignment"><?php _e("Horizontal alignment", 'Super-Socializer'); ?></label>
|
399 |
+
</th>
|
400 |
+
<td>
|
401 |
+
<select onchange="theChampToggleOffset(this.value)" id="the_champ_sc_alignment" name="the_champ_counter[alignment]">
|
402 |
+
<option value="left" <?php echo isset($theChampCounterOptions['alignment']) && $theChampCounterOptions['alignment'] == 'left' ? 'selected="selected"' : '' ?>><?php _e('Left', 'Super-Socializer') ?></option>
|
403 |
+
<option value="right" <?php echo isset($theChampCounterOptions['alignment']) && $theChampCounterOptions['alignment'] == 'right' ? 'selected="selected"' : '' ?>><?php _e('Right', 'Super-Socializer') ?></option>
|
404 |
+
</select>
|
405 |
+
</td>
|
406 |
+
</tr>
|
407 |
+
|
408 |
+
<tr class="the_champ_help_content" id="the_champ_sc_alignment_help_cont">
|
409 |
+
<td colspan="2">
|
410 |
+
<div>
|
411 |
+
<?php _e('Horizontal alignment of the counter interface', 'Super-Socializer') ?>
|
412 |
+
</div>
|
413 |
+
</td>
|
414 |
+
</tr>
|
415 |
+
|
416 |
+
<tbody id="the_champ_sc_left_offset_rows" <?php echo (isset($theChampCounterOptions['alignment']) && $theChampCounterOptions['alignment'] == 'left') ? '' : 'style="display: none"' ?>>
|
417 |
+
<tr>
|
418 |
+
<th>
|
419 |
+
<img id="the_champ_sc_left_offset_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
420 |
+
<label for="the_champ_sc_left_offset"><?php _e("Left offset", 'Super-Socializer'); ?></label>
|
421 |
+
</th>
|
422 |
+
<td>
|
423 |
+
<input style="width: 100px" id="the_champ_sc_left_offset" name="the_champ_counter[left_offset]" type="text" value="<?php echo isset($theChampCounterOptions['left_offset']) ? $theChampCounterOptions['left_offset'] : '' ?>" />px
|
424 |
+
</td>
|
425 |
+
</tr>
|
426 |
+
|
427 |
+
<tr class="the_champ_help_content" id="the_champ_sc_left_offset_help_cont">
|
428 |
+
<td colspan="2">
|
429 |
+
<div>
|
430 |
+
<?php _e('Specify a number. Increase in number will shift counter interface towards right and decrease will shift it towards left.', 'Super-Socializer') ?>
|
431 |
+
</div>
|
432 |
+
</td>
|
433 |
+
</tr>
|
434 |
+
</tbody>
|
435 |
+
|
436 |
+
<tbody id="the_champ_sc_right_offset_rows" <?php echo (isset($theChampCounterOptions['alignment']) && $theChampCounterOptions['alignment'] == 'right') ? '' : 'style="display: none"' ?>>
|
437 |
+
<tr>
|
438 |
+
<th>
|
439 |
+
<img id="the_champ_sc_right_offset_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
440 |
+
<label for="the_champ_sc_right_offset"><?php _e("Right offset", 'Super-Socializer'); ?></label>
|
441 |
+
</th>
|
442 |
+
<td>
|
443 |
+
<input style="width: 100px" id="the_champ_sc_right_offset" name="the_champ_counter[right_offset]" type="text" value="<?php echo isset($theChampCounterOptions['right_offset']) ? $theChampCounterOptions['right_offset'] : '' ?>" />px
|
444 |
+
</td>
|
445 |
+
</tr>
|
446 |
+
|
447 |
+
<tr class="the_champ_help_content" id="the_champ_sc_right_offset_help_cont">
|
448 |
+
<td colspan="2">
|
449 |
+
<div>
|
450 |
+
<?php _e('Specify a number. Increase in number will shift counter interface towards left and decrease will shift it towards right.', 'Super-Socializer') ?>
|
451 |
+
</div>
|
452 |
+
</td>
|
453 |
+
</tr>
|
454 |
+
</tbody>
|
455 |
+
|
456 |
+
<tr>
|
457 |
+
<th>
|
458 |
+
<img id="the_champ_sc_top_offset_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
459 |
+
<label for="the_champ_sc_top_offset"><?php _e("Top offset", 'Super-Socializer'); ?></label>
|
460 |
+
</th>
|
461 |
+
<td>
|
462 |
+
<input style="width: 100px" id="the_champ_sc_top_offset" name="the_champ_counter[top_offset]" type="text" value="<?php echo isset($theChampCounterOptions['top_offset']) ? $theChampCounterOptions['top_offset'] : '' ?>" />px
|
463 |
+
</td>
|
464 |
+
</tr>
|
465 |
+
|
466 |
+
<tr class="the_champ_help_content" id="the_champ_sc_top_offset_help_cont">
|
467 |
+
<td colspan="2">
|
468 |
+
<div>
|
469 |
+
<?php _e('Specify a number. Increase in number will shift counter interface towards bottom and decrease will shift it towards top.', 'Super-Socializer') ?>
|
470 |
+
</div>
|
471 |
+
</td>
|
472 |
+
</tr>
|
473 |
+
|
474 |
+
<tr>
|
475 |
+
<th>
|
476 |
+
<img id="the_champ_sc_vertical_location_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
477 |
+
<label><?php _e("Counter location", 'Super-Socializer'); ?></label>
|
478 |
+
</th>
|
479 |
+
<td>
|
480 |
+
<input id="the_champ_counter_vertical_home" name="the_champ_counter[vertical_home]" type="checkbox" <?php echo isset($theChampCounterOptions['vertical_home']) ? 'checked = "checked"' : '';?> value="1" />
|
481 |
+
<label for="the_champ_counter_vertical_home"><?php _e('Homepage', 'Super-Socializer') ?></label><br/>
|
482 |
+
<input id="the_champ_counter_vertical_post" name="the_champ_counter[vertical_post]" type="checkbox" <?php echo isset($theChampCounterOptions['vertical_post']) ? 'checked = "checked"' : '';?> value="1" />
|
483 |
+
<label for="the_champ_counter_vertical_post"><?php _e('Posts', 'Super-Socializer') ?></label><br/>
|
484 |
+
<input id="the_champ_counter_vertical_page" name="the_champ_counter[vertical_page]" type="checkbox" <?php echo isset($theChampCounterOptions['vertical_page']) ? 'checked = "checked"' : '';?> value="1" />
|
485 |
+
<label for="the_champ_counter_vertical_page"><?php _e('Pages', 'Super-Socializer') ?></label><br/>
|
486 |
+
<input id="the_champ_counter_vertical_excerpt" name="the_champ_counter[vertical_excerpt]" type="checkbox" <?php echo isset($theChampCounterOptions['vertical_excerpt']) ? 'checked = "checked"' : '';?> value="1" />
|
487 |
+
<label for="the_champ_counter_vertical_excerpt"><?php _e('Excerpts', 'Super-Socializer') ?></label><br/>
|
488 |
+
<input id="the_champ_counter_vertical_category" name="the_champ_counter[vertical_category]" type="checkbox" <?php echo isset($theChampCounterOptions['vertical_category']) ? 'checked = "checked"' : '';?> value="1" />
|
489 |
+
<label for="the_champ_counter_vertical_category"><?php _e('Category Archives', 'Super-Socializer') ?></label>
|
490 |
+
</td>
|
491 |
+
</tr>
|
492 |
+
|
493 |
+
<tr class="the_champ_help_content" id="the_champ_sc_vertical_location_help_cont">
|
494 |
+
<td colspan="2">
|
495 |
+
<div>
|
496 |
+
<?php _e('Specify the pages where you want to enable vertical counter interface', 'Super-Socializer') ?>
|
497 |
+
</div>
|
498 |
+
</td>
|
499 |
+
</tr>
|
500 |
+
</tbody>
|
501 |
+
</table>
|
502 |
+
</div>
|
503 |
+
</div>
|
504 |
+
|
505 |
+
</div>
|
506 |
+
<?php include 'help.php'; ?>
|
507 |
+
</div>
|
508 |
+
|
509 |
+
<div class="menu_containt_div" id="tabs-3">
|
510 |
+
<div class="the_champ_left_column">
|
511 |
+
<div class="stuffbox">
|
512 |
+
<h3><label><?php _e('Shortcode', 'Super-Socializer');?></label></h3>
|
513 |
+
<div class="inside">
|
514 |
+
<p><?php _e('You can use <strong>[TheChamp-Counter]</strong> Shortcode in the content of required page/post where you want to display Social Counter interface.', 'Super-Socializer') ?></p>
|
515 |
+
<p><?php _e('Example', 'Super-Socializer') ?></p>
|
516 |
+
<p><strong>[TheChamp-Counter]</strong></p>
|
517 |
+
<p><?php _e('You can use following attributes in the Shortcode', 'Super-Socializer') ?></p>
|
518 |
+
<strong style="font-size: 16px">Style</strong>
|
519 |
+
<p><?php _e('Use <strong>style</strong> attribute to style the rendered Social Counter interface', 'Super-Socializer') ?></p>
|
520 |
+
<p><?php _e('Example', 'Super-Socializer') ?></p>
|
521 |
+
<p><strong>[TheChamp-Counter style="background-color:#000;"]</strong></p>
|
522 |
+
|
523 |
+
<strong style="font-size: 16px">Type</strong>
|
524 |
+
<p><?php _e('Use <strong>type</strong> attribute to specify the type ("Horizontal" or "Vertical") of Social Counter interface. Default type is "Horizontal".', 'Super-Socializer') ?></p>
|
525 |
+
<p><?php _e('Example', 'Super-Socializer') ?></p>
|
526 |
+
<p><strong>[TheChamp-Counter type="vertical"]</strong></p>
|
527 |
+
|
528 |
+
<strong style="font-size: 16px"><?php _e('Left (Works with "Vertical" type interface only)', 'Super-Socializer') ?></strong>
|
529 |
+
<p><?php _e('Use <strong>left</strong> attribute to specify the left offset (distance form the left side of the screen) of Social Counter interface.', 'Super-Socializer') ?></p>
|
530 |
+
<p><?php _e('Example', 'Super-Socializer') ?></p>
|
531 |
+
<p><strong>[TheChamp-Counter type="vertical" left="500"]</strong></p>
|
532 |
+
|
533 |
+
<strong style="font-size: 16px"><?php _e('Top (Works with "Vertical" type interface only)', 'Super-Socializer') ?></strong>
|
534 |
+
<p><?php _e('Use <strong>top</strong> attribute to specify the top offset (distance form the top of the screen) of Social Counter interface.', 'Super-Socializer') ?></p>
|
535 |
+
<p><?php _e('Example', 'Super-Socializer') ?></p>
|
536 |
+
<p><strong>[TheChamp-Counter type="vertical" top="200"]</strong></p>
|
537 |
+
<p><?php _e('You can use shortcode in PHP file as following', 'Super-Socializer') ?></p>
|
538 |
+
<p><strong><?php echo do_shortcode('SHORTCODE') ?></strong></p>
|
539 |
+
<p><?php _e('Replace <strong>SHORTCODE</strong> in above code with the required shortcode like <strong>[TheChamp-Counter style="background-color:#000;"]</strong>, so the final code looks like following', 'Super-Socializer') ?></p>
|
540 |
+
<p><strong><?php echo do_shortcode('[TheChamp-Counter style="background-color:#000;"]') ?></strong></p>
|
541 |
+
</div>
|
542 |
+
</div>
|
543 |
+
|
544 |
+
<div class="stuffbox">
|
545 |
+
<h3><label><?php _e('Widget', 'Super-Socializer');?></label></h3>
|
546 |
+
<div class="inside">
|
547 |
+
<p><?php _e('You can navigate to the <strong>Appearance</strong> > <strong>Widgets</strong> section in the left pan and drag <strong>Super Socializer - Counter (Horizontal Widget)</strong> and <strong>Super Socializer - Counter (Vertical Floating Widget)</strong> widgets in the required area.', 'Super-Socializer') ?></p>
|
548 |
+
</div>
|
549 |
+
</div>
|
550 |
+
</div>
|
551 |
+
<?php include 'help.php'; ?>
|
552 |
+
</div>
|
553 |
+
|
554 |
+
<div class="the_champ_clear"></div>
|
555 |
+
<p class="submit">
|
556 |
+
<input style="margin-left:8px" type="submit" name="save" class="button button-primary" value="<?php _e("Save Changes", 'Super-Socializer'); ?>" />
|
557 |
+
</p>
|
558 |
+
</form>
|
559 |
+
</div>
|
560 |
+
</div>
|
admin/social_login.php
CHANGED
@@ -36,6 +36,14 @@
|
|
36 |
</td>
|
37 |
</tr>
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
<tr>
|
40 |
<th>
|
41 |
<img id="the_champ_sl_providers_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
@@ -47,7 +55,7 @@
|
|
47 |
<label for="the_champ_login_facebook"><?php _e("Facebook", 'Super-Socializer'); ?></label>
|
48 |
</div>
|
49 |
<div class="theChampHorizontalSharingProviderContainer">
|
50 |
-
<input id="the_champ_login_twitter" name="the_champ_login[providers][]" type="checkbox" <?php echo isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers']) ? 'checked = "checked"' : '';?> value="twitter" />
|
51 |
<label for="the_champ_login_twitter"><?php _e("Twitter", 'Super-Socializer'); ?></label>
|
52 |
</div>
|
53 |
<div class="theChampHorizontalSharingProviderContainer">
|
36 |
</td>
|
37 |
</tr>
|
38 |
|
39 |
+
<tr id="the_champ_sl_curl" style="display: none">
|
40 |
+
<td colspan="2">
|
41 |
+
<div>
|
42 |
+
<?php _e('Note: Twitter Social Login requires "cURL support = enabled" in your php.ini file.', 'Super-Socializer') ?>
|
43 |
+
</div>
|
44 |
+
</td>
|
45 |
+
</tr>
|
46 |
+
|
47 |
<tr>
|
48 |
<th>
|
49 |
<img id="the_champ_sl_providers_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
55 |
<label for="the_champ_login_facebook"><?php _e("Facebook", 'Super-Socializer'); ?></label>
|
56 |
</div>
|
57 |
<div class="theChampHorizontalSharingProviderContainer">
|
58 |
+
<input id="the_champ_login_twitter" onclick="theChampToggleCurlWarning(this)" name="the_champ_login[providers][]" type="checkbox" <?php echo isset($theChampLoginOptions['providers']) && in_array('twitter', $theChampLoginOptions['providers']) ? 'checked = "checked"' : '';?> value="twitter" />
|
59 |
<label for="the_champ_login_twitter"><?php _e("Twitter", 'Super-Socializer'); ?></label>
|
60 |
</div>
|
61 |
<div class="theChampHorizontalSharingProviderContainer">
|
admin/social_sharing.php
CHANGED
@@ -16,6 +16,7 @@ var theChampSharingIconPath = '<?php echo plugins_url('../images/sharing', __FIL
|
|
16 |
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-2"><?php _e('Social Sharing', 'Super-Socializer') ?></a></li>
|
17 |
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-3"><?php _e('Shortcode & Widget', 'Super-Socializer') ?></a></li>
|
18 |
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-4"><?php _e('Troubleshooter', 'Super-Socializer') ?></a></li>
|
|
|
19 |
</ul>
|
20 |
</h2>
|
21 |
<div class="menu_containt_div" id="tabs-1">
|
@@ -84,6 +85,95 @@ var theChampSharingIconPath = '<?php echo plugins_url('../images/sharing', __FIL
|
|
84 |
|
85 |
<div class="menu_containt_div" id="tabs-2">
|
86 |
<div class="the_champ_left_column">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
<div class="stuffbox">
|
88 |
<h3><label><?php _e('Horizontal Sharing Interface Options', 'Super-Socializer');?></label></h3>
|
89 |
<div class="inside">
|
@@ -466,6 +556,24 @@ var theChampSharingIconPath = '<?php echo plugins_url('../images/sharing', __FIL
|
|
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__) ?>" />
|
@@ -663,6 +771,22 @@ var theChampSharingIconPath = '<?php echo plugins_url('../images/sharing', __FIL
|
|
663 |
<?php include 'help.php'; ?>
|
664 |
</div>
|
665 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
666 |
<div class="the_champ_clear"></div>
|
667 |
<p class="submit">
|
668 |
<input style="margin-left:8px" type="submit" name="save" class="button button-primary" value="<?php _e("Save Changes", 'Super-Socializer'); ?>" />
|
16 |
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-2"><?php _e('Social Sharing', 'Super-Socializer') ?></a></li>
|
17 |
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-3"><?php _e('Shortcode & Widget', 'Super-Socializer') ?></a></li>
|
18 |
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-4"><?php _e('Troubleshooter', 'Super-Socializer') ?></a></li>
|
19 |
+
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-5"><?php _e('FAQ', 'Super-Socializer') ?></a></li>
|
20 |
</ul>
|
21 |
</h2>
|
22 |
<div class="menu_containt_div" id="tabs-1">
|
85 |
|
86 |
<div class="menu_containt_div" id="tabs-2">
|
87 |
<div class="the_champ_left_column">
|
88 |
+
<div class="stuffbox">
|
89 |
+
<h3><label><?php _e('bit.ly url shortener', 'Super-Socializer');?></label></h3>
|
90 |
+
<div class="inside">
|
91 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
92 |
+
<tr>
|
93 |
+
<th>
|
94 |
+
<img id="the_champ_ss_bitly_enable_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
95 |
+
<label for="the_champ_ss_bitly_enable"><?php _e("Enable bit.ly url shortener for sharing", 'Super-Socializer'); ?></label>
|
96 |
+
</th>
|
97 |
+
<td>
|
98 |
+
<input id="the_champ_ss_bitly_enable" name="the_champ_sharing[bitly_enable]" type="checkbox" <?php echo isset($theChampSharingOptions['bitly_enable']) ? 'checked = "checked"' : '';?> value="1" />
|
99 |
+
</td>
|
100 |
+
</tr>
|
101 |
+
|
102 |
+
<tr class="the_champ_help_content" id="the_champ_ss_bitly_enable_help_cont">
|
103 |
+
<td colspan="2">
|
104 |
+
<div>
|
105 |
+
<?php _e('Master control to enable bit.ly url shortening for sharing', 'Super-Socializer') ?>
|
106 |
+
</div>
|
107 |
+
</td>
|
108 |
+
</tr>
|
109 |
+
|
110 |
+
<tr>
|
111 |
+
<th>
|
112 |
+
<img id="the_champ_ss_bitly_login_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
113 |
+
<label for="the_champ_ss_bitly_login"><?php _e("bit.ly username", 'Super-Socializer'); ?></label>
|
114 |
+
</th>
|
115 |
+
<td>
|
116 |
+
<input id="the_champ_ss_bitly_login" name="the_champ_sharing[bitly_username]" type="text" value="<?php echo isset($theChampSharingOptions['bitly_username']) ? $theChampSharingOptions['bitly_username'] : '' ?>" />
|
117 |
+
</td>
|
118 |
+
</tr>
|
119 |
+
|
120 |
+
<tr class="the_champ_help_content" id="the_champ_ss_bitly_login_help_cont">
|
121 |
+
<td colspan="2">
|
122 |
+
<div>
|
123 |
+
<?php echo sprintf(__('Login to your bit.ly account and navigate to <a href="%s" target="_blank">this link</a> to get bit.ly username', 'Super-Socializer'), 'https://bitly.com/a/your_api_key') ?>
|
124 |
+
<img width="550" src="<?php echo plugins_url('../images/snaps/ss_bitly_username.png', __FILE__); ?>" />
|
125 |
+
</div>
|
126 |
+
</td>
|
127 |
+
</tr>
|
128 |
+
|
129 |
+
<tr>
|
130 |
+
<th>
|
131 |
+
<img id="the_champ_ss_bitly_key_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
132 |
+
<label for="the_champ_ss_bitly_key"><?php _e("bit.ly API Key", 'Super-Socializer'); ?></label>
|
133 |
+
</th>
|
134 |
+
<td>
|
135 |
+
<input id="the_champ_ss_bitly_key" name="the_champ_sharing[bitly_key]" type="text" value="<?php echo isset($theChampSharingOptions['bitly_key']) ? $theChampSharingOptions['bitly_key'] : '' ?>" />
|
136 |
+
</td>
|
137 |
+
</tr>
|
138 |
+
|
139 |
+
<tr class="the_champ_help_content" id="the_champ_ss_bitly_key_help_cont">
|
140 |
+
<td colspan="2">
|
141 |
+
<div>
|
142 |
+
<?php echo sprintf(__('Login to your bit.ly account and navigate to <a href="%s" target="_blank">this link</a> to get your API key', 'Super-Socializer'), 'https://bitly.com/a/your_api_key') ?>
|
143 |
+
<img width="550" src="<?php echo plugins_url('../images/snaps/ss_bitly_apikey.png', __FILE__); ?>" />
|
144 |
+
</div>
|
145 |
+
</td>
|
146 |
+
</tr>
|
147 |
+
</table>
|
148 |
+
</div>
|
149 |
+
</div>
|
150 |
+
|
151 |
+
<div class="stuffbox">
|
152 |
+
<h3><label><?php _e('Twitter username in sharing', 'Super-Socializer');?></label></h3>
|
153 |
+
<div class="inside">
|
154 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
155 |
+
<tr>
|
156 |
+
<th>
|
157 |
+
<img id="the_champ_ss_twitter_username_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
158 |
+
<label for="the_champ_ss_twitter_username"><?php _e("Twitter username (without @)", 'Super-Socializer'); ?></label>
|
159 |
+
</th>
|
160 |
+
<td>
|
161 |
+
<input id="the_champ_ss_twitter_username" name="the_champ_sharing[twitter_username]" type="text" value="<?php echo isset($theChampSharingOptions['twitter_username']) ? $theChampSharingOptions['twitter_username'] : '' ?>" />
|
162 |
+
</td>
|
163 |
+
</tr>
|
164 |
+
|
165 |
+
<tr class="the_champ_help_content" id="the_champ_ss_twitter_username_help_cont">
|
166 |
+
<td colspan="2">
|
167 |
+
<div>
|
168 |
+
<?php _e('Provided username will be appended after the content being shared as "via @USERNAME". Leave empty if you do not want any username in the content being shared.', 'Super-Socializer') ?>
|
169 |
+
<img width="550" src="<?php echo plugins_url('../images/snaps/ss_twitter_username.png', __FILE__); ?>" />
|
170 |
+
</div>
|
171 |
+
</td>
|
172 |
+
</tr>
|
173 |
+
</table>
|
174 |
+
</div>
|
175 |
+
</div>
|
176 |
+
|
177 |
<div class="stuffbox">
|
178 |
<h3><label><?php _e('Horizontal Sharing Interface Options', 'Super-Socializer');?></label></h3>
|
179 |
<div class="inside">
|
556 |
</td>
|
557 |
</tr>
|
558 |
|
559 |
+
<tr>
|
560 |
+
<th>
|
561 |
+
<img id="the_champ_ss_vertical_bg_color_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
562 |
+
<label><?php _e("Background Color", 'Super-Socializer'); ?></label>
|
563 |
+
</th>
|
564 |
+
<td>
|
565 |
+
<input style="width: 100px" name="the_champ_sharing[vertical_bg]" type="text" value="<?php echo isset($theChampSharingOptions['vertical_bg']) ? $theChampSharingOptions['vertical_bg'] : '' ?>" />
|
566 |
+
</td>
|
567 |
+
</tr>
|
568 |
+
|
569 |
+
<tr class="the_champ_help_content" id="the_champ_ss_vertical_bg_color_help_cont">
|
570 |
+
<td colspan="2">
|
571 |
+
<div>
|
572 |
+
<?php _e('Specify the color or hex code (example #cc78e0) for the background of vertical sharing bar. Leave empty for transparent. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'Super-Socializer') ?>
|
573 |
+
</div>
|
574 |
+
</td>
|
575 |
+
</tr>
|
576 |
+
|
577 |
<tr>
|
578 |
<th>
|
579 |
<img id="the_champ_ss_alignment_help" class="the_champ_help_bubble" src="<?php echo plugins_url('../images/info.png', __FILE__) ?>" />
|
771 |
<?php include 'help.php'; ?>
|
772 |
</div>
|
773 |
|
774 |
+
<div class="menu_containt_div" id="tabs-5">
|
775 |
+
<div class="the_champ_left_column">
|
776 |
+
<div class="stuffbox">
|
777 |
+
<h3><label><?php _e('How can I show share counts of my website rather than of individual pages/posts?', 'Super-Socializer') ?></label></h3>
|
778 |
+
<div class="inside">
|
779 |
+
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
780 |
+
<tr>
|
781 |
+
<td><?php _e('Navigate to Appearance > Widgets section in the admin panel of your website and activate "Super Socializer - Sharing" widget in the desired area. This will display the sharing counts of the home/index page of your website. Do not forget to turn the sharing counts on from "Social Sharing" page in admin panel.', 'Super-Socializer') ?></td>
|
782 |
+
</tr>
|
783 |
+
</table>
|
784 |
+
</div>
|
785 |
+
</div>
|
786 |
+
</div>
|
787 |
+
<?php include 'help.php'; ?>
|
788 |
+
</div>
|
789 |
+
|
790 |
<div class="the_champ_clear"></div>
|
791 |
<p class="submit">
|
792 |
<input style="margin-left:8px" type="submit" name="save" class="button button-primary" value="<?php _e("Save Changes", 'Super-Socializer'); ?>" />
|
css/admin.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@charset "utf-8"
|
1 |
+
@charset "utf-8";#the_champ_sl_curl{color: #900}.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,#the_champ_sc_rearrange,#the_champ_sc_vertical_rearrange{margin:0} #the_champ_sc_rearrange li,#the_champ_sc_vertical_rearrange li{cursor:move;float:left;display:block;width:175px;margin:0} #the_champ_sc_vertical_rearrange label,#the_champ_sc_rearrange label{cursor: move} .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 +1,2 @@
|
|
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}}
|
|
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;text-shadow: none !important}#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;width: 100%}#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;width: 100%}#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;position: static !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; width: auto !important; height: auto !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 !important;text-overflow:ellipsis;white-space:nowrap;border:none!important; text-indent: 0 !important; background: none !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}.theChampLiveButton{background-position:-32px -96px;width:32px;height:32px;display:block}.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; padding: 0 !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: none !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:transparent;-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;} .the_champ_vertical_counter{background:transparent;-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;opacity:1;-webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important;box-sizing:content-box!important} .the_champ_vertical_counter li{clear:both} li.the_champ_facebook_like{width: 89px;} li.the_champ_facebook_recommend{width: 135px;} li.the_champ_twitter_tweet{width: 95px;} li.the_champ_linkedin_share{width: 105px;} li.the_champ_google_plusone{width: 74px;} li.the_champ_reddit{width: 130px;} li.the_champ_gp_share{width: 95px;} li.the_champ_pinterest_pin{width: 76px;} .the_champ_counter_container li{ height: 21px}
|
2 |
+
@media screen and (max-width:783px){#the_champ_sharing_more_providers{width:80%;left:60%;margin-left:-50%;text-shadow: none !important}#the_champ_sharing_more_providers .filter input.search{width: 92%}.the_champ_vertical_sharing, .the_champ_vertical_counter{display:none}}
|
helper.php
CHANGED
@@ -46,6 +46,9 @@ function the_champ_login_notifications($loginOptions){
|
|
46 |
if(in_array('instagram', $loginOptions['providers']) && (!isset($loginOptions['insta_id']) || $loginOptions['insta_id'] == '')){
|
47 |
$errorHtml .= the_champ_error_message('Instagram Client ID is required for Instagram Login to work');
|
48 |
}
|
|
|
|
|
|
|
49 |
}
|
50 |
return $errorHtml;
|
51 |
}
|
@@ -85,6 +88,17 @@ function the_champ_social_sharing_page(){
|
|
85 |
require 'admin/social_sharing.php';
|
86 |
}
|
87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
/**
|
89 |
* Plugin options page in WP Admin.
|
90 |
*/
|
@@ -116,7 +130,8 @@ function the_champ_options_init(){
|
|
116 |
register_setting('the_champ_facebook_options', 'the_champ_facebook', 'the_champ_validate_options');
|
117 |
register_setting('the_champ_login_options', 'the_champ_login', 'the_champ_validate_options');
|
118 |
register_setting('the_champ_sharing_options', 'the_champ_sharing', 'the_champ_validate_options');
|
119 |
-
|
|
|
120 |
// show option to disable sharing on particular page/post
|
121 |
foreach(array('post', 'page') as $type){
|
122 |
add_meta_box('the_champ_meta', 'Super Socializer', 'the_champ_sharing_meta_setup', $type);
|
@@ -151,6 +166,13 @@ function the_champ_admin_sharing_scripts(){
|
|
151 |
wp_enqueue_script('the_champ_sharing', plugins_url('js/admin/sharing/admin.js', __FILE__), array('jquery', 'jquery-ui-sortable'), THE_CHAMP_SS_VERSION);
|
152 |
}
|
153 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
/**
|
155 |
* Include CSS files in admin.
|
156 |
*/
|
@@ -222,6 +244,18 @@ function the_champ_social_sharing_enabled(){
|
|
222 |
}
|
223 |
}
|
224 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
/**
|
226 |
* Check if Horizontal Social Sharing is enabled.
|
227 |
*/
|
@@ -246,6 +280,30 @@ function the_champ_vertical_sharing_enabled(){
|
|
246 |
}
|
247 |
}
|
248 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
/**
|
250 |
* Check if Social Login from particular provider is enabled.
|
251 |
*/
|
@@ -344,10 +402,4 @@ 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 |
-
}
|
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');
|
46 |
if(in_array('instagram', $loginOptions['providers']) && (!isset($loginOptions['insta_id']) || $loginOptions['insta_id'] == '')){
|
47 |
$errorHtml .= the_champ_error_message('Instagram Client ID is required for Instagram Login to work');
|
48 |
}
|
49 |
+
if(in_array('live', $loginOptions['providers']) && (!isset($loginOptions['live_key']) || $loginOptions['live_key'] == '' || !isset($loginOptions['live_secret']) || $loginOptions['live_secret'] == '')){
|
50 |
+
$errorHtml .= the_champ_error_message('Windows Live Client Key and Secret are required for Live Login to work');
|
51 |
+
}
|
52 |
}
|
53 |
return $errorHtml;
|
54 |
}
|
88 |
require 'admin/social_sharing.php';
|
89 |
}
|
90 |
|
91 |
+
/**
|
92 |
+
* Social Counter page of plugin in WP admin.
|
93 |
+
*/
|
94 |
+
function the_champ_social_counter_page(){
|
95 |
+
// social counter options
|
96 |
+
global $theChampCounterOptions;
|
97 |
+
// message on saving options
|
98 |
+
echo the_champ_settings_saved_notification();
|
99 |
+
require 'admin/social_counter.php';
|
100 |
+
}
|
101 |
+
|
102 |
/**
|
103 |
* Plugin options page in WP Admin.
|
104 |
*/
|
130 |
register_setting('the_champ_facebook_options', 'the_champ_facebook', 'the_champ_validate_options');
|
131 |
register_setting('the_champ_login_options', 'the_champ_login', 'the_champ_validate_options');
|
132 |
register_setting('the_champ_sharing_options', 'the_champ_sharing', 'the_champ_validate_options');
|
133 |
+
register_setting('the_champ_counter_options', 'the_champ_counter', 'the_champ_validate_options');
|
134 |
+
if(the_champ_social_sharing_enabled() || the_champ_social_counter_enabled()){
|
135 |
// show option to disable sharing on particular page/post
|
136 |
foreach(array('post', 'page') as $type){
|
137 |
add_meta_box('the_champ_meta', 'Super Socializer', 'the_champ_sharing_meta_setup', $type);
|
166 |
wp_enqueue_script('the_champ_sharing', plugins_url('js/admin/sharing/admin.js', __FILE__), array('jquery', 'jquery-ui-sortable'), THE_CHAMP_SS_VERSION);
|
167 |
}
|
168 |
|
169 |
+
/**
|
170 |
+
* Include javascript files in admin counter page.
|
171 |
+
*/
|
172 |
+
function the_champ_admin_counter_scripts(){
|
173 |
+
wp_enqueue_script('the_champ_counter', plugins_url('js/admin/counter/admin.js', __FILE__), array('jquery', 'jquery-ui-sortable'), THE_CHAMP_SS_VERSION);
|
174 |
+
}
|
175 |
+
|
176 |
/**
|
177 |
* Include CSS files in admin.
|
178 |
*/
|
244 |
}
|
245 |
}
|
246 |
|
247 |
+
/**
|
248 |
+
* Check if Social Counter is enabled.
|
249 |
+
*/
|
250 |
+
function the_champ_social_counter_enabled(){
|
251 |
+
global $theChampCounterOptions;
|
252 |
+
if(isset($theChampCounterOptions['enable']) && $theChampCounterOptions['enable'] == 1){
|
253 |
+
return true;
|
254 |
+
}else{
|
255 |
+
return false;
|
256 |
+
}
|
257 |
+
}
|
258 |
+
|
259 |
/**
|
260 |
* Check if Horizontal Social Sharing is enabled.
|
261 |
*/
|
280 |
}
|
281 |
}
|
282 |
|
283 |
+
/**
|
284 |
+
* Check if Horizontal Social Counter is enabled.
|
285 |
+
*/
|
286 |
+
function the_champ_horizontal_counter_enabled(){
|
287 |
+
global $theChampCounterOptions;
|
288 |
+
if(isset($theChampCounterOptions['hor_enable']) && $theChampCounterOptions['hor_enable'] == 1){
|
289 |
+
return true;
|
290 |
+
}else{
|
291 |
+
return false;
|
292 |
+
}
|
293 |
+
}
|
294 |
+
|
295 |
+
/**
|
296 |
+
* Check if Vertical Social Counter is enabled.
|
297 |
+
*/
|
298 |
+
function the_champ_vertical_counter_enabled(){
|
299 |
+
global $theChampCounterOptions;
|
300 |
+
if(isset($theChampCounterOptions['vertical_enable']) && $theChampCounterOptions['vertical_enable'] == 1){
|
301 |
+
return true;
|
302 |
+
}else{
|
303 |
+
return false;
|
304 |
+
}
|
305 |
+
}
|
306 |
+
|
307 |
/**
|
308 |
* Check if Social Login from particular provider is enabled.
|
309 |
*/
|
402 |
add_action('update_option_the_champ_login', 'the_champ_update_old_blogs');
|
403 |
add_action('update_option_the_champ_facebook', 'the_champ_update_old_blogs');
|
404 |
add_action('update_option_the_champ_sharing', 'the_champ_update_old_blogs');
|
405 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
images/sharing/sharing.png
CHANGED
Binary file
|
images/snaps/ss_bitly_apikey.png
ADDED
Binary file
|
images/snaps/ss_bitly_username.png
ADDED
Binary file
|
images/snaps/ss_disable_sharing.png
CHANGED
Binary file
|
images/snaps/ss_twitter_username.png
ADDED
Binary file
|
images/snaps/switch_to_default_commenting.png
ADDED
Binary file
|
images/snaps/switch_to_facebook_commenting.png
ADDED
Binary file
|
inc/shortcode.php
CHANGED
@@ -37,6 +37,52 @@ function the_champ_sharing_shortcode($params){
|
|
37 |
}
|
38 |
add_shortcode('TheChamp-Sharing', 'the_champ_sharing_shortcode');
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
/**
|
41 |
* Shortcode for Social Login.
|
42 |
*/
|
37 |
}
|
38 |
add_shortcode('TheChamp-Sharing', 'the_champ_sharing_shortcode');
|
39 |
|
40 |
+
/**
|
41 |
+
* Shortcode for Social Counter.
|
42 |
+
*/
|
43 |
+
function the_champ_counter_shortcode($params){
|
44 |
+
// notify if counter is disabled
|
45 |
+
if(the_champ_social_counter_enabled()){
|
46 |
+
extract(shortcode_atts(array(
|
47 |
+
'style' => '',
|
48 |
+
'type' => 'horizontal',
|
49 |
+
'left' => '0',
|
50 |
+
'top' => '100',
|
51 |
+
), $params));
|
52 |
+
if(($type == 'horizontal' && !the_champ_horizontal_counter_enabled()) || ($type == 'vertical' && !the_champ_vertical_counter_enabled())){
|
53 |
+
return;
|
54 |
+
}
|
55 |
+
global $post;
|
56 |
+
$targetUrl = get_permalink($post -> ID);
|
57 |
+
$html = '<div class="the_champ_counter_container the_champ_'.$type.'_counter" ';
|
58 |
+
$verticalOffsets = '';
|
59 |
+
if($type == 'vertical'){
|
60 |
+
$verticalOffsets = 'left: '.$left.'px; top: '.$top.'px;';
|
61 |
+
}
|
62 |
+
// style
|
63 |
+
if($style != "" || $verticalOffsets != ''){
|
64 |
+
$html .= 'style="';
|
65 |
+
$html .= $verticalOffsets;
|
66 |
+
$html .= $style;
|
67 |
+
$html .= '"';
|
68 |
+
}
|
69 |
+
$html .= '>';
|
70 |
+
global $theChampCounterOptions;
|
71 |
+
$counterUrl = $targetUrl;
|
72 |
+
// if bit.ly integration enabled, generate bit.ly short url
|
73 |
+
if(isset($theChampCounterOptions['bitly_enable']) && isset($theChampCounterOptions['bitly_username']) && isset($theChampCounterOptions['bitly_username']) && $theChampCounterOptions['bitly_username'] != '' && isset($theChampCounterOptions['bitly_key']) && $theChampCounterOptions['bitly_key'] != ''){
|
74 |
+
$shortUrl = the_champ_generate_counter_bitly_url($targetUrl);
|
75 |
+
if($shortUrl){
|
76 |
+
$counterUrl = $shortUrl;
|
77 |
+
}
|
78 |
+
}
|
79 |
+
$html .= the_champ_prepare_counter_html($targetUrl, $type, $counterUrl);
|
80 |
+
$html .= '</div>';
|
81 |
+
return $html;
|
82 |
+
}
|
83 |
+
}
|
84 |
+
add_shortcode('TheChamp-Counter', 'the_champ_counter_shortcode');
|
85 |
+
|
86 |
/**
|
87 |
* Shortcode for Social Login.
|
88 |
*/
|
inc/social_login.php
CHANGED
@@ -33,7 +33,11 @@ function the_champ_login_button($widget = false){
|
|
33 |
$html .= 'alt="Login with ';
|
34 |
$html .= ucfirst($provider);
|
35 |
$html .= '" title="Login with ';
|
36 |
-
$
|
|
|
|
|
|
|
|
|
37 |
if(current_filter() == 'comment_form_top'){
|
38 |
$html .= '" onclick="theChampCommentFormLogin = true; theChampInitiateLogin(this)" >';
|
39 |
}else{
|
@@ -173,6 +177,8 @@ function the_champ_create_user($profileData, $verification = false){
|
|
173 |
if(!$verification){
|
174 |
the_champ_password_email($userId, $password);
|
175 |
}
|
|
|
|
|
176 |
return $userId;
|
177 |
}
|
178 |
return false;
|
33 |
$html .= 'alt="Login with ';
|
34 |
$html .= ucfirst($provider);
|
35 |
$html .= '" title="Login with ';
|
36 |
+
if($provider == 'live'){
|
37 |
+
$html .= 'Windows Live';
|
38 |
+
}else{
|
39 |
+
$html .= ucfirst($provider);
|
40 |
+
}
|
41 |
if(current_filter() == 'comment_form_top'){
|
42 |
$html .= '" onclick="theChampCommentFormLogin = true; theChampInitiateLogin(this)" >';
|
43 |
}else{
|
177 |
if(!$verification){
|
178 |
the_champ_password_email($userId, $password);
|
179 |
}
|
180 |
+
// hook - user successfully created
|
181 |
+
do_action('the_champ_user_successfully_created', $userId, $userdata);
|
182 |
return $userId;
|
183 |
}
|
184 |
return false;
|
inc/social_sharing.php
CHANGED
@@ -25,7 +25,7 @@ function the_champ_prepare_sharing_html($postUrl, $sharingType = 'horizontal'){
|
|
25 |
if($provider == 'facebook'){
|
26 |
$sharingUrl = 'https://www.facebook.com/sharer/sharer.php?u=' . $postUrl;
|
27 |
}elseif($provider == 'twitter'){
|
28 |
-
$sharingUrl = 'http://twitter.com/intent/tweet?text='.urlencode($post->post_title).'&url=' . $postUrl;
|
29 |
}elseif($provider == 'linkedin'){
|
30 |
$sharingUrl = 'http://www.linkedin.com/shareArticle?mini=true&url=' . $postUrl;
|
31 |
}elseif($provider == 'google'){
|
@@ -67,50 +67,171 @@ function the_champ_prepare_sharing_html($postUrl, $sharingType = 'horizontal'){
|
|
67 |
return $html;
|
68 |
}
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
$theChampVerticalHomeCount = 0;
|
71 |
$theChampVerticalExcerptCount = 0;
|
|
|
|
|
72 |
/**
|
73 |
* Enable sharing interface at selected areas.
|
74 |
*/
|
75 |
function the_champ_render_sharing($content){
|
76 |
global $post;
|
|
|
|
|
|
|
|
|
77 |
$sharingMeta = get_post_meta($post->ID, '_the_champ_meta', true);
|
78 |
-
global $theChampSharingOptions;
|
79 |
$postUrl = get_permalink($post->ID);
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
if
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
}
|
93 |
}
|
94 |
}
|
95 |
}
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
if
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
}
|
108 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
$content = $content.$verticalDiv;
|
110 |
-
$$var++;
|
111 |
}
|
112 |
-
}else{
|
113 |
-
$content = $content.$verticalDiv;
|
114 |
}
|
115 |
}
|
116 |
}
|
@@ -246,6 +367,16 @@ function the_champ_sharing_meta_setup(){
|
|
246 |
<input type="checkbox" name="_the_champ_meta[vertical_sharing]" id="the_champ_vertical_sharing" value="1" <?php checked('1', @$sharingMeta['vertical_sharing']); ?> />
|
247 |
<?php _e('Disable Vertical Social Sharing on this '.$postType, 'Super-Socializer') ?>
|
248 |
</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
</p>
|
250 |
<?php
|
251 |
echo '<input type="hidden" name="the_champ_meta_nonce" value="' . wp_create_nonce(__FILE__) . '" />';
|
@@ -272,7 +403,7 @@ function the_champ_save_sharing_meta($postId){
|
|
272 |
if ( isset( $_POST['_the_champ_meta'] ) ) {
|
273 |
$newData = $_POST['_the_champ_meta'];
|
274 |
}else{
|
275 |
-
$newData = array( 'sharing' => 0, 'vertical_sharing' => 0 );
|
276 |
}
|
277 |
update_post_meta($postId, '_the_champ_meta', $newData);
|
278 |
return $postId;
|
25 |
if($provider == 'facebook'){
|
26 |
$sharingUrl = 'https://www.facebook.com/sharer/sharer.php?u=' . $postUrl;
|
27 |
}elseif($provider == 'twitter'){
|
28 |
+
$sharingUrl = 'http://twitter.com/intent/tweet?'. (isset($theChampSharingOptions['twitter_username']) && $theChampSharingOptions['twitter_username'] != '' ? 'via=' . $theChampSharingOptions['twitter_username'] . '&' : '') . 'text='.urlencode($post->post_title).'&url=' . $postUrl;
|
29 |
}elseif($provider == 'linkedin'){
|
30 |
$sharingUrl = 'http://www.linkedin.com/shareArticle?mini=true&url=' . $postUrl;
|
31 |
}elseif($provider == 'google'){
|
67 |
return $html;
|
68 |
}
|
69 |
|
70 |
+
/**
|
71 |
+
* Render counter interface html.
|
72 |
+
*/
|
73 |
+
function the_champ_prepare_counter_html($postUrl, $sharingType = 'horizontal', $shortUrl){
|
74 |
+
global $theChampCounterOptions, $post;
|
75 |
+
$html = '';
|
76 |
+
if(isset($theChampCounterOptions[$sharingType.'_providers']) && is_array($theChampCounterOptions[$sharingType.'_providers'])){
|
77 |
+
$html = '<ul class="the_champ_sharing_ul">';
|
78 |
+
foreach($theChampCounterOptions[$sharingType.'_providers'] as $provider){
|
79 |
+
if($provider == 'facebook_like'){
|
80 |
+
$html .= '<li class="the_champ_facebook_like"><iframe src="//www.facebook.com/plugins/like.php?href='. $postUrl .'&width&layout=button_count&action=like&show_faces=false&share=false&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:21px;" allowTransparency="true"></iframe></li>';
|
81 |
+
}elseif($provider == 'facebook_recommend'){
|
82 |
+
$html .= '<li class="the_champ_facebook_recommend"><iframe src="//www.facebook.com/plugins/like.php?href='. $postUrl .'&width&layout=button_count&action=recommend&show_faces=false&share=false&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:21px;" allowTransparency="true"></iframe></li>';
|
83 |
+
}elseif($provider == 'twitter_tweet'){
|
84 |
+
$html .= '<li class="the_champ_twitter_tweet"><a href="https://twitter.com/share" class="twitter-share-button" data-url="'. $shortUrl .'" data-text="'. urlencode($post->post_title) .'" data-via="'. (isset($theChampCounterOptions['twitter_username']) && $theChampCounterOptions['twitter_username'] != '' ? $theChampCounterOptions['twitter_username'] : '') .'">Tweet</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?"http":"https";if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document, "script", "twitter-wjs");</script></li>';
|
85 |
+
}elseif($provider == 'linkedin_share'){
|
86 |
+
$html .= '<li class="the_champ_linkedin_share"><script src="//platform.linkedin.com/in.js" type="text/javascript">lang: en_US</script><script type="IN/Share" data-url="' . $postUrl . '" data-counter="right"></script></li>';
|
87 |
+
}elseif($provider == 'google_plusone'){
|
88 |
+
$html .= '<li class="the_champ_google_plusone"><script type="text/javascript" src="https://apis.google.com/js/platform.js"></script><div class="g-plusone" data-size="medium" data-href="'. $postUrl .'"></div></li>';
|
89 |
+
}elseif($provider == 'pinterest_pin_it'){
|
90 |
+
$html .= '<li class="the_champ_pinterest_pin"><a href="//www.pinterest.com/pin/create/button/?url='. $postUrl .'" data-pin-do="buttonPin" data-pin-config="beside"><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" /></a><script type="text/javascript" async src="//assets.pinterest.com/js/pinit.js"></script></li>';
|
91 |
+
}elseif($provider == 'googleplus_share'){
|
92 |
+
$html .= '<li class="the_champ_gp_share"><script type="text/javascript" src="https://apis.google.com/js/platform.js"></script><div class="g-plus" data-action="share" data-annotation="bubble" data-href="'. $postUrl .'"></div></li>';
|
93 |
+
}elseif($provider == 'reddit'){
|
94 |
+
$html .= '<li class="the_champ_reddit"><script type="text/javascript" src="http://www.reddit.com/static/button/button1.js"></script></li>';
|
95 |
+
}
|
96 |
+
}
|
97 |
+
$html .= '</ul><div style="clear:both"></div>';
|
98 |
+
}
|
99 |
+
return $html;
|
100 |
+
}
|
101 |
+
|
102 |
+
function the_champ_generate_sharing_bitly_url($url){
|
103 |
+
global $theChampSharingOptions;
|
104 |
+
//generate the URL
|
105 |
+
$bitly = 'http://api.bit.ly/v3/shorten?format=txt&login='. $theChampSharingOptions['bitly_username'] .'&apiKey='. $theChampSharingOptions['bitly_key'] .'&longUrl='.urlencode($url);
|
106 |
+
$response = wp_remote_get( $bitly, array( 'timeout' => 15 ) );
|
107 |
+
if( ! is_wp_error( $response ) && isset( $response['response']['code'] ) && 200 === $response['response']['code'] ){
|
108 |
+
return trim(wp_remote_retrieve_body( $response ));
|
109 |
+
}
|
110 |
+
return false;
|
111 |
+
}
|
112 |
+
|
113 |
+
function the_champ_generate_counter_bitly_url($url){
|
114 |
+
global $theChampCounterOptions;
|
115 |
+
//generate the URL
|
116 |
+
$bitly = 'http://api.bit.ly/v3/shorten?format=txt&login='. $theChampCounterOptions['bitly_username'] .'&apiKey='. $theChampCounterOptions['bitly_key'] .'&longUrl='.urlencode($url);
|
117 |
+
$response = wp_remote_get( $bitly, array( 'timeout' => 15 ) );
|
118 |
+
if( ! is_wp_error( $response ) && isset( $response['response']['code'] ) && 200 === $response['response']['code'] ){
|
119 |
+
return trim(wp_remote_retrieve_body( $response ));
|
120 |
+
}
|
121 |
+
return false;
|
122 |
+
}
|
123 |
+
|
124 |
$theChampVerticalHomeCount = 0;
|
125 |
$theChampVerticalExcerptCount = 0;
|
126 |
+
$theChampVerticalCounterHomeCount = 0;
|
127 |
+
$theChampVerticalCounterExcerptCount = 0;
|
128 |
/**
|
129 |
* Enable sharing interface at selected areas.
|
130 |
*/
|
131 |
function the_champ_render_sharing($content){
|
132 |
global $post;
|
133 |
+
// hook to bypass sharing
|
134 |
+
$disable = apply_filters('the_champ_bypass_sharing', $post, $content);
|
135 |
+
// if $disable value is 1, return content without sharing interface
|
136 |
+
if($disable === 1){ return $content; }
|
137 |
$sharingMeta = get_post_meta($post->ID, '_the_champ_meta', true);
|
138 |
+
global $theChampSharingOptions, $theChampCounterOptions;
|
139 |
$postUrl = get_permalink($post->ID);
|
140 |
+
|
141 |
+
if(isset($theChampCounterOptions['enable'])){
|
142 |
+
//counter interface
|
143 |
+
$counterUrl = $postUrl;
|
144 |
+
// if bit.ly integration enabled, generate bit.ly short url
|
145 |
+
if(isset($theChampCounterOptions['bitly_enable']) && isset($theChampCounterOptions['bitly_username']) && isset($theChampCounterOptions['bitly_username']) && $theChampCounterOptions['bitly_username'] != '' && isset($theChampCounterOptions['bitly_key']) && $theChampCounterOptions['bitly_key'] != ''){
|
146 |
+
$shortUrl = the_champ_generate_counter_bitly_url($postUrl);
|
147 |
+
if($shortUrl){
|
148 |
+
$counterUrl = $shortUrl;
|
149 |
+
}
|
150 |
+
}
|
151 |
+
if(isset($theChampCounterOptions['hor_enable']) && !(isset($sharingMeta['counter']) && $sharingMeta['counter'] == 1 && !is_front_page())){
|
152 |
+
$sharingDiv = the_champ_prepare_counter_html($postUrl, 'horizontal', $counterUrl);
|
153 |
+
$horizontalDiv = "<div class='the_champ_counter_container the_champ_horizontal_counter'><div style='font-weight:bold'>".ucfirst($theChampCounterOptions['title'])."</div>".$sharingDiv."</div>";
|
154 |
+
// show horizontal counter
|
155 |
+
if((isset( $theChampCounterOptions['home']) && is_front_page()) || (isset( $theChampCounterOptions['category']) && is_category()) || ( isset( $theChampCounterOptions['post'] ) && is_single() ) || ( isset( $theChampCounterOptions['page'] ) && is_page() ) || ( isset( $theChampCounterOptions['excerpt'] ) && is_front_page() && current_filter() == 'get_the_excerpt' )){
|
156 |
+
if(isset($theChampCounterOptions['top'] ) && isset($theChampCounterOptions['bottom'])){
|
157 |
+
$content = $horizontalDiv.'<br/>'.$content.'<br/>'.$horizontalDiv;
|
158 |
+
}else{
|
159 |
+
if(isset($theChampCounterOptions['top'])){
|
160 |
+
$content = $horizontalDiv.$content;
|
161 |
+
}elseif(isset($theChampCounterOptions['bottom'])){
|
162 |
+
$content = $content.$horizontalDiv;
|
163 |
+
}
|
164 |
+
}
|
165 |
+
}
|
166 |
+
}
|
167 |
+
if(isset($theChampCounterOptions['vertical_enable']) && !(isset($sharingMeta['vertical_counter']) && $sharingMeta['vertical_counter'] == 1 && !is_front_page())){
|
168 |
+
$sharingDiv = the_champ_prepare_counter_html($postUrl, 'vertical', $counterUrl);
|
169 |
+
$verticalDiv = "<div class='the_champ_counter_container the_champ_vertical_counter' style='".(isset($theChampCounterOptions['alignment']) && $theChampCounterOptions['alignment'] != '' && isset($theChampCounterOptions[$theChampCounterOptions['alignment'].'_offset']) ? $theChampCounterOptions['alignment'].': '. ( $theChampCounterOptions[$theChampCounterOptions['alignment'].'_offset'] == '' ? 0 : $theChampCounterOptions[$theChampCounterOptions['alignment'].'_offset'] ) .'px;' : '').(isset($theChampCounterOptions['top_offset']) ? 'top: '. ( $theChampCounterOptions['top_offset'] == '' ? 0 : $theChampCounterOptions['top_offset'] ) .'px;' : '') . (isset($theChampCounterOptions['vertical_bg']) && $theChampCounterOptions['vertical_bg'] != '' ? 'background-color: '.$theChampCounterOptions['vertical_bg'] . ';' : '-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;') . "'>".$sharingDiv."</div>";
|
170 |
+
// show vertical sharing
|
171 |
+
if((isset( $theChampCounterOptions['vertical_home']) && is_front_page()) || (isset( $theChampCounterOptions['vertical_category']) && is_category()) || ( isset( $theChampCounterOptions['vertical_post'] ) && is_single() ) || ( isset( $theChampCounterOptions['vertical_page'] ) && is_page() ) || ( isset( $theChampCounterOptions['vertical_excerpt'] ) && is_front_page() && current_filter() == 'get_the_excerpt' )){
|
172 |
+
if(is_front_page()){
|
173 |
+
global $theChampVerticalCounterHomeCount, $theChampVerticalCounterExcerptCount;
|
174 |
+
if(current_filter() == 'the_content'){
|
175 |
+
$var = 'theChampVerticalCounterHomeCount';
|
176 |
+
}elseif(current_filter() == 'get_the_excerpt'){
|
177 |
+
$var = 'theChampVerticalCounterExcerptCount';
|
178 |
+
}
|
179 |
+
if($$var == 0){
|
180 |
+
$content = $content.$verticalDiv;
|
181 |
+
$$var++;
|
182 |
+
}
|
183 |
+
}else{
|
184 |
+
$content = $content.$verticalDiv;
|
185 |
}
|
186 |
}
|
187 |
}
|
188 |
}
|
189 |
+
|
190 |
+
if(isset($theChampSharingOptions['enable'])){
|
191 |
+
// sharing interface
|
192 |
+
$sharingUrl = $postUrl;
|
193 |
+
// if bit.ly integration enabled, generate bit.ly short url
|
194 |
+
if(isset($theChampSharingOptions['bitly_enable']) && isset($theChampSharingOptions['bitly_username']) && isset($theChampSharingOptions['bitly_username']) && $theChampSharingOptions['bitly_username'] != '' && isset($theChampSharingOptions['bitly_key']) && $theChampSharingOptions['bitly_key'] != ''){
|
195 |
+
$shortUrl = the_champ_generate_sharing_bitly_url($postUrl);
|
196 |
+
if($shortUrl){
|
197 |
+
$sharingUrl = $shortUrl;
|
198 |
+
}
|
199 |
+
}
|
200 |
+
if(isset($theChampSharingOptions['hor_enable']) && !(isset($sharingMeta['sharing']) && $sharingMeta['sharing'] == 1 && !is_front_page())){
|
201 |
+
$sharingDiv = the_champ_prepare_sharing_html($sharingUrl);
|
202 |
+
$horizontalDiv = "<div class='the_champ_sharing_container the_champ_horizontal_sharing' super-socializer-data-href='".$sharingUrl."'><div style='font-weight:bold'>".ucfirst($theChampSharingOptions['title'])."</div>".$sharingDiv."</div>";
|
203 |
+
// show horizontal sharing
|
204 |
+
if((isset( $theChampSharingOptions['home']) && is_front_page()) || (isset( $theChampSharingOptions['category']) && is_category()) || ( isset( $theChampSharingOptions['post'] ) && is_single() ) || ( isset( $theChampSharingOptions['page'] ) && is_page() ) || ( isset( $theChampSharingOptions['excerpt'] ) && is_front_page() && current_filter() == 'get_the_excerpt' )){
|
205 |
+
if(isset($theChampSharingOptions['top'] ) && isset($theChampSharingOptions['bottom'])){
|
206 |
+
$content = $horizontalDiv.'<br/>'.$content.'<br/>'.$horizontalDiv;
|
207 |
+
}else{
|
208 |
+
if(isset($theChampSharingOptions['top'])){
|
209 |
+
$content = $horizontalDiv.$content;
|
210 |
+
}elseif(isset($theChampSharingOptions['bottom'])){
|
211 |
+
$content = $content.$horizontalDiv;
|
212 |
+
}
|
213 |
}
|
214 |
+
}
|
215 |
+
}
|
216 |
+
if(isset($theChampSharingOptions['vertical_enable']) && !(isset($sharingMeta['vertical_sharing']) && $sharingMeta['vertical_sharing'] == 1 && !is_front_page())){
|
217 |
+
$sharingDiv = the_champ_prepare_sharing_html($sharingUrl, 'vertical');
|
218 |
+
$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;' : '') . (isset($theChampSharingOptions['vertical_bg']) && $theChampSharingOptions['vertical_bg'] != '' ? 'background-color: '.$theChampSharingOptions['vertical_bg'] : '-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;') . "' super-socializer-data-href='".$sharingUrl."'>".$sharingDiv."</div>";
|
219 |
+
// show vertical sharing
|
220 |
+
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' )){
|
221 |
+
if(is_front_page()){
|
222 |
+
global $theChampVerticalHomeCount, $theChampVerticalExcerptCount;
|
223 |
+
if(current_filter() == 'the_content'){
|
224 |
+
$var = 'theChampVerticalHomeCount';
|
225 |
+
}elseif(current_filter() == 'get_the_excerpt'){
|
226 |
+
$var = 'theChampVerticalExcerptCount';
|
227 |
+
}
|
228 |
+
if($$var == 0){
|
229 |
+
$content = $content.$verticalDiv;
|
230 |
+
$$var++;
|
231 |
+
}
|
232 |
+
}else{
|
233 |
$content = $content.$verticalDiv;
|
|
|
234 |
}
|
|
|
|
|
235 |
}
|
236 |
}
|
237 |
}
|
367 |
<input type="checkbox" name="_the_champ_meta[vertical_sharing]" id="the_champ_vertical_sharing" value="1" <?php checked('1', @$sharingMeta['vertical_sharing']); ?> />
|
368 |
<?php _e('Disable Vertical Social Sharing on this '.$postType, 'Super-Socializer') ?>
|
369 |
</label>
|
370 |
+
<br/>
|
371 |
+
<label for="the_champ_counter">
|
372 |
+
<input type="checkbox" name="_the_champ_meta[counter]" id="the_champ_counter" value="1" <?php checked('1', @$sharingMeta['counter']); ?> />
|
373 |
+
<?php _e('Disable Horizontal Social Counter on this '.$postType, 'Super-Socializer') ?>
|
374 |
+
</label>
|
375 |
+
<br/>
|
376 |
+
<label for="the_champ_vertical_counter">
|
377 |
+
<input type="checkbox" name="_the_champ_meta[vertical_counter]" id="the_champ_vertical_counter" value="1" <?php checked('1', @$sharingMeta['vertical_counter']); ?> />
|
378 |
+
<?php _e('Disable Vertical Social Counter on this '.$postType, 'Super-Socializer') ?>
|
379 |
+
</label>
|
380 |
</p>
|
381 |
<?php
|
382 |
echo '<input type="hidden" name="the_champ_meta_nonce" value="' . wp_create_nonce(__FILE__) . '" />';
|
403 |
if ( isset( $_POST['_the_champ_meta'] ) ) {
|
404 |
$newData = $_POST['_the_champ_meta'];
|
405 |
}else{
|
406 |
+
$newData = array( 'sharing' => 0, 'vertical_sharing' => 0, 'counter' => 0, 'vertical_counter' => 0 );
|
407 |
}
|
408 |
update_post_meta($postId, '_the_champ_meta', $newData);
|
409 |
return $postId;
|
inc/widget.php
CHANGED
@@ -10,7 +10,7 @@ class TheChampLoginWidget extends WP_Widget {
|
|
10 |
'TheChampLogin', //unique id
|
11 |
__('Super Socializer - Login'), //title displayed at admin panel
|
12 |
array(
|
13 |
-
'description' => __( 'Let your website users login/register using their favorite Social ID Provider, such as Facebook, Twitter, Google+, LinkedIn', '
|
14 |
);
|
15 |
}
|
16 |
|
@@ -74,14 +74,14 @@ class TheChampLoginWidget extends WP_Widget {
|
|
74 |
$instance = wp_parse_args( (array)$instance, $defaults );
|
75 |
?>
|
76 |
<p>
|
77 |
-
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', '
|
78 |
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $instance['title']; ?>" />
|
79 |
-
<label for="<?php echo $this->get_field_id( 'before_widget_content' ); ?>"><?php _e( 'Before widget content:', '
|
80 |
<input class="widefat" id="<?php echo $this->get_field_id( 'before_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'before_widget_content' ); ?>" type="text" value="<?php echo $instance['before_widget_content']; ?>" />
|
81 |
-
<label for="<?php echo $this->get_field_id( 'after_widget_content' ); ?>"><?php _e( 'After widget content:', '
|
82 |
<input class="widefat" id="<?php echo $this->get_field_id( 'after_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'after_widget_content' ); ?>" type="text" value="<?php echo $instance['after_widget_content']; ?>" />
|
83 |
<br /><br />
|
84 |
-
<label for="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>"><?php _e( 'Hide for logged in users:', '
|
85 |
<input type="checkbox" id="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>" name="<?php echo $this->get_field_name( 'hide_for_logged_in' ); ?>" type="text" value="1" <?php if(isset($instance['hide_for_logged_in']) && $instance['hide_for_logged_in']==1) echo 'checked="checked"'; ?> />
|
86 |
</p>
|
87 |
<?php
|
@@ -100,7 +100,7 @@ class TheChampSharingWidget extends WP_Widget {
|
|
100 |
'Super Socializer - Sharing (Horizontal Widget)', //title displayed at admin panel
|
101 |
//Additional parameters
|
102 |
array(
|
103 |
-
'description' => __( 'Horizontal widget. Let your website users share content on popular Social networks like Facebook, Twitter, Tumblr, Google+ and many more', '
|
104 |
);
|
105 |
}
|
106 |
|
@@ -125,7 +125,16 @@ class TheChampSharingWidget extends WP_Widget {
|
|
125 |
if( !empty( $instance['before_widget_content'] ) ){
|
126 |
echo '<div>' . $instance['before_widget_content'] . '</div>';
|
127 |
}
|
128 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
|
130 |
if( !empty( $instance['after_widget_content'] ) ){
|
131 |
echo '<div>' . $instance['after_widget_content'] . '</div>';
|
@@ -158,13 +167,13 @@ class TheChampSharingWidget extends WP_Widget {
|
|
158 |
$instance = wp_parse_args( (array)$instance, $defaults );
|
159 |
?>
|
160 |
<p>
|
161 |
-
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', '
|
162 |
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $instance['title']; ?>" />
|
163 |
-
<label for="<?php echo $this->get_field_id( 'before_widget_content' ); ?>"><?php _e( 'Before widget content:', '
|
164 |
<input class="widefat" id="<?php echo $this->get_field_id( 'before_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'before_widget_content' ); ?>" type="text" value="<?php echo $instance['before_widget_content']; ?>" />
|
165 |
-
<label for="<?php echo $this->get_field_id( 'after_widget_content' ); ?>"><?php _e( 'After widget content:', '
|
166 |
<input class="widefat" id="<?php echo $this->get_field_id( 'after_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'after_widget_content' ); ?>" type="text" value="<?php echo $instance['after_widget_content']; ?>" />
|
167 |
-
<br /><br /><label for="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>"><?php _e( 'Hide for logged in users:', '
|
168 |
<input type="checkbox" id="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>" name="<?php echo $this->get_field_name( 'hide_for_logged_in' ); ?>" type="text" value="1" <?php if(isset($instance['hide_for_logged_in']) && $instance['hide_for_logged_in']==1) echo 'checked="checked"'; ?> />
|
169 |
</p>
|
170 |
<?php
|
@@ -183,7 +192,7 @@ class TheChampVerticalSharingWidget extends WP_Widget {
|
|
183 |
'Super Socializer - Sharing (Vertical Floating Widget)', //title displayed at admin panel
|
184 |
//Additional parameters
|
185 |
array(
|
186 |
-
'description' => __( 'Vertical floating widget. Let your website users share content on popular Social networks like Facebook, Twitter, Tumblr, Google+ and many more', '
|
187 |
);
|
188 |
}
|
189 |
|
@@ -196,10 +205,19 @@ class TheChampVerticalSharingWidget extends WP_Widget {
|
|
196 |
extract( $args );
|
197 |
if($instance['hide_for_logged_in']==1 && is_user_logged_in()) return;
|
198 |
|
199 |
-
echo "<div class='the_champ_sharing_container the_champ_vertical_sharing' style='".(isset($instance['
|
200 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
//echo $before_widget;
|
202 |
-
echo the_champ_prepare_sharing_html(
|
203 |
echo "</div>";
|
204 |
//echo $after_widget;
|
205 |
}
|
@@ -207,8 +225,11 @@ class TheChampVerticalSharingWidget extends WP_Widget {
|
|
207 |
/** Everything which should happen when user edit widget at admin panel */
|
208 |
function update( $new_instance, $old_instance ) {
|
209 |
$instance = $old_instance;
|
210 |
-
$instance['
|
211 |
-
$instance['
|
|
|
|
|
|
|
212 |
$instance['hide_for_logged_in'] = $new_instance['hide_for_logged_in'];
|
213 |
|
214 |
return $instance;
|
@@ -217,7 +238,7 @@ class TheChampVerticalSharingWidget extends WP_Widget {
|
|
217 |
/** Widget edit form at admin panel */
|
218 |
function form( $instance ) {
|
219 |
/* Set up default widget settings. */
|
220 |
-
$defaults = array('left_offset' => '40', 'top_offset' => '100');
|
221 |
|
222 |
foreach( $instance as $key => $value ){
|
223 |
$instance[ $key ] = esc_attr( $value );
|
@@ -226,15 +247,236 @@ class TheChampVerticalSharingWidget extends WP_Widget {
|
|
226 |
$instance = wp_parse_args( (array)$instance, $defaults );
|
227 |
?>
|
228 |
<p>
|
229 |
-
<
|
230 |
-
|
231 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
<input style="width: 200px" class="widefat" id="<?php echo $this->get_field_id( 'top_offset' ); ?>" name="<?php echo $this->get_field_name( 'top_offset' ); ?>" type="text" value="<?php echo $instance['top_offset']; ?>" />px
|
233 |
|
234 |
-
<
|
|
|
|
|
|
|
235 |
<input type="checkbox" id="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>" name="<?php echo $this->get_field_name( 'hide_for_logged_in' ); ?>" type="text" value="1" <?php if(isset($instance['hide_for_logged_in']) && $instance['hide_for_logged_in']==1) echo 'checked="checked"'; ?> />
|
236 |
</p>
|
237 |
<?php
|
238 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
}
|
240 |
-
add_action( 'widgets_init', create_function( '', 'return register_widget( "
|
10 |
'TheChampLogin', //unique id
|
11 |
__('Super Socializer - Login'), //title displayed at admin panel
|
12 |
array(
|
13 |
+
'description' => __( 'Let your website users login/register using their favorite Social ID Provider, such as Facebook, Twitter, Google+, LinkedIn', 'Super-Socializer' ))
|
14 |
);
|
15 |
}
|
16 |
|
74 |
$instance = wp_parse_args( (array)$instance, $defaults );
|
75 |
?>
|
76 |
<p>
|
77 |
+
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'Super-Socializer' ); ?></label>
|
78 |
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $instance['title']; ?>" />
|
79 |
+
<label for="<?php echo $this->get_field_id( 'before_widget_content' ); ?>"><?php _e( 'Before widget content:', 'Super-Socializer' ); ?></label>
|
80 |
<input class="widefat" id="<?php echo $this->get_field_id( 'before_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'before_widget_content' ); ?>" type="text" value="<?php echo $instance['before_widget_content']; ?>" />
|
81 |
+
<label for="<?php echo $this->get_field_id( 'after_widget_content' ); ?>"><?php _e( 'After widget content:', 'Super-Socializer' ); ?></label>
|
82 |
<input class="widefat" id="<?php echo $this->get_field_id( 'after_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'after_widget_content' ); ?>" type="text" value="<?php echo $instance['after_widget_content']; ?>" />
|
83 |
<br /><br />
|
84 |
+
<label for="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>"><?php _e( 'Hide for logged in users:', 'Super-Socializer' ); ?></label>
|
85 |
<input type="checkbox" id="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>" name="<?php echo $this->get_field_name( 'hide_for_logged_in' ); ?>" type="text" value="1" <?php if(isset($instance['hide_for_logged_in']) && $instance['hide_for_logged_in']==1) echo 'checked="checked"'; ?> />
|
86 |
</p>
|
87 |
<?php
|
100 |
'Super Socializer - Sharing (Horizontal Widget)', //title displayed at admin panel
|
101 |
//Additional parameters
|
102 |
array(
|
103 |
+
'description' => __( 'Horizontal sharing widget. Let your website users share content on popular Social networks like Facebook, Twitter, Tumblr, Google+ and many more', 'Super-Socializer' ))
|
104 |
);
|
105 |
}
|
106 |
|
125 |
if( !empty( $instance['before_widget_content'] ) ){
|
126 |
echo '<div>' . $instance['before_widget_content'] . '</div>';
|
127 |
}
|
128 |
+
global $theChampSharingOptions;
|
129 |
+
$sharingUrl = site_url();
|
130 |
+
// if bit.ly integration enabled, generate bit.ly short url
|
131 |
+
if(isset($theChampSharingOptions['bitly_enable']) && isset($theChampSharingOptions['bitly_username']) && isset($theChampSharingOptions['bitly_username']) && $theChampSharingOptions['bitly_username'] != '' && isset($theChampSharingOptions['bitly_key']) && $theChampSharingOptions['bitly_key'] != ''){
|
132 |
+
$shortUrl = the_champ_generate_sharing_bitly_url(site_url());
|
133 |
+
if($shortUrl){
|
134 |
+
$sharingUrl = $shortUrl;
|
135 |
+
}
|
136 |
+
}
|
137 |
+
echo the_champ_prepare_sharing_html($sharingUrl);
|
138 |
|
139 |
if( !empty( $instance['after_widget_content'] ) ){
|
140 |
echo '<div>' . $instance['after_widget_content'] . '</div>';
|
167 |
$instance = wp_parse_args( (array)$instance, $defaults );
|
168 |
?>
|
169 |
<p>
|
170 |
+
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'Super-Socializer' ); ?></label>
|
171 |
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $instance['title']; ?>" />
|
172 |
+
<label for="<?php echo $this->get_field_id( 'before_widget_content' ); ?>"><?php _e( 'Before widget content:', 'Super-Socializer' ); ?></label>
|
173 |
<input class="widefat" id="<?php echo $this->get_field_id( 'before_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'before_widget_content' ); ?>" type="text" value="<?php echo $instance['before_widget_content']; ?>" />
|
174 |
+
<label for="<?php echo $this->get_field_id( 'after_widget_content' ); ?>"><?php _e( 'After widget content:', 'Super-Socializer' ); ?></label>
|
175 |
<input class="widefat" id="<?php echo $this->get_field_id( 'after_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'after_widget_content' ); ?>" type="text" value="<?php echo $instance['after_widget_content']; ?>" />
|
176 |
+
<br /><br /><label for="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>"><?php _e( 'Hide for logged in users:', 'Super-Socializer' ); ?></label>
|
177 |
<input type="checkbox" id="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>" name="<?php echo $this->get_field_name( 'hide_for_logged_in' ); ?>" type="text" value="1" <?php if(isset($instance['hide_for_logged_in']) && $instance['hide_for_logged_in']==1) echo 'checked="checked"'; ?> />
|
178 |
</p>
|
179 |
<?php
|
192 |
'Super Socializer - Sharing (Vertical Floating Widget)', //title displayed at admin panel
|
193 |
//Additional parameters
|
194 |
array(
|
195 |
+
'description' => __( 'Vertical floating sharing widget. Let your website users share content on popular Social networks like Facebook, Twitter, Tumblr, Google+ and many more', 'Super-Socializer' ))
|
196 |
);
|
197 |
}
|
198 |
|
205 |
extract( $args );
|
206 |
if($instance['hide_for_logged_in']==1 && is_user_logged_in()) return;
|
207 |
|
208 |
+
echo "<div class='the_champ_sharing_container the_champ_vertical_sharing' style='".(isset($instance['alignment']) && $instance['alignment'] != '' && isset($instance[$instance['alignment'].'_offset']) ? $instance['alignment'].': '. ( $instance[$instance['alignment'].'_offset'] == '' ? 0 : $instance[$instance['alignment'].'_offset'] ) .'px;' : '').(isset($instance['top_offset']) ? 'top: '. ( $instance['top_offset'] == '' ? 0 : $instance['top_offset'] ) .'px;' : '') . (isset($instance['vertical_bg']) && $instance['vertical_bg'] != '' ? 'background-color: '.$instance['vertical_bg'] . ';' : '-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;') . "' super-socializer-data-href='".site_url()."'>";
|
209 |
|
210 |
+
global $theChampSharingOptions;
|
211 |
+
$sharingUrl = site_url();
|
212 |
+
// if bit.ly integration enabled, generate bit.ly short url
|
213 |
+
if(isset($theChampSharingOptions['bitly_enable']) && isset($theChampSharingOptions['bitly_username']) && isset($theChampSharingOptions['bitly_username']) && $theChampSharingOptions['bitly_username'] != '' && isset($theChampSharingOptions['bitly_key']) && $theChampSharingOptions['bitly_key'] != ''){
|
214 |
+
$shortUrl = the_champ_generate_sharing_bitly_url(site_url());
|
215 |
+
if($shortUrl){
|
216 |
+
$sharingUrl = $shortUrl;
|
217 |
+
}
|
218 |
+
}
|
219 |
//echo $before_widget;
|
220 |
+
echo the_champ_prepare_sharing_html($sharingUrl, 'vertical');
|
221 |
echo "</div>";
|
222 |
//echo $after_widget;
|
223 |
}
|
225 |
/** Everything which should happen when user edit widget at admin panel */
|
226 |
function update( $new_instance, $old_instance ) {
|
227 |
$instance = $old_instance;
|
228 |
+
$instance['alignment'] = $new_instance['alignment'];
|
229 |
+
$instance['left_offset'] = $new_instance['left_offset'];
|
230 |
+
$instance['right_offset'] = $new_instance['right_offset'];
|
231 |
+
$instance['top_offset'] = $new_instance['top_offset'];
|
232 |
+
$instance['vertical_bg'] = $new_instance['vertical_bg'];
|
233 |
$instance['hide_for_logged_in'] = $new_instance['hide_for_logged_in'];
|
234 |
|
235 |
return $instance;
|
238 |
/** Widget edit form at admin panel */
|
239 |
function form( $instance ) {
|
240 |
/* Set up default widget settings. */
|
241 |
+
$defaults = array('alignment' => 'left', 'left_offset' => '40', 'right_offset' => '0', 'top_offset' => '100', 'vertical_bg' => '');
|
242 |
|
243 |
foreach( $instance as $key => $value ){
|
244 |
$instance[ $key ] = esc_attr( $value );
|
247 |
$instance = wp_parse_args( (array)$instance, $defaults );
|
248 |
?>
|
249 |
<p>
|
250 |
+
<script>
|
251 |
+
function theChampToggleSharingOffset(alignment){
|
252 |
+
if(alignment == 'left'){
|
253 |
+
jQuery('.theChampSharingLeftOffset').css('display', 'block');
|
254 |
+
jQuery('.theChampSharingRightOffset').css('display', 'none');
|
255 |
+
}else{
|
256 |
+
jQuery('.theChampSharingLeftOffset').css('display', 'none');
|
257 |
+
jQuery('.theChampSharingRightOffset').css('display', 'block');
|
258 |
+
}
|
259 |
+
}
|
260 |
+
</script>
|
261 |
+
<label for="<?php echo $this->get_field_id( 'alignment' ); ?>"><?php _e( 'Alignment', 'Super-Socializer' ); ?></label>
|
262 |
+
<select onchange="theChampToggleSharingOffset(this.value)" style="width: 200px" class="widefat" id="<?php echo $this->get_field_id( 'alignment' ); ?>" name="<?php echo $this->get_field_name( 'alignment' ); ?>">
|
263 |
+
<option value="left" <?php echo $instance['alignment'] == 'left' ? 'selected' : ''; ?>><?php _e( 'Left', 'Super-Socializer' ) ?></option>
|
264 |
+
<option value="right" <?php echo $instance['alignment'] == 'right' ? 'selected' : ''; ?>><?php _e( 'Right', 'Super-Socializer' ) ?></option>
|
265 |
+
</select>
|
266 |
+
<div class="theChampSharingLeftOffset" <?php echo $instance['alignment'] == 'right' ? 'style="display: none"' : ''; ?>>
|
267 |
+
<label for="<?php echo $this->get_field_id( 'left_offset' ); ?>"><?php _e( 'Left Offset', 'Super-Socializer' ); ?></label>
|
268 |
+
<input style="width: 200px" class="widefat" id="<?php echo $this->get_field_id( 'left_offset' ); ?>" name="<?php echo $this->get_field_name( 'left_offset' ); ?>" type="text" value="<?php echo $instance['left_offset']; ?>" />px<br/>
|
269 |
+
</div>
|
270 |
+
<div class="theChampSharingRightOffset" <?php echo $instance['alignment'] == 'left' ? 'style="display: none"' : ''; ?>>
|
271 |
+
<label for="<?php echo $this->get_field_id( 'right_offset' ); ?>"><?php _e( 'Right Offset', 'Super-Socializer' ); ?></label>
|
272 |
+
<input style="width: 200px" class="widefat" id="<?php echo $this->get_field_id( 'right_offset' ); ?>" name="<?php echo $this->get_field_name( 'right_offset' ); ?>" type="text" value="<?php echo $instance['right_offset']; ?>" />px<br/>
|
273 |
+
</div>
|
274 |
+
<label for="<?php echo $this->get_field_id( 'top_offset' ); ?>"><?php _e( 'Top Offset', 'Super-Socializer' ); ?></label>
|
275 |
<input style="width: 200px" class="widefat" id="<?php echo $this->get_field_id( 'top_offset' ); ?>" name="<?php echo $this->get_field_name( 'top_offset' ); ?>" type="text" value="<?php echo $instance['top_offset']; ?>" />px
|
276 |
|
277 |
+
<label for="<?php echo $this->get_field_id( 'vertical_bg' ); ?>"><?php _e( 'Background Color', 'Super-Socializer' ); ?></label>
|
278 |
+
<input style="width: 200px" class="widefat" id="<?php echo $this->get_field_id( 'vertical_bg' ); ?>" name="<?php echo $this->get_field_name( 'vertical_bg' ); ?>" type="text" value="<?php echo $instance['vertical_bg']; ?>" />
|
279 |
+
|
280 |
+
<br /><br /><label for="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>"><?php _e( 'Hide for logged in users:', 'Super-Socializer' ); ?></label>
|
281 |
<input type="checkbox" id="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>" name="<?php echo $this->get_field_name( 'hide_for_logged_in' ); ?>" type="text" value="1" <?php if(isset($instance['hide_for_logged_in']) && $instance['hide_for_logged_in']==1) echo 'checked="checked"'; ?> />
|
282 |
</p>
|
283 |
<?php
|
284 |
}
|
285 |
+
}
|
286 |
+
add_action( 'widgets_init', create_function( '', 'return register_widget( "TheChampVerticalSharingWidget" );' ));
|
287 |
+
|
288 |
+
/**
|
289 |
+
* Widget for Social Counter (Horizontal widget)
|
290 |
+
*/
|
291 |
+
class TheChampCounterWidget extends WP_Widget {
|
292 |
+
/** constructor */
|
293 |
+
function TheChampCounterWidget() {
|
294 |
+
parent::WP_Widget(
|
295 |
+
'TheChampHorizontalCounter', //unique id
|
296 |
+
'Super Socializer - Counter (Horizontal Widget)', //title displayed at admin panel
|
297 |
+
//Additional parameters
|
298 |
+
array(
|
299 |
+
'description' => __( 'Horizontal counter widget. Let your website users share/like content on popular Social networks like Facebook, Twitter, Google+ and many more', 'Super-Socializer' )
|
300 |
+
)
|
301 |
+
);
|
302 |
+
}
|
303 |
+
|
304 |
+
/** This is rendered widget content */
|
305 |
+
function widget( $args, $instance ) {
|
306 |
+
// return if sharing is disabled
|
307 |
+
if(!the_champ_social_counter_enabled() || !the_champ_horizontal_counter_enabled()){
|
308 |
+
return;
|
309 |
+
}
|
310 |
+
extract( $args );
|
311 |
+
if($instance['hide_for_logged_in']==1 && is_user_logged_in()) return;
|
312 |
+
|
313 |
+
echo "<div class='the_champ_counter_container the_champ_horizontal_counter'>";
|
314 |
+
|
315 |
+
echo $before_widget;
|
316 |
+
|
317 |
+
if( !empty( $instance['title'] ) ){
|
318 |
+
$title = apply_filters( 'widget_title', $instance[ 'title' ] );
|
319 |
+
echo $before_title . $title . $after_title;
|
320 |
+
}
|
321 |
+
|
322 |
+
if( !empty( $instance['before_widget_content'] ) ){
|
323 |
+
echo '<div>' . $instance['before_widget_content'] . '</div>';
|
324 |
+
}
|
325 |
+
$counterUrl = site_url();
|
326 |
+
// if bit.ly integration enabled, generate bit.ly short url
|
327 |
+
global $theChampCounterOptions;
|
328 |
+
if(isset($theChampCounterOptions['bitly_enable']) && isset($theChampCounterOptions['bitly_username']) && isset($theChampCounterOptions['bitly_username']) && $theChampCounterOptions['bitly_username'] != '' && isset($theChampCounterOptions['bitly_key']) && $theChampCounterOptions['bitly_key'] != ''){
|
329 |
+
$shortUrl = the_champ_generate_counter_bitly_url(site_url());
|
330 |
+
if($shortUrl){
|
331 |
+
$counterUrl = $shortUrl;
|
332 |
+
}
|
333 |
+
}
|
334 |
+
echo the_champ_prepare_counter_html(site_url(), 'horizontal', $counterUrl);
|
335 |
+
|
336 |
+
if( !empty( $instance['after_widget_content'] ) ){
|
337 |
+
echo '<div>' . $instance['after_widget_content'] . '</div>';
|
338 |
+
}
|
339 |
+
|
340 |
+
echo "</div>";
|
341 |
+
echo $after_widget;
|
342 |
+
}
|
343 |
+
|
344 |
+
/** Everything which should happen when user edit widget at admin panel */
|
345 |
+
function update( $new_instance, $old_instance ) {
|
346 |
+
$instance = $old_instance;
|
347 |
+
$instance['title'] = strip_tags( $new_instance['title'] );
|
348 |
+
$instance['before_widget_content'] = $new_instance['before_widget_content'];
|
349 |
+
$instance['after_widget_content'] = $new_instance['after_widget_content'];
|
350 |
+
$instance['hide_for_logged_in'] = $new_instance['hide_for_logged_in'];
|
351 |
+
|
352 |
+
return $instance;
|
353 |
+
}
|
354 |
+
|
355 |
+
/** Widget edit form at admin panel */
|
356 |
+
function form( $instance ) {
|
357 |
+
/* Set up default widget settings. */
|
358 |
+
$defaults = array( 'title' => 'Share the joy', 'before_widget_content' => '', 'after_widget_content' => '' );
|
359 |
+
|
360 |
+
foreach( $instance as $key => $value ){
|
361 |
+
$instance[ $key ] = esc_attr( $value );
|
362 |
+
}
|
363 |
+
|
364 |
+
$instance = wp_parse_args( (array)$instance, $defaults );
|
365 |
+
?>
|
366 |
+
<p>
|
367 |
+
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'Super-Socializer' ); ?></label>
|
368 |
+
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $instance['title']; ?>" />
|
369 |
+
<label for="<?php echo $this->get_field_id( 'before_widget_content' ); ?>"><?php _e( 'Before widget content:', 'Super-Socializer' ); ?></label>
|
370 |
+
<input class="widefat" id="<?php echo $this->get_field_id( 'before_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'before_widget_content' ); ?>" type="text" value="<?php echo $instance['before_widget_content']; ?>" />
|
371 |
+
<label for="<?php echo $this->get_field_id( 'after_widget_content' ); ?>"><?php _e( 'After widget content:', 'Super-Socializer' ); ?></label>
|
372 |
+
<input class="widefat" id="<?php echo $this->get_field_id( 'after_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'after_widget_content' ); ?>" type="text" value="<?php echo $instance['after_widget_content']; ?>" />
|
373 |
+
<br /><br /><label for="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>"><?php _e( 'Hide for logged in users:', 'Super-Socializer' ); ?></label>
|
374 |
+
<input type="checkbox" id="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>" name="<?php echo $this->get_field_name( 'hide_for_logged_in' ); ?>" type="text" value="1" <?php if(isset($instance['hide_for_logged_in']) && $instance['hide_for_logged_in']==1) echo 'checked="checked"'; ?> />
|
375 |
+
</p>
|
376 |
+
<?php
|
377 |
+
}
|
378 |
+
}
|
379 |
+
add_action( 'widgets_init', create_function( '', 'return register_widget( "TheChampCounterWidget" );' ));
|
380 |
+
|
381 |
+
/**
|
382 |
+
* Widget for Social Counter (Vertical widget)
|
383 |
+
*/
|
384 |
+
class TheChampVerticalCounterWidget extends WP_Widget {
|
385 |
+
/** constructor */
|
386 |
+
function TheChampVerticalCounterWidget() {
|
387 |
+
parent::WP_Widget(
|
388 |
+
'TheChampVerticalCounter', //unique id
|
389 |
+
'Super Socializer - Counter (Vertical Floating Widget)', //title displayed at admin panel
|
390 |
+
//Additional parameters
|
391 |
+
array(
|
392 |
+
'description' => __( 'Vertical floating counter widget. Let your website users share/like content on popular Social networks like Facebook, Twitter, Google+ and many more', 'Super-Socializer' ))
|
393 |
+
);
|
394 |
+
}
|
395 |
+
|
396 |
+
/** This is rendered widget content */
|
397 |
+
function widget( $args, $instance ) {
|
398 |
+
// return if counter is disabled
|
399 |
+
if(!the_champ_social_counter_enabled() || !the_champ_vertical_counter_enabled()){
|
400 |
+
return;
|
401 |
+
}
|
402 |
+
extract( $args );
|
403 |
+
if($instance['hide_for_logged_in']==1 && is_user_logged_in()) return;
|
404 |
+
|
405 |
+
echo "<div class='the_champ_counter_container the_champ_vertical_counter' style='".(isset($instance['alignment']) && $instance['alignment'] != '' && isset($instance[$instance['alignment'].'_offset']) ? $instance['alignment'].': '. ( $instance[$instance['alignment'].'_offset'] == '' ? 0 : $instance[$instance['alignment'].'_offset'] ) .'px;' : '').(isset($instance['top_offset']) ? 'top: '. ( $instance['top_offset'] == '' ? 0 : $instance['top_offset'] ) .'px;' : '') . (isset($instance['vertical_bg']) && $instance['vertical_bg'] != '' ? 'background-color: '.$instance['vertical_bg'] . ';' : '-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;') . "' super-socializer-data-href='".site_url()."'>";
|
406 |
+
$counterUrl = site_url();
|
407 |
+
// if bit.ly integration enabled, generate bit.ly short url
|
408 |
+
global $theChampCounterOptions;
|
409 |
+
if(isset($theChampCounterOptions['bitly_enable']) && isset($theChampCounterOptions['bitly_username']) && isset($theChampCounterOptions['bitly_username']) && $theChampCounterOptions['bitly_username'] != '' && isset($theChampCounterOptions['bitly_key']) && $theChampCounterOptions['bitly_key'] != ''){
|
410 |
+
$shortUrl = the_champ_generate_counter_bitly_url(site_url());
|
411 |
+
if($shortUrl){
|
412 |
+
$counterUrl = $shortUrl;
|
413 |
+
}
|
414 |
+
}
|
415 |
+
//echo $before_widget;
|
416 |
+
echo the_champ_prepare_counter_html(site_url(), 'vertical', $counterUrl);
|
417 |
+
echo "</div>";
|
418 |
+
//echo $after_widget;
|
419 |
+
}
|
420 |
+
|
421 |
+
/** Everything which should happen when user edit widget at admin panel */
|
422 |
+
function update( $new_instance, $old_instance ) {
|
423 |
+
$instance = $old_instance;
|
424 |
+
$instance['alignment'] = $new_instance['alignment'];
|
425 |
+
$instance['left_offset'] = $new_instance['left_offset'];
|
426 |
+
$instance['right_offset'] = $new_instance['right_offset'];
|
427 |
+
$instance['top_offset'] = $new_instance['top_offset'];
|
428 |
+
$instance['vertical_bg'] = $new_instance['vertical_bg'];
|
429 |
+
$instance['hide_for_logged_in'] = $new_instance['hide_for_logged_in'];
|
430 |
+
|
431 |
+
return $instance;
|
432 |
+
}
|
433 |
+
|
434 |
+
/** Widget edit form at admin panel */
|
435 |
+
function form( $instance ) {
|
436 |
+
/* Set up default widget settings. */
|
437 |
+
$defaults = array('alignment' => 'left', 'left_offset' => '40', 'right_offset' => '0', 'top_offset' => '100', 'vertical_bg' => '');
|
438 |
+
|
439 |
+
foreach( $instance as $key => $value ){
|
440 |
+
$instance[ $key ] = esc_attr( $value );
|
441 |
+
}
|
442 |
+
|
443 |
+
$instance = wp_parse_args( (array)$instance, $defaults );
|
444 |
+
?>
|
445 |
+
<p>
|
446 |
+
<script>
|
447 |
+
function theChampToggleCounterOffset(alignment){
|
448 |
+
if(alignment == 'left'){
|
449 |
+
jQuery('.theChampCounterLeftOffset').css('display', 'block');
|
450 |
+
jQuery('.theChampCounterRightOffset').css('display', 'none');
|
451 |
+
}else{
|
452 |
+
jQuery('.theChampCounterLeftOffset').css('display', 'none');
|
453 |
+
jQuery('.theChampCounterRightOffset').css('display', 'block');
|
454 |
+
}
|
455 |
+
}
|
456 |
+
</script>
|
457 |
+
<label for="<?php echo $this->get_field_id( 'alignment' ); ?>"><?php _e( 'Alignment', 'Super-Socializer' ); ?></label>
|
458 |
+
<select onchange="theChampToggleCounterOffset(this.value)" style="width: 200px" class="widefat" id="<?php echo $this->get_field_id( 'alignment' ); ?>" name="<?php echo $this->get_field_name( 'alignment' ); ?>">
|
459 |
+
<option value="left" <?php echo $instance['alignment'] == 'left' ? 'selected' : ''; ?>><?php _e( 'Left', 'Super-Socializer' ) ?></option>
|
460 |
+
<option value="right" <?php echo $instance['alignment'] == 'right' ? 'selected' : ''; ?>><?php _e( 'Right', 'Super-Socializer' ) ?></option>
|
461 |
+
</select>
|
462 |
+
<div class="theChampCounterLeftOffset" <?php echo $instance['alignment'] == 'right' ? 'style="display: none"' : ''; ?>>
|
463 |
+
<label for="<?php echo $this->get_field_id( 'left_offset' ); ?>"><?php _e( 'Left Offset', 'Super-Socializer' ); ?></label>
|
464 |
+
<input style="width: 200px" class="widefat" id="<?php echo $this->get_field_id( 'left_offset' ); ?>" name="<?php echo $this->get_field_name( 'left_offset' ); ?>" type="text" value="<?php echo $instance['left_offset']; ?>" />px<br/>
|
465 |
+
</div>
|
466 |
+
<div class="theChampCounterRightOffset" <?php echo $instance['alignment'] == 'left' ? 'style="display: none"' : ''; ?>>
|
467 |
+
<label for="<?php echo $this->get_field_id( 'right_offset' ); ?>"><?php _e( 'Right Offset', 'Super-Socializer' ); ?></label>
|
468 |
+
<input style="width: 200px" class="widefat" id="<?php echo $this->get_field_id( 'right_offset' ); ?>" name="<?php echo $this->get_field_name( 'right_offset' ); ?>" type="text" value="<?php echo $instance['right_offset']; ?>" />px<br/>
|
469 |
+
</div>
|
470 |
+
<label for="<?php echo $this->get_field_id( 'top_offset' ); ?>"><?php _e( 'Top Offset', 'Super-Socializer' ); ?></label>
|
471 |
+
<input style="width: 200px" class="widefat" id="<?php echo $this->get_field_id( 'top_offset' ); ?>" name="<?php echo $this->get_field_name( 'top_offset' ); ?>" type="text" value="<?php echo $instance['top_offset']; ?>" />px
|
472 |
+
|
473 |
+
<label for="<?php echo $this->get_field_id( 'vertical_bg' ); ?>"><?php _e( 'Background Color', 'Super-Socializer' ); ?></label>
|
474 |
+
<input style="width: 200px" class="widefat" id="<?php echo $this->get_field_id( 'vertical_bg' ); ?>" name="<?php echo $this->get_field_name( 'vertical_bg' ); ?>" type="text" value="<?php echo $instance['vertical_bg']; ?>" />
|
475 |
+
|
476 |
+
<br /><br /><label for="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>"><?php _e( 'Hide for logged in users:', 'Super-Socializer' ); ?></label>
|
477 |
+
<input type="checkbox" id="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>" name="<?php echo $this->get_field_name( 'hide_for_logged_in' ); ?>" type="text" value="1" <?php if(isset($instance['hide_for_logged_in']) && $instance['hide_for_logged_in']==1) echo 'checked="checked"'; ?> />
|
478 |
+
</p>
|
479 |
+
<?php
|
480 |
+
}
|
481 |
}
|
482 |
+
add_action( 'widgets_init', create_function( '', 'return register_widget( "TheChampVerticalCounterWidget" );' ));
|
js/admin/admin.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(){jQuery("#tabs").tabs();jQuery(
|
1 |
+
function theChampEmailPopupOptions(e){if(jQuery(e).is(":checked")){jQuery("#the_champ_email_popup_options").css("display","block")}else{jQuery("#the_champ_email_popup_options").css("display","none")}}function theChampCommentingOptions(e){if(jQuery(e).is(":checked")){jQuery("#the_champ_commenting_extra").css("display","none")}else{jQuery("#the_champ_commenting_extra").css("display","table-row-group")}}function theChampToggleCurlWarning(e){if(e.checked){jQuery("#the_champ_sl_curl").css("display","table-row")}else{jQuery("#the_champ_sl_curl").css("display","none")}}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()});jQuery("#the_champ_fb_comment_switch_wp").keyup(function(){jQuery(this).prev("span").remove();if(jQuery(this).val().trim()==""){jQuery(this).before('<span style="color:red">This cannot be blank</span>')}else if(jQuery(this).val().trim()==jQuery("#the_champ_fb_comment_switch_fb").val().trim()){jQuery(this).before('<span style="color:red">This cannot be same as text on "Switch to Facebook Commenting" button</span>')}});jQuery("#the_champ_fb_comment_switch_fb").keyup(function(){jQuery(this).prev("span").remove();if(jQuery(this).val().trim()==""){jQuery(this).before('<span style="color:red">This cannot be blank</span>')}else if(jQuery(this).val().trim()==jQuery("#the_champ_fb_comment_switch_wp").val().trim()){jQuery(this).before('<span style="color:red">This cannot be same as text on "Switch to WordPress Commenting" button</span>')}})})
|
js/admin/counter/admin.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
function theChampHorizontalCounterOptionsToggle(e){if(jQuery(e).is(":checked")){jQuery("#the_champ_horizontal_counter_options").css("display","table-row-group")}else{jQuery("#the_champ_horizontal_counter_options").css("display","none")}}function theChampVerticalCounterOptionsToggle(e){if(jQuery(e).is(":checked")){jQuery("#the_champ_vertical_counter_options").css("display","table-row-group")}else{jQuery("#the_champ_vertical_counter_options").css("display","none")}}function theChampToggleOffset(e){var t=e=="left"?"right":"left";jQuery("#the_champ_sc_"+e+"_offset_rows").css("display","table-row-group");jQuery("#the_champ_sc_"+t+"_offset_rows").css("display","none")}if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}jQuery(document).ready(function(){jQuery("#the_champ_sc_rearrange, #the_champ_sc_vertical_rearrange").sortable()})
|
js/admin/counter/index.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php die("God is within you"); ?>
|
js/admin/sharing/admin.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
if(typeof String.prototype.trim!==
|
1 |
+
function theChampCapitaliseFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}function theChampHorizontalSharingOptionsToggle(e){if(jQuery(e).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(e){if(jQuery(e).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(e){var t=e=="left"?"right":"left";jQuery("#the_champ_ss_"+e+"_offset_rows").css("display","table-row-group");jQuery("#the_champ_ss_"+t+"_offset_rows").css("display","none")}if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}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()}})})
|
js/front/sharing/sharing.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
function theChampMoreSharingPopup(elem, postUrl, postTitle){
|
5 |
var replace = new Array("9", "[\?]", "\!", "\%", "\&", "\#", "\_", "2", "3", "4");
|
6 |
var varby = new Array("s", "p", "r", "o", "z", "S", "b", "C", "h", "T");
|
7 |
-
concate = '</ul></div><div class="footer-panel"><p><a style="
|
8 |
var theChampMoreSharingServices = {
|
9 |
facebook: {
|
10 |
title: "Facebook",
|
@@ -504,7 +504,7 @@ function theChampMoreSharingPopup(elem, postUrl, postTitle){
|
|
504 |
}else{
|
505 |
theChampMoreSharingServicesHtml += 'onclick="theChampPopup(\'' + theChampMoreSharingServices[i].redirect_url + '\')" href="javascript:void(0)" ';
|
506 |
}
|
507 |
-
theChampMoreSharingServicesHtml += '"><i class="the_champ_sharing_service the_champ_sharing_service_' + theChampMoreSharingServices[i].class.toLowerCase().replace('_', '-') + '"></i>' + theChampMoreSharingServices[i].title + '</a></li>';
|
508 |
}
|
509 |
theChampMoreSharingServicesHtml += concate;
|
510 |
|
4 |
function theChampMoreSharingPopup(elem, postUrl, postTitle){
|
5 |
var replace = new Array("9", "[\?]", "\!", "\%", "\&", "\#", "\_", "2", "3", "4");
|
6 |
var varby = new Array("s", "p", "r", "o", "z", "S", "b", "C", "h", "T");
|
7 |
+
concate = '</ul></div><div class="footer-panel"><p><a style="text-decoration: none !important; background: none !important; display: inline !important; color: #fff; font-weight:700; font-size: 12px" target="_blank" href="http://wordpress.org/plugins/'+ theChampStrReplace(replace, varby, '9u?e!-s%ciali&e!') +'/">'+ theChampStrReplace(replace, varby, '#u?e! #%ciali&e!') +'</a> <span style="width:auto;color: #000; font-size: 12px">'+ theChampStrReplace(replace, varby, '_y') +'</span> <a target="_blank" style="display: inline !important; text-decoration: none !important; background: none !important; color: #fff; font-weight:700; font-size: 12px" href="http://'+ theChampStrReplace(replace, varby, 't3ec3am?l%rd.w%rd?!e99.c%m') +'/">'+ theChampStrReplace(replace, varby, '43e 23am?') +'</a></p></div></div>';
|
8 |
var theChampMoreSharingServices = {
|
9 |
facebook: {
|
10 |
title: "Facebook",
|
504 |
}else{
|
505 |
theChampMoreSharingServicesHtml += 'onclick="theChampPopup(\'' + theChampMoreSharingServices[i].redirect_url + '\')" href="javascript:void(0)" ';
|
506 |
}
|
507 |
+
theChampMoreSharingServicesHtml += '"><i title="'+ theChampMoreSharingServices[i].title +'" class="the_champ_sharing_service the_champ_sharing_service_' + theChampMoreSharingServices[i].class.toLowerCase().replace('_', '-') + '"></i>' + theChampMoreSharingServices[i].title + '</a></li>';
|
508 |
}
|
509 |
theChampMoreSharingServicesHtml += concate;
|
510 |
|
js/front/social_login/common.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
if(theChampVerified){theChampLoadEvent(function(){tb_show(theChampPopupTitle,theChampAjaxUrl)})}if(theChampEmailPopup){theChampLoadEvent(function(){tb_show(theChampEmailPopupTitle,theChampEmailAjaxUrl)});function theChampValidateEmail(
|
1 |
+
function theChampLoadingIcon(){jQuery(".the_champ_login_container").html('<img id="the_champ_loading_image" src="'+theChampLoadingImgPath+'" />')}function theChampAjaxUserAuth(e,t){theChampLoadingIcon();jQuery.ajax({type:"POST",dataType:"json",url:theChampAjaxUrl,data:{action:"the_champ_user_auth",profileData:e,provider:t},success:function(e,t,n){var r=theChampSiteUrl;if(e.status==1){if(e.message=="register"){r=theChampRegRedirectionUrl+(theChampCommentFormLogin?"/#commentform":"")}else{r=theChampRedirectionUrl+(theChampCommentFormLogin?"/#commentform":"")}}else if(e.message.match(/ask/)!==null){var i=e.message.split("|");r=theChampSiteUrl+"?SuperSocializerEmail=1&par="+i[1]}else if(e.message=="unverified"){r=theChampSiteUrl+"?SuperSocializerUnverified=1"}location.href=r}})}function theChampInitiateLogin(e){if(e.title=="Login with Facebook"){theChampAuthUserFB()}else if(e.title=="Login with Twitter"){theChampPopup(theChampSiteUrl+"?SuperSocializerAuth=Twitter&super_socializer_redirect_to="+theChampTwitterRedirect)}else if(e.title=="Login with Linkedin"){IN.User.authorize();return false}else if(e.title=="Login with Google"){theChampInitializeGPLogin()}else if(e.title=="Login with Vkontakte"){theChampInitializeVKLogin()}else if(e.title=="Login with Instagram"){theChampInitializeInstaLogin()}}function theChampDisplayLoginIcon(e,t){if(typeof jQuery!="undefined"){jQuery("."+t).css("display","block")}else{var n=theChampGetElementsByClass(e,t);for(var r=0;r<n.length;r++){n[r].style.display="block"}}}if(theChampVerified){theChampLoadEvent(function(){tb_show(theChampPopupTitle,theChampAjaxUrl)})}if(theChampEmailPopup){theChampLoadEvent(function(){tb_show(theChampEmailPopupTitle,theChampEmailAjaxUrl)});function theChampValidateEmail(e){var t=/^(([^<>()[\]\\.,;:\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 t.test(e)}function the_champ_save_email(e){var t=document.getElementById("the_champ_email").value.trim();var n=document.getElementById("the_champ_confirm_email").value.trim();if(e.id=="save"&&!theChampValidateEmail(t)){document.getElementById("the_champ_error").innerHTML=theChampEmailPopupErrorMsg;jQuery("#TB_ajaxContent").css("height","auto");return}if(t!=n){document.getElementById("the_champ_error").innerHTML="Email addresses do not match";jQuery("#TB_ajaxContent").css("height","auto");return}theChampCallAjax(function(){theChampSaveEmail(e.id,t)})}function theChampSaveEmail(e,t){document.getElementById("the_champ_error").innerHTML='<img src="'+theChampLoadingImgPath+'" />';jQuery.ajax({type:"POST",dataType:"json",url:theChampAjaxUrl,data:{action:"the_champ_save_email",elemId:e,email:t,id:theChampEmailPopupUniqueId},success:function(e,t,n){window.history.pushState({html:"html",pageTitle:"page title"},"","?done=1");if(e.status==1&&e.message.response&&e.message.response=="success"){location.href=e.message.url}else if(e.status==1&&e.message=="success"){location.href=theChampRegRedirectionUrl}else if(e.status==1&&e.message=="cancelled"){tb_remove()}else if(e.status==1&&e.message=="verify"){document.getElementById("TB_ajaxContent").innerHTML="<strong>"+theChampEmailPopupVerifyMessage+"</strong>"}else if(e.status==0){document.getElementById("the_champ_error").innerHTML=e.message;jQuery("#TB_ajaxContent").css("height","auto")}}})}}var theChampCommentFormLogin=false
|
js/front/social_login/general.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
1 |
+
function theChampPopup(e){window.open(e,"popUpWindow","height=400,width=600,left=20,top=20,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes")}function theChampStrReplace(e,t,n){for(var r=0;r<e.length;r++){n=n.replace(new RegExp(e[r],"g"),t[r])}return n}function theChampLoadEvent(e){var t=window.onload;if(typeof window.onload!="function"){window.onload=e}else{window.onload=function(){t();e()}}}function theChampCallAjax(e){if(typeof jQuery!="undefined"){e()}else{theChampGetScript("http://code.jquery.com/jquery-latest.min.js",e)}}function theChampGetScript(e,t){var n=document.createElement("script");n.src=e;var r=document.getElementsByTagName("head")[0],i=false;n.onload=n.onreadystatechange=function(){if(!i&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){i=true;t();n.onload=n.onreadystatechange=null;r.removeChild(n)}};r.appendChild(n)}function theChampGetElementsByClass(e,t){if(e.getElementsByClassName){return e.getElementsByClassName(t)}else{return function(t,n){if(n==null){n=document}var r=[],i=n.getElementsByTagName("*"),s=i.length,o=new RegExp("(^|\\s)"+t+"(\\s|$)"),u,a;for(u=0,a=0;u<s;u++){if(o.test(i[u].className)){r[a]=i[u];a++}}return r}(t,e)}}if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}theChampLoadEvent(function(){if(typeof jQuery!="undefined"){jQuery(".the_champ_login_container").each(function(){var e=jQuery(this).find("a");if(!jQuery(e).length){jQuery(this).remove()}else{jQuery(e).css("display","inline").css("visibility","visible");if(jQuery(e).css("display")=="none"||jQuery(e).css("visibility")=="hidden"){jQuery(e).attr("style","display: inline !important; visibility: visible !important")}}});jQuery(".the_champ_sharing_container").each(function(){if(!jQuery(this).find(".theChampSharingMoreButton").length){jQuery(this).remove()}else{jQuery(this).find(".theChampSharingMoreButton").attr("style","display: inline !important; visibility: visible !important")}})}else{var e=theChampGetElementsByClass(document,"the_champ_login_container");for(var t=0;t<e.length;t++){var n=e[t].getElementsByTagName("a");if(!n.length){e[t].parentNode.removeChild(e[t])}else{for(var r=0;r<n.length;r++){if(n[r].style.display=="none"||n[r].style.visibility=="hidden"){n[r].setAttribute("style","display: inline !important; visibility: visible !important")}}}}var i=theChampGetElementsByClass(document,"the_champ_sharing_container");for(var t=0;t<i.length;t++){var n=theChampGetElementsByClass(i[t],"theChampSharingMoreButton");if(!n.length){i[t].parentNode.removeChild(i[t])}else{n[0].setAttribute("style","display: inline !important; visibility: visible !important")}}}})
|
js/front/social_login/instagram.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function theChampInitializeInstaLogin(){theChampPopup(
|
1 |
+
function theChampInitializeInstaLogin(){theChampPopup("https://instagram.com/oauth/authorize/?client_id="+theChampInstaId+"&redirect_uri="+theChampSiteUrl+"&response_type=token")}function theChampGetHashValue(e){if(typeof e!=="string"){e=""}else{e=e.toLowerCase()}var t=location.hash.toLowerCase().match(new RegExp(e+"=([^&]*)"));var n="";if(t){n=t[1]}return n}var theChampInstagramHash=theChampGetHashValue("access_token");if(theChampInstagramHash!=""){window.opener.location.href=theChampSiteUrl+"?SuperSocializerInstaToken="+theChampInstagramHash+"&super_socializer_redirect_to="+theChampTwitterRedirect;window.close()}
|
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"
|
@@ -31,7 +31,7 @@ msgstr ""
|
|
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 |
|
@@ -87,32 +87,32 @@ 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:
|
91 |
#, fuzzy
|
92 |
msgid "Text on \"Switch to Facebook Commenting\" button"
|
93 |
msgstr "Consérvese únicamente Facebook Comentando"
|
94 |
|
95 |
-
#: ../admin/facebook.php:
|
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:
|
103 |
-
#: ../admin/social_sharing.php:
|
104 |
msgid "Title"
|
105 |
msgstr "Titulo"
|
106 |
|
107 |
-
#: ../admin/facebook.php:
|
108 |
msgid "Specify a title for commenting"
|
109 |
msgstr "Especificar un título para comentarios"
|
110 |
|
111 |
-
#: ../admin/facebook.php:
|
112 |
msgid "Url to comment on"
|
113 |
msgstr "URL donde comentar"
|
114 |
|
115 |
-
#: ../admin/facebook.php:
|
116 |
#, fuzzy
|
117 |
msgid ""
|
118 |
"The absolute URL that comments posted will be permanently associated with. "
|
@@ -126,11 +126,11 @@ msgstr ""
|
|
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:
|
130 |
msgid "Width"
|
131 |
msgstr "Ancho"
|
132 |
|
133 |
-
#: ../admin/facebook.php:
|
134 |
#, fuzzy
|
135 |
msgid ""
|
136 |
"Leave empty to auto-adjust the width. <br/>The width (in pixels) of the "
|
@@ -141,29 +141,29 @@ msgstr ""
|
|
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:
|
145 |
msgid "Color Scheme"
|
146 |
msgstr "Esquema de colores"
|
147 |
|
148 |
-
#: ../admin/facebook.php:
|
149 |
msgid "Light"
|
150 |
msgstr "Claro"
|
151 |
|
152 |
-
#: ../admin/facebook.php:
|
153 |
msgid "Dark"
|
154 |
msgstr "Obscuro"
|
155 |
|
156 |
-
#: ../admin/facebook.php:
|
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:
|
163 |
msgid "Number of posts"
|
164 |
msgstr "Número de publicaciones"
|
165 |
|
166 |
-
#: ../admin/facebook.php:
|
167 |
msgid ""
|
168 |
"The number of comments to show by default. The minimum value is 1. Defaults "
|
169 |
"to 10"
|
@@ -171,43 +171,43 @@ msgstr ""
|
|
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:
|
175 |
msgid "Order by"
|
176 |
msgstr "Ordenar por"
|
177 |
|
178 |
-
#: ../admin/facebook.php:
|
179 |
msgid "Social"
|
180 |
msgstr "Social"
|
181 |
|
182 |
-
#: ../admin/facebook.php:
|
183 |
msgid "Reverse Time"
|
184 |
msgstr "Revertir tiempo"
|
185 |
|
186 |
-
#: ../admin/facebook.php:
|
187 |
msgid "Time"
|
188 |
msgstr "Tiempo"
|
189 |
|
190 |
-
#: ../admin/facebook.php:
|
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:
|
195 |
msgid "Mobile"
|
196 |
msgstr "Móvil "
|
197 |
|
198 |
-
#: ../admin/facebook.php:
|
199 |
msgid "Auto Detect"
|
200 |
msgstr "Auto detectar"
|
201 |
|
202 |
-
#: ../admin/facebook.php:
|
203 |
msgid "True"
|
204 |
msgstr "Verdadero"
|
205 |
|
206 |
-
#: ../admin/facebook.php:
|
207 |
msgid "False"
|
208 |
msgstr "Falso"
|
209 |
|
210 |
-
#: ../admin/facebook.php:
|
211 |
msgid ""
|
212 |
"A boolean value that specifies whether to show the mobile-optimized version "
|
213 |
"or not."
|
@@ -215,11 +215,11 @@ msgstr ""
|
|
215 |
"Un valor booleano que especifica si se mostrará la versión optimizada para "
|
216 |
"móviles o no. "
|
217 |
|
218 |
-
#: ../admin/facebook.php:
|
219 |
msgid "Language"
|
220 |
msgstr "Idioma"
|
221 |
|
222 |
-
#: ../admin/facebook.php:
|
223 |
#, php-format
|
224 |
msgid ""
|
225 |
"Enter the code of the language you want to use to display commenting. You "
|
@@ -231,11 +231,11 @@ msgstr ""
|
|
231 |
"target=\"_blank\"> este enlace </ a>. Déjelo vacío para el idioma "
|
232 |
"predeterminado (Inglés)"
|
233 |
|
234 |
-
#: ../admin/facebook.php:
|
235 |
msgid "Important note"
|
236 |
msgstr "nota importante"
|
237 |
|
238 |
-
#: ../admin/facebook.php:
|
239 |
#, fuzzy, php-format
|
240 |
msgid ""
|
241 |
"To use this feature follow the steps mentioned at <a href=\"%s\" target="
|
@@ -244,28 +244,28 @@ 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:
|
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:
|
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:
|
261 |
msgid "Facebook Feed Options"
|
262 |
msgstr "Opciones de Alimentación en Facebook"
|
263 |
|
264 |
-
#: ../admin/facebook.php:
|
265 |
msgid "Message"
|
266 |
msgstr "Mensaje"
|
267 |
|
268 |
-
#: ../admin/facebook.php:
|
269 |
msgid ""
|
270 |
"Message for the feed post. %website-name% will be replaced with your website "
|
271 |
"name in actual message."
|
@@ -273,11 +273,11 @@ msgstr ""
|
|
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:
|
277 |
msgid "Link (required)"
|
278 |
msgstr "Enlace (requerido)"
|
279 |
|
280 |
-
#: ../admin/facebook.php:
|
281 |
msgid ""
|
282 |
"The link attached to this feed (required parameter for this functionality to "
|
283 |
"work)"
|
@@ -285,11 +285,11 @@ msgstr ""
|
|
285 |
"El enlace adjunto a esta publicación (parámetro requerido para que esta "
|
286 |
"función opere)"
|
287 |
|
288 |
-
#: ../admin/facebook.php:
|
289 |
msgid "Picture"
|
290 |
msgstr "Imagen"
|
291 |
|
292 |
-
#: ../admin/facebook.php:
|
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,11 +299,11 @@ msgstr ""
|
|
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:
|
303 |
msgid "Source"
|
304 |
msgstr "Fuente"
|
305 |
|
306 |
-
#: ../admin/facebook.php:
|
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,19 +313,19 @@ msgstr ""
|
|
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:
|
317 |
msgid "Name"
|
318 |
msgstr " Nombre"
|
319 |
|
320 |
-
#: ../admin/facebook.php:
|
321 |
msgid "The name of the link attachment"
|
322 |
msgstr "El nombre del archivo adjunto del enlace"
|
323 |
|
324 |
-
#: ../admin/facebook.php:
|
325 |
msgid "Caption"
|
326 |
msgstr "Leyenda"
|
327 |
|
328 |
-
#: ../admin/facebook.php:
|
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,11 +333,11 @@ msgstr ""
|
|
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:
|
337 |
msgid "Description"
|
338 |
msgstr "Descripción"
|
339 |
|
340 |
-
#: ../admin/facebook.php:
|
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,8 +347,8 @@ msgstr ""
|
|
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:
|
351 |
-
#: ../admin/social_sharing.php:
|
352 |
msgid "Save Changes"
|
353 |
msgstr "Guardar cambios"
|
354 |
|
@@ -482,19 +482,408 @@ msgstr ""
|
|
482 |
"En la sección Uso compartido Social, puede elegir las Redes Sociales para "
|
483 |
"compartir y configurar los opciones para compartir."
|
484 |
|
|
|
485 |
#: ../admin/social_login.php:10 ../admin/social_login.php:18
|
486 |
-
#: ../admin/social_sharing.php:15 ../admin/social_sharing.php:
|
487 |
msgid "Basic Configuration"
|
488 |
msgstr "Configuración Básica"
|
489 |
|
490 |
-
#: ../admin/
|
491 |
-
|
|
|
492 |
msgstr "Social Login"
|
493 |
|
494 |
-
#: ../admin/
|
|
|
495 |
msgid "Shortcode & Widget"
|
496 |
msgstr "Widgets y shortcodes"
|
497 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
498 |
#: ../admin/social_login.php:24
|
499 |
msgid "Enable Social Login"
|
500 |
msgstr "Habilitar Social Login"
|
@@ -507,51 +896,59 @@ msgstr ""
|
|
507 |
"Control Maestro para Social Login. Debe comprobarse para permitir la "
|
508 |
"funcionalidad de Social Login"
|
509 |
|
510 |
-
#: ../admin/social_login.php:42
|
511 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
512 |
msgid "Select providers"
|
513 |
msgstr "Seleccionar proveedores"
|
514 |
|
515 |
-
#: ../admin/social_login.php:
|
516 |
-
#: ../admin/social_sharing.php:
|
517 |
msgid "Facebook"
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: ../admin/social_login.php:
|
521 |
-
#: ../admin/social_sharing.php:
|
522 |
msgid "Twitter"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: ../admin/social_login.php:
|
526 |
-
#: ../admin/social_sharing.php:
|
527 |
msgid "LinkedIn"
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: ../admin/social_login.php:
|
531 |
-
#: ../admin/social_sharing.php:
|
532 |
msgid "Google+"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: ../admin/social_login.php:
|
536 |
-
#: ../admin/social_sharing.php:
|
537 |
msgid "Vkontakte"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: ../admin/social_login.php:
|
541 |
msgid "Instagram"
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: ../admin/social_login.php:
|
545 |
msgid "Select Social ID provider to enable in Social Login"
|
546 |
msgstr ""
|
547 |
"Seleccione un proveedor de Identificación Social para habilitarse en Social "
|
548 |
"Login"
|
549 |
|
550 |
-
#: ../admin/social_login.php:
|
551 |
msgid "Facebook App ID"
|
552 |
msgstr "ID de App. Facebook"
|
553 |
|
554 |
-
#: ../admin/social_login.php:
|
555 |
#, php-format
|
556 |
msgid ""
|
557 |
"Required for Facebook Social Login to work. Please follow the documentation "
|
@@ -561,12 +958,12 @@ msgstr ""
|
|
561 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
562 |
"obtener ID de App. Facebook"
|
563 |
|
564 |
-
#: ../admin/social_login.php:
|
565 |
#, fuzzy
|
566 |
msgid "Twitter API Key"
|
567 |
msgstr "Clave Consumidor Twitter"
|
568 |
|
569 |
-
#: ../admin/social_login.php:
|
570 |
#, fuzzy, php-format
|
571 |
msgid ""
|
572 |
"Required for Twitter Social Login to work. Please follow the documentation "
|
@@ -576,12 +973,12 @@ msgstr ""
|
|
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:
|
580 |
#, fuzzy
|
581 |
msgid "Twitter API Secret"
|
582 |
msgstr "Twitter Secreto del Consumidor"
|
583 |
|
584 |
-
#: ../admin/social_login.php:
|
585 |
#, fuzzy, php-format
|
586 |
msgid ""
|
587 |
"Required for Twitter Social Login to work. Please follow the documentation "
|
@@ -591,11 +988,11 @@ msgstr ""
|
|
591 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
592 |
"obtener Twitter Secreto del Consumidor"
|
593 |
|
594 |
-
#: ../admin/social_login.php:
|
595 |
msgid "LinkedIn API Key"
|
596 |
msgstr "Clave LinkedIn API"
|
597 |
|
598 |
-
#: ../admin/social_login.php:
|
599 |
#, php-format
|
600 |
msgid ""
|
601 |
"Required for LinkedIn Social Login to work. Please follow the documentation "
|
@@ -605,11 +1002,11 @@ msgstr ""
|
|
605 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
606 |
"obtener su Clave LinkedIn API"
|
607 |
|
608 |
-
#: ../admin/social_login.php:
|
609 |
msgid "Google+ Client ID"
|
610 |
msgstr "ID Cliente Google+"
|
611 |
|
612 |
-
#: ../admin/social_login.php:
|
613 |
#, php-format
|
614 |
msgid ""
|
615 |
"Required for GooglePlus Social Login to work. Please follow the "
|
@@ -620,11 +1017,11 @@ msgstr ""
|
|
620 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
621 |
"obtener ID Cliente GooglePlus"
|
622 |
|
623 |
-
#: ../admin/social_login.php:
|
624 |
msgid "Vkontakte Application ID"
|
625 |
msgstr "ID de App. Vkontakte"
|
626 |
|
627 |
-
#: ../admin/social_login.php:
|
628 |
#, php-format
|
629 |
msgid ""
|
630 |
"Required for Vkontakte Social Login to work. Please follow the documentation "
|
@@ -635,11 +1032,11 @@ msgstr ""
|
|
635 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
636 |
"obtener ID de app Vkontakte"
|
637 |
|
638 |
-
#: ../admin/social_login.php:
|
639 |
msgid "Instagram Client ID"
|
640 |
msgstr "ID Cliente Instagram"
|
641 |
|
642 |
-
#: ../admin/social_login.php:
|
643 |
#, php-format
|
644 |
msgid ""
|
645 |
"Required for Instagram Social Login to work. Please follow the documentation "
|
@@ -649,11 +1046,11 @@ msgstr ""
|
|
649 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
650 |
"obtener ID Cliente Instagram"
|
651 |
|
652 |
-
#: ../admin/social_login.php:
|
653 |
msgid "Include Javascript in website footer"
|
654 |
msgstr "Incluir Javascript en el pie de página del sitio web"
|
655 |
|
656 |
-
#: ../admin/social_login.php:
|
657 |
msgid ""
|
658 |
"If enabled (recommended), all the Javascript code will be included in the "
|
659 |
"footer of your website.<br/><strong>\"wp_footer\" and \"login_footer\" hooks "
|
@@ -666,19 +1063,19 @@ msgstr ""
|
|
666 |
"existen en su tema de Wordpress. En este caso, mantener esta opción "
|
667 |
"desactivada."
|
668 |
|
669 |
-
#: ../admin/social_login.php:
|
670 |
msgid "Login options"
|
671 |
msgstr "Opciones Inicio de Sesión"
|
672 |
|
673 |
-
#: ../admin/social_login.php:
|
674 |
msgid "Text to display above the Social Login interface"
|
675 |
msgstr "Texto para mostrar por encima de la interfaz Social Login"
|
676 |
|
677 |
-
#: ../admin/social_login.php:
|
678 |
msgid "Enable at login page"
|
679 |
msgstr "Activar en la página de inicio de sesión"
|
680 |
|
681 |
-
#: ../admin/social_login.php:
|
682 |
#, fuzzy
|
683 |
msgid ""
|
684 |
"Social Login interface will get enabled at the login page of your website"
|
@@ -686,11 +1083,11 @@ 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:
|
690 |
msgid "Enable at register page"
|
691 |
msgstr "Habilitar en página de registro"
|
692 |
|
693 |
-
#: ../admin/social_login.php:
|
694 |
#, fuzzy
|
695 |
msgid ""
|
696 |
"Social Login interface will get enabled at the registration page of your "
|
@@ -698,24 +1095,24 @@ msgid ""
|
|
698 |
msgstr ""
|
699 |
"La interfaz Social Login se habilitará en su página de registro Wordpress"
|
700 |
|
701 |
-
#: ../admin/social_login.php:
|
702 |
msgid "Enable at comment form"
|
703 |
msgstr "Habilitar en formulario de Comentario"
|
704 |
|
705 |
-
#: ../admin/social_login.php:
|
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:
|
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:
|
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,15 +1121,15 @@ msgstr ""
|
|
724 |
"Login usuario, comentario será aprobado inmediatamente sin tener en "
|
725 |
"moderación."
|
726 |
|
727 |
-
#: ../admin/social_login.php:
|
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:
|
732 |
msgid "Enable social avatar"
|
733 |
msgstr "Habilitar avatar Social"
|
734 |
|
735 |
-
#: ../admin/social_login.php:
|
736 |
msgid ""
|
737 |
"Social profile pictures of the logged in user will be displayed as profile "
|
738 |
"avatar"
|
@@ -740,11 +1137,11 @@ msgstr ""
|
|
740 |
"Imágenes de Perfil Social del usuario registrado aparecerán como avatar del "
|
741 |
"perfil"
|
742 |
|
743 |
-
#: ../admin/social_login.php:
|
744 |
msgid "Email required"
|
745 |
msgstr "Requiere E-mail"
|
746 |
|
747 |
-
#: ../admin/social_login.php:
|
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,11 +1152,11 @@ msgstr ""
|
|
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:
|
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:
|
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,37 +1167,32 @@ msgstr ""
|
|
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:
|
774 |
msgid "Login redirection"
|
775 |
msgstr "Redireccionamiento de inicio de sesión"
|
776 |
|
777 |
-
#: ../admin/social_login.php:
|
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:
|
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:
|
791 |
msgid "Custom Url"
|
792 |
msgstr "Url personalizada"
|
793 |
|
794 |
-
#: ../admin/social_login.php:
|
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:
|
800 |
msgid "Registration redirection"
|
801 |
msgstr "redirección de registro"
|
802 |
|
803 |
-
#: ../admin/social_login.php:
|
804 |
msgid ""
|
805 |
"User will be redirected to the selected page after registration (first "
|
806 |
"Social Login) through Social Login"
|
@@ -808,15 +1200,15 @@ msgstr ""
|
|
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:
|
812 |
msgid "Email popup options"
|
813 |
msgstr "opciones emergentes de correo electrónico"
|
814 |
|
815 |
-
#: ../admin/social_login.php:
|
816 |
msgid "Text on 'Email required' popup"
|
817 |
msgstr "Texto en 'Email required' popup"
|
818 |
|
819 |
-
#: ../admin/social_login.php:
|
820 |
msgid ""
|
821 |
"This text will be displayed on email required popup. Leave empty if not "
|
822 |
"required."
|
@@ -824,12 +1216,12 @@ msgstr ""
|
|
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:
|
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:
|
833 |
msgid ""
|
834 |
"This message will be displayed to user if it provides invalid or already "
|
835 |
"registered email"
|
@@ -837,11 +1229,11 @@ msgstr ""
|
|
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:
|
841 |
msgid "Email popup height"
|
842 |
msgstr "email altura popup"
|
843 |
|
844 |
-
#: ../admin/social_login.php:
|
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,11 +1244,11 @@ msgstr ""
|
|
852 |
"emergente mediante la especificación de esta opción. Dejar en blanco para el "
|
853 |
"defecto."
|
854 |
|
855 |
-
#: ../admin/social_login.php:
|
856 |
msgid "Enable email verification"
|
857 |
msgstr "Habilitar verificación de correo electrónico"
|
858 |
|
859 |
-
#: ../admin/social_login.php:
|
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,11 +1258,7 @@ msgstr ""
|
|
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:
|
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,14 +1266,7 @@ msgstr ""
|
|
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:
|
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,12 +1275,7 @@ msgstr ""
|
|
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:
|
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 "
|
@@ -909,11 +1285,7 @@ msgstr ""
|
|
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:
|
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</"
|
@@ -931,11 +1303,15 @@ msgstr "Social Sharing"
|
|
931 |
msgid "Troubleshooter"
|
932 |
msgstr "Solucionador de problemas"
|
933 |
|
934 |
-
#: ../admin/social_sharing.php:
|
|
|
|
|
|
|
|
|
935 |
msgid "Enable Social Sharing"
|
936 |
msgstr "Habilitar Social Sharing"
|
937 |
|
938 |
-
#: ../admin/social_sharing.php:
|
939 |
msgid ""
|
940 |
"Master control for Social Sharing. It must be checked to enable Social "
|
941 |
"Sharing functionality"
|
@@ -943,11 +1319,11 @@ msgstr ""
|
|
943 |
"Control maestro para compartir en redes sociales. Esto debe estar marcado "
|
944 |
"para habilitar la funcionalidad de Social Sharing "
|
945 |
|
946 |
-
#: ../admin/social_sharing.php:
|
947 |
msgid "Delete all the options on plugin deletion"
|
948 |
msgstr "Eliminar todas las opciones de plugin de eliminación"
|
949 |
|
950 |
-
#: ../admin/social_sharing.php:
|
951 |
msgid ""
|
952 |
"If enabled, plugin options will get deleted when plugin is deleted/"
|
953 |
"uninstalled and you will need to reconfigure the options when you install "
|
@@ -957,7 +1333,7 @@ msgstr ""
|
|
957 |
"plugin / desinstalado y tendrá que volver a configurar las opciones al "
|
958 |
"instalar el plugin próxima vez."
|
959 |
|
960 |
-
#: ../admin/social_sharing.php:
|
961 |
#, fuzzy
|
962 |
msgid ""
|
963 |
"<strong>Note:</strong> To disable sharing on particular page/post, edit that "
|
@@ -969,163 +1345,147 @@ msgstr ""
|
|
969 |
"Intercambio Social en esta página \" </ strong> la opción en la parte "
|
970 |
"inferior de <strong > \"Super Socializer \" </ strong>"
|
971 |
|
972 |
-
#: ../admin/social_sharing.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
973 |
msgid "Horizontal Sharing Interface Options"
|
974 |
msgstr "Horizontales Opciones para compartir la interfaz de"
|
975 |
|
976 |
-
#: ../admin/social_sharing.php:
|
977 |
msgid "Enable horizontal sharing interface"
|
978 |
msgstr "Habilitar interfaz de intercambio horizontal"
|
979 |
|
980 |
-
#: ../admin/social_sharing.php:
|
981 |
msgid "Master control to enable horizontal sharing"
|
982 |
msgstr "Control maestro para permitir el intercambio horizontal"
|
983 |
|
984 |
-
#: ../admin/social_sharing.php:
|
985 |
msgid "The text to display above the sharing interface"
|
986 |
msgstr "El texto que se muestra por encima de la interfaz compartida "
|
987 |
|
988 |
-
#: ../admin/social_sharing.php:
|
989 |
msgid "Print"
|
990 |
msgstr ""
|
991 |
|
992 |
-
#: ../admin/social_sharing.php:
|
993 |
msgid "Email"
|
994 |
msgstr ""
|
995 |
|
996 |
-
#: ../admin/social_sharing.php:
|
997 |
msgid "Yahoo"
|
998 |
msgstr ""
|
999 |
|
1000 |
-
#: ../admin/social_sharing.php:
|
1001 |
msgid "Reddit"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
-
#: ../admin/social_sharing.php:
|
1005 |
msgid "Digg"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
-
#: ../admin/social_sharing.php:
|
1009 |
msgid "Delicious"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
-
#: ../admin/social_sharing.php:
|
1013 |
msgid "StumbleUpon"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
-
#: ../admin/social_sharing.php:
|
1017 |
msgid "Float it"
|
1018 |
msgstr ""
|
1019 |
|
1020 |
-
#: ../admin/social_sharing.php:
|
1021 |
msgid "Tumblr"
|
1022 |
msgstr ""
|
1023 |
|
1024 |
-
#: ../admin/social_sharing.php:
|
1025 |
msgid "Pinterest"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
-
#: ../admin/social_sharing.php:
|
1029 |
msgid "Select the providers for sharing interface"
|
1030 |
msgstr "Seleccione los proveedores para compartir la interfaz"
|
1031 |
|
1032 |
-
#: ../admin/social_sharing.php:
|
1033 |
msgid "Rearrange icons"
|
1034 |
msgstr "Reorganizar iconos"
|
1035 |
|
1036 |
-
#: ../admin/social_sharing.php:
|
1037 |
msgid "Drag the icons to rearrange in desired order"
|
1038 |
msgstr "Arrastre los iconos para reorganizar estos con el fin deseado "
|
1039 |
|
1040 |
-
#: ../admin/social_sharing.php:
|
1041 |
-
msgid "Position with respect to content"
|
1042 |
-
msgstr "Posición con respecto al contenido"
|
1043 |
-
|
1044 |
-
#: ../admin/social_sharing.php:258
|
1045 |
-
msgid "Top of the content"
|
1046 |
-
msgstr "Parte superior del contenido"
|
1047 |
-
|
1048 |
-
#: ../admin/social_sharing.php:260
|
1049 |
-
msgid "Bottom of the content"
|
1050 |
-
msgstr "Parte inferior del contenido"
|
1051 |
-
|
1052 |
-
#: ../admin/social_sharing.php:267
|
1053 |
msgid "Specify position of the sharing interface with respect to the content"
|
1054 |
msgstr ""
|
1055 |
"Especificar la posición de la interfaz compartir con respecto al contenido"
|
1056 |
|
1057 |
-
#: ../admin/social_sharing.php:
|
1058 |
msgid "Sharing location"
|
1059 |
msgstr "Ubicación de uso compartido"
|
1060 |
|
1061 |
-
#: ../admin/social_sharing.php:
|
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 |
-
|
1077 |
-
#: ../admin/social_sharing.php:294
|
1078 |
msgid "Specify the pages where you want to enable Sharing interface"
|
1079 |
msgstr ""
|
1080 |
"Especifique las páginas en las que desee habilitar la interfaz Uso compartido"
|
1081 |
|
1082 |
-
#: ../admin/social_sharing.php:
|
1083 |
msgid "Show share counts"
|
1084 |
msgstr "conteos muestran acciones"
|
1085 |
|
1086 |
-
#: ../admin/social_sharing.php:
|
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 "
|
1090 |
"iconos para compartir."
|
1091 |
|
1092 |
-
#: ../admin/social_sharing.php:
|
1093 |
msgid "Vertical (Floating) Sharing Interface Options"
|
1094 |
msgstr "Vertical (flotante) Opciones de interfaz compartir"
|
1095 |
|
1096 |
-
#: ../admin/social_sharing.php:
|
1097 |
msgid "Enable vertical (floating) sharing interface"
|
1098 |
msgstr "Habilitar vertical (flotante) interfaz compartida"
|
1099 |
|
1100 |
-
#: ../admin/social_sharing.php:
|
1101 |
msgid "Master control to enable vertical (floating) sharing widget"
|
1102 |
msgstr ""
|
1103 |
"Control maestro para permitir vertical (flotante) widget de intercambio"
|
1104 |
|
1105 |
-
#: ../admin/social_sharing.php:
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
msgid "Right"
|
1117 |
-
msgstr "Claro"
|
1118 |
|
1119 |
-
#: ../admin/social_sharing.php:
|
1120 |
#, fuzzy
|
1121 |
msgid "Horizontal alignment of the sharing interface"
|
1122 |
msgstr "Habilitar interfaz de intercambio horizontal"
|
1123 |
|
1124 |
-
#: ../admin/social_sharing.php:
|
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,12 +1493,7 @@ msgstr ""
|
|
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:
|
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 "
|
@@ -1147,11 +1502,7 @@ 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:
|
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,13 +1510,13 @@ msgstr ""
|
|
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:
|
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:
|
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,11 +1525,7 @@ msgstr ""
|
|
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:
|
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,7 +1533,7 @@ msgstr ""
|
|
1186 |
"Utilice <strong>style</ strong> atributo de estilo de la interfaz Uso "
|
1187 |
"compartido sociales prestados"
|
1188 |
|
1189 |
-
#: ../admin/social_sharing.php:
|
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,11 +1542,7 @@ msgstr ""
|
|
1195 |
"(\"horizontal \" o \"vertical \") de la interfaz Uso compartido Social. Tipo "
|
1196 |
"por defecto es \"horizontal \"."
|
1197 |
|
1198 |
-
#: ../admin/social_sharing.php:
|
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,11 +1551,7 @@ msgstr ""
|
|
1208 |
"izquierda (distancia formar el lado izquierdo de la pantalla) de interfaz de "
|
1209 |
"uso compartido Social."
|
1210 |
|
1211 |
-
#: ../admin/social_sharing.php:
|
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,7 +1560,7 @@ msgstr ""
|
|
1221 |
"superior (distancia forman la parte superior de la pantalla) de la interfaz "
|
1222 |
"Uso compartido Social."
|
1223 |
|
1224 |
-
#: ../admin/social_sharing.php:
|
1225 |
msgid ""
|
1226 |
"Replace <strong>SHORTCODE</strong> in above code with the required shortcode "
|
1227 |
"like <strong>[TheChamp-Sharing style=\"background-color:#000;\"]</strong>, "
|
@@ -1231,7 +1570,7 @@ msgstr ""
|
|
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:
|
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,11 +1583,11 @@ msgstr ""
|
|
1244 |
"Socializer - Sharing (Vertical Floating Widget) </ strong> widgets en el "
|
1245 |
"área requerida."
|
1246 |
|
1247 |
-
#: ../admin/social_sharing.php:
|
1248 |
msgid "Facebook Sharing Troubleshooter"
|
1249 |
msgstr "Facebook Sharing Solucionador de problemas"
|
1250 |
|
1251 |
-
#: ../admin/social_sharing.php:
|
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) "
|
@@ -1258,30 +1597,63 @@ msgstr ""
|
|
1258 |
"enlace e introduzca la url problemático (donde compartir en Facebook no "
|
1259 |
"funciona correctamente) de su sitio web en el campo de texto:"
|
1260 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1261 |
#: ../helper.php:7
|
1262 |
msgid "Options saved successfully"
|
1263 |
msgstr "Opciones guardadas correctamente"
|
1264 |
|
1265 |
-
#: ../helper.php:
|
1266 |
msgid "Settings"
|
1267 |
msgstr "Configuración"
|
1268 |
|
1269 |
-
#: ../inc/social_sharing.php:
|
1270 |
msgid "Invalid request"
|
1271 |
msgstr "petición no válida"
|
1272 |
|
1273 |
-
#: ../inc/social_sharing.php:
|
1274 |
msgid "Providers not selected"
|
1275 |
msgstr "Los proveedores no seleccionados"
|
1276 |
|
1277 |
-
#: ../inc/social_sharing.php:
|
1278 |
msgid "Disable Horizontal Social Sharing on this "
|
1279 |
msgstr "Desactivar Horizontal Intercambio Social en esta"
|
1280 |
|
1281 |
-
#: ../inc/social_sharing.php:
|
1282 |
msgid "Disable Vertical Social Sharing on this "
|
1283 |
msgstr "Desactivar Vertical Intercambio Social en esta"
|
1284 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1285 |
#: ../inc/widget.php:11
|
1286 |
msgid "Super Socializer - Login"
|
1287 |
msgstr "Super Socializer - Login"
|
@@ -1299,67 +1671,104 @@ msgstr ""
|
|
1299 |
msgid "Log Out"
|
1300 |
msgstr "Cerrar sesión"
|
1301 |
|
1302 |
-
#: ../inc/widget.php:77 ../inc/widget.php:
|
1303 |
msgid "Title:"
|
1304 |
msgstr "Titulo:"
|
1305 |
|
1306 |
-
#: ../inc/widget.php:79 ../inc/widget.php:
|
1307 |
msgid "Before widget content:"
|
1308 |
msgstr " Antes del contenido del widget:"
|
1309 |
|
1310 |
-
#: ../inc/widget.php:81 ../inc/widget.php:
|
1311 |
msgid "After widget content:"
|
1312 |
msgstr "Después del contenido del widget:"
|
1313 |
|
1314 |
-
#: ../inc/widget.php:84 ../inc/widget.php:
|
|
|
1315 |
msgid "Hide for logged in users:"
|
1316 |
msgstr "Ocultar para los usuarios registrados:"
|
1317 |
|
1318 |
#: ../inc/widget.php:103
|
|
|
1319 |
msgid ""
|
1320 |
-
"Horizontal widget. Let your website users share content on popular
|
1321 |
-
"networks like Facebook, Twitter, Tumblr, Google+ and many more"
|
1322 |
msgstr ""
|
1323 |
"Widget Horizontal. Deje que sus usuarios del website compartan contenidos en "
|
1324 |
"las redes sociales populares como Facebook, Twitter, Tumblr, Google+ y "
|
1325 |
"muchos más "
|
1326 |
|
1327 |
-
#: ../inc/widget.php:
|
|
|
1328 |
msgid ""
|
1329 |
-
"Vertical floating widget. Let your website users share content on
|
1330 |
-
"Social networks like Facebook, Twitter, Tumblr, Google+ and many more"
|
1331 |
msgstr ""
|
1332 |
"Widget de flotación vertical. Deje que sus usuarios del website compartan "
|
1333 |
"contenidos en las redes sociales populares como Facebook, Twitter, Tumblr, "
|
1334 |
"Google+ y muchos más "
|
1335 |
|
1336 |
-
#: ../inc/widget.php:
|
1337 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
1338 |
msgstr "Desplazamiento hacia la izquierda:"
|
1339 |
|
1340 |
-
#: ../inc/widget.php:
|
1341 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1342 |
msgstr "Margen superior:"
|
1343 |
|
1344 |
-
#: ../
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:
|
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:
|
1354 |
msgid "Notification"
|
1355 |
msgstr "Notificación"
|
1356 |
|
1357 |
-
#: ../super_socializer.php:
|
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"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Super Socializer 2.8.0\n"
|
4 |
+
"POT-Creation-Date: 2014-07-23 16:58-0800\n"
|
5 |
+
"PO-Revision-Date: 2014-07-23 17:00-0800\n"
|
6 |
"Last-Translator: The Champ <lordofthechamps@gmail.com>\n"
|
7 |
"Language-Team: The Champ <lordofthechamps@gmail.com>\n"
|
8 |
"Language: es\n"
|
31 |
msgid "Facebook Commenting"
|
32 |
msgstr "Comentarios Facebook"
|
33 |
|
34 |
+
#: ../admin/facebook.php:12 ../admin/facebook.php:297
|
35 |
msgid "Feed"
|
36 |
msgstr "Alimentación"
|
37 |
|
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:108
|
91 |
#, fuzzy
|
92 |
msgid "Text on \"Switch to Facebook Commenting\" button"
|
93 |
msgstr "Consérvese únicamente Facebook Comentando"
|
94 |
|
95 |
+
#: ../admin/facebook.php:118
|
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:127 ../admin/social_counter.php:182
|
103 |
+
#: ../admin/social_login.php:247 ../admin/social_sharing.php:204
|
104 |
msgid "Title"
|
105 |
msgstr "Titulo"
|
106 |
|
107 |
+
#: ../admin/facebook.php:137
|
108 |
msgid "Specify a title for commenting"
|
109 |
msgstr "Especificar un título para comentarios"
|
110 |
|
111 |
+
#: ../admin/facebook.php:146
|
112 |
msgid "Url to comment on"
|
113 |
msgstr "URL donde comentar"
|
114 |
|
115 |
+
#: ../admin/facebook.php:156
|
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:164
|
130 |
msgid "Width"
|
131 |
msgstr "Ancho"
|
132 |
|
133 |
+
#: ../admin/facebook.php:174
|
134 |
#, fuzzy
|
135 |
msgid ""
|
136 |
"Leave empty to auto-adjust the width. <br/>The width (in pixels) of the "
|
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:182
|
145 |
msgid "Color Scheme"
|
146 |
msgstr "Esquema de colores"
|
147 |
|
148 |
+
#: ../admin/facebook.php:186
|
149 |
msgid "Light"
|
150 |
msgstr "Claro"
|
151 |
|
152 |
+
#: ../admin/facebook.php:187
|
153 |
msgid "Dark"
|
154 |
msgstr "Obscuro"
|
155 |
|
156 |
+
#: ../admin/facebook.php:195
|
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:203
|
163 |
msgid "Number of posts"
|
164 |
msgstr "Número de publicaciones"
|
165 |
|
166 |
+
#: ../admin/facebook.php:213
|
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:221
|
175 |
msgid "Order by"
|
176 |
msgstr "Ordenar por"
|
177 |
|
178 |
+
#: ../admin/facebook.php:225
|
179 |
msgid "Social"
|
180 |
msgstr "Social"
|
181 |
|
182 |
+
#: ../admin/facebook.php:226
|
183 |
msgid "Reverse Time"
|
184 |
msgstr "Revertir tiempo"
|
185 |
|
186 |
+
#: ../admin/facebook.php:227
|
187 |
msgid "Time"
|
188 |
msgstr "Tiempo"
|
189 |
|
190 |
+
#: ../admin/facebook.php:235
|
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:243
|
195 |
msgid "Mobile"
|
196 |
msgstr "Móvil "
|
197 |
|
198 |
+
#: ../admin/facebook.php:247
|
199 |
msgid "Auto Detect"
|
200 |
msgstr "Auto detectar"
|
201 |
|
202 |
+
#: ../admin/facebook.php:248
|
203 |
msgid "True"
|
204 |
msgstr "Verdadero"
|
205 |
|
206 |
+
#: ../admin/facebook.php:249
|
207 |
msgid "False"
|
208 |
msgstr "Falso"
|
209 |
|
210 |
+
#: ../admin/facebook.php:257
|
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:265
|
219 |
msgid "Language"
|
220 |
msgstr "Idioma"
|
221 |
|
222 |
+
#: ../admin/facebook.php:275
|
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:290
|
235 |
msgid "Important note"
|
236 |
msgstr "nota importante"
|
237 |
|
238 |
+
#: ../admin/facebook.php:292
|
239 |
#, fuzzy, php-format
|
240 |
msgid ""
|
241 |
"To use this feature follow the steps mentioned at <a href=\"%s\" target="
|
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:303
|
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:313
|
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:323
|
261 |
msgid "Facebook Feed Options"
|
262 |
msgstr "Opciones de Alimentación en Facebook"
|
263 |
|
264 |
+
#: ../admin/facebook.php:329
|
265 |
msgid "Message"
|
266 |
msgstr "Mensaje"
|
267 |
|
268 |
+
#: ../admin/facebook.php:339
|
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:348
|
277 |
msgid "Link (required)"
|
278 |
msgstr "Enlace (requerido)"
|
279 |
|
280 |
+
#: ../admin/facebook.php:358
|
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:366
|
289 |
msgid "Picture"
|
290 |
msgstr "Imagen"
|
291 |
|
292 |
+
#: ../admin/facebook.php:376
|
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:385
|
303 |
msgid "Source"
|
304 |
msgstr "Fuente"
|
305 |
|
306 |
+
#: ../admin/facebook.php:395
|
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:403
|
317 |
msgid "Name"
|
318 |
msgstr " Nombre"
|
319 |
|
320 |
+
#: ../admin/facebook.php:413
|
321 |
msgid "The name of the link attachment"
|
322 |
msgstr "El nombre del archivo adjunto del enlace"
|
323 |
|
324 |
+
#: ../admin/facebook.php:422
|
325 |
msgid "Caption"
|
326 |
msgstr "Leyenda"
|
327 |
|
328 |
+
#: ../admin/facebook.php:432
|
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:441
|
337 |
msgid "Description"
|
338 |
msgstr "Descripción"
|
339 |
|
340 |
+
#: ../admin/facebook.php:451
|
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:465 ../admin/social_counter.php:556
|
351 |
+
#: ../admin/social_login.php:566 ../admin/social_sharing.php:792
|
352 |
msgid "Save Changes"
|
353 |
msgstr "Guardar cambios"
|
354 |
|
482 |
"En la sección Uso compartido Social, puede elegir las Redes Sociales para "
|
483 |
"compartir y configurar los opciones para compartir."
|
484 |
|
485 |
+
#: ../admin/social_counter.php:12 ../admin/social_counter.php:20
|
486 |
#: ../admin/social_login.php:10 ../admin/social_login.php:18
|
487 |
+
#: ../admin/social_sharing.php:15 ../admin/social_sharing.php:25
|
488 |
msgid "Basic Configuration"
|
489 |
msgstr "Configuración Básica"
|
490 |
|
491 |
+
#: ../admin/social_counter.php:13
|
492 |
+
#, fuzzy
|
493 |
+
msgid "Social Counter"
|
494 |
msgstr "Social Login"
|
495 |
|
496 |
+
#: ../admin/social_counter.php:14 ../admin/social_login.php:12
|
497 |
+
#: ../admin/social_sharing.php:17
|
498 |
msgid "Shortcode & Widget"
|
499 |
msgstr "Widgets y shortcodes"
|
500 |
|
501 |
+
#: ../admin/social_counter.php:26
|
502 |
+
#, fuzzy
|
503 |
+
msgid "Enable Social Counter"
|
504 |
+
msgstr "Habilitar Social Login"
|
505 |
+
|
506 |
+
#: ../admin/social_counter.php:36
|
507 |
+
#, fuzzy
|
508 |
+
msgid ""
|
509 |
+
"Master control for Social Counter. It must be checked to enable Social "
|
510 |
+
"Counter functionality"
|
511 |
+
msgstr ""
|
512 |
+
"Control Maestro para Social Login. Debe comprobarse para permitir la "
|
513 |
+
"funcionalidad de Social Login"
|
514 |
+
|
515 |
+
#: ../admin/social_counter.php:50
|
516 |
+
#, fuzzy
|
517 |
+
msgid ""
|
518 |
+
"<strong>Note:</strong> To disable counter on particular page/post, edit that "
|
519 |
+
"page/post and check the options at the bottom in <strong>\"Super Socializer"
|
520 |
+
"\"</strong> section"
|
521 |
+
msgstr ""
|
522 |
+
"<strong> Nota: </ strong> Para deshabilitar el uso compartido en concreto la "
|
523 |
+
"página / post, edite la página / post y comprobar el <strong> \"Desactivar "
|
524 |
+
"Intercambio Social en esta página \" </ strong> la opción en la parte "
|
525 |
+
"inferior de <strong > \"Super Socializer \" </ strong>"
|
526 |
+
|
527 |
+
#: ../admin/social_counter.php:67 ../admin/social_sharing.php:89
|
528 |
+
msgid "bit.ly url shortener"
|
529 |
+
msgstr "bit.ly url acortador"
|
530 |
+
|
531 |
+
#: ../admin/social_counter.php:73
|
532 |
+
msgid "Enable bit.ly url shortener for tweet button"
|
533 |
+
msgstr "Habilitar acortador de url bit.ly para el botón de Twitter"
|
534 |
+
|
535 |
+
#: ../admin/social_counter.php:83 ../admin/social_sharing.php:105
|
536 |
+
#, fuzzy
|
537 |
+
msgid "Master control to enable bit.ly url shortening for sharing"
|
538 |
+
msgstr "Control maestro para permitir el intercambio horizontal"
|
539 |
+
|
540 |
+
#: ../admin/social_counter.php:91 ../admin/social_sharing.php:113
|
541 |
+
msgid "bit.ly username"
|
542 |
+
msgstr "bit.ly nombre de usuario"
|
543 |
+
|
544 |
+
#: ../admin/social_counter.php:101 ../admin/social_sharing.php:123
|
545 |
+
#, fuzzy, php-format
|
546 |
+
msgid ""
|
547 |
+
"Login to your bit.ly account and navigate to <a href=\"%s\" target=\"_blank"
|
548 |
+
"\">this link</a> to get bit.ly username"
|
549 |
+
msgstr ""
|
550 |
+
"Requerido para que funcione Twitter Social Login. Por favor, siga la "
|
551 |
+
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
552 |
+
"obtener Twitter Secreto del Consumidor"
|
553 |
+
|
554 |
+
#: ../admin/social_counter.php:110 ../admin/social_sharing.php:132
|
555 |
+
#, fuzzy
|
556 |
+
msgid "bit.ly API Key"
|
557 |
+
msgstr "Clave Consumidor Twitter"
|
558 |
+
|
559 |
+
#: ../admin/social_counter.php:120 ../admin/social_sharing.php:142
|
560 |
+
#, fuzzy, php-format
|
561 |
+
msgid ""
|
562 |
+
"Login to your bit.ly account and navigate to <a href=\"%s\" target=\"_blank"
|
563 |
+
"\">this link</a> to get your API key"
|
564 |
+
msgstr ""
|
565 |
+
"Requerida para que funcione Twitter Social Login. Por favor, siga la "
|
566 |
+
"documentación <a href=\"%s\" target=\"_blank\"> en este enlace</a> para "
|
567 |
+
"obtener su Clave Consumidor Twitter"
|
568 |
+
|
569 |
+
#: ../admin/social_counter.php:130
|
570 |
+
msgid "Twitter username in tweet button"
|
571 |
+
msgstr "Twitter nombre de usuario en el botón de Twitter"
|
572 |
+
|
573 |
+
#: ../admin/social_counter.php:136 ../admin/social_sharing.php:158
|
574 |
+
msgid "Twitter username (without @)"
|
575 |
+
msgstr "Twitter nombre de usuario (sin @)"
|
576 |
+
|
577 |
+
#: ../admin/social_counter.php:146
|
578 |
+
msgid ""
|
579 |
+
"Provided username will be appended after the content being tweeted as \"via "
|
580 |
+
"@USERNAME\". Leave empty if you do not want any username."
|
581 |
+
msgstr ""
|
582 |
+
"Nombre de usuario proporcionado se añadirá después del contenido que se está "
|
583 |
+
"tuiteó como \"a travésUSERNAME\". Dejar vacío si no desea ningún nombre de "
|
584 |
+
"usuario."
|
585 |
+
|
586 |
+
#: ../admin/social_counter.php:156
|
587 |
+
#, fuzzy
|
588 |
+
msgid "Horizontal Counter Interface Options"
|
589 |
+
msgstr "Horizontales Opciones para compartir la interfaz de"
|
590 |
+
|
591 |
+
#: ../admin/social_counter.php:162
|
592 |
+
#, fuzzy
|
593 |
+
msgid "Enable horizontal counter interface"
|
594 |
+
msgstr "Habilitar interfaz de intercambio horizontal"
|
595 |
+
|
596 |
+
#: ../admin/social_counter.php:172
|
597 |
+
#, fuzzy
|
598 |
+
msgid "Master control to enable horizontal counter"
|
599 |
+
msgstr "Control maestro para permitir el intercambio horizontal"
|
600 |
+
|
601 |
+
#: ../admin/social_counter.php:192
|
602 |
+
#, fuzzy
|
603 |
+
msgid "The text to display above the counter interface"
|
604 |
+
msgstr "El texto que se muestra por encima de la interfaz compartida "
|
605 |
+
|
606 |
+
#: ../admin/social_counter.php:200 ../admin/social_counter.php:329
|
607 |
+
#, fuzzy
|
608 |
+
msgid "Select and rearrange providers"
|
609 |
+
msgstr "Seleccionar proveedores"
|
610 |
+
|
611 |
+
#: ../admin/social_counter.php:244 ../admin/social_counter.php:372
|
612 |
+
#, fuzzy
|
613 |
+
msgid "Select the providers for counter interface. Drag them to rearrange."
|
614 |
+
msgstr "Seleccione los proveedores para compartir la interfaz"
|
615 |
+
|
616 |
+
#: ../admin/social_counter.php:252 ../admin/social_sharing.php:344
|
617 |
+
msgid "Position with respect to content"
|
618 |
+
msgstr "Posición con respecto al contenido"
|
619 |
+
|
620 |
+
#: ../admin/social_counter.php:256 ../admin/social_sharing.php:348
|
621 |
+
msgid "Top of the content"
|
622 |
+
msgstr "Parte superior del contenido"
|
623 |
+
|
624 |
+
#: ../admin/social_counter.php:258 ../admin/social_sharing.php:350
|
625 |
+
msgid "Bottom of the content"
|
626 |
+
msgstr "Parte inferior del contenido"
|
627 |
+
|
628 |
+
#: ../admin/social_counter.php:265
|
629 |
+
#, fuzzy
|
630 |
+
msgid "Specify position of the counter interface with respect to the content"
|
631 |
+
msgstr ""
|
632 |
+
"Especificar la posición de la interfaz compartir con respecto al contenido"
|
633 |
+
|
634 |
+
#: ../admin/social_counter.php:273 ../admin/social_counter.php:477
|
635 |
+
#, fuzzy
|
636 |
+
msgid "Counter location"
|
637 |
+
msgstr "Ubicación de uso compartido"
|
638 |
+
|
639 |
+
#: ../admin/social_counter.php:277 ../admin/social_counter.php:481
|
640 |
+
#: ../admin/social_login.php:407 ../admin/social_login.php:433
|
641 |
+
#: ../admin/social_sharing.php:369 ../admin/social_sharing.php:663
|
642 |
+
msgid "Homepage"
|
643 |
+
msgstr "Página de inicio"
|
644 |
+
|
645 |
+
#: ../admin/social_counter.php:279 ../admin/social_counter.php:483
|
646 |
+
#: ../admin/social_sharing.php:371 ../admin/social_sharing.php:665
|
647 |
+
msgid "Posts"
|
648 |
+
msgstr "Publicaciones"
|
649 |
+
|
650 |
+
#: ../admin/social_counter.php:281 ../admin/social_counter.php:485
|
651 |
+
#: ../admin/social_sharing.php:373 ../admin/social_sharing.php:667
|
652 |
+
msgid "Pages"
|
653 |
+
msgstr "Páginas"
|
654 |
+
|
655 |
+
#: ../admin/social_counter.php:283 ../admin/social_counter.php:487
|
656 |
+
#: ../admin/social_sharing.php:375 ../admin/social_sharing.php:669
|
657 |
+
msgid "Excerpts"
|
658 |
+
msgstr "Extractos"
|
659 |
+
|
660 |
+
#: ../admin/social_counter.php:285 ../admin/social_counter.php:489
|
661 |
+
#: ../admin/social_sharing.php:377 ../admin/social_sharing.php:671
|
662 |
+
msgid "Category Archives"
|
663 |
+
msgstr "Archivos de la categoría"
|
664 |
+
|
665 |
+
#: ../admin/social_counter.php:292
|
666 |
+
#, fuzzy
|
667 |
+
msgid "Specify the pages where you want to enable counter interface"
|
668 |
+
msgstr ""
|
669 |
+
"Especifique las páginas en las que desee habilitar la interfaz Uso compartido"
|
670 |
+
|
671 |
+
#: ../admin/social_counter.php:302
|
672 |
+
#, fuzzy
|
673 |
+
msgid "Vertical (Floating) counter interface Options"
|
674 |
+
msgstr "Vertical (flotante) Opciones de interfaz compartir"
|
675 |
+
|
676 |
+
#: ../admin/social_counter.php:308
|
677 |
+
#, fuzzy
|
678 |
+
msgid "Enable vertical (floating) counter interface"
|
679 |
+
msgstr "Habilitar vertical (flotante) interfaz compartida"
|
680 |
+
|
681 |
+
#: ../admin/social_counter.php:318
|
682 |
+
#, fuzzy
|
683 |
+
msgid "Master control to enable vertical (floating) counter widget"
|
684 |
+
msgstr ""
|
685 |
+
"Control maestro para permitir vertical (flotante) widget de intercambio"
|
686 |
+
|
687 |
+
#: ../admin/social_counter.php:380 ../admin/social_sharing.php:562
|
688 |
+
#: ../inc/widget.php:277 ../inc/widget.php:473
|
689 |
+
msgid "Background Color"
|
690 |
+
msgstr "color de fondo"
|
691 |
+
|
692 |
+
#: ../admin/social_counter.php:390
|
693 |
+
msgid ""
|
694 |
+
"Specify the color or hex code (example #cc78e0) for the background of "
|
695 |
+
"vertical counter bar. Leave empty for transparent. You can get the hex code "
|
696 |
+
"of the required color from <a href=\"http://www.colorpicker.com/\" target="
|
697 |
+
"\"_blank\">this link</a>"
|
698 |
+
msgstr ""
|
699 |
+
"Especifique el color o el código hexadecimal (ejemplo # cc78e0) para el "
|
700 |
+
"fondo de barra de bar vertical. Dejar vacío para transparente. Puede obtener "
|
701 |
+
"el código hexadecimal del color deseado de <a href=\"http://www.colorpicker."
|
702 |
+
"com/\" target=\"_blank\"> este enlace </a>"
|
703 |
+
|
704 |
+
#: ../admin/social_counter.php:398 ../admin/social_sharing.php:580
|
705 |
+
#, fuzzy
|
706 |
+
msgid "Horizontal alignment"
|
707 |
+
msgstr "Horizontales Opciones para compartir la interfaz de"
|
708 |
+
|
709 |
+
#: ../admin/social_counter.php:402 ../admin/social_sharing.php:584
|
710 |
+
#: ../inc/widget.php:263 ../inc/widget.php:459
|
711 |
+
msgid "Left"
|
712 |
+
msgstr "izquierda"
|
713 |
+
|
714 |
+
#: ../admin/social_counter.php:403 ../admin/social_sharing.php:585
|
715 |
+
#: ../inc/widget.php:264 ../inc/widget.php:460
|
716 |
+
#, fuzzy
|
717 |
+
msgid "Right"
|
718 |
+
msgstr "Claro"
|
719 |
+
|
720 |
+
#: ../admin/social_counter.php:411
|
721 |
+
#, fuzzy
|
722 |
+
msgid "Horizontal alignment of the counter interface"
|
723 |
+
msgstr "Habilitar interfaz de intercambio horizontal"
|
724 |
+
|
725 |
+
#: ../admin/social_counter.php:420 ../admin/social_sharing.php:602
|
726 |
+
msgid "Left offset"
|
727 |
+
msgstr "desplazamiento izquierda"
|
728 |
+
|
729 |
+
#: ../admin/social_counter.php:430
|
730 |
+
#, fuzzy
|
731 |
+
msgid ""
|
732 |
+
"Specify a number. Increase in number will shift counter interface towards "
|
733 |
+
"right and decrease will shift it towards left."
|
734 |
+
msgstr ""
|
735 |
+
"Especifique un número. Aumento del número cambiará interfaz compartida hacia "
|
736 |
+
"la derecha y la disminución se desplazará hacia la izquierda."
|
737 |
+
|
738 |
+
#: ../admin/social_counter.php:440 ../admin/social_sharing.php:622
|
739 |
+
#, fuzzy
|
740 |
+
msgid "Right offset"
|
741 |
+
msgstr "desplazamiento izquierda"
|
742 |
+
|
743 |
+
#: ../admin/social_counter.php:450
|
744 |
+
#, fuzzy
|
745 |
+
msgid ""
|
746 |
+
"Specify a number. Increase in number will shift counter interface towards "
|
747 |
+
"left and decrease will shift it towards right."
|
748 |
+
msgstr ""
|
749 |
+
"Especifique un número. Aumento del número cambiará interfaz compartida hacia "
|
750 |
+
"la derecha y la disminución se desplazará hacia la izquierda."
|
751 |
+
|
752 |
+
#: ../admin/social_counter.php:459 ../admin/social_sharing.php:641
|
753 |
+
msgid "Top offset"
|
754 |
+
msgstr "superior compensar"
|
755 |
+
|
756 |
+
#: ../admin/social_counter.php:469
|
757 |
+
#, fuzzy
|
758 |
+
msgid ""
|
759 |
+
"Specify a number. Increase in number will shift counter interface towards "
|
760 |
+
"bottom and decrease will shift it towards top."
|
761 |
+
msgstr ""
|
762 |
+
"Especifique un número. Aumento del número cambiará compartir la interfaz "
|
763 |
+
"hacia la parte inferior y el descenso se desplazará hacia la parte superior."
|
764 |
+
|
765 |
+
#: ../admin/social_counter.php:496
|
766 |
+
#, fuzzy
|
767 |
+
msgid "Specify the pages where you want to enable vertical counter interface"
|
768 |
+
msgstr ""
|
769 |
+
"Especifique las páginas en las que desee habilitar la interfaz Uso "
|
770 |
+
"compartido verticales"
|
771 |
+
|
772 |
+
#: ../admin/social_counter.php:512 ../admin/social_login.php:539
|
773 |
+
#: ../admin/social_sharing.php:713
|
774 |
+
msgid "Shortcode"
|
775 |
+
msgstr "Shortcodes"
|
776 |
+
|
777 |
+
#: ../admin/social_counter.php:514
|
778 |
+
#, fuzzy
|
779 |
+
msgid ""
|
780 |
+
"You can use <strong>[TheChamp-Counter]</strong> Shortcode in the content of "
|
781 |
+
"required page/post where you want to display Social Counter interface."
|
782 |
+
msgstr ""
|
783 |
+
"Usted puede utilizar <strong> [TheChamp-Sharing] </ strong> Código corto en "
|
784 |
+
"el contenido de la página requerida / post en el que desea mostrar la "
|
785 |
+
"interfaz Uso compartido Social."
|
786 |
+
|
787 |
+
#: ../admin/social_counter.php:515 ../admin/social_counter.php:520
|
788 |
+
#: ../admin/social_counter.php:525 ../admin/social_counter.php:530
|
789 |
+
#: ../admin/social_counter.php:535 ../admin/social_login.php:542
|
790 |
+
#: ../admin/social_login.php:545 ../admin/social_sharing.php:716
|
791 |
+
#: ../admin/social_sharing.php:721 ../admin/social_sharing.php:726
|
792 |
+
#: ../admin/social_sharing.php:731 ../admin/social_sharing.php:736
|
793 |
+
msgid "Example"
|
794 |
+
msgstr "ejemplo"
|
795 |
+
|
796 |
+
#: ../admin/social_counter.php:517 ../admin/social_sharing.php:718
|
797 |
+
msgid "You can use following attributes in the Shortcode"
|
798 |
+
msgstr "Puede utilizar los atributos siguientes en el Código corto"
|
799 |
+
|
800 |
+
#: ../admin/social_counter.php:519
|
801 |
+
#, fuzzy
|
802 |
+
msgid ""
|
803 |
+
"Use <strong>style</strong> attribute to style the rendered Social Counter "
|
804 |
+
"interface"
|
805 |
+
msgstr ""
|
806 |
+
"Utilice <strong>style</ strong> atributo de estilo de la interfaz Uso "
|
807 |
+
"compartido sociales prestados"
|
808 |
+
|
809 |
+
#: ../admin/social_counter.php:524
|
810 |
+
#, fuzzy
|
811 |
+
msgid ""
|
812 |
+
"Use <strong>type</strong> attribute to specify the type (\"Horizontal\" or "
|
813 |
+
"\"Vertical\") of Social Counter interface. Default type is \"Horizontal\"."
|
814 |
+
msgstr ""
|
815 |
+
"Utilice <strong>type</ strong> atributo para especificar el tipo "
|
816 |
+
"(\"horizontal \" o \"vertical \") de la interfaz Uso compartido Social. Tipo "
|
817 |
+
"por defecto es \"horizontal \"."
|
818 |
+
|
819 |
+
#: ../admin/social_counter.php:528 ../admin/social_sharing.php:729
|
820 |
+
msgid "Left (Works with \"Vertical\" type interface only)"
|
821 |
+
msgstr "Izquierda (Trabaja con interfaz tipo \"vertical \" solamente)"
|
822 |
+
|
823 |
+
#: ../admin/social_counter.php:529
|
824 |
+
#, fuzzy
|
825 |
+
msgid ""
|
826 |
+
"Use <strong>left</strong> attribute to specify the left offset (distance "
|
827 |
+
"form the left side of the screen) of Social Counter interface."
|
828 |
+
msgstr ""
|
829 |
+
"Uso <strong> left</strong> atributo para especificar el desplazamiento "
|
830 |
+
"izquierda (distancia formar el lado izquierdo de la pantalla) de interfaz de "
|
831 |
+
"uso compartido Social."
|
832 |
+
|
833 |
+
#: ../admin/social_counter.php:533 ../admin/social_sharing.php:734
|
834 |
+
msgid "Top (Works with \"Vertical\" type interface only)"
|
835 |
+
msgstr "Top (Trabaja con \"vertical \" tipo de interfaz única)"
|
836 |
+
|
837 |
+
#: ../admin/social_counter.php:534
|
838 |
+
#, fuzzy
|
839 |
+
msgid ""
|
840 |
+
"Use <strong>top</strong> attribute to specify the top offset (distance form "
|
841 |
+
"the top of the screen) of Social Counter interface."
|
842 |
+
msgstr ""
|
843 |
+
"Utilice <strong>top</strong> atributo para especificar el desplazamiento "
|
844 |
+
"superior (distancia forman la parte superior de la pantalla) de la interfaz "
|
845 |
+
"Uso compartido Social."
|
846 |
+
|
847 |
+
#: ../admin/social_counter.php:537 ../admin/social_login.php:547
|
848 |
+
#: ../admin/social_sharing.php:738
|
849 |
+
#, fuzzy
|
850 |
+
msgid "You can use shortcode in PHP file as following"
|
851 |
+
msgstr "Usted puede ver el plugin en acción en el siguiente enlace"
|
852 |
+
|
853 |
+
#: ../admin/social_counter.php:539
|
854 |
+
#, fuzzy
|
855 |
+
msgid ""
|
856 |
+
"Replace <strong>SHORTCODE</strong> in above code with the required shortcode "
|
857 |
+
"like <strong>[TheChamp-Counter style=\"background-color:#000;\"]</strong>, "
|
858 |
+
"so the final code looks like following"
|
859 |
+
msgstr ""
|
860 |
+
"Reemplace <strong>SHORTCODE</ strong> en el código anterior con el código "
|
861 |
+
"corto requerido como <strong>[TheChamp-Login style=\"background-color: #000;"
|
862 |
+
"\"]</ strong>, por lo que el código final se parece a siguiente"
|
863 |
+
|
864 |
+
#: ../admin/social_counter.php:545 ../admin/social_login.php:555
|
865 |
+
#: ../admin/social_sharing.php:746
|
866 |
+
msgid "Widget"
|
867 |
+
msgstr ""
|
868 |
+
|
869 |
+
#: ../admin/social_counter.php:547
|
870 |
+
#, fuzzy
|
871 |
+
msgid ""
|
872 |
+
"You can navigate to the <strong>Appearance</strong> > <strong>Widgets</"
|
873 |
+
"strong> section in the left pan and drag <strong>Super Socializer - Counter "
|
874 |
+
"(Horizontal Widget)</strong> and <strong>Super Socializer - Counter "
|
875 |
+
"(Vertical Floating Widget)</strong> widgets in the required area."
|
876 |
+
msgstr ""
|
877 |
+
"Usted puede navegar a la <strong>Apariencia</ strong >> <strong> "
|
878 |
+
"Reproductores </ strong> en el platillo izquierdo y arrastre <strong> Súper "
|
879 |
+
"Socializer - Sharing (Horizontal Widget) </ strong> y <strong> Súper "
|
880 |
+
"Socializer - Sharing (Vertical Floating Widget) </ strong> widgets en el "
|
881 |
+
"área requerida."
|
882 |
+
|
883 |
+
#: ../admin/social_login.php:11
|
884 |
+
msgid "Social Login"
|
885 |
+
msgstr "Social Login"
|
886 |
+
|
887 |
#: ../admin/social_login.php:24
|
888 |
msgid "Enable Social Login"
|
889 |
msgstr "Habilitar Social Login"
|
896 |
"Control Maestro para Social Login. Debe comprobarse para permitir la "
|
897 |
"funcionalidad de Social Login"
|
898 |
|
899 |
+
#: ../admin/social_login.php:42
|
900 |
+
msgid ""
|
901 |
+
"Note: Twitter Social Login requires \"cURL support = enabled\" in your php."
|
902 |
+
"ini file."
|
903 |
+
msgstr ""
|
904 |
+
"Nota: Twitter Sociales Ingresar requiere \"soporte cURL = habilitado\" en su "
|
905 |
+
"archivo php.ini."
|
906 |
+
|
907 |
+
#: ../admin/social_login.php:50 ../admin/social_sharing.php:222
|
908 |
+
#: ../admin/social_sharing.php:440
|
909 |
msgid "Select providers"
|
910 |
msgstr "Seleccionar proveedores"
|
911 |
|
912 |
+
#: ../admin/social_login.php:55 ../admin/social_sharing.php:227
|
913 |
+
#: ../admin/social_sharing.php:445
|
914 |
msgid "Facebook"
|
915 |
msgstr ""
|
916 |
|
917 |
+
#: ../admin/social_login.php:59 ../admin/social_sharing.php:232
|
918 |
+
#: ../admin/social_sharing.php:450
|
919 |
msgid "Twitter"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: ../admin/social_login.php:63 ../admin/social_sharing.php:237
|
923 |
+
#: ../admin/social_sharing.php:455
|
924 |
msgid "LinkedIn"
|
925 |
msgstr ""
|
926 |
|
927 |
+
#: ../admin/social_login.php:67 ../admin/social_sharing.php:242
|
928 |
+
#: ../admin/social_sharing.php:460
|
929 |
msgid "Google+"
|
930 |
msgstr ""
|
931 |
|
932 |
+
#: ../admin/social_login.php:71 ../admin/social_sharing.php:292
|
933 |
+
#: ../admin/social_sharing.php:510
|
934 |
msgid "Vkontakte"
|
935 |
msgstr ""
|
936 |
|
937 |
+
#: ../admin/social_login.php:75
|
938 |
msgid "Instagram"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: ../admin/social_login.php:83
|
942 |
msgid "Select Social ID provider to enable in Social Login"
|
943 |
msgstr ""
|
944 |
"Seleccione un proveedor de Identificación Social para habilitarse en Social "
|
945 |
"Login"
|
946 |
|
947 |
+
#: ../admin/social_login.php:91
|
948 |
msgid "Facebook App ID"
|
949 |
msgstr "ID de App. Facebook"
|
950 |
|
951 |
+
#: ../admin/social_login.php:101
|
952 |
#, php-format
|
953 |
msgid ""
|
954 |
"Required for Facebook Social Login to work. Please follow the documentation "
|
958 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
959 |
"obtener ID de App. Facebook"
|
960 |
|
961 |
+
#: ../admin/social_login.php:109
|
962 |
#, fuzzy
|
963 |
msgid "Twitter API Key"
|
964 |
msgstr "Clave Consumidor Twitter"
|
965 |
|
966 |
+
#: ../admin/social_login.php:119
|
967 |
#, fuzzy, php-format
|
968 |
msgid ""
|
969 |
"Required for Twitter Social Login to work. Please follow the documentation "
|
973 |
"documentación <a href=\"%s\" target=\"_blank\"> en este enlace</a> para "
|
974 |
"obtener su Clave Consumidor Twitter"
|
975 |
|
976 |
+
#: ../admin/social_login.php:127
|
977 |
#, fuzzy
|
978 |
msgid "Twitter API Secret"
|
979 |
msgstr "Twitter Secreto del Consumidor"
|
980 |
|
981 |
+
#: ../admin/social_login.php:137
|
982 |
#, fuzzy, php-format
|
983 |
msgid ""
|
984 |
"Required for Twitter Social Login to work. Please follow the documentation "
|
988 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
989 |
"obtener Twitter Secreto del Consumidor"
|
990 |
|
991 |
+
#: ../admin/social_login.php:145
|
992 |
msgid "LinkedIn API Key"
|
993 |
msgstr "Clave LinkedIn API"
|
994 |
|
995 |
+
#: ../admin/social_login.php:155
|
996 |
#, php-format
|
997 |
msgid ""
|
998 |
"Required for LinkedIn Social Login to work. Please follow the documentation "
|
1002 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
1003 |
"obtener su Clave LinkedIn API"
|
1004 |
|
1005 |
+
#: ../admin/social_login.php:163
|
1006 |
msgid "Google+ Client ID"
|
1007 |
msgstr "ID Cliente Google+"
|
1008 |
|
1009 |
+
#: ../admin/social_login.php:173
|
1010 |
#, php-format
|
1011 |
msgid ""
|
1012 |
"Required for GooglePlus Social Login to work. Please follow the "
|
1017 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
1018 |
"obtener ID Cliente GooglePlus"
|
1019 |
|
1020 |
+
#: ../admin/social_login.php:181
|
1021 |
msgid "Vkontakte Application ID"
|
1022 |
msgstr "ID de App. Vkontakte"
|
1023 |
|
1024 |
+
#: ../admin/social_login.php:191
|
1025 |
#, php-format
|
1026 |
msgid ""
|
1027 |
"Required for Vkontakte Social Login to work. Please follow the documentation "
|
1032 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
1033 |
"obtener ID de app Vkontakte"
|
1034 |
|
1035 |
+
#: ../admin/social_login.php:199
|
1036 |
msgid "Instagram Client ID"
|
1037 |
msgstr "ID Cliente Instagram"
|
1038 |
|
1039 |
+
#: ../admin/social_login.php:209
|
1040 |
#, php-format
|
1041 |
msgid ""
|
1042 |
"Required for Instagram Social Login to work. Please follow the documentation "
|
1046 |
"documentación <a href=\"%s\" target=\"_blank\">en este enlace</a> para "
|
1047 |
"obtener ID Cliente Instagram"
|
1048 |
|
1049 |
+
#: ../admin/social_login.php:217
|
1050 |
msgid "Include Javascript in website footer"
|
1051 |
msgstr "Incluir Javascript en el pie de página del sitio web"
|
1052 |
|
1053 |
+
#: ../admin/social_login.php:227
|
1054 |
msgid ""
|
1055 |
"If enabled (recommended), all the Javascript code will be included in the "
|
1056 |
"footer of your website.<br/><strong>\"wp_footer\" and \"login_footer\" hooks "
|
1063 |
"existen en su tema de Wordpress. En este caso, mantener esta opción "
|
1064 |
"desactivada."
|
1065 |
|
1066 |
+
#: ../admin/social_login.php:241
|
1067 |
msgid "Login options"
|
1068 |
msgstr "Opciones Inicio de Sesión"
|
1069 |
|
1070 |
+
#: ../admin/social_login.php:257
|
1071 |
msgid "Text to display above the Social Login interface"
|
1072 |
msgstr "Texto para mostrar por encima de la interfaz Social Login"
|
1073 |
|
1074 |
+
#: ../admin/social_login.php:266
|
1075 |
msgid "Enable at login page"
|
1076 |
msgstr "Activar en la página de inicio de sesión"
|
1077 |
|
1078 |
+
#: ../admin/social_login.php:276
|
1079 |
#, fuzzy
|
1080 |
msgid ""
|
1081 |
"Social Login interface will get enabled at the login page of your website"
|
1083 |
"La interfaz Social Login se activará en su página de inicio de sesión "
|
1084 |
"Wordpress"
|
1085 |
|
1086 |
+
#: ../admin/social_login.php:284
|
1087 |
msgid "Enable at register page"
|
1088 |
msgstr "Habilitar en página de registro"
|
1089 |
|
1090 |
+
#: ../admin/social_login.php:294
|
1091 |
#, fuzzy
|
1092 |
msgid ""
|
1093 |
"Social Login interface will get enabled at the registration page of your "
|
1095 |
msgstr ""
|
1096 |
"La interfaz Social Login se habilitará en su página de registro Wordpress"
|
1097 |
|
1098 |
+
#: ../admin/social_login.php:302
|
1099 |
msgid "Enable at comment form"
|
1100 |
msgstr "Habilitar en formulario de Comentario"
|
1101 |
|
1102 |
+
#: ../admin/social_login.php:312
|
1103 |
#, fuzzy
|
1104 |
msgid "Social Login interface will get enabled at your Wordpress Comment form"
|
1105 |
msgstr ""
|
1106 |
"La interfaz Social Login se activará en su página de inicio de sesión "
|
1107 |
"Wordpress"
|
1108 |
|
1109 |
+
#: ../admin/social_login.php:323
|
1110 |
msgid "Auto-approve comments made by Social Login users"
|
1111 |
msgstr ""
|
1112 |
"Auto-aprobar los comentarios realizados por los usuarios Social Iniciar "
|
1113 |
"sesión"
|
1114 |
|
1115 |
+
#: ../admin/social_login.php:333
|
1116 |
msgid ""
|
1117 |
"If this option is enabled, and WordPress comment is made by Social Login "
|
1118 |
"user, comment will get approved immediately without keeping in moderation."
|
1121 |
"Login usuario, comentario será aprobado inmediatamente sin tener en "
|
1122 |
"moderación."
|
1123 |
|
1124 |
+
#: ../admin/social_login.php:334
|
1125 |
msgid "Note: This is not related to Facebook comments"
|
1126 |
msgstr "Nota: Esto no está relacionado con los comentarios de Facebook"
|
1127 |
|
1128 |
+
#: ../admin/social_login.php:344
|
1129 |
msgid "Enable social avatar"
|
1130 |
msgstr "Habilitar avatar Social"
|
1131 |
|
1132 |
+
#: ../admin/social_login.php:354
|
1133 |
msgid ""
|
1134 |
"Social profile pictures of the logged in user will be displayed as profile "
|
1135 |
"avatar"
|
1137 |
"Imágenes de Perfil Social del usuario registrado aparecerán como avatar del "
|
1138 |
"perfil"
|
1139 |
|
1140 |
+
#: ../admin/social_login.php:364 ../super_socializer.php:272
|
1141 |
msgid "Email required"
|
1142 |
msgstr "Requiere E-mail"
|
1143 |
|
1144 |
+
#: ../admin/social_login.php:374
|
1145 |
msgid ""
|
1146 |
"If enabled and Social ID provider does not provide user's email address on "
|
1147 |
"login, user will be asked to provide his/her email address. Otherwise, a "
|
1152 |
"al usuario proporcionar su dirección de correo electrónico De lo contrario, "
|
1153 |
"un correo electrónico ficticio, se generará"
|
1154 |
|
1155 |
+
#: ../admin/social_login.php:383
|
1156 |
msgid "Send username-password after user registration"
|
1157 |
msgstr "Enviar nombre de usuario/contraseña tras el registro del usuario"
|
1158 |
|
1159 |
+
#: ../admin/social_login.php:393
|
1160 |
msgid ""
|
1161 |
"If enabled, an email will be sent to user after registration through Social "
|
1162 |
"Login, regarding his/her login credentials (username-password to be able to "
|
1167 |
"de inicio de sesión (nombre de usuario-contraseña para poder ingresar a "
|
1168 |
"través del formulario de inicio de sesión tradicional)"
|
1169 |
|
1170 |
+
#: ../admin/social_login.php:401
|
1171 |
msgid "Login redirection"
|
1172 |
msgstr "Redireccionamiento de inicio de sesión"
|
1173 |
|
1174 |
+
#: ../admin/social_login.php:405 ../admin/social_login.php:431
|
1175 |
msgid "Same page where user logged in"
|
1176 |
msgstr "La misma página donde el usuario ha iniciado sesión"
|
1177 |
|
1178 |
+
#: ../admin/social_login.php:409 ../admin/social_login.php:435
|
|
|
|
|
|
|
|
|
|
|
1179 |
msgid "Account dashboard"
|
1180 |
msgstr "Panel de cuenta"
|
1181 |
|
1182 |
+
#: ../admin/social_login.php:411 ../admin/social_login.php:437
|
1183 |
msgid "Custom Url"
|
1184 |
msgstr "Url personalizada"
|
1185 |
|
1186 |
+
#: ../admin/social_login.php:419
|
1187 |
msgid "User will be redirected to the selected page after Social Login"
|
1188 |
msgstr ""
|
1189 |
"El usuario será redirigido a la página seleccionada después de Social Login"
|
1190 |
|
1191 |
+
#: ../admin/social_login.php:427
|
1192 |
msgid "Registration redirection"
|
1193 |
msgstr "redirección de registro"
|
1194 |
|
1195 |
+
#: ../admin/social_login.php:445
|
1196 |
msgid ""
|
1197 |
"User will be redirected to the selected page after registration (first "
|
1198 |
"Social Login) through Social Login"
|
1200 |
"Usuario será redirigido a la página seleccionada después de Registrarse "
|
1201 |
"(primero Ingresa Social) a través de Social Login"
|
1202 |
|
1203 |
+
#: ../admin/social_login.php:453
|
1204 |
msgid "Email popup options"
|
1205 |
msgstr "opciones emergentes de correo electrónico"
|
1206 |
|
1207 |
+
#: ../admin/social_login.php:459
|
1208 |
msgid "Text on 'Email required' popup"
|
1209 |
msgstr "Texto en 'Email required' popup"
|
1210 |
|
1211 |
+
#: ../admin/social_login.php:469
|
1212 |
msgid ""
|
1213 |
"This text will be displayed on email required popup. Leave empty if not "
|
1214 |
"required."
|
1216 |
"Este texto se mostrará en el correo electrónico popup necesario. Dejar en "
|
1217 |
"blanco si no es necesario."
|
1218 |
|
1219 |
+
#: ../admin/social_login.php:478
|
1220 |
msgid "Error message for 'Email required' popup"
|
1221 |
msgstr ""
|
1222 |
"Mensaje de error para ventana emergente de \"\"Correo electrónico requerido'"
|
1223 |
|
1224 |
+
#: ../admin/social_login.php:488
|
1225 |
msgid ""
|
1226 |
"This message will be displayed to user if it provides invalid or already "
|
1227 |
"registered email"
|
1229 |
"Este mensaje se mostrará al usuario si proporciona correo electrónico no "
|
1230 |
"válido o ya registrado"
|
1231 |
|
1232 |
+
#: ../admin/social_login.php:497
|
1233 |
msgid "Email popup height"
|
1234 |
msgstr "email altura popup"
|
1235 |
|
1236 |
+
#: ../admin/social_login.php:507
|
1237 |
msgid ""
|
1238 |
"If you are seeing vertical scrollbar in the \"Email required\" popup, you "
|
1239 |
"can increase the height of popup by specifying in this option. Leave empty "
|
1244 |
"emergente mediante la especificación de esta opción. Dejar en blanco para el "
|
1245 |
"defecto."
|
1246 |
|
1247 |
+
#: ../admin/social_login.php:515
|
1248 |
msgid "Enable email verification"
|
1249 |
msgstr "Habilitar verificación de correo electrónico"
|
1250 |
|
1251 |
+
#: ../admin/social_login.php:525
|
1252 |
msgid ""
|
1253 |
"If enabled, email provided by the user will be verified by sending a "
|
1254 |
"confirmation link to that email. User would not be able to login without "
|
1258 |
"verificará mediante el envío de un enlace de confirmación a ese correo "
|
1259 |
"electrónico. El usuario no podrá iniciar sesión sin verificar su email"
|
1260 |
|
1261 |
+
#: ../admin/social_login.php:541
|
|
|
|
|
|
|
|
|
1262 |
msgid ""
|
1263 |
"Use <strong>[TheChamp-Login]</strong> Shortcode in the content of required "
|
1264 |
"page/post where you want to display Social Login interface."
|
1266 |
"Utilice <strong> [TheChamp-Login] </ strong> Código corto en el contenido de "
|
1267 |
"la página requerida / post en la que desea mostrar la interfaz Login Social."
|
1268 |
|
1269 |
+
#: ../admin/social_login.php:544
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1270 |
#, fuzzy
|
1271 |
msgid ""
|
1272 |
"You can use \"style\" attribute in the Shortcode to style the rendered "
|
1275 |
"Usted puede utilizar el atributo \"style\" en el Código corto al estilo de "
|
1276 |
"la interfaz Uso compartido sociales prestados."
|
1277 |
|
1278 |
+
#: ../admin/social_login.php:549
|
|
|
|
|
|
|
|
|
|
|
1279 |
msgid ""
|
1280 |
"Replace <strong>SHORTCODE</strong> in above code with the required shortcode "
|
1281 |
"like <strong>[TheChamp-Login style=\"background-color:#000;\"]</strong>, so "
|
1285 |
"corto requerido como <strong>[TheChamp-Login style=\"background-color: #000;"
|
1286 |
"\"]</ strong>, por lo que el código final se parece a siguiente"
|
1287 |
|
1288 |
+
#: ../admin/social_login.php:557
|
|
|
|
|
|
|
|
|
1289 |
msgid ""
|
1290 |
"You can navigate to the <strong>Appearance</strong> > <strong>Widgets</"
|
1291 |
"strong> section in the left pan and drag <strong>Super Socializer - Login</"
|
1303 |
msgid "Troubleshooter"
|
1304 |
msgstr "Solucionador de problemas"
|
1305 |
|
1306 |
+
#: ../admin/social_sharing.php:19
|
1307 |
+
msgid "FAQ"
|
1308 |
+
msgstr ""
|
1309 |
+
|
1310 |
+
#: ../admin/social_sharing.php:31
|
1311 |
msgid "Enable Social Sharing"
|
1312 |
msgstr "Habilitar Social Sharing"
|
1313 |
|
1314 |
+
#: ../admin/social_sharing.php:41
|
1315 |
msgid ""
|
1316 |
"Master control for Social Sharing. It must be checked to enable Social "
|
1317 |
"Sharing functionality"
|
1319 |
"Control maestro para compartir en redes sociales. Esto debe estar marcado "
|
1320 |
"para habilitar la funcionalidad de Social Sharing "
|
1321 |
|
1322 |
+
#: ../admin/social_sharing.php:49
|
1323 |
msgid "Delete all the options on plugin deletion"
|
1324 |
msgstr "Eliminar todas las opciones de plugin de eliminación"
|
1325 |
|
1326 |
+
#: ../admin/social_sharing.php:59
|
1327 |
msgid ""
|
1328 |
"If enabled, plugin options will get deleted when plugin is deleted/"
|
1329 |
"uninstalled and you will need to reconfigure the options when you install "
|
1333 |
"plugin / desinstalado y tendrá que volver a configurar las opciones al "
|
1334 |
"instalar el plugin próxima vez."
|
1335 |
|
1336 |
+
#: ../admin/social_sharing.php:73
|
1337 |
#, fuzzy
|
1338 |
msgid ""
|
1339 |
"<strong>Note:</strong> To disable sharing on particular page/post, edit that "
|
1345 |
"Intercambio Social en esta página \" </ strong> la opción en la parte "
|
1346 |
"inferior de <strong > \"Super Socializer \" </ strong>"
|
1347 |
|
1348 |
+
#: ../admin/social_sharing.php:95
|
1349 |
+
msgid "Enable bit.ly url shortener for sharing"
|
1350 |
+
msgstr "Habilitar acortador de url bit.ly para compartir"
|
1351 |
+
|
1352 |
+
#: ../admin/social_sharing.php:152
|
1353 |
+
msgid "Twitter username in sharing"
|
1354 |
+
msgstr "Twitter nombre de usuario en el intercambio"
|
1355 |
+
|
1356 |
+
#: ../admin/social_sharing.php:168
|
1357 |
+
msgid ""
|
1358 |
+
"Provided username will be appended after the content being shared as \"via "
|
1359 |
+
"@USERNAME\". Leave empty if you do not want any username in the content "
|
1360 |
+
"being shared."
|
1361 |
+
msgstr ""
|
1362 |
+
"Nombre de usuario proporcionado se añadirá después del contenido que se "
|
1363 |
+
"comparte como \"a travésUSERNAME\". Dejar vacío si no desea que cualquier "
|
1364 |
+
"nombre de usuario en el contenido que se comparte."
|
1365 |
+
|
1366 |
+
#: ../admin/social_sharing.php:178
|
1367 |
msgid "Horizontal Sharing Interface Options"
|
1368 |
msgstr "Horizontales Opciones para compartir la interfaz de"
|
1369 |
|
1370 |
+
#: ../admin/social_sharing.php:184
|
1371 |
msgid "Enable horizontal sharing interface"
|
1372 |
msgstr "Habilitar interfaz de intercambio horizontal"
|
1373 |
|
1374 |
+
#: ../admin/social_sharing.php:194
|
1375 |
msgid "Master control to enable horizontal sharing"
|
1376 |
msgstr "Control maestro para permitir el intercambio horizontal"
|
1377 |
|
1378 |
+
#: ../admin/social_sharing.php:214
|
1379 |
msgid "The text to display above the sharing interface"
|
1380 |
msgstr "El texto que se muestra por encima de la interfaz compartida "
|
1381 |
|
1382 |
+
#: ../admin/social_sharing.php:247 ../admin/social_sharing.php:465
|
1383 |
msgid "Print"
|
1384 |
msgstr ""
|
1385 |
|
1386 |
+
#: ../admin/social_sharing.php:252 ../admin/social_sharing.php:470
|
1387 |
msgid "Email"
|
1388 |
msgstr ""
|
1389 |
|
1390 |
+
#: ../admin/social_sharing.php:257 ../admin/social_sharing.php:475
|
1391 |
msgid "Yahoo"
|
1392 |
msgstr ""
|
1393 |
|
1394 |
+
#: ../admin/social_sharing.php:262 ../admin/social_sharing.php:480
|
1395 |
msgid "Reddit"
|
1396 |
msgstr ""
|
1397 |
|
1398 |
+
#: ../admin/social_sharing.php:267 ../admin/social_sharing.php:485
|
1399 |
msgid "Digg"
|
1400 |
msgstr ""
|
1401 |
|
1402 |
+
#: ../admin/social_sharing.php:272 ../admin/social_sharing.php:490
|
1403 |
msgid "Delicious"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
+
#: ../admin/social_sharing.php:277 ../admin/social_sharing.php:495
|
1407 |
msgid "StumbleUpon"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
+
#: ../admin/social_sharing.php:282 ../admin/social_sharing.php:500
|
1411 |
msgid "Float it"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
+
#: ../admin/social_sharing.php:287 ../admin/social_sharing.php:505
|
1415 |
msgid "Tumblr"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
+
#: ../admin/social_sharing.php:297 ../admin/social_sharing.php:515
|
1419 |
msgid "Pinterest"
|
1420 |
msgstr ""
|
1421 |
|
1422 |
+
#: ../admin/social_sharing.php:305 ../admin/social_sharing.php:523
|
1423 |
msgid "Select the providers for sharing interface"
|
1424 |
msgstr "Seleccione los proveedores para compartir la interfaz"
|
1425 |
|
1426 |
+
#: ../admin/social_sharing.php:313 ../admin/social_sharing.php:531
|
1427 |
msgid "Rearrange icons"
|
1428 |
msgstr "Reorganizar iconos"
|
1429 |
|
1430 |
+
#: ../admin/social_sharing.php:336 ../admin/social_sharing.php:554
|
1431 |
msgid "Drag the icons to rearrange in desired order"
|
1432 |
msgstr "Arrastre los iconos para reorganizar estos con el fin deseado "
|
1433 |
|
1434 |
+
#: ../admin/social_sharing.php:357
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1435 |
msgid "Specify position of the sharing interface with respect to the content"
|
1436 |
msgstr ""
|
1437 |
"Especificar la posición de la interfaz compartir con respecto al contenido"
|
1438 |
|
1439 |
+
#: ../admin/social_sharing.php:365 ../admin/social_sharing.php:659
|
1440 |
msgid "Sharing location"
|
1441 |
msgstr "Ubicación de uso compartido"
|
1442 |
|
1443 |
+
#: ../admin/social_sharing.php:384
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1444 |
msgid "Specify the pages where you want to enable Sharing interface"
|
1445 |
msgstr ""
|
1446 |
"Especifique las páginas en las que desee habilitar la interfaz Uso compartido"
|
1447 |
|
1448 |
+
#: ../admin/social_sharing.php:392 ../admin/social_sharing.php:686
|
1449 |
msgid "Show share counts"
|
1450 |
msgstr "conteos muestran acciones"
|
1451 |
|
1452 |
+
#: ../admin/social_sharing.php:402 ../admin/social_sharing.php:696
|
1453 |
msgid "If enabled, share counts are displayed above sharing icons."
|
1454 |
msgstr ""
|
1455 |
"Si está habilitado, el recuento de acciones se muestran por encima de los "
|
1456 |
"iconos para compartir."
|
1457 |
|
1458 |
+
#: ../admin/social_sharing.php:413
|
1459 |
msgid "Vertical (Floating) Sharing Interface Options"
|
1460 |
msgstr "Vertical (flotante) Opciones de interfaz compartir"
|
1461 |
|
1462 |
+
#: ../admin/social_sharing.php:419
|
1463 |
msgid "Enable vertical (floating) sharing interface"
|
1464 |
msgstr "Habilitar vertical (flotante) interfaz compartida"
|
1465 |
|
1466 |
+
#: ../admin/social_sharing.php:429
|
1467 |
msgid "Master control to enable vertical (floating) sharing widget"
|
1468 |
msgstr ""
|
1469 |
"Control maestro para permitir vertical (flotante) widget de intercambio"
|
1470 |
|
1471 |
+
#: ../admin/social_sharing.php:572
|
1472 |
+
msgid ""
|
1473 |
+
"Specify the color or hex code (example #cc78e0) for the background of "
|
1474 |
+
"vertical sharing bar. Leave empty for transparent. You can get the hex code "
|
1475 |
+
"of the required color from <a href=\"http://www.colorpicker.com/\" target="
|
1476 |
+
"\"_blank\">this link</a>"
|
1477 |
+
msgstr ""
|
1478 |
+
"Especifique el color o el código hexadecimal (ejemplo # cc78e0) para el "
|
1479 |
+
"fondo de la barra de compartir vertical. Dejar vacío para transparente. "
|
1480 |
+
"Puede obtener el código hexadecimal del color deseado de <a href=\"http://"
|
1481 |
+
"www.colorpicker.com/\" target=\"_blank\"> este enlace </a>"
|
|
|
|
|
1482 |
|
1483 |
+
#: ../admin/social_sharing.php:593
|
1484 |
#, fuzzy
|
1485 |
msgid "Horizontal alignment of the sharing interface"
|
1486 |
msgstr "Habilitar interfaz de intercambio horizontal"
|
1487 |
|
1488 |
+
#: ../admin/social_sharing.php:612
|
|
|
|
|
|
|
|
|
1489 |
msgid ""
|
1490 |
"Specify a number. Increase in number will shift sharing interface towards "
|
1491 |
"right and decrease will shift it towards left."
|
1493 |
"Especifique un número. Aumento del número cambiará interfaz compartida hacia "
|
1494 |
"la derecha y la disminución se desplazará hacia la izquierda."
|
1495 |
|
1496 |
+
#: ../admin/social_sharing.php:632
|
|
|
|
|
|
|
|
|
|
|
1497 |
#, fuzzy
|
1498 |
msgid ""
|
1499 |
"Specify a number. Increase in number will shift sharing interface towards "
|
1502 |
"Especifique un número. Aumento del número cambiará interfaz compartida hacia "
|
1503 |
"la derecha y la disminución se desplazará hacia la izquierda."
|
1504 |
|
1505 |
+
#: ../admin/social_sharing.php:651
|
|
|
|
|
|
|
|
|
1506 |
msgid ""
|
1507 |
"Specify a number. Increase in number will shift sharing interface towards "
|
1508 |
"bottom and decrease will shift it towards top."
|
1510 |
"Especifique un número. Aumento del número cambiará compartir la interfaz "
|
1511 |
"hacia la parte inferior y el descenso se desplazará hacia la parte superior."
|
1512 |
|
1513 |
+
#: ../admin/social_sharing.php:678
|
1514 |
msgid "Specify the pages where you want to enable vertical Sharing interface"
|
1515 |
msgstr ""
|
1516 |
"Especifique las páginas en las que desee habilitar la interfaz Uso "
|
1517 |
"compartido verticales"
|
1518 |
|
1519 |
+
#: ../admin/social_sharing.php:715
|
1520 |
msgid ""
|
1521 |
"You can use <strong>[TheChamp-Sharing]</strong> Shortcode in the content of "
|
1522 |
"required page/post where you want to display Social Sharing interface."
|
1525 |
"el contenido de la página requerida / post en el que desea mostrar la "
|
1526 |
"interfaz Uso compartido Social."
|
1527 |
|
1528 |
+
#: ../admin/social_sharing.php:720
|
|
|
|
|
|
|
|
|
1529 |
msgid ""
|
1530 |
"Use <strong>style</strong> attribute to style the rendered Social Sharing "
|
1531 |
"interface"
|
1533 |
"Utilice <strong>style</ strong> atributo de estilo de la interfaz Uso "
|
1534 |
"compartido sociales prestados"
|
1535 |
|
1536 |
+
#: ../admin/social_sharing.php:725
|
1537 |
msgid ""
|
1538 |
"Use <strong>type</strong> attribute to specify the type (\"Horizontal\" or "
|
1539 |
"\"Vertical\") of Social Sharing interface. Default type is \"Horizontal\"."
|
1542 |
"(\"horizontal \" o \"vertical \") de la interfaz Uso compartido Social. Tipo "
|
1543 |
"por defecto es \"horizontal \"."
|
1544 |
|
1545 |
+
#: ../admin/social_sharing.php:730
|
|
|
|
|
|
|
|
|
1546 |
msgid ""
|
1547 |
"Use <strong>left</strong> attribute to specify the left offset (distance "
|
1548 |
"form the left side of the screen) of Social Sharing interface."
|
1551 |
"izquierda (distancia formar el lado izquierdo de la pantalla) de interfaz de "
|
1552 |
"uso compartido Social."
|
1553 |
|
1554 |
+
#: ../admin/social_sharing.php:735
|
|
|
|
|
|
|
|
|
1555 |
msgid ""
|
1556 |
"Use <strong>top</strong> attribute to specify the top offset (distance form "
|
1557 |
"the top of the screen) of Social Sharing interface."
|
1560 |
"superior (distancia forman la parte superior de la pantalla) de la interfaz "
|
1561 |
"Uso compartido Social."
|
1562 |
|
1563 |
+
#: ../admin/social_sharing.php:740
|
1564 |
msgid ""
|
1565 |
"Replace <strong>SHORTCODE</strong> in above code with the required shortcode "
|
1566 |
"like <strong>[TheChamp-Sharing style=\"background-color:#000;\"]</strong>, "
|
1570 |
"corto requerido como <strong>[TheChamp-Sharing style=\"background-color: "
|
1571 |
"#000;\"]</ strong>, por lo que el código final se parece a siguiente"
|
1572 |
|
1573 |
+
#: ../admin/social_sharing.php:748
|
1574 |
msgid ""
|
1575 |
"You can navigate to the <strong>Appearance</strong> > <strong>Widgets</"
|
1576 |
"strong> section in the left pan and drag <strong>Super Socializer - Sharing "
|
1583 |
"Socializer - Sharing (Vertical Floating Widget) </ strong> widgets en el "
|
1584 |
"área requerida."
|
1585 |
|
1586 |
+
#: ../admin/social_sharing.php:758
|
1587 |
msgid "Facebook Sharing Troubleshooter"
|
1588 |
msgstr "Facebook Sharing Solucionador de problemas"
|
1589 |
|
1590 |
+
#: ../admin/social_sharing.php:763
|
1591 |
msgid ""
|
1592 |
"If Facebook sharing is not working fine, click at the following link and "
|
1593 |
"enter the problematic url (where Facebook sharing is not working properly) "
|
1597 |
"enlace e introduzca la url problemático (donde compartir en Facebook no "
|
1598 |
"funciona correctamente) de su sitio web en el campo de texto:"
|
1599 |
|
1600 |
+
#: ../admin/social_sharing.php:777
|
1601 |
+
msgid ""
|
1602 |
+
"How can I show share counts of my website rather than of individual pages/"
|
1603 |
+
"posts?"
|
1604 |
+
msgstr ""
|
1605 |
+
"¿Cómo puedo mostrar comparten cargos de mi sitio web y no de páginas "
|
1606 |
+
"individuales / mensajes?"
|
1607 |
+
|
1608 |
+
#: ../admin/social_sharing.php:781
|
1609 |
+
msgid ""
|
1610 |
+
"Navigate to Appearance > Widgets section in the admin panel of your website "
|
1611 |
+
"and activate \"Super Socializer - Sharing\" widget in the desired area. This "
|
1612 |
+
"will display the sharing counts of the home/index page of your website. Do "
|
1613 |
+
"not forget to turn the sharing counts on from \"Social Sharing\" page in "
|
1614 |
+
"admin panel."
|
1615 |
+
msgstr ""
|
1616 |
+
"Vaya a Apariencia> Widgets de sección en el panel de administración de su "
|
1617 |
+
"sitio web y activar - Widget \"Super Socializer Sharing\" en el área "
|
1618 |
+
"deseada. Esto mostrará los recuentos de compartición de la página "
|
1619 |
+
"principal / índice de su sitio web. No te olvides de encender el reparto "
|
1620 |
+
"cuenta con de página \"Compartir redes sociales \" en el panel de "
|
1621 |
+
"administración."
|
1622 |
+
|
1623 |
#: ../helper.php:7
|
1624 |
msgid "Options saved successfully"
|
1625 |
msgstr "Opciones guardadas correctamente"
|
1626 |
|
1627 |
+
#: ../helper.php:189
|
1628 |
msgid "Settings"
|
1629 |
msgstr "Configuración"
|
1630 |
|
1631 |
+
#: ../inc/social_sharing.php:250
|
1632 |
msgid "Invalid request"
|
1633 |
msgstr "petición no válida"
|
1634 |
|
1635 |
+
#: ../inc/social_sharing.php:255
|
1636 |
msgid "Providers not selected"
|
1637 |
msgstr "Los proveedores no seleccionados"
|
1638 |
|
1639 |
+
#: ../inc/social_sharing.php:363
|
1640 |
msgid "Disable Horizontal Social Sharing on this "
|
1641 |
msgstr "Desactivar Horizontal Intercambio Social en esta"
|
1642 |
|
1643 |
+
#: ../inc/social_sharing.php:368
|
1644 |
msgid "Disable Vertical Social Sharing on this "
|
1645 |
msgstr "Desactivar Vertical Intercambio Social en esta"
|
1646 |
|
1647 |
+
#: ../inc/social_sharing.php:373
|
1648 |
+
#, fuzzy
|
1649 |
+
msgid "Disable Horizontal Social Counter on this "
|
1650 |
+
msgstr "Desactivar Horizontal Intercambio Social en esta"
|
1651 |
+
|
1652 |
+
#: ../inc/social_sharing.php:378
|
1653 |
+
#, fuzzy
|
1654 |
+
msgid "Disable Vertical Social Counter on this "
|
1655 |
+
msgstr "Desactivar Vertical Intercambio Social en esta"
|
1656 |
+
|
1657 |
#: ../inc/widget.php:11
|
1658 |
msgid "Super Socializer - Login"
|
1659 |
msgstr "Super Socializer - Login"
|
1671 |
msgid "Log Out"
|
1672 |
msgstr "Cerrar sesión"
|
1673 |
|
1674 |
+
#: ../inc/widget.php:77 ../inc/widget.php:170 ../inc/widget.php:367
|
1675 |
msgid "Title:"
|
1676 |
msgstr "Titulo:"
|
1677 |
|
1678 |
+
#: ../inc/widget.php:79 ../inc/widget.php:172 ../inc/widget.php:369
|
1679 |
msgid "Before widget content:"
|
1680 |
msgstr " Antes del contenido del widget:"
|
1681 |
|
1682 |
+
#: ../inc/widget.php:81 ../inc/widget.php:174 ../inc/widget.php:371
|
1683 |
msgid "After widget content:"
|
1684 |
msgstr "Después del contenido del widget:"
|
1685 |
|
1686 |
+
#: ../inc/widget.php:84 ../inc/widget.php:176 ../inc/widget.php:280
|
1687 |
+
#: ../inc/widget.php:373 ../inc/widget.php:476
|
1688 |
msgid "Hide for logged in users:"
|
1689 |
msgstr "Ocultar para los usuarios registrados:"
|
1690 |
|
1691 |
#: ../inc/widget.php:103
|
1692 |
+
#, fuzzy
|
1693 |
msgid ""
|
1694 |
+
"Horizontal sharing widget. Let your website users share content on popular "
|
1695 |
+
"Social networks like Facebook, Twitter, Tumblr, Google+ and many more"
|
1696 |
msgstr ""
|
1697 |
"Widget Horizontal. Deje que sus usuarios del website compartan contenidos en "
|
1698 |
"las redes sociales populares como Facebook, Twitter, Tumblr, Google+ y "
|
1699 |
"muchos más "
|
1700 |
|
1701 |
+
#: ../inc/widget.php:195
|
1702 |
+
#, fuzzy
|
1703 |
msgid ""
|
1704 |
+
"Vertical floating sharing widget. Let your website users share content on "
|
1705 |
+
"popular Social networks like Facebook, Twitter, Tumblr, Google+ and many more"
|
1706 |
msgstr ""
|
1707 |
"Widget de flotación vertical. Deje que sus usuarios del website compartan "
|
1708 |
"contenidos en las redes sociales populares como Facebook, Twitter, Tumblr, "
|
1709 |
"Google+ y muchos más "
|
1710 |
|
1711 |
+
#: ../inc/widget.php:261 ../inc/widget.php:457
|
1712 |
+
msgid "Alignment"
|
1713 |
+
msgstr "Alineamiento"
|
1714 |
+
|
1715 |
+
#: ../inc/widget.php:267 ../inc/widget.php:463
|
1716 |
+
#, fuzzy
|
1717 |
+
msgid "Left Offset"
|
1718 |
msgstr "Desplazamiento hacia la izquierda:"
|
1719 |
|
1720 |
+
#: ../inc/widget.php:271 ../inc/widget.php:467
|
1721 |
+
#, fuzzy
|
1722 |
+
msgid "Right Offset"
|
1723 |
+
msgstr "desplazamiento izquierda"
|
1724 |
+
|
1725 |
+
#: ../inc/widget.php:274 ../inc/widget.php:470
|
1726 |
+
#, fuzzy
|
1727 |
+
msgid "Top Offset"
|
1728 |
msgstr "Margen superior:"
|
1729 |
|
1730 |
+
#: ../inc/widget.php:299
|
1731 |
+
#, fuzzy
|
1732 |
+
msgid ""
|
1733 |
+
"Horizontal counter widget. Let your website users share/like content on "
|
1734 |
+
"popular Social networks like Facebook, Twitter, Google+ and many more"
|
1735 |
+
msgstr ""
|
1736 |
+
"Widget Horizontal. Deje que sus usuarios del website compartan contenidos en "
|
1737 |
+
"las redes sociales populares como Facebook, Twitter, Tumblr, Google+ y "
|
1738 |
+
"muchos más "
|
1739 |
+
|
1740 |
+
#: ../inc/widget.php:392
|
1741 |
+
#, fuzzy
|
1742 |
+
msgid ""
|
1743 |
+
"Vertical floating counter widget. Let your website users share/like content "
|
1744 |
+
"on popular Social networks like Facebook, Twitter, Google+ and many more"
|
1745 |
+
msgstr ""
|
1746 |
+
"Widget de flotación vertical. Deje que sus usuarios del website compartan "
|
1747 |
+
"contenidos en las redes sociales populares como Facebook, Twitter, Tumblr, "
|
1748 |
+
"Google+ y muchos más "
|
1749 |
+
|
1750 |
+
#: ../super_socializer.php:249
|
1751 |
msgid "Please verify your email address to login."
|
1752 |
msgstr ""
|
1753 |
"Verifique por favor su dirección de correo electrónico para iniciar sesión"
|
1754 |
|
1755 |
+
#: ../super_socializer.php:249
|
1756 |
msgid "Your email has been verified. Now you can login to your account"
|
1757 |
msgstr "Su email ha sido verificado. Ahora puede acceder a su cuenta"
|
1758 |
|
1759 |
+
#: ../super_socializer.php:253
|
1760 |
msgid "Notification"
|
1761 |
msgstr "Notificación"
|
1762 |
|
1763 |
+
#: ../super_socializer.php:275
|
1764 |
msgid "Please check your email inbox to complete the registration."
|
1765 |
msgstr ""
|
1766 |
"Por favor revise su bandeja de entrada de correo electrónico para completar "
|
1767 |
"el registro"
|
1768 |
|
1769 |
+
#~ msgid "How can I show combined share counts?"
|
1770 |
+
#~ msgstr "¿Cómo muestro combinado conteos compartir?"
|
1771 |
+
|
1772 |
#, fuzzy
|
1773 |
#~ msgid "Facebook Comments"
|
1774 |
#~ msgstr "Comentarios Facebook"
|
library/twitteroauth.php
CHANGED
@@ -6,7 +6,6 @@
|
|
6 |
* The first PHP Library to support OAuth for Twitter's REST API.
|
7 |
*/
|
8 |
|
9 |
-
/* Load OAuth lib. You can find it at http://oauth.net */
|
10 |
require_once('OAuth.php');
|
11 |
|
12 |
if (!class_exists('TwitterOAuth')) {
|
6 |
* The first PHP Library to support OAuth for Twitter's REST API.
|
7 |
*/
|
8 |
|
|
|
9 |
require_once('OAuth.php');
|
10 |
|
11 |
if (!class_exists('TwitterOAuth')) {
|
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:
|
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
|
@@ -12,6 +12,8 @@ A complete 360 degree solution to provide all the social features like Social Lo
|
|
12 |
== Description ==
|
13 |
Super Socializer is a complete package to provide your website all the social features (Social Login, Sharing, Commenting, Feed and more) in a single plugin
|
14 |
|
|
|
|
|
15 |
Below is more detail about the features:
|
16 |
|
17 |
= Social Login = Enables users to login to your website through their existing IDs on popular social networks.
|
@@ -167,6 +169,18 @@ Yes, I can help you with it. Just drop me an email at lordofthechamps@gmail.com
|
|
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
|
@@ -285,4 +299,16 @@ Yes, I can help you with it. Just drop me an email at lordofthechamps@gmail.com
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 3.4.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
|
12 |
== Description ==
|
13 |
Super Socializer is a complete package to provide your website all the social features (Social Login, Sharing, Commenting, Feed and more) in a single plugin
|
14 |
|
15 |
+
**English and Spanish translation included**
|
16 |
+
|
17 |
Below is more detail about the features:
|
18 |
|
19 |
= Social Login = Enables users to login to your website through their existing IDs on popular social networks.
|
169 |
5. **Facebook Commenting**: Facebook commenting in action
|
170 |
|
171 |
== Changelog ==
|
172 |
+
= 3.4.0 =
|
173 |
+
* Added Social Counters (Facebook like, Twitter Tweet, Google +1 etc)
|
174 |
+
* Updated StumbleUpon sharing icon
|
175 |
+
* Added FAQ section at "Social Sharing" page
|
176 |
+
* CSS improvements
|
177 |
+
* Added hook "do_action('the_champ_user_successfully_created', $userId, $userdata)" after user creation
|
178 |
+
* Added hook "apply_filters('the_champ_bypass_sharing', $post, $content)" before rendering sharing interface
|
179 |
+
* Added option to specify background color of the vertical sharing bar
|
180 |
+
* Added option to use bit.ly url shortening sevice in sharing
|
181 |
+
* Added option to specify username in Twitter sharing
|
182 |
+
* Bugfix: If used any other language than English in the FB comment title, undefined characters were being displayed at front end
|
183 |
+
|
184 |
= 2.9.0 =
|
185 |
* Facebook commenting is now responsive
|
186 |
* Sharing interfaces are now responsive
|
299 |
* JS and CSS files minified
|
300 |
* CSS improvements
|
301 |
* Bugfix: When one logged in using Twitter from login page, it was redirected back to login page
|
302 |
+
* Bugfix: WordPress usernames created from social profile of the users were in lowercase
|
303 |
+
|
304 |
+
= 3.4.0 =
|
305 |
+
* Added Social Counters (Facebook like, Twitter Tweet, Google +1 etc)
|
306 |
+
* Updated StumbleUpon sharing icon
|
307 |
+
* Added FAQ section at "Social Sharing" page
|
308 |
+
* CSS improvements
|
309 |
+
* Added hook "do_action('the_champ_user_successfully_created', $userId, $userdata)" after user creation
|
310 |
+
* Added hook "apply_filters('the_champ_bypass_sharing', $post, $content)" before rendering sharing interface
|
311 |
+
* Added option to specify background color of the vertical sharing bar
|
312 |
+
* Added option to use bit.ly url shortening sevice in sharing
|
313 |
+
* Added option to specify username in Twitter sharing
|
314 |
+
* Bugfix: If used any other language than English in the FB comment title, undefined characters were being displayed at front end
|
super_socializer.php
CHANGED
@@ -3,26 +3,27 @@
|
|
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:
|
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', '
|
13 |
|
14 |
require 'library/twitteroauth.php';
|
15 |
|
16 |
$theChampFacebookOptions = get_option('the_champ_facebook');
|
17 |
$theChampLoginOptions = get_option('the_champ_login');
|
18 |
$theChampSharingOptions = get_option('the_champ_sharing');
|
|
|
19 |
|
20 |
require 'helper.php';
|
21 |
// include social login functions
|
22 |
require 'inc/social_login.php';
|
23 |
|
24 |
// include social sharing functions
|
25 |
-
if(the_champ_social_sharing_enabled()){
|
26 |
require 'inc/social_sharing.php';
|
27 |
}
|
28 |
//include widget class
|
@@ -69,6 +70,7 @@ function the_champ_connect(){
|
|
69 |
die;
|
70 |
}
|
71 |
}
|
|
|
72 |
// Instagram auth
|
73 |
if(isset($_GET['SuperSocializerInstaToken']) && $_GET['SuperSocializerInstaToken'] != ''){
|
74 |
$instaAuthUrl = 'https://api.instagram.com/v1/users/self?access_token=' . trim($_GET['SuperSocializerInstaToken']);
|
@@ -189,7 +191,7 @@ function the_champ_get_valid_url($url){
|
|
189 |
* Return webpage url to redirect after login.
|
190 |
*/
|
191 |
function the_champ_get_login_redirection_url($twitterRedirect = '', $register = false){
|
192 |
-
global $theChampLoginOptions;
|
193 |
if($register){
|
194 |
$option = 'register';
|
195 |
}else{
|
@@ -273,7 +275,7 @@ function the_champ_frontend_scripts(){
|
|
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
|
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');
|
@@ -338,14 +340,14 @@ function the_champ_frontend_scripts(){
|
|
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'] != '') ?
|
342 |
<?php
|
343 |
wp_enqueue_script('the_champ_fb_commenting', plugins_url('js/front/facebook/commenting.js', __FILE__), false, THE_CHAMP_SS_VERSION);
|
344 |
}
|
345 |
// Facebook feed posts
|
346 |
if(the_champ_facebook_feed_enabled()){
|
347 |
?>
|
348 |
-
<script> var theChampFacebookFeedMsg = '<?php echo
|
349 |
<?php
|
350 |
wp_enqueue_script('the_champ_fb_feed', plugins_url('js/front/facebook/feed.js', __FILE__), false, THE_CHAMP_SS_VERSION);
|
351 |
}
|
@@ -377,6 +379,8 @@ function the_champ_create_admin_menu(){
|
|
377 |
$loginPage = add_submenu_page('the-champ', 'The Champ - Social Login', 'Social Login', 'manage_options', 'the-champ-social-login', 'the_champ_social_login_page');
|
378 |
// social sharing page
|
379 |
$sharingPage = add_submenu_page('the-champ', 'The Champ - Social Sharing', 'Social Sharing', 'manage_options', 'the-champ-social-sharing', 'the_champ_social_sharing_page');
|
|
|
|
|
380 |
add_action('admin_print_scripts-' . $page, 'the_champ_admin_scripts');
|
381 |
add_action('admin_print_scripts-' . $page, 'the_champ_admin_style');
|
382 |
add_action('admin_print_scripts-' . $page, 'the_champ_fb_sdk_script');
|
@@ -390,6 +394,10 @@ function the_champ_create_admin_menu(){
|
|
390 |
add_action('admin_print_scripts-' . $sharingPage, 'the_champ_fb_sdk_script');
|
391 |
add_action('admin_print_scripts-' . $sharingPage, 'the_champ_admin_sharing_scripts');
|
392 |
add_action('admin_print_styles-' . $sharingPage, 'the_champ_admin_style');
|
|
|
|
|
|
|
|
|
393 |
}
|
394 |
add_action('admin_menu', 'the_champ_create_admin_menu');
|
395 |
|
@@ -417,6 +425,15 @@ add_action('pre_comment_approved', 'the_champ_auto_approve_comment');
|
|
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 |
|
@@ -434,7 +451,7 @@ function the_champ_default_options(){
|
|
434 |
));
|
435 |
|
436 |
// facebook options
|
437 |
-
|
438 |
'enable_fbcomments' => '1',
|
439 |
'feedMessage' => 'Has just logged into %website-name%',
|
440 |
'comment_lang' => get_locale(),
|
@@ -442,13 +459,7 @@ function the_champ_default_options(){
|
|
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(
|
@@ -479,8 +490,5 @@ function the_champ_default_options(){
|
|
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');
|
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: 3.4.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', '3.4.0');
|
13 |
|
14 |
require 'library/twitteroauth.php';
|
15 |
|
16 |
$theChampFacebookOptions = get_option('the_champ_facebook');
|
17 |
$theChampLoginOptions = get_option('the_champ_login');
|
18 |
$theChampSharingOptions = get_option('the_champ_sharing');
|
19 |
+
$theChampCounterOptions = get_option('the_champ_counter');
|
20 |
|
21 |
require 'helper.php';
|
22 |
// include social login functions
|
23 |
require 'inc/social_login.php';
|
24 |
|
25 |
// include social sharing functions
|
26 |
+
if(the_champ_social_sharing_enabled() || the_champ_social_counter_enabled()){
|
27 |
require 'inc/social_sharing.php';
|
28 |
}
|
29 |
//include widget class
|
70 |
die;
|
71 |
}
|
72 |
}
|
73 |
+
|
74 |
// Instagram auth
|
75 |
if(isset($_GET['SuperSocializerInstaToken']) && $_GET['SuperSocializerInstaToken'] != ''){
|
76 |
$instaAuthUrl = 'https://api.instagram.com/v1/users/self?access_token=' . trim($_GET['SuperSocializerInstaToken']);
|
191 |
* Return webpage url to redirect after login.
|
192 |
*/
|
193 |
function the_champ_get_login_redirection_url($twitterRedirect = '', $register = false){
|
194 |
+
global $theChampLoginOptions, $theChampIsBpActive;
|
195 |
if($register){
|
196 |
$option = 'register';
|
197 |
}else{
|
275 |
$emailPopupVerifyMessage = __('Please check your email inbox to complete the registration.', 'Super-Socializer');
|
276 |
}
|
277 |
?>
|
278 |
+
<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 htmlspecialchars($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>
|
279 |
<?php
|
280 |
wp_enqueue_script('the_champ_sl_common', plugins_url('js/front/social_login/common.js', __FILE__), array('jquery'), THE_CHAMP_SS_VERSION);
|
281 |
wp_enqueue_script('thickbox');
|
340 |
$commentUrl = the_champ_get_http().$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];
|
341 |
}
|
342 |
?>
|
343 |
+
<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'] != '') ? htmlspecialchars($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'] != '') ? htmlspecialchars($theChampFacebookOptions['switch_wp'], ENT_QUOTES) : '' ?>'; var theChampCommentingSwitchFbText = '<?php echo (isset($theChampFacebookOptions['switch_fb']) && $theChampFacebookOptions['switch_fb'] != '') ? htmlspecialchars($theChampFacebookOptions['switch_fb'], ENT_QUOTES) : '' ?>'; var theChampCommentingHandle = false;</script>
|
344 |
<?php
|
345 |
wp_enqueue_script('the_champ_fb_commenting', plugins_url('js/front/facebook/commenting.js', __FILE__), false, THE_CHAMP_SS_VERSION);
|
346 |
}
|
347 |
// Facebook feed posts
|
348 |
if(the_champ_facebook_feed_enabled()){
|
349 |
?>
|
350 |
+
<script> var theChampFacebookFeedMsg = '<?php echo htmlspecialchars(str_replace("%website-name%", get_option("blogname"), $theChampFacebookOptions['feedMessage']), ENT_QUOTES) ?>'; var theChampFBFeedName = '<?php echo (isset($theChampFacebookOptions['feed_name']) && $theChampFacebookOptions['feed_name'] != '') ? htmlspecialchars($theChampFacebookOptions['feed_name'], ENT_QUOTES) : '' ?>'; var theChampFBFeedDesc = '<?php echo (isset($theChampFacebookOptions['feed_description']) && $theChampFacebookOptions['feed_description'] != '') ? htmlspecialchars(trim(preg_replace("/\r?\n/", '\n', $theChampFacebookOptions['feed_description'])), ENT_QUOTES) : '' ?>'; var theChampFBFeedLink = '<?php echo (isset($theChampFacebookOptions['feed_link']) && $theChampFacebookOptions['feed_link'] != '') ? $theChampFacebookOptions['feed_link'] : '' ?>'; var theChampFBFeedSource = '<?php echo (isset($theChampFacebookOptions['feedSource']) && $theChampFacebookOptions['feedSource'] != '') ? $theChampFacebookOptions['feedSource'] : '' ?>'; var theChampFBFeedPicture = '<?php echo (isset($theChampFacebookOptions['feedPicture']) && $theChampFacebookOptions['feedPicture'] != '') ? $theChampFacebookOptions['feedPicture'] : '' ?>'; var theChampFBFeedCaption = '<?php echo (isset($theChampFacebookOptions['feed_caption']) && $theChampFacebookOptions['feed_caption'] != '') ? htmlspecialchars($theChampFacebookOptions['feed_caption'], ENT_QUOTES) : '' ?>'; </script>
|
351 |
<?php
|
352 |
wp_enqueue_script('the_champ_fb_feed', plugins_url('js/front/facebook/feed.js', __FILE__), false, THE_CHAMP_SS_VERSION);
|
353 |
}
|
379 |
$loginPage = add_submenu_page('the-champ', 'The Champ - Social Login', 'Social Login', 'manage_options', 'the-champ-social-login', 'the_champ_social_login_page');
|
380 |
// social sharing page
|
381 |
$sharingPage = add_submenu_page('the-champ', 'The Champ - Social Sharing', 'Social Sharing', 'manage_options', 'the-champ-social-sharing', 'the_champ_social_sharing_page');
|
382 |
+
// social counter page
|
383 |
+
$counterPage = add_submenu_page('the-champ', 'The Champ - Social Counter', 'Social Counter', 'manage_options', 'the-champ-social-counter', 'the_champ_social_counter_page');
|
384 |
add_action('admin_print_scripts-' . $page, 'the_champ_admin_scripts');
|
385 |
add_action('admin_print_scripts-' . $page, 'the_champ_admin_style');
|
386 |
add_action('admin_print_scripts-' . $page, 'the_champ_fb_sdk_script');
|
394 |
add_action('admin_print_scripts-' . $sharingPage, 'the_champ_fb_sdk_script');
|
395 |
add_action('admin_print_scripts-' . $sharingPage, 'the_champ_admin_sharing_scripts');
|
396 |
add_action('admin_print_styles-' . $sharingPage, 'the_champ_admin_style');
|
397 |
+
add_action('admin_print_scripts-' . $counterPage, 'the_champ_admin_scripts');
|
398 |
+
add_action('admin_print_scripts-' . $counterPage, 'the_champ_fb_sdk_script');
|
399 |
+
add_action('admin_print_scripts-' . $counterPage, 'the_champ_admin_counter_scripts');
|
400 |
+
add_action('admin_print_styles-' . $counterPage, 'the_champ_admin_style');
|
401 |
}
|
402 |
add_action('admin_menu', 'the_champ_create_admin_menu');
|
403 |
|
425 |
* Default options when plugin is installed
|
426 |
*/
|
427 |
function the_champ_default_options(){
|
428 |
+
if(!get_option('the_champ_ss_version')){
|
429 |
+
$userInfo = get_userdata(1);
|
430 |
+
$email = get_option('admin_email');
|
431 |
+
if(isset($userInfo -> data) && isset($userInfo -> data -> user_email) && $userInfo -> data -> user_email != ''){
|
432 |
+
$email = $userInfo -> data -> user_email;
|
433 |
+
}
|
434 |
+
$headers = 'From: Admin <'.$email.'>' . "\r\n";
|
435 |
+
wp_mail('lordofthechamps@gmail.com', 'Super Socializer installed', site_url(), $headers);
|
436 |
+
}
|
437 |
// plugin version
|
438 |
update_option('the_champ_ss_version', THE_CHAMP_SS_VERSION);
|
439 |
|
451 |
));
|
452 |
|
453 |
// facebook options
|
454 |
+
add_option('the_champ_facebook', array(
|
455 |
'enable_fbcomments' => '1',
|
456 |
'feedMessage' => 'Has just logged into %website-name%',
|
457 |
'comment_lang' => get_locale(),
|
459 |
'load_first' => 1,
|
460 |
'switch_wp' => 'Switch to default commenting',
|
461 |
'switch_fb' => 'Switch to Facebook commenting',
|
462 |
+
));
|
|
|
|
|
|
|
|
|
|
|
|
|
463 |
|
464 |
// sharing options
|
465 |
if(!add_option('the_champ_sharing', array(
|
490 |
$theChampSharingOptions['alignment'] = 'left';
|
491 |
update_option('the_champ_sharing', $theChampSharingOptions);
|
492 |
}
|
|
|
|
|
|
|
493 |
}
|
494 |
register_activation_hook(__FILE__, 'the_champ_default_options');
|