Comments – wpDiscuz - Version 3.2.1

Version Description

  • Fixed Bug: Notice Error Message - wp_register_script was called incorrectly.
  • Fixed Bug: Comment author Display Name issue
  • Fixed Bug: Anonymous commenter details
  • Fixed Bug: RTL issues
  • Fixed Bug: Form CSS issue
  • Added: New Addon/Feature notifier.

IMPORTANT:

  • If you have JetPack installed please deactivate Jetpack comments, it affects wpDiscuz
  • If you have a Cache Plugin and CDN, please delete all caches and purge CDN after wpDiscuz update.
Download this release

Release Info

Developer AdvancedCoding
Plugin Icon 128x128 Comments – wpDiscuz
Version 3.2.1
Comparing to
See all releases

Code changes from version 3.2.0 to 3.2.1

assets/addons/{censore → censure}/header-off.png RENAMED
File without changes
assets/addons/{censore → censure}/header.png RENAMED
File without changes
assets/css/wpdiscuz-rtl.min.css CHANGED
@@ -54,3 +54,5 @@
54
  #wpcomm .wc-comment .wc-comment-left .avatar{ float:right!important; }
55
  #wpcomm .wc-comment .wc-comment-left .wc-comment-label{ margin-right:33px; }
56
  }
 
 
54
  #wpcomm .wc-comment .wc-comment-left .avatar{ float:right!important; }
55
  #wpcomm .wc-comment .wc-comment-left .wc-comment-label{ margin-right:33px; }
56
  }
57
+ .wpdiscuz_clear_right{ clear:left; }
58
+ .wpdiscuz_clear_left{ clear:right; }
assets/css/wpdiscuz.min.css CHANGED
@@ -1,1112 +1,205 @@
1
- #wpcomm * {
2
- box-sizing: border-box;
3
- }
4
- #wpcomm span {
5
- display: inline;
6
- }
7
- #wpcomm .clearfix{
8
- clear:both;
9
- }
10
- #wpcomm {
11
- padding: 1px 0 10px 0;
12
- border-top: #ddd solid 1px;
13
- max-width:950px;
14
- margin:15px auto;
15
- }
16
- #wc-comment-header {
17
- padding: 20px 5px 1px 5px;
18
- display: block;
19
- float: none;
20
- clear: both;
21
- font-size: 18px;
22
- max-width:950px;
23
- margin:0px auto;
24
- }
25
- #wpcomm form .wpdiscuz-item {
26
- display: block;
27
- height: auto;
28
- }
29
- .wpdiscuz-item input {
30
- border-radius: 0;
31
- height: auto;
32
- width: auto
33
- }
34
- #wpcomm form {
35
- margin: 0!important;
36
- padding: 0!important;
37
- background: none;
38
- border: 0;
39
- width: auto!important
40
- }
41
- #wpcomm form div {
42
- margin: 0
43
- }
44
- #wc_show_hide_loggedin_username {
45
- padding: 10px 5px 5px 5px;
46
- font-size: 13px
47
- }
48
- #wpcomm .wc_new_comment_and_replies {
49
- margin: 0;
50
- padding: 0;
51
- width: 100%;
52
- height: auto;
53
- background: transparent
54
- }
55
- #wpcomm .wc_new_comment_and_replies .wc_new_comment {
56
- float: right;
57
- display: none;
58
- padding: 3px 10px;
59
- font-size: 12px;
60
- margin: 1px 0 1px 3px;
61
- cursor: pointer;
62
- color: #fff;
63
- line-height: 15px
64
- }
65
- #wpcomm .wc_new_comment_and_replies .wc_new_reply {
66
- float: right;
67
- display: none;
68
- padding: 3px 10px;
69
- font-size: 12px;
70
- margin: 1px 0 1px 1px;
71
- cursor: pointer;
72
- color: #fff;
73
- line-height: 15px
74
- }
75
- #wpcomm .wc-comment-bar {
76
- width: 100%;
77
- padding: 0;
78
- display: block
79
- }
80
- #wpcomm .wc-comment-title {
81
- margin: 0;
82
- line-height: 18px;
83
- font-weight: bold;
84
- padding: 10px;
85
- margin-bottom: 10px;
86
- font-size: 13px;
87
- text-align: right;
88
- border-bottom: #ccc dotted 1px;
89
- padding-bottom: 10px
90
- }
91
- #wpcomm .wc-form-wrapper {
92
- padding: 10px;
93
- margin-top: 0px;
94
- border: 1px solid #f1f1f1;
95
- clear: both;
96
- }
97
- #wpcomm .wc-field-comment {
98
- margin: 5px auto 1px auto
99
- }
100
- #wpcomm .wc-field-comment .wc-field-avatararea {
101
- width: 60px;
102
- float: left
103
- }
104
- #wpcomm .wc-field-comment .wc-field-textarea {
105
- margin-left: 65px
106
- }
107
- #wpcomm .wc-field-name input[type="text"] {
108
- width: 100%;
109
- max-width: 100%;
110
- padding: 3px 5px;
111
- font-size: 14px;
112
- margin: 0;
113
- height: 29px
114
- }
115
- #wpcomm .wc-field-website input[type="url"], #wpcomm .wc-field-website input[type="text"] {
116
- width: 100%;
117
- max-width: 100%;
118
- padding: 3px 5px;
119
- font-size: 14px;
120
- margin: 0;
121
- height: 29px
122
- }
123
- #wpcomm .wc-field-email input[type="email"] {
124
- width: 100%;
125
- max-width: 100%;
126
- padding: 3px 5px;
127
- font-size: 14px;
128
- margin: 0;
129
- height: 29px
130
- }
131
-
132
- #wpcomm .wc-field-submit input[type="button"] {
133
- margin: 1px;
134
- border: #ddd 1px solid;
135
- font-size: 13px;
136
- line-height: 16px;
137
- padding: 6px 15px;
138
- clear: both;
139
- float: none
140
- }
141
- #wpcomm .captcha_msg {
142
- color: #999;
143
- font-family: Lato, sans-serif;
144
- font-size: 13px;
145
- line-height: 18px;
146
- display: block;
147
- clear: both;
148
- padding: 5px 0 0 0
149
- }
150
- #wpcomm .wc-field-comment textarea, #wpcomm .wc-comment .wc-comment-right textarea {
151
- width: 100%;
152
- max-width: 100%;
153
- height: 48px;
154
- min-height: 48px!important;
155
- padding: 5px;
156
- box-sizing: border-box;
157
- border-radius: 0
158
- }
159
-
160
- #wpcomm .wc_manage_subscribtions {
161
- cursor: pointer;
162
- padding: 0 0 5px 0;
163
- display: block;
164
- font-size: 13px;
165
- line-height: 16px;
166
- font-family: Lato, sans-serif
167
- }
168
- #wpcomm .wc_notification_checkboxes {
169
- padding: 1px 0 7px 0;
170
- text-align: right;
171
- display: none;
172
- line-height: 18px;
173
- font-size: 13px
174
- }
175
- #wpcomm .wc_notification_checkboxes input[type="checkbox"], #wpcomm .wc_notification_checkboxes input[type="radio"] {
176
- overflow: none;
177
- width: inherit;
178
- font-size: 13px;
179
- padding: 0;
180
- display: inline;
181
- clear: both;
182
- float: none;
183
- max-height: 20px;
184
- margin: 0 3px
185
- }
186
- #wpcomm .wc_notification_checkboxes label {
187
- clear: both;
188
- float: none;
189
- font-weight: normal
190
- }
191
- #wpcomm .wc-label-comment-notify {
192
- display: inline;
193
- font-size: 13px;
194
- padding: 0;
195
- margin: 0;
196
- border: 0;
197
- line-height: 15px;
198
- text-decoration: none;
199
- color: #999;
200
- font-family: Lato, sans-serif;
201
- cursor: pointer
202
- }
203
- #wpcomm .wc-label-reply-notify, #wpcomm .wc-notification-none {
204
- display: inline;
205
- font-size: 13px;
206
- padding: 0;
207
- margin: 0;
208
- border: 0;
209
- line-height: 15px;
210
- text-decoration: none;
211
- color: #999;
212
- font-family: Lato, sans-serif;
213
- cursor: pointer
214
- }
215
- #wpcomm .wc-label-all-reply-notify {
216
- display: inline;
217
- font-size: 13px;
218
- padding: 0;
219
- margin: 0;
220
- border: 0;
221
- line-height: 15px;
222
- text-decoration: none;
223
- color: #999;
224
- font-family: Lato, sans-serif;
225
- cursor: pointer
226
- }
227
- #wpcomm input[type="text"], #wpcomm input[type="email"], #wpcomm input[type="url"], #wpcomm textarea {
228
- font-size: 14px;
229
- color: #777;
230
- font-family: Lato, sans-serif;
231
- box-sizing: border-box;
232
- margin: 0;
233
- clear: both;
234
- float: none;
235
- display: inline
236
- }
237
- #wpcomm .wc-copyright {
238
- margin: 0 0 0 auto;
239
- text-align: right;
240
- display: block;
241
- padding-top: 2px
242
- }
243
- #wpcomm .wc-copyright a {
244
- font-size: 9px;
245
- color: #aaa;
246
- cursor: help;
247
- text-decoration: none;
248
- margin: 0;
249
- padding: 0;
250
- border: 0
251
- }
252
- #wpcomm .wc-thread-wrapper {
253
- padding: 10px 0;
254
- margin-bottom: 10px
255
- }
256
- #wpcomm .wc-comment {
257
- margin-bottom: 13px
258
- }
259
- #wpcomm .wc-comment .wc-form-wrapper {
260
- padding: 10px 10px 7px 10px
261
- }
262
- #wpcomm .wc-comment .wc-comment-left {
263
- width: 62px;
264
- float: left;
265
- text-align: center;
266
- font-family: Lato, sans-serif;
267
- line-height: 16px
268
- }
269
- #wpcomm .wc-comment .wc-comment-right {
270
- margin-left: 70px;
271
- border: #f5f5f5 1px solid;
272
- padding: 10px 10px 3px 10px;
273
- display: block;
274
- }
275
- #wpcomm .wc-reply .wc-comment-right {
276
- margin-left: 70px;
277
- border: #f5f5f5 1px solid;
278
- padding: 10px 10px 3px 10px
279
- }
280
- #wpcomm .wc-reply {
281
- margin-top: 10px;
282
- margin-bottom: 0;
283
- margin-left: 40px
284
- }
285
- #wpcomm .wc-must-login {
286
- margin: 0;
287
- font-size: 14px;
288
- line-height: 16px;
289
- padding: 10px;
290
- text-align: center
291
- }
292
- #wpcomm hr {
293
- background-color: rgba(0,0,0,0.1);
294
- border: 0 none;
295
- height: 1px;
296
- margin: 10px auto;
297
- }
298
- #wpcomm .avatar {
299
- border: 1px solid rgba(0,0,0,0.1);
300
- padding: 2px;
301
- margin: 0 auto;
302
- float: none;
303
- display: inline;
304
- width: 48px;
305
- height: auto
306
- }
307
- #wpcomm .wc-form-wrapper .avatar {
308
- margin-top: 3px
309
- }
310
- #wpcomm .wc-comment-text {
311
- text-align: left;
312
- padding-bottom: 5px;
313
- line-height: 20px;
314
- white-space: -moz-pre-wrap;
315
- white-space: -pre-wrap;
316
- white-space: -o-pre-wrap;
317
- word-wrap: break-word
318
- }
319
- #wpcomm .wc-comment-text img {
320
- max-width: 90%;
321
- height: auto
322
- }
323
- #wpcomm .wc-comment-header {
324
- margin-bottom: 7px;
325
- font-family: Lato, sans-serif
326
- }
327
- #wpcomm .wc-comment-author {
328
- font-size: 16px;
329
- width: 40%;
330
- float: left;
331
- white-space: normal;
332
- text-align: left;
333
- }
334
- #wpcomm .wc-comment-author a {
335
- font-size: 16px;
336
- white-space: normal;
337
- text-decoration: none;
338
- line-height: 25px;
339
- }
340
- #wpcomm .wc-comment-label {
341
- color: #fff;
342
- padding: 2px 5px;
343
- font-size: 12px;
344
- margin: 4px auto;
345
- text-align: center;
346
- display: table;
347
- line-height: 16px
348
- }
349
- #wpcomm .wc-comment-date {
350
- font-size: 12px;
351
- color: #999;
352
- float: right;
353
- text-align: right;
354
- white-space: nowrap;
355
- line-height: 23px
356
- }
357
- #wpcomm .wc-comment-footer {
358
- font-size: 12px;
359
- font-weight: normal;
360
- color: #999;
361
- margin-top: 12px;
362
- min-height: 28px;
363
- font-family: Lato, sans-serif;
364
- text-align: left;
365
- }
366
- #wpcomm .wc-comment-footer a, #wpcomm .wc-comment-footer span.wc_editable_comment, #wpcomm .wc-comment-footer span.wc_save_edited_comment, #wpcomm span.wc_cancel_edit {
367
- text-decoration: none;
368
- font-size: 13px;
369
- font-weight: bold;
370
- cursor: pointer
371
- }
372
- #wpcomm .wc-comment-footer .share_buttons_box img {
373
- vertical-align: middle
374
- }
375
- #wpcomm .wc-comment-footer .wc-voted {
376
- color: #666;
377
- cursor: default
378
- }
379
- #wpcomm .wc-comment-footer .wc-vote-img-up {
380
- padding: 0;
381
- margin: 0 0 -2px 0;
382
- vertical-align: baseline;
383
- display: inline;
384
- float: none;
385
- clear: both;
386
- border: 0;
387
- background: transparent;
388
- width: 16px;
389
- height: 16px;
390
- border-radius: 0;
391
- box-shadow: none;
392
- box-sizing: border-box
393
- }
394
- #wpcomm .wc-comment-footer .wc-vote-img-down {
395
- padding: 0;
396
- margin: 0 0 -6px 0;
397
- vertical-align: baseline;
398
- display: inline;
399
- float: none;
400
- clear: both;
401
- border: 0;
402
- background: transparent;
403
- width: 16px;
404
- height: 16px;
405
- border-radius: 0;
406
- box-shadow: none;
407
- box-sizing: border-box
408
- }
409
- #wpcomm .wc-comment-footer .wc-vote-result {
410
- padding: 2px 6px 2px 5px;
411
- color: #fff;
412
- font-size: 12px;
413
- font-weight: bold;
414
- display: inline;
415
- margin-right: 5px
416
- }
417
- #wpcomm .wc-toggle {
418
- float: right;
419
- text-align: right;
420
- padding-right: 0;
421
- margin-right: 0;
422
- color: #999;
423
- cursor: pointer;
424
- font-size: 12px;
425
- white-space: nowrap;
426
- line-height: 24px;
427
- }
428
- #wpcomm .wpdiscuz-item {
429
- background: 0;
430
- border-radius: 0;
431
- box-shadow: none
432
- }
433
- #wc_response_info img {
434
- margin: 0 auto 0 auto;
435
- box-shadow: none
436
- }
437
- #wpcomm .share_buttons_box img {
438
- display: inline!important;
439
- width: 16px;
440
- height: 16px
441
- }
442
- #wpcomm .wc-reply-link, #wpcomm .wc-vote-link, #wpcomm .wc-share-link {
443
- cursor: pointer;
444
- font-size: 13px;
445
- font-weight: bold
446
- }
447
- #wpcomm .share_buttons_box {
448
- display: none
449
- }
450
- #wpcomm .wc-comment.wc-no-left-margin {
451
- margin-left: 0!important
452
- }
453
- .wc-load-more-submit-wrap {
454
- width: 100%;
455
- text-align: center;
456
- margin-bottom: 20px;
457
- margin-top: 25px
458
- }
459
- .wc-load-more-submit {
460
- width: auto!important;
461
- padding: 10px 20px;
462
- text-align: center;
463
- background-color: #fafafa;
464
- border-radius: 3px;
465
- color: #555;
466
- cursor: pointer
467
- }
468
- .wc-load-more-submit:hover {
469
- background-image: -moz-linear-gradient(center top, #f4f4f4, #e6e6e6);
470
- background-repeat: repeat-x;
471
- box-shadow: 0 1px 2px rgba(64,64,64,0.1);
472
- color: #7c7c7c
473
- }
474
- #wpcomm #bywpdiscuz {
475
- display: none
476
- }
477
- #wpcomm .by-wpdiscuz {
478
- text-align: right;
479
- border-top: #ddd solid 1px;
480
- padding: 1px 1px 1px 1px
481
- }
482
- #wpcomm .by-wpdiscuz a {
483
- font-size: 11px;
484
- font-weight: bold;
485
- text-align: right;
486
- color: #ccc;
487
- padding: 1px;
488
- margin: 0;
489
- line-height: 12px;
490
- border: 0;
491
- text-decoration: none
492
- }
493
- #wpcomm .wpdimg {
494
- border: 0;
495
- padding: 0;
496
- margin: 0;
497
- height: 12px;
498
- cursor: pointer;
499
- display: inline;
500
- clear: both
501
- }
502
- #wc_unsubscribe_message {
503
- margin: 10px auto 1px auto;
504
- padding: 10px;
505
- text-align: center;
506
- border: #0d0 1px dotted;
507
- background: #cfc
508
- }
509
- .wc_unsubscribe_message {
510
- font-size: 14px;
511
- color: #444
512
- }
513
- #wpcomm .wc_comment_level-3 {
514
- margin-left: 40px!important
515
- }
516
- #wpcomm .wc_comment_level-4 {
517
- margin-left: 40px!important
518
- }
519
- #wpcomm .wc_comment_level-5 {
520
- margin-left: 40px!important
521
- }
522
- #wpcomm .wc_editable_div {
523
- -moz-appearance: textfield-multiline;
524
- -webkit-appearance: textarea;
525
- border: 1px solid #ccc;
526
- border-radius: 0;
527
- font: medium -moz-fixed;
528
- font: -webkit-small-control;
529
- overflow: auto;
530
- resize: both;
531
- box-sizing: border-box;
532
- height: 46px;
533
- max-width: 100%;
534
- min-height: 46px!important;
535
- padding: 5px;
536
- width: 100%
537
- }
538
- #wpcomm .wc_cancel_edit {
539
- display: none
540
- }
541
- #wpcomm .wc-comment-text p {
542
- margin-bottom: 10px
543
- }
544
- #wpcomm .wc-comment-right textarea.wc_edit_comment {
545
- height: 80px;
546
- }
547
- #wpcomm .wc_social_plugin_wrapper {
548
- width: auto;
549
- }
550
- #wpcomm .wc_comm_form .wc_secondary_form {
551
- clear: both
552
- }
553
- #wpcomm .wc_comm_form .wc-field-comment {
554
- clear: both
555
- }
556
- #wpcomm .wp-social-login-widget {
557
- margin-bottom: 15px;
558
- }
559
- #wpcomm .wc_social_plugin_wrapper .wp-social-login-connect-with {
560
- float: left;
561
- font-size: 13px;
562
- padding: 2px 7px 0 0;
563
- text-transform: uppercase
564
- }
565
- #wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list {
566
- padding: 1px;
567
- text-align: left;
568
- margin-bottom: -10px
569
- }
570
- #wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list {
571
- padding: 1px;
572
- text-align: right
573
- }
574
- #wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list img {
575
- width: 20px;
576
- height: 20px;
577
- float: none;
578
- display: inline;
579
- border: 0
580
- }
581
- #wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list img {
582
- width: 24px;
583
- height: 24px;
584
- float: none;
585
- display: inline;
586
- border: 0
587
- }
588
- #wpcomm .wc_social_plugin_wrapper .social_connect_ui {
589
- padding: 0;
590
- clear: both;
591
- margin: 0;
592
- margin-top: -20px;
593
- margin-bottom: -10px
594
- }
595
- #wpcomm .wc_social_plugin_wrapper .comment-form-social-connect {
596
- display: inherit;
597
- padding: 0;
598
- margin: 0;
599
- float: left;
600
- line-height: 35px;
601
- padding-right: 10px
602
- }
603
- #wpcomm .wc_social_plugin_wrapper .social_connect_form img {
604
- width: 24px;
605
- height: 24px;
606
- float: none;
607
- display: inline;
608
- border: 0
609
- }
610
- #wpcomm .wc_social_plugin_wrapper .social_connect_form {
611
- float: left;
612
- line-height: 35px;
613
- text-align: left;
614
- vertical-align: middle
615
- }
616
- #wpcomm .wc_social_plugin_wrapper .comment-form-social-connect label {
617
- display: inherit;
618
- padding: 0;
619
- margin: 0;
620
- font-style: normal;
621
- font-weight: normal;
622
- border: 0;
623
- font-size: 13px;
624
- text-transform: uppercase
625
- }
626
- #social_connect_facebook_auth, #social_connect_twitter_auth, #social_connect_google_auth, #social_connect_google_plus_auth, #social_connect_yahoo_auth, #social_connect_wordpress_auth {
627
- clear: both;
628
- padding: 0;
629
- margin: 0
630
- }
631
- #wpcomm .wc-secondary-forms-social-content .social_connect_ui {
632
- padding: 0;
633
- clear: both;
634
- margin: 0;
635
- text-align: right
636
- }
637
- #wpcomm .wc-secondary-forms-social-content .comment-form-social-connect {
638
- display: inherit;
639
- padding: 0;
640
- margin: 0;
641
- float: left;
642
- line-height: 35px;
643
- padding-right: 10px
644
- }
645
- #wpcomm .wc-secondary-forms-social-content .social_connect_form img {
646
- width: 24px;
647
- height: 24px;
648
- float: none;
649
- display: inline;
650
- border: 0
651
- }
652
- #wpcomm .wc-secondary-forms-social-content .social_connect_form {
653
- float: left;
654
- width: 100%;
655
- text-align: right;
656
- padding: 0 0 5px 0;
657
- line-height: 20px;
658
- vertical-align: middle
659
- }
660
- #wpcomm .wc-secondary-forms-social-content .comment-form-social-connect label {
661
- display: inherit;
662
- padding: 0;
663
- margin: 0;
664
- font-style: normal;
665
- font-weight: normal;
666
- border: 0;
667
- font-size: 13px;
668
- text-transform: uppercase
669
- }
670
- #wpcomm input[type="text"], #wpcomm input[type="email"], #wpcomm input[type="password"], #wpcomm input[type="url"] {
671
- line-height: inherit!important;
672
- }
673
- #wpcomm .wc-comment-text ol li, #wpcomm .wc-comment-text ul li {
674
- margin-left: 20px;
675
- }
676
- #wpcomm .wc-comment-text blockquote {
677
- font-size: inherit;
678
- line-height: inherit;
679
- margin-bottom: 1em;
680
- margin-left: 1em;
681
- padding-left: 1em;
682
- }
683
- .wpdiscuz-nofollow, .wpdiscuz-nofollow:hover {
684
- text-decoration: none!important;
685
- }
686
- #wpcomm .wc-field-comment textarea, #wpcomm .wc-comment .wc-comment-right textarea {
687
- display: inline;
688
- }
689
- #wpcomm .input-text, #wpcomm input[type="text"], #wpcomm input[type="input"], #wpcomm input[type="password"], #wpcomm input[type="email"], #wpcomm input[type="number"], #wpcomm input[type="url"], #wpcomm input[type="tel"], #wpcomm input[type="search"], #wpcomm textarea, #wpcomm select {
690
- margin: 0px;
691
- }
692
- .wc_msg_required_fields, .wc_invalid_field, .wc_invalid_captcha, .wc_error_url_text, .wc_error_email_text, .wpdiscuz-sendmail-error, .wc_msg_comment_text_min_length, .wc_msg_comment_text_max_length, .wc_login_to_vote, .wc_deny_voting_from_same_ip, .wc_self_vote, .wc_vote_only_one_time, .wc_voting_error, .wc_comment_edit_not_possible, .wc_comment_not_updated, .wc_comment_not_edited {
693
- background-color: #FCE8E8 !important;
694
- font-size: 14px;
695
- text-align: center;
696
- color: #CE4A66;
697
- border: #F2D3D2 1px solid;
698
- padding: 5px 10px;
699
- width: 100%;
700
- box-sizing: border-box;
701
- margin: 5px 0px;
702
- border-radius: 3px;
703
- }
704
- .wc_held_for_moderate {
705
- background-color: #FCE6BF;
706
- font-size: 14px;
707
- text-align: center;
708
- color: #D3760C;
709
- border: #F9C975 1px solid;
710
- padding: 5px 10px;
711
- width: 100%;
712
- box-sizing: border-box;
713
- margin: 5px 0px;
714
- border-radius: 3px;
715
- }
716
- .wpdiscuz-loading-bar {
717
- position: fixed;
718
- text-align: center;
719
- right: 0;
720
- width: 50px;
721
- border: none;
722
- background: transparent;
723
- z-index: 999999;
724
- display: none;
725
- }
726
- .wpdiscuz-loading-bar-auth {
727
- top: 32px;
728
- }
729
- .wpdiscuz-loading-bar-unauth {
730
- top: 0px;
731
- }
732
- .wpdiscuz-loading-bar .wpdiscuz-loading-bar-img {
733
- max-width: 32px!important;
734
- height: auto;
735
- }
736
- .wpdiscuz-vote-sorting-desc, .wpdiscuz-vote-sorting-asc {
737
- text-align: center;
738
- border: none;
739
- z-index: 999999;
740
- cursor: pointer;
741
- display: inline-block;
742
- }
743
- .wpdiscuz-front-actions {
744
- width: 100%;
745
- box-sizing: border-box;
746
- padding: 5px 10px;
747
- margin-bottom: 10px;
748
- border-right: 1px solid #f1f1f1;
749
- border-left: 1px solid #f1f1f1;
750
- text-align: right;
751
- }
752
- .wpdiscuz-subscribe-bar {
753
- width: 100%;
754
- box-sizing: border-box;
755
- padding: 10px;
756
- margin-bottom: 10px;
757
- border-right: 1px solid #f1f1f1;
758
- border-left: 1px solid #f1f1f1;
759
- }
760
- .wpdiscuz_select {
761
- background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC") no-repeat scroll right center!important;
762
- border-radius: 0;
763
- border: 1px solid lightgray!important;
764
- box-shadow: none!important;
765
- height: 28px!important;
766
- padding: 3px 22px 3px 3px!important;
767
- font-size: 13px!important;
768
- -moz-appearance: none!important;
769
- -webkit-appearance: none!important;
770
- outline: 0 none!important;
771
- text-indent: 0.01px;
772
- text-overflow: ""!important;
773
- width: 100%!important;
774
- box-sizing: border-box !important;
775
- line-height: 20px!important;
776
- clear: both;
777
- float: none!important;
778
- margin: 0px!important;
779
- }
780
- .wc-secondary-form-wrapper {
781
- margin-top: 10px!important;
782
- }
783
- #wpcomm .wpdiscuz-subscribe-form-intro {
784
- font-size: 14px;
785
- float: left;
786
- display: block;
787
- padding: 3px 10px 3px 1px;
788
- line-height: 20px;
789
- box-sizing: border-box;
790
- white-space: nowrap;
791
- }
792
- #wpcomm .wpdiscuz-subscribe-form-option {
793
- font-size: 13px;
794
- float: left;
795
- display: block;
796
- padding-right: 5px;
797
- box-sizing: border-box;
798
- }
799
- #wpcomm .wpdiscuz-subscribe-form-email {
800
- font-size: 14px;
801
- float: left;
802
- display: block;
803
- padding: 0 5px 0 0;
804
- box-sizing: border-box;
805
- width: 30%;
806
- }
807
- #wpcomm .wpdiscuz-subscribe-form-button {
808
- font-size: 14px;
809
- float: left;
810
- display: block;
811
- box-sizing: border-box;
812
- }
813
- #wpcomm .wpdiscuz-subscribe-form-email select {
814
- width: 100%!important;
815
- }
816
- #wpcomm .wpdiscuz-subscribe-form-email input[type="email"] {
817
- font-size: 13px!important;
818
- padding: 3px!important;
819
- width: 100%!important;
820
- height: auto!important;
821
- line-height: 20px!important;
822
- box-sizing: border-box !important;
823
- clear: both;
824
- float: none;
825
- margin: 0px;
826
- }
827
- #wpcomm .wpdiscuz-subscribe-form-button input[type="submit"] {
828
- font-size: 16px!important;
829
- min-height: 29px!important;
830
- height: 29px!important;
831
- padding: 1px 3px 5px 3px!important;
832
- width: 40px;
833
- line-height: 14px!important;
834
- box-sizing: border-box !important;
835
- border: 1px solid #ddd;
836
- clear: both;
837
- float: none;
838
- margin: 0px;
839
- }
840
- #wpcomm .wc-comment-link {
841
- font-size: 12px;
842
- float: right;
843
- text-align: right;
844
- line-height: 20px;
845
- height: 15px;
846
- padding: 0px 0px 0px 10px;
847
- }
848
- #wpcomm .wc-comment-link .wc-comment-img-link {
849
- cursor: pointer;
850
- height: 10px;
851
- }
852
- #wpcomm .wpdiscuz_subscribe_status {
853
- font-size: 12px;
854
- padding-top: 6px;
855
- }
856
- #wpcomm .wpdiscuz_subscribe_status a {
857
- font-size: 12px;
858
- }
859
- .tooltipster-content input[type="text"].wc-comment-link-input {
860
- padding: 2px;
861
- width: 100%;
862
- font-size: 13px;
863
- color: #777777;
864
- }
865
- #wpcomm .page-numbers {
866
- padding: 2px 7px;
867
- font-size: 14px;
868
- margin: 20px 1px;
869
- line-height: 33px;
870
- background: #FFFFFF;
871
- }
872
- #wpcomm span.current {
873
- color: #FFFFFF;
874
- }
875
-
876
-
877
-
878
-
879
-
880
-
881
-
882
-
883
-
884
-
885
- #wpcomm .wc-form-footer {
886
- display: none;
887
- margin-left:65px;
888
- }
889
- #wpcomm .wc-author-data {
890
- width: 48%;
891
- float: left;
892
- margin: 0;
893
- text-align: left;
894
- }
895
- #wpcomm .wc-form-submit {
896
- width: 50%;
897
- float: right;
898
- margin: 0;
899
- text-align: right;
900
- padding:0px 0px 5px 0px;
901
- }
902
- #wpcomm .wc-field-name {
903
- width: 100%;
904
- float: none;
905
- text-align: left;
906
- }
907
- #wpcomm .wc-field-email {
908
- width: 100%;
909
- float: none;
910
- text-align: left;
911
- }
912
- #wpcomm .wc-field-website {
913
- width: 100%;
914
- float: none;
915
- text-align: left;
916
- }
917
  #wpcomm .wc-field-captcha { text-align: right; width: 100%; height: auto!important; padding:3px 0px 9px 0px; border-bottom:1px dotted #ccc; }
