User registration & user profile – Profile Builder - Version 1.1.46

Version Description

Improved a few existing functions.

Download this release

Release Info

Developer barinagabriel
Plugin Icon 128x128 User registration & user profile – Profile Builder
Version 1.1.46
Comparing to
See all releases

Code changes from version 1.1.45 to 1.1.46

assets/css/hobbyist.style.css ADDED
@@ -0,0 +1,1214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Profile Builder CSS File*/
2
+ /*
3
+ Original Plugin Name: OptionTree
4
+ Original Plugin URI: http://wp.envato.com
5
+ Original Author: Derek Herman
6
+ Original Author URI: http://valendesigns.com
7
+ */
8
+ #wpwrap {
9
+ min-width: 990px;
10
+ }
11
+ strong {
12
+ color: #000;
13
+ }
14
+ .clear {
15
+ clear: both;
16
+ }
17
+ .hide,
18
+ #contextual-help-link-wrap {
19
+ display: none;
20
+ }
21
+ .left {
22
+ float: left !important;
23
+ }
24
+ .right {
25
+ float: right !important;
26
+ }
27
+ p {
28
+ padding-bottom: 14px;
29
+ }
30
+ a {
31
+ text-decoration: none;
32
+ }
33
+ a strong {
34
+ color: #21759B !important;
35
+ }
36
+ a:hover strong {
37
+ color: #d54e21 !important;
38
+ }
39
+ #framework_wrap .error {
40
+ display: none !important;
41
+ }
42
+ #framework_wrap {
43
+ position: relative;
44
+ width: 788px;
45
+ margin: 15px;
46
+ }
47
+ #framework_wrap #header {
48
+ -webkit-border-top-left-radius: 3px;
49
+ -webkit-border-top-right-radius: 3px;
50
+ -moz-border-radius-topleft: 3px;
51
+ -moz-border-radius-topright: 3px;
52
+ border-top-left-radius: 3px;
53
+ border-top-right-radius: 3px;
54
+ background: #6d6d6d url(../images/header.png) repeat-x left top;
55
+ border: 1px solid #555;
56
+ height: 71px;
57
+ width: 785px;
58
+ position: relative;
59
+ }
60
+ #framework_wrap #header h1 {
61
+ width: 225px;
62
+ height: 50px;
63
+ background: url(../images/logo_hobbyist.png) no-repeat 0 0;
64
+ text-indent: -9999px;
65
+ margin: 10px 0 0 20px;
66
+ }
67
+
68
+ #framework_wrap #header span.icon {
69
+ position: absolute;
70
+ display: block;
71
+ right: 20px;
72
+ top: 18px;
73
+ height: 32px;
74
+ width: 32px;
75
+ text-indent: -9999px;
76
+ /*background: url(../images/icon_option.png) no-repeat left center;*/
77
+ }
78
+ #framework_wrap #header div.version {
79
+ text-align: left;
80
+ position: absolute;
81
+ left: 85px;
82
+ top: 50px;
83
+ font-size: 9px !important;
84
+ line-height: 10px;
85
+ color: #111;
86
+ font-style: normal;
87
+ font-family: Verdana,Arial,sans-serif;
88
+ text-transform: uppercase;
89
+ font-weight: normal;
90
+ text-shadow: 0 1px 0 #888;
91
+ letter-spacing: -0.05em;
92
+ }
93
+ #framework_wrap #content_wrap {
94
+ border: 1px solid #aaa;
95
+ border-top: none;
96
+ background: #fff;
97
+ width: 785px;
98
+ position: relative;
99
+ }
100
+ #framework_wrap #content_wrap .info {
101
+ background: #eaf2fa;
102
+ background: #f9f9f9;
103
+ height: 35px;
104
+ border-top: 1px solid #fff;
105
+ border-bottom: 1px solid #e3e3e3;
106
+ }
107
+ a.toggle_tabs {
108
+ cursor: pointer;
109
+ background: url(../images/toggle_tabs.png) no-repeat -2px -1px;
110
+ display: block;
111
+ height: 22px;
112
+ width: 21px;
113
+ float: left;
114
+ text-indent: -9999px;
115
+ margin: 5px 5px 0 19px;
116
+ border: 1px solid #bbb;
117
+ -webkit-border-radius: 4px;
118
+ -moz-border-radius: 4px;
119
+ border-radius: 4px;
120
+ }
121
+ .no-tabs a.toggle_tabs {
122
+ display: none;
123
+ }
124
+ a:hover.toggle_tabs {
125
+ border-color: #666;
126
+ }
127
+ a.off {
128
+ background-position: -2px -26px;
129
+ }
130
+ #framework_wrap #content_wrap .bottom {
131
+ border-top: 1px solid #fff !important;
132
+ border-bottom: none !important;
133
+
134
+ background: #f1f1f1;
135
+ }
136
+ #framework_wrap #content_wrap .info input.button-framework {
137
+ float: right;
138
+ margin: 5px 20px 0 0;
139
+ padding: 4px 10px;
140
+ font-size: 11px;
141
+ height: 24px;
142
+ }
143
+ #framework_wrap #content_wrap .info input.add-item {
144
+ float: left;
145
+ margin-left: 20px;
146
+ }
147
+ #framework_wrap #content_wrap .info input.reset {
148
+ margin-left: 20px;
149
+ color: #d54e45;
150
+ float: left;
151
+ }
152
+ #framework_wrap #content_wrap a.reset {
153
+ margin-right: 10px;
154
+ color: #d54e45;
155
+ }
156
+ .ajax-message {
157
+ position: absolute;
158
+ left: 300px;
159
+ top: 100px;
160
+ width: 200px;
161
+ z-index: 100;
162
+ display: none;
163
+ overflow: visible;
164
+ }
165
+ #framework_wrap #content_wrap .message {
166
+ text-align: center;
167
+ color: #444;
168
+ text-shadow: 0 1px 0 #fff;
169
+ font-size: 12px;
170
+ line-height: 16px;
171
+ padding: 20px 10px;
172
+ background: #f3f3f3;
173
+ border: 1px solid #bbb;
174
+ -webkit-border-radius: 5px;
175
+ -moz-border-radius: 5px;
176
+ border-radius: 5px;
177
+ -moz-box-shadow: 0px 2px 5px #eee;
178
+ -webkit-box-shadow: 0px 2px 5px #eee;
179
+ box-shadow: 0px 2px 5px #eee;
180
+ }
181
+ #framework_wrap #content_wrap .message span {
182
+ display: block;
183
+ height: 16px;
184
+ width: 16px;
185
+ position: absolute;
186
+ left: -8px;
187
+ top: -8px;
188
+ background: url(../images/icon_add.png) no-repeat 0 0;
189
+ }
190
+ #framework_wrap #content_wrap .message.warning span {
191
+ background-image: url(../images/icon_error.png);
192
+ }
193
+ /* Primary Form Button */
194
+ #framework_wrap input.button-framework {
195
+ cursor: pointer;
196
+ font-size: 12px;
197
+ color: #444;
198
+ text-shadow: 0 1px 0 #fff;
199
+ background: #f3f3f3 url(../images/btn.png) repeat-x 0 0;
200
+ border: 1px solid #bbb;
201
+ padding: 5px 10px;
202
+ }
203
+ #framework_wrap input:hover.button-framework {
204
+ color: #000;
205
+ border-color: #666;
206
+ }
207
+ #framework_wrap a.button-framework {
208
+ cursor: pointer;
209
+ font-size: 12px;
210
+ color: #444;
211
+ text-shadow: 0 1px 0 #fff;
212
+ background: #f3f3f3 url(../images/btn.png) repeat-x 0 0;
213
+ border: 1px solid #bbb;
214
+ padding: 3px 10px 3px 10px;
215
+ -webkit-border-radius: 4px;
216
+ -moz-border-radius: 4px;
217
+ border-radius: 4px;
218
+ text-decoration: none;
219
+ float: left;
220
+ position: relative;
221
+ left: 1px;
222
+ }
223
+ #framework_wrap div.inline-edit-save a.button-framework {
224
+ padding: 2px 10px 2px 10px;
225
+ font-size: 11px;
226
+ }
227
+ #framework_wrap a:hover.button-framework {
228
+ color: #000;
229
+ border-color: #666;
230
+ }
231
+
232
+ #framework_wrap a.button-framework.light {
233
+ border: 1px solid #dfdfdf;
234
+ color: #464646;
235
+ }
236
+ #framework_wrap a:hover.button-framework.light {
237
+ color: #000;
238
+ border-color: #adaca7;
239
+ }
240
+
241
+ /* Ads in free version */
242
+ #framework_wrap #content_wrap .basic-version-info {
243
+ height:113px;
244
+ background:#fffbcc;
245
+ }
246
+ #framework_wrap #content_wrap .basic-version-info form{
247
+ float:right;
248
+ margin-right:13px;
249
+ margin-top:30px;
250
+ }
251
+ #framework_wrap #content_wrap .basic-version-info a{
252
+ position:absolute;
253
+ width:140px;
254
+ top:80px;
255
+ margin-left:60px;
256
+
257
+ }
258
+
259
+ #framework_wrap #content_wrap .pro-noserial-info {
260
+ padding: 20px;
261
+ background:#fffbcc;
262
+ }
263
+
264
+ /* Content Inner */
265
+ #framework_wrap #content {
266
+ padding: 0;
267
+ width: 785px;
268
+ border-bottom: 1px solid #e3e3e3;
269
+ position: relative;
270
+ }
271
+ .screenshot {
272
+ float: right;
273
+ margin-left: 1px;
274
+ position: relative;
275
+ width: 344px;
276
+ }
277
+ .screenshot img {
278
+ max-width: 334px;
279
+ padding: 4px;
280
+ border: 1px solid #ccc;
281
+ background: #fafafa;
282
+ border-color: #ccc #eee #eee #ccc;
283
+ -webkit-border-radius: 4px;
284
+ -moz-border-radius: 4px;
285
+ border-radius: 4px;
286
+ float: right;
287
+ }
288
+ .screenshot a {
289
+ text-decoration: none;
290
+ padding-left: 20px;
291
+ }
292
+ .screenshot a.remove {
293
+ background: url(../images/icon_delete.png) no-repeat 0 0;
294
+ display: block;
295
+ height: 16px;
296
+ width: 16px;
297
+ position: absolute;
298
+ bottom: -4px;
299
+ right: -4px;
300
+ text-indent: -9999px;
301
+ float: left;
302
+ padding: 0;
303
+ border: none;
304
+ }
305
+ .screenshot .no_image a.remove {
306
+ left: 0;
307
+ top: 2px;
308
+ }
309
+ .option-upload .element {
310
+ padding-bottom: 5px;
311
+ }
312
+ #framework_wrap #content h2 {
313
+ margin-bottom: 10px;
314
+ border-bottom: 1px solid #e5e5e5;
315
+ }
316
+ #framework_wrap #content h3 {
317
+ border-bottom: 1px solid #eee;
318
+ margin: 0 0 15px 0;
319
+ padding-bottom: 10px;
320
+ clear: both;
321
+ font-size: 14px;
322
+ }
323
+ h3.text-title {
324
+ font: italic 20px/30px Georgia,"Times New Roman","Bitstream Charter",Times,serif !important;
325
+ }
326
+ #framework_wrap #content tbody tr.inline-edit-option td h3 {
327
+ border-bottom-color: #ddd;
328
+ }
329
+ #framework_wrap #content .block {
330
+ display: block;
331
+ overflow: hidden;
332
+ padding: 20px;
333
+ }
334
+ #framework_wrap #content p {
335
+ font-size: 11px;
336
+ color: #555;
337
+ padding-bottom: 20px;
338
+ margin: 0;
339
+ }
340
+ #framework_wrap #content table {
341
+ border: 1px solid #dfdfdf;
342
+ width: 100%;
343
+ text-align: left;
344
+ border-spacing: 0;
345
+ border-style: solid;
346
+ border-width: 1px;
347
+ font-size: 11px !important;
348
+ text-shadow: 0 1px 0 #fff;
349
+ -webkit-border-radius: 4px;
350
+ -moz-border-radius: 4px;
351
+ border-radius: 4px;
352
+ }
353
+ #framework_wrap #content2 table {
354
+ border: 0px solid #dfdfdf;
355
+ width: 100%;
356
+ text-align: left;
357
+ border-spacing: 0;
358
+ border-style: solid;
359
+ border-width: 1px;
360
+ font-size: 11px !important;
361
+ text-shadow: 0 1px 0 #fff;
362
+ -webkit-border-radius: 4px;
363
+ -moz-border-radius: 4px;
364
+ border-radius: 4px;
365
+ }
366
+
367
+ #framework_wrap #content .has-table table th {
368
+ background: #f1f1f1;
369
+ background-image: -moz-linear-gradient(top, #f9f9f9, #f1f1f1);
370
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#f1f1f1));
371
+ }
372
+ /*tbody tr:hover {
373
+ cursor: pointer;
374
+ }*/
375
+ tbody tr.inline-edit-option {
376
+ }
377
+ tbody tr.inline-edit-option td {
378
+ background: #f1f1f1;
379
+ border-top: 1px solid #fff;
380
+ border-left: 1px solid #fff;
381
+ border-right: 1px solid #fff;
382
+ }
383
+ tbody tr:hover.inline-edit-option {
384
+ cursor: default;
385
+ }
386
+ #framework_wrap #content .has-table table #framework-settings .dragging {
387
+ background: #666 url(../images/black_px.png) repeat-x 0 0;
388
+ color: #fff;
389
+ text-shadow: 0 1px 0 #000;
390
+ }
391
+ #framework_wrap #content .has-table table #framework-settings .dragging td {
392
+ border-color: #000;
393
+ }
394
+ #framework_wrap #content .has-table table #framework-settings .dragging .col-edit {
395
+ background: url(../images/icon_up_down.png) no-repeat 63px center;
396
+ }
397
+ #framework_wrap #content .has-table table #framework-settings .dragging a.edit-inline,
398
+ #framework_wrap #content .has-table table #framework-settings .dragging a.delete-inline {
399
+ display: none;
400
+ }
401
+ .col-title {
402
+ padding-left: 10px !important;
403
+ width: 200px;
404
+ }
405
+ .col-type {
406
+ width: 60px;
407
+ }
408
+ .col-edit {
409
+ width: 45px;
410
+ padding-left: 40px !important;
411
+ padding-right: 0px !important;
412
+ }
413
+ .has-table table tr:first-child {
414
+ cursor: default;
415
+ }
416
+ .has-table table .col-heading {
417
+ background: #eaf3fa;
418
+ }
419
+ .has-table table .col-heading td:first-child {
420
+ font-weight: bold;
421
+ background: transparent url(../images/icon_header.png) no-repeat 10px 11px;
422
+ padding-left: 30px !important;
423
+ }
424
+ .has-table table thead th,
425
+ .has-table table td {
426
+ border-bottom: 1px solid #dfdfdf;
427
+ }
428
+ .has-table table tr,
429
+ .has-table table td,
430
+ .has-table table th {
431
+ padding: 10px 10px;
432
+ font-size: 11px !important;
433
+ }
434
+ .has-table table th {
435
+ padding: 6px 10px;
436
+ font-size: 11px !important;
437
+ }
438
+ .has-table table a {
439
+ text-decoration: none;
440
+ }
441
+ /* Inline Edit */
442
+ .inline-edit-option {
443
+ display: none;
444
+ }
445
+ a.edit-inline,
446
+ a.delete-inline,
447
+ a.add-option {
448
+ background: url(../images/icon_edit.png) no-repeat 0 0;
449
+ display: block;
450
+ height: 16px;
451
+ width: 16px;
452
+ text-indent: -9999px;
453
+ float: left;
454
+ margin-right: 5px;
455
+ display: block;
456
+ }
457
+ a.delete-inline {
458
+ background-image: url(../images/icon_delete.png);
459
+ }
460
+ a.add-option {
461
+ background-image: url(../images/icon_add.png);
462
+ margin-left: 21px;
463
+ }
464
+ a:hover.edit-inline {
465
+ border-color: #666;
466
+ }
467
+ a:hover.delete-inline {
468
+ border-color: #d54e45;
469
+ }
470
+ #framework_wrap #content .option {
471
+ padding-bottom: 15px;
472
+ }
473
+ #framework_wrap #content .option .section {
474
+ overflow: hidden;
475
+ font-size: 11px;
476
+ }
477
+ #framework_wrap #content .option .section .element {
478
+ float: left;
479
+ margin: 0 15px 0 0;
480
+ width: 345px;
481
+ }
482
+ #framework_wrap #content .option-checkbox .section .element {
483
+ width: 25px;
484
+ }
485
+ #framework_wrap #content .option .section .description {
486
+ color: #555;
487
+ float: left;
488
+ font-size: 11px;
489
+ padding: 2px 10px 0 0;
490
+ width: 370px;
491
+ }
492
+ div.desc-text p {
493
+ color: #555;
494
+ font-size: 11px !important;
495
+ }
496
+ #framework_wrap #content .inline-edit-option .option .section .description {
497
+ width: 325px;
498
+ padding-top: 0px;
499
+ }
500
+ #framework_wrap #content .option-checkbox .section .description {
501
+ width: 540px;
502
+ }
503
+ #framework_wrap #content label {
504
+
505
+ }
506
+ .input_wrap {
507
+ padding: 4px 10px 12px 0;
508
+ float: left;
509
+ width: 350px;
510
+ }
511
+ .option-checbox .input_wrap,
512
+ .option-radio .input_wrap {
513
+ padding: 4px 10px 4px 0;
514
+ width: 325px;
515
+ }
516
+ .option-checbox .element {
517
+ border: none;
518
+ max-height: 260px;
519
+ height: auto !important;
520
+ height: expression( document.body.clientHeight > 260 ? "260px" : "auto" );
521
+ overflow-y: auto;
522
+ overflow-x: hidden;
523
+ }
524
+ .input_wrap input[type="checkbox"],
525
+ .input_wrap input[type="radio"] {
526
+ float: left;
527
+ width: 20px;
528
+ margin-top: 3px;
529
+ vertical-align: bottom;
530
+ }
531
+ .input_wrap input[type="radio"] {
532
+ margin-top: 4px;
533
+ }
534
+ .input_wrap label {
535
+ float: left;
536
+ width: 325px;
537
+ }
538
+ .option-checbox .input_wrap label,
539
+ .option-radio .input_wrap label {
540
+ width: 300px;
541
+ }
542
+ #framework_wrap #content label input {
543
+ margin-right: 5px;
544
+ display: block;
545
+ float: left;
546
+ }
547
+ #framework_wrap #content input[type="text"],
548
+ #framework_wrap #content select,
549
+ #framework_wrap #content textarea {
550
+ background: #fafafa;
551
+ border-color: #ccc #eee #eee #ccc;
552
+ border-style: solid;
553
+ border-width: 1px;
554
+ font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
555
+ font-size: 12px;
556
+ margin-bottom: 9px !important;
557
+ padding: 5px;
558
+ width: 100%;
559
+ display: block;
560
+ color: #888;
561
+ resize: none;
562
+ }
563
+ #framework_wrap #content tbody tr.inline-edit-option td input[type="text"],
564
+ #framework_wrap #content tbody tr.inline-edit-option td select,
565
+ #framework_wrap #content tbody tr.inline-edit-option td textarea {
566
+ background: #fff;
567
+ }
568
+ #framework_wrap #content input[type="text"].upload {
569
+ width: 281px;
570
+ float: left;
571
+ }
572
+ #framework_wrap #content input[type="text"].cp_input {
573
+ width: 312px !important;
574
+ float: left;
575
+ }
576
+ .cp_box {
577
+ float: right;
578
+ width: 25px;
579
+ height: 25px;
580
+ position: relative;
581
+ top: 1px;
582
+ border: 1px solid #ccc;
583
+ border-color: #ccc #eee #eee #ccc;
584
+ background: #fafafa;
585
+ -webkit-border-radius: 4px;
586
+ -moz-border-radius: 4px;
587
+ border-radius: 4px;
588
+ }
589
+ .cp_box div {
590
+ width: 13px;
591
+ height: 13px;
592
+ border: 1px solid #bbb;
593
+ border-color: #eee #ccc #ccc #eee;
594
+ background: #fafafa url(../images/empty.gif);
595
+ position: absolute;
596
+ left: 5px;
597
+ top: 5px;
598
+ box-shadow: 1px 1px 0px #ccc;
599
+ -webkit-box-shadow: 1px 1px 0px #ccc;
600
+ -moz-box-shadow: 1px 1px 0px #ccc;
601
+ }
602
+ #framework_wrap #content .element small {
603
+ float: left;
604
+ font-size: 9px;
605
+ line-height: 9px;
606
+ color: #999;
607
+ position: relative;
608
+ top: -5px;
609
+ left: 2px;
610
+ }
611
+ .upload_button,
612
+ .upload_file_button,
613
+ .ob_button {
614
+ float: right;
615
+ padding: 5px;
616
+ cursor: pointer;
617
+ color: #444;
618
+ text-shadow: 0 1px 0 #fff;
619
+ background: #f3f3f3 url(../images/btn.png) repeat-x 0 0 !important;
620
+ border: 1px solid #bbb;
621
+ position: relative;
622
+ right: -1px;
623
+ height: 27px;
624
+ }
625
+ #framework_wrap #content select {
626
+ height: 28px;
627
+ padding: 4px 5px;
628
+ }
629
+ #framework_wrap #content input[type="text"]:focus,
630
+ #framework_wrap #content select:focus,
631
+ #framework_wrap #content textarea:focus,
632
+ #framework_wrap #content input[type="text"]:hover,
633
+ #framework_wrap #content select:hover,
634
+ #framework_wrap #content textarea:hover {
635
+ background: #fff;
636
+ border-color: #bbb #eee #eee #bbb;
637
+ color: #333;
638
+ }
639
+ #framework_wrap *:focus {
640
+ outline: none;
641
+ }
642
+ #framework_wrap *::-moz-focus-inner {
643
+ border: none;
644
+ }
645
+ .bottom_btn {
646
+ float: left;
647
+ width: 100%;
648
+ padding-top: 15px;
649
+ }
650
+ #framework_wrap #content .select_wrapper {
651
+ -moz-border-radius: 4px;
652
+ -webkit-border-radius: 4px;
653
+ border-radius: 4px;
654
+ font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
655
+ font-size: 12px;
656
+ background: #fafafa url(../images/select.png) no-repeat right center;
657
+ border-color: #ccc #eee #eee #ccc;
658
+ border-style: solid;
659
+ border-width: 1px;
660
+ float: left;
661
+ height: 26px;
662
+ width: 344px;
663
+ margin: 0;
664
+ margin-bottom: 9px !important;
665
+ width: 344px;
666
+ display: block;
667
+ color: #888;
668
+ }
669
+ #framework_wrap #content .option-type .select_wrapper {
670
+ background-color: #fff;
671
+ }
672
+ #framework_wrap #content .select_wrapper.measurement {
673
+ width: 65px;
674
+ float: right;
675
+ margin-top: 1px;
676
+ }
677
+ #framework_wrap #content input.measurement {
678
+ width: 269px;
679
+ float: left;
680
+ padding-top: 6px;
681
+ }
682
+ #framework_wrap #content .select_wrapper:hover {
683
+ background-color: #fff;
684
+ border-color: #bbb #eee #eee #bbb;
685
+ color: #333;
686
+ }
687
+ #framework_wrap #content select.select {
688
+ cursor: pointer;
689
+ height: 28px;
690
+ margin: 0;
691
+ -moz-opacity: 0;
692
+ filter: alpha(opacity: 0);
693
+ opacity: 0;
694
+ padding: 0;
695
+ position: relative;
696
+ width: inherit;
697
+ z-index: 4;
698
+ }
699
+ #framework_wrap #content .select_wrapper span {
700
+ height: 26px;
701
+ line-height: 26px;
702
+ position: absolute;
703
+ z-index: 2;
704
+ padding-left: 6px;
705
+ }
706
+ /* Image Slider */
707
+ .option-tree-slider {
708
+ background: #eaf3fa;
709
+ padding: 0px 10px;
710
+ margin-bottom: 8px;
711
+ text-shadow: 0 1px 0 #fff;
712
+ position: relative;
713
+ /* CSS3 */
714
+ -webkit-border-radius: 4px;
715
+ -moz-border-radius: 4px;
716
+ border-radius: 4px;
717
+ -moz-box-shadow: 1px 1px 0px #ccc;
718
+ -webkit-box-shadow: 1px 1px 0px #ccc;
719
+ box-shadow: 1px 1px 0px #ccc;
720
+ }
721
+ .option-tree-slider p {
722
+ padding-bottom: 5px !important;
723
+ margin-bottom: 0px !important;
724
+ }
725
+ #framework_wrap #content .option-option-tree-slider .section .element input[type="text"],
726
+ #framework_wrap #content .option-option-tree-slider .section .element textarea {
727
+ background: #fff;
728
+ width: 323px;
729
+ }
730
+ .option-tree-slider-wrap .edit {
731
+ position: absolute;
732
+ height: 16px;
733
+ width: 16px;
734
+ display: block;
735
+ text-indent: -9999px;
736
+ background: url(../images/icon_edit.png);
737
+ top: 6px;
738
+ right: 27px;
739
+ z-index: 10;
740
+ }
741
+ .option-tree-slider-wrap .edit.down {
742
+ background: url(../images/icon_up.png) !important;
743
+ }
744
+ .option-tree-slider-wrap .trash {
745
+ position: absolute;
746
+ height: 16px;
747
+ width: 16px;
748
+ display: block;
749
+ text-indent: -9999px;
750
+ background: url(../images/icon_delete.png);
751
+ top: 6px;
752
+ right: 6px;
753
+ z-index: 10;
754
+ }
755
+ .option-tree-slider-wrap .open {
756
+ padding: 5px 0px;
757
+ padding-right: 40px;
758
+ display: block;
759
+ font-size: 11px;
760
+ }
761
+ .option-tree-slider-wrap .option-tree-slider-body {
762
+ display: ;
763
+ }
764
+ /* Docs */
765
+ #framework_wrap #options_tabs.docs {
766
+ font-size: 11px !important;
767
+ color: #555;
768
+ }
769
+ #framework_wrap code {
770
+ font-size: 10px;
771
+ }
772
+ #framework_wrap ul.doc_list {
773
+ font-size: 11px !important;
774
+ padding-bottom: 20px;
775
+ }
776
+ #framework_wrap .doc_list li {
777
+ padding-bottom: 0px;
778
+ line-height: 12px;
779
+ list-style: disc;
780
+ margin-left: 16px;
781
+ }
782
+ #framework_wrap code {
783
+ background-color: #f1f1f1;
784
+ color: #000;
785
+ }
786
+ #framework_wrap pre {
787
+ font-size: 13px;
788
+ padding: 0;
789
+ margin: 0;
790
+ line-height: 18px;
791
+ overflow: auto;
792
+ overflow-Y: hidden;
793
+ padding-top: 18px;
794
+ background: #f1f1f1;
795
+ border-bottom: 1px solid #f1f1f1;
796
+ margin-bottom: 20px;
797
+ color: #000;
798
+ white-space:pre-wrap;
799
+ word-wrap:break-word;
800
+ }
801
+ #framework_wrap pre code {
802
+ padding: 0 18px 18px 18px;
803
+ display: block;
804
+ background: url(../images/pre_bg.gif) repeat left top; /*--Background of lined paper--*/
805
+ }
806
+ /* Tabs */
807
+ .options_tabs {
808
+ display: none;
809
+ }
810
+ .ui-tabs {
811
+ zoom: 1;
812
+ background: url(../images/tabs_bg.png) repeat-y 0 0;
813
+ }
814
+ .ui-tabs .options_tabs {
815
+ display: block;
816
+ }
817
+ .ui-tabs-panel .description {
818
+ width: 225px !important;
819
+ }
820
+ .ui-tabs-panel .inline-edit-option .description {
821
+ width: 200px !important;
822
+ }
823
+ .ui-tabs-panel h2 {
824
+ display: none;
825
+ }
826
+ .ui-tabs .ui-tabs-nav {
827
+ list-style: none;
828
+ position: relative;
829
+ float: left;
830
+ width: 148px;
831
+ word-wrap: break-word;
832
+ }
833
+ .ui-tabs .ui-tabs-nav li {
834
+ position: relative;
835
+ float: left;
836
+ display: block;
837
+ margin: 0;
838
+ padding: 0;
839
+ overflow: visible;
840
+ }
841
+ .ui-tabs .ui-tabs-nav li a {
842
+ float: left;
843
+ text-decoration: none;
844
+ display: block;
845
+ width: 127px;
846
+ padding: 8px 10px;
847
+ border-bottom: 1px solid #e3e3e3;
848
+ color: #21759B;
849
+ text-shadow: 0 1px 0 #fff;
850
+ background-image: url(../images/white_px.png);
851
+ background-repeat: repeat-x;
852
+ background-position: 0 0;
853
+ font-size: 11px;
854
+ }
855
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected a,
856
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected a:hover {
857
+ background: #fff;
858
+ color: #d54e45;
859
+ width: 128px;
860
+ }
861
+ .ui-tabs .ui-tabs-nav li.ui-state-disabled a,
862
+ .ui-tabs .ui-tabs-nav li.ui-state-processing a {
863
+ cursor: text;
864
+ }
865
+ .ui-tabs .ui-tabs-nav li a,
866
+ .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a {
867
+ cursor: pointer;
868
+ }
869
+ .ui-tabs .ui-tabs-nav li.ui-state-hover a {
870
+ background-color: #eaf2fa;
871
+ color: #555;
872
+ }
873
+ .ui-tabs .ui-tabs-panel {
874
+ display: block;
875
+ float: right;
876
+ width: 595px;
877
+ min-height: 400px;
878
+ }
879
+ .ui-tabs .ui-tabs-hide {
880
+ display: none !important;
881
+ }
882
+ .options_tabs li.ui-tabs-selected span {
883
+ position: absolute;
884
+ left: -1px;
885
+ top: 12px;
886
+ height: 9px;
887
+ width: 8px;
888
+ background: url(../images/icon_arrow.png) no-repeat 0 0;
889
+ }
890
+
891
+
892
+
893
+ /* file input */
894
+ div.file_wrap {
895
+ position: relative;
896
+ float: left;
897
+ width: 345px;
898
+ }
899
+ div.fake_file {
900
+ position: absolute;
901
+ top: 0px;
902
+ left: 0px;
903
+ z-index: 1;
904
+ }
905
+ div.fake_file input.upload {
906
+ margin-right: 3px;
907
+ width: 279px !important;
908
+ }
909
+ input.file {
910
+ background: none;
911
+ position: relative;
912
+ text-align: right;
913
+ float: right;
914
+ height: 28px;
915
+ -moz-opacity: 0;
916
+ filter: alpha(opacity: 0);
917
+ opacity: 0;
918
+ z-index: 2;
919
+ }
920
+
921
+ #register-profile-builder .validateStatus{
922
+ position:relative;
923
+ top:3px;
924
+ }
925
+ .wppb-serialnumber-descr{
926
+ padding-left:100px;
927
+ }
928
+ #wppb_profile_builder_hobbyist_serial{
929
+ width:335px;
930
+ }
931
+
932
+ #framework_wrap #content #customRedirect .afterRegistrationText{
933
+ position:relative;
934
+ vertical-align:middle;
935
+ display:inline-block !important;
936
+ margin-bottom:0 !important;
937
+ width: 400px;
938
+ *display:inline !important;
939
+ zoom:1;
940
+ }
941
+
942
+ #framework_wrap #content #customRedirect .afterLoginText{
943
+ position:relative;
944
+ left:37px;
945
+ vertical-align:middle;
946
+ display:inline-block !important;
947
+ margin-bottom:0 !important;
948
+ width: 400px;
949
+ *display:inline !important;
950
+ zoom:1;
951
+ }
952
+ #customRedirect #afterRegisterDescription{
953
+ vertical-align:middle;
954
+ }
955
+
956
+ #customRedirect #afterLoginDescription{
957
+ vertical-align:middle;
958
+ }
959
+
960
+
961
+ #userListing #sortingCriteria{
962
+ vertical-align:middle;
963
+ }
964
+
965
+ #userListing #sortingOrder{
966
+ vertical-align:middle;
967
+ }
968
+
969
+ #userListing #sortingNumber{
970
+ vertical-align:middle;
971
+ }
972
+
973
+ #general-settings input[type="submit"], #show-hide-admin-bar input[type="submit"], #default-fields input[type="submit"], #register-profile-builder input[type="submit"], #add-ons input[type="submit"], #wppb_customRedirect input[type="submit"], #wppb_userListing input[type="submit"], #disableLoginAndRegistration input[type="submit"], #wppb_reCaptcha input[type="submit"]{
974
+ position:absolute;
975
+ bottom:0;
976
+ right:0;
977
+ margin-bottom:-30px;
978
+ margin-right:25px;
979
+ }
980
+
981
+ #ui-datepicker-div{
982
+ font: 70% "Trebuchet MS", sans-serif;
983
+ }
984
+
985
+ #addonHeader{
986
+ width:70%;
987
+ }
988
+ #framework_wrap #content .wppb_general_settings{
989
+ position:relative;
990
+ left:18px;
991
+ vertical-align:middle;
992
+ display:inline-block !important;
993
+ margin-bottom:0 !important;
994
+ width: 100px;
995
+ height: 25px;
996
+ font-size:11px;
997
+ *display:inline !important;
998
+ zoom:1;
999
+ }
1000
+ #framework_wrap #content .wppb_general_settings2{
1001
+ position:relative;
1002
+ left:18px;
1003
+ vertical-align:middle;
1004
+ display:inline-block !important;
1005
+ margin-bottom:0 !important;
1006
+ width: 78px;
1007
+ height: 25px;
1008
+ font-size:11px;
1009
+ *display:inline !important;
1010
+ zoom:1;
1011
+ }
1012
+ #framework_wrap #content .wppb_general_settings3{
1013
+ position:relative;
1014
+ left:28px;
1015
+ vertical-align:middle;
1016
+ display:inline-block !important;
1017
+ margin-bottom:0 !important;
1018
+ width: 78px;
1019
+ height: 25px;
1020
+ font-size:11px;
1021
+ *display:inline !important;
1022
+ zoom:1;
1023
+ }
1024
+ #framework_wrap #content #generalSettingFont{
1025
+ font-size:11px;
1026
+ }
1027
+ #framework_wrap #content .sortingTable{
1028
+ border: 0px !important;
1029
+ width:100%;
1030
+ }
1031
+ #framework_wrap #content .sortingTableCell1, .sortingTableCell2{
1032
+ border: 0px !important;
1033
+ }
1034
+
1035
+ .redirectTableCell1{
1036
+ width:120px;
1037
+ }
1038
+ .sortingTableCell1{
1039
+ width: 50%;
1040
+ vertical-align:top;
1041
+ }
1042
+ #framework_wrap #content .sortingTableCell3{
1043
+ width:100%;
1044
+ border:none;
1045
+ }
1046
+
1047
+ #framework_wrap #content #customRedirect .redirectFirstInput{
1048
+ vertical-align:left;
1049
+ display:inline-block !important;
1050
+ margin-bottom:0 !important;
1051
+ width: 310px !important;
1052
+ *display:inline !important;
1053
+ zoom:1;
1054
+ }
1055
+ #framework_wrap #content #customRedirect .redirectSecondInput{
1056
+ vertical-align:left;
1057
+ display:inline-block !important;
1058
+ margin-bottom:0 !important;
1059
+ width: 310px;
1060
+ *display:inline !important;
1061
+ zoom:1;
1062
+ }
1063
+ #framework_wrap #content #customRedirect .redirectThirdInput{
1064
+ vertical-align:left;
1065
+ display:inline-block !important;
1066
+ margin-bottom:0 !important;
1067
+ width: 310px;
1068
+ *display:inline !important;
1069
+ zoom:1;
1070
+ }
1071
+ #framework_wrap #content #customRedirect .registerRedirectTarget{
1072
+ vertical-align:left;
1073
+ display:inline-block !important;
1074
+ margin-bottom:0 !important;
1075
+ width: 310px;
1076
+ *display:inline !important;
1077
+ zoom:1;
1078
+ }
1079
+ #framework_wrap #content #customRedirect .loginRedirectTarget{
1080
+ vertical-align:left;
1081
+ display:inline-block !important;
1082
+ margin-bottom:0 !important;
1083
+ width: 310px;
1084
+ *display:inline !important;
1085
+ zoom:1;
1086
+ }
1087
+
1088
+ #framework_wrap #content .reCaptchaSettingsPubK{
1089
+ vertical-align:left;
1090
+ display:inline-block !important;
1091
+ margin-bottom:0 !important;
1092
+ width: 310px;
1093
+ *display:inline !important;
1094
+ zoom:1;
1095
+ }
1096
+ #framework_wrap #content .reCaptchaSettingsPriK{
1097
+ vertical-align:left;
1098
+ display:inline-block !important;
1099
+ margin-bottom:0 !important;
1100
+ width: 310px;
1101
+ *display:inline !important;
1102
+ zoom:1;
1103
+ }
1104
+
1105
+ #framework_wrap #content #customRedirect .dashboardRedirectTarget{
1106
+ vertical-align:left;
1107
+ display:inline-block !important;
1108
+ margin-bottom:0 !important;
1109
+ width: 310px;
1110
+ *display:inline !important;
1111
+ zoom:1;
1112
+ }
1113
+
1114
+ #secondColumn, #thirdColumn{
1115
+ width:25%;
1116
+ }
1117
+ #internal_id{
1118
+ width:24% !important;
1119
+ text-align:center;
1120
+ }
1121
+ #layoutNotice{
1122
+ color:grey;
1123
+ }
1124
+ #layoutNoticeDiv{
1125
+ position: relative;
1126
+ bottom: -50px;
1127
+ }
1128
+ .options_tabs{
1129
+ margin:0;
1130
+ }
1131
+
1132
+ #show-hide-admin-bar table th, #default-fields table th{
1133
+ font-size: 10px !important;
1134
+ padding: 6px 10px;
1135
+ font-weight: bold !important;
1136
+ }
1137
+
1138
+ #show-hide-admin-bar table td, #default-fields table td{
1139
+ font-size: 11px !important;
1140
+ }
1141
+
1142
+ #framework_wrap #content #searchFields{
1143
+ height:90px;
1144
+ }
1145
+ #framework_wrap #content #sortFields{
1146
+ height:90px;
1147
+ }
1148
+ #framework_wrap #content #allUserlisting{
1149
+ height:500px;
1150
+ width:100%;
1151
+ font-size:10px;
1152
+ }
1153
+ #framework_wrap #content #singleUserlisting{
1154
+ height:500px;
1155
+ width:100%;
1156
+ font-size:10px;
1157
+ }
1158
+ #framework_wrap #content .fieldTable{
1159
+ border: 0px !important;
1160
+ width:100%;
1161
+ }
1162
+ #framework_wrap #content .sortingTable{
1163
+ border: 0px !important;
1164
+ width:100%;
1165
+ }
1166
+ #framework_wrap #content .fieldTableCell1{
1167
+ border: 0px !important;
1168
+ width:33%;
1169
+ }
1170
+ #framework_wrap #content .sortingTableCell1{
1171
+ border: 0px !important;
1172
+ width:33%;
1173
+ }
1174
+ #framework_wrap #content .fieldTableCell2{
1175
+ border: 0px !important;
1176
+ }
1177
+ #framework_wrap #content .sortingTableCell2{
1178
+ border: 0px !important;
1179
+ }
1180
+ #framework_wrap #content .fieldTableCell3{
1181
+ border: 0px !important;
1182
+ width:100%;
1183
+ }
1184
+ #framework_wrap #content .fieldTableCell4{
1185
+ border: 1px solid #E6DB55 !important;
1186
+ width:60%;
1187
+ background-color: #FFFBCC;
1188
+ border-bottom-left-radius: 3px;
1189
+ border-bottom-right-radius: 3px;
1190
+ border-top-left-radius: 3px;
1191
+ border-top-right-radius: 3px;
1192
+
1193
+ }
1194
+ #framework_wrap #content #insertSortField{
1195
+ width:100%;
1196
+ }
1197
+ #framework_wrap #content #sortingNumberSelect{
1198
+ width:80px;
1199
+ }
1200
+ #framework_wrap #content #singleSlug{
1201
+ width:100%;
1202
+ }
1203
+ #framework_wrap #content #sortingCriteriaSelect{
1204
+ width:100%;
1205
+ }
1206
+ #framework_wrap #content #sortingOrderSelect{
1207
+ width:120px;
1208
+ }
1209
+ #framework_wrap #content #insertUserMetaField{
1210
+ width:100%;
1211
+ }
1212
+ #framework_wrap #content #insertExtraFunction{
1213
+ width:100%;
1214
+ }
assets/images/arrow.png ADDED
Binary file
assets/images/logo_hobbyist.png ADDED
Binary file
front-end/wppb.edit.profile.php CHANGED
@@ -944,7 +944,7 @@ function wppb_front_end_profile_info() {
944
 
945
  <p class="form-submit">
946
  <input name="updateuser" type="submit" id="updateuser" class="submit button" value="<?php _e('Update', 'profilebuilder'); ?>" />
947
- <?php// wp_nonce_field( 'update-user' ) ?>
948
  <input name="action" type="hidden" id="action" value="update-user" />
949
  </p><!-- .form-submit -->
950
  <?php wp_nonce_field('verify_edit_user','edit_nonce_field'); ?>
944
 
945
  <p class="form-submit">
946
  <input name="updateuser" type="submit" id="updateuser" class="submit button" value="<?php _e('Update', 'profilebuilder'); ?>" />
947
+ <?php // wp_nonce_field( 'update-user' ) ?>
948
  <input name="action" type="hidden" id="action" value="update-user" />
949
  </p><!-- .form-submit -->
950
  <?php wp_nonce_field('verify_edit_user','edit_nonce_field'); ?>
front-end/wppb.login.php CHANGED
@@ -60,8 +60,7 @@ function wppb_front_end_login( $atts ){
60
  $customRedirectSettings = get_option('customRedirectSettings');
61
  if ((trim($customRedirectSettings['afterLoginTarget']) != '') && ($customRedirectSettings['afterLogin'] == 'yes')){
62
  $permaLnk2 = trim($customRedirectSettings['afterLoginTarget']);
63
- $findHttp = strpos( (string)$permaLnk2, 'http' );
64
- if ($findHttp === false)
65
  $permaLnk2 = 'http://'. $permaLnk2;
66
  }
67
  }
@@ -71,12 +70,9 @@ function wppb_front_end_login( $atts ){
71
 
72
  }elseif($_POST['button'] == 'widget'){
73
  $permaLnk2 = wppb_curpageurl();
74
- if ($redirect != ''){
75
  $permaLnk2 = trim($redirect);
76
- $findHttp = strpos( (string)$permaLnk2, 'http' );
77
- if ($findHttp === false)
78
- $permaLnk2 = 'http://'. $permaLnk2;
79
- }
80
 
81
  $loginFilterArray['widgetRedirectMessage'] = '<font id="messageTextColor">' . sprintf(__('You will soon be redirected automatically. If you see this page for more than 1 second, please click %1$s', 'profilebuilder'), '<a href="'.$permaLnk2.'">'. __('here', 'profilebuilder').'</a>.<meta http-equiv="Refresh" content="1;url='.$permaLnk2.'" />') . '</font><br/><br/>';
82
  echo $loginFilterArray['widgetRedirectMessage'] = apply_filters('wppb_login_widget_redirect_message', $loginFilterArray['widgetRedirectMessage'], $permaLnk2);
60
  $customRedirectSettings = get_option('customRedirectSettings');
61
  if ((trim($customRedirectSettings['afterLoginTarget']) != '') && ($customRedirectSettings['afterLogin'] == 'yes')){
62
  $permaLnk2 = trim($customRedirectSettings['afterLoginTarget']);
63
+ if (wppb_check_missing_http($permaLnk2))
 
64
  $permaLnk2 = 'http://'. $permaLnk2;
65
  }
66
  }
70
 
71
  }elseif($_POST['button'] == 'widget'){
72
  $permaLnk2 = wppb_curpageurl();
73
+ if ($redirect != '')
74
  $permaLnk2 = trim($redirect);
75
+
 
 
 
76
 
77
  $loginFilterArray['widgetRedirectMessage'] = '<font id="messageTextColor">' . sprintf(__('You will soon be redirected automatically. If you see this page for more than 1 second, please click %1$s', 'profilebuilder'), '<a href="'.$permaLnk2.'">'. __('here', 'profilebuilder').'</a>.<meta http-equiv="Refresh" content="1;url='.$permaLnk2.'" />') . '</font><br/><br/>';
78
  echo $loginFilterArray['widgetRedirectMessage'] = apply_filters('wppb_login_widget_redirect_message', $loginFilterArray['widgetRedirectMessage'], $permaLnk2);
front-end/wppb.register.php CHANGED
@@ -1172,8 +1172,7 @@ function wppb_front_end_register($atts){
1172
  $customRedirectSettings = get_option('customRedirectSettings');
1173
  if ((trim($customRedirectSettings['afterRegisterTarget']) != '') && ($customRedirectSettings['afterRegister'] == 'yes')){
1174
  $redirectLink = trim($customRedirectSettings['afterRegisterTarget']);
1175
- $findHttp = strpos( (string)$redirectLink, 'http' );
1176
- if ($findHttp === false)
1177
  $redirectLink = 'http://'. $redirectLink;
1178
  }
1179
  }
@@ -1203,8 +1202,7 @@ function wppb_front_end_register($atts){
1203
  $customRedirectSettings = get_option('customRedirectSettings');
1204
  if ((trim($customRedirectSettings['afterRegisterTarget']) != '') && ($customRedirectSettings['afterRegister'] == 'yes')){
1205
  $redirectLink = trim($customRedirectSettings['afterRegisterTarget']);
1206
- $findHttp = strpos( (string)$redirectLink, 'http' );
1207
- if ($findHttp === false)
1208
  $redirectLink = 'http://'. $redirectLink;
1209
  }
1210
  }
1172
  $customRedirectSettings = get_option('customRedirectSettings');
1173
  if ((trim($customRedirectSettings['afterRegisterTarget']) != '') && ($customRedirectSettings['afterRegister'] == 'yes')){
1174
  $redirectLink = trim($customRedirectSettings['afterRegisterTarget']);
1175
+ if (wppb_check_missing_http($redirectLink))
 
1176
  $redirectLink = 'http://'. $redirectLink;
1177
  }
1178
  }
1202
  $customRedirectSettings = get_option('customRedirectSettings');
1203
  if ((trim($customRedirectSettings['afterRegisterTarget']) != '') && ($customRedirectSettings['afterRegister'] == 'yes')){
1204
  $redirectLink = trim($customRedirectSettings['afterRegisterTarget']);
1205
+ if (wppb_check_missing_http($redirectLink))
 
1206
  $redirectLink = 'http://'. $redirectLink;
1207
  }
1208
  }
functions/functions.load.php CHANGED
@@ -43,7 +43,7 @@ else{
43
  //we add this filter to enable html encoding
44
  add_filter('wp_mail_content_type',create_function('', 'return "text/html"; '));
45
 
46
- return $sent = wp_mail( $to , $subject, $message);
47
  }
48
  }
49
  if (file_exists ( $wppb_premiumAddon.'userlisting.php' )){
@@ -101,36 +101,26 @@ function wppb_add_plugin_stylesheet() {
101
 
102
  function wppb_show_admin_bar($content){
103
  global $current_user;
104
- global $wpdb;
105
-
106
- $userRole = '';
107
  $adminSettingsPresent = get_option('wppb_display_admin_settings','not_found');
108
-
109
- if ($adminSettingsPresent != 'not_found'){
110
- foreach($adminSettingsPresent as $key => $value)
111
- $adminSettingsPresentToLower[strtolower($key)] = $value;
112
-
113
- if ($current_user->ID != 0){
114
-
115
- $userRole = apply_filters ( 'wppb_user_role_value', strtolower($current_user->roles[0]), $current_user->ID);
116
-
117
- if ($userRole != NULL){
118
- $getSettings = $adminSettingsPresentToLower[$userRole];
119
- if ($getSettings == 'show')
120
- return true;
121
-
122
- elseif ($getSettings == 'hide')
123
- return false;
124
-
125
- }else
126
- return true;
127
  }
128
-
129
- }else
130
- return true;
131
-
132
  }
133
 
 
134
  if(!function_exists('wppb_curpageurl')){
135
  function wppb_curpageurl() {
136
  $pageURL = 'http';
@@ -193,7 +183,7 @@ add_action( 'update_option_wppb_general_settings', 'wppb_signup_schema', 10, 2 )
193
 
194
 
195
  if ( is_admin() ){
196
- /* include the css for the datepicker */
197
  $wppb_premiumDatepicker = WPPB_PLUGIN_DIR . '/premium/assets/css/';
198
  if (file_exists ( $wppb_premiumDatepicker.'datepicker.style.css' )){
199
  add_action('admin_enqueue_scripts', 'wppb_add_datepicker_style');
@@ -204,11 +194,11 @@ if ( is_admin() ){
204
 
205
 
206
 
207
- /* register the settings for the menu only display sidebar menu for a user with a certain capability, in this case only the "admin" */
208
  add_action('admin_init', 'wppb_register_settings');
209
 
210
 
211
- /* display the same extra profile fields in the admin panel also */
212
  $wppb_premium = WPPB_PLUGIN_DIR . '/premium/functions/';
213
  if (file_exists ( $wppb_premium.'extra.fields.php' )){
214
  include_once( $wppb_premium.'extra.fields.php' );
@@ -219,31 +209,31 @@ if ( is_admin() ){
219
  }
220
 
221
  }else if ( !is_admin() ){
222
- /* include the stylesheet */
223
  add_action('wp_print_styles', 'wppb_add_plugin_stylesheet');
224
 
225
  $wppb_plugin = WPPB_PLUGIN_DIR . '/';
226
 
227
- /* include the menu file for the profile informations */
228
  include_once($wppb_plugin.'front-end/wppb.edit.profile.php');
229
  add_shortcode('wppb-edit-profile', 'wppb_front_end_profile_info');
230
 
231
- /*include the menu file for the login screen */
232
  include_once($wppb_plugin.'front-end/wppb.login.php');
233
  add_shortcode('wppb-login', 'wppb_front_end_login');
234
 
235
- /* include the menu file for the register screen */
236
  include_once($wppb_plugin.'front-end/wppb.register.php');
237
  add_shortcode('wppb-register', 'wppb_front_end_register_handler');
238
 
239
- /* include the menu file for the recover password screen */
240
  include_once($wppb_plugin.'front-end/wppb.recover.password.php');
241
  add_shortcode('wppb-recover-password', 'wppb_front_end_password_recovery');
242
 
243
- /* set the front-end admin bar to show/hide */
244
  add_filter( 'show_admin_bar' , 'wppb_show_admin_bar');
245
 
246
- /* Shortcodes used for the widget area. */
247
  add_filter('widget_text', 'do_shortcode', 11);
248
  }
249
 
43
  //we add this filter to enable html encoding
44
  add_filter('wp_mail_content_type',create_function('', 'return "text/html"; '));
45
 
46
+ return $sent = wp_mail( $to , $subject, wpautop($message, true));
47
  }
48
  }
49
  if (file_exists ( $wppb_premiumAddon.'userlisting.php' )){
101
 
102
  function wppb_show_admin_bar($content){
103
  global $current_user;
104
+
 
 
105
  $adminSettingsPresent = get_option('wppb_display_admin_settings','not_found');
106
+ $show = null;
107
+
108
+ if ($adminSettingsPresent != 'not_found' && $current_user->ID)
109
+ foreach ($current_user->roles as $role_key) {
110
+ if (empty($GLOBALS['wp_roles']->roles[$role_key]))
111
+ continue;
112
+ $role = $GLOBALS['wp_roles']->roles[$role_key];
113
+ if (isset($adminSettingsPresent[$role['name']])) {
114
+ if ($adminSettingsPresent[$role['name']] == 'show')
115
+ $show = true;
116
+ if ($adminSettingsPresent[$role['name']] == 'hide' && $show === null)
117
+ $show = false;
118
+ }
 
 
 
 
 
 
119
  }
120
+ return $show === null ? $content : $show;
 
 
 
121
  }
122
 
123
+
124
  if(!function_exists('wppb_curpageurl')){
125
  function wppb_curpageurl() {
126
  $pageURL = 'http';
183
 
184
 
185
  if ( is_admin() ){
186
+ // include the css for the datepicker
187
  $wppb_premiumDatepicker = WPPB_PLUGIN_DIR . '/premium/assets/css/';
188
  if (file_exists ( $wppb_premiumDatepicker.'datepicker.style.css' )){
189
  add_action('admin_enqueue_scripts', 'wppb_add_datepicker_style');
194
 
195
 
196
 
197
+ // register the settings for the menu only display sidebar menu for a user with a certain capability, in this case only the "admin"
198
  add_action('admin_init', 'wppb_register_settings');
199
 
200
 
201
+ // display the same extra profile fields in the admin panel also
202
  $wppb_premium = WPPB_PLUGIN_DIR . '/premium/functions/';
203
  if (file_exists ( $wppb_premium.'extra.fields.php' )){
204
  include_once( $wppb_premium.'extra.fields.php' );
209
  }
210
 
211
  }else if ( !is_admin() ){
212
+ // include the stylesheet
213
  add_action('wp_print_styles', 'wppb_add_plugin_stylesheet');
214
 
215
  $wppb_plugin = WPPB_PLUGIN_DIR . '/';
216
 
217
+ // include the menu file for the profile informations
218
  include_once($wppb_plugin.'front-end/wppb.edit.profile.php');
219
  add_shortcode('wppb-edit-profile', 'wppb_front_end_profile_info');
220
 
221
+ // include the menu file for the login screen
222
  include_once($wppb_plugin.'front-end/wppb.login.php');
223
  add_shortcode('wppb-login', 'wppb_front_end_login');
224
 
225
+ // include the menu file for the register screen
226
  include_once($wppb_plugin.'front-end/wppb.register.php');
227
  add_shortcode('wppb-register', 'wppb_front_end_register_handler');
228
 
229
+ // include the menu file for the recover password screen
230
  include_once($wppb_plugin.'front-end/wppb.recover.password.php');
231
  add_shortcode('wppb-recover-password', 'wppb_front_end_password_recovery');
232
 
233
+ // set the front-end admin bar to show/hide
234
  add_filter( 'show_admin_bar' , 'wppb_show_admin_bar');
235
 
236
+ // Shortcodes used for the widget area
237
  add_filter('widget_text', 'do_shortcode', 11);
238
  }
239
 
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Profile Builder
4
  Plugin URI: http://www.cozmoslabs.com/2011/04/12/wordpress-profile-builder-a-front-end-user-registration-login-and-edit-profile-plugin/
5
  Description: Login, registration and edit profile shortcodes for the front-end. Also you can chose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
6
- Version: 1.1.45
7
  Author: Reflection Media, Barina Gabriel
8
  Author URI: http://www.reflectionmedia.ro
9
  License: GPL2
@@ -54,7 +54,7 @@ function wppb_return_bytes($val) {
54
  }
55
 
56
 
57
- define( 'PROFILE_BUILDER_VERSION', '1.1.45' );
58
  define( 'WPPB_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname( plugin_basename( __FILE__ ) ) );
59
 
60
  if (file_exists ( WPPB_PLUGIN_DIR . '/premium/addons/addon.php' ))
3
  Plugin Name: Profile Builder
4
  Plugin URI: http://www.cozmoslabs.com/2011/04/12/wordpress-profile-builder-a-front-end-user-registration-login-and-edit-profile-plugin/
5
  Description: Login, registration and edit profile shortcodes for the front-end. Also you can chose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
6
+ Version: 1.1.46
7
  Author: Reflection Media, Barina Gabriel
8
  Author URI: http://www.reflectionmedia.ro
9
  License: GPL2
54
  }
55
 
56
 
57
+ define( 'PROFILE_BUILDER_VERSION', '1.1.46' );
58
  define( 'WPPB_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname( plugin_basename( __FILE__ ) ) );
59
 
60
  if (file_exists ( WPPB_PLUGIN_DIR . '/premium/addons/addon.php' ))
readme.txt CHANGED
@@ -7,7 +7,7 @@ custom registration, custom registration form, custom registration page, extra u
7
  front-end register, front-end registration, frontend edit profile, edit profile
8
  Requires at least: 3.1
9
  Tested up to: 3.5
10
- Stable tag: 1.1.45
11
 
12
  Simple to use profile plugin allowing front-end login, registration and edit profile by using shortcodes.
13
 
@@ -86,13 +86,16 @@ This plugin only adds/removes fields in the front-end. The default information-f
86
 
87
 
88
  == Screenshots ==
89
- 1. General Settings: screenshot1.jpg
90
- 2. Show/Hide Admin Bar: screenshot3.jpg
91
- 3. Select Default User Fields: screenshot4
92
- 4. Register Page: screenshot6.jpg
93
- 5. Logged in Page: screenshot7.jpg
94
 
95
  == Changelog ==
 
 
 
96
  = 1.1.45 =
97
  Fixed a few warnings on the register page.
98
 
7
  front-end register, front-end registration, frontend edit profile, edit profile
8
  Requires at least: 3.1
9
  Tested up to: 3.5
10
+ Stable tag: 1.1.46
11
 
12
  Simple to use profile plugin allowing front-end login, registration and edit profile by using shortcodes.
13
 
86
 
87
 
88
  == Screenshots ==
89
+ 1. General Settings
90
+ 2. Show/Hide Admin Bar
91
+ 3. Select Default User Fields
92
+ 4. Logged in Page
93
+ 5. Register Page
94
 
95
  == Changelog ==
96
+ = 1.1.46 =
97
+ Improved a few existing functions.
98
+
99
  = 1.1.45 =
100
  Fixed a few warnings on the register page.
101
 
screenshots/screenshot-1.png → screenshot-1.png RENAMED
File without changes
screenshots/screenshot-2.png → screenshot-2.png RENAMED
File without changes
screenshots/screenshot-3.png → screenshot-3.png RENAMED
File without changes
screenshots/screenshot-4.jpg → screenshot-4.jpg RENAMED
File without changes
screenshots/screenshot-5.jpg → screenshot-5.jpg RENAMED
File without changes