Social Login - Version 5.6

Version Description

  • Responsive admin interface
  • CSS Tweaks for better integration
  • Default icons changed
  • Linked social networks in user list
  • Tested with WordPress 5.3
Download this release

Release Info

Developer ClaudeSchlesser
Plugin Icon 128x128 Social Login
Version 5.6
Comparing to
See all releases

Code changes from version 5.5.1 to 5.6

assets/css/admin.css CHANGED
@@ -1,10 +1,12 @@
1
- /* ********************* Page Wrapper */
2
  #oa_social_login_page {
3
- max-width: 1024px;
 
4
  }
5
 
6
- #oa_social_login_page.oa_social_login_more {
7
- width: 774px;
 
8
  }
9
 
10
  #oa_social_login_page .nav-tab-wrapper {
@@ -12,171 +14,269 @@
12
  }
13
 
14
  #oa_social_login_page .nav-tab {
15
- padding: 5px 30px;
16
  text-align: center;
17
- width: 150px
 
 
18
  }
19
 
20
  #oa_social_login_page .nav-tab-active,
21
  #oa_social_login_page .nav-tab-active:focus,
22
  #oa_social_login_page .nav-tab-active:focus:active,
23
  #oa_social_login_page.nav-tab-active:hover {
24
- background-color: #0073aa;
25
  border-bottom: 1px solid #0073aa;
26
  color: #fff;
27
  }
28
 
 
 
 
 
 
29
  /* ********************* Plugins */
30
  .oa_social_login_plugin {
31
  border: 1px solid #ccc;
32
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
33
  margin: 10px 0 25px;
 
 
34
  }
35
 
36
  .oa_social_login_plugin .oa_social_login_plugin_img img {
37
  float: left;
38
- height: 250px;
39
- width: 772px;
40
- }
41
-
42
- .oa_social_login_plugin a.button-primary {
43
- height: 21px;
44
- line-height: 19px;
45
- padding: 0 10px;
46
- vertical-align: top;
47
  }
48
 
49
  .oa_social_login_plugin .oa_social_login_plugin_desc {
50
- background: #eee none repeat scroll 0 0;
51
- border-top: 1px solid #fcfcfc;
52
- box-shadow: 0 0 42px 0 rgba(100, 100, 100, 0.1) inset;
53
- font-size: 16px;
54
  line-height: 24px;
55
  overflow: hidden;
56
- padding: 15px;
57
- text-shadow: 0 1px 1px #fff;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  }
59
 
60
- /* ********************* Boxes */
 
 
 
 
 
61
  .oa_social_login_box {
62
- border: 1px solid #CCCCCC;
63
- margin-bottom: 35px;
64
  padding: 10px 15px;
 
 
65
  }
66
 
67
  .oa_social_login_box p {
68
- font-size: 14px;
69
  }
70
 
71
- .oa_social_login_box .oa_social_login_box_title {
72
- border-bottom: 1px solid #ccc;
73
  font-size: 15px;
74
- font-weight: bold;
75
- padding-bottom: 5px;
 
76
  }
77
 
78
- .oa_social_login_box .oa_social_login_button_wrap {
79
- text-align: center;
80
- padding: 10px 0 20px;
81
  }
82
 
83
- .oa_social_login_box .oa_social_login_button_wrap a {
84
- font-size: 14px;
85
- height: 40px;
86
- line-height: 40px;
87
- padding: 0 33px;
88
- margin: 0 10px;
 
 
 
 
 
89
  }
90
 
91
- #oa_social_login_box_started {
92
- background-color: #dff0d8;
93
- border-color: #c4d7b4;
 
94
  color: #3c763d;
95
  }
96
 
97
- #oa_social_login_box_started a {
98
- color: #1a541b;
99
  }
100
 
101
- #oa_social_login_box_started a:hover {
102
- text-decoration: none;
103
- color: #111;
104
  }
105
 
106
- #oa_social_login_box_started a.button-secondary {
107
- color: #555;
 
 
 
108
  }
109
 
110
- #oa_social_login_box_started h3 {
111
- text-align: center;
112
- color: #4a844b;
113
  }
114
 
115
- #oa_social_login_box_status {
116
- background-color: #E1EDFF;
117
- margin-bottom: 10px;
118
  }
119
 
120
- #oa_social_login_box_status p {
121
- text-align: center;
122
- font-size: 15px;
 
 
123
  }
124
 
125
- #oa_social_login_box_notice {
126
- background-color: #C4F095;
127
  }
128
 
129
- #oa_social_login_box_help {
130
- background-color: #FFFFE0;
131
- border-color: #E6DB55;
132
- margin-bottom: 35px;
133
  }
134
 
135
- #oa_social_login_box_help ul {
136
- padding-left: 20px;
137
- list-style-type: disc;
 
 
138
  }
139
 
140
- #oa_social_login_box_help .oa_social_login_box_title {
141
- border-color: #E6DB55;
142
  }
143
 
144
- #oa_social_login_box_help a {
145
- color: #111;
 
 
 
146
  }
147
 
148
- #oa_social_login_box_help a:hover {
149
- color: #d54e21;
 
150
  }
151
 
152
- #oa_social_login_box_updated {
153
- background-color: green;
154
- color: #fff;
155
- font-weight: bold;
 
 
 
 
 
 
156
  }
157
 
158
  /* ********************* Tables */
159
  .oa_social_login_table {
160
  background-color: #efefef;
161
- border: 1px solid #ccc;
162
  margin: 0 0 25px;
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  }
164
 
165
  .oa_social_login_table input {
166
  border-color: #aaa;
 
167
  }
168
 
169
- .oa_social_login_table textarea{
170
- border-color: #aaa;
 
 
 
 
 
171
  width: 100%;
 
172
  }
173
 
174
  .oa_social_login_table tr.row_head th {
175
- font-size: 14px;
176
  font-weight: bold;
177
- background-color: #3E687B;
178
  color: #fff;
179
- text-shadow: 0 1px 0 #333;
180
  padding: 15px 10px;
181
  }
182
 
@@ -193,34 +293,39 @@
193
  text-decoration: none;
194
  }
195
 
196
- .oa_social_login_table tr.row_odd,
197
  .oa_social_login_table tr.row_odd td {
198
  color: #222;
199
- background-color: #ddd;
200
- border-bottom: 1px dotted #BBBBBB;
201
  line-height: 23px
202
  }
203
 
204
- .oa_social_login_table tr.row_even,
205
  .oa_social_login_table tr.row_even td {
206
  color: #333;
207
  background-color: #fff;
208
- border-bottom: 1px dotted #bbb;
209
  line-height: 23px
210
  }
211
 
212
- .oa_social_login_table td.col_unpadded {
213
- padding: 0;
214
  }
215
 
216
- .oa_social_login_table tr td.row_multi {
217
- border-right: 1px dotted #BBBBBB;
 
 
 
 
 
 
 
 
218
  }
219
 
220
  .oa_social_login_table tr.row_foot td {
221
  background-color: #ddd;
222
  }
223
 
 
224
  .oa_social_login_table tr.row_foot .error_message {
225
  color: red;
226
  background: url("../img/status_error.png") no-repeat scroll 0 50% #ddd;
@@ -252,28 +357,13 @@
252
  font-weight: bold;
253
  }
254
 
255
- .oa_social_login_table a.social-sharing {
256
- background-image: url("../img/social_sharing.png");
257
- background-repeat: no-repeat;
258
- display: block;
259
- height: 250px;
260
- width: 772px;
261
  }
262
 
263
  /* ********************* Providers */
264
- .oa_social_login_table tr.row_provider td {
265
- line-height: 35px;
266
- }
267
-
268
- .oa_social_login_table tr.row_provider td.cell_provider_icon {
269
- width: 50px;
270
- text-align: center !important;
271
- }
272
-
273
- .oa_social_login_table tr.row_provider td.cell_provider_label {
274
- text-align: left !important;
275
- }
276
-
277
  .oa_social_login_provider {
278
  background-image: url("../img/sprite_35_35.png");
279
  text-indent: -9999px;
@@ -282,7 +372,7 @@
282
  display: inline-block;
283
  }
284
 
285
- /* Buttons */
286
  .oa_social_login_provider_amazon {
287
  background-position: -1149px -1px;
288
  }
1
+ /* ********************* Page */
2
  #oa_social_login_page {
3
+ background-color: #fff;
4
+ padding: 20px;
5
  }
6
 
7
+ #oa_social_login_page h2 {
8
+ margin-top: 0;
9
+ font-size: 18px;
10
  }
11
 
12
  #oa_social_login_page .nav-tab-wrapper {
14
  }
15
 
16
  #oa_social_login_page .nav-tab {
17
+ padding: 10px 0;
18
  text-align: center;
19
+ width: 150px;
20
+ margin: 0 5px -1px 0;
21
+ border: 0 none;
22
  }
23
 
24
  #oa_social_login_page .nav-tab-active,
25
  #oa_social_login_page .nav-tab-active:focus,
26
  #oa_social_login_page .nav-tab-active:focus:active,
27
  #oa_social_login_page.nav-tab-active:hover {
28
+ background-color: #0073aa !important;
29
  border-bottom: 1px solid #0073aa;
30
  color: #fff;
31
  }
32
 
33
+ #oa_social_login_page .nav-tab:hover {
34
+ background-color: #eee;
35
+ box-shadow: none;
36
+ }
37
+
38
  /* ********************* Plugins */
39
  .oa_social_login_plugin {
40
  border: 1px solid #ccc;
41
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
42
  margin: 10px 0 25px;
43
+ overflow: hidden;
44
+ background-color: rgb(238, 238, 238);
45
  }
46
 
47
  .oa_social_login_plugin .oa_social_login_plugin_img img {
48
  float: left;
49
+ width: 480px;
 
 
 
 
 
 
 
 
50
  }
51
 
52
  .oa_social_login_plugin .oa_social_login_plugin_desc {
53
+ font-size: 17px;
 
 
 
54
  line-height: 24px;
55
  overflow: hidden;
56
+ display: table-cell;
57
+ vertical-align: middle;
58
+ height: 136px;
59
+ padding: 10px 30px;
60
+ text-align:justify;
61
+ }
62
+
63
+ @media only screen and (max-width: 1200px) {
64
+ .oa_social_login_plugin .oa_social_login_plugin_img img{
65
+ width: 100%;
66
+ }
67
+ }
68
+
69
+ /* ********************* Base Button */
70
+ .oa_social_login_btn {
71
+ display: inline-block;
72
+ padding: 6px 12px;
73
+ margin-bottom: 0;
74
+ font-size: 16px;
75
+ font-weight: normal;
76
+ line-height: 1.42857143;
77
+ text-align: center;
78
+ white-space: nowrap;
79
+ vertical-align: middle;
80
+ cursor: pointer;
81
+ background-image: none;
82
+ border: 1px solid transparent;
83
+ border-radius: 4px;
84
+ text-decoration: none;
85
+ }
86
+
87
+ .oa_social_login_btn.oa_social_login_btn_large{
88
+ font-size: 19px;
89
+ }
90
+
91
+ /* ********************* Success Button */
92
+ .oa_social_login_btn_success:focus,
93
+ .oa_social_login_btn_success:active,
94
+ .oa_social_login_btn_success {
95
+ color: #fff;
96
+ background-color: rgb(92, 184, 92);
97
+ border-color: rgb(76, 174, 76);
98
+ box-shadow: none;
99
+ }
100
+
101
+ .oa_social_login_btn_success:hover {
102
+ color: #fff;
103
+ background-color: #449d44;
104
+ border-color: #398439;
105
+ }
106
+
107
+ /* ********************* Info Button */
108
+ .oa_social_login_btn_info:focus,
109
+ .oa_social_login_btn_info:active,
110
+ .oa_social_login_btn_info {
111
+ color: rgb(255, 255, 255);
112
+ background-color: rgb(66, 126, 155);
113
+ border-color: rgb(27, 111, 152);
114
+ box-shadow: none;
115
  }
116
 
117
+ .oa_social_login_btn_info:hover {
118
+ color: #fff;
119
+ background-color: rgb(44, 90, 113);
120
+ }
121
+
122
+ /* ********************* Base Box */
123
  .oa_social_login_box {
124
+ border: 1px solid rgb(228, 228, 228);
125
+ margin : 20px 0 35px 0;
126
  padding: 10px 15px;
127
+ border-radius: 3px;
128
+ margin: 20px 0 35px 0;
129
  }
130
 
131
  .oa_social_login_box p {
132
+ font-size: 15px;
133
  }
134
 
135
+ .oa_social_login_box ul {
 
136
  font-size: 15px;
137
+ list-style: disc;
138
+ overflow: hidden;
139
+ padding-left: 17px;
140
  }
141
 
142
+ .oa_social_login_box ul li{
143
+ padding-left: 5px;
 
144
  }
145
 
146
+ .oa_social_login_box a:hover {
147
+ text-decoration: none;
148
+ }
149
+
150
+ .oa_social_login_box .oa_social_login_box_title {
151
+ border-bottom: 1px solid rgb(228, 228, 228);
152
+ font-size : 16px;
153
+ font-weight: bold;
154
+ padding-bottom: 12px;
155
+ padding-top: 4px;
156
+ font-size: 16px;
157
  }
158
 
159
+ /* ********************* Success Box */
160
+ .oa_social_login_box.oa_social_login_box_success {
161
+ background-color: #ebffe2;
162
+ border-color: #cef2b1;
163
  color: #3c763d;
164
  }
165
 
166
+ .oa_social_login_box.oa_social_login_box_success a:not(.oa_social_login_btn ){
167
+ color: #3c763d;
168
  }
169
 
170
+ .oa_social_login_box.oa_social_login_box_success .oa_social_login_box_title {
171
+ border-bottom: 1px solid rgb(206, 242, 177);
 
172
  }
173
 
174
+ /* ********************* Warning Box */
175
+ .oa_social_login_box.oa_social_login_box_warning {
176
+ background-color: rgb(253, 247, 227);
177
+ border-color: rgb(255, 236, 171);
178
+ color: rgb(65, 65, 65);
179
  }
180
 
181
+ .oa_social_login_box.oa_social_login_box_warning a:not(.oa_social_login_btn ){
182
+ color: #3c763d;
 
183
  }
184
 
185
+ .oa_social_login_box.oa_social_login_box_warning .oa_social_login_box_title {
186
+ border-bottom: 1px solid rgb(222, 222, 222);
 
187
  }
188
 
189
+ /* ********************* Notice Box */
190
+ .oa_social_login_box.oa_social_login_box_notice {
191
+ background-color: rgb(142, 68, 173);
192
+ border-color: rgb(128, 43, 164);
193
+ color: #fff;
194
  }
195
 
196
+ .oa_social_login_box.oa_social_login_box_warning a:not(.oa_social_login_btn ){
197
+ color: #fff;
198
  }
199
 
200
+ .oa_social_login_box.oa_social_login_box_warning .oa_social_login_box_title {
201
+ border-bottom: 1px solid rgb(222, 222, 222);
 
 
202
  }
203
 
204
+ /* ********************* Info Box */
205
+ .oa_social_login_box.oa_social_login_box_info {
206
+ background-color: rgb(206, 224, 237);
207
+ border-color: rgb(186, 215, 236);
208
+ color: rgb(80, 80, 80);
209
  }
210
 
211
+ .oa_social_login_box.oa_social_login_box_info a:not(.oa_social_login_btn ){
212
+ color: #fff;
213
  }
214
 
215
+ .oa_social_login_box.oa_social_login_box_info .oa_social_login_box_title {
216
+ color: rgb(68, 119, 156);
217
+ text-align: center;
218
+ border: 0 none;
219
+ font-size: 18px;
220
  }
221
 
222
+ /* ********************* Header Links */
223
+ .oa_social_login_header_links {
224
+ float: right;
225
  }
226
 
227
+ .oa_social_login_header_links a {
228
+ text-decoration: none;
229
+ padding: 0 10px;
230
+ font-size: 14px;
231
+ color: rgb(142, 68, 173);
232
+ text-decoration: none;
233
+ }
234
+
235
+ .oa_social_login_header_links a:hover {
236
+ color: rgb(167, 89, 200);
237
  }
238
 
239
  /* ********************* Tables */
240
  .oa_social_login_table {
241
  background-color: #efefef;
242
+ border: 1px solid rgba(0, 0, 0, 0.08);
243
  margin: 0 0 25px;
244
+ table-layout: fixed;
245
+ }
246
+
247
+ .oa_social_login_table td,
248
+ .oa_social_login_table th {
249
+ width: 250px;
250
+ display: table-cell ! important;
251
+ padding:15px !important;
252
+ }
253
+
254
+ .oa_social_login_table td+td,
255
+ .oa_social_login_table th+th {
256
+ width: auto;
257
  }
258
 
259
  .oa_social_login_table input {
260
  border-color: #aaa;
261
+ max-width: 100%;
262
  }
263
 
264
+ .oa_social_login_table input:focus{
265
+ border: 1px solid rgb(41, 128, 185);
266
+ box-shadow: none;
267
+ }
268
+
269
+ .oa_social_login_table textarea {
270
+ border-color: rgb(200, 200, 200);
271
  width: 100%;
272
+ margin-top: 10px;
273
  }
274
 
275
  .oa_social_login_table tr.row_head th {
276
+ font-size: 15px;
277
  font-weight: bold;
278
+ background-color: rgb(41, 128, 185);
279
  color: #fff;
 
280
  padding: 15px 10px;
281
  }
282
 
293
  text-decoration: none;
294
  }
295
 
 
296
  .oa_social_login_table tr.row_odd td {
297
  color: #222;
298
+ background-color: #efefef;
 
299
  line-height: 23px
300
  }
301
 
 
302
  .oa_social_login_table tr.row_even td {
303
  color: #333;
304
  background-color: #fff;
 
305
  line-height: 23px
306
  }
307
 
308
+ .oa_social_login_table tr td.col_br {
309
+ border-right: 1px solid rgba(0, 0, 0, 0.08);
310
  }
311
 
312
+ .oa_social_login_table tr td.col_pt_0 {
313
+ padding-top: 0;
314
+ }
315
+
316
+ .oa_social_login_table tr td.col_center {
317
+ text-align: center;
318
+ }
319
+
320
+ .oa_social_login_table tr td.col_provider {
321
+ font-size: 15px;
322
  }
323
 
324
  .oa_social_login_table tr.row_foot td {
325
  background-color: #ddd;
326
  }
327
 
328
+ /* ********************* Status Message */
329
  .oa_social_login_table tr.row_foot .error_message {
330
  color: red;
331
  background: url("../img/status_error.png") no-repeat scroll 0 50% #ddd;
357
  font-weight: bold;
358
  }
359
 
360
+ /* ********************* Button Container */
361
+ .oa_social_login_buttons {
362
+ text-align: center;
363
+ margin: 15px 0 10px 0;
 
 
364
  }
365
 
366
  /* ********************* Providers */
 
 
 
 
 
 
 
 
 
 
 
 
 
367
  .oa_social_login_provider {
368
  background-image: url("../img/sprite_35_35.png");
369
  text-indent: -9999px;
372
  display: inline-block;
373
  }
374
 
375
+ /* ********************* Provider Icons */
376
  .oa_social_login_provider_amazon {
377
  background-position: -1149px -1px;
378
  }
assets/css/site.css CHANGED
@@ -106,4 +106,4 @@
106
  font-size: 12px;
107
  font-weight: bold;
108
  margin: 5px 0 20px;
109
- }
106
  font-size: 12px;
107
  font-weight: bold;
108
  margin: 5px 0 20px;
109
+ }
includes/admin.php CHANGED
@@ -11,7 +11,7 @@ function oa_social_login_admin_user_column_add ($columns)
11
  //Add column if enabled
12
  if (!empty ($settings ['plugin_add_column_user_list']))
13
  {
14
- $columns ['oa_social_login_registration'] = __ ('Registration', 'oa-social-login');
15
  }
16
  return $columns;
17
  }
@@ -19,43 +19,70 @@ add_filter ('manage_users_columns', 'oa_social_login_admin_user_column_add');
19
 
20
 
21
  /**
22
- * Admin User List: Add column content
23
  **/
24
  function oa_social_login_admin_user_colum_display ($value, $column_name, $user_id)
25
  {
26
  //Check if it is our own column
27
- if ($column_name <> 'oa_social_login_registration')
28
  {
29
  return $value;
30
  }
31
 
32
- //Read Identity Providers
33
  $identity_providers = trim (strval (get_user_meta ($user_id, 'oa_social_login_identity_provider', true)));
34
 
35
- // Some have been found
 
 
 
36
  if ( ! empty ($identity_providers))
37
  {
38
  $identity_providers = array_unique (explode ("|", $identity_providers));
39
  $identity_providers = array_map("ucwords", $identity_providers);
40
  }
41
- // None found
42
  else
43
  {
44
  $identity_providers = array ();
45
  }
46
 
47
- // Social Login Registration
48
  if (count ($identity_providers) > 0)
49
  {
50
- return '<strong>Social Login</strong>: ' . implode (", ", $identity_providers);
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  }
52
- //Traditional Registration
53
  else
54
  {
55
- return __ ('Registration Form', 'oa-social-login');
56
  }
57
  }
 
 
 
 
 
 
 
 
 
58
  add_action ('manage_users_custom_column', 'oa_social_login_admin_user_colum_display', 10, 3);
 
 
59
 
60
 
61
  /**
@@ -141,7 +168,7 @@ function oa_social_login_admin_message ()
141
  function oa_social_login_admin_ask_review ()
142
  {
143
  // Treshhold.
144
- $user_treshold = 25;
145
 
146
  // Postpone duration.
147
  $postpone_duration = (24 * 60 * 60 * 7);
@@ -469,7 +496,8 @@ function oa_social_login_settings_validate ($settings)
469
  'api_connection_handler',
470
  'api_connection_use_https',
471
  'api_subdomain',
472
- 'asynchronous_javascript',
 
473
  'api_key',
474
  'api_secret',
475
  'providers'
@@ -532,8 +560,9 @@ function oa_social_login_settings_validate ($settings)
532
  $sanitzed_settings ['api_subdomain'] = $api_subdomain;
533
  }
534
 
535
- //Sanitize Synchronous Flag
536
  $sanitzed_settings ['asynchronous_javascript'] = (empty ($sanitzed_settings ['asynchronous_javascript']) ? 0 : 1);
 
537
 
538
  //Done
539
  return $sanitzed_settings;
@@ -581,14 +610,14 @@ function oa_social_login_settings_validate ($settings)
581
  }
582
  }
583
 
584
- //Flag settings
585
- $sanitzed_settings ['plugin_add_column_user_list'] = ($sanitzed_settings ['plugin_add_column_user_list'] == '1' ? 1 : 0);
586
  $sanitzed_settings ['plugin_profile_show'] = ($sanitzed_settings ['plugin_profile_show'] == '0' ? 0 : 1);
587
  $sanitzed_settings ['plugin_notify_admin'] = ($sanitzed_settings ['plugin_notify_admin'] == '0' ? 0 : 1);
588
  $sanitzed_settings ['plugin_require_email'] = ($sanitzed_settings ['plugin_require_email'] == '1' ? 1 : 0);
589
  $sanitzed_settings ['plugin_comment_show'] = ($sanitzed_settings ['plugin_comment_show'] == '0' ? 0 : 1);
590
  $sanitzed_settings ['plugin_comment_show_if_members_only'] = ($sanitzed_settings ['plugin_comment_show_if_members_only'] == '0' ? 0 : 1);
591
- $sanitzed_settings ['plugin_icon_theme'] = (in_array ($sanitzed_settings ['plugin_icon_theme'], array (0, 1, 2)) ? $sanitzed_settings ['plugin_icon_theme'] : 0);
592
  $sanitzed_settings ['plugin_display_in_login_form'] = ($sanitzed_settings ['plugin_display_in_login_form'] == '0' ? 0 : 1);
593
  $sanitzed_settings ['plugin_display_in_registration_form'] = ($sanitzed_settings ['plugin_display_in_registration_form'] == '0' ? 0 : 1);
594
  $sanitzed_settings ['plugin_link_verified_accounts'] = ($sanitzed_settings ['plugin_link_verified_accounts'] == '0' ? 0 : 1);
@@ -597,7 +626,7 @@ function oa_social_login_settings_validate ($settings)
597
  $sanitzed_settings ['plugin_protect_login_redirect_url'] = ($sanitzed_settings ['plugin_protect_login_redirect_url'] == '1' ? 1 : 0);
598
 
599
 
600
- //Multiple settings
601
  $sanitzed_settings ['plugin_show_avatars_in_comments'] = (in_array ($sanitzed_settings ['plugin_show_avatars_in_comments'], array (0, 1, 2)) ? $sanitzed_settings ['plugin_show_avatars_in_comments'] : 2);
602
 
603
  //Redirection Settings: Widget & Shortcode Login
@@ -674,7 +703,14 @@ function oa_display_social_login_more ()
674
  ?>
675
  <div class="wrap">
676
  <div id="oa_social_login_page" class="oa_social_login_more">
677
- <h2>OneAll Social Login <?php echo (defined ('OA_SOCIAL_LOGIN_VERSION') ? OA_SOCIAL_LOGIN_VERSION : ''); ?></h2>
 
 
 
 
 
 
 
678
 
679
  <h2 class="nav-tab-wrapper">
680
  <a class="nav-tab" href="admin.php?page=oa_social_login_setup"><?php _e ('Setup', 'oa-social-login'); ?></a>
@@ -682,19 +718,16 @@ function oa_display_social_login_more ()
682
  <a class="nav-tab nav-tab-active" href="admin.php?page=oa_social_login_more"><?php _e ('+More', 'oa-social-login'); ?></a>
683
  </h2>
684
 
685
- <p></p>
686
-
687
- <div class="oa_social_login_box" id="oa_social_login_box_help">
688
  <ul>
689
- <li><?php printf (__ ('<a target="_blank" href="%s">Follow us on Twitter</a> to stay informed about updates', 'oa-social-login'), 'http://www.twitter.com/oneall'); ?>;</li>
690
- <li><?php printf (__ ('<a target="_blank" href="%s">Read the online documentation</a> for more information about this plugin', 'oa-social-login'), 'http://docs.oneall.com/plugins/guide/social-login-wordpress/'); ?>;</li>
691
- <li><?php printf (__ ('<a target="_blank" href="%s">Contact us</a> if you have feedback or need assistance', 'oa-social-login'), 'http://www.oneall.com/company/contact-us/'); ?>.
692
- <li><?php printf (__ ('We also have <a target="_blank" href="%s">turnkey plugins</a> for Drupal, PrestaShop, Joomla, phpBB andy many others ...', 'oa-social-login'), 'http://docs.oneall.com/plugins/'); ?>.
693
  </li>
694
  </ul>
695
  </div>
696
 
697
- <h1><?php _e ('Discover our other plugins!', 'oa-social-login'); ?></h1>
698
  <?php
699
  $more_url = admin_url('plugin-install.php?s=share+buttons+oneall&tab=search&type=term');
700
  ?>
@@ -704,7 +737,7 @@ function oa_display_social_login_more ()
704
  </div>
705
  <div class="oa_social_login_plugin_desc">
706
  <?php _e ('Allow your visitors to comment, login and register with 40+ social networks like for example Twitter, Facebook, Pinterest, Instagram, Paypal, LinkedIn, OpenID, VKontakte or Google+. Easy to use and 100% FREE.', 'oa-social-login'); ?>
707
- <a href="<?php echo $more_url; ?>" class="button-primary"><?php _e ('More Info', 'oa-social-login'); ?></a>
708
  </div>
709
  </div>
710
 
@@ -717,7 +750,7 @@ function oa_display_social_login_more ()
717
  </div>
718
  <div class="oa_social_login_plugin_desc">
719
  <?php _e ('LoudVoice replaces the basic WordPress comments by a powerful comment system that includes logging in with 40+ social networks, spam filters and more. Easy to use and 100% FREE. Existing comments can be imported!', 'oa-social-login'); ?>
720
- <a href="<?php echo $more_url; ?>" class="button-primary"><?php _e ('More Info', 'oa-social-login'); ?></a>
721
  </div>
722
  </div>
723
 
@@ -730,7 +763,7 @@ function oa_display_social_login_more ()
730
  </div>
731
  <div class="oa_social_login_plugin_desc">
732
  <?php _e ('Automatically creates accounts and signs users in as they browse between multiple and independent WordPress blogs or websites in your network. Take away the need for your users to create new accounts or re-enter their authentication credentials on every of your websites.', 'oa-social-login'); ?>
733
- <a href="<?php echo $more_url; ?>" class="button-primary"><?php _e ('More Info', 'oa-social-login'); ?></a>
734
  </div>
735
  </div>
736
  </div>
@@ -749,75 +782,76 @@ function oa_display_social_login_setup ()
749
  ?>
750
  <div class="wrap">
751
  <div id="oa_social_login_page" class="oa_social_login_setup">
752
- <h2>OneAll Social Login <?php echo (defined ('OA_SOCIAL_LOGIN_VERSION') ? OA_SOCIAL_LOGIN_VERSION : ''); ?></h2>
 
 
 
 
 
 
 
753
  <h2 class="nav-tab-wrapper">
754
  <a class="nav-tab nav-tab-active" href="admin.php?page=oa_social_login_setup"><?php _e ('Setup', 'oa-social-login'); ?></a>
755
  <a class="nav-tab" href="admin.php?page=oa_social_login_settings"><?php _e ('Settings', 'oa-social-login'); ?></a>
756
  <a class="nav-tab" href="admin.php?page=oa_social_login_more"><?php _e ('+More', 'oa-social-login'); ?></a>
757
  </h2>
758
  <?php
759
- if (get_option ('oa_social_login_api_settings_verified') !== '1')
760
- {
761
- ?>
762
- <p>
763
- <?php _e ('Allow your visitors to comment, login and register with 40+ Social Networks like for example Twitter, Facebook, LinkedIn, Instagram, VKontakte, Google or Yahoo.', 'oa-social-login'); ?>
764
- <strong><?php _e ('Draw a larger audience and increase your user engagement in a few simple steps.', 'oa-social-login'); ?> </strong>
765
- </p>
766
- <div class="oa_social_login_box" id="oa_social_login_box_started">
767
- <div class="oa_social_login_box_title">
768
- <?php _e ('Thank you for using Social Login', 'oa-social-login'); ?>
769
- </div>
770
- <p>
771
- <?php printf (__ ('To be able to use this plugin you first of all need to create a free account at %s. By using OneAll you will be sure that your social media integration will always run smoothly and with the most up-to-date calls.', 'oa-social-login'), '<a href="https://app.oneall.com/signup/wp" target="_blank">http://www.oneall.com</a>'); ?>
772
- </p>
773
- <p>
774
- <?php _e ('After having created your account and setup a Site, please enter the Site settings below.', 'oa-social-login'); ?>
775
- <?php _e ("Don't worry the setup is free and takes only a few minutes!", 'oa-social-login'); ?>
776
- <?php printf (__ ('You are in good company! This plugin is used on more than %s websites!', 'oa-social-login'), '300,000'); ?>
777
- </p>
778
- <p class="oa_social_login_button_wrap">
779
- <a class="button-secondary" href="https://app.oneall.com/signup/wp" target="_blank"><strong><?php _e ('Click here to setup your free account', 'oa-social-login'); ?></strong></a>
780
- </p>
781
- <h3>
782
-
783
- </h3>
784
  </div>
785
  <?php
786
  }
787
  else
788
  {
789
- ?>
790
- <p></p>
791
- <div class="oa_social_login_box" id="oa_social_login_box_status">
792
- <p>
793
- <?php _e ('Login to your OneAll account to manage your social networks and to access your Social Analytics, Graphs &amp; Statistics.', 'oa-social-login'); ?>
794
- </p>
795
- <p class="oa_social_login_button_wrap">
796
- <a class="button-secondary" href="https://app.oneall.com/signin/" target="_blank"><strong><?php _e ('Login to my OneAll account', 'oa-social-login'); ?></strong> </a>
797
- <a class="button-secondary" href="https://app.oneall.com/insights/" target="_blank"><strong><?php _e ('Access my Social Analytics', 'oa-social-login'); ?></strong> </a>
798
- </p>
799
- </div>
800
- <?php
801
- }
802
-
803
- ?>
804
-
805
- <div class="oa_social_login_box" id="oa_social_login_box_help">
806
- <ul>
807
- <li><?php printf (__ ('Checkout the <a target="_blank" href="%s">online documentation</a> for more information about this plugin', 'oa-social-login'), 'http://docs.oneall.com/plugins/guide/social-login-wordpress/'); ?>;</li>
808
- <li><?php printf (__ ('Do not hesitate to <a target="_blank" href="%s">contact us</a> if you have feedback or need assistance', 'oa-social-login'), 'http://www.oneall.com/company/contact-us/'); ?>.</li>
809
- </ul>
810
- </div>
811
- <?php
812
- if (!empty ($_REQUEST ['settings-updated']) AND strtolower ($_REQUEST ['settings-updated']) == 'true')
813
- {
814
- ?>
815
- <div class="oa_social_login_box" id="oa_social_login_box_updated">
816
- <?php _e ('Your modifications have been saved successfully!', 'oa-social-login'); ?>
817
- </div>
818
- <?php
 
 
 
 
 
 
 
 
 
 
 
819
  }
820
  ?>
 
821
  <form method="post" action="options.php">
822
  <?php
823
  settings_fields ('oa_social_login_settings_group');
@@ -825,15 +859,19 @@ function oa_display_social_login_setup ()
825
  ?>
826
  <table class="form-table oa_social_login_table">
827
  <tr class="row_head">
828
- <th colspan="2"><?php _e ('API Connection Handler', 'oa-social-login'); ?>
 
 
 
 
829
  </th>
830
  </tr>
831
  <?php
832
  $api_connection_handler = ((empty ($settings ['api_connection_handler']) OR $settings ['api_connection_handler'] <> 'fsockopen') ? 'curl' : 'fsockopen');
833
  ?>
834
- <tr class="row_even">
835
- <td rowspan="2" class="row_multi" style="width:200px">
836
- <label><?php _e ('API Connection Handler', 'oa-social-login'); ?>:</label>
837
  </td>
838
  <td>
839
  <input type="radio" id="oa_social_login_api_connection_handler_curl" name="oa_social_login_settings[api_connection_handler]" value="curl" <?php echo (($api_connection_handler <> 'fsockopen') ? 'checked="checked"' : ''); ?> />
@@ -842,7 +880,7 @@ function oa_display_social_login_setup ()
842
  </td>
843
  </tr>
844
  <tr class="row_even">
845
- <td>
846
  <input type="radio" id="oa_social_login_api_connection_handler_fsockopen" name="oa_social_login_settings[api_connection_handler]" value="fsockopen" <?php echo (($api_connection_handler == 'fsockopen') ? 'checked="checked"' : ''); ?> />
847
  <label for="oa_social_login_api_connection_handler_fsockopen"><?php _e ('Use PHP FSOCKOPEN to communicate with the API', 'oa-social-login'); ?> </label><br />
848
  <span class="description"><?php _e ('Try using FSOCKOPEN if you encounter any problems with CURL.', 'oa-social-login'); ?></span>
@@ -851,9 +889,9 @@ function oa_display_social_login_setup ()
851
  <?php
852
  $api_connection_use_https = ((!isset ($settings ['api_connection_use_https']) OR $settings ['api_connection_use_https'] == '1') ? true : false);
853
  ?>
854
- <tr class="row_even">
855
- <td rowspan="2" class="row_multi" style="width:200px">
856
- <label><?php _e ('API Connection Port', 'oa-social-login'); ?>:</label>
857
  </td>
858
  <td>
859
  <input type="radio" id="oa_social_login_api_connection_handler_use_https_1" name="oa_social_login_settings[api_connection_use_https]" value="1" <?php echo ($api_connection_use_https ? 'checked="checked"' : ''); ?> />
@@ -861,57 +899,59 @@ function oa_display_social_login_setup ()
861
  <span class="description"><?php _e ('Using port 443 is secure but you might need OpenSSL', 'oa-social-login'); ?></span>
862
  </td>
863
  </tr>
864
- <tr class="row_even">
865
- <td>
866
  <input type="radio" id="oa_social_login_api_connection_handler_use_https_0" name="oa_social_login_settings[api_connection_use_https]" value="0" <?php echo (!$api_connection_use_https ? 'checked="checked"' : ''); ?> />
867
  <label for="oa_social_login_api_connection_handler_use_https_0"><?php _e ('Communication via HTTP on port 80', 'oa-social-login'); ?> </label><br />
868
  <span class="description"><?php _e ("Using port 80 is a bit faster, doesn't need OpenSSL but is less secure", 'oa-social-login'); ?></span>
869
  </td>
870
  </tr>
871
  <tr class="row_foot">
872
- <td>
873
- <a class="button-primary" id="oa_social_login_autodetect_api_connection_handler" href="#"><?php _e ('Autodetect API Connection', 'oa-social-login'); ?></a>
874
  </td>
875
  <td>
876
  <div id="oa_social_login_api_connection_handler_result"></div>
877
  </td>
878
  </tr>
879
  </table>
 
880
  <table class="form-table oa_social_login_table">
881
  <tr class="row_head">
882
- <th>
883
  <?php _e ('API Settings', 'oa-social-login'); ?>
884
  </th>
885
- <th><a href="https://app.oneall.com/applications/" target="_blank"><?php _e ('Click here to create and view your API Credentials', 'oa-social-login'); ?></a>
 
886
  </th>
887
  </tr>
888
  <tr class="row_even">
889
- <td style="width:200px">
890
- <label for="oa_social_login_settings_api_subdomain"><?php _e ('API Subdomain', 'oa-social-login'); ?>:</label>
891
  </td>
892
  <td>
893
  <input type="text" id="oa_social_login_settings_api_subdomain" name="oa_social_login_settings[api_subdomain]" size="65" value="<?php echo (isset ($settings ['api_subdomain']) ? htmlspecialchars ($settings ['api_subdomain']) : ''); ?>" />
894
  </td>
895
  </tr>
896
  <tr class="row_odd">
897
- <td style="width:200px">
898
- <label for="oa_social_login_settings_api_key"><?php _e ('API Public Key', 'oa-social-login'); ?>:</label>
899
  </td>
900
  <td>
901
  <input type="text" id="oa_social_login_settings_api_key" name="oa_social_login_settings[api_key]" size="65" value="<?php echo (isset ($settings ['api_key']) ? htmlspecialchars ($settings ['api_key']) : ''); ?>" />
902
  </td>
903
  </tr>
904
  <tr class="row_even">
905
- <td style="width:200px">
906
- <label for="oa_social_login_settings_api_secret"><?php _e ('API Private Key', 'oa-social-login'); ?>:</label>
907
  </td>
908
  <td>
909
  <input type="text" id="oa_social_login_settings_api_secret" name="oa_social_login_settings[api_secret]" size="65" value="<?php echo (isset ($settings ['api_secret']) ? htmlspecialchars ($settings ['api_secret']) : ''); ?>" />
910
  </td>
911
  </tr>
912
  <tr class="row_foot">
913
- <td>
914
- <a class="button-primary" id="oa_social_login_test_api_settings" href="#"><?php _e ('Verify API Settings', 'oa-social-login'); ?> </a>
915
  </td>
916
  <td>
917
  <div id="oa_social_login_api_test_result"></div>
@@ -921,12 +961,16 @@ function oa_display_social_login_setup ()
921
 
922
  <table class="form-table oa_social_login_table">
923
  <tr class="row_head">
924
- <th colspan="2"><?php _e ('JavaScript Settings', 'oa-social-login'); ?>
 
 
 
 
925
  </th>
926
  </tr>
927
  <?php
928
 
929
- //We dont have a value yet
930
  if ( ! isset ($settings['asynchronous_javascript']))
931
  {
932
  //No subdomain, this is probably a new installation.
@@ -948,10 +992,30 @@ function oa_display_social_login_setup ()
948
  $asynchronous_javascript = ( ! empty ($settings ['asynchronous_javascript']) ? 1 : 0);
949
  }
950
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
951
  ?>
952
  <tr class="row_even">
953
- <td rowspan="2" class="row_multi" style="width:200px">
954
- <label><?php _e ('JavaScript Usage', 'oa-social-login'); ?>:</label>
955
  </td>
956
  <td>
957
  <input type="radio" id="oa_social_login_asynchronous_javascript_1" name="oa_social_login_settings[asynchronous_javascript]" value="1" <?php echo ( ! empty ($asynchronous_javascript) ? 'checked="checked"' : ''); ?> />
@@ -966,27 +1030,70 @@ function oa_display_social_login_setup ()
966
  <span class="description"><?php _e ('Real-time loading when the page is being rendered by the browser.', 'oa-social-login'); ?></span>
967
  </td>
968
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
969
  </table>
970
 
971
  <table class="form-table oa_social_login_table">
972
  <tr class="row_head">
973
- <th colspan="2">
974
- <?php _e ('Enable the social networks/identity providers of your choice', 'oa-social-login'); ?>
 
 
 
975
  </th>
976
  </tr>
977
  <?php
 
 
978
  $i = 0;
979
  foreach ($oa_social_login_providers AS $key => $provider_data)
980
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
981
  ?>
982
- <tr class="row_provider <?php echo ((($i++) % 2) == 0) ? 'row_even' : 'row_odd' ?>">
983
- <td class="cell_provider_icon">
984
  <label for="oneall_social_login_provider_<?php echo $key; ?>">
985
  <span class="oa_social_login_provider oa_social_login_provider_<?php echo $key; ?>" title="<?php echo htmlspecialchars ($provider_data ['name']); ?>"><?php echo htmlspecialchars ($provider_data ['name']); ?> </span>
986
  </label>
987
  </td>
988
- <td class="cell_provider_label">
989
- <input type="checkbox" id="oneall_social_login_provider_<?php echo $key; ?>" name="oa_social_login_settings[providers][<?php echo $key; ?>]" value="1" <?php checked ('1', ((isset ($settings ['providers']) && !empty ($settings ['providers'] [$key])) ? $settings ['providers'] [$key] : 0)); ?> />
990
  <label for="oneall_social_login_provider_<?php echo $key; ?>"><?php echo htmlspecialchars ($provider_data ['name']); ?> </label>
991
  <?php
992
  if (in_array ($key, array ('vkontakte', 'mailru', 'odnoklassniki')))
@@ -1000,9 +1107,9 @@ function oa_display_social_login_setup ()
1000
  }
1001
  ?>
1002
  </table>
1003
- <p class="submit">
1004
  <input type="hidden" name="page" value="setup" />
1005
- <input type="submit" class="button-primary" value="<?php _e ('Save Changes', 'oa-social-login') ?>" />
1006
  </p>
1007
  </form>
1008
  </div>
@@ -1019,38 +1126,51 @@ function oa_display_social_login_settings ()
1019
  ?>
1020
  <div class="wrap">
1021
  <div id="oa_social_login_page" class="oa_social_login_settings">
1022
- <h2>OneAll Social Login <?php echo (defined ('OA_SOCIAL_LOGIN_VERSION') ? OA_SOCIAL_LOGIN_VERSION : ''); ?></h2>
 
 
 
 
 
 
 
1023
  <h2 class="nav-tab-wrapper">
1024
  <a class="nav-tab" href="admin.php?page=oa_social_login_setup"><?php _e ('Setup', 'oa-social-login'); ?></a>
1025
  <a class="nav-tab nav-tab-active" href="admin.php?page=oa_social_login_settings"><?php _e ('Settings', 'oa-social-login'); ?></a>
1026
  <a class="nav-tab" href="admin.php?page=oa_social_login_more"><?php _e ('+More', 'oa-social-login'); ?></a>
1027
  </h2>
1028
- <p></p>
1029
  <form method="post" action="options.php">
1030
  <?php
1031
  settings_fields ('oa_social_login_settings_group');
1032
  $settings = get_option ('oa_social_login_settings');
1033
- ?>
1034
- <div class="oa_social_login_box" id="oa_social_login_box_help">
1035
- <div class="oa_social_login_box_title">
1036
- <?php _e ('Logout to see the plugin in action!', 'oa-social-login'); ?>
1037
- </div>
1038
- <p>
1039
- <?php
1040
- _e ('Social Login is a plugin that allows your users to comment, login and register with their existing Social Network accounts. If a user is already logged in, the plugin will not be displayed. There is no need to give the user the possibility to connect with a social network if he is already connected.', 'oa-social-login');
1041
- ?>
1042
- <strong><?php _e ('You therefore have to logout to see the plugin in action.', 'oa-social-login'); ?> </strong>
1043
- </p>
1044
- </div>
1045
- <?php
1046
  if (!empty ($_REQUEST ['settings-updated']) AND strtolower ($_REQUEST ['settings-updated']) == 'true')
1047
  {
1048
  ?>
1049
- <div class="oa_social_login_box" id="oa_social_login_box_updated">
1050
- <?php _e ('Your modifications have been saved successfully!', 'oa-social-login'); ?>
1051
- </div>
 
 
1052
  <?php
1053
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1054
  ?>
1055
  <table class="form-table oa_social_login_table">
1056
  <tr class="row_head">
@@ -1073,13 +1193,13 @@ function oa_display_social_login_settings ()
1073
  </tr>
1074
  <tr class="row_odd">
1075
  <td>
1076
- <strong><?php _e ("Please select the icon theme to use per default:", 'oa-social-login'); ?></strong>
1077
  </td>
1078
  </tr>
1079
  <tr class="row_even">
1080
  <td>
1081
  <?php
1082
- $plugin_icon_theme = ((isset ($settings ['plugin_icon_theme']) AND in_array ($settings ['plugin_icon_theme'], array (0, 1, 2))) ? $settings ['plugin_icon_theme'] : 0);
1083
  ?>
1084
  <input type="radio" id="plugin_icon_theme_0" name="oa_social_login_settings[plugin_icon_theme]" value="0" <?php echo ($plugin_icon_theme == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_icon_theme_0"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/theme_classic.png' ?>" alt="<?php _e('Classic', 'oa-social-login'); ?>" /></label>
1085
  <input type="radio" id="plugin_icon_theme_1" name="oa_social_login_settings[plugin_icon_theme]" value="1" <?php echo ($plugin_icon_theme == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_icon_theme_1"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/theme_modern.png' ?>" alt="<?php _e('Modern', 'oa-social-login'); ?>" /></label>
@@ -1094,10 +1214,10 @@ function oa_display_social_login_settings ()
1094
  <tr class="row_even">
1095
  <td>
1096
  <?php
1097
- $plugin_add_column_user_list = ((isset ($settings ['plugin_add_column_user_list']) AND in_array ($settings ['plugin_add_column_user_list'], array (0, 1))) ? $settings ['plugin_add_column_user_list'] : 0);
1098
  ?>
1099
- <input type="radio" id="plugin_add_column_user_list_1" name="oa_social_login_settings[plugin_add_column_user_list]" value="1" <?php echo ($plugin_add_column_user_list == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_add_column_user_list_1"><?php _e ('Yes, add a new column to the user list and display the social network that the user connected with', 'oa-social-login'); ?></label> <br />
1100
- <input type="radio" id="plugin_add_column_user_list_0" name="oa_social_login_settings[plugin_add_column_user_list]" value="0" <?php echo ($plugin_add_column_user_list == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_add_column_user_list_0"><?php _e ('No, do not display the social networks in the user list', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label>
1101
  </td>
1102
  </tr>
1103
  <tr class="row_odd">
@@ -1293,9 +1413,6 @@ function oa_display_social_login_settings ()
1293
  <input type="radio" id="plugin_protect_login_redirect_url_1" name="oa_social_login_settings[plugin_protect_login_redirect_url]" value="1" <?php echo ($plugin_protect_login_redirect_url == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_protect_login_redirect_url_1"><?php _e ('No, protect the redirection url (Use this option if the redirection does not work correctly)', 'oa-social-login'); ?></label>
1294
  </td>
1295
  </tr>
1296
-
1297
-
1298
-
1299
  </table>
1300
  <table class="form-table oa_social_login_table">
1301
  <tr class="row_head">
@@ -1393,9 +1510,9 @@ function oa_display_social_login_settings ()
1393
  </td>
1394
  </tr>
1395
  </table>
1396
- <p class="submit">
1397
  <input type="hidden" name="page" value="settings" />
1398
- <input type="submit" class="button-primary" value="<?php _e ('Save Changes', 'oa-social-login') ?>" />
1399
  </p>
1400
  </form>
1401
  </div>
11
  //Add column if enabled
12
  if (!empty ($settings ['plugin_add_column_user_list']))
13
  {
14
+ $columns ['social_networks'] = __ ('Linked social networks', 'oa-social-login');
15
  }
16
  return $columns;
17
  }
19
 
20
 
21
  /**
22
+ * Admin User List: Add column content.
23
  **/
24
  function oa_social_login_admin_user_colum_display ($value, $column_name, $user_id)
25
  {
26
  //Check if it is our own column
27
+ if ($column_name <> 'social_networks')
28
  {
29
  return $value;
30
  }
31
 
32
+ // Read identity providers.
33
  $identity_providers = trim (strval (get_user_meta ($user_id, 'oa_social_login_identity_provider', true)));
34
 
35
+ // Read user_token.
36
+ $user_token = trim (strval (get_user_meta ($user_id, 'oa_social_login_user_token', true)));
37
+
38
+ // Some have been found.
39
  if ( ! empty ($identity_providers))
40
  {
41
  $identity_providers = array_unique (explode ("|", $identity_providers));
42
  $identity_providers = array_map("ucwords", $identity_providers);
43
  }
44
+ // None found.
45
  else
46
  {
47
  $identity_providers = array ();
48
  }
49
 
50
+ // Social Login Registration.
51
  if (count ($identity_providers) > 0)
52
  {
53
+ sort ($identity_providers);
54
+
55
+ // Link to app.
56
+ $app_link = 'https://app.oneall.com/user-explorer/';
57
+
58
+ // Add token.
59
+ if ( ! empty ($user_token))
60
+ {
61
+ $app_link .= '?user_token='.$user_token;
62
+ }
63
+
64
+ // Build label.
65
+ return '<a href="'.$app_link.'" target="_blank">'. implode ('</a>, <a href="'.$app_link.'" target="_blank">', $identity_providers).'</a>';
66
+
67
  }
68
+ // Traditional Registration.
69
  else
70
  {
71
+ return '';
72
  }
73
  }
74
+ /**
75
+ * Admin User List: Sort column content.
76
+ **/
77
+ function oa_social_login_admin_user_colum_sort ($columns)
78
+ {
79
+ $columns['social_networks'] = 'oa_social_login_registration';
80
+ return $columns;
81
+ }
82
+
83
  add_action ('manage_users_custom_column', 'oa_social_login_admin_user_colum_display', 10, 3);
84
+ add_filter ('manage_users_sortable_columns', 'oa_social_login_admin_user_colum_sort');
85
+
86
 
87
 
88
  /**
168
  function oa_social_login_admin_ask_review ()
169
  {
170
  // Treshhold.
171
+ $user_treshold = 10;
172
 
173
  // Postpone duration.
174
  $postpone_duration = (24 * 60 * 60 * 7);
496
  'api_connection_handler',
497
  'api_connection_use_https',
498
  'api_subdomain',
499
+ 'asynchronous_javascript',
500
+ 'css_tweaks',
501
  'api_key',
502
  'api_secret',
503
  'providers'
560
  $sanitzed_settings ['api_subdomain'] = $api_subdomain;
561
  }
562
 
563
+ // Sanitize flags.
564
  $sanitzed_settings ['asynchronous_javascript'] = (empty ($sanitzed_settings ['asynchronous_javascript']) ? 0 : 1);
565
+ $sanitzed_settings ['css_tweaks'] = (empty ($sanitzed_settings ['css_tweaks']) ? 0 : 1);
566
 
567
  //Done
568
  return $sanitzed_settings;
610
  }
611
  }
612
 
613
+ // Flag settings.
614
+ $sanitzed_settings ['plugin_add_column_user_list'] = ($sanitzed_settings ['plugin_add_column_user_list'] == '0' ? 0 : 1);
615
  $sanitzed_settings ['plugin_profile_show'] = ($sanitzed_settings ['plugin_profile_show'] == '0' ? 0 : 1);
616
  $sanitzed_settings ['plugin_notify_admin'] = ($sanitzed_settings ['plugin_notify_admin'] == '0' ? 0 : 1);
617
  $sanitzed_settings ['plugin_require_email'] = ($sanitzed_settings ['plugin_require_email'] == '1' ? 1 : 0);
618
  $sanitzed_settings ['plugin_comment_show'] = ($sanitzed_settings ['plugin_comment_show'] == '0' ? 0 : 1);
619
  $sanitzed_settings ['plugin_comment_show_if_members_only'] = ($sanitzed_settings ['plugin_comment_show_if_members_only'] == '0' ? 0 : 1);
620
+ $sanitzed_settings ['plugin_icon_theme'] = (in_array ($sanitzed_settings ['plugin_icon_theme'], array (0, 1, 2)) ? $sanitzed_settings ['plugin_icon_theme'] : OA_SOCIAL_LOGIN_DEFAULT_THEME);
621
  $sanitzed_settings ['plugin_display_in_login_form'] = ($sanitzed_settings ['plugin_display_in_login_form'] == '0' ? 0 : 1);
622
  $sanitzed_settings ['plugin_display_in_registration_form'] = ($sanitzed_settings ['plugin_display_in_registration_form'] == '0' ? 0 : 1);
623
  $sanitzed_settings ['plugin_link_verified_accounts'] = ($sanitzed_settings ['plugin_link_verified_accounts'] == '0' ? 0 : 1);
626
  $sanitzed_settings ['plugin_protect_login_redirect_url'] = ($sanitzed_settings ['plugin_protect_login_redirect_url'] == '1' ? 1 : 0);
627
 
628
 
629
+ // Multiple settings.
630
  $sanitzed_settings ['plugin_show_avatars_in_comments'] = (in_array ($sanitzed_settings ['plugin_show_avatars_in_comments'], array (0, 1, 2)) ? $sanitzed_settings ['plugin_show_avatars_in_comments'] : 2);
631
 
632
  //Redirection Settings: Widget & Shortcode Login
703
  ?>
704
  <div class="wrap">
705
  <div id="oa_social_login_page" class="oa_social_login_more">
706
+ <h2>
707
+ OneAll Social Login <?php echo (defined ('OA_SOCIAL_LOGIN_VERSION') ? OA_SOCIAL_LOGIN_VERSION : ''); ?> \ <?php _e ('+More', 'oa-social-login'); ?>
708
+ <span class="oa_social_login_header_links">
709
+ <?php printf (__ ('<a target="_blank" href="%s">About Us</a>', 'oa-social-login'), 'https://www.oneall.com/'); ?>
710
+ <?php printf (__ ('<a target="_blank" href="%s">FAQ - Hooks - Filters</a>', 'oa-social-login'), 'https://docs.oneall.com/plugins/guide/social-login-wordpress/'); ?>
711
+ <?php printf (__ ('<a target="_blank" href="%s">Contact Support Team</a>', 'oa-social-login'), 'https://app.oneall.com/open-support-ticket/'); ?>
712
+ </span>
713
+ </h2>
714
 
715
  <h2 class="nav-tab-wrapper">
716
  <a class="nav-tab" href="admin.php?page=oa_social_login_setup"><?php _e ('Setup', 'oa-social-login'); ?></a>
718
  <a class="nav-tab nav-tab-active" href="admin.php?page=oa_social_login_more"><?php _e ('+More', 'oa-social-login'); ?></a>
719
  </h2>
720
 
721
+ <div class="oa_social_login_box oa_social_login_box_success">
 
 
722
  <ul>
723
+ <li><?php printf (__ ('<a target="_blank" href="%s">Follow us on Twitter</a> to stay informed about updates', 'oa-social-login'), 'http://www.twitter.com/oneall'); ?></li>
724
+ <li><?php printf (__ ('<a target="_blank" href="%s">Read the online documentation</a> for more information about this plugin', 'oa-social-login'), 'http://docs.oneall.com/plugins/guide/social-login-wordpress/'); ?></li>
725
+ <li><?php printf (__ ('<a target="_blank" href="%s">Contact us</a> if you have feedback or need assistance', 'oa-social-login'), 'http://www.oneall.com/company/contact-us/'); ?>
726
+ <li><?php printf (__ ('We also have <a target="_blank" href="%s">turnkey plugins</a> for Drupal, PrestaShop, Joomla, phpBB andy many others ...', 'oa-social-login'), 'http://docs.oneall.com/plugins/'); ?>
727
  </li>
728
  </ul>
729
  </div>
730
 
 
731
  <?php
732
  $more_url = admin_url('plugin-install.php?s=share+buttons+oneall&tab=search&type=term');
733
  ?>
737
  </div>
738
  <div class="oa_social_login_plugin_desc">
739
  <?php _e ('Allow your visitors to comment, login and register with 40+ social networks like for example Twitter, Facebook, Pinterest, Instagram, Paypal, LinkedIn, OpenID, VKontakte or Google+. Easy to use and 100% FREE.', 'oa-social-login'); ?>
740
+ <a href="<?php echo $more_url; ?>"><?php _e ('Click here for more information.', 'oa-social-login'); ?></a>
741
  </div>
742
  </div>
743
 
750
  </div>
751
  <div class="oa_social_login_plugin_desc">
752
  <?php _e ('LoudVoice replaces the basic WordPress comments by a powerful comment system that includes logging in with 40+ social networks, spam filters and more. Easy to use and 100% FREE. Existing comments can be imported!', 'oa-social-login'); ?>
753
+ <a href="<?php echo $more_url; ?>"><?php _e ('Click here for more information.', 'oa-social-login'); ?></a>
754
  </div>
755
  </div>
756
 
763
  </div>
764
  <div class="oa_social_login_plugin_desc">
765
  <?php _e ('Automatically creates accounts and signs users in as they browse between multiple and independent WordPress blogs or websites in your network. Take away the need for your users to create new accounts or re-enter their authentication credentials on every of your websites.', 'oa-social-login'); ?>
766
+ <a href="<?php echo $more_url; ?>"><?php _e ('Click here for more information.', 'oa-social-login'); ?></a>
767
  </div>
768
  </div>
769
  </div>
782
  ?>
783
  <div class="wrap">
784
  <div id="oa_social_login_page" class="oa_social_login_setup">
785
+ <h2>
786
+ OneAll Social Login <?php echo (defined ('OA_SOCIAL_LOGIN_VERSION') ? OA_SOCIAL_LOGIN_VERSION : ''); ?> \ <?php _e ('Setup', 'oa-social-login'); ?>
787
+ <span class="oa_social_login_header_links">
788
+ <?php printf (__ ('<a target="_blank" href="%s">About Us</a>', 'oa-social-login'), 'https://www.oneall.com/'); ?>
789
+ <?php printf (__ ('<a target="_blank" href="%s">FAQ - Hooks - Filters</a>', 'oa-social-login'), 'https://docs.oneall.com/plugins/guide/social-login-wordpress/'); ?>
790
+ <?php printf (__ ('<a target="_blank" href="%s">Contact Support Team</a>', 'oa-social-login'), 'https://app.oneall.com/open-support-ticket/'); ?>
791
+ </span>
792
+ </h2>
793
  <h2 class="nav-tab-wrapper">
794
  <a class="nav-tab nav-tab-active" href="admin.php?page=oa_social_login_setup"><?php _e ('Setup', 'oa-social-login'); ?></a>
795
  <a class="nav-tab" href="admin.php?page=oa_social_login_settings"><?php _e ('Settings', 'oa-social-login'); ?></a>
796
  <a class="nav-tab" href="admin.php?page=oa_social_login_more"><?php _e ('+More', 'oa-social-login'); ?></a>
797
  </h2>
798
  <?php
799
+ if (!empty ($_REQUEST ['settings-updated']) AND strtolower ($_REQUEST ['settings-updated']) == 'true')
800
+ {
801
+ ?>
802
+ <div class="oa_social_login_box oa_social_login_box_notice">
803
+ <p>
804
+ <?php _e ('Your modifications have been saved successfully!', 'oa-social-login'); ?>
805
+ </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
806
  </div>
807
  <?php
808
  }
809
  else
810
  {
811
+ if (get_option ('oa_social_login_api_settings_verified') !== '1')
812
+ {
813
+ ?>
814
+
815
+ <div class="oa_social_login_box oa_social_login_box_success">
816
+ <div class="oa_social_login_box_title">
817
+ <?php _e ('Thank you for using Social Login', 'oa-social-login'); ?>
818
+ </div>
819
+ <p>
820
+ <?php _e ('Unlike other Social Login providers we monitor the APIs and technologies of the different social networks and update our service as soon as changes arise.', 'oa-social-login'); ?><br />
821
+ <strong> <?php _e ('By using OneAll you can be sure that your social media integration will always run smoothly and with the most up-to-date calls.', 'oa-social-login'); ?></strong>
822
+ </p>
823
+ <p></p>
824
+ <p>
825
+ <?php printf (__ ('To be able to use this plugin you first of all need to create a free account at %s.', 'oa-social-login'), '<a href="https://app.oneall.com/signup/wp" target="_blank">http://www.oneall.com</a>'); ?><br />
826
+
827
+ <?php _e ('After having created your account and setup a Site, simply enter your Site settings below.', 'oa-social-login'); ?><br />
828
+ <?php _e ("The setup is free and takes only a few minutes!", 'oa-social-login'); ?>
829
+ <?php printf (__ ('Do not hesitate to <a target="_blank" href="%s">contact us</a> if you have any questions.', 'oa-social-login'), 'https://app.oneall.com/open-support-ticket/'); ?>
830
+ </p>
831
+ <p>
832
+ <a class="oa_social_login_btn oa_social_login_btn_success" href="https://app.oneall.com/signup/wp" target="_blank"><?php _e ('Click here to setup your free account', 'oa-social-login'); ?></a>
833
+ </p>
834
+ </div>
835
+ <?php
836
+ }
837
+ else
838
+ {
839
+ ?>
840
+ <p></p>
841
+ <div class="oa_social_login_box oa_social_login_box_info">
842
+ <p class="oa_social_login_box_title">
843
+ <?php _e ('Login to your OneAll account to manage your social networks and to access your Social Analytics, Graphs &amp; Statistics.', 'oa-social-login'); ?>
844
+ </p>
845
+ <p class="oa_social_login_buttons">
846
+ <a class="oa_social_login_btn oa_social_login_btn_info" href="https://app.oneall.com/signin/" target="_blank"><?php _e ('Login to my OneAll account', 'oa-social-login'); ?></a>
847
+ <a class="oa_social_login_btn oa_social_login_btn_info" href="https://app.oneall.com/insights/connections/" target="_blank"><?php _e ('Access my Social Analytics', 'oa-social-login'); ?></a>
848
+ </p>
849
+ </div>
850
+ <?php
851
+ }
852
  }
853
  ?>
854
+
855
  <form method="post" action="options.php">
856
  <?php
857
  settings_fields ('oa_social_login_settings_group');
859
  ?>
860
  <table class="form-table oa_social_login_table">
861
  <tr class="row_head">
862
+ <th>
863
+ <?php _e ('API Connection Handler', 'oa-social-login'); ?>
864
+ </th>
865
+ <th>
866
+ &nbsp;
867
  </th>
868
  </tr>
869
  <?php
870
  $api_connection_handler = ((empty ($settings ['api_connection_handler']) OR $settings ['api_connection_handler'] <> 'fsockopen') ? 'curl' : 'fsockopen');
871
  ?>
872
+ <tr class="row_even row_multi">
873
+ <td rowspan="2" class="col_center col_br">
874
+ <label for="oa_social_login_api_connection_handler_curl"><?php _e ('API Connection Handler', 'oa-social-login'); ?></label>
875
  </td>
876
  <td>
877
  <input type="radio" id="oa_social_login_api_connection_handler_curl" name="oa_social_login_settings[api_connection_handler]" value="curl" <?php echo (($api_connection_handler <> 'fsockopen') ? 'checked="checked"' : ''); ?> />
880
  </td>
881
  </tr>
882
  <tr class="row_even">
883
+ <td class="col_pt_0">
884
  <input type="radio" id="oa_social_login_api_connection_handler_fsockopen" name="oa_social_login_settings[api_connection_handler]" value="fsockopen" <?php echo (($api_connection_handler == 'fsockopen') ? 'checked="checked"' : ''); ?> />
885
  <label for="oa_social_login_api_connection_handler_fsockopen"><?php _e ('Use PHP FSOCKOPEN to communicate with the API', 'oa-social-login'); ?> </label><br />
886
  <span class="description"><?php _e ('Try using FSOCKOPEN if you encounter any problems with CURL.', 'oa-social-login'); ?></span>
889
  <?php
890
  $api_connection_use_https = ((!isset ($settings ['api_connection_use_https']) OR $settings ['api_connection_use_https'] == '1') ? true : false);
891
  ?>
892
+ <tr class="row_odd">
893
+ <td rowspan="2" class="col_center col_br">
894
+ <label for="oa_social_login_api_connection_handler_use_https_1"><?php _e ('API Connection Port', 'oa-social-login'); ?></label>
895
  </td>
896
  <td>
897
  <input type="radio" id="oa_social_login_api_connection_handler_use_https_1" name="oa_social_login_settings[api_connection_use_https]" value="1" <?php echo ($api_connection_use_https ? 'checked="checked"' : ''); ?> />
899
  <span class="description"><?php _e ('Using port 443 is secure but you might need OpenSSL', 'oa-social-login'); ?></span>
900
  </td>
901
  </tr>
902
+ <tr class="row_odd">
903
+ <td class="col_pt_0">
904
  <input type="radio" id="oa_social_login_api_connection_handler_use_https_0" name="oa_social_login_settings[api_connection_use_https]" value="0" <?php echo (!$api_connection_use_https ? 'checked="checked"' : ''); ?> />
905
  <label for="oa_social_login_api_connection_handler_use_https_0"><?php _e ('Communication via HTTP on port 80', 'oa-social-login'); ?> </label><br />
906
  <span class="description"><?php _e ("Using port 80 is a bit faster, doesn't need OpenSSL but is less secure", 'oa-social-login'); ?></span>
907
  </td>
908
  </tr>
909
  <tr class="row_foot">
910
+ <td class="col_center">
911
+ <a class="oa_social_login_btn oa_social_login_btn_success" id="oa_social_login_autodetect_api_connection_handler" href="#"><?php _e ('Autodetect API Connection', 'oa-social-login'); ?></a>
912
  </td>
913
  <td>
914
  <div id="oa_social_login_api_connection_handler_result"></div>
915
  </td>
916
  </tr>
917
  </table>
918
+
919
  <table class="form-table oa_social_login_table">
920
  <tr class="row_head">
921
+ <th class="col_label">
922
  <?php _e ('API Settings', 'oa-social-login'); ?>
923
  </th>
924
+ <th>
925
+ <a href="https://app.oneall.com/applications/" target="_blank"><?php _e ('Click here to create and view your API Credentials', 'oa-social-login'); ?></a>
926
  </th>
927
  </tr>
928
  <tr class="row_even">
929
+ <td class="col_center col_br">
930
+ <label for="oa_social_login_settings_api_subdomain"><?php _e ('API Subdomain', 'oa-social-login'); ?></label>
931
  </td>
932
  <td>
933
  <input type="text" id="oa_social_login_settings_api_subdomain" name="oa_social_login_settings[api_subdomain]" size="65" value="<?php echo (isset ($settings ['api_subdomain']) ? htmlspecialchars ($settings ['api_subdomain']) : ''); ?>" />
934
  </td>
935
  </tr>
936
  <tr class="row_odd">
937
+ <td class="col_center col_br">
938
+ <label for="oa_social_login_settings_api_key"><?php _e ('API Public Key', 'oa-social-login'); ?></label>
939
  </td>
940
  <td>
941
  <input type="text" id="oa_social_login_settings_api_key" name="oa_social_login_settings[api_key]" size="65" value="<?php echo (isset ($settings ['api_key']) ? htmlspecialchars ($settings ['api_key']) : ''); ?>" />
942
  </td>
943
  </tr>
944
  <tr class="row_even">
945
+ <td class="col_center col_br">
946
+ <label for="oa_social_login_settings_api_secret"><?php _e ('API Private Key', 'oa-social-login'); ?></label>
947
  </td>
948
  <td>
949
  <input type="text" id="oa_social_login_settings_api_secret" name="oa_social_login_settings[api_secret]" size="65" value="<?php echo (isset ($settings ['api_secret']) ? htmlspecialchars ($settings ['api_secret']) : ''); ?>" />
950
  </td>
951
  </tr>
952
  <tr class="row_foot">
953
+ <td class="col_center">
954
+ <a class="oa_social_login_btn oa_social_login_btn_success" id="oa_social_login_test_api_settings" href="#"><?php _e ('Verify API Settings', 'oa-social-login'); ?> </a>
955
  </td>
956
  <td>
957
  <div id="oa_social_login_api_test_result"></div>
961
 
962
  <table class="form-table oa_social_login_table">
963
  <tr class="row_head">
964
+ <th>
965
+ <?php _e ('Render Settings', 'oa-social-login'); ?>
966
+ </th>
967
+ <th>
968
+ &nbsp;
969
  </th>
970
  </tr>
971
  <?php
972
 
973
+ // We dont have a value yet.
974
  if ( ! isset ($settings['asynchronous_javascript']))
975
  {
976
  //No subdomain, this is probably a new installation.
992
  $asynchronous_javascript = ( ! empty ($settings ['asynchronous_javascript']) ? 1 : 0);
993
  }
994
 
995
+ // We dont have a value yet.
996
+ if ( ! isset ($settings['css_tweaks']))
997
+ {
998
+ // No subdomain, this is probably a new installation.
999
+ if ( ! isset ($settings ['api_subdomain']))
1000
+ {
1001
+ $css_tweaks = 1;
1002
+ }
1003
+ //We have a subdomain, this is probably an updated version of the plugin.
1004
+ else
1005
+ {
1006
+ $css_tweaks = 0;
1007
+ }
1008
+ }
1009
+ // We have a value.
1010
+ else
1011
+ {
1012
+ $css_tweaks = ( ! empty ($settings ['css_tweaks']) ? 1 : 0);
1013
+ }
1014
+
1015
  ?>
1016
  <tr class="row_even">
1017
+ <td rowspan="2" class="col_center col_br">
1018
+ <label for="oa_social_login_asynchronous_javascript_1"><?php _e ('JavaScript', 'oa-social-login'); ?></label>
1019
  </td>
1020
  <td>
1021
  <input type="radio" id="oa_social_login_asynchronous_javascript_1" name="oa_social_login_settings[asynchronous_javascript]" value="1" <?php echo ( ! empty ($asynchronous_javascript) ? 'checked="checked"' : ''); ?> />
1030
  <span class="description"><?php _e ('Real-time loading when the page is being rendered by the browser.', 'oa-social-login'); ?></span>
1031
  </td>
1032
  </tr>
1033
+ <tr class="row_odd">
1034
+ <td rowspan="2" class="col_center col_br">
1035
+ <label for="oa_social_login_css_tweaks_1"><?php _e ('CSS Tweaks', 'oa-social-login'); ?></label>
1036
+ </td>
1037
+ <td>
1038
+ <input type="radio" id="oa_social_login_css_tweaks_1" name="oa_social_login_settings[css_tweaks]" value="1" <?php echo ( ! empty ($css_tweaks) ? 'checked="checked"' : ''); ?> />
1039
+ <label for="oa_social_login_css_tweaks_1"><?php _e ('Enable CSS Tweaks', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
1040
+ <span class="description"><?php _e ('Enables various CSS tweaks for a better integration of Social Login.', 'oa-social-login'); ?></span>
1041
+ </td>
1042
+ </tr>
1043
+ <tr class="row_odd">
1044
+ <td>
1045
+ <input type="radio" id="oa_social_login_css_tweaks_0" name="oa_social_login_settings[css_tweaks]" value="0" <?php echo (empty ($css_tweaks) ? 'checked="checked"' : ''); ?> />
1046
+ <label for="oa_social_login_css_tweaks_0"><?php _e ('Disable CSS Tweaks', 'oa-social-login'); ?> </label><br />
1047
+ <span class="description"><?php _e ('Disables additional CSS tweaks and only displays the Social Login buttons.', 'oa-social-login'); ?></span>
1048
+ </td>
1049
+ </tr>
1050
  </table>
1051
 
1052
  <table class="form-table oa_social_login_table">
1053
  <tr class="row_head">
1054
+ <th>
1055
+ <?php _e ('Social Networks', 'oa-social-login'); ?>
1056
+ </th>
1057
+ <th>
1058
+ &nbsp;
1059
  </th>
1060
  </tr>
1061
  <?php
1062
+
1063
+
1064
  $i = 0;
1065
  foreach ($oa_social_login_providers AS $key => $provider_data)
1066
  {
1067
+ // Provider enabled?
1068
+ $is_enabled = false;
1069
+
1070
+ // We have no settings at all, probably fresh installation.
1071
+ if ($settings === false)
1072
+ {
1073
+ if ( ! empty ($provider_data ['is_default']))
1074
+ {
1075
+ $is_enabled = true;
1076
+ }
1077
+ }
1078
+ else
1079
+ {
1080
+ if (! empty ($settings ['providers'] [$key]))
1081
+ {
1082
+ $is_enabled = true;
1083
+ }
1084
+ }
1085
+
1086
+
1087
+
1088
  ?>
1089
+ <tr class="<?php echo ((($i++) % 2) == 0) ? 'row_even' : 'row_odd' ?>">
1090
+ <td class="col_center">
1091
  <label for="oneall_social_login_provider_<?php echo $key; ?>">
1092
  <span class="oa_social_login_provider oa_social_login_provider_<?php echo $key; ?>" title="<?php echo htmlspecialchars ($provider_data ['name']); ?>"><?php echo htmlspecialchars ($provider_data ['name']); ?> </span>
1093
  </label>
1094
  </td>
1095
+ <td class="col_provider">
1096
+ <input type="checkbox" id="oneall_social_login_provider_<?php echo $key; ?>" name="oa_social_login_settings[providers][<?php echo $key; ?>]" value="1" <?php checked ('1', $is_enabled); ?> />
1097
  <label for="oneall_social_login_provider_<?php echo $key; ?>"><?php echo htmlspecialchars ($provider_data ['name']); ?> </label>
1098
  <?php
1099
  if (in_array ($key, array ('vkontakte', 'mailru', 'odnoklassniki')))
1107
  }
1108
  ?>
1109
  </table>
1110
+ <p class="oa_social_login_buttons">
1111
  <input type="hidden" name="page" value="setup" />
1112
+ <input type="submit" class="oa_social_login_btn oa_social_login_btn_success oa_social_login_btn_large" value="<?php _e ('Save Changes', 'oa-social-login') ?>" />
1113
  </p>
1114
  </form>
1115
  </div>
1126
  ?>
1127
  <div class="wrap">
1128
  <div id="oa_social_login_page" class="oa_social_login_settings">
1129
+ <h2>
1130
+ OneAll Social Login <?php echo (defined ('OA_SOCIAL_LOGIN_VERSION') ? OA_SOCIAL_LOGIN_VERSION : ''); ?> \ <?php _e ('Settings', 'oa-social-login'); ?>
1131
+ <span class="oa_social_login_header_links">
1132
+ <?php printf (__ ('<a target="_blank" href="%s">About Us</a>', 'oa-social-login'), 'https://www.oneall.com/'); ?>
1133
+ <?php printf (__ ('<a target="_blank" href="%s">FAQ - Hooks - Filters</a>', 'oa-social-login'), 'http://docs.oneall.com/plugins/guide/social-login-wordpress/'); ?>
1134
+ <?php printf (__ ('<a target="_blank" href="%s">Contact Support Team</a>', 'oa-social-login'), 'https://app.oneall.com/open-support-ticket/'); ?>
1135
+ </span>
1136
+ </h2>
1137
  <h2 class="nav-tab-wrapper">
1138
  <a class="nav-tab" href="admin.php?page=oa_social_login_setup"><?php _e ('Setup', 'oa-social-login'); ?></a>
1139
  <a class="nav-tab nav-tab-active" href="admin.php?page=oa_social_login_settings"><?php _e ('Settings', 'oa-social-login'); ?></a>
1140
  <a class="nav-tab" href="admin.php?page=oa_social_login_more"><?php _e ('+More', 'oa-social-login'); ?></a>
1141
  </h2>
1142
+
1143
  <form method="post" action="options.php">
1144
  <?php
1145
  settings_fields ('oa_social_login_settings_group');
1146
  $settings = get_option ('oa_social_login_settings');
1147
+
 
 
 
 
 
 
 
 
 
 
 
 
1148
  if (!empty ($_REQUEST ['settings-updated']) AND strtolower ($_REQUEST ['settings-updated']) == 'true')
1149
  {
1150
  ?>
1151
+ <div class="oa_social_login_box oa_social_login_box_notice">
1152
+ <p>
1153
+ <?php _e ('Your modifications have been saved successfully!', 'oa-social-login'); ?>
1154
+ </p>
1155
+ </div>
1156
  <?php
1157
  }
1158
+ else
1159
+ {
1160
+ ?>
1161
+ <div class="oa_social_login_box oa_social_login_box_warning">
1162
+ <div class="oa_social_login_box_title">
1163
+ <?php _e ('Logout to see the plugin in action!', 'oa-social-login'); ?>
1164
+ </div>
1165
+ <p>
1166
+ <?php
1167
+ _e ('Social Login is a plugin that allows your users to comment, login and register with their existing Social Network accounts. If a user is already logged in, the plugin will not be displayed. There is no need to give the user the possibility to connect with a social network if he is already connected.', 'oa-social-login');
1168
+ ?>
1169
+ <strong><?php _e ('You therefore have to logout to see the plugin in action.', 'oa-social-login'); ?> </strong>
1170
+ </p>
1171
+ </div>
1172
+ <?php
1173
+ }
1174
  ?>
1175
  <table class="form-table oa_social_login_table">
1176
  <tr class="row_head">
1193
  </tr>
1194
  <tr class="row_odd">
1195
  <td>
1196
+ <strong><?php _e ("Select the icon theme to use per default:", 'oa-social-login'); ?></strong>
1197
  </td>
1198
  </tr>
1199
  <tr class="row_even">
1200
  <td>
1201
  <?php
1202
+ $plugin_icon_theme = ((isset ($settings ['plugin_icon_theme']) AND in_array ($settings ['plugin_icon_theme'], array (0, 1, 2))) ? $settings ['plugin_icon_theme'] : OA_SOCIAL_LOGIN_DEFAULT_THEME);
1203
  ?>
1204
  <input type="radio" id="plugin_icon_theme_0" name="oa_social_login_settings[plugin_icon_theme]" value="0" <?php echo ($plugin_icon_theme == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_icon_theme_0"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/theme_classic.png' ?>" alt="<?php _e('Classic', 'oa-social-login'); ?>" /></label>
1205
  <input type="radio" id="plugin_icon_theme_1" name="oa_social_login_settings[plugin_icon_theme]" value="1" <?php echo ($plugin_icon_theme == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_icon_theme_1"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/theme_modern.png' ?>" alt="<?php _e('Modern', 'oa-social-login'); ?>" /></label>
1214
  <tr class="row_even">
1215
  <td>
1216
  <?php
1217
+ $plugin_add_column_user_list = ((isset ($settings ['plugin_add_column_user_list']) AND in_array ($settings ['plugin_add_column_user_list'], array (0, 1))) ? $settings ['plugin_add_column_user_list'] : 1);
1218
  ?>
1219
+ <input type="radio" id="plugin_add_column_user_list_1" name="oa_social_login_settings[plugin_add_column_user_list]" value="1" <?php echo ($plugin_add_column_user_list == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_add_column_user_list_1"><?php _e ('Yes, add a new column to the user list and display the social network that the user connected with', 'oa-social-login'); ?><strong> (<?php _e ('Default', 'oa-social-login') ?>)</strong></label> <br />
1220
+ <input type="radio" id="plugin_add_column_user_list_0" name="oa_social_login_settings[plugin_add_column_user_list]" value="0" <?php echo ($plugin_add_column_user_list == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_add_column_user_list_0"><?php _e ('No, do not display the social networks in the user list', 'oa-social-login'); ?></label>
1221
  </td>
1222
  </tr>
1223
  <tr class="row_odd">
1413
  <input type="radio" id="plugin_protect_login_redirect_url_1" name="oa_social_login_settings[plugin_protect_login_redirect_url]" value="1" <?php echo ($plugin_protect_login_redirect_url == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_protect_login_redirect_url_1"><?php _e ('No, protect the redirection url (Use this option if the redirection does not work correctly)', 'oa-social-login'); ?></label>
1414
  </td>
1415
  </tr>
 
 
 
1416
  </table>
1417
  <table class="form-table oa_social_login_table">
1418
  <tr class="row_head">
1510
  </td>
1511
  </tr>
1512
  </table>
1513
+ <p class="oa_social_login_buttons">
1514
  <input type="hidden" name="page" value="settings" />
1515
+ <input type="submit" class="oa_social_login_btn oa_social_login_btn_success oa_social_login_btn_large" value="<?php _e ('Save Changes', 'oa-social-login') ?>" />
1516
  </p>
1517
  </form>
1518
  </div>
includes/settings.php CHANGED
@@ -26,16 +26,18 @@ $oa_social_login_providers = array(
26
  'name' => 'Draugiem'
27
  ),
28
  'facebook' => array(
29
- 'name' => 'Facebook'
 
30
  ),
31
  'foursquare' => array(
32
  'name' => 'Foursquare'
33
  ),
34
  'github' => array(
35
- 'name' => 'Github.com'
36
  ),
37
  'google' => array(
38
- 'name' => 'Google'
 
39
  ),
40
  'instagram' => array(
41
  'name' => 'Instagram'
@@ -44,7 +46,8 @@ $oa_social_login_providers = array(
44
  'name' => 'Line'
45
  ),
46
  'linkedin' => array(
47
- 'name' => 'LinkedIn'
 
48
  ),
49
  'livejournal' => array(
50
  'name' => 'LiveJournal'
@@ -95,7 +98,8 @@ $oa_social_login_providers = array(
95
  'name' => 'Twitch.tv'
96
  ),
97
  'twitter' => array(
98
- 'name' => 'Twitter'
 
99
  ),
100
  'vimeo' => array(
101
  'name' => 'Vimeo'
26
  'name' => 'Draugiem'
27
  ),
28
  'facebook' => array(
29
+ 'name' => 'Facebook',
30
+ 'is_default' => 1
31
  ),
32
  'foursquare' => array(
33
  'name' => 'Foursquare'
34
  ),
35
  'github' => array(
36
+ 'name' => 'Github.com',
37
  ),
38
  'google' => array(
39
+ 'name' => 'Google',
40
+ 'is_default' => 1
41
  ),
42
  'instagram' => array(
43
  'name' => 'Instagram'
46
  'name' => 'Line'
47
  ),
48
  'linkedin' => array(
49
+ 'name' => 'LinkedIn',
50
+ 'is_default' => 1
51
  ),
52
  'livejournal' => array(
53
  'name' => 'LiveJournal'
98
  'name' => 'Twitch.tv'
99
  ),
100
  'twitter' => array(
101
+ 'name' => 'Twitter',
102
+ 'is_default' => 1
103
  ),
104
  'vimeo' => array(
105
  'name' => 'Vimeo'
includes/toolbox.php CHANGED
@@ -187,6 +187,9 @@ function oa_social_login_get_theme_css_url ($theme_id = 0)
187
  // Build Theme.
188
  switch ($theme_id)
189
  {
 
 
 
190
  case '1':
191
  return ($cdn_uri . '/css/api/socialize/themes/wordpress/modern.css');
192
 
@@ -194,7 +197,7 @@ function oa_social_login_get_theme_css_url ($theme_id = 0)
194
  return ($cdn_uri . '/css/api/socialize/themes/wordpress/small.css');
195
 
196
  default:
197
- return ($cdn_uri . '/css/api/socialize/themes/wordpress/default.css');
198
  }
199
  }
200
 
187
  // Build Theme.
188
  switch ($theme_id)
189
  {
190
+ case '0':
191
+ return ($cdn_uri . '/css/api/socialize/themes/wordpress/default.css');
192
+
193
  case '1':
194
  return ($cdn_uri . '/css/api/socialize/themes/wordpress/modern.css');
195
 
197
  return ($cdn_uri . '/css/api/socialize/themes/wordpress/small.css');
198
 
199
  default:
200
+ return ($cdn_uri . '/css/api/socialize/themes/wordpress/modern.css');
201
  }
202
  }
203
 
includes/user_interface.php CHANGED
@@ -1,17 +1,35 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  /**
4
  * Include the Social Library
5
  */
6
  function oa_social_login_add_javascripts ()
7
  {
8
- //Read the plugin settings.
9
  $settings = get_option ('oa_social_login_settings');
10
 
11
- //Without the subdomain we can't include the libary.
12
  if (!empty ($settings ['api_subdomain']))
13
  {
14
- //Forge library path.
15
  $oneall_js_library = ((oa_social_login_https_on () ? 'https' : 'http') . '://' . $settings ['api_subdomain'] . '.api.oneall.com/socialize/library.js');
16
 
17
  // Synchronous JavaScript: This is the default to stay compatible with existing installations.
@@ -41,17 +59,21 @@ function oa_social_login_add_javascripts ()
41
  $output [] = "</script>";
42
  $output [] = '';
43
 
44
- //Display
45
  echo implode ("\n", $output);
46
  }
47
  }
48
  }
49
 
50
- //This is for Social Login
51
  add_action ('login_head', 'oa_social_login_add_javascripts');
52
  add_action ('wp_head', 'oa_social_login_add_javascripts');
53
 
54
- //This is for Social Link
 
 
 
 
55
  add_action ('show_user_profile', 'oa_social_login_add_javascripts');
56
 
57
  /**
1
  <?php
2
 
3
+ /**
4
+ * Include CSS
5
+ */
6
+ function oa_social_login_add_css ()
7
+ {
8
+ // Read the plugin settings.
9
+ $settings = get_option ('oa_social_login_settings');
10
+
11
+ // Without the subdomain the plugin won't work.
12
+ if (!empty ($settings ['api_subdomain']))
13
+ {
14
+ if ( ! empty ($settings ['css_tweaks']))
15
+ {
16
+ echo "<style>.oneall_social_login + p.comment-notes{margin-top: 10px !important;}#login #loginform .oneall_social_login{background-color: rgba(0, 0, 0, 0.04);padding: 10px 10px 0 10px;margin-bottom: 10px;border: 1px solid rgba(0, 0, 0, 0.06);border-radius: 4px;}</style>";
17
+ }
18
+ }
19
+ }
20
+
21
  /**
22
  * Include the Social Library
23
  */
24
  function oa_social_login_add_javascripts ()
25
  {
26
+ // Read the plugin settings.
27
  $settings = get_option ('oa_social_login_settings');
28
 
29
+ // Without the subdomain we can't include the libary.
30
  if (!empty ($settings ['api_subdomain']))
31
  {
32
+ // Forge library path.
33
  $oneall_js_library = ((oa_social_login_https_on () ? 'https' : 'http') . '://' . $settings ['api_subdomain'] . '.api.oneall.com/socialize/library.js');
34
 
35
  // Synchronous JavaScript: This is the default to stay compatible with existing installations.
59
  $output [] = "</script>";
60
  $output [] = '';
61
 
62
+ // Display
63
  echo implode ("\n", $output);
64
  }
65
  }
66
  }
67
 
68
+ // This is for Social Login.
69
  add_action ('login_head', 'oa_social_login_add_javascripts');
70
  add_action ('wp_head', 'oa_social_login_add_javascripts');
71
 
72
+ // Adds CSS tweaks.
73
+ add_action ('login_head', 'oa_social_login_add_css');
74
+ add_action ('wp_head', 'oa_social_login_add_css');
75
+
76
+ // This is for Social Link.
77
  add_action ('show_user_profile', 'oa_social_login_add_javascripts');
78
 
79
  /**
oa-social-login.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Social Login
4
  * Plugin URI: http://www.oneall.com/
5
  * Description: Social Login allows your users to <strong>comment, login and register with 40+ social networks</strong> like Twitter, Facebook, LinkedIn, Instagram, Вконтакте, Google or Yahoo.
6
- * Version: 5.5.1
7
  * Author: OneAll Social Login <support@oneall.com>
8
  * Author URI: https://www.oneall.com/services/social-network-integration/social-login/
9
  * License: GPL2
@@ -12,7 +12,8 @@
12
 
13
  define ('OA_SOCIAL_LOGIN_PLUGIN_URL', plugins_url () . '/' . basename (dirname (__FILE__)));
14
  define ('OA_SOCIAL_LOGIN_BASE_PATH', dirname (plugin_basename (__FILE__)));
15
- define ('OA_SOCIAL_LOGIN_VERSION', '5.5.1');
 
16
 
17
  /**
18
  * Check technical requirements before activating the plugin (Wordpress 3.0 or newer required)
3
  * Plugin Name: Social Login
4
  * Plugin URI: http://www.oneall.com/
5
  * Description: Social Login allows your users to <strong>comment, login and register with 40+ social networks</strong> like Twitter, Facebook, LinkedIn, Instagram, Вконтакте, Google or Yahoo.
6
+ * Version: 5.6
7
  * Author: OneAll Social Login <support@oneall.com>
8
  * Author URI: https://www.oneall.com/services/social-network-integration/social-login/
9
  * License: GPL2
12
 
13
  define ('OA_SOCIAL_LOGIN_PLUGIN_URL', plugins_url () . '/' . basename (dirname (__FILE__)));
14
  define ('OA_SOCIAL_LOGIN_BASE_PATH', dirname (plugin_basename (__FILE__)));
15
+ define ('OA_SOCIAL_LOGIN_VERSION', '5.6');
16
+ define ('OA_SOCIAL_LOGIN_DEFAULT_THEME', 1);
17
 
18
  /**
19
  * Check technical requirements before activating the plugin (Wordpress 3.0 or newer required)
readme.txt CHANGED
@@ -1,12 +1,14 @@
1
- === Social Login ===
2
  Contributors: OneAll.com, ClaudeSchlesser, socialloginoneall
3
- Tags: social login, social network login, social connect, facebook login, twitter login, linkedin login
4
  Requires at least: 3.0
5
- Tested up to: 5.2
6
- Stable tag: 5.5.1
 
7
  License: GPLv2 or later
 
8
 
9
- Social Login allows your users to login, register and comment with 40+ Social Networks. Professional development and support included.
10
 
11
  == Description ==
12
 
@@ -29,7 +31,7 @@ Do not take the risk of losing any users or customers due to outdated social net
29
  By using OneAll you can be sure that your social media integration will always run smoothly and with the most up-to-date calls.
30
 
31
  **Fully Customizable**<br />
32
- You can easily configure which social accounts to enable/disable for login and on which areas of the website social login should be displayed:
33
  * On the comment formular
34
  * On the login page
35
  * On the registration page
@@ -46,6 +48,7 @@ This feature is available in the premium version of Social Login and can be enab
46
 
47
 
48
  **40+ Social Networks**
 
49
  * Amazon
50
  * Battle.net
51
  * Blogger
@@ -71,7 +74,7 @@ This feature is available in the premium version of Social Login and can be enab
71
  * PixelPin
72
  * Reddit
73
  * Skyrock.com
74
- * SoundCloud
75
  * StackExchange
76
  * Steam
77
  * Tumblr
@@ -86,26 +89,58 @@ This feature is available in the premium version of Social Login and can be enab
86
  * Yahoo
87
  * YouTube
88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
 
90
 
91
  **Professionally Developed and Maintained**
92
- Social Login is maintained by [OneAll](http://www.oneall.com), a technology company offering a set of web-delivered tools to simplify the integration of 40+ social networks into business and personal websites and apps.
93
 
94
  The OneAll API unifies 40+ Social Networks and consolidates the most powerful social network features in a single solution. You can work with multiple social networks at once and you will obtain a standardized field structure for data received from any of the social networks. Save time and development resources and focus on your core business.
95
 
96
  == Installation ==
97
 
98
  = Plugin Installation =
99
- 1. Upload the plugin folder to the "/wp-content/plugins/" directory of your WordPress site,
100
- 2. Activate the plugin through the 'Plugins' menu in WordPress,
101
- 3. Visit the "Settings\Social Login" administration page to setup the plugin.
 
 
 
 
102
 
103
  = API Connection =
104
- The social network APIs are constantly changing and being updated. We monitor these changes and automatically
105
- update our APIs, so that you can be sure that Social Login will always run smoothly and with the most up-to-date
106
- API calls.
107
 
108
- In order to enable the plugin you must connect with the OneAll API and create a free account at https://app.oneall.com
 
 
109
 
110
  == Frequently Asked Questions ==
111
 
@@ -161,6 +196,13 @@ http://docs.oneall.com/plugins/guide/social-login-wordpress/
161
 
162
  == Changelog ==
163
 
 
 
 
 
 
 
 
164
  = 5.5.1 =
165
  * Notice fixed
166
 
@@ -179,7 +221,7 @@ http://docs.oneall.com/plugins/guide/social-login-wordpress/
179
  * Warning missing quotes fixed
180
 
181
  = 5.4.2 =
182
- * PHP 7.2+ compatibility fixes.
183
 
184
  = 5.4.1 =
185
  * User website URL truncated (WordPress restriction)
1
+ === Social Login & Register for Wordpress - 40+ Social Networks / OneAll INC ===
2
  Contributors: OneAll.com, ClaudeSchlesser, socialloginoneall
3
+ Tags: social login, social plugin, facebook, facebook login, twitter, google login, twitter login, google, linkedin
4
  Requires at least: 3.0
5
+ Tested up to: 5.4
6
+ Stable tag: 5.6
7
+ Requires PHP: 5.4
8
  License: GPLv2 or later
9
+ License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ With Social Login your users can login, register and comment with 40+ Social Networks. Maintenance Free. Uptime Guarantee. Fulltime devs
12
 
13
  == Description ==
14
 
31
  By using OneAll you can be sure that your social media integration will always run smoothly and with the most up-to-date calls.
32
 
33
  **Fully Customizable**<br />
34
+ You can easily configure which social accounts to enable/disable for social login and on which areas of the website the social login icons should be displayed:
35
  * On the comment formular
36
  * On the login page
37
  * On the registration page
48
 
49
 
50
  **40+ Social Networks**
51
+
52
  * Amazon
53
  * Battle.net
54
  * Blogger
74
  * PixelPin
75
  * Reddit
76
  * Skyrock.com
77
+ * SoundCloud
78
  * StackExchange
79
  * Steam
80
  * Tumblr
89
  * Yahoo
90
  * YouTube
91
 
92
+ **Social Login Features**
93
+
94
+ * **GDPR compliant**
95
+ * **Social Link** – Users can use social login to link multiple social network accounts to their WordPress account.
96
+ * **Woocommerce Connect** – Automatic integration of the social login icons on the Woocommerce checkout, login and registration pages.
97
+ * **Woocommerce Profile** – Fill the user's billing address with the first name, last name and email address received from the social network.
98
+ * **BuddyPress Connect** - Automatic integration of the social login icons on the BuddyPress account and registration pages.
99
+ * **BuddyPress Profile** - Use the social network avatar as BuddyPress avatar and fill out custom fields.
100
+ * **User Insights** - Access the analytics dashboard to discover which social networks your users prefer.
101
+ * **Automatic Emails** - Send emails to users that register using social login.
102
+ * **Automatic Notifications** - Send notifications to admins for every users that registers using social login.
103
+ * **Comment Approval** - Automatically approve comments left by users that connected by using social login.
104
+ * **Email Retrieval** - Ask users to enter their email when social login did not receive it from the social network.
105
+ * **Custom Redirections** - Fully customize the page to redirect user to after having connected using social login.
106
+ * **Integrated Widget** - Simply use the social login widget to display the icons wherever you want.
107
+ * **ShortCodes** - Easily embed social login anywhere by using the available shortcodes.
108
+ * **Hook** - Customize the social login behaviour by using the integrated hooks.
109
+ * **Icon Themes** - Choose amongst three different social login icon themes.
110
+ * **Documentation** - Access a [complete documentation](https://docs.oneall.com/plugins/guide/social-login-wordpress/) on the available Social Login hooks and filters for WordPress.
111
+ * **Support** - Any questions about Social Login? Our support team is there to assist you.
112
+
113
+
114
+ **Social Login Premium Features**
115
+
116
+ * **Authentication Filters** - Use customisable filters to restrict which users may login with social login.
117
+ * **Data Export** - Automatically export social login data to Campaign Monitor or MailChimp or export as CSV.
118
+ * **User Insights** - Access analytics and get demographic information about your social login users.
119
+ * **Icon Themes** - Choose amongst twenty different social login icon themes or use you own icons.
120
 
121
 
122
  **Professionally Developed and Maintained**
123
+ Social Login is maintained by [OneAll](https://www.oneall.com), a technology company offering a set of web-delivered tools to simplify the integration of 40+ social networks into business and personal websites and apps.
124
 
125
  The OneAll API unifies 40+ Social Networks and consolidates the most powerful social network features in a single solution. You can work with multiple social networks at once and you will obtain a standardized field structure for data received from any of the social networks. Save time and development resources and focus on your core business.
126
 
127
  == Installation ==
128
 
129
  = Plugin Installation =
130
+ 1. Upload the plugin folder to the following directory of your WordPress site: `/wp-content/plugins/`,
131
+
132
+ 2. Login to your WordPress admin area, go to the **Plugins** page and activate **Social Login** there,
133
+
134
+ 3. Go to the **Settings\Social Login** page in your WordPress admin area and setup the plugin,
135
+
136
+ 4. Click on the **Autodetect** and **Verify** buttons to make sure that the API connection is working properly.
137
 
138
  = API Connection =
139
+ The social network APIs are constantly changing and being updated. We monitor these changes and automatically update our APIs, so that you can be sure that Social Login will always run smoothly and with the most up-to-date API calls.
 
 
140
 
141
+ In order to enable the plugin you must connect with the OneAll API and create a free account at [OneAll](https://app.oneall.com).
142
+
143
+ More information is available in our [Social Login Documentation](https://docs.oneall.com/plugins/guide/social-login-wordpress/).
144
 
145
  == Frequently Asked Questions ==
146
 
196
 
197
  == Changelog ==
198
 
199
+ = 5.6 =
200
+ * Responsive admin interface
201
+ * CSS Tweaks for better integration
202
+ * Default icons changed
203
+ * Linked social networks in user list
204
+ * Tested with WordPress 5.3
205
+
206
  = 5.5.1 =
207
  * Notice fixed
208
 
221
  * Warning missing quotes fixed
222
 
223
  = 5.4.2 =
224
+ * PHP 7.2+ compatibility added
225
 
226
  = 5.4.1 =
227
  * User website URL truncated (WordPress restriction)