918
  #wpcomm .wc-field-captcha .wc-captcha-label{ float:right; display:block; width:111px; text-align:right; padding:0px 0px 0px 0px; }
919
  #wpcomm .wc-field-captcha .wc-captcha-label .wc_captcha_img { display: inline!important; border: 0; padding: 0px; margin: 0; vertical-align:top; box-sizing:content-box; width:80px; height:26px; border-bottom:2px solid #E6E6E6; }
920
  #wpcomm .wc-field-captcha .wc-captcha-label a{ margin:0px; display:inline; padding:0px; text-decoration:none; height:auto; width:auto; }
921
- #wpcomm .wc-field-captcha .wc-captcha-input{ float:left; display:block; min-width:30px; width:calc(100% - 112px); }
922
  #wpcomm .wc-field-captcha .wc-captcha-input input[type="text"] { width: 100%; padding: 3px 5px; font-size: 14px; height: 28px; }
923
  #wpcomm .wc-field-captcha .wc-captcha-label .wc_captcha_refresh_img { cursor: pointer;}
924
  #wpcomm .wc-field-captcha .wc-captcha-label .wc_captcha_refresh_img img { max-width: 16px!important; max-height: 16px!important; box-sizing:content-box; margin: 0px; display: inline!important; background-color:#E6E6E6; padding:5px; border:1px solid #E4E4E4; border-left:1px solid #d9d9d9; vertical-align:top; }
925
  #wpcomm .wc-label a:focus { outline: none;}
926
  #wpcomm .wc-field-submit { padding:5px 0px 0px 5px; clear:left; }
927
-
928
-
929
-
930
  @media screen and (max-width:650px) {
931
- #wpcomm .wpdiscuz-subscribe-form-option {
932
- width: 100%!important;
933
- padding: 0px!important;
934
- }
935
- #wpcomm .wpdiscuz-subscribe-form-email {
936
- width: 100%!important;
937
- padding: 0px!important;
938
- margin-top: 5px;
939
- }
940
- #wpcomm .wpdiscuz-subscribe-form-button {
941
- width: 100%!important;
942
- padding: 0px!important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
943
  }
944
- #wpcomm .wpdiscuz-subscribe-form-button input[type="submit"] {
945
- width: 100%!important;
946
- margin-top: 5px;
947
- }
948
- #wpcomm .wc-field-comment .wc-field-avatararea {
949
- width: 25px;
950
- }
951
- #wpcomm .wc-field-comment .wc-field-avatararea .avatar {
952
- width: 25px;
953
- }
954
- #wpcomm .wc-field-comment .wc-field-textarea {
955
- margin-left: 30px;
956
- }
957
- #wpcomm .wc-form-footer{
958
- margin-left:0px;
959
- }
960
- #wpcomm .wc-author-data{
961
- width: 100%;
962
- float:none;
963
- display:block;
964
- }
965
- #wpcomm .wc-form-submit {
966
- width: 100%;
967
- float:none;
968
- display:block;
969
- padding: 0;
970
- }
971
- #wpcomm .wc-field-submit input[type="button"] {
972
- max-width:200px;
973
- }
974
-
975
-
976
- #wpcomm .wc-field-captcha {
977
- width: 100%;
978
- margin:0px auto;
979
- display:block;
980
- float:none;
981
- }
982
- #wpcomm .wc-field-captcha .wc-captcha-label {
983
- padding-left:0px;
984
- width:115px;
985
- }
986
- #wpcomm .wc-field-captcha .wc-captcha-input{ width:calc(100% - 116px); }
987
-
988
- #wpcomm .wc-reply {
989
- margin-left: 25px!important
990
- }
991
- #wpcomm .wc_comment_level-3 {
992
- margin-left: 0px!important;
993
- }
994
- #wpcomm .wc_comment_level-4 {
995
- margin-left: 0px!important;
996
- }
997
- #wpcomm .wc_comment_level-5 {
998
- margin-left: 0px!important;
999
- }
1000
- #wpcomm .wc_comment_level-5 {
1001
- margin-left: 0px!important;
1002
- }
1003
- #wpcomm .wc_comment_level-6 {
1004
- margin-left: 0px!important;
1005
- }
1006
- #wpcomm .wc_comment_level-7 {
1007
- margin-left: 0px!important;
1008
- }
1009
- #wpcomm .wc_comment_level-8 {
1010
- margin-left: 0px!important;
1011
- }
1012
- #wpcomm .wc_comment_level-9 {
1013
- margin-left: 0px!important;
1014
- }
1015
- #wpcomm .wc_comment_level-10 {
1016
- margin-left: 0px!important;
1017
- }
1018
- #wpcomm .wc-comment-text {
1019
- font-size: 13px!important;
1020
- }
1021
- #wpcomm .wc-comment .wc-comment-left {
1022
- width: 40px;
1023
- }
1024
- #wpcomm .wc-comment .wc-comment-left .avatar {
1025
- width: 40px;
1026
- }
1027
- #wpcomm .wc-comment .wc-comment-right {
1028
- margin-left: 55px;
1029
- }
1030
- #wpcomm .wc-reply .wc-comment-right {
1031
- margin-left: 55px;
1032
- }
1033
- #wpcomm .wc-toggle {
1034
- font-size: 11px;
1035
- line-height: 12px;
1036
- padding-top: 40px;
1037
- padding-bottom: 5px;
1038
- }
1039
- #wpcomm .share_buttons_box {
1040
- margin-top: 9px;
1041
- }
1042
- #wpcomm .wc_notification_checkboxes{ text-align:right; }
1043
- #wpcomm .wc-field-submit{ text-align:right; }
1044
- }
1045
-
1046
  @media screen and (max-width:420px) {
1047
- #wpcomm .wc-toggle {
1048
- font-size: 11px;
1049
- line-height: 12px;
1050
- padding-top: 35px;
1051
- padding-bottom: 5px;
1052
- }
1053
- #wpcomm .wpdiscuz-sort-buttons, #wpcomm .wpdiscuz-sort-button {
1054
- font-size: 11px!important;
1055
- }
1056
- #wpcomm .wc-share-link {
1057
- line-height: 30px;
1058
- }
1059
- #wpcomm .wc-field-comment .wc-field-textarea {
1060
- margin-left: 0px;
1061
- }
1062
- #wpcomm .wc-field-comment .wc-field-avatararea .avatar {
1063
- width: 0px;
1064
- display: none;
1065
- }
1066
- #wpcomm .wc-comment .wc-comment-left {
1067
- float: none!important;
1068
- margin-bottom: 8px;
1069
- width: 100%!important;
1070
- }
1071
- #wpcomm .wc-comment .wc-comment-right, #wpcomm .wc-reply .wc-comment-right {
1072
- margin-left: 0px!important;
1073
- }
1074
- #wpcomm .wc-comment .wc-comment-left .avatar {
1075
- width: 25px!important;
1076
- height: 25px!important;
1077
- margin: 0px 5px 0px 0px!important;
1078
- float: left!important;
1079
- display: block!important;
1080
- }
1081
- #wpcomm .wc-comment .wc-comment-left .wc-comment-label {
1082
- font-size: 13px;
1083
- padding: 6px 5px 5px 5px;
1084
- line-height: 14px;
1085
- display: block-inline!important;
1086
- margin-left: 33px;
1087
- }
1088
- #wpcomm .wc-field-submit input[type="button"] {
1089
- width: 99%;
1090
- font-size: 10px;
1091
- padding: 5px 2px;
1092
- }
1093
- .wpdiscuz_auth .wc-field-submit {
1094
- width: 100%!important;
1095
- }
1096
- .wpdiscuz_auth .wc_notification_checkboxes {
1097
- text-align: left!important;
1098
- }
1099
- }
1100
- #wpcomm .wpdiscuz-hidden {
1101
- display: none;
1102
- }
1103
- .wpdiscuz_top_clearing{
1104
- clear:both;
1105
- }
1106
- .wpdiscuz_clear{
1107
- clear:both;
1108
- }
1109
-
1110
-
1111
-
1112
-
1
+ #wpcomm * {box-sizing: border-box;}
2
+ #wpcomm span {display: inline;}
3
+ #wpcomm .clearfix{clear:both;}
4
+ #wpcomm {padding: 1px 0 10px 0;border-top: #ddd solid 1px;max-width:950px;margin:15px auto;}
5
+ #wc-comment-header {padding: 20px 5px 1px 5px;display: block;float: none;clear: both;font-size: 18px;max-width:950px;margin:0px auto;}
6
+ #wpcomm form .wpdiscuz-item {display: block;height: auto;}
7
+ .wpdiscuz-item input {border-radius: 0;height: auto;width: auto}
8
+ #wpcomm form {margin: 0!important;padding: 0!important;background: none;border: 0;width: auto!important}
9
+ #wpcomm form div {margin: 0}
10
+ #wc_show_hide_loggedin_username {padding: 10px 5px 5px 5px;font-size: 13px}
11
+ #wpcomm .wc_new_comment_and_replies {margin: 0;padding: 0;width: 100%;height: auto;background: transparent}
12
+ #wpcomm .wc_new_comment_and_replies .wc_new_comment {float: right;display: none;padding: 3px 10px;font-size: 12px;margin: 1px 0 1px 3px;cursor: pointer;color: #fff;line-height: 15px}
13
+ #wpcomm .wc_new_comment_and_replies .wc_new_reply {float: right;display: none;padding: 3px 10px;font-size: 12px;margin: 1px 0 1px 1px;cursor: pointer;color: #fff;line-height: 15px}
14
+ #wpcomm .wc-comment-bar {width: 100%;padding: 0;display: block}
15
+ #wpcomm .wc-comment-title {margin: 0;line-height: 18px;font-weight: bold;padding: 10px;margin-bottom: 10px;font-size: 13px;text-align: right;border-bottom: #ccc dotted 1px;padding-bottom: 10px}
16
+ #wpcomm .wc-form-wrapper {padding: 10px;margin-top: 0px;border: 1px solid #f1f1f1;clear: both;}
17
+ #wpcomm .wc-field-comment {margin: 5px auto 1px auto}
18
+ #wpcomm .wc-field-comment .wc-field-avatararea {width: 60px;float: left}
19
+ #wpcomm .wc-field-comment .wc-field-textarea {margin-left: 65px}
20
+ #wpcomm .wc-field-name input[type="text"] {width: 100%;max-width: 100%;padding: 3px 5px;font-size: 14px;margin: 0;height: 29px}
21
+ #wpcomm .wc-field-website input[type="url"], #wpcomm .wc-field-website input[type="text"] {width: 100%;max-width: 100%;padding: 3px 5px;font-size: 14px;margin: 0;height: 29px}
22
+ #wpcomm .wc-field-email input[type="email"] {width: 100%;max-width: 100%;padding: 3px 5px;font-size: 14px;margin: 0;height: 29px}
23
+ #wpcomm .wc-field-submit input[type="button"] {margin: 1px;border: #ddd 1px solid;font-size: 13px;line-height: 16px;padding: 6px 15px;clear: both;float: none}
24
+ #wpcomm .captcha_msg {color: #999;font-family: Lato, sans-serif;font-size: 13px;line-height: 18px;display: block;clear: both;padding: 5px 0 0 0}
25
+ #wpcomm .wc-field-comment textarea, #wpcomm .wc-comment .wc-comment-right textarea {width: 100%;max-width: 100%;height: 48px;min-height: 48px!important;padding: 5px;box-sizing: border-box;border-radius: 0}
26
+ #wpcomm .wc_manage_subscribtions {cursor: pointer;padding: 0 0 5px 0;display: block;font-size: 13px;line-height: 16px;font-family: Lato, sans-serif}
27
+ #wpcomm .wc_notification_checkboxes {padding: 1px 0 7px 0;text-align: right;display: none;line-height: 18px;font-size: 13px}
28
+ #wpcomm .wc_notification_checkboxes input[type="checkbox"], #wpcomm .wc_notification_checkboxes input[type="radio"] {overflow: none;width: inherit;font-size: 13px;padding: 0;display: inline;clear: both;float: none;max-height: 20px;margin: 0 3px}
29
+ #wpcomm .wc_notification_checkboxes label {clear: both;float: none;font-weight: normal}
30
+ #wpcomm .wc-label-comment-notify {display: inline;font-size: 13px;padding: 0;margin: 0;border: 0;line-height: 15px;text-decoration: none;color: #999;font-family: Lato, sans-serif;cursor: pointer}
31
+ #wpcomm .wc-label-reply-notify, #wpcomm .wc-notification-none {display: inline;font-size: 13px;padding: 0;margin: 0;border: 0;line-height: 15px;text-decoration: none;color: #999;font-family: Lato, sans-serif;cursor: pointer}
32
+ #wpcomm .wc-label-all-reply-notify {display: inline;font-size: 13px;padding: 0;margin: 0;border: 0;line-height: 15px;text-decoration: none;color: #999;font-family: Lato, sans-serif;cursor: pointer}
33
+ #wpcomm input[type="text"], #wpcomm input[type="email"], #wpcomm input[type="url"], #wpcomm textarea {font-size: 14px;color: #777;font-family: Lato, sans-serif;box-sizing: border-box;margin: 0;clear: both;float: none;display: inline}
34
+ #wpcomm .wc-copyright {margin: 0 0 0 auto;text-align: right;display: block;padding-top: 2px}
35
+ #wpcomm .wc-copyright a {font-size: 9px;color: #aaa;cursor: help;text-decoration: none;margin: 0;padding: 0;border: 0}
36
+ #wpcomm .wc-thread-wrapper {padding: 10px 0;margin-bottom: 10px}
37
+ #wpcomm .wc-comment {margin-bottom: 13px}
38
+ #wpcomm .wc-comment .wc-form-wrapper {padding: 10px 10px 7px 10px}
39
+ #wpcomm .wc-comment .wc-comment-left {width: 62px;float: left;text-align: center;font-family: Lato, sans-serif;line-height: 16px}
40
+ #wpcomm .wc-comment .wc-comment-right {margin-left: 70px;border: #f5f5f5 1px solid;padding: 10px 10px 3px 10px;display: block;}
41
+ #wpcomm .wc-reply .wc-comment-right {margin-left: 70px;border: #f5f5f5 1px solid;padding: 10px 10px 3px 10px}
42
+ #wpcomm .wc-reply {margin-top: 10px;margin-bottom: 0;margin-left: 40px}
43
+ #wpcomm .wc-must-login {margin: 0;font-size: 14px;line-height: 16px;padding: 10px;text-align: center}
44
+ #wpcomm hr {background-color: rgba(0,0,0,0.1);border: 0 none;height: 1px;margin: 10px auto;}
45
+ #wpcomm .avatar {border: 1px solid rgba(0,0,0,0.1);padding: 2px;margin: 0 auto;float: none;display: inline;width: 48px;height: auto}
46
+ #wpcomm .wc-form-wrapper .avatar {margin-top: 3px}
47
+ #wpcomm .wc-comment-text {text-align: left;padding-bottom: 5px;line-height: 20px;white-space: -moz-pre-wrap;white-space: -pre-wrap;white-space: -o-pre-wrap;word-wrap: break-word}
48
+ #wpcomm .wc-comment-text img {max-width: 90%;height: auto}
49
+ #wpcomm .wc-comment-header {margin-bottom: 7px;font-family: Lato, sans-serif}
50
+ #wpcomm .wc-comment-author {font-size: 16px;width: 40%;float: left;white-space: normal;text-align: left;}
51
+ #wpcomm .wc-comment-author a {font-size: 16px;white-space: normal;text-decoration: none;line-height: 25px;}
52
+ #wpcomm .wc-comment-label {color: #fff;padding: 2px 5px;font-size: 12px;margin: 4px auto;text-align: center;display: table;line-height: 16px}
53
+ #wpcomm .wc-comment-date {font-size: 12px;color: #999;float: right;text-align: right;white-space: nowrap;line-height: 23px}
54
+ #wpcomm .wc-comment-footer {font-size: 12px;font-weight: normal;color: #999;margin-top: 12px;min-height: 28px;font-family: Lato, sans-serif;text-align: left;}
55
+ #wpcomm .wc-comment-footer a, #wpcomm .wc-comment-footer span.wc_editable_comment, #wpcomm .wc-comment-footer span.wc_save_edited_comment, #wpcomm span.wc_cancel_edit {text-decoration: none;font-size: 13px;font-weight: bold;cursor: pointer}
56
+ #wpcomm .wc-comment-footer .share_buttons_box img {vertical-align: middle}
57
+ #wpcomm .wc-comment-footer .wc-voted {color: #666;cursor: default}
58
+ #wpcomm .wc-comment-footer .wc-vote-img-up {padding: 0;margin: 0 0 -2px 0;vertical-align: baseline;display: inline;float: none;clear: both;border: 0;background: transparent;width: 16px;height: 16px;border-radius: 0;box-shadow: none;box-sizing: border-box}
59
+ #wpcomm .wc-comment-footer .wc-vote-img-down {padding: 0;margin: 0 0 -6px 0;vertical-align: baseline;display: inline;float: none;clear: both;border: 0;background: transparent;width: 16px;height: 16px;border-radius: 0;box-shadow: none;box-sizing: border-box}
60
+ #wpcomm .wc-comment-footer .wc-vote-result {padding: 2px 6px 2px 5px;color: #fff;font-size: 12px;font-weight: bold;display: inline;margin-right: 5px}
61
+ #wpcomm .wc-toggle {float: right;text-align: right;padding-right: 0;margin-right: 0;color: #999;cursor: pointer;font-size: 12px;white-space: nowrap;line-height: 24px;}
62
+ #wpcomm .wpdiscuz-item {background: 0;border-radius: 0;box-shadow: none}
63
+ #wc_response_info img {margin: 0 auto 0 auto;box-shadow: none}
64
+ #wpcomm .share_buttons_box img {display: inline!important;width: 16px;height: 16px}
65
+ #wpcomm .wc-reply-link, #wpcomm .wc-vote-link, #wpcomm .wc-share-link {cursor: pointer;font-size: 13px;font-weight: bold}
66
+ #wpcomm .share_buttons_box {display: none}
67
+ #wpcomm .wc-comment.wc-no-left-margin {margin-left: 0!important}
68
+ .wc-load-more-submit-wrap {width: 100%;text-align: center;margin-bottom: 20px;margin-top: 25px}
69
+ .wc-load-more-submit {width: auto!important;padding: 10px 20px;text-align: center;background-color: #fafafa;border-radius: 3px;color: #555;cursor: pointer}
70
+ .wc-load-more-submit:hover {background-image: -moz-linear-gradient(center top, #f4f4f4, #e6e6e6);background-repeat: repeat-x;box-shadow: 0 1px 2px rgba(64,64,64,0.1);color: #7c7c7c}
71
+ #wpcomm #bywpdiscuz {display: none}
72
+ #wpcomm .by-wpdiscuz {text-align: right;border-top: #ddd solid 1px;padding: 1px 1px 1px 1px}
73
+ #wpcomm .by-wpdiscuz a {font-size: 11px;font-weight: bold;text-align: right;color: #ccc;padding: 1px;margin: 0;line-height: 12px;border: 0;text-decoration: none}
74
+ #wpcomm .wpdimg {border: 0;padding: 0;margin: 0;height: 12px;cursor: pointer;display: inline;clear: both}
75
+ #wc_unsubscribe_message {margin: 10px auto 1px auto;padding: 10px;text-align: center;border: #0d0 1px dotted;background: #cfc}
76
+ .wc_unsubscribe_message {font-size: 14px;color: #444}
77
+ #wpcomm .wc_comment_level-3 {margin-left: 40px!important}
78
+ #wpcomm .wc_comment_level-4 {margin-left: 40px!important}
79
+ #wpcomm .wc_comment_level-5 {margin-left: 40px!important}
80
+ #wpcomm .wc_editable_div {-moz-appearance: textfield-multiline;-webkit-appearance: textarea;border: 1px solid #ccc;border-radius: 0;font: medium -moz-fixed;font: -webkit-small-control;overflow: auto;resize: both;box-sizing: border-box;height: 46px;max-width: 100%;min-height: 46px!important;padding: 5px;width: 100%}
81
+ #wpcomm .wc_cancel_edit {display: none}
82
+ #wpcomm .wc-comment-text p {margin-bottom: 10px}
83
+ #wpcomm .wc-comment-right textarea.wc_edit_comment {height: 80px;}
84
+ #wpcomm .wc_social_plugin_wrapper {width: auto;}
85
+ #wpcomm .wc_comm_form .wc_secondary_form {clear: both}
86
+ #wpcomm .wc_comm_form .wc-field-comment {clear: both}
87
+ #wpcomm .wp-social-login-widget {margin-bottom: 15px;}
88
+ #wpcomm .wc_social_plugin_wrapper .wp-social-login-connect-with {float: left;font-size: 13px;padding: 2px 7px 0 0;text-transform: uppercase}
89
+ #wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list {padding: 1px;text-align: left;margin-bottom: -10px}
90
+ #wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list {padding: 1px;text-align: right}
91
+ #wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list img {width: 20px;height: 20px;float: none;display: inline;border: 0}
92
+ #wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list img {width: 24px;height: 24px;float: none;display: inline;border: 0}
93
+ #wpcomm .wc_social_plugin_wrapper .social_connect_ui {padding: 0;clear: both;margin: 0;margin-top: -20px;margin-bottom: -10px}
94
+ #wpcomm .wc_social_plugin_wrapper .comment-form-social-connect {display: inherit;padding: 0;margin: 0;float: left;line-height: 35px;padding-right: 10px}
95
+ #wpcomm .wc_social_plugin_wrapper .social_connect_form img {width: 24px;height: 24px;float: none;display: inline;border: 0}
96
+ #wpcomm .wc_social_plugin_wrapper .social_connect_form {float: left;line-height: 35px;text-align: left;vertical-align: middle}
97
+ #wpcomm .wc_social_plugin_wrapper .comment-form-social-connect label {display: inherit;padding: 0;margin: 0;font-style: normal;font-weight: normal;border: 0;font-size: 13px;text-transform: uppercase}
98
+ #social_connect_facebook_auth, #social_connect_twitter_auth, #social_connect_google_auth, #social_connect_google_plus_auth, #social_connect_yahoo_auth, #social_connect_wordpress_auth {clear: both;padding: 0;margin: 0}
99
+ #wpcomm .wc-secondary-forms-social-content .social_connect_ui {padding: 0;clear: both;margin: 0;text-align: right}
100
+ #wpcomm .wc-secondary-forms-social-content .comment-form-social-connect {display: inherit;padding: 0;margin: 0;float: left;line-height: 35px;padding-right: 10px}
101
+ #wpcomm .wc-secondary-forms-social-content .social_connect_form img {width: 24px;height: 24px;float: none;display: inline;border: 0}
102
+ #wpcomm .wc-secondary-forms-social-content .social_connect_form {float: left;width: 100%;text-align: right;padding: 0 0 5px 0;line-height: 20px;vertical-align: middle}
103
+ #wpcomm .wc-secondary-forms-social-content .comment-form-social-connect label {display: inherit;padding: 0;margin: 0;font-style: normal;font-weight: normal;border: 0;font-size: 13px;text-transform: uppercase}
104
+ #wpcomm input[type="text"], #wpcomm input[type="email"], #wpcomm input[type="password"], #wpcomm input[type="url"] {line-height: inherit!important;}
105
+ #wpcomm .wc-comment-text ol li, #wpcomm .wc-comment-text ul li {margin-left: 20px;}
106
+ #wpcomm .wc-comment-text blockquote {font-size: inherit;line-height: inherit;margin-bottom: 1em;margin-left: 1em;padding-left: 1em;}
107
+ .wpdiscuz-nofollow, .wpdiscuz-nofollow:hover {text-decoration: none!important;}
108
+ #wpcomm .wc-field-comment textarea, #wpcomm .wc-comment .wc-comment-right textarea {display: inline;}
109
+ #wpcomm .input-text, #wpcomm input[type="text"], #wpcomm input[type="input"], #wpcomm input[type="password"], #wpcomm input[type="email"], #wpcomm input[type="number"], #wpcomm input[type="url"], #wpcomm input[type="tel"], #wpcomm input[type="search"], #wpcomm textarea, #wpcomm select {margin: 0px;}
110
+ .wc_msg_required_fields, .wc_invalid_field, .wc_invalid_captcha, .wc_error_url_text, .wc_error_email_text, .wpdiscuz-sendmail-error, .wc_msg_comment_text_min_length, .wc_msg_comment_text_max_length, .wc_login_to_vote, .wc_deny_voting_from_same_ip, .wc_self_vote, .wc_vote_only_one_time, .wc_voting_error, .wc_comment_edit_not_possible, .wc_comment_not_updated, .wc_comment_not_edited {background-color: #FCE8E8 !important;font-size: 14px;text-align: center;color: #CE4A66;border: #F2D3D2 1px solid;padding: 5px 10px;width: 100%;box-sizing: border-box;margin: 5px 0px;border-radius: 3px;}
111
+ .wc_held_for_moderate {background-color: #FCE6BF;font-size: 14px;text-align: center;color: #D3760C;border: #F9C975 1px solid;padding: 5px 10px;width: 100%;box-sizing: border-box;margin: 5px 0px;border-radius: 3px;}
112
+ .wpdiscuz-loading-bar {position: fixed;text-align: center;right: 0;width: 50px;border: none;background: transparent;z-index: 999999;display: none;}
113
+ .wpdiscuz-loading-bar-auth {top: 32px;}
114
+ .wpdiscuz-loading-bar-unauth {top: 0px;}
115
+ .wpdiscuz-loading-bar .wpdiscuz-loading-bar-img {max-width: 32px!important;height: auto;}
116
+ .wpdiscuz-vote-sorting-desc, .wpdiscuz-vote-sorting-asc {text-align: center;border: none;z-index: 999999;cursor: pointer;display: inline-block;}
117
+ .wpdiscuz-front-actions {width: 100%;box-sizing: border-box;padding: 5px 10px;margin-bottom: 10px;border-right: 1px solid #f1f1f1;border-left: 1px solid #f1f1f1;text-align: right;}
118
+ .wpdiscuz-subscribe-bar {width: 100%;box-sizing: border-box;padding: 10px;margin-bottom: 10px;border-right: 1px solid #f1f1f1;border-left: 1px solid #f1f1f1;}
119
+ .wpdiscuz_select {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC") no-repeat scroll right center!important;border-radius: 0;border: 1px solid lightgray!important;box-shadow: none!important;height: 28px!important;padding: 3px 22px 3px 3px!important;font-size: 13px!important;-moz-appearance: none!important;-webkit-appearance: none!important;outline: 0 none!important;text-indent: 0.01px;text-overflow: ""!important;width: 100%!important;box-sizing: border-box !important;line-height: 20px!important;clear: both;float: none!important;margin: 0px!important;}
120
+ .wc-secondary-form-wrapper {margin-top: 10px!important;}
121
+ #wpcomm .wpdiscuz-subscribe-form-intro {font-size: 14px;float: left;display: block;padding: 3px 10px 3px 1px;line-height: 20px;box-sizing: border-box;white-space: nowrap;}
122
+ #wpcomm .wpdiscuz-subscribe-form-option {font-size: 13px;float: left;display: block;padding-right: 5px;box-sizing: border-box;}
123
+ #wpcomm .wpdiscuz-subscribe-form-email {font-size: 14px;float: left;display: block;padding: 0 5px 0 0;box-sizing: border-box;width: 30%;}
124
+ #wpcomm .wpdiscuz-subscribe-form-button {font-size: 14px;float: left;display: block;box-sizing: border-box;}
125
+ #wpcomm .wpdiscuz-subscribe-form-email select {width: 100%!important;}
126
+ #wpcomm .wpdiscuz-subscribe-form-email input[type="email"] {font-size: 13px!important;padding: 3px!important;width: 100%!important;height: auto!important;line-height: 20px!important;box-sizing: border-box !important;clear: both;float: none;margin: 0px;}
127
+ #wpcomm .wpdiscuz-subscribe-form-button input[type="submit"] {font-size: 16px!important;min-height: 29px!important;height: 29px!important;padding: 1px 3px 5px 3px!important;width: 40px;line-height: 14px!important;box-sizing: border-box !important;border: 1px solid #ddd;clear: both;float: none;margin: 0px;}
128
+ #wpcomm .wc-comment-link {font-size: 12px;float: right;text-align: right;line-height: 20px;height: 15px;padding: 0px 0px 0px 10px;}
129
+ #wpcomm .wc-comment-link .wc-comment-img-link {cursor: pointer;height: 10px;}
130
+ #wpcomm .wpdiscuz_subscribe_status {font-size: 12px;padding-top: 6px;}
131
+ #wpcomm .wpdiscuz_subscribe_status a {font-size: 12px;}
132
+ .tooltipster-content input[type="text"].wc-comment-link-input {padding: 2px;width: 100%;font-size: 13px;color: #777777;}
133
+ #wpcomm .page-numbers {padding: 2px 7px;font-size: 14px;margin: 20px 1px;line-height: 33px;background: #FFFFFF;}
134
+ #wpcomm span.current {color: #FFFFFF;}
135
+
136
+ #wpcomm .wc-form-footer {display: none;margin-left:65px;}
137
+ #wpcomm .wc-author-data {width: 48%;float: left;margin: 0;text-align: left;}
138
+ #wpcomm .wc-form-submit {width: 50%;float: right;margin: 0;text-align: right;padding:0px 0px 5px 0px; }
139
+ #wpcomm .wc-field-name {width: 100%;float: none;text-align: left;}
140
+ #wpcomm .wc-field-email {width: 100%;float: none;text-align: left;}
141
+ #wpcomm .wc-field-website {width: 100%;float: none;text-align: left;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  #wpcomm .wc-field-captcha { text-align: right; width: 100%; height: auto!important; padding:3px 0px 9px 0px; border-bottom:1px dotted #ccc; }
143
  #wpcomm .wc-field-captcha .wc-captcha-label{ float:right; display:block; width:111px; text-align:right; padding:0px 0px 0px 0px; }
144
  #wpcomm .wc-field-captcha .wc-captcha-label .wc_captcha_img { display: inline!important; border: 0; padding: 0px; margin: 0; vertical-align:top; box-sizing:content-box; width:80px; height:26px; border-bottom:2px solid #E6E6E6; }
145
  #wpcomm .wc-field-captcha .wc-captcha-label a{ margin:0px; display:inline; padding:0px; text-decoration:none; height:auto; width:auto; }
146
+ #wpcomm .wc-field-captcha .wc-captcha-input{ float:left; display:block; min-width:30px; width:calc(100% - 112px); font-size:10px!important; }
147
  #wpcomm .wc-field-captcha .wc-captcha-input input[type="text"] { width: 100%; padding: 3px 5px; font-size: 14px; height: 28px; }
148
  #wpcomm .wc-field-captcha .wc-captcha-label .wc_captcha_refresh_img { cursor: pointer;}
149
  #wpcomm .wc-field-captcha .wc-captcha-label .wc_captcha_refresh_img img { max-width: 16px!important; max-height: 16px!important; box-sizing:content-box; margin: 0px; display: inline!important; background-color:#E6E6E6; padding:5px; border:1px solid #E4E4E4; border-left:1px solid #d9d9d9; vertical-align:top; }
150
  #wpcomm .wc-label a:focus { outline: none;}
151
  #wpcomm .wc-field-submit { padding:5px 0px 0px 5px; clear:left; }
 
 
 
152
  @media screen and (max-width:650px) {
153
+ #wpcomm .wpdiscuz-subscribe-form-option {width: 100%!important;padding: 0px!important;}
154
+ #wpcomm .wpdiscuz-subscribe-form-email {width: 100%!important;padding: 0px!important;margin-top: 5px;}
155
+ #wpcomm .wpdiscuz-subscribe-form-button {width: 100%!important;padding: 0px!important;}
156
+ #wpcomm .wpdiscuz-subscribe-form-button input[type="submit"] {width: 100%!important;margin-top: 5px;}
157
+ #wpcomm .wc-field-comment .wc-field-avatararea {width: 25px;}
158
+ #wpcomm .wc-field-comment .wc-field-avatararea .avatar {width: 25px;}
159
+ #wpcomm .wc-field-comment .wc-field-textarea {margin-left: 30px;}
160
+ #wpcomm .wc-form-footer{margin-left:0px;}
161
+ #wpcomm .wc-author-data{width: 100%;float:none;display:block;}
162
+ #wpcomm .wc-form-submit {width: 100%;float:none;display:block;padding: 0;}
163
+ #wpcomm .wc-field-submit input[type="button"] {max-width:200px;}
164
+ #wpcomm .wc-field-captcha {width: 100%;margin:0px auto;display:block;float:none;}
165
+ #wpcomm .wc-field-captcha .wc-captcha-label {padding-left:0px;width:115px;}
166
+ #wpcomm .wc-field-captcha .wc-captcha-input{ width:calc(100% - 116px); }
167
+ #wpcomm .wc-reply {margin-left: 25px!important}
168
+ #wpcomm .wc_comment_level-3 {margin-left: 0px!important;}
169
+ #wpcomm .wc_comment_level-4 {margin-left: 0px!important;}
170
+ #wpcomm .wc_comment_level-5 {margin-left: 0px!important;}
171
+ #wpcomm .wc_comment_level-5 {margin-left: 0px!important;}
172
+ #wpcomm .wc_comment_level-6 {margin-left: 0px!important;}
173
+ #wpcomm .wc_comment_level-7 {margin-left: 0px!important;}
174
+ #wpcomm .wc_comment_level-8 {margin-left: 0px!important;}
175
+ #wpcomm .wc_comment_level-9 {margin-left: 0px!important;}
176
+ #wpcomm .wc_comment_level-10 {margin-left: 0px!important;}
177
+ #wpcomm .wc-comment-text {font-size: 13px!important;}
178
+ #wpcomm .wc-comment .wc-comment-left {width: 40px;}
179
+ #wpcomm .wc-comment .wc-comment-left .avatar {width: 40px;}
180
+ #wpcomm .wc-comment .wc-comment-right {margin-left: 55px;}
181
+ #wpcomm .wc-reply .wc-comment-right {margin-left: 55px;}
182
+ #wpcomm .wc-toggle {font-size: 11px;line-height: 12px;padding-top: 40px;padding-bottom: 5px;}
183
+ #wpcomm .share_buttons_box {margin-top: 9px;}
184
+ #wpcomm .wc_notification_checkboxes{ text-align:right; }
185
+ #wpcomm .wc-field-submit{ text-align:right; }
186
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  @media screen and (max-width:420px) {
188
+ #wpcomm .wc-toggle {font-size: 11px;line-height: 12px;padding-top: 35px;padding-bottom: 5px;}
189
+ #wpcomm .wpdiscuz-sort-buttons, #wpcomm .wpdiscuz-sort-button {font-size: 11px!important;}
190
+ #wpcomm .wc-share-link {line-height: 30px;}
191
+ #wpcomm .wc-field-comment .wc-field-textarea {margin-left: 0px;}
192
+ #wpcomm .wc-field-comment .wc-field-avatararea .avatar {width: 0px;display: none;}
193
+ #wpcomm .wc-comment .wc-comment-left {float: none!important;margin-bottom: 8px;width: 100%!important;}
194
+ #wpcomm .wc-comment .wc-comment-right, #wpcomm .wc-reply .wc-comment-right {margin-left: 0px!important;}
195
+ #wpcomm .wc-comment .wc-comment-left .avatar {width: 25px!important;height: 25px!important;margin: 0px 5px 0px 0px!important;float: left!important;display: block!important;}
196
+ #wpcomm .wc-comment .wc-comment-left .wc-comment-label {font-size: 13px;padding: 6px 5px 5px 5px;line-height: 14px;display: block-inline!important;margin-left: 33px;}
197
+ #wpcomm .wc-field-submit input[type="button"] {width: 99%;font-size: 10px;padding: 5px 2px;}
198
+ .wpdiscuz_auth .wc-field-submit {width: 100%!important;}
199
+ .wpdiscuz_auth .wc_notification_checkboxes {text-align: left!important;}
200
+ }
201
+ #wpcomm .wpdiscuz-hidden {display: none;}
202
+ .wpdiscuz_top_clearing{clear:both;}
203
+ .wpdiscuz_clear{clear:both;}
204
+ .wpdiscuz_clear_right{clear:right;}
205
+ .wpdiscuz_clear_left{clear:left;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/wpdiscuz-notes.js ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ jQuery(document).on( 'click', '.wpdiscuz_addon_note .notice-dismiss', function() {
2
+ jQuery.ajax({url: ajaxurl, data: { action: 'dismiss_wpdiscuz_addon_note'}})
3
+ })
assets/js/wpdiscuz.js CHANGED
@@ -26,6 +26,7 @@ jQuery(document).ready(function ($) {
26
  var wpdiscuzReplyArray = [];
27
  var wpdiscuzCommentArray = [];
28
  var wpdiscuzRecaptcha = wpdiscuz_ajax_obj.wpdiscuz_options.wpDiscuzReCaptcha;
 
29
 
30
  addTooltipster();
31
  loginButtonsClone();
@@ -280,7 +281,6 @@ jQuery(document).ready(function ($) {
280
  } else {
281
  name = obj.user_name;
282
  }
283
- console.log(storeCommenterData);
284
  if (storeCommenterData == null) {
285
  $.cookie('wc_author_email', email);
286
  $.cookie('wc_author_name', name);
26
  var wpdiscuzReplyArray = [];
27
  var wpdiscuzCommentArray = [];
28
  var wpdiscuzRecaptcha = wpdiscuz_ajax_obj.wpdiscuz_options.wpDiscuzReCaptcha;
29
+ var wpdiscuzUploader = wpdiscuz_ajax_obj.wpdiscuz_options.uploader;
30
 
31
  addTooltipster();
32
  loginButtonsClone();
281
  } else {
282
  name = obj.user_name;
283
  }
 
284
  if (storeCommenterData == null) {
285
  $.cookie('wc_author_email', email);
286
  $.cookie('wc_author_name', name);
assets/js/wpdiscuz.min.js CHANGED
@@ -1,2 +1,2 @@
1
 
2
- jQuery(document).ready(function(H){H("body").addClass("wpdiscuz_"+wpdiscuz_ajax_obj.wpdiscuz_options.version);wpdiscuzValidator.message.invalid=wpdiscuz_ajax_obj.wpdiscuz_options.wc_invalid_field;wpdiscuzValidator.message.empty=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_empty_text;wpdiscuzValidator.message.email=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_email_text;wpdiscuzValidator.message.url=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_url_text;wpdiscuzValidator.message.min=wpdiscuz_ajax_obj.wpdiscuz_options.wc_msg_input_min_length;wpdiscuzValidator.message.max=wpdiscuz_ajax_obj.wpdiscuz_options.wc_msg_input_max_length;var V=wpdiscuz_ajax_obj.wpdiscuz_options.is_user_logged_in;var t=wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide==0&&!V;var U=wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide_for_members>0&&V;var B=wpdiscuz_ajax_obj.wpdiscuz_options.isCaptchaInSession;var F=wpdiscuz_ajax_obj.wpdiscuz_options.commentListLoadType;var Z=wpdiscuz_ajax_obj.wpdiscuz_options.wordpressIsPaginate;var q=wpdiscuz_ajax_obj.wpdiscuz_options.wc_post_id;var l=wpdiscuz_ajax_obj.wpdiscuz_options.commentListUpdateType;var k=wpdiscuz_ajax_obj.wpdiscuz_options.commentListUpdateTimer;var A=wpdiscuz_ajax_obj.wpdiscuz_options.liveUpdateGuests;var W=wpdiscuz_ajax_obj.wpdiscuz_options.loadLastCommentId;var a=wpdiscuz_ajax_obj.wpdiscuz_options.wordpress_comment_order;var L=wpdiscuz_ajax_obj.wpdiscuz_options.commentsVoteOrder;var D=wpdiscuz_ajax_obj.wpdiscuz_options.storeCommenterData;var b=1;var o="comment_date_gmt";var Q=[];var x=[];var n=wpdiscuz_ajax_obj.wpdiscuz_options.wpDiscuzReCaptcha;I();h();f();if(L){H(".wpdiscuz-vote-sort-up").addClass("wpdiscuz-sort-button-active");o="by_vote"}else{H(".wpdiscuz-date-sort-"+a).addClass("wpdiscuz-sort-button-active")}H("#wc_unsubscribe_message").delay(7000).fadeOut(1500,function(){H(this).remove();location.href=location.href.substring(0,location.href.indexOf("subscribeAnchor")-1)});if(H(".wc_main_comm_form").length){e()}H(document).delegate(".wc-reply-link","click",function(){if(H(this).hasClass("wpdiscuz-clonned")){H("#wc-secondary-form-wrapper-"+p(H(this),0)).slideToggle(700)}else{j(H(this))}e()});H(document).delegate("textarea.wc_comment","focus",function(){if(!(H(this).next(".autogrow-textarea-mirror").length)){H(this).autoGrow()}var ac=H(this).parents(".wc-form-wrapper");H(".wc-form-footer",ac).slideDown(700)});H(document).delegate(".wc-share-link","click",function(){var ac=H(this).parents(".wc-comment-right");H(".share_buttons_box",ac).slideToggle(1000)});H(document).delegate(".wpdiscuz-nofollow,.wc_captcha_refresh_img,.wc-toggle,.wc-load-more-link","click",function(ac){ac.preventDefault()});H(document).delegate(".wc-toggle","click",function(){var ad=p(H(this),0);var ac=H(this);H("#wc-comm-"+ad+"> .wc-reply").slideToggle(700,function(){if(H(this).is(":hidden")){ac.html(wpdiscuz_ajax_obj.wpdiscuz_options.wc_show_replies_text+" &or;")}else{ac.html(wpdiscuz_ajax_obj.wpdiscuz_options.wc_hide_replies_text+" &and;")}})});H(document).delegate(".wc-new-loaded-comment","mouseenter",function(){if(H(this).hasClass("wc-reply")){H(">.wc-comment-right",this).css("backgroundColor",wpdiscuz_ajax_obj.wpdiscuz_options.wc_reply_bg_color)}else{H(">.wc-comment-right",this).css("backgroundColor",wpdiscuz_ajax_obj.wpdiscuz_options.wc_comment_bg_color)}});H(document).delegate(".wc_captcha_refresh_img","click",function(){T(H(this))});function T(al){if(!n&&(t||U)){var ad=al.parents(".wc-form-wrapper");var af=H(".wpdiscuz-cnonce",ad);if(B){var ae=g();var am=H(al).prev().children(".wc_captcha_img");var ac=am.attr("src");var ai=ac.substring(0,ac.indexOf("=")+1);am.attr("src",ai+ae+"&r="+Math.random());af.attr("id",ae);af.attr("value",ae)}else{var aj=ad.hasClass("wc-secondary-form-wrapper")?0:1;var ah=p(al,aj);var ag="uniqueId="+ah;var ak=d("generateCaptcha",ag);ak.done(function(ao){try{var at=H.parseJSON(ao);if(at.code==1){var aq=H(al).prev().children(".wc_captcha_img");var au=aq.attr("src");var an=au.lastIndexOf("/")+1;var ap=au.substring(0,an)+at.message;aq.attr("src",ap);af.attr("id",at.key);af.attr("value",at.key)}}catch(ar){console.log(ar)}H(".wpdiscuz-loading-bar").hide()})}}}function g(){var ac="123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";var ad="c";for(i=0;i<13;i++){ad+=ac[Math.floor(Math.random()*(ac.length-1)+1)]}return ad}H(document).delegate(".wc_comm_submit","click",function(){var ag=1;var ad=H(this).parents("form");if(!ad.hasClass("wc_main_comm_form")){ag=G(H(this).parents(".wc-comment"))}if(!wpdiscuz_ajax_obj.wpdiscuz_options.is_email_field_required&&H(".wc_email",ad).val()){H(".wc_email",ad).attr("required","required")}if(!wpdiscuz_ajax_obj.wpdiscuz_options.is_email_field_required&&!(H(".wc_email",ad).val())){H(".wc_email",ad).removeAttr("required");H(".wc_email",ad).next(".alert").html("")}if(wpdiscuzValidator.checkAll(ad)){var ac=ad.serialize()+"&wc_comment_depth="+ag;if(!n&&(t||U)&&!B){var ae=H(".wc_captcha_img",ad);var af=ae.attr("src");var ai=af.lastIndexOf("/")+1;var ah=af.substring(ai);ac+="&fileName="+ah}if(H.cookie("wc_author_name")&&!H(".wc_name",ad).val()){ac+="&wc_name="+H.cookie("wc_author_name")}if(H.cookie("wc_author_email")&&!H(".wc_email",ad).val()){ac+="&wc_email="+H.cookie("wc_author_email")}if(wpdiscuz_ajax_obj.wpdiscuz_options.wpdiscuz_zs){ac+="&wpdiscuz_zs="+wpdiscuz_ajax_obj.wpdiscuz_options.wpdiscuz_zs}d("addComment",ac).done(function(ak){var al="";var am="";try{var ao=H.parseJSON(ak);al=ao.code;if(parseInt(al)>=0){var aj=ao.is_main;am=ao.message;H(".wc_header_text_count").html(ao.wc_all_comments_count_new);if(aj){H(".wc-thread-wrapper").prepend(am)}else{H("#wc-secondary-form-wrapper-"+al).slideToggle(700);if(ao.is_in_same_container==1){H("#wc-secondary-form-wrapper-"+al).after(am)}else{H("#wc-secondary-form-wrapper-"+al).after(am.replace("wc-reply","wc-reply wc-no-left-margin"))}}r(ao);Y(ao);w(ad,ao);ad.get(0).reset();e();f();H(".wc_comment",ad).css("height","45.6px")}else{am=wpdiscuz_ajax_obj.wpdiscuz_options[al];v(ad,al,am,true)}}catch(an){if(ak.indexOf("<")>=0&&ak.indexOf(">")>=0){am=an}else{am=ak}v(ad,"wc_invalid_field",am,true)}I();H(".wpdiscuz-loading-bar").hide()})}T(H(".wc_captcha_refresh_img",ad));P()});function r(ae){if(!ae.held_moderate){var ad="comment_id="+ae.new_comment_id+"&email="+ae.user_email+"&isParent="+ae.is_main;var ac=d("checkNotificationType",ad);ac.done(function(af){try{ae=H.parseJSON(af)}catch(ag){console.log(ag)}})}}function Y(ae){if(ae.redirect>0&&ae.new_comment_id){var ad="commentId="+ae.new_comment_id;var ac=d("redirect",ad);ac.done(function(af){ae=H.parseJSON(af);if(ae.code==1){setTimeout(function(){window.location.href=ae.redirect_to},5000)}})}}function e(){if(H.cookie("wc_author_name")&&H.cookie("wc_author_name").indexOf("Anonymous")<0){H(".wc_comm_form .wc_name").val(H.cookie("wc_author_name"))}if(H.cookie("wc_author_email")&&H.cookie("wc_author_email").indexOf("@example.com")<0){H(".wc_comm_form .wc_email").val(H.cookie("wc_author_email"))}if(H.cookie("wc_author_website")){H(".wc_comm_form .wc_website").val(H.cookie("wc_author_website"))}}function w(ae,af){var ad="";var ac="";if(H(".wc_email",ae).val()){ad=H(".wc_email",ae).val()}else{ad=af.user_email}if(H(".wc_name",ae).val()){ac=H(".wc_name",ae).val()}else{ac=af.user_name}console.log(D);if(D==null){H.cookie("wc_author_email",ad);H.cookie("wc_author_name",ac);H.cookie("wc_author_website",H(".wc_website",ae).val())}else{D=parseInt(D);H.cookie("wc_author_email",ad,{expires:D,path:"/"});H.cookie("wc_author_name",ac,{expires:D,path:"/"});H.cookie("wc_author_website",H(".wc_website",ae).val(),{expires:D,path:"/"})}}var X;H(document).delegate(".wc_editable_comment","click",function(){var af=p(H(this),0);var ac=aa(af);var ae=H(this);var ad="commentId="+ac;X=H("#wc-comm-"+af+" .wc-comment-text").html();d("editComment",ad).done(function(ah){try{var al=H.parseJSON(ah);var aj="";var ai=al.code;if(parseInt(ai)>=0){var ag='<textarea required="required" name="wc_comment" class="wc_comment wc_field_input wc_edit_comment" id="wc_edit_comment-'+af+'" style="min-height: 2em;">'+al.message+"</textarea>";H("#wc-comm-"+af+" > .wc-comment-right .wc-comment-text").replaceWith(ag);document.getElementById("wc_edit_comment-"+af).focus();H("#wc-comm-"+af+" > .wc-comment-right .wc-comment-footer .wc_save_edited_comment").show();ag="";H("#wc-comm-"+af+" > .wc-comment-right .wc-comment-footer .wc_editable_comment").hide();H("#wc-comm-"+af+" > .wc-comment-right .wc-comment-footer .wc_cancel_edit").show()}else{aj=wpdiscuz_ajax_obj.wpdiscuz_options[ai];v(ae,ai,aj,false)}}catch(ak){console.log(ak)}H(".wpdiscuz-loading-bar").hide()})});H(document).delegate(".wc_save_edited_comment","click",function(){var ah=p(H(this));var ad=aa(ah);var ac=H("#wc-comm-"+ah+" textarea#wc_edit_comment-"+ah);var ae=ac.val();var ag=H(this);if(H.trim(ae).length>0){var af="commentId="+ad+"&commentContent="+ae;d("saveEditedComment",af).done(function(ai){try{var am=H.parseJSON(ai);var aj=am.code;var ak="";if(parseInt(aj)>=0){M(ah,am.message)}else{ak=wpdiscuz_ajax_obj.wpdiscuz_options[aj];v(ag,aj,ak,false)}ac="";ae=""}catch(al){console.log(al)}H(".wpdiscuz-loading-bar").hide()})}});H(document).delegate(".wc_cancel_edit","click",function(){var ac=p(H(this));M(ac,X)});function M(ae,ad){H("#wc-comm-"+ae+" > .wc-comment-right .wc-comment-footer .wc_editable_comment").show();H("#wc-comm-"+ae+" > .wc-comment-right .wc-comment-footer .wc_cancel_edit").hide();H("#wc-comm-"+ae+" > .wc-comment-right .wc-comment-footer .wc_save_edited_comment").hide();var ac='<div class="wc-comment-text">'+m(ad)+"</div>";H("#wc-comm-"+ae+" #wc_edit_comment-"+ae).replaceWith(ac)}function m(af,ae){var ad=(ae||typeof ae==="undefined")?"<br/>":"<br>";var ac=(af+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1"+ad+"$2");return ac.replace("<br><br>","<br/>")}H(document).delegate(".wc-load-more-submit","click",function(){K()});var s=H("#wpdiscuzHasMoreComments").val();var J=false;if(F==2&&!Z){H(".wc-load-more-submit").parents(".wpdiscuz-comment-pagination").hide();H(window).scroll(function(){var ac=document.getElementById("wcThreadWrapper").scrollHeight;if(H(window).scrollTop()>=ac&&J===false&&s==1){J=true;K()}})}function K(){var ac;ac="offset="+b+"&orderBy="+o+"&order="+a+"&lastParentId="+y();b++;d("loadMoreComments",ac).done(function(ad){try{var af=H.parseJSON(ad);H(".wpdiscuz-comment-pagination").before(af.comment_list);u(af);H(".wpdiscuz_single").remove();J=false;f()}catch(ae){console.log(ae)}I();H(".wpdiscuz-loading-bar").hide();H(".wc-load-more-submit").blur()})}function u(ad){var ac=0;if(ad.is_show_load_more==false){ac=0;s=0;H(".wc-load-more-submit").parents(".wpdiscuz-comment-pagination").hide()}else{S(ad.last_parent_id);s=1;ac=1}H("#wpdiscuzHasMoreComments").val(ac)}H(document).delegate(".wc_vote","click",function(){var ac=H(this);var af="";var ag="";var ad=H(this).parents(".wc-comment-right").attr("id");ad=ad.substring(ad.lastIndexOf("-")+1);var ae;if(H(this).hasClass("wc-up")){ae=1}else{ae=-1}var ah="commentId="+ad+"&voteType="+ae;d("voteOnComment",ah).done(function(ai){try{var ak=H.parseJSON(ai);af=ak.code;if(parseInt(af)>=0){var al=H(".wc-comment-footer .wc-vote-result",H("#comment-"+ad));H(al).text(parseInt(H(al).text())+ae)}else{ag=wpdiscuz_ajax_obj.wpdiscuz_options[af];v(ac,af,ag,false)}}catch(aj){console.log(aj)}H(".wpdiscuz-loading-bar").hide()})});H(document).delegate(".wpdiscuz-sort-button","click",function(){s=H("#wpdiscuzHasMoreComments").val();if(!(H(this).hasClass("wpdiscuz-sort-button-active"))){var af=H(this);if(H(this).hasClass("wpdiscuz-vote-sort-up")){o="by_vote";a="desc"}else{o="comment_date_gmt";a=H(this).hasClass("wpdiscuz-date-sort-desc")?"desc":"asc"}var ae="orderBy="+o+"&order="+a;var ac="";var ad="";d("wpdiscuzSorting",ae).done(function(ag){try{var ai=H.parseJSON(ag);ac=ai.code;ad=ai.message;if(parseInt(ac)>0){H("#wpcomm .wc-thread-wrapper .wc-comment").each(function(){H(this).remove()});H("#wpcomm .wc-thread-wrapper").prepend(ad);b=parseInt(ai.loadCount)}else{}O(af);u(ai)}catch(ah){console.log(ah)}f();I();H(".wpdiscuz-loading-bar").hide()})}});function O(ac){H(".wpdiscuz-sort-buttons .wpdiscuz-sort-button").each(function(){H(this).removeClass("wpdiscuz-sort-button-active")});ac.addClass("wpdiscuz-sort-button-active")}function ab(){var ag=location.href;var af=ag.match(/#comment\-(\d+)/);if(af!==null){var ad=af[1];if(!H("#comment-"+ad).length){var ae="commentId="+ad;var ac=d("getSingleComment",ae);ac.done(function(ah){try{var aj=H.parseJSON(ah);H(".wc-thread-wrapper").prepend(aj.message);H("html, body").animate({scrollTop:H(".wc-thread-wrapper").offset().top},1000)}catch(ai){console.log(ai)}I();H(".wpdiscuz-loading-bar").hide()})}}}ab();if(l>0&&W&&(V||(!V&&!A))){setInterval(R,parseInt(k)*1000)}function R(){var af=E();var ad=(H.cookie("wc_author_email")!=undefined&&H.cookie("wc_author_email")!="")?H.cookie("wc_author_email"):"";var ae="loadLastCommentId="+W+"&visibleCommentIds="+af+"&email="+ad;var ac=d("liveUpdate",ae);ac.done(function(ah){try{var am=H.parseJSON(ah);if(am.code==1){if(l==1){C(am)}else{x=x.concat(am.message.comments);Q=Q.concat(am.message.author_replies);var ai=x.length;var ag=Q.length;if(ai>0){var ak=ai+" ";ak+=ai>1?wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_comments_button_text:wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_comment_button_text;H(".wc_new_comment").html(ak).show()}else{H(".wc_new_comment").hide()}if(ag>0){var aj=ag+" ";aj+=ag>1?wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_replies_button_text:wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_reply_button_text;H(".wc_new_reply").html(aj).show()}else{H(".wc_new_reply").hide()}}H(".wc_header_text_count").html(am.wc_all_comments_count_new);W=am.loadLastCommentId}}catch(al){console.log(al)}I();H(".wpdiscuz-loading-bar").hide()})}function C(af){if(af.message!==undefined){var ac;var ae=af.message;for(var ad=0;ad<ae.length;ad++){ac=ae[ad];z(ac.comment_parent,ac.comment_html)}f()}}H(document).delegate(".wc-update-on-click","click",function(){var ac;var ad=H(this);if(ad.hasClass("wc_new_comment")){ac="newCommentIds="+x.join()}else{ac="newCommentIds="+Q.join()}d("updateOnClick",ac).done(function(ae){try{var ag=H.parseJSON(ae);C(ag);if(ad.hasClass("wc_new_comment")){x=[];H(".wc_new_comment").hide()}else{Q=[];H(".wc_new_reply").hide()}}catch(af){console.log(af)}I();H(".wpdiscuz-loading-bar").hide()})});H(document).delegate(".wpdiscuz-readmore","click",function(){var ae=p(H(this));var ac=aa(ae);var ad="commentId="+ac;d("readMore",ad).done(function(af){try{var ah=H.parseJSON(af);if(ah.code){H("#comment-"+ac+" > .wc-comment-text").html(" "+ah.message);H("#wpdiscuz-readmore-"+ae).remove()}}catch(ag){console.log(ag)}H(".wpdiscuz-loading-bar").hide()})});function v(ag,ad,af,ae){var ac;var ah;if(ae){ah=ag.parents(".wc-form-wrapper")}else{ah=ag.closest(".wc-comment")}ac=ah.children(".wpdiscuz-comment-message");ac.addClass(ad);ac.html(af);ac.show().delay(4000).fadeOut(1000,function(){ac.removeClass();ac.addClass("wpdiscuz-comment-message");ac.html("")})}function j(ad){var ae=p(ad,0);H("#wpdiscuz_form_anchor-"+ae).before(N(ae));var ac=H("#wc-secondary-form-wrapper-"+ae);ac.slideToggle(700,function(){ad.addClass("wpdiscuz-clonned")});T(H(".wc_captcha_refresh_img",ac))}function N(ad){var ac=H("#wpdiscuz_hidden_secondary_form").html();return ac.replace(/wpdiscuzuniqueid/g,ad)}function p(ae,ad){var ac="";if(ad){ac=ae.parents(".wc-main-form-wrapper").attr("id")}else{ac=ae.parents(".wc-comment").attr("id")}var af=ac.substring(ac.lastIndexOf("-")+1);return af}function aa(ac){return ac.substring(0,ac.indexOf("_"))}function y(){var ac=H(".wc-load-more-link").attr("href");return ac.substring(ac.lastIndexOf("=")+1)}function S(ac){var ad=H(".wc-load-more-link").attr("href");H(".wc-load-more-link").attr("href",ad.replace(/[\d]+$/m,ac));if(F!=2){H(".wpdiscuz-comment-pagination").show()}}function G(ae){var ad=ae.attr("class");var ac=ad.split(" ");var af="";H.each(ac,function(ag,ah){if("wc_comment_level"===c(ah,false)){af=c(ah,true)}});return parseInt(af)+1}function c(ac,ad){var ae="";if(ad){ae=ac.substring(ac.indexOf("-")+1)}else{ae=ac.substring(0,ac.indexOf("-"))}return ae}function z(ae,ad){if(ae==0){H(".wc-thread-wrapper").prepend(ad)}else{var ac=p(H("#comment-"+ae),0);H("#wpdiscuz_form_anchor-"+ac).after(ad)}}function E(){var ae;var ac;var ad="";H(".wc-comment-right").each(function(){ae=p(H(this),0);ac=aa(ae);ad+=ac+","});return ad}function I(){H(".wc-comment-img-link").tooltipster({trigger:"click",contentAsHTML:true,interactive:true,multiple:true});H(".wc_tooltipster").tooltipster({offsetY:2,multiple:true})}function h(){if(H(".wc_social_plugin_wrapper .wp-social-login-provider-list").length){H(".wc_social_plugin_wrapper .wp-social-login-provider-list").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(H(".wc_social_plugin_wrapper .the_champ_login_container").length){H(".wc_social_plugin_wrapper .the_champ_login_container").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(H(".wc_social_plugin_wrapper .social_connect_form").length){H(".wc_social_plugin_wrapper .social_connect_form").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(H(".wc_social_plugin_wrapper .oneall_social_login_providers").length){H(".wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}}}}}function f(){H("#wcThreadWrapper .wc-comment").each(function(ac){if(H("> .wc-reply",this).length){H("> .wc-comment-right .wc-comment-footer .wc-toggle",this).removeClass("wpdiscuz-hidden")}})}function d(ad,ac){if(ad!=="liveUpdate"){H(".wpdiscuz-loading-bar").show()}ac+="&postId="+q;return H.ajax({type:"POST",url:wpdiscuz_ajax_obj.url,data:{wpdiscuzAjaxData:ac,action:ad}})}function P(){H(".wpdiscuz_reset").val("")}});
1
 
2
+ jQuery(document).ready(function(I){I("body").addClass("wpdiscuz_"+wpdiscuz_ajax_obj.wpdiscuz_options.version);wpdiscuzValidator.message.invalid=wpdiscuz_ajax_obj.wpdiscuz_options.wc_invalid_field;wpdiscuzValidator.message.empty=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_empty_text;wpdiscuzValidator.message.email=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_email_text;wpdiscuzValidator.message.url=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_url_text;wpdiscuzValidator.message.min=wpdiscuz_ajax_obj.wpdiscuz_options.wc_msg_input_min_length;wpdiscuzValidator.message.max=wpdiscuz_ajax_obj.wpdiscuz_options.wc_msg_input_max_length;var W=wpdiscuz_ajax_obj.wpdiscuz_options.is_user_logged_in;var u=wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide==0&&!W;var V=wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide_for_members>0&&W;var C=wpdiscuz_ajax_obj.wpdiscuz_options.isCaptchaInSession;var G=wpdiscuz_ajax_obj.wpdiscuz_options.commentListLoadType;var aa=wpdiscuz_ajax_obj.wpdiscuz_options.wordpressIsPaginate;var r=wpdiscuz_ajax_obj.wpdiscuz_options.wc_post_id;var m=wpdiscuz_ajax_obj.wpdiscuz_options.commentListUpdateType;var k=wpdiscuz_ajax_obj.wpdiscuz_options.commentListUpdateTimer;var B=wpdiscuz_ajax_obj.wpdiscuz_options.liveUpdateGuests;var X=wpdiscuz_ajax_obj.wpdiscuz_options.loadLastCommentId;var a=wpdiscuz_ajax_obj.wpdiscuz_options.wordpress_comment_order;var M=wpdiscuz_ajax_obj.wpdiscuz_options.commentsVoteOrder;var E=wpdiscuz_ajax_obj.wpdiscuz_options.storeCommenterData;var b=1;var p="comment_date_gmt";var R=[];var y=[];var o=wpdiscuz_ajax_obj.wpdiscuz_options.wpDiscuzReCaptcha;var l=wpdiscuz_ajax_obj.wpdiscuz_options.uploader;J();h();f();if(M){I(".wpdiscuz-vote-sort-up").addClass("wpdiscuz-sort-button-active");p="by_vote"}else{I(".wpdiscuz-date-sort-"+a).addClass("wpdiscuz-sort-button-active")}I("#wc_unsubscribe_message").delay(7000).fadeOut(1500,function(){I(this).remove();location.href=location.href.substring(0,location.href.indexOf("subscribeAnchor")-1)});if(I(".wc_main_comm_form").length){e()}I(document).delegate(".wc-reply-link","click",function(){if(I(this).hasClass("wpdiscuz-clonned")){I("#wc-secondary-form-wrapper-"+q(I(this),0)).slideToggle(700)}else{j(I(this))}e()});I(document).delegate("textarea.wc_comment","focus",function(){if(!(I(this).next(".autogrow-textarea-mirror").length)){I(this).autoGrow()}var ad=I(this).parents(".wc-form-wrapper");I(".wc-form-footer",ad).slideDown(700)});I(document).delegate(".wc-share-link","click",function(){var ad=I(this).parents(".wc-comment-right");I(".share_buttons_box",ad).slideToggle(1000)});I(document).delegate(".wpdiscuz-nofollow,.wc_captcha_refresh_img,.wc-toggle,.wc-load-more-link","click",function(ad){ad.preventDefault()});I(document).delegate(".wc-toggle","click",function(){var ae=q(I(this),0);var ad=I(this);I("#wc-comm-"+ae+"> .wc-reply").slideToggle(700,function(){if(I(this).is(":hidden")){ad.html(wpdiscuz_ajax_obj.wpdiscuz_options.wc_show_replies_text+" &or;")}else{ad.html(wpdiscuz_ajax_obj.wpdiscuz_options.wc_hide_replies_text+" &and;")}})});I(document).delegate(".wc-new-loaded-comment","mouseenter",function(){if(I(this).hasClass("wc-reply")){I(">.wc-comment-right",this).css("backgroundColor",wpdiscuz_ajax_obj.wpdiscuz_options.wc_reply_bg_color)}else{I(">.wc-comment-right",this).css("backgroundColor",wpdiscuz_ajax_obj.wpdiscuz_options.wc_comment_bg_color)}});I(document).delegate(".wc_captcha_refresh_img","click",function(){U(I(this))});function U(am){if(!o&&(u||V)){var ae=am.parents(".wc-form-wrapper");var ag=I(".wpdiscuz-cnonce",ae);if(C){var af=g();var an=I(am).prev().children(".wc_captcha_img");var ad=an.attr("src");var aj=ad.substring(0,ad.indexOf("=")+1);an.attr("src",aj+af+"&r="+Math.random());ag.attr("id",af);ag.attr("value",af)}else{var ak=ae.hasClass("wc-secondary-form-wrapper")?0:1;var ai=q(am,ak);var ah="uniqueId="+ai;var al=d("generateCaptcha",ah);al.done(function(ap){try{var au=I.parseJSON(ap);if(au.code==1){var ar=I(am).prev().children(".wc_captcha_img");var av=ar.attr("src");var ao=av.lastIndexOf("/")+1;var aq=av.substring(0,ao)+au.message;ar.attr("src",aq);ag.attr("id",au.key);ag.attr("value",au.key)}}catch(at){console.log(at)}I(".wpdiscuz-loading-bar").hide()})}}}function g(){var ad="123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";var ae="c";for(i=0;i<13;i++){ae+=ad[Math.floor(Math.random()*(ad.length-1)+1)]}return ae}I(document).delegate(".wc_comm_submit","click",function(){var ah=1;var ae=I(this).parents("form");if(!ae.hasClass("wc_main_comm_form")){ah=H(I(this).parents(".wc-comment"))}if(!wpdiscuz_ajax_obj.wpdiscuz_options.is_email_field_required&&I(".wc_email",ae).val()){I(".wc_email",ae).attr("required","required")}if(!wpdiscuz_ajax_obj.wpdiscuz_options.is_email_field_required&&!(I(".wc_email",ae).val())){I(".wc_email",ae).removeAttr("required");I(".wc_email",ae).next(".alert").html("")}if(wpdiscuzValidator.checkAll(ae)){var ad=ae.serialize()+"&wc_comment_depth="+ah;if(!o&&(u||V)&&!C){var af=I(".wc_captcha_img",ae);var ag=af.attr("src");var aj=ag.lastIndexOf("/")+1;var ai=ag.substring(aj);ad+="&fileName="+ai}if(I.cookie("wc_author_name")&&!I(".wc_name",ae).val()){ad+="&wc_name="+I.cookie("wc_author_name")}if(I.cookie("wc_author_email")&&!I(".wc_email",ae).val()){ad+="&wc_email="+I.cookie("wc_author_email")}if(wpdiscuz_ajax_obj.wpdiscuz_options.wpdiscuz_zs){ad+="&wpdiscuz_zs="+wpdiscuz_ajax_obj.wpdiscuz_options.wpdiscuz_zs}d("addComment",ad).done(function(al){var am="";var an="";try{var ap=I.parseJSON(al);am=ap.code;if(parseInt(am)>=0){var ak=ap.is_main;an=ap.message;I(".wc_header_text_count").html(ap.wc_all_comments_count_new);if(ak){I(".wc-thread-wrapper").prepend(an)}else{I("#wc-secondary-form-wrapper-"+am).slideToggle(700);if(ap.is_in_same_container==1){I("#wc-secondary-form-wrapper-"+am).after(an)}else{I("#wc-secondary-form-wrapper-"+am).after(an.replace("wc-reply","wc-reply wc-no-left-margin"))}}s(ap);Z(ap);x(ae,ap);ae.get(0).reset();e();f();I(".wc_comment",ae).css("height","45.6px")}else{an=wpdiscuz_ajax_obj.wpdiscuz_options[am];w(ae,am,an,true)}}catch(ao){if(al.indexOf("<")>=0&&al.indexOf(">")>=0){an=ao}else{an=al}w(ae,"wc_invalid_field",an,true)}J();I(".wpdiscuz-loading-bar").hide()})}U(I(".wc_captcha_refresh_img",ae));Q()});function s(af){if(!af.held_moderate){var ae="comment_id="+af.new_comment_id+"&email="+af.user_email+"&isParent="+af.is_main;var ad=d("checkNotificationType",ae);ad.done(function(ag){try{af=I.parseJSON(ag)}catch(ah){console.log(ah)}})}}function Z(af){if(af.redirect>0&&af.new_comment_id){var ae="commentId="+af.new_comment_id;var ad=d("redirect",ae);ad.done(function(ag){af=I.parseJSON(ag);if(af.code==1){setTimeout(function(){window.location.href=af.redirect_to},5000)}})}}function e(){if(I.cookie("wc_author_name")&&I.cookie("wc_author_name").indexOf("Anonymous")<0){I(".wc_comm_form .wc_name").val(I.cookie("wc_author_name"))}if(I.cookie("wc_author_email")&&I.cookie("wc_author_email").indexOf("@example.com")<0){I(".wc_comm_form .wc_email").val(I.cookie("wc_author_email"))}if(I.cookie("wc_author_website")){I(".wc_comm_form .wc_website").val(I.cookie("wc_author_website"))}}function x(af,ag){var ae="";var ad="";if(I(".wc_email",af).val()){ae=I(".wc_email",af).val()}else{ae=ag.user_email}if(I(".wc_name",af).val()){ad=I(".wc_name",af).val()}else{ad=ag.user_name}if(E==null){I.cookie("wc_author_email",ae);I.cookie("wc_author_name",ad);I.cookie("wc_author_website",I(".wc_website",af).val())}else{E=parseInt(E);I.cookie("wc_author_email",ae,{expires:E,path:"/"});I.cookie("wc_author_name",ad,{expires:E,path:"/"});I.cookie("wc_author_website",I(".wc_website",af).val(),{expires:E,path:"/"})}}var Y;I(document).delegate(".wc_editable_comment","click",function(){var ag=q(I(this),0);var ad=ab(ag);var af=I(this);var ae="commentId="+ad;Y=I("#wc-comm-"+ag+" .wc-comment-text").html();d("editComment",ae).done(function(ai){try{var am=I.parseJSON(ai);var ak="";var aj=am.code;if(parseInt(aj)>=0){var ah='<textarea required="required" name="wc_comment" class="wc_comment wc_field_input wc_edit_comment" id="wc_edit_comment-'+ag+'" style="min-height: 2em;">'+am.message+"</textarea>";I("#wc-comm-"+ag+" > .wc-comment-right .wc-comment-text").replaceWith(ah);document.getElementById("wc_edit_comment-"+ag).focus();I("#wc-comm-"+ag+" > .wc-comment-right .wc-comment-footer .wc_save_edited_comment").show();ah="";I("#wc-comm-"+ag+" > .wc-comment-right .wc-comment-footer .wc_editable_comment").hide();I("#wc-comm-"+ag+" > .wc-comment-right .wc-comment-footer .wc_cancel_edit").show()}else{ak=wpdiscuz_ajax_obj.wpdiscuz_options[aj];w(af,aj,ak,false)}}catch(al){console.log(al)}I(".wpdiscuz-loading-bar").hide()})});I(document).delegate(".wc_save_edited_comment","click",function(){var ai=q(I(this));var ae=ab(ai);var ad=I("#wc-comm-"+ai+" textarea#wc_edit_comment-"+ai);var af=ad.val();var ah=I(this);if(I.trim(af).length>0){var ag="commentId="+ae+"&commentContent="+af;d("saveEditedComment",ag).done(function(aj){try{var an=I.parseJSON(aj);var ak=an.code;var al="";if(parseInt(ak)>=0){N(ai,an.message)}else{al=wpdiscuz_ajax_obj.wpdiscuz_options[ak];w(ah,ak,al,false)}ad="";af=""}catch(am){console.log(am)}I(".wpdiscuz-loading-bar").hide()})}});I(document).delegate(".wc_cancel_edit","click",function(){var ad=q(I(this));N(ad,Y)});function N(af,ae){I("#wc-comm-"+af+" > .wc-comment-right .wc-comment-footer .wc_editable_comment").show();I("#wc-comm-"+af+" > .wc-comment-right .wc-comment-footer .wc_cancel_edit").hide();I("#wc-comm-"+af+" > .wc-comment-right .wc-comment-footer .wc_save_edited_comment").hide();var ad='<div class="wc-comment-text">'+n(ae)+"</div>";I("#wc-comm-"+af+" #wc_edit_comment-"+af).replaceWith(ad)}function n(ag,af){var ae=(af||typeof af==="undefined")?"<br/>":"<br>";var ad=(ag+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1"+ae+"$2");return ad.replace("<br><br>","<br/>")}I(document).delegate(".wc-load-more-submit","click",function(){L()});var t=I("#wpdiscuzHasMoreComments").val();var K=false;if(G==2&&!aa){I(".wc-load-more-submit").parents(".wpdiscuz-comment-pagination").hide();I(window).scroll(function(){var ad=document.getElementById("wcThreadWrapper").scrollHeight;if(I(window).scrollTop()>=ad&&K===false&&t==1){K=true;L()}})}function L(){var ad;ad="offset="+b+"&orderBy="+p+"&order="+a+"&lastParentId="+z();b++;d("loadMoreComments",ad).done(function(ae){try{var ag=I.parseJSON(ae);I(".wpdiscuz-comment-pagination").before(ag.comment_list);v(ag);I(".wpdiscuz_single").remove();K=false;f()}catch(af){console.log(af)}J();I(".wpdiscuz-loading-bar").hide();I(".wc-load-more-submit").blur()})}function v(ae){var ad=0;if(ae.is_show_load_more==false){ad=0;t=0;I(".wc-load-more-submit").parents(".wpdiscuz-comment-pagination").hide()}else{T(ae.last_parent_id);t=1;ad=1}I("#wpdiscuzHasMoreComments").val(ad)}I(document).delegate(".wc_vote","click",function(){var ad=I(this);var ag="";var ah="";var ae=I(this).parents(".wc-comment-right").attr("id");ae=ae.substring(ae.lastIndexOf("-")+1);var af;if(I(this).hasClass("wc-up")){af=1}else{af=-1}var ai="commentId="+ae+"&voteType="+af;d("voteOnComment",ai).done(function(aj){try{var al=I.parseJSON(aj);ag=al.code;if(parseInt(ag)>=0){var am=I(".wc-comment-footer .wc-vote-result",I("#comment-"+ae));I(am).text(parseInt(I(am).text())+af)}else{ah=wpdiscuz_ajax_obj.wpdiscuz_options[ag];w(ad,ag,ah,false)}}catch(ak){console.log(ak)}I(".wpdiscuz-loading-bar").hide()})});I(document).delegate(".wpdiscuz-sort-button","click",function(){t=I("#wpdiscuzHasMoreComments").val();if(!(I(this).hasClass("wpdiscuz-sort-button-active"))){var ag=I(this);if(I(this).hasClass("wpdiscuz-vote-sort-up")){p="by_vote";a="desc"}else{p="comment_date_gmt";a=I(this).hasClass("wpdiscuz-date-sort-desc")?"desc":"asc"}var af="orderBy="+p+"&order="+a;var ad="";var ae="";d("wpdiscuzSorting",af).done(function(ah){try{var aj=I.parseJSON(ah);ad=aj.code;ae=aj.message;if(parseInt(ad)>0){I("#wpcomm .wc-thread-wrapper .wc-comment").each(function(){I(this).remove()});I("#wpcomm .wc-thread-wrapper").prepend(ae);b=parseInt(aj.loadCount)}else{}P(ag);v(aj)}catch(ai){console.log(ai)}f();J();I(".wpdiscuz-loading-bar").hide()})}});function P(ad){I(".wpdiscuz-sort-buttons .wpdiscuz-sort-button").each(function(){I(this).removeClass("wpdiscuz-sort-button-active")});ad.addClass("wpdiscuz-sort-button-active")}function ac(){var ah=location.href;var ag=ah.match(/#comment\-(\d+)/);if(ag!==null){var ae=ag[1];if(!I("#comment-"+ae).length){var af="commentId="+ae;var ad=d("getSingleComment",af);ad.done(function(ai){try{var ak=I.parseJSON(ai);I(".wc-thread-wrapper").prepend(ak.message);I("html, body").animate({scrollTop:I(".wc-thread-wrapper").offset().top},1000)}catch(aj){console.log(aj)}J();I(".wpdiscuz-loading-bar").hide()})}}}ac();if(m>0&&X&&(W||(!W&&!B))){setInterval(S,parseInt(k)*1000)}function S(){var ag=F();var ae=(I.cookie("wc_author_email")!=undefined&&I.cookie("wc_author_email")!="")?I.cookie("wc_author_email"):"";var af="loadLastCommentId="+X+"&visibleCommentIds="+ag+"&email="+ae;var ad=d("liveUpdate",af);ad.done(function(ai){try{var an=I.parseJSON(ai);if(an.code==1){if(m==1){D(an)}else{y=y.concat(an.message.comments);R=R.concat(an.message.author_replies);var aj=y.length;var ah=R.length;if(aj>0){var al=aj+" ";al+=aj>1?wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_comments_button_text:wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_comment_button_text;I(".wc_new_comment").html(al).show()}else{I(".wc_new_comment").hide()}if(ah>0){var ak=ah+" ";ak+=ah>1?wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_replies_button_text:wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_reply_button_text;I(".wc_new_reply").html(ak).show()}else{I(".wc_new_reply").hide()}}I(".wc_header_text_count").html(an.wc_all_comments_count_new);X=an.loadLastCommentId}}catch(am){console.log(am)}J();I(".wpdiscuz-loading-bar").hide()})}function D(ag){if(ag.message!==undefined){var ad;var af=ag.message;for(var ae=0;ae<af.length;ae++){ad=af[ae];A(ad.comment_parent,ad.comment_html)}f()}}I(document).delegate(".wc-update-on-click","click",function(){var ad;var ae=I(this);if(ae.hasClass("wc_new_comment")){ad="newCommentIds="+y.join()}else{ad="newCommentIds="+R.join()}d("updateOnClick",ad).done(function(af){try{var ah=I.parseJSON(af);D(ah);if(ae.hasClass("wc_new_comment")){y=[];I(".wc_new_comment").hide()}else{R=[];I(".wc_new_reply").hide()}}catch(ag){console.log(ag)}J();I(".wpdiscuz-loading-bar").hide()})});I(document).delegate(".wpdiscuz-readmore","click",function(){var af=q(I(this));var ad=ab(af);var ae="commentId="+ad;d("readMore",ae).done(function(ag){try{var ai=I.parseJSON(ag);if(ai.code){I("#comment-"+ad+" > .wc-comment-text").html(" "+ai.message);I("#wpdiscuz-readmore-"+af).remove()}}catch(ah){console.log(ah)}I(".wpdiscuz-loading-bar").hide()})});function w(ah,ae,ag,af){var ad;var ai;if(af){ai=ah.parents(".wc-form-wrapper")}else{ai=ah.closest(".wc-comment")}ad=ai.children(".wpdiscuz-comment-message");ad.addClass(ae);ad.html(ag);ad.show().delay(4000).fadeOut(1000,function(){ad.removeClass();ad.addClass("wpdiscuz-comment-message");ad.html("")})}function j(ae){var af=q(ae,0);I("#wpdiscuz_form_anchor-"+af).before(O(af));var ad=I("#wc-secondary-form-wrapper-"+af);ad.slideToggle(700,function(){ae.addClass("wpdiscuz-clonned")});U(I(".wc_captcha_refresh_img",ad))}function O(ae){var ad=I("#wpdiscuz_hidden_secondary_form").html();return ad.replace(/wpdiscuzuniqueid/g,ae)}function q(af,ae){var ad="";if(ae){ad=af.parents(".wc-main-form-wrapper").attr("id")}else{ad=af.parents(".wc-comment").attr("id")}var ag=ad.substring(ad.lastIndexOf("-")+1);return ag}function ab(ad){return ad.substring(0,ad.indexOf("_"))}function z(){var ad=I(".wc-load-more-link").attr("href");return ad.substring(ad.lastIndexOf("=")+1)}function T(ad){var ae=I(".wc-load-more-link").attr("href");I(".wc-load-more-link").attr("href",ae.replace(/[\d]+$/m,ad));if(G!=2){I(".wpdiscuz-comment-pagination").show()}}function H(af){var ae=af.attr("class");var ad=ae.split(" ");var ag="";I.each(ad,function(ah,ai){if("wc_comment_level"===c(ai,false)){ag=c(ai,true)}});return parseInt(ag)+1}function c(ad,ae){var af="";if(ae){af=ad.substring(ad.indexOf("-")+1)}else{af=ad.substring(0,ad.indexOf("-"))}return af}function A(af,ae){if(af==0){I(".wc-thread-wrapper").prepend(ae)}else{var ad=q(I("#comment-"+af),0);I("#wpdiscuz_form_anchor-"+ad).after(ae)}}function F(){var af;var ad;var ae="";I(".wc-comment-right").each(function(){af=q(I(this),0);ad=ab(af);ae+=ad+","});return ae}function J(){I(".wc-comment-img-link").tooltipster({trigger:"click",contentAsHTML:true,interactive:true,multiple:true});I(".wc_tooltipster").tooltipster({offsetY:2,multiple:true})}function h(){if(I(".wc_social_plugin_wrapper .wp-social-login-provider-list").length){I(".wc_social_plugin_wrapper .wp-social-login-provider-list").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(I(".wc_social_plugin_wrapper .the_champ_login_container").length){I(".wc_social_plugin_wrapper .the_champ_login_container").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(I(".wc_social_plugin_wrapper .social_connect_form").length){I(".wc_social_plugin_wrapper .social_connect_form").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(I(".wc_social_plugin_wrapper .oneall_social_login_providers").length){I(".wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}}}}}function f(){I("#wcThreadWrapper .wc-comment").each(function(ad){if(I("> .wc-reply",this).length){I("> .wc-comment-right .wc-comment-footer .wc-toggle",this).removeClass("wpdiscuz-hidden")}})}function d(ae,ad){if(ae!=="liveUpdate"){I(".wpdiscuz-loading-bar").show()}ad+="&postId="+r;return I.ajax({type:"POST",url:wpdiscuz_ajax_obj.url,data:{wpdiscuzAjaxData:ad,action:ae}})}function Q(){I(".wpdiscuz_reset").val("")}});
assets/third-party/validator/validator.min.js CHANGED
@@ -1,2 +1,2 @@
1
-
2
  var wpdiscuzValidator=(function(c){var l,e,o,q,h,s,b,g,j,r,m,t,u,f,v,a=/[\(\)\<\>\,\;\:\\\/\"\[\]]/,d=/^.+@.+\..{2,50}$/;l={invalid:"invalid input",empty:"please put something here",min:"input is too short",max:"input is too long",number_min:"too low",number_max:"too high",url:"invalid URL",number:"not a number",email:"email address is invalid",email_repeat:"emails do not match",password_repeat:"passwords do not match",repeat:"no match",complete:"input is not complete",select:"Please select an option"};if(!window.console){console={};console.log=console.warn=function(){return}}j={alerts:true};e={sameAsPlaceholder:function(w){return c.fn.placeholder&&w.attr("placeholder")!==undefined&&v.val==w.prop("placeholder")},hasValue:function(w){if(!w){f=l.empty;return false}return true},linked:function(x,w){if(w!=x){f=l[v.type+"_repeat"]||l.no_match;return false}return true},email:function(w){if(!d.test(w)||w.match(a)){f=w?l.email:l.empty;return false}return true},text:function(x){if(r){var C=x.split(" ");var B=function(D){for(var E=C.length;E--;){if(C[E].length<D){return false}}return true};if(C.length<r||!B(2)){f=l.complete;return false}return true}if(m&&x.length<m[0]){f=l.min;return false}if(m&&m[1]&&x.length>m[1]){f=l.max;return false}if(t&&t.length){var A=false;while(t.length){if(t.pop()==x.length){A=true}}if(!A){f=l.complete;return false}}if(u){var z,w;switch(u){case"alphanumeric":z=/^[a-z0-9]+$/i;break;case"numeric":z=/^[0-9]+$/i;break;case"phone":z=/^\+?([0-9]|[-|' '])+$/i;break;default:z=u}try{w=new RegExp(z).test(x);if(x&&!w){return false}}catch(y){console.log(y,b,"regex is invalid");return false}}return true},number:function(w){if(isNaN(parseFloat(w))&&!isFinite(w)){f=l.number;return false}else{if(m&&w.length<m[0]){f=l.min;return false}else{if(m&&m[1]&&w.length>m[1]){f=l.max;return false}else{if(g[0]&&(w|0)<g[0]){f=l.number_min;return false}else{if(g[1]&&(w|0)>g[1]){f=l.number_max;return false}}}}}return true},date:function(x){var y,w=x.split(/[-./]/g),z;if(b[0].valueAsNumber){return true}for(z=w.length;z--;){if(isNaN(parseFloat(x))&&!isFinite(x)){return false}}try{y=new Date(w[2],w[1]-1,w[0]);if(y.getMonth()+1==w[1]&&y.getDate()==w[0]){return y}return false}catch(B){console.log("date test: ",err);return false}},url:function(w){function x(y){return/^(?:(?:https?|ftp):\/\/)?(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i.test(y)}if(!x(w)){console.log(w);f=w?l.url:l.empty;return false}return true},hidden:function(w){if(m&&w.length<m[0]){f=l.min;return false}if(u){var x;if(u=="alphanumeric"){x=/^[a-z0-9]+$/i;if(!x.test(w)){return false}}}return true},select:function(w){if(!e.hasValue(w)){f=l.select;return false}return true}};h=function(y,z){if(!z||!y||!y.length){return false}var x=y.parents(".wpdiscuz-item"),w;if(x.hasClass("bad")){if(j.alerts){x.find(".alert").html(z)}}else{if(j.alerts){w=c('<div class="alert">').html(z);x.append(w)}}x.removeClass("bad");setTimeout(function(){x.addClass("bad")},0)};s=function(w){if(!w||!w.length){console.warn('no "field" argument, null or DOM object not found');return false}w.parents(".wpdiscuz-item").removeClass("bad").find(".alert").remove()};function k(w,x){if(w=="tel"){u=u||"phone"}if(!w||w=="password"||w=="tel"){w="text"}return e[w](x)}function p(w){b=c(w);b.data("valid",true);b.data("type",b.attr("type"));u=b.attr("pattern")}function i(w){p(this);if(w.charCode){return k(this.type,String.fromCharCode(w.charCode))}}function o(){if(this.type!="hidden"&&c(this).is(":hidden")){return true}p(this);b.data("val",b[0].value.replace(/^\s+|\s+$/g,""));v=b.data();f=l[b.prop("name")]||l.invalid;if(b[0].nodeName.toLowerCase()==="select"){v.type="select"}if(b[0].nodeName.toLowerCase()==="textarea"){v.type="text"}r=v.validateWords||0;m=v.validateLengthRange?(v.validateLengthRange+"").split(","):[1];t=v.validateLength?(v.validateLength+"").split(","):false;g=v.validateMinmax?(v.validateMinmax+"").split(","):"";v.valid=e.hasValue(v.val);if(v.valid){if(e.sameAsPlaceholder(b)){f=l.empty;v.valid=false}if(v.validateLinked){var w=v.validateLinked.indexOf("#")==0?c(v.validateLinked):c(":input[name="+v.validateLinked+"]");v.valid=e.linked(v.val,w.val())}else{if(v.valid||v.type=="select"){v.valid=k(v.type,v.val)}}}if(b.hasClass("wpdiscuz_optional")&&!v.val){v.valid=true}if(v.valid){s(b)}else{h(b,f);submit=false}return v.valid}function n(w){w=c(w);if(w.length==0){console.warn("element not found");return false}var y=this,z=true,x=w.find(":input").filter("[required=required], .required, .wpdiscuz_optional").not("[disabled=disabled]");x.each(function(){z=z*o.apply(this)});return !!z}return{defaults:j,checkField:o,keypress:i,checkAll:n,mark:h,unmark:s,message:l,tests:e}})(jQuery);
1
+
2
  var wpdiscuzValidator=(function(c){var l,e,o,q,h,s,b,g,j,r,m,t,u,f,v,a=/[\(\)\<\>\,\;\:\\\/\"\[\]]/,d=/^.+@.+\..{2,50}$/;l={invalid:"invalid input",empty:"please put something here",min:"input is too short",max:"input is too long",number_min:"too low",number_max:"too high",url:"invalid URL",number:"not a number",email:"email address is invalid",email_repeat:"emails do not match",password_repeat:"passwords do not match",repeat:"no match",complete:"input is not complete",select:"Please select an option"};if(!window.console){console={};console.log=console.warn=function(){return}}j={alerts:true};e={sameAsPlaceholder:function(w){return c.fn.placeholder&&w.attr("placeholder")!==undefined&&v.val==w.prop("placeholder")},hasValue:function(w){if(!w){f=l.empty;return false}return true},linked:function(x,w){if(w!=x){f=l[v.type+"_repeat"]||l.no_match;return false}return true},email:function(w){if(!d.test(w)||w.match(a)){f=w?l.email:l.empty;return false}return true},text:function(x){if(r){var C=x.split(" ");var B=function(D){for(var E=C.length;E--;){if(C[E].length<D){return false}}return true};if(C.length<r||!B(2)){f=l.complete;return false}return true}if(m&&x.length<m[0]){f=l.min;return false}if(m&&m[1]&&x.length>m[1]){f=l.max;return false}if(t&&t.length){var A=false;while(t.length){if(t.pop()==x.length){A=true}}if(!A){f=l.complete;return false}}if(u){var z,w;switch(u){case"alphanumeric":z=/^[a-z0-9]+$/i;break;case"numeric":z=/^[0-9]+$/i;break;case"phone":z=/^\+?([0-9]|[-|' '])+$/i;break;default:z=u}try{w=new RegExp(z).test(x);if(x&&!w){return false}}catch(y){console.log(y,b,"regex is invalid");return false}}return true},number:function(w){if(isNaN(parseFloat(w))&&!isFinite(w)){f=l.number;return false}else{if(m&&w.length<m[0]){f=l.min;return false}else{if(m&&m[1]&&w.length>m[1]){f=l.max;return false}else{if(g[0]&&(w|0)<g[0]){f=l.number_min;return false}else{if(g[1]&&(w|0)>g[1]){f=l.number_max;return false}}}}}return true},date:function(x){var y,w=x.split(/[-./]/g),z;if(b[0].valueAsNumber){return true}for(z=w.length;z--;){if(isNaN(parseFloat(x))&&!isFinite(x)){return false}}try{y=new Date(w[2],w[1]-1,w[0]);if(y.getMonth()+1==w[1]&&y.getDate()==w[0]){return y}return false}catch(B){console.log("date test: ",err);return false}},url:function(w){function x(y){return/^(?:(?:https?|ftp):\/\/)?(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i.test(y)}if(!x(w)){console.log(w);f=w?l.url:l.empty;return false}return true},hidden:function(w){if(m&&w.length<m[0]){f=l.min;return false}if(u){var x;if(u=="alphanumeric"){x=/^[a-z0-9]+$/i;if(!x.test(w)){return false}}}return true},select:function(w){if(!e.hasValue(w)){f=l.select;return false}return true}};h=function(y,z){if(!z||!y||!y.length){return false}var x=y.parents(".wpdiscuz-item"),w;if(x.hasClass("bad")){if(j.alerts){x.find(".alert").html(z)}}else{if(j.alerts){w=c('<div class="alert">').html(z);x.append(w)}}x.removeClass("bad");setTimeout(function(){x.addClass("bad")},0)};s=function(w){if(!w||!w.length){console.warn('no "field" argument, null or DOM object not found');return false}w.parents(".wpdiscuz-item").removeClass("bad").find(".alert").remove()};function k(w,x){if(w=="tel"){u=u||"phone"}if(!w||w=="password"||w=="tel"){w="text"}return e[w](x)}function p(w){b=c(w);b.data("valid",true);b.data("type",b.attr("type"));u=b.attr("pattern")}function i(w){p(this);if(w.charCode){return k(this.type,String.fromCharCode(w.charCode))}}function o(){if(this.type!="hidden"&&c(this).is(":hidden")){return true}p(this);b.data("val",b[0].value.replace(/^\s+|\s+$/g,""));v=b.data();f=l[b.prop("name")]||l.invalid;if(b[0].nodeName.toLowerCase()==="select"){v.type="select"}if(b[0].nodeName.toLowerCase()==="textarea"){v.type="text"}r=v.validateWords||0;m=v.validateLengthRange?(v.validateLengthRange+"").split(","):[1];t=v.validateLength?(v.validateLength+"").split(","):false;g=v.validateMinmax?(v.validateMinmax+"").split(","):"";v.valid=e.hasValue(v.val);if(v.valid){if(e.sameAsPlaceholder(b)){f=l.empty;v.valid=false}if(v.validateLinked){var w=v.validateLinked.indexOf("#")==0?c(v.validateLinked):c(":input[name="+v.validateLinked+"]");v.valid=e.linked(v.val,w.val())}else{if(v.valid||v.type=="select"){v.valid=k(v.type,v.val)}}}if(b.hasClass("wpdiscuz_optional")&&!v.val){v.valid=true}if(v.valid){s(b)}else{h(b,f);submit=false}return v.valid}function n(w){w=c(w);if(w.length==0){console.warn("element not found");return false}var y=this,z=true,x=w.find(":input").filter("[required=required], .required, .wpdiscuz_optional").not("[disabled=disabled]");x.each(function(){z=z*o.apply(this)});return !!z}return{defaults:j,checkField:o,keypress:i,checkAll:n,mark:h,unmark:s,message:l,tests:e}})(jQuery);
class.WpdiscuzCore.php CHANGED
@@ -3,10 +3,10 @@
3
  /*
4
  * Plugin Name: wpDiscuz - Supercharged native comments
5
  * Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
6
- * Version: 3.2.0
7
  * Author: gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)
8
- * Author URI: http://www.gvectors.com/
9
- * Plugin URI: http://www.gvectors.com/wpdiscuz/
10
  * Text Domain: wpdiscuz
11
  * Domain Path: /languages/
12
  */
@@ -66,6 +66,12 @@ class WpdiscuzCore implements WpDiscuzConstants {
66
  add_action('wp_enqueue_scripts', array(&$this, 'frontEndStylesScripts'));
67
  add_action('admin_menu', array(&$this, 'addPluginOptionsPage'), -297);
68
 
 
 
 
 
 
 
69
  if (!$this->optionsSerialized->isCaptchaInSession && (!$this->optionsSerialized->captchaShowHide || $this->optionsSerialized->captchaShowHideForMembers)) {
70
  add_action('wp_ajax_generateCaptcha', array(&$this->helper, 'generateCaptcha'));
71
  add_action('wp_ajax_nopriv_generateCaptcha', array(&$this->helper, 'generateCaptcha'));
@@ -742,6 +748,11 @@ class WpdiscuzCore implements WpDiscuzConstants {
742
  wp_enqueue_script('wpdiscuz-jquery-cookie');
743
  wp_register_script('wpdiscuz-contenthover', plugins_url(WPDISCUZ_DIR_NAME . '/assets/third-party/contenthover/jquery.contenthover.min.js'), array('jquery'), '1.0.0', true);
744
  wp_enqueue_script('wpdiscuz-contenthover');
 
 
 
 
 
745
  }
746
 
747
  /**
@@ -852,7 +863,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
852
  }
853
  if (!@is_writable($this->helper->captchaDir)) {
854
  $this->optionsSerialized->isCaptchaInSession = 1;
855
- }
856
  }
857
 
858
  // Add settings link on plugin page
3
  /*
4
  * Plugin Name: wpDiscuz - Supercharged native comments
5
  * Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
6
+ * Version: 3.2.1
7
  * Author: gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)
8
+ * Author URI: http://gvectors.com/
9
+ * Plugin URI: http://wpdiscuz.com/
10
  * Text Domain: wpdiscuz
11
  * Domain Path: /languages/
12
  */
66
  add_action('wp_enqueue_scripts', array(&$this, 'frontEndStylesScripts'));
67
  add_action('admin_menu', array(&$this, 'addPluginOptionsPage'), -297);
68
 
69
+ $wp_version = get_bloginfo('version');
70
+ if (version_compare($wp_version, '4.2.0', '>=')) {
71
+ add_action('wp_ajax_dismiss_wpdiscuz_addon_note', array(&$this->options, 'dismissAddonNote'));
72
+ add_action('admin_notices', array(&$this->options, 'addonNote'));
73
+ }
74
+
75
  if (!$this->optionsSerialized->isCaptchaInSession && (!$this->optionsSerialized->captchaShowHide || $this->optionsSerialized->captchaShowHideForMembers)) {
76
  add_action('wp_ajax_generateCaptcha', array(&$this->helper, 'generateCaptcha'));
77
  add_action('wp_ajax_nopriv_generateCaptcha', array(&$this->helper, 'generateCaptcha'));
748
  wp_enqueue_script('wpdiscuz-jquery-cookie');
749
  wp_register_script('wpdiscuz-contenthover', plugins_url(WPDISCUZ_DIR_NAME . '/assets/third-party/contenthover/jquery.contenthover.min.js'), array('jquery'), '1.0.0', true);
750
  wp_enqueue_script('wpdiscuz-contenthover');
751
+ $wp_version = get_bloginfo('version');
752
+ if (version_compare($wp_version, '4.2.0', '>=')) {
753
+ wp_register_script('wpdiscuz-addon-notes', plugins_url(WPDISCUZ_DIR_NAME . '/assets/js/wpdiscuz-notes.js'), array('jquery'), '1.0.0', true);
754
+ wp_enqueue_script('wpdiscuz-addon-notes');
755
+ }
756
  }
757
 
758
  /**
863
  }
864
  if (!@is_writable($this->helper->captchaDir)) {
865
  $this->optionsSerialized->isCaptchaInSession = 1;
866
+ }
867
  }
868
 
869
  // Add settings link on plugin page
options/class.WpdiscuzOptions.php CHANGED
@@ -227,10 +227,56 @@ class WpdiscuzOptions {
227
  $this->addons = array(
228
  'recaptcha' => array('version' => '1.0.0', 'requires' => $wpdiscuzVersion, 'class' => 'WpdiscuzRecaptcha', 'title' => 'Google ReCaptcha', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'recaptcha' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Adds No CAPTCHA on all comment forms. Stops spam and bot comments with Google reCAPTCHA', 'wpdiscuz'), 'url' => 'http://gvectors.com/product/wpdiscuz-recaptcha/'),
229
  'mycred' => array('version' => '1.0.0', 'requires' => $wpdiscuzVersion, 'class' => 'myCRED_Hook_wpDiscuz_Vote', 'title' => 'myCRED Integration', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'mycred' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Integrates myCRED Badges and Ranks. Converts wpDiscuz comment votes/likes to myCRED points. ', 'wpdiscuz'), 'url' => 'http://gvectors.com/product/wpdiscuz-mycred/'),
230
- 'censore' => array('version' => '1.0.0', 'requires' => $wpdiscuzVersion, 'class' => 'CommentCensore', 'title' => 'Comment Censure', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'censore' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Allows censoring comment words. Filters comments and replaces those phrases with custom words.', 'wpdiscuz'), 'url' => 'http://gvectors.com/product/comment-censore/'),
231
  // 'uploader' => array('version' => '1.0.0', 'requires' => $wpdiscuzVersion, 'class' => 'WpdiscuzFileUploader', 'title' => 'File Uploder', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'fileuploader' . WPDISCUZ_DS . ''), 'desc' => __('Allow users add images, videos, files - and lorem ipsum goes here, and lorem ipsum goes here.', 'wpdiscuz'), 'url' => 'http://gvectors.com/product/advanced-content-pagination-pro/'),
232
  // 'avatarmanager' => array('version' => '1.0.0', 'requires' => $wpdiscuzVersion, 'class' => 'WpdiscuzAvatarManager', 'title' => 'Avatar Manager', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'avatarmanager' . WPDISCUZ_DS . ''), 'desc' => __('Lets blog users manage their avatars - and lorem ipsum goes here, and lorem ipsum.', 'wpdiscuz'), 'url' => 'http://gvectors.com/product/advanced-content-pagination-pro/'),
233
  );
234
  }
235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  }
227
  $this->addons = array(
228
  'recaptcha' => array('version' => '1.0.0', 'requires' => $wpdiscuzVersion, 'class' => 'WpdiscuzRecaptcha', 'title' => 'Google ReCaptcha', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'recaptcha' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Adds No CAPTCHA on all comment forms. Stops spam and bot comments with Google reCAPTCHA', 'wpdiscuz'), 'url' => 'http://gvectors.com/product/wpdiscuz-recaptcha/'),
229
  'mycred' => array('version' => '1.0.0', 'requires' => $wpdiscuzVersion, 'class' => 'myCRED_Hook_wpDiscuz_Vote', 'title' => 'myCRED Integration', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'mycred' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Integrates myCRED Badges and Ranks. Converts wpDiscuz comment votes/likes to myCRED points. ', 'wpdiscuz'), 'url' => 'http://gvectors.com/product/wpdiscuz-mycred/'),
230
+ 'censure' => array('version' => '1.0.0', 'requires' => $wpdiscuzVersion, 'class' => 'CommentCensure', 'title' => 'Comment Censure', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'censure' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Allows censoring comment words. Filters comments and replaces those phrases with custom words.', 'wpdiscuz'), 'url' => 'http://gvectors.com/product/comment-censure/'),
231
  // 'uploader' => array('version' => '1.0.0', 'requires' => $wpdiscuzVersion, 'class' => 'WpdiscuzFileUploader', 'title' => 'File Uploder', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'fileuploader' . WPDISCUZ_DS . ''), 'desc' => __('Allow users add images, videos, files - and lorem ipsum goes here, and lorem ipsum goes here.', 'wpdiscuz'), 'url' => 'http://gvectors.com/product/advanced-content-pagination-pro/'),
232
  // 'avatarmanager' => array('version' => '1.0.0', 'requires' => $wpdiscuzVersion, 'class' => 'WpdiscuzAvatarManager', 'title' => 'Avatar Manager', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'avatarmanager' . WPDISCUZ_DS . ''), 'desc' => __('Lets blog users manage their avatars - and lorem ipsum goes here, and lorem ipsum.', 'wpdiscuz'), 'url' => 'http://gvectors.com/product/advanced-content-pagination-pro/'),
233
  );
234
  }
235
 
236
+ public function addonNote() {
237
+
238
+ $lastHash = get_option('wpdiscuz-addon-note-dismissed');
239
+ $currentHash = $this->addonHash();
240
+ if ($lastHash != $currentHash) {
241
+ ?>
242
+ <div class="updated notice wpdiscuz_addon_note is-dismissible" style="margin-top:10px;">
243
+ <p style="font-weight:normal; font-size:15px; border-bottom:1px dotted #DCDCDC; padding-bottom:10px; width:95%;"><?php _e('New Addons are available for wpDiscuz Comments Plugin'); ?></p>
244
+ <div style="font-size:14px;">
245
+ <ul>
246
+ <?php
247
+ foreach ($this->addons as $key => $addon) {
248
+ ?>
249
+ <li><img src="<?php echo $addon['thumb'] ?>" style="height:20px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;" /> <a href="<?php echo admin_url('edit-comments.php?page=wpdiscuz_addons_page') ?>" style="color:#444; text-decoration:none;" title="<?php _e('Go to wpDiscuz Addons subMenu'); ?>">wpDiscuz - <?php echo $addon['title']; ?></a> </li>
250
+ <?php
251
+ }
252
+ ?>
253
+ </ul>
254
+ <div style="clear:both;"></div>
255
+ </div>
256
+ <p>&nbsp;&nbsp;&nbsp;<a href="<?php echo admin_url('edit-comments.php?page=wpdiscuz_addons_page') ?>"><?php _e('Go to wpDiscuz Addons subMenu'); ?> &raquo;</a></p>
257
+ </div>
258
+ <?php
259
+ }
260
+ }
261
+
262
+ public function dismissAddonNote() {
263
+ $hash = $this->addonHash();
264
+ update_option('wpdiscuz-addon-note-dismissed', $hash);
265
+ exit();
266
+ }
267
+
268
+ public function dismissAddonNoteOnPage() {
269
+ $hash = $this->addonHash();
270
+ update_option('wpdiscuz-addon-note-dismissed', $hash);
271
+ }
272
+
273
+ public function addonHash() {
274
+ $viewed = '';
275
+ foreach ($this->addons as $key => $addon) {
276
+ $viewed .= $addon['title'] . ',';
277
+ }
278
+ $hash = $viewed;
279
+ return $hash;
280
+ }
281
+
282
  }
options/class.WpdiscuzOptionsSerialized.php CHANGED
@@ -777,6 +777,7 @@ class WpdiscuzOptionsSerialized {
777
  }
778
  $js_options['wpDiscuzReCaptcha'] = class_exists("wpDiscuzReCaptcha") ? true : false;
779
  $js_options['isCaptchaInSession'] = (boolean) $this->isCaptchaInSession;
 
780
  return $js_options;
781
  }
782
 
777
  }
778
  $js_options['wpDiscuzReCaptcha'] = class_exists("wpDiscuzReCaptcha") ? true : false;
779
  $js_options['isCaptchaInSession'] = (boolean) $this->isCaptchaInSession;
780
+ $js_options['uploader'] = class_exists('WpdiscuzUploader') ? 1 : 0;
781
  return $js_options;
782
  }
783
 
options/html-addons.php CHANGED
@@ -1,3 +1,4 @@
 
1
  <div class="wrap wpdiscuz_addons_page">
2
  <div style="float:left; width:50px; height:55px; margin:10px 10px 20px 0px;">
3
  <img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/plugin-icon/plugin-icon-48.png'); ?>" style="border:2px solid #fff;"/>
1
+ <?php $this->dismissAddonNoteOnPage(); ?>
2
  <div class="wrap wpdiscuz_addons_page">
3
  <div style="float:left; width:50px; height:55px; margin:10px 10px 20px 0px;">
4
  <img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/plugin-icon/plugin-icon-48.png'); ?>" style="border:2px solid #fff;"/>
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === wpDiscuz - Supercharged native comments ===
2
  Contributors: gVectors Team
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UC44WQM5XJFPA
4
- Tags: wordpress comments, ajax comments, ajax, live update, live comments, realtime chat, chat, realtime commenting, Lazy load, Lazy load comments, mobile commenting, post comments, advanced comment, comments box, community, discussion, discuss, disqus, discuz, Disqus alternative, Livefyre alternative, Jatpack comments alternative, Facebook comments alternative, comment form, commenting, reply, comments, better comments, discussions, comment notifications, comment template, activity, comment author, comment system, redirect, comment redirect, first commenter, email commenting, social login, boost comments, native comments
5
  Requires at least: 3.8.0
6
  Tested up to: 4.4.1
7
- Stable tag: 3.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -12,9 +12,9 @@ New interactive, AJAX realtime comment system. Designed to supercharge Wordpress
12
 
13
  == Description ==
14
 
15
- New interactive, AJAX realtime comment system. Designed to supercharge Wordpress native comments. Super fast and responsive with dozens features. This is the best Disqus alternative, if you want to keep your comments in your database. wpDiscuz also the best alternative to Livefyre, Jatpack and Facebook comments.
16
 
17
- wpDiscuz 3.0 and all future 3.x versions have been named as Supercharged. It's super fast and perfectly optimized. wpDiscuz 3 version is dozens of times faster than 1.x and 2.x versions. The Supercharged version supports millions of comments per post, so the number of comments doesn't matter anymore. You can use wpDiscuz for extremely large and active websites without any worry.
18
 
19
  * Support Forum: http://gvectors.com/forum/
20
  * wpDiscuz Demo: http://wpdiscuz.com/wpdiscuz-3-0-0/
@@ -145,6 +145,20 @@ Support Forum: http://gvectors.com/forum/
145
 
146
  == Changelog ==
147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  = 3.2.0 =
149
 
150
  * Added: Simple CAPTCHA generation and storage types (file system or sessions)
@@ -164,12 +178,6 @@ Support Forum: http://gvectors.com/forum/
164
  * Vote up icon: 2,974 > 255 Bytes
165
  * Vote down icon: 2,986 > 253 Bytes
166
 
167
- IMPORTANT:
168
-
169
- - If you have JetPack installed please deactivate JatPack comments, it affects wpDiscuz
170
- - If you have a Cache Plugin and CDN, please delete all caches and purge CDN after wpDiscuz update.
171
-
172
-
173
  = 3.1.4 =
174
 
175
  * Fixed Bug: Default comment sorting
@@ -183,7 +191,7 @@ IMPORTANT:
183
 
184
  IMPORTANT:
185
 
186
- - If you have JatPack installed please deactivate JatPack comments, it affects wpDiscuz
187
  - If you have a Cache Plugin and CDN, please delete all caches and purge CDN after wpDiscuz update.
188
 
189
  = 3.1.2 =
1
  === wpDiscuz - Supercharged native comments ===
2
  Contributors: gVectors Team
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UC44WQM5XJFPA
4
+ Tags: wordpress comments, ajax comments, ajax, live update, live comments, realtime chat, chat, realtime commenting, Lazy load, Lazy load comments, mobile commenting, post comments, advanced comment, comments box, community, discussion, discuss, disqus, discuz, Disqus alternative, Livefyre alternative, Jetpack comments alternative, Facebook comments alternative, comment form, commenting, reply, comments, better comments, discussions, comment notifications, comment template, activity, comment author, comment system, redirect, comment redirect, first commenter, email commenting, social login, boost comments, native comments
5
  Requires at least: 3.8.0
6
  Tested up to: 4.4.1
7
+ Stable tag: 3.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ New interactive, AJAX realtime comment system. Designed to supercharge Wordpress native comments. Super fast and responsive with dozens features. This is the best Disqus alternative, if you want to keep your comments in your database. wpDiscuz also the best alternative to Livefyre, Jetpack and Facebook comments.
16
 
17
+ wpDiscuz 3 and all future 3.x versions have been named as Supercharged. It's super fast and perfectly optimized. wpDiscuz 3 version is dozens of times faster than 1.x and 2.x versions. The Supercharged version supports millions of comments per post, so the number of comments doesn't matter anymore. You can use wpDiscuz for extremely large and active websites without any worry.
18
 
19
  * Support Forum: http://gvectors.com/forum/
20
  * wpDiscuz Demo: http://wpdiscuz.com/wpdiscuz-3-0-0/
145
 
146
  == Changelog ==
147
 
148
+ = 3.2.1 =
149
+
150
+ * Fixed Bug: Notice Error Message - wp_register_script was called incorrectly.
151
+ * Fixed Bug: Comment author Display Name issue
152
+ * Fixed Bug: Anonymous commenter details
153
+ * Fixed Bug: RTL issues
154
+ * Fixed Bug: Form CSS issue
155
+ * Added: New Addon/Feature notifier.
156
+
157
+ IMPORTANT:
158
+
159
+ - If you have JetPack installed please deactivate Jetpack comments, it affects wpDiscuz
160
+ - If you have a Cache Plugin and CDN, please delete all caches and purge CDN after wpDiscuz update.
161
+
162
  = 3.2.0 =
163
 
164
  * Added: Simple CAPTCHA generation and storage types (file system or sessions)
178
  * Vote up icon: 2,974 > 255 Bytes
179
  * Vote down icon: 2,986 > 253 Bytes
180
 
 
 
 
 
 
 
181
  = 3.1.4 =
182
 
183
  * Fixed Bug: Default comment sorting
191
 
192
  IMPORTANT:
193
 
194
+ - If you have Jetpack installed please deactivate Jetpack comments, it affects wpDiscuz
195
  - If you have a Cache Plugin and CDN, please delete all caches and purge CDN after wpDiscuz update.
196
 
197
  = 3.1.2 =
templates/comment/class.WpdiscuzWalker.php CHANGED
@@ -147,7 +147,7 @@ class WpdiscuzWalker extends Walker_Comment {
147
  if (!$this->optionsSerialized->showHideCommentLink) {
148
  $output .= '<div class="wc-comment-link"><img src="' . plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/icon-link.gif') . '" class="wc-comment-img-link" title="&lt;input type=&quot;text&quot; class=&quot;wc-comment-link-input&quot; value=&quot;' . $commentLink . '&quot; /&gt;" /></div>';
149
  }
150
- $output .= '<div class="wc-comment-date">' . $posted_date . '</div><div style="clear:right"></div>';
151
  $output .= '</div>';
152
  $output .= '<div class="wc-comment-text">' . $commentContent . '</div>';
153
  if ($comment->comment_approved == '1') {
147
  if (!$this->optionsSerialized->showHideCommentLink) {
148
  $output .= '<div class="wc-comment-link"><img src="' . plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/icon-link.gif') . '" class="wc-comment-img-link" title="&lt;input type=&quot;text&quot; class=&quot;wc-comment-link-input&quot; value=&quot;' . $commentLink . '&quot; /&gt;" /></div>';
149
  }
150
+ $output .= '<div class="wc-comment-date">' . $posted_date . '</div><div class="wpdiscuz_clear_right"></div>';
151
  $output .= '</div>';
152
  $output .= '<div class="wc-comment-text">' . $commentContent . '</div>';
153
  if ($comment->comment_approved == '1') {
utils/class.WpdiscuzHelper.php CHANGED
@@ -624,5 +624,4 @@ class WpdiscuzHelper {
624
  <?php
625
  }
626
 
627
- }
628
-
624
  <?php
625
  }
626
 
627
+ }