Comments – wpDiscuz - Version 2.1.8

Version Description

  • Added: Option to allow guests vote for comments
  • Added: Option to load rest of all comments using the Load More Comments button
  • Fixed Bug: Subscription option resetting after inserting wrong CAPTCHA code.
  • Fixed Bug: Header CSS code for dynamic style values ( 90% reduced )
  • Fixed Bug: JS/CSS conflicts with WooDiscuz plugin
  • Fixed Bug: Wrong comment time when Wordpress date format is turned on.

IMPORTANT: If you have a Cache Plugin, please delete all caches after wpDiscuz update.

Download this release

Release Info

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

Code changes from version 2.1.7 to 2.1.8

comment-form/form.php CHANGED
@@ -9,10 +9,10 @@ if ($wc_core->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
9
  $wc_comment_list_update_type = $wc_core->wc_options_serialized->wc_comment_list_update_type;
10
  ?>
11
  <script type="text/javascript">
12
- // initialize the validator function
13
- validator.message['invalid'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_invalid_field']; ?>';
14
- validator.message['empty'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_error_empty_text']; ?>';
15
- validator.message['email'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_error_email_text']; ?>';
16
 
17
  jQuery(document).ready(function ($) {
18
  $(document).delegate('.wc-toggle', 'click', function () {
9
  $wc_comment_list_update_type = $wc_core->wc_options_serialized->wc_comment_list_update_type;
10
  ?>
11
  <script type="text/javascript">
12
+ // initialize the wpdiscuzValidator function
13
+ wpdiscuzValidator.message['invalid'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_invalid_field']; ?>';
14
+ wpdiscuzValidator.message['empty'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_error_empty_text']; ?>';
15
+ wpdiscuzValidator.message['email'] = '<?php echo $wc_core->wc_options_serialized->wc_phrases['wc_error_email_text']; ?>';
16
 
17
  jQuery(document).ready(function ($) {
18
  $(document).delegate('.wc-toggle', 'click', function () {
comment-form/tpl-comment.php CHANGED
@@ -95,13 +95,13 @@ class WC_Comment_Template_Builder {
95
  'status' => 'approve'
96
  ));
97
 
98
- if (!is_user_logged_in()) {
99
  $vote_cls = ' wc_tooltipster';
100
  $vote_title_text = $this->wc_options_serialized->wc_phrases['wc_login_to_vote'];
101
  $vote_up = $vote_title_text;
102
  $vote_down = $vote_title_text;
103
  } else {
104
- $vote_cls = ' wc_vote';
105
  $vote_up = $this->wc_options_serialized->wc_phrases['wc_vote_up'];
106
  $vote_down = $this->wc_options_serialized->wc_phrases['wc_vote_down'];
107
  }
95
  'status' => 'approve'
96
  ));
97
 
98
+ if (!$this->wc_options_serialized->wc_is_guest_can_vote && !is_user_logged_in()) {
99
  $vote_cls = ' wc_tooltipster';
100
  $vote_title_text = $this->wc_options_serialized->wc_phrases['wc_login_to_vote'];
101
  $vote_up = $vote_title_text;
102
  $vote_down = $vote_title_text;
103
  } else {
104
+ $vote_cls = ' wc_vote wc_tooltipster';
105
  $vote_up = $this->wc_options_serialized->wc_phrases['wc_vote_up'];
106
  $vote_down = $this->wc_options_serialized->wc_phrases['wc_vote_down'];
107
  }
files/css/wpdiscuz-rtl.css ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #wpcomm .wc-field-comment
2
+ .wc-field-textarea{
3
+ margin-left: 2px;
4
+ margin-right: 65px;
5
+ }
6
+ #wpcomm .wc-form-wrapper .avatar{
7
+ margin-top: 0px;
8
+ }
9
+ #wpcomm .wc-field-comment .wc-field-avatararea{
10
+ float:right;
11
+ }
12
+ #wpcomm .wc-field-submit{
13
+ float:left
14
+ }
15
+ #wpcomm .wc-field-captcha{
16
+ float:right;
17
+ }
18
+ #wpcomm .wc_notification_checkboxes{
19
+ text-align:right;
20
+ }
21
+ #wpcomm .wc-comment .wc-comment-right{
22
+ margin-left:0px;
23
+ margin-right:70px;
24
+ }
25
+ #wpcomm .wc-comment-author{
26
+ float:right;
27
+ }
28
+ #wpcomm .wc-comment-date{
29
+ float:left;
30
+ }
31
+ #wpcomm .wc-comment-footer .wc-vote-result{
32
+ margin-right:0px;
33
+ margin-left:5px;
34
+ }
35
+ #wpcomm .wc-toggle{
36
+ float:left;
37
+ }
files/css/wpdiscuz.css ADDED
@@ -0,0 +1,591 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #wc-comment-header{
2
+ padding:20px 5px 1px 5px;
3
+ display:block;
4
+ float:none;
5
+ clear:both;
6
+ font-size:18px;
7
+ }
8
+ #wpcomm form div{ box-sizing: inherit; }
9
+ #wpcomm form .wpdiscuz-item {
10
+ display: block;
11
+ height:auto;
12
+ }
13
+ .wpdiscuz-item input {
14
+ border-radius:0px;
15
+ height:auto;
16
+ width:auto;
17
+ }
18
+ #wpcomm {
19
+ margin:15px 5px;
20
+ padding:1px 0px 10px 0px;
21
+ border-top:#DDDDDD solid 1px;
22
+ }
23
+ #wpcomm form {
24
+ margin:0px;
25
+ padding:0px;
26
+ background:none;
27
+ border:none;
28
+ width:auto !important;
29
+ }
30
+ #wpcomm form div{ margin:0px; }
31
+ #wc_show_hide_loggedin_username{
32
+ padding:10px 5px 5px 5px;
33
+ font-size:13px;
34
+ }
35
+ #wpcomm .wc_new_comment_and_replies {
36
+ margin:0px;
37
+ padding:0px;
38
+ width:100%;
39
+ height:auto;
40
+ background:transparent;
41
+ }
42
+ #wpcomm .wc_new_comment_and_replies .wc_new_comment{
43
+ float:right;
44
+ display:none;
45
+ padding:3px 10px;
46
+ font-size:12px;
47
+ margin:1px 0px 1px 3px;
48
+ cursor:pointer;
49
+ color:#fff;
50
+ line-height: 15px;
51
+ }
52
+
53
+ #wpcomm .wc_new_comment_and_replies .wc_new_reply{
54
+ float:right;
55
+ display:none;
56
+ padding:3px 10px;
57
+ font-size:12px;
58
+ margin:1px 0px 1px 1px;
59
+ cursor:pointer;
60
+ color:#fff;
61
+ line-height: 15px;
62
+ }
63
+
64
+ #wpcomm .wc-comment-title{
65
+ margin:0px;
66
+ line-height:18px;
67
+ font-weight:bold;
68
+ padding:10px;
69
+ margin-bottom:10px;
70
+ font-size:13px;
71
+ text-align:right;
72
+ border-bottom:#CCCCCC dotted 1px;
73
+ padding-bottom:10px;
74
+ }
75
+ #wpcomm .wc-form-wrapper{
76
+ padding:10px;
77
+ margin-top:20px;
78
+ border:1px solid #F1F1F1;
79
+ }
80
+ #wpcomm .wc-author-data{ margin-bottom:3px; }
81
+ #wpcomm .wc-field-submit{ padding:5px 0px 13px 0px; }
82
+ #wpcomm .wc-field-name{
83
+ width:49%;
84
+ float:left;
85
+ }
86
+ #wpcomm .wc-field-email{
87
+ width:49%;
88
+ float:right;
89
+ text-align:right;
90
+ }
91
+ #wpcomm .wc-field-comment{ margin:5px auto 1px auto; }
92
+ #wpcomm .wc-field-comment .wc-field-avatararea{
93
+ width:60px;
94
+ float:left;
95
+ }
96
+ #wpcomm .wc-field-comment .wc-field-textarea{ margin-left:65px; }
97
+ #wpcomm .wc-field-captcha{
98
+ width:55%;
99
+ float:left;
100
+ margin:0px;
101
+ height:auto!important;
102
+ }
103
+ #wpcomm .wc-field-submit{
104
+ width:auto!important;
105
+ float:right;
106
+ text-align:right;
107
+ margin:0px;
108
+ }
109
+ #wpcomm .wc-field-name input[type="text"]{
110
+ width:99%;
111
+ max-width:100%;
112
+ padding:3px 5px;
113
+ font-size:14px;
114
+ margin:0px;
115
+ height:29px;
116
+ }
117
+
118
+ #wpcomm .wc-field-email input[type="email"]{
119
+ width:100%;
120
+ max-width:100%;
121
+ padding:3px 5px;
122
+ font-size:14px;
123
+ margin:0px;
124
+ height:29px;
125
+ }
126
+ #wpcomm .wc-field-captcha input[type="text"]{
127
+ width:40%;
128
+ min-width:82px;
129
+ padding:3px 5px;
130
+ font-size:14px;
131
+ margin:0px 5px 0px 0px;
132
+ height:27px;
133
+ }
134
+ #wpcomm .wc-field-submit input[type="submit"]{ margin:1px; }
135
+ #wpcomm .wc-field-submit input[type="button"]{
136
+ margin:1px;
137
+ border:#DDDDDD 1px solid;
138
+ font-size: 13px;
139
+ line-height: 16px;
140
+ padding: 6px 15px;
141
+ clear:both;
142
+ float:none;
143
+ }
144
+ #wpcomm .captcha_msg{
145
+ color: #999999;
146
+ font-family: Lato,sans-serif;
147
+ font-size: 13px;
148
+ line-height: 18px;
149
+ display:block;
150
+ clear:both;
151
+ padding:5px 0px 0px 0px;
152
+ }
153
+ #wpcomm .wc-field-comment textarea,
154
+ #wpcomm .wc-comment .wc-comment-right textarea {
155
+ width:100%;
156
+ max-width:100%;
157
+ height:48px;
158
+ min-height: 48px !important;
159
+ padding:5px;
160
+ box-sizing: border-box;
161
+ border-radius:0px;
162
+ }
163
+
164
+ #wpcomm .wc-label{
165
+ display:block;
166
+ font-size:14px;
167
+ padding:5px;
168
+ }
169
+ #wpcomm .wc_manage_subscribtions {
170
+ cursor: pointer;
171
+ padding: 0px 0px 5px 0px;
172
+ display: block;
173
+ font-size:13px;
174
+ line-height:16px;
175
+ }
176
+
177
+ #wpcomm .wc_notification_checkboxes{
178
+ padding:7px 0px 7px 0px;
179
+ text-align:left;
180
+ display: none;
181
+ border-top: 1px dotted #DDDDDD;
182
+ line-height:18px;
183
+ font-size:13px;
184
+ }
185
+ #wpcomm .wc_notification_checkboxes input[type="checkbox"],
186
+ #wpcomm .wc_notification_checkboxes input[type="radio"]{
187
+ overflow:none;
188
+ width:inherit;
189
+ font-size:13px;
190
+ margin:0px;
191
+ padding:0px;
192
+ display:inline;
193
+ clear:both;
194
+ float:none;
195
+ max-height: 20px;
196
+ margin:0px 3px;
197
+ }
198
+ #wpcomm .wc_notification_checkboxes label {
199
+ clear:both;
200
+ float:none;
201
+ font-weight:normal;
202
+ }
203
+ #wpcomm .wc-label-comment-notify {
204
+ display:inline;
205
+ font-size:13px;
206
+ padding:0px;
207
+ margin:0px;
208
+ border:none;
209
+ line-height:15px;
210
+ text-decoration:none;
211
+ color:#999999;
212
+ font-family:Lato,sans-serif;
213
+ cursor:pointer;
214
+ }
215
+
216
+ #wpcomm .wc-label-reply-notify,
217
+ #wpcomm .wc-notification-none {
218
+ display:inline;
219
+ font-size:13px;
220
+ padding:0px;
221
+ margin:0px;
222
+ border:none;
223
+ line-height:15px;
224
+ text-decoration:none;
225
+ color:#999999;
226
+ font-family:Lato,sans-serif;
227
+ cursor:pointer;
228
+ }
229
+ #wpcomm .wc-label-all-reply-notify {
230
+ display:inline;
231
+ font-size:13px;
232
+ padding:0px;
233
+ margin:0px;
234
+ border:none;
235
+ line-height:15px;
236
+ text-decoration:none;
237
+ color:#999999;
238
+ font-family:Lato,sans-serif;
239
+ cursor:pointer;
240
+ }
241
+ #wpcomm .wc-field-captcha .wc-label{
242
+ font-size:14px;
243
+ padding:5px;
244
+ text-align:center;
245
+ display:inline;
246
+ }
247
+ #wpcomm input[type="text"],
248
+ #wpcomm input[type="email"],
249
+ #wpcomm textarea{
250
+ font-size:14px;
251
+ color:#777777;
252
+ font-family:Lato,sans-serif;
253
+ box-sizing: border-box;
254
+ margin:0px;
255
+ clear:both;
256
+ float:none;
257
+ display:inline;
258
+ }
259
+ #wpcomm .wc-copyright{
260
+ margin: 0px 0px 0px auto;
261
+ text-align:right;
262
+ display: block;
263
+ padding-top: 2px;
264
+ }
265
+ #wpcomm .wc-copyright a{
266
+ font-size: 9px;
267
+ color: #AAAAAA;
268
+ cursor:help;
269
+ text-decoration:none;
270
+ margin:0px;
271
+ padding:0px;
272
+ border:none;
273
+ }
274
+ #wpcomm .wc-thread-wrapper{
275
+ padding:10px 0px;
276
+ margin-bottom:10px;
277
+ }
278
+ #wpcomm .wc-comment { margin-bottom:13px; }
279
+ #wpcomm .wc-comment .wc-field-submit{ padding:5px 0px 5px 0px; }
280
+ #wpcomm .wc-comment .wc-form-wrapper{ padding:10px 10px 7px 10px; }
281
+ #wpcomm .wc-comment .wc-comment-left{
282
+ width:62px;
283
+ float:left;
284
+ position:absolute;
285
+ text-align:center;
286
+ font-family:Lato,sans-serif;
287
+ line-height:16px;
288
+ }
289
+ #wpcomm .wc-comment .wc-comment-right{
290
+ margin-left:70px;
291
+ border:#F5F5F5 1px solid;
292
+ padding:10px 10px 3px 10px;
293
+ }
294
+ #wpcomm .wc-reply .wc-comment-right{
295
+ margin-left:70px;
296
+ border:#F5F5F5 1px solid;
297
+ padding:10px 10px 3px 10px;
298
+ }
299
+ #wpcomm .wc-reply {
300
+ margin-top: 10px;
301
+ margin-bottom:0px;
302
+ margin-left:40px; }
303
+ #wpcomm .wc-must-login{
304
+ margin:0px;
305
+ font-size:14px;
306
+ line-height:16px;
307
+ padding:10px;
308
+ text-align:center;
309
+ }
310
+ #wpcomm hr{
311
+ background-color: rgba(0, 0, 0, 0.1);
312
+ border: 0 none;
313
+ height: 1px;
314
+ margin:10px 0px;
315
+ }
316
+ #wpcomm .avatar{
317
+ border: 1px solid rgba(0, 0, 0, 0.1);
318
+ padding: 2px;
319
+ margin:0px auto;
320
+ float:none;
321
+ display:inline;
322
+ width:48px;
323
+ height:auto;
324
+ }
325
+ #wpcomm .wc-form-wrapper .avatar { margin-top:3px; }
326
+ #wpcomm .wc-comment-text{
327
+ text-align:left;
328
+ padding-bottom:5px;
329
+ line-height: 20px;
330
+ /*white-space: pre-wrap;*/
331
+ white-space: -moz-pre-wrap;
332
+ white-space: -pre-wrap; white-space: -o-pre-wrap;
333
+ word-wrap: break-word;
334
+ }
335
+ #wpcomm .wc-comment-text img {
336
+ max-width: 90%;
337
+ height: auto;
338
+ }
339
+ #wpcomm .wc-comment-header{
340
+ margin-bottom:7px;
341
+ font-family:Lato,sans-serif;
342
+ }
343
+ #wpcomm .wc-comment-author{
344
+ font-size:16px;
345
+ width:40%;
346
+ float:left;
347
+ white-space:nowrap;
348
+ }
349
+ #wpcomm .wc-comment-author a{
350
+ font-size:16px; white-space:nowrap;
351
+ text-decoration:none;
352
+ }
353
+ #wpcomm .wc-comment-label{
354
+ color:#FFFFFF;
355
+ padding:2px 5px;
356
+ font-size:12px;
357
+ margin:4px auto;
358
+ text-align:center;
359
+ display:table;
360
+ line-height:16px;
361
+ }
362
+ #wpcomm .wc-comment-date{
363
+ font-size:12px;
364
+ color:#999999;
365
+ float:right;
366
+ text-align:right;
367
+ white-space:nowrap;
368
+ line-height:27px;
369
+ }
370
+ #wpcomm .wc-comment-footer {
371
+ font-size:12px;
372
+ font-weight:normal;
373
+ color:#999999;
374
+ margin-top:12px;
375
+ min-height: 28px;
376
+ font-family:Lato,sans-serif;
377
+ }
378
+ #wpcomm .wc-comment-footer a,
379
+ #wpcomm .wc-comment-footer span.wc_editable_comment,
380
+ #wpcomm .wc-comment-footer span.wc_save_edited_comment,
381
+ #wpcomm span.wc_cancel_edit {
382
+ text-decoration:none;
383
+ font-size:13px;
384
+ font-weight:bold;
385
+ cursor: pointer;
386
+ }
387
+ #wpcomm .wc-comment-footer .share_buttons_box img{ vertical-align:middle; }
388
+ #wpcomm .wc-comment-footer .wc-voted{
389
+ color:#666666;
390
+ cursor:default;
391
+ }
392
+ #wpcomm .wc-comment-footer .wc-vote-img-up{
393
+ padding:0px;
394
+ margin:0px 0px -2px 0px;
395
+ vertical-align:baseline;
396
+ display:inline;
397
+ float:none;
398
+ clear:both;
399
+ border:none;
400
+ background:transparent;
401
+ width:16px;
402
+ height:16px;
403
+ border-radius: 0px;
404
+ box-shadow: none;
405
+ box-sizing: border-box;
406
+ }
407
+ #wpcomm .wc-comment-footer .wc-vote-img-down{
408
+ padding:0px;
409
+ margin:0px 0px -6px 0px;
410
+ vertical-align:baseline;
411
+ display:inline;
412
+ float:none;
413
+ clear:both;
414
+ border:none;
415
+ background:transparent;
416
+ width:16px;
417
+ height:16px;
418
+ border-radius: 0px;
419
+ box-shadow: none;
420
+ box-sizing: border-box;
421
+ }
422
+ #wpcomm .wc-comment-footer .wc-vote-result{
423
+ padding:2px 6px 2px 5px;
424
+ color:#FFFFFF;
425
+ font-size:12px;
426
+ font-weight:bold;
427
+ display:inline;
428
+ margin-right:5px;
429
+ }
430
+ #wpcomm .wc-toggle{
431
+ float:right;
432
+ text-align:right;
433
+ padding-right:0px;
434
+ margin-right:0px;
435
+ color:#999999;
436
+ cursor:pointer;
437
+ font-size:12px;
438
+ white-space:nowrap;
439
+ }
440
+ #wpcomm .wpdiscuz-item {
441
+ background: none;
442
+ border-radius: 0px;
443
+ box-shadow: none;
444
+ }
445
+ #wc_response_info img{
446
+ margin: 0px auto 0px auto;
447
+ box-shadow: none;
448
+ }
449
+ #wpcomm .share_buttons_box img {
450
+ display:inline!important;
451
+ width:16px;
452
+ height:16px;
453
+ }
454
+ #wpcomm .wc-captcha-label img{
455
+ display: inline!important;
456
+ border:none;
457
+ padding:0px 0px 0px 2px;
458
+ margin:0px;
459
+ vertical-align:middle;
460
+ }
461
+ #wpcomm .wc-reply-link,
462
+ #wpcomm .wc-vote-link,
463
+ #wpcomm .wc-share-link {
464
+ cursor: pointer;
465
+ font-size:13px;
466
+ font-weight:bold;
467
+ }
468
+ #wpcomm .wc-form-footer,
469
+ #wpcomm .wc-secondary-forms-wrapper {display: none;}
470
+ #wpcomm .wc-field-captcha .wc-captcha-label {
471
+ padding: 0;
472
+ display: inline-block;
473
+ }
474
+ #wpcomm .wc_captcha_refresh_img {
475
+ cursor: pointer;
476
+ margin-left: 3px;
477
+ }
478
+ #wpcomm .share_buttons_box {
479
+ display: none;
480
+ }
481
+ #wpcomm .wc-no-left-margin {
482
+ margin-left: 0 !important;
483
+ }
484
+ div.wc_modal {
485
+ background: none repeat scroll 0 0 #EDEDED;
486
+ color:#444444;
487
+ font-size: 18px;
488
+ font-weight: normal;
489
+ padding: 45px 10px 50px 10px!important;
490
+ text-align: center;
491
+ line-height:25px;
492
+ }
493
+ .wc-load-more-submit-wrap {
494
+ width: 100%;
495
+ text-align: center;
496
+ margin-bottom:20px;
497
+ margin-top:25px;
498
+ }
499
+ .wc-load-more-submit {
500
+ width: auto!important;
501
+ padding:10px 20px;
502
+ text-align: center;
503
+ background-color:#FAFAFA;
504
+ border-radius: 3px;
505
+ color:#555555;
506
+ cursor:pointer;
507
+ }
508
+ .wc-load-more-submit:hover{
509
+ background-image: -moz-linear-gradient(center top , #f4f4f4, #e6e6e6);
510
+ background-repeat: repeat-x;
511
+ box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
512
+ color: #7c7c7c;
513
+ }
514
+ #wc_openModalFormAction > div#wc_response_info {
515
+ width: 200px;
516
+ background: none repeat scroll 0 0 #EDEDED;
517
+ color:#444444;
518
+ font-size: 18px;
519
+ font-weight: normal;
520
+ padding: 45px 10px 50px 10px!important;
521
+ text-align: center;
522
+ line-height:25px;
523
+ }
524
+ #wc_openModalFormAction > div#wc_response_info a.close {
525
+ background-position-x: right;
526
+ background-position-y: top;
527
+ }
528
+ #wpcomm #bywpdiscuz{
529
+ display:none;
530
+ }
531
+ #wpcomm .by-wpdiscuz{
532
+ text-align:right;
533
+ border-top:#DDDDDD solid 1px;
534
+ padding:1px 1px 1px 1px;
535
+ }
536
+ #wpcomm .by-wpdiscuz a{
537
+ font-size:11px;
538
+ font-weight:bold;
539
+ text-align:right;
540
+ color:#CCCCCC;
541
+ padding:1px;
542
+ margin:0px;
543
+ line-height:12px;
544
+ border:none;
545
+ text-decoration:none;
546
+ }
547
+ #wpcomm .wpdimg{
548
+ border:none;
549
+ padding:0px;
550
+ margin:0px;
551
+ height:12px;
552
+ cursor:pointer;
553
+ display:inline;
554
+ clear:both;
555
+ }
556
+ #wc_unsubscribe_message {
557
+ margin:10px auto 1px auto;
558
+ padding:10px;
559
+ text-align:center;
560
+ border:#00DD00 1px dotted;
561
+ background:#CCFFCC;
562
+ }
563
+ .wc_unsubscribe_message {
564
+ font-size:14px;
565
+ color:#444;
566
+ }
567
+ #wpcomm .wc_comment_level-3 { margin-left: 40px!important; }
568
+ #wpcomm .wc_comment_level-4 { margin-left: 40px!important; }
569
+ #wpcomm .wc_comment_level-5 { margin-left: 40px!important; }
570
+ #wpcomm .wc_editable_div {
571
+ -moz-appearance: textfield-multiline;
572
+ -webkit-appearance: textarea;
573
+ border: 1px solid #ccc;
574
+ border-radius: 0;
575
+ font: medium -moz-fixed;
576
+ font: -webkit-small-control;
577
+ overflow: auto;
578
+ resize: both;
579
+ box-sizing: border-box;
580
+ height: 46px;
581
+ max-width: 100%;
582
+ min-height: 46px !important;
583
+ padding: 5px; width: 100%;
584
+ }
585
+ #wpcomm .wc_cancel_edit {display: none;}
586
+ #wpcomm .wc-comment-text p {margin-bottom: 10px;}
587
+ #wpcomm .wc-comment-right textarea.wc_edit_comment {
588
+ height: 80px;
589
+ max-height: 200px;
590
+ }
591
+
files/js/validator.js CHANGED
@@ -6,7 +6,7 @@
6
  MIT-style license.
7
  */
8
 
9
- var validator = (function($) {
10
  var message, tests, checkField, validate, mark, unmark, field, minmax, defaults,
11
  validateWords, lengthRange, lengthLimit, pattern, alertTxt, data,
12
  email_illegalChars = /[\(\)\<\>\,\;\:\\\/\"\[\]]/,
6
  MIT-style license.
7
  */
8
 
9
+ var wpdiscuzValidator = (function($) {
10
  var message, tests, checkField, validate, mark, unmark, field, minmax, defaults,
11
  validateWords, lengthRange, lengthLimit, pattern, alertTxt, data,
12
  email_illegalChars = /[\(\)\<\>\,\;\:\\\/\"\[\]]/,
files/js/wc-ajax.js CHANGED
@@ -83,22 +83,22 @@ jQuery(document).ready(function ($) {
83
  if (notification_type_radio.length && notification_type_radio != 'wc_notification_none') {
84
  if (notification_type_radio == 'wc_notification_new_reply') {
85
  notification_type = 'reply';
86
- $('#wc_notification_new_reply-' + uniqueID).prop("checked", false);
87
  }
88
  if (notification_type_radio == 'wc_notification_all_new_reply') {
89
  notification_type = 'all_comment';
90
- $('#wc_notification_all_new_reply-' + uniqueID).prop("checked", false);
91
  }
92
  if (notification_type_radio == 'wc_notification_new_comment') {
93
  notification_type = 'post';
94
- $('#wc_notification_new_comment-' + uniqueID).prop("checked", false);
95
  }
96
 
97
  }
98
 
99
  var submit = true;
100
  // evaluate the form using generic validaing
101
- if (!validator.checkAll(wc_form)) {
102
  submit = false;
103
  } else {
104
  $('#wc_openModalFormAction .close').css('display', 'none');
@@ -201,8 +201,8 @@ jQuery(document).ready(function ($) {
201
  $('#wc_openModalFormAction .close').css('display', 'block');
202
  if (response.contains('<') && response.contains('>')) {
203
  $('#wc_openModalFormAction > #wc_response_info').html(html + e);
204
- }else{
205
- $('#wc_openModalFormAction > #wc_response_info').html(html + response);
206
  }
207
  }
208
  });
83
  if (notification_type_radio.length && notification_type_radio != 'wc_notification_none') {
84
  if (notification_type_radio == 'wc_notification_new_reply') {
85
  notification_type = 'reply';
86
+ // $('#wc_notification_new_reply-' + uniqueID).prop("checked", false);
87
  }
88
  if (notification_type_radio == 'wc_notification_all_new_reply') {
89
  notification_type = 'all_comment';
90
+ // $('#wc_notification_all_new_reply-' + uniqueID).prop("checked", false);
91
  }
92
  if (notification_type_radio == 'wc_notification_new_comment') {
93
  notification_type = 'post';
94
+ // $('#wc_notification_new_comment-' + uniqueID).prop("checked", false);
95
  }
96
 
97
  }
98
 
99
  var submit = true;
100
  // evaluate the form using generic validaing
101
+ if (!wpdiscuzValidator.checkAll(wc_form)) {
102
  submit = false;
103
  } else {
104
  $('#wc_openModalFormAction .close').css('display', 'none');
201
  $('#wc_openModalFormAction .close').css('display', 'block');
202
  if (response.contains('<') && response.contains('>')) {
203
  $('#wc_openModalFormAction > #wc_response_info').html(html + e);
204
+ } else {
205
+ $('#wc_openModalFormAction > #wc_response_info').html(html + response);
206
  }
207
  }
208
  });
helper/wc-helper.php CHANGED
@@ -3,10 +3,6 @@
3
  class WC_Helper {
4
 
5
  public static $datetime = 'datetime';
6
- // public static $datetime_phrases_keys = array(
7
- // 'wc_year_text', 'wc_month_text', 'wc_day_text',
8
- // 'wc_hour_text', 'wc_minute_text', 'wc_second_text'
9
- // );
10
  public static $year = 'wc_year_text';
11
  public static $years = 'wc_year_text_plural';
12
  public static $month = 'wc_month_text';
@@ -261,7 +257,7 @@ class WC_Helper {
261
  * return boolean
262
  */
263
  public static function is_posted_today($comment) {
264
- return (strtotime(current_time('Y-m-d H:i:s')) - 60 * 60 * 24) < strtotime($comment->comment_date);
265
  }
266
 
267
  /**
@@ -295,6 +291,9 @@ class WC_Helper {
295
  return $wc_parent_comments;
296
  }
297
 
 
 
 
298
  public static function get_real_ip_addr() {
299
  if (!empty($_SERVER['HTTP_CLIENT_IP'])) { //check ip from share internet
300
  $ip = $_SERVER['HTTP_CLIENT_IP'];
3
  class WC_Helper {
4
 
5
  public static $datetime = 'datetime';
 
 
 
 
6
  public static $year = 'wc_year_text';
7
  public static $years = 'wc_year_text_plural';
8
  public static $month = 'wc_month_text';
257
  * return boolean
258
  */
259
  public static function is_posted_today($comment) {
260
+ return date('Ymd', strtotime(current_time('Ymd'))) <= date('Ymd', strtotime($comment->comment_date));
261
  }
262
 
263
  /**
291
  return $wc_parent_comments;
292
  }
293
 
294
+ /**
295
+ * return client real ip
296
+ */
297
  public static function get_real_ip_addr() {
298
  if (!empty($_SERVER['HTTP_CLIENT_IP'])) { //check ip from share internet
299
  $ip = $_SERVER['HTTP_CLIENT_IP'];
includes/wc-db-helper.php CHANGED
@@ -23,7 +23,7 @@ class WC_DB_Helper {
23
  public function create_tables() {
24
  require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
25
  if (!$this->wc_is_table_exists($this->users_voted)) {
26
- $sql = "CREATE TABLE `" . $this->users_voted . "`(`id` INT(11) NOT NULL AUTO_INCREMENT,`user_id` INT(11) NOT NULL, `comment_id` INT(11) NOT NULL, `vote_type` INT(11) DEFAULT NULL, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `comment_id` (`comment_id`), KEY `vote_type` (`vote_type`)) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
27
  dbDelta($sql);
28
  }
29
  if (!$this->wc_is_table_exists($this->phrases)) {
@@ -108,7 +108,8 @@ class WC_DB_Helper {
108
  * add vote type
109
  */
110
  public function add_vote_type($user_id, $comment_id, $vote_type) {
111
- $sql = $this->db->prepare("INSERT INTO `" . $this->users_voted . "`(`user_id`, `comment_id`, `vote_type`)VALUES(%d,%d,%d);", $user_id, $comment_id, $vote_type);
 
112
  return $this->db->query($sql);
113
  }
114
 
@@ -124,7 +125,7 @@ class WC_DB_Helper {
124
  * check if the user is already voted on comment or not by user id and comment id
125
  */
126
  public function is_user_voted($user_id, $comment_id) {
127
- $sql = $this->db->prepare("SELECT `vote_type` FROM `" . $this->users_voted . "` WHERE `user_id` = %d AND `comment_id` = %d;", $user_id, $comment_id);
128
  return $this->db->get_var($sql);
129
  }
130
 
@@ -345,6 +346,11 @@ class WC_DB_Helper {
345
  $sql_alter = "ALTER TABLE `" . $this->phrases . "` MODIFY `phrase_value` TEXT NOT NULL;";
346
  $this->db->query($sql_alter);
347
  }
 
 
 
 
 
348
 
349
  }
350
 
23
  public function create_tables() {
24
  require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
25
  if (!$this->wc_is_table_exists($this->users_voted)) {
26
+ $sql = "CREATE TABLE `" . $this->users_voted . "`(`id` INT(11) NOT NULL AUTO_INCREMENT,`user_id` VARCHAR(255) NOT NULL, `comment_id` INT(11) NOT NULL, `vote_type` INT(11) DEFAULT NULL, `is_guest` TINYINT(1) DEFAULT 0, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `comment_id` (`comment_id`), KEY `vote_type` (`vote_type`), KEY `is_guest` (`is_guest`)) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
27
  dbDelta($sql);
28
  }
29
  if (!$this->wc_is_table_exists($this->phrases)) {
108
  * add vote type
109
  */
110
  public function add_vote_type($user_id, $comment_id, $vote_type) {
111
+ $is_guest = is_user_logged_in() ? 0 : 1;
112
+ $sql = $this->db->prepare("INSERT INTO `" . $this->users_voted . "`(`user_id`, `comment_id`, `vote_type`,`is_guest`)VALUES(%s,%d,%d,%d);", $user_id, $comment_id, $vote_type,$is_guest);
113
  return $this->db->query($sql);
114
  }
115
 
125
  * check if the user is already voted on comment or not by user id and comment id
126
  */
127
  public function is_user_voted($user_id, $comment_id) {
128
+ $sql = $this->db->prepare("SELECT `vote_type` FROM `" . $this->users_voted . "` WHERE `user_id` = %s AND `comment_id` = %d;", $user_id, $comment_id);
129
  return $this->db->get_var($sql);
130
  }
131
 
346
  $sql_alter = "ALTER TABLE `" . $this->phrases . "` MODIFY `phrase_value` TEXT NOT NULL;";
347
  $this->db->query($sql_alter);
348
  }
349
+
350
+ public function wc_alter_voting_table() {
351
+ $sql_alter = "ALTER TABLE `" . $this->users_voted . "` MODIFY `user_id` VARCHAR(255) NOT NULL, ADD COLUMN `is_guest` TINYINT(1) DEFAULT 0, ADD INDEX `is_guest` (`is_guest`);";
352
+ $this->db->query($sql_alter);
353
+ }
354
 
355
  }
356
 
languages/wpdiscuz-en.po CHANGED
@@ -1,1033 +1,1033 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: wpDiscuz - Wordpress Comments\n"
4
- "POT-Creation-Date: 2015-03-23 01:17+0400\n"
5
- "PO-Revision-Date: 2015-03-23 01:17+0400\n"
6
- "Last-Translator: advancedcoding <advancedcoding@mail.ru>\n"
7
- "Language-Team: advancedcoding <advancedcoding@mail.ru>\n"
8
- "Language: en\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.5\n"
13
- "X-Poedit-Basepath: ..\n"
14
- "X-Poedit-SourceCharset: UTF-8\n"
15
- "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
16
- "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
17
- "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
- "X-Poedit-SearchPathExcluded-0: *.js\n"
21
-
22
- #: comment-form/form.php:161 comment-form/tpl-comment.php:231
23
- msgid "Participate in this discussion via email"
24
- msgstr ""
25
-
26
- #: comment-form/tpl-comment.php:83
27
- msgid "Anonymous"
28
- msgstr ""
29
-
30
- #: comment-form/tpl-comment.php:165 comment-form/tpl-comment.php:168
31
- msgid "Edit"
32
- msgstr ""
33
-
34
- #: options/options-layouts/settings-general.php:2
35
- msgid "General Settings"
36
- msgstr ""
37
-
38
- #: options/options-layouts/settings-general.php:7
39
- msgid "Display comment form for post types:"
40
- msgstr ""
41
-
42
- #: options/options-layouts/settings-general.php:28
43
- msgid "User Must be registered to comment"
44
- msgstr ""
45
-
46
- #: options/options-layouts/settings-general.php:46
47
- msgid "Show the latest comments on"
48
- msgstr ""
49
-
50
- #: options/options-layouts/settings-general.php:50
51
- msgid "the top of the list"
52
- msgstr ""
53
-
54
- #: options/options-layouts/settings-general.php:52
55
- msgid "top of the threads"
56
- msgstr ""
57
-
58
- #: options/options-layouts/settings-general.php:54
59
- msgid "bottom of the threads"
60
- msgstr ""
61
-
62
- #: options/options-layouts/settings-general.php:56
63
- msgid "the bottom of the list"
64
- msgstr ""
65
-
66
- #: options/options-layouts/settings-general.php:64
67
- msgid "Comment Threads Per Page"
68
- msgstr ""
69
-
70
- #: options/options-layouts/settings-general.php:76
71
- msgid "Comments max depth"
72
- msgstr ""
73
-
74
- #: options/options-layouts/settings-general.php:81
75
- msgid "Level"
76
- msgstr ""
77
-
78
- #: options/options-layouts/settings-general.php:82
79
- #: options/options-layouts/settings-general.php:83
80
- #: options/options-layouts/settings-general.php:84
81
- #: options/options-layouts/settings-general.php:85
82
- msgid "Levels"
83
- msgstr ""
84
-
85
- #: options/options-layouts/settings-general.php:92
86
- msgid "Comment text size in pixels"
87
- msgstr ""
88
-
89
- #: options/options-layouts/settings-general.php:109
90
- msgid "Allow comment editing for"
91
- msgstr ""
92
-
93
- #: options/options-layouts/settings-general.php:114
94
- msgid "Not Allow"
95
- msgstr ""
96
-
97
- #: options/options-layouts/settings-general.php:115
98
- #: options/options-layouts/settings-general.php:116
99
- #: options/options-layouts/settings-live-update.php:41
100
- #: options/options-layouts/settings-live-update.php:42
101
- #: options/options-layouts/settings-live-update.php:43
102
- msgid "Minutes"
103
- msgstr ""
104
-
105
- #: options/options-layouts/settings-general.php:117
106
- #: options/phrases-layout/phrases-datetime.php:73
107
- msgid "Hour"
108
- msgstr ""
109
-
110
- #: options/options-layouts/settings-general.php:118
111
- #: options/options-layouts/settings-general.php:119
112
- msgid "Hours"
113
- msgstr ""
114
-
115
- #: options/options-layouts/settings-general.php:127
116
- msgid "Use WordPress Date/Time format"
117
- msgstr ""
118
-
119
- #: options/options-layouts/settings-general.php:128
120
- msgid ""
121
- "wpDiscuz shows Human Readable date format. If you check this option it'll "
122
- "show the date/time format set in WordPress General Settings."
123
- msgstr ""
124
-
125
- #: options/options-layouts/settings-general.php:135
126
- msgid "Current Wordpress date/time format"
127
- msgstr ""
128
-
129
- #: options/options-layouts/settings-general.php:144
130
- msgid ""
131
- "Help wpDiscuz to grow allowing people to recognize which comment plugin you "
132
- "use"
133
- msgstr ""
134
-
135
- #: options/options-layouts/settings-general.php:146
136
- msgid ""
137
- "Please check this option on to help wpDiscuz get more popularity as your "
138
- "thank to the hard work we do for you totally free. This option adds a very "
139
- "small (16x16px) icon under the comment section which will allow your site "
140
- "visitors recognize the name of comment solution you use."
141
- msgstr ""
142
-
143
- #: options/options-layouts/settings-general.php:151
144
- msgid "Thank you!"
145
- msgstr ""
146
-
147
- #: options/options-layouts/settings-live-update.php:2
148
- #: options/wc-options.php:159
149
- msgid "Live Update"
150
- msgstr ""
151
-
152
- #: options/options-layouts/settings-live-update.php:8
153
- msgid "Live update options"
154
- msgstr ""
155
-
156
- #: options/options-layouts/settings-live-update.php:14
157
- msgid "Never update"
158
- msgstr ""
159
-
160
- #: options/options-layouts/settings-live-update.php:16
161
- msgid "Turn off \"Live Update\" function"
162
- msgstr ""
163
-
164
- #: options/options-layouts/settings-live-update.php:18
165
- msgid "Show new comment/reply buttons to update manualy"
166
- msgstr ""
167
-
168
- #: options/options-layouts/settings-live-update.php:20
169
- msgid "Always check for new comments and show update buttons"
170
- msgstr ""
171
-
172
- #: options/options-layouts/settings-live-update.php:22
173
- msgid "Always update"
174
- msgstr ""
175
-
176
- #: options/options-layouts/settings-live-update.php:24
177
- msgid "Always check for new comments and update automatically"
178
- msgstr ""
179
-
180
- #: options/options-layouts/settings-live-update.php:32
181
- msgid "Update comment list every"
182
- msgstr ""
183
-
184
- #: options/options-layouts/settings-live-update.php:37
185
- #: options/options-layouts/settings-live-update.php:38
186
- #: options/options-layouts/settings-live-update.php:39
187
- msgid "Seconds"
188
- msgstr ""
189
-
190
- #: options/options-layouts/settings-live-update.php:40
191
- #: options/phrases-layout/phrases-datetime.php:95
192
- msgid "Minute"
193
- msgstr ""
194
-
195
- #: options/options-layouts/settings-show-hide.php:2 options/wc-options.php:160
196
- msgid "Show/Hide Components"
197
- msgstr ""
198
-
199
- #: options/options-layouts/settings-show-hide.php:7
200
- msgid "Show logged-in user name and logout link on top of main form"
201
- msgstr ""
202
-
203
- #: options/options-layouts/settings-show-hide.php:18
204
- msgid "Hide Reply button for Guests"
205
- msgstr ""
206
-
207
- #: options/options-layouts/settings-show-hide.php:29
208
- msgid "Hide Reply button for Members"
209
- msgstr ""
210
-
211
- #: options/options-layouts/settings-show-hide.php:40
212
- msgid "Hide Author Titles"
213
- msgstr ""
214
-
215
- #: options/options-layouts/settings-show-hide.php:51
216
- msgid "Hide Voting buttons"
217
- msgstr ""
218
-
219
- #: options/options-layouts/settings-show-hide.php:62
220
- msgid "Hide Share Button"
221
- msgstr ""
222
-
223
- #: options/options-layouts/settings-show-hide.php:73
224
- msgid "Hide the CAPTCHA field"
225
- msgstr ""
226
-
227
- #: options/options-layouts/settings-style.php:2 options/wc-options.php:162
228
- msgid "Background and Colors"
229
- msgstr ""
230
-
231
- #: options/options-layouts/settings-style.php:7
232
- msgid "Comment Form Background Color"
233
- msgstr ""
234
-
235
- #: options/options-layouts/settings-style.php:10
236
- #: options/options-layouts/settings-style.php:34
237
- #: options/options-layouts/settings-style.php:58
238
- #: options/options-layouts/settings-style.php:82
239
- #: options/options-layouts/settings-style.php:107
240
- #: options/options-layouts/settings-style.php:132
241
- #: options/options-layouts/settings-style.php:155
242
- #: options/options-layouts/settings-style.php:178
243
- msgid "Example: #00ff00"
244
- msgstr ""
245
-
246
- #: options/options-layouts/settings-style.php:31
247
- msgid "Comment Background Color"
248
- msgstr ""
249
-
250
- #: options/options-layouts/settings-style.php:55
251
- msgid "Reply Background Color"
252
- msgstr ""
253
-
254
- #: options/options-layouts/settings-style.php:79
255
- msgid "Comment Text Color"
256
- msgstr ""
257
-
258
- #: options/options-layouts/settings-style.php:104
259
- msgid "Author title color"
260
- msgstr ""
261
-
262
- #: options/options-layouts/settings-style.php:129
263
- msgid "Vote, Reply, Share, Edit links text colors"
264
- msgstr ""
265
-
266
- #: options/options-layouts/settings-style.php:152
267
- msgid "Comment form fields border color"
268
- msgstr ""
269
-
270
- #: options/options-layouts/settings-style.php:175
271
- msgid "New loaded comments' background color"
272
- msgstr ""
273
-
274
- #: options/options-layouts/settings-style.php:199
275
- msgid "Custom CSS Code"
276
- msgstr ""
277
-
278
- #: options/options-layouts/settings-subscription.php:2
279
- msgid "Email Subscription Settings"
280
- msgstr ""
281
-
282
- #: options/options-layouts/settings-subscription.php:7
283
- msgid "Show \"Notify of all new follow-up comments\""
284
- msgstr ""
285
-
286
- #: options/options-layouts/settings-subscription.php:8
287
- msgid "Show \"Notify of new replies to all my comments\""
288
- msgstr ""
289
-
290
- #: options/options-layouts/settings-subscription.php:9
291
- msgid "Show \"Notify of new replies to this comment\""
292
- msgstr ""
293
-
294
- #: options/options-layouts/settings-subscription.php:11
295
- msgid ""
296
- "Please keep all three or at least one of those options ON, otherwise users "
297
- "will not have any option for email notifications and they'll not get any "
298
- "messages."
299
- msgstr ""
300
-
301
- #: options/options-layouts/settings-subscription.php:30
302
- msgid "Use Postmatic for subscriptions and commenting by email"
303
- msgstr ""
304
-
305
- #: options/options-layouts/settings-subscription.php:31
306
- msgid ""
307
- "Postmatic allows your users subscribe to comments. Instead of just being "
308
- "notified, they add a reply right from their inbox."
309
- msgstr ""
310
-
311
- #: options/options-layouts/settings-subscription.php:42
312
- msgid ""
313
- "Keep selected the email notification of all new follow-up comments by default"
314
- msgstr ""
315
-
316
- #: options/options-layouts/settings-subscription.php:43
317
- msgid ""
318
- "If this option is checked-on, in Manage Subscriptions section of comment "
319
- "forms will only be displayed the \"Notify of all new follow-up comments\" "
320
- "option and this option will always be selected by default."
321
- msgstr ""
322
-
323
- #: options/phrases-layout/phrases-comment.php:2
324
- msgid "Comment Template Phrases"
325
- msgstr ""
326
-
327
- #: options/phrases-layout/phrases-comment.php:7
328
- #: options/wc-options-serialize.php:344
329
- msgid "Reply"
330
- msgstr ""
331
-
332
- #: options/phrases-layout/phrases-comment.php:17
333
- #: options/wc-options-serialize.php:345
334
- msgid "Share"
335
- msgstr ""
336
-
337
- #: options/phrases-layout/phrases-comment.php:27
338
- #: options/wc-options-serialize.php:346
339
- msgid "Share On Facebook"
340
- msgstr ""
341
-
342
- #: options/phrases-layout/phrases-comment.php:37
343
- #: options/wc-options-serialize.php:347
344
- msgid "Share On Twitter"
345
- msgstr ""
346
-
347
- #: options/phrases-layout/phrases-comment.php:47
348
- #: options/wc-options-serialize.php:348
349
- msgid "Share On Google"
350
- msgstr ""
351
-
352
- #: options/phrases-layout/phrases-comment.php:57
353
- #: options/wc-options-serialize.php:349
354
- msgid "Hide Replies"
355
- msgstr ""
356
-
357
- #: options/phrases-layout/phrases-comment.php:67
358
- #: options/wc-options-serialize.php:350
359
- msgid "Show Replies"
360
- msgstr ""
361
-
362
- #: options/phrases-layout/phrases-comment.php:77
363
- msgid "Title For Guests"
364
- msgstr ""
365
-
366
- #: options/phrases-layout/phrases-comment.php:87
367
- msgid "Title For Members"
368
- msgstr ""
369
-
370
- #: options/phrases-layout/phrases-comment.php:97
371
- msgid "Title For Authors"
372
- msgstr ""
373
-
374
- #: options/phrases-layout/phrases-comment.php:107
375
- msgid "Title For Admins"
376
- msgstr ""
377
-
378
- #: options/phrases-layout/phrases-comment.php:117
379
- #: options/wc-options-serialize.php:391
380
- msgid "Vote Up"
381
- msgstr ""
382
-
383
- #: options/phrases-layout/phrases-comment.php:127
384
- #: options/wc-options-serialize.php:392
385
- msgid "Vote Down"
386
- msgstr ""
387
-
388
- #: options/phrases-layout/phrases-comment.php:137
389
- msgid "Save edited comment button text"
390
- msgstr ""
391
-
392
- #: options/phrases-layout/phrases-comment.php:141
393
- #: options/wc-options-serialize.php:409
394
- msgid "Save"
395
- msgstr ""
396
-
397
- #: options/phrases-layout/phrases-comment.php:147
398
- msgid "Cancel comment editing button text"
399
- msgstr ""
400
-
401
- #: options/phrases-layout/phrases-comment.php:151
402
- #: options/wc-options-serialize.php:410
403
- msgid "Cancel"
404
- msgstr ""
405
-
406
- #: options/phrases-layout/phrases-datetime.php:2
407
- msgid "Date/Time Phrases"
408
- msgstr ""
409
-
410
- #: options/phrases-layout/phrases-datetime.php:7
411
- msgid "Year"
412
- msgstr ""
413
-
414
- #: options/phrases-layout/phrases-datetime.php:18
415
- msgid "Years (Plural Form)"
416
- msgstr ""
417
-
418
- #: options/phrases-layout/phrases-datetime.php:22
419
- msgid "Years"
420
- msgstr ""
421
-
422
- #: options/phrases-layout/phrases-datetime.php:29
423
- msgid "Month"
424
- msgstr ""
425
-
426
- #: options/phrases-layout/phrases-datetime.php:40
427
- msgid "Months (Plural Form)"
428
- msgstr ""
429
-
430
- #: options/phrases-layout/phrases-datetime.php:51
431
- msgid "Day"
432
- msgstr ""
433
-
434
- #: options/phrases-layout/phrases-datetime.php:62
435
- msgid "Days (Plural Form)"
436
- msgstr ""
437
-
438
- #: options/phrases-layout/phrases-datetime.php:84
439
- msgid "Hours (Plural Form)"
440
- msgstr ""
441
-
442
- #: options/phrases-layout/phrases-datetime.php:106
443
- msgid "Minutes (Plural Form)"
444
- msgstr ""
445
-
446
- #: options/phrases-layout/phrases-datetime.php:117
447
- msgid "Second"
448
- msgstr ""
449
-
450
- #: options/phrases-layout/phrases-datetime.php:128
451
- msgid "Seconds (Plural Form)"
452
- msgstr ""
453
-
454
- #: options/phrases-layout/phrases-datetime.php:138
455
- msgid "Commented \"right now\" text"
456
- msgstr ""
457
-
458
- #: options/phrases-layout/phrases-datetime.php:149
459
- msgid "Ago text"
460
- msgstr ""
461
-
462
- #: options/phrases-layout/phrases-datetime.php:160
463
- msgid "\"Today\" text"
464
- msgstr ""
465
-
466
- #: options/phrases-layout/phrases-datetime.php:164
467
- #: options/wc-options-serialize.php:385
468
- msgid "Today"
469
- msgstr ""
470
-
471
- #: options/phrases-layout/phrases-email.php:2
472
- msgid "Email Template Phrases"
473
- msgstr ""
474
-
475
- #: options/phrases-layout/phrases-email.php:7
476
- msgid "Email Subject"
477
- msgstr ""
478
-
479
- #: options/phrases-layout/phrases-email.php:18
480
- msgid "Email Message"
481
- msgstr ""
482
-
483
- #: options/phrases-layout/phrases-email.php:29
484
- msgid "New Reply Subject"
485
- msgstr ""
486
-
487
- #: options/phrases-layout/phrases-email.php:33
488
- #: options/phrases-layout/phrases-general.php:91
489
- #: options/wc-options-serialize.php:357
490
- msgid "New Reply"
491
- msgstr ""
492
-
493
- #: options/phrases-layout/phrases-email.php:40
494
- msgid "New Reply Message"
495
- msgstr ""
496
-
497
- #: options/phrases-layout/phrases-email.php:50
498
- #: options/phrases-layout/phrases-email.php:54
499
- #: options/wc-options-serialize.php:362
500
- msgid "Unsubscribe"
501
- msgstr ""
502
-
503
- #: options/phrases-layout/phrases-email.php:61
504
- #: options/phrases-layout/phrases-email.php:65
505
- #: options/wc-options-serialize.php:363
506
- msgid "Ignore Subscription"
507
- msgstr ""
508
-
509
- #: options/phrases-layout/phrases-email.php:72
510
- #: options/phrases-layout/phrases-email.php:76
511
- #: options/wc-options-serialize.php:365
512
- msgid "Confirm your subscribtion"
513
- msgstr ""
514
-
515
- #: options/phrases-layout/phrases-email.php:82
516
- #: options/phrases-layout/phrases-email.php:86
517
- #: options/wc-options-serialize.php:366
518
- msgid "You've successfully confirmed your subscription."
519
- msgstr ""
520
-
521
- #: options/phrases-layout/phrases-email.php:92
522
- msgid "Subscribe Confirmation Email Subject"
523
- msgstr ""
524
-
525
- #: options/phrases-layout/phrases-email.php:96
526
- #: options/wc-options-serialize.php:367 wc.php:877
527
- msgid "Subscribe Confirmation"
528
- msgstr ""
529
-
530
- #: options/phrases-layout/phrases-email.php:103
531
- msgid "Subscribe Confirmation Email Content"
532
- msgstr ""
533
-
534
- #: options/phrases-layout/phrases-email.php:107
535
- #: options/wc-options-serialize.php:368 wc.php:878
536
- msgid ""
537
- "Hi, <br/> You just subscribed for new comments on our website. This means "
538
- "you will receive an email when new comments are posted according to "
539
- "subscription option you've chosen. <br/> To activate, click confirm below. "
540
- "If you believe this is an error, ignore this message and we'll never bother "
541
- "you again."
542
- msgstr ""
543
-
544
- #: options/phrases-layout/phrases-form.php:2
545
- msgid "Form Template Phrases"
546
- msgstr ""
547
-
548
- #: options/phrases-layout/phrases-form.php:7
549
- msgid "Comment Field Start"
550
- msgstr ""
551
-
552
- #: options/phrases-layout/phrases-form.php:17
553
- msgid "Comment Field Join"
554
- msgstr ""
555
-
556
- #: options/phrases-layout/phrases-form.php:27
557
- msgid "Email Field"
558
- msgstr ""
559
-
560
- #: options/phrases-layout/phrases-form.php:37
561
- msgid "Name Field"
562
- msgstr ""
563
-
564
- #: options/phrases-layout/phrases-form.php:47
565
- msgid "CAPTCHA Field"
566
- msgstr ""
567
-
568
- #: options/phrases-layout/phrases-form.php:57
569
- msgid "Submit Button"
570
- msgstr ""
571
-
572
- #: options/phrases-layout/phrases-form.php:67
573
- #: options/phrases-layout/phrases-form.php:71
574
- #: options/wc-options-serialize.php:338
575
- msgid "Manage Subscriptions"
576
- msgstr ""
577
-
578
- #: options/phrases-layout/phrases-form.php:77
579
- msgid "Notify \"None\""
580
- msgstr ""
581
-
582
- #: options/phrases-layout/phrases-form.php:81
583
- #: options/wc-options-serialize.php:339
584
- msgid "None"
585
- msgstr ""
586
-
587
- #: options/phrases-layout/phrases-form.php:87
588
- msgid "Notify on new comments (checkbox)"
589
- msgstr ""
590
-
591
- #: options/phrases-layout/phrases-form.php:91
592
- #: options/wc-options-serialize.php:340
593
- msgid "Notify of all new follow-up comments"
594
- msgstr ""
595
-
596
- #: options/phrases-layout/phrases-form.php:98
597
- msgid "Notify on all new replies (checkbox)"
598
- msgstr ""
599
-
600
- #: options/phrases-layout/phrases-form.php:102
601
- #: options/wc-options-serialize.php:341
602
- msgid "Notify of new replies to all my comments"
603
- msgstr ""
604
-
605
- #: options/phrases-layout/phrases-form.php:109
606
- msgid "Notify on new replies (checkbox)"
607
- msgstr ""
608
-
609
- #: options/phrases-layout/phrases-form.php:113
610
- #: options/wc-options-serialize.php:342
611
- msgid "Notify of new replies to this comment"
612
- msgstr ""
613
-
614
- #: options/phrases-layout/phrases-form.php:119
615
- msgid "Subscribed on this comment replies"
616
- msgstr ""
617
-
618
- #: options/phrases-layout/phrases-form.php:129
619
- msgid "Subscribed on all your comments replies"
620
- msgstr ""
621
-
622
- #: options/phrases-layout/phrases-form.php:139
623
- msgid "Subscribed on this post"
624
- msgstr ""
625
-
626
- #: options/phrases-layout/phrases-general.php:2
627
- msgid "General Phrases"
628
- msgstr ""
629
-
630
- #: options/phrases-layout/phrases-general.php:7
631
- #: options/wc-options-serialize.php:327
632
- msgid "Leave a Reply"
633
- msgstr ""
634
-
635
- #: options/phrases-layout/phrases-general.php:17
636
- msgid "Be the first to comment"
637
- msgstr ""
638
-
639
- #: options/phrases-layout/phrases-general.php:27
640
- #: options/wc-options-serialize.php:329 options/wc-options.php:323
641
- msgid "Comment"
642
- msgstr ""
643
-
644
- #: options/phrases-layout/phrases-general.php:37
645
- msgid "Comment (Plural Form)"
646
- msgstr ""
647
-
648
- #: options/phrases-layout/phrases-general.php:47
649
- msgid "On"
650
- msgstr ""
651
-
652
- #: options/phrases-layout/phrases-general.php:57
653
- msgid "Load More Button"
654
- msgstr ""
655
-
656
- #: options/phrases-layout/phrases-general.php:67
657
- msgid "Button text if has new comment"
658
- msgstr ""
659
-
660
- #: options/phrases-layout/phrases-general.php:71
661
- #: options/wc-options-serialize.php:355
662
- msgid "New Comment"
663
- msgstr ""
664
-
665
- #: options/phrases-layout/phrases-general.php:77
666
- msgid "Button text if has new comments"
667
- msgstr ""
668
-
669
- #: options/phrases-layout/phrases-general.php:81
670
- msgid "New Comments"
671
- msgstr ""
672
-
673
- #: options/phrases-layout/phrases-general.php:87
674
- msgid "Button text if has new reply"
675
- msgstr ""
676
-
677
- #: options/phrases-layout/phrases-general.php:97
678
- msgid "Button text if has new replies"
679
- msgstr ""
680
-
681
- #: options/phrases-layout/phrases-general.php:101
682
- msgid "New Replies"
683
- msgstr ""
684
-
685
- #: options/phrases-layout/phrases-general.php:107
686
- msgid "Text on load more button if has new comment(s)"
687
- msgstr ""
688
-
689
- #: options/phrases-layout/phrases-general.php:111
690
- #: options/wc-options-serialize.php:405
691
- msgid "New"
692
- msgstr ""
693
-
694
- #: options/phrases-layout/phrases-notification.php:2
695
- msgid "Notification Phrases"
696
- msgstr ""
697
-
698
- #: options/phrases-layout/phrases-notification.php:7
699
- #: options/wc-options-serialize.php:364
700
- msgid "You've successfully unsubscribed."
701
- msgstr ""
702
-
703
- #: options/phrases-layout/phrases-notification.php:18
704
- msgid "Error message for empty field"
705
- msgstr ""
706
-
707
- #: options/phrases-layout/phrases-notification.php:28
708
- msgid "Error message for invalid email field"
709
- msgstr ""
710
-
711
- #: options/phrases-layout/phrases-notification.php:38
712
- #: options/wc-options-serialize.php:386
713
- msgid "You must be"
714
- msgstr ""
715
-
716
- #: options/phrases-layout/phrases-notification.php:48
717
- msgid "Logged in as"
718
- msgstr ""
719
-
720
- #: options/phrases-layout/phrases-notification.php:58
721
- #: options/wc-options-serialize.php:388
722
- msgid "Log out"
723
- msgstr ""
724
-
725
- #: options/phrases-layout/phrases-notification.php:68
726
- msgid "Logged In"
727
- msgstr ""
728
-
729
- #: options/phrases-layout/phrases-notification.php:78
730
- msgid "To post a comment"
731
- msgstr ""
732
-
733
- #: options/phrases-layout/phrases-notification.php:88
734
- #: options/wc-options-serialize.php:393
735
- msgid "Vote Counted"
736
- msgstr ""
737
-
738
- #: options/phrases-layout/phrases-notification.php:98
739
- msgid "You can vote only 1 time"
740
- msgstr ""
741
-
742
- #: options/phrases-layout/phrases-notification.php:108
743
- #: options/wc-options-serialize.php:395
744
- msgid "Voting Error"
745
- msgstr ""
746
-
747
- #: options/phrases-layout/phrases-notification.php:118
748
- msgid "Login To Vote"
749
- msgstr ""
750
-
751
- #: options/phrases-layout/phrases-notification.php:128
752
- msgid "You Cannot Vote On Your Comment"
753
- msgstr ""
754
-
755
- #: options/phrases-layout/phrases-notification.php:138
756
- #: options/wc-options-serialize.php:398
757
- msgid "Invalid Captcha Code"
758
- msgstr ""
759
-
760
- #: options/phrases-layout/phrases-notification.php:148
761
- #: options/wc-options-serialize.php:399
762
- msgid "Some of field value is invalid"
763
- msgstr ""
764
-
765
- #: options/phrases-layout/phrases-notification.php:158
766
- msgid "Comment waiting moderation"
767
- msgstr ""
768
-
769
- #: options/phrases-layout/phrases-notification.php:168
770
- msgid "Message if comment was not updated"
771
- msgstr ""
772
-
773
- #: options/phrases-layout/phrases-notification.php:172
774
- #: options/wc-options-serialize.php:406
775
- msgid "Sorry, the comment was not updated"
776
- msgstr ""
777
-
778
- #: options/phrases-layout/phrases-notification.php:178
779
- msgid "Message if comment no longer possible to edit"
780
- msgstr ""
781
-
782
- #: options/phrases-layout/phrases-notification.php:182
783
- #: options/wc-options-serialize.php:407
784
- msgid "Sorry, this comment no longer possible to edit"
785
- msgstr ""
786
-
787
- #: options/phrases-layout/phrases-notification.php:189
788
- msgid "Message if comment text not changed"
789
- msgstr ""
790
-
791
- #: options/phrases-layout/phrases-notification.php:193
792
- msgid "TYou've not made any changes"
793
- msgstr ""
794
-
795
- #: options/wc-options-serialize.php:328
796
- msgid "Be the First to Comment!"
797
- msgstr ""
798
-
799
- #: options/wc-options-serialize.php:330
800
- msgid "Comments"
801
- msgstr ""
802
-
803
- #: options/wc-options-serialize.php:331
804
- msgid "on"
805
- msgstr ""
806
-
807
- #: options/wc-options-serialize.php:332
808
- msgid "Start the discussion"
809
- msgstr ""
810
-
811
- #: options/wc-options-serialize.php:333
812
- msgid "Join the discussion"
813
- msgstr ""
814
-
815
- #: options/wc-options-serialize.php:334 options/wc-options.php:325
816
- msgid "Email"
817
- msgstr ""
818
-
819
- #: options/wc-options-serialize.php:335
820
- msgid "Name"
821
- msgstr ""
822
-
823
- #: options/wc-options-serialize.php:336
824
- msgid "Please insert the code above to comment"
825
- msgstr ""
826
-
827
- #: options/wc-options-serialize.php:337
828
- msgid "Post Comment"
829
- msgstr ""
830
-
831
- #: options/wc-options-serialize.php:343
832
- msgid "Load More Comments"
833
- msgstr ""
834
-
835
- #: options/wc-options-serialize.php:351
836
- msgid "Guest"
837
- msgstr ""
838
-
839
- #: options/wc-options-serialize.php:352
840
- msgid "Member"
841
- msgstr ""
842
-
843
- #: options/wc-options-serialize.php:353
844
- msgid "Author"
845
- msgstr ""
846
-
847
- #: options/wc-options-serialize.php:354
848
- msgid "Admin"
849
- msgstr ""
850
-
851
- #: options/wc-options-serialize.php:356
852
- msgid "New comment on the discussion section you've been interested in"
853
- msgstr ""
854
-
855
- #: options/wc-options-serialize.php:358
856
- msgid "New reply on the discussion section you've been interested in"
857
- msgstr ""
858
-
859
- #: options/wc-options-serialize.php:359
860
- msgid "You're subscribed for new replies on this comment"
861
- msgstr ""
862
-
863
- #: options/wc-options-serialize.php:360
864
- msgid "You're subscribed for new replies on all your comments"
865
- msgstr ""
866
-
867
- #: options/wc-options-serialize.php:361
868
- msgid "You're subscribed for new follow-up comments on this post"
869
- msgstr ""
870
-
871
- #: options/wc-options-serialize.php:369
872
- msgid "please fill out this field to comment"
873
- msgstr ""
874
-
875
- #: options/wc-options-serialize.php:370
876
- msgid "email address is invalid"
877
- msgstr ""
878
-
879
- #: options/wc-options-serialize.php:371
880
- msgid "year"
881
- msgstr ""
882
-
883
- #: options/wc-options-serialize.php:372
884
- msgid "years"
885
- msgstr ""
886
-
887
- #: options/wc-options-serialize.php:373
888
- msgid "month"
889
- msgstr ""
890
-
891
- #: options/wc-options-serialize.php:374
892
- msgid "months"
893
- msgstr ""
894
-
895
- #: options/wc-options-serialize.php:375
896
- msgid "day"
897
- msgstr ""
898
-
899
- #: options/wc-options-serialize.php:376
900
- msgid "days"
901
- msgstr ""
902
-
903
- #: options/wc-options-serialize.php:377
904
- msgid "hour"
905
- msgstr ""
906
-
907
- #: options/wc-options-serialize.php:378
908
- msgid "hours"
909
- msgstr ""
910
-
911
- #: options/wc-options-serialize.php:379
912
- msgid "minute"
913
- msgstr ""
914
-
915
- #: options/wc-options-serialize.php:380
916
- msgid "minutes"
917
- msgstr ""
918
-
919
- #: options/wc-options-serialize.php:381
920
- msgid "second"
921
- msgstr ""
922
-
923
- #: options/wc-options-serialize.php:382
924
- msgid "seconds"
925
- msgstr ""
926
-
927
- #: options/wc-options-serialize.php:383
928
- msgid "right now"
929
- msgstr ""
930
-
931
- #: options/wc-options-serialize.php:384
932
- msgid "ago"
933
- msgstr ""
934
-
935
- #: options/wc-options-serialize.php:387
936
- msgid "You are logged in as"
937
- msgstr ""
938
-
939
- #: options/wc-options-serialize.php:389
940
- msgid "logged in"
941
- msgstr ""
942
-
943
- #: options/wc-options-serialize.php:390
944
- msgid "to post a comment."
945
- msgstr ""
946
-
947
- #: options/wc-options-serialize.php:394
948
- msgid "You've already voted for this comment"
949
- msgstr ""
950
-
951
- #: options/wc-options-serialize.php:396
952
- msgid "You Must Be Logged In To Vote"
953
- msgstr ""
954
-
955
- #: options/wc-options-serialize.php:397
956
- msgid "You cannot vote for your comment"
957
- msgstr ""
958
-
959
- #: options/wc-options-serialize.php:400
960
- msgid "new comment"
961
- msgstr ""
962
-
963
- #: options/wc-options-serialize.php:401
964
- msgid "new comments"
965
- msgstr ""
966
-
967
- #: options/wc-options-serialize.php:402
968
- msgid "Your Comment awaiting moderation"
969
- msgstr ""
970
-
971
- #: options/wc-options-serialize.php:403
972
- msgid "new reply on your comment"
973
- msgstr ""
974
-
975
- #: options/wc-options-serialize.php:404
976
- msgid "new replies on your comments"
977
- msgstr ""
978
-
979
- #: options/wc-options-serialize.php:408
980
- msgid "You've not made any changes"
981
- msgstr ""
982
-
983
- #: options/wc-options.php:29 options/wc-options.php:208
984
- msgid "Hacker?"
985
- msgstr ""
986
-
987
- #: options/wc-options.php:78
988
- msgid "wpDiscuz General Settings"
989
- msgstr ""
990
-
991
- #: options/wc-options.php:158
992
- msgid "General settings"
993
- msgstr ""
994
-
995
- #: options/wc-options.php:161
996
- msgid "Email Subscription"
997
- msgstr ""
998
-
999
- #: options/wc-options.php:161
1000
- msgid "and Postmatic"
1001
- msgstr ""
1002
-
1003
- #: options/wc-options.php:190 options/wc-options.php:353
1004
- msgid "Save Changes"
1005
- msgstr ""
1006
-
1007
- #: options/wc-options.php:311
1008
- msgid "WpDiscuz Front-end Phrases"
1009
- msgstr ""
1010
-
1011
- #: options/wc-options.php:321
1012
- msgid "General"
1013
- msgstr ""
1014
-
1015
- #: options/wc-options.php:322
1016
- msgid "Form"
1017
- msgstr ""
1018
-
1019
- #: options/wc-options.php:324
1020
- msgid "Date/Time"
1021
- msgstr ""
1022
-
1023
- #: options/wc-options.php:326
1024
- msgid "Notification"
1025
- msgstr ""
1026
-
1027
- #: wc.php:954
1028
- msgid "Settings"
1029
- msgstr ""
1030
-
1031
- #: wc.php:955
1032
- msgid "Phrases"
1033
- msgstr ""
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wpDiscuz - Wordpress Comments\n"
4
+ "POT-Creation-Date: 2015-03-23 01:17+0400\n"
5
+ "PO-Revision-Date: 2015-03-23 01:17+0400\n"
6
+ "Last-Translator: advancedcoding <advancedcoding@mail.ru>\n"
7
+ "Language-Team: advancedcoding <advancedcoding@mail.ru>\n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.7.5\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
16
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
17
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
21
+
22
+ #: comment-form/form.php:161 comment-form/tpl-comment.php:231
23
+ msgid "Participate in this discussion via email"
24
+ msgstr ""
25
+
26
+ #: comment-form/tpl-comment.php:83
27
+ msgid "Anonymous"
28
+ msgstr ""
29
+
30
+ #: comment-form/tpl-comment.php:165 comment-form/tpl-comment.php:168
31
+ msgid "Edit"
32
+ msgstr ""
33
+
34
+ #: options/options-layouts/settings-general.php:2
35
+ msgid "General Settings"
36
+ msgstr ""
37
+
38
+ #: options/options-layouts/settings-general.php:7
39
+ msgid "Display comment form for post types:"
40
+ msgstr ""
41
+
42
+ #: options/options-layouts/settings-general.php:28
43
+ msgid "User Must be registered to comment"
44
+ msgstr ""
45
+
46
+ #: options/options-layouts/settings-general.php:46
47
+ msgid "Show the latest comments on"
48
+ msgstr ""
49
+
50
+ #: options/options-layouts/settings-general.php:50
51
+ msgid "the top of the list"
52
+ msgstr ""
53
+
54
+ #: options/options-layouts/settings-general.php:52
55
+ msgid "top of the threads"
56
+ msgstr ""
57
+
58
+ #: options/options-layouts/settings-general.php:54
59
+ msgid "bottom of the threads"
60
+ msgstr ""
61
+
62
+ #: options/options-layouts/settings-general.php:56
63
+ msgid "the bottom of the list"
64
+ msgstr ""
65
+
66
+ #: options/options-layouts/settings-general.php:64
67
+ msgid "Comment Threads Per Page"
68
+ msgstr ""
69
+
70
+ #: options/options-layouts/settings-general.php:76
71
+ msgid "Comments max depth"
72
+ msgstr ""
73
+
74
+ #: options/options-layouts/settings-general.php:81
75
+ msgid "Level"
76
+ msgstr ""
77
+
78
+ #: options/options-layouts/settings-general.php:82
79
+ #: options/options-layouts/settings-general.php:83
80
+ #: options/options-layouts/settings-general.php:84
81
+ #: options/options-layouts/settings-general.php:85
82
+ msgid "Levels"
83
+ msgstr ""
84
+
85
+ #: options/options-layouts/settings-general.php:92
86
+ msgid "Comment text size in pixels"
87
+ msgstr ""
88
+
89
+ #: options/options-layouts/settings-general.php:109
90
+ msgid "Allow comment editing for"
91
+ msgstr ""
92
+
93
+ #: options/options-layouts/settings-general.php:114
94
+ msgid "Not Allow"
95
+ msgstr ""
96
+
97
+ #: options/options-layouts/settings-general.php:115
98
+ #: options/options-layouts/settings-general.php:116
99
+ #: options/options-layouts/settings-live-update.php:41
100
+ #: options/options-layouts/settings-live-update.php:42
101
+ #: options/options-layouts/settings-live-update.php:43
102
+ msgid "Minutes"
103
+ msgstr ""
104
+
105
+ #: options/options-layouts/settings-general.php:117
106
+ #: options/phrases-layout/phrases-datetime.php:73
107
+ msgid "Hour"
108
+ msgstr ""
109
+
110
+ #: options/options-layouts/settings-general.php:118
111
+ #: options/options-layouts/settings-general.php:119
112
+ msgid "Hours"
113
+ msgstr ""
114
+
115
+ #: options/options-layouts/settings-general.php:127
116
+ msgid "Use WordPress Date/Time format"
117
+ msgstr ""
118
+
119
+ #: options/options-layouts/settings-general.php:128
120
+ msgid ""
121
+ "wpDiscuz shows Human Readable date format. If you check this option it'll "
122
+ "show the date/time format set in WordPress General Settings."
123
+ msgstr ""
124
+
125
+ #: options/options-layouts/settings-general.php:135
126
+ msgid "Current Wordpress date/time format"
127
+ msgstr ""
128
+
129
+ #: options/options-layouts/settings-general.php:144
130
+ msgid ""
131
+ "Help wpDiscuz to grow allowing people to recognize which comment plugin you "
132
+ "use"
133
+ msgstr ""
134
+
135
+ #: options/options-layouts/settings-general.php:146
136
+ msgid ""
137
+ "Please check this option on to help wpDiscuz get more popularity as your "
138
+ "thank to the hard work we do for you totally free. This option adds a very "
139
+ "small (16x16px) icon under the comment section which will allow your site "
140
+ "visitors recognize the name of comment solution you use."
141
+ msgstr ""
142
+
143
+ #: options/options-layouts/settings-general.php:151
144
+ msgid "Thank you!"
145
+ msgstr ""
146
+
147
+ #: options/options-layouts/settings-live-update.php:2
148
+ #: options/wc-options.php:159
149
+ msgid "Live Update"
150
+ msgstr ""
151
+
152
+ #: options/options-layouts/settings-live-update.php:8
153
+ msgid "Live update options"
154
+ msgstr ""
155
+
156
+ #: options/options-layouts/settings-live-update.php:14
157
+ msgid "Never update"
158
+ msgstr ""
159
+
160
+ #: options/options-layouts/settings-live-update.php:16
161
+ msgid "Turn off \"Live Update\" function"
162
+ msgstr ""
163
+
164
+ #: options/options-layouts/settings-live-update.php:18
165
+ msgid "Show new comment/reply buttons to update manualy"
166
+ msgstr ""
167
+
168
+ #: options/options-layouts/settings-live-update.php:20
169
+ msgid "Always check for new comments and show update buttons"
170
+ msgstr ""
171
+
172
+ #: options/options-layouts/settings-live-update.php:22
173
+ msgid "Always update"
174
+ msgstr ""
175
+
176
+ #: options/options-layouts/settings-live-update.php:24
177
+ msgid "Always check for new comments and update automatically"
178
+ msgstr ""
179
+
180
+ #: options/options-layouts/settings-live-update.php:32
181
+ msgid "Update comment list every"
182
+ msgstr ""
183
+
184
+ #: options/options-layouts/settings-live-update.php:37
185
+ #: options/options-layouts/settings-live-update.php:38
186
+ #: options/options-layouts/settings-live-update.php:39
187
+ msgid "Seconds"
188
+ msgstr ""
189
+
190
+ #: options/options-layouts/settings-live-update.php:40
191
+ #: options/phrases-layout/phrases-datetime.php:95
192
+ msgid "Minute"
193
+ msgstr ""
194
+
195
+ #: options/options-layouts/settings-show-hide.php:2 options/wc-options.php:160
196
+ msgid "Show/Hide Components"
197
+ msgstr ""
198
+
199
+ #: options/options-layouts/settings-show-hide.php:7
200
+ msgid "Show logged-in user name and logout link on top of main form"
201
+ msgstr ""
202
+
203
+ #: options/options-layouts/settings-show-hide.php:18
204
+ msgid "Hide Reply button for Guests"
205
+ msgstr ""
206
+
207
+ #: options/options-layouts/settings-show-hide.php:29
208
+ msgid "Hide Reply button for Members"
209
+ msgstr ""
210
+
211
+ #: options/options-layouts/settings-show-hide.php:40
212
+ msgid "Hide Author Titles"
213
+ msgstr ""
214
+
215
+ #: options/options-layouts/settings-show-hide.php:51
216
+ msgid "Hide Voting buttons"
217
+ msgstr ""
218
+
219
+ #: options/options-layouts/settings-show-hide.php:62
220
+ msgid "Hide Share Button"
221
+ msgstr ""
222
+
223
+ #: options/options-layouts/settings-show-hide.php:73
224
+ msgid "Hide the CAPTCHA field"
225
+ msgstr ""
226
+
227
+ #: options/options-layouts/settings-style.php:2 options/wc-options.php:162
228
+ msgid "Background and Colors"
229
+ msgstr ""
230
+
231
+ #: options/options-layouts/settings-style.php:7
232
+ msgid "Comment Form Background Color"
233
+ msgstr ""
234
+
235
+ #: options/options-layouts/settings-style.php:10
236
+ #: options/options-layouts/settings-style.php:34
237
+ #: options/options-layouts/settings-style.php:58
238
+ #: options/options-layouts/settings-style.php:82
239
+ #: options/options-layouts/settings-style.php:107
240
+ #: options/options-layouts/settings-style.php:132
241
+ #: options/options-layouts/settings-style.php:155
242
+ #: options/options-layouts/settings-style.php:178
243
+ msgid "Example: #00ff00"
244
+ msgstr ""
245
+
246
+ #: options/options-layouts/settings-style.php:31
247
+ msgid "Comment Background Color"
248
+ msgstr ""
249
+
250
+ #: options/options-layouts/settings-style.php:55
251
+ msgid "Reply Background Color"
252
+ msgstr ""
253
+
254
+ #: options/options-layouts/settings-style.php:79
255
+ msgid "Comment Text Color"
256
+ msgstr ""
257
+
258
+ #: options/options-layouts/settings-style.php:104
259
+ msgid "Author title color"
260
+ msgstr ""
261
+
262
+ #: options/options-layouts/settings-style.php:129
263
+ msgid "Vote, Reply, Share, Edit links text colors"
264
+ msgstr ""
265
+
266
+ #: options/options-layouts/settings-style.php:152
267
+ msgid "Comment form fields border color"
268
+ msgstr ""
269
+
270
+ #: options/options-layouts/settings-style.php:175
271
+ msgid "New loaded comments' background color"
272
+ msgstr ""
273
+
274
+ #: options/options-layouts/settings-style.php:199
275
+ msgid "Custom CSS Code"
276
+ msgstr ""
277
+
278
+ #: options/options-layouts/settings-subscription.php:2
279
+ msgid "Email Subscription Settings"
280
+ msgstr ""
281
+
282
+ #: options/options-layouts/settings-subscription.php:7
283
+ msgid "Show \"Notify of all new follow-up comments\""
284
+ msgstr ""
285
+
286
+ #: options/options-layouts/settings-subscription.php:8
287
+ msgid "Show \"Notify of new replies to all my comments\""
288
+ msgstr ""
289
+
290
+ #: options/options-layouts/settings-subscription.php:9
291
+ msgid "Show \"Notify of new replies to this comment\""
292
+ msgstr ""
293
+
294
+ #: options/options-layouts/settings-subscription.php:11
295
+ msgid ""
296
+ "Please keep all three or at least one of those options ON, otherwise users "
297
+ "will not have any option for email notifications and they'll not get any "
298
+ "messages."
299
+ msgstr ""
300
+
301
+ #: options/options-layouts/settings-subscription.php:30
302
+ msgid "Use Postmatic for subscriptions and commenting by email"
303
+ msgstr ""
304
+
305
+ #: options/options-layouts/settings-subscription.php:31
306
+ msgid ""
307
+ "Postmatic allows your users subscribe to comments. Instead of just being "
308
+ "notified, they add a reply right from their inbox."
309
+ msgstr ""
310
+
311
+ #: options/options-layouts/settings-subscription.php:42
312
+ msgid ""
313
+ "Keep selected the email notification of all new follow-up comments by default"
314
+ msgstr ""
315
+
316
+ #: options/options-layouts/settings-subscription.php:43
317
+ msgid ""
318
+ "If this option is checked-on, in Manage Subscriptions section of comment "
319
+ "forms will only be displayed the \"Notify of all new follow-up comments\" "
320
+ "option and this option will always be selected by default."
321
+ msgstr ""
322
+
323
+ #: options/phrases-layout/phrases-comment.php:2
324
+ msgid "Comment Template Phrases"
325
+ msgstr ""
326
+
327
+ #: options/phrases-layout/phrases-comment.php:7
328
+ #: options/wc-options-serialize.php:344
329
+ msgid "Reply"
330
+ msgstr ""
331
+
332
+ #: options/phrases-layout/phrases-comment.php:17
333
+ #: options/wc-options-serialize.php:345
334
+ msgid "Share"
335
+ msgstr ""
336
+
337
+ #: options/phrases-layout/phrases-comment.php:27
338
+ #: options/wc-options-serialize.php:346
339
+ msgid "Share On Facebook"
340
+ msgstr ""
341
+
342
+ #: options/phrases-layout/phrases-comment.php:37
343
+ #: options/wc-options-serialize.php:347
344
+ msgid "Share On Twitter"
345
+ msgstr ""
346
+
347
+ #: options/phrases-layout/phrases-comment.php:47
348
+ #: options/wc-options-serialize.php:348
349
+ msgid "Share On Google"
350
+ msgstr ""
351
+
352
+ #: options/phrases-layout/phrases-comment.php:57
353
+ #: options/wc-options-serialize.php:349
354
+ msgid "Hide Replies"
355
+ msgstr ""
356
+
357
+ #: options/phrases-layout/phrases-comment.php:67
358
+ #: options/wc-options-serialize.php:350
359
+ msgid "Show Replies"
360
+ msgstr ""
361
+
362
+ #: options/phrases-layout/phrases-comment.php:77
363
+ msgid "Title For Guests"
364
+ msgstr ""
365
+
366
+ #: options/phrases-layout/phrases-comment.php:87
367
+ msgid "Title For Members"
368
+ msgstr ""
369
+
370
+ #: options/phrases-layout/phrases-comment.php:97
371
+ msgid "Title For Authors"
372
+ msgstr ""
373
+
374
+ #: options/phrases-layout/phrases-comment.php:107
375
+ msgid "Title For Admins"
376
+ msgstr ""
377
+
378
+ #: options/phrases-layout/phrases-comment.php:117
379
+ #: options/wc-options-serialize.php:391
380
+ msgid "Vote Up"
381
+ msgstr ""
382
+
383
+ #: options/phrases-layout/phrases-comment.php:127
384
+ #: options/wc-options-serialize.php:392
385
+ msgid "Vote Down"
386
+ msgstr ""
387
+
388
+ #: options/phrases-layout/phrases-comment.php:137
389
+ msgid "Save edited comment button text"
390
+ msgstr ""
391
+
392
+ #: options/phrases-layout/phrases-comment.php:141
393
+ #: options/wc-options-serialize.php:409
394
+ msgid "Save"
395
+ msgstr ""
396
+
397
+ #: options/phrases-layout/phrases-comment.php:147
398
+ msgid "Cancel comment editing button text"
399
+ msgstr ""
400
+
401
+ #: options/phrases-layout/phrases-comment.php:151
402
+ #: options/wc-options-serialize.php:410
403
+ msgid "Cancel"
404
+ msgstr ""
405
+
406
+ #: options/phrases-layout/phrases-datetime.php:2
407
+ msgid "Date/Time Phrases"
408
+ msgstr ""
409
+
410
+ #: options/phrases-layout/phrases-datetime.php:7
411
+ msgid "Year"
412
+ msgstr ""
413
+
414
+ #: options/phrases-layout/phrases-datetime.php:18
415
+ msgid "Years (Plural Form)"
416
+ msgstr ""
417
+
418
+ #: options/phrases-layout/phrases-datetime.php:22
419
+ msgid "Years"
420
+ msgstr ""
421
+
422
+ #: options/phrases-layout/phrases-datetime.php:29
423
+ msgid "Month"
424
+ msgstr ""
425
+
426
+ #: options/phrases-layout/phrases-datetime.php:40
427
+ msgid "Months (Plural Form)"
428
+ msgstr ""
429
+
430
+ #: options/phrases-layout/phrases-datetime.php:51
431
+ msgid "Day"
432
+ msgstr ""
433
+
434
+ #: options/phrases-layout/phrases-datetime.php:62
435
+ msgid "Days (Plural Form)"
436
+ msgstr ""
437
+
438
+ #: options/phrases-layout/phrases-datetime.php:84
439
+ msgid "Hours (Plural Form)"
440
+ msgstr ""
441
+
442
+ #: options/phrases-layout/phrases-datetime.php:106
443
+ msgid "Minutes (Plural Form)"
444
+ msgstr ""
445
+
446
+ #: options/phrases-layout/phrases-datetime.php:117
447
+ msgid "Second"
448
+ msgstr ""
449
+
450
+ #: options/phrases-layout/phrases-datetime.php:128
451
+ msgid "Seconds (Plural Form)"
452
+ msgstr ""
453
+
454
+ #: options/phrases-layout/phrases-datetime.php:138
455
+ msgid "Commented \"right now\" text"
456
+ msgstr ""
457
+
458
+ #: options/phrases-layout/phrases-datetime.php:149
459
+ msgid "Ago text"
460
+ msgstr ""
461
+
462
+ #: options/phrases-layout/phrases-datetime.php:160
463
+ msgid "\"Today\" text"
464
+ msgstr ""
465
+
466
+ #: options/phrases-layout/phrases-datetime.php:164
467
+ #: options/wc-options-serialize.php:385
468
+ msgid "Today"
469
+ msgstr ""
470
+
471
+ #: options/phrases-layout/phrases-email.php:2
472
+ msgid "Email Template Phrases"
473
+ msgstr ""
474
+
475
+ #: options/phrases-layout/phrases-email.php:7
476
+ msgid "Email Subject"
477
+ msgstr ""
478
+
479
+ #: options/phrases-layout/phrases-email.php:18
480
+ msgid "Email Message"
481
+ msgstr ""
482
+
483
+ #: options/phrases-layout/phrases-email.php:29
484
+ msgid "New Reply Subject"
485
+ msgstr ""
486
+
487
+ #: options/phrases-layout/phrases-email.php:33
488
+ #: options/phrases-layout/phrases-general.php:91
489
+ #: options/wc-options-serialize.php:357
490
+ msgid "New Reply"
491
+ msgstr ""
492
+
493
+ #: options/phrases-layout/phrases-email.php:40
494
+ msgid "New Reply Message"
495
+ msgstr ""
496
+
497
+ #: options/phrases-layout/phrases-email.php:50
498
+ #: options/phrases-layout/phrases-email.php:54
499
+ #: options/wc-options-serialize.php:362
500
+ msgid "Unsubscribe"
501
+ msgstr ""
502
+
503
+ #: options/phrases-layout/phrases-email.php:61
504
+ #: options/phrases-layout/phrases-email.php:65
505
+ #: options/wc-options-serialize.php:363
506
+ msgid "Ignore Subscription"
507
+ msgstr ""
508
+
509
+ #: options/phrases-layout/phrases-email.php:72
510
+ #: options/phrases-layout/phrases-email.php:76
511
+ #: options/wc-options-serialize.php:365
512
+ msgid "Confirm your subscribtion"
513
+ msgstr ""
514
+
515
+ #: options/phrases-layout/phrases-email.php:82
516
+ #: options/phrases-layout/phrases-email.php:86
517
+ #: options/wc-options-serialize.php:366
518
+ msgid "You've successfully confirmed your subscription."
519
+ msgstr ""
520
+
521
+ #: options/phrases-layout/phrases-email.php:92
522
+ msgid "Subscribe Confirmation Email Subject"
523
+ msgstr ""
524
+
525
+ #: options/phrases-layout/phrases-email.php:96
526
+ #: options/wc-options-serialize.php:367 wc.php:877
527
+ msgid "Subscribe Confirmation"
528
+ msgstr ""
529
+
530
+ #: options/phrases-layout/phrases-email.php:103
531
+ msgid "Subscribe Confirmation Email Content"
532
+ msgstr ""
533
+
534
+ #: options/phrases-layout/phrases-email.php:107
535
+ #: options/wc-options-serialize.php:368 wc.php:878
536
+ msgid ""
537
+ "Hi, <br/> You just subscribed for new comments on our website. This means "
538
+ "you will receive an email when new comments are posted according to "
539
+ "subscription option you've chosen. <br/> To activate, click confirm below. "
540
+ "If you believe this is an error, ignore this message and we'll never bother "
541
+ "you again."
542
+ msgstr ""
543
+
544
+ #: options/phrases-layout/phrases-form.php:2
545
+ msgid "Form Template Phrases"
546
+ msgstr ""
547
+
548
+ #: options/phrases-layout/phrases-form.php:7
549
+ msgid "Comment Field Start"
550
+ msgstr ""
551
+
552
+ #: options/phrases-layout/phrases-form.php:17
553
+ msgid "Comment Field Join"
554
+ msgstr ""
555
+
556
+ #: options/phrases-layout/phrases-form.php:27
557
+ msgid "Email Field"
558
+ msgstr ""
559
+
560
+ #: options/phrases-layout/phrases-form.php:37
561
+ msgid "Name Field"
562
+ msgstr ""
563
+
564
+ #: options/phrases-layout/phrases-form.php:47
565
+ msgid "CAPTCHA Field"
566
+ msgstr ""
567
+
568
+ #: options/phrases-layout/phrases-form.php:57
569
+ msgid "Submit Button"
570
+ msgstr ""
571
+
572
+ #: options/phrases-layout/phrases-form.php:67
573
+ #: options/phrases-layout/phrases-form.php:71
574
+ #: options/wc-options-serialize.php:338
575
+ msgid "Manage Subscriptions"
576
+ msgstr ""
577
+
578
+ #: options/phrases-layout/phrases-form.php:77
579
+ msgid "Notify \"None\""
580
+ msgstr ""
581
+
582
+ #: options/phrases-layout/phrases-form.php:81
583
+ #: options/wc-options-serialize.php:339
584
+ msgid "None"
585
+ msgstr ""
586
+
587
+ #: options/phrases-layout/phrases-form.php:87
588
+ msgid "Notify on new comments (checkbox)"
589
+ msgstr ""
590
+
591
+ #: options/phrases-layout/phrases-form.php:91
592
+ #: options/wc-options-serialize.php:340
593
+ msgid "Notify of all new follow-up comments"
594
+ msgstr ""
595
+
596
+ #: options/phrases-layout/phrases-form.php:98
597
+ msgid "Notify on all new replies (checkbox)"
598
+ msgstr ""
599
+
600
+ #: options/phrases-layout/phrases-form.php:102
601
+ #: options/wc-options-serialize.php:341
602
+ msgid "Notify of new replies to all my comments"
603
+ msgstr ""
604
+
605
+ #: options/phrases-layout/phrases-form.php:109
606
+ msgid "Notify on new replies (checkbox)"
607
+ msgstr ""
608
+
609
+ #: options/phrases-layout/phrases-form.php:113
610
+ #: options/wc-options-serialize.php:342
611
+ msgid "Notify of new replies to this comment"
612
+ msgstr ""
613
+
614
+ #: options/phrases-layout/phrases-form.php:119
615
+ msgid "Subscribed on this comment replies"
616
+ msgstr ""
617
+
618
+ #: options/phrases-layout/phrases-form.php:129
619
+ msgid "Subscribed on all your comments replies"
620
+ msgstr ""
621
+
622
+ #: options/phrases-layout/phrases-form.php:139
623
+ msgid "Subscribed on this post"
624
+ msgstr ""
625
+
626
+ #: options/phrases-layout/phrases-general.php:2
627
+ msgid "General Phrases"
628
+ msgstr ""
629
+
630
+ #: options/phrases-layout/phrases-general.php:7
631
+ #: options/wc-options-serialize.php:327
632
+ msgid "Leave a Reply"
633
+ msgstr ""
634
+
635
+ #: options/phrases-layout/phrases-general.php:17
636
+ msgid "Be the first to comment"
637
+ msgstr ""
638
+
639
+ #: options/phrases-layout/phrases-general.php:27
640
+ #: options/wc-options-serialize.php:329 options/wc-options.php:323
641
+ msgid "Comment"
642
+ msgstr ""
643
+
644
+ #: options/phrases-layout/phrases-general.php:37
645
+ msgid "Comment (Plural Form)"
646
+ msgstr ""
647
+
648
+ #: options/phrases-layout/phrases-general.php:47
649
+ msgid "On"
650
+ msgstr ""
651
+
652
+ #: options/phrases-layout/phrases-general.php:57
653
+ msgid "Load More Button"
654
+ msgstr ""
655
+
656
+ #: options/phrases-layout/phrases-general.php:67
657
+ msgid "Button text if has new comment"
658
+ msgstr ""
659
+
660
+ #: options/phrases-layout/phrases-general.php:71
661
+ #: options/wc-options-serialize.php:355
662
+ msgid "New Comment"
663
+ msgstr ""
664
+
665
+ #: options/phrases-layout/phrases-general.php:77
666
+ msgid "Button text if has new comments"
667
+ msgstr ""
668
+
669
+ #: options/phrases-layout/phrases-general.php:81
670
+ msgid "New Comments"
671
+ msgstr ""
672
+
673
+ #: options/phrases-layout/phrases-general.php:87
674
+ msgid "Button text if has new reply"
675
+ msgstr ""
676
+
677
+ #: options/phrases-layout/phrases-general.php:97
678
+ msgid "Button text if has new replies"
679
+ msgstr ""
680
+
681
+ #: options/phrases-layout/phrases-general.php:101
682
+ msgid "New Replies"
683
+ msgstr ""
684
+
685
+ #: options/phrases-layout/phrases-general.php:107
686
+ msgid "Text on load more button if has new comment(s)"
687
+ msgstr ""
688
+
689
+ #: options/phrases-layout/phrases-general.php:111
690
+ #: options/wc-options-serialize.php:405
691
+ msgid "New"
692
+ msgstr ""
693
+
694
+ #: options/phrases-layout/phrases-notification.php:2
695
+ msgid "Notification Phrases"
696
+ msgstr ""
697
+
698
+ #: options/phrases-layout/phrases-notification.php:7
699
+ #: options/wc-options-serialize.php:364
700
+ msgid "You've successfully unsubscribed."
701
+ msgstr ""
702
+
703
+ #: options/phrases-layout/phrases-notification.php:18
704
+ msgid "Error message for empty field"
705
+ msgstr ""
706
+
707
+ #: options/phrases-layout/phrases-notification.php:28
708
+ msgid "Error message for invalid email field"
709
+ msgstr ""
710
+
711
+ #: options/phrases-layout/phrases-notification.php:38
712
+ #: options/wc-options-serialize.php:386
713
+ msgid "You must be"
714
+ msgstr ""
715
+
716
+ #: options/phrases-layout/phrases-notification.php:48
717
+ msgid "Logged in as"
718
+ msgstr ""
719
+
720
+ #: options/phrases-layout/phrases-notification.php:58
721
+ #: options/wc-options-serialize.php:388
722
+ msgid "Log out"
723
+ msgstr ""
724
+
725
+ #: options/phrases-layout/phrases-notification.php:68
726
+ msgid "Logged In"
727
+ msgstr ""
728
+
729
+ #: options/phrases-layout/phrases-notification.php:78
730
+ msgid "To post a comment"
731
+ msgstr ""
732
+
733
+ #: options/phrases-layout/phrases-notification.php:88
734
+ #: options/wc-options-serialize.php:393
735
+ msgid "Vote Counted"
736
+ msgstr ""
737
+
738
+ #: options/phrases-layout/phrases-notification.php:98
739
+ msgid "You can vote only 1 time"
740
+ msgstr ""
741
+
742
+ #: options/phrases-layout/phrases-notification.php:108
743
+ #: options/wc-options-serialize.php:395
744
+ msgid "Voting Error"
745
+ msgstr ""
746
+
747
+ #: options/phrases-layout/phrases-notification.php:118
748
+ msgid "Login To Vote"
749
+ msgstr ""
750
+
751
+ #: options/phrases-layout/phrases-notification.php:128
752
+ msgid "You Cannot Vote On Your Comment"
753
+ msgstr ""
754
+
755
+ #: options/phrases-layout/phrases-notification.php:138
756
+ #: options/wc-options-serialize.php:398
757
+ msgid "Invalid Captcha Code"
758
+ msgstr ""
759
+
760
+ #: options/phrases-layout/phrases-notification.php:148
761
+ #: options/wc-options-serialize.php:399
762
+ msgid "Some of field value is invalid"
763
+ msgstr ""
764
+
765
+ #: options/phrases-layout/phrases-notification.php:158
766
+ msgid "Comment waiting moderation"
767
+ msgstr ""
768
+
769
+ #: options/phrases-layout/phrases-notification.php:168
770
+ msgid "Message if comment was not updated"
771
+ msgstr ""
772
+
773
+ #: options/phrases-layout/phrases-notification.php:172
774
+ #: options/wc-options-serialize.php:406
775
+ msgid "Sorry, the comment was not updated"
776
+ msgstr ""
777
+
778
+ #: options/phrases-layout/phrases-notification.php:178
779
+ msgid "Message if comment no longer possible to edit"
780
+ msgstr ""
781
+
782
+ #: options/phrases-layout/phrases-notification.php:182
783
+ #: options/wc-options-serialize.php:407
784
+ msgid "Sorry, this comment no longer possible to edit"
785
+ msgstr ""
786
+
787
+ #: options/phrases-layout/phrases-notification.php:189
788
+ msgid "Message if comment text not changed"
789
+ msgstr ""
790
+
791
+ #: options/phrases-layout/phrases-notification.php:193
792
+ msgid "TYou've not made any changes"
793
+ msgstr ""
794
+
795
+ #: options/wc-options-serialize.php:328
796
+ msgid "Be the First to Comment!"
797
+ msgstr ""
798
+
799
+ #: options/wc-options-serialize.php:330
800
+ msgid "Comments"
801
+ msgstr ""
802
+
803
+ #: options/wc-options-serialize.php:331
804
+ msgid "on"
805
+ msgstr ""
806
+
807
+ #: options/wc-options-serialize.php:332
808
+ msgid "Start the discussion"
809
+ msgstr ""
810
+
811
+ #: options/wc-options-serialize.php:333
812
+ msgid "Join the discussion"
813
+ msgstr ""
814
+
815
+ #: options/wc-options-serialize.php:334 options/wc-options.php:325
816
+ msgid "Email"
817
+ msgstr ""
818
+
819
+ #: options/wc-options-serialize.php:335
820
+ msgid "Name"
821
+ msgstr ""
822
+
823
+ #: options/wc-options-serialize.php:336
824
+ msgid "Please insert the code above to comment"
825
+ msgstr ""
826
+
827
+ #: options/wc-options-serialize.php:337
828
+ msgid "Post Comment"
829
+ msgstr ""
830
+
831
+ #: options/wc-options-serialize.php:343
832
+ msgid "Load More Comments"
833
+ msgstr ""
834
+
835
+ #: options/wc-options-serialize.php:351
836
+ msgid "Guest"
837
+ msgstr ""
838
+
839
+ #: options/wc-options-serialize.php:352
840
+ msgid "Member"
841
+ msgstr ""
842
+
843
+ #: options/wc-options-serialize.php:353
844
+ msgid "Author"
845
+ msgstr ""
846
+
847
+ #: options/wc-options-serialize.php:354
848
+ msgid "Admin"
849
+ msgstr ""
850
+
851
+ #: options/wc-options-serialize.php:356
852
+ msgid "New comment on the discussion section you've been interested in"
853
+ msgstr ""
854
+
855
+ #: options/wc-options-serialize.php:358
856
+ msgid "New reply on the discussion section you've been interested in"
857
+ msgstr ""
858
+
859
+ #: options/wc-options-serialize.php:359
860
+ msgid "You're subscribed for new replies on this comment"
861
+ msgstr ""
862
+
863
+ #: options/wc-options-serialize.php:360
864
+ msgid "You're subscribed for new replies on all your comments"
865
+ msgstr ""
866
+
867
+ #: options/wc-options-serialize.php:361
868
+ msgid "You're subscribed for new follow-up comments on this post"
869
+ msgstr ""
870
+
871
+ #: options/wc-options-serialize.php:369
872
+ msgid "please fill out this field to comment"
873
+ msgstr ""
874
+
875
+ #: options/wc-options-serialize.php:370
876
+ msgid "email address is invalid"
877
+ msgstr ""
878
+
879
+ #: options/wc-options-serialize.php:371
880
+ msgid "year"
881
+ msgstr ""
882
+
883
+ #: options/wc-options-serialize.php:372
884
+ msgid "years"
885
+ msgstr ""
886
+
887
+ #: options/wc-options-serialize.php:373
888
+ msgid "month"
889
+ msgstr ""
890
+
891
+ #: options/wc-options-serialize.php:374
892
+ msgid "months"
893
+ msgstr ""
894
+
895
+ #: options/wc-options-serialize.php:375
896
+ msgid "day"
897
+ msgstr ""
898
+
899
+ #: options/wc-options-serialize.php:376
900
+ msgid "days"
901
+ msgstr ""
902
+
903
+ #: options/wc-options-serialize.php:377
904
+ msgid "hour"
905
+ msgstr ""
906
+
907
+ #: options/wc-options-serialize.php:378
908
+ msgid "hours"
909
+ msgstr ""
910
+
911
+ #: options/wc-options-serialize.php:379
912
+ msgid "minute"
913
+ msgstr ""
914
+
915
+ #: options/wc-options-serialize.php:380
916
+ msgid "minutes"
917
+ msgstr ""
918
+
919
+ #: options/wc-options-serialize.php:381
920
+ msgid "second"
921
+ msgstr ""
922
+
923
+ #: options/wc-options-serialize.php:382
924
+ msgid "seconds"
925
+ msgstr ""
926
+
927
+ #: options/wc-options-serialize.php:383
928
+ msgid "right now"
929
+ msgstr ""
930
+
931
+ #: options/wc-options-serialize.php:384
932
+ msgid "ago"
933
+ msgstr ""
934
+
935
+ #: options/wc-options-serialize.php:387
936
+ msgid "You are logged in as"
937
+ msgstr ""
938
+
939
+ #: options/wc-options-serialize.php:389
940
+ msgid "logged in"
941
+ msgstr ""
942
+
943
+ #: options/wc-options-serialize.php:390
944
+ msgid "to post a comment."
945
+ msgstr ""
946
+
947
+ #: options/wc-options-serialize.php:394
948
+ msgid "You've already voted for this comment"
949
+ msgstr ""
950
+
951
+ #: options/wc-options-serialize.php:396
952
+ msgid "You Must Be Logged In To Vote"
953
+ msgstr ""
954
+
955
+ #: options/wc-options-serialize.php:397
956
+ msgid "You cannot vote for your comment"
957
+ msgstr ""
958
+
959
+ #: options/wc-options-serialize.php:400
960
+ msgid "new comment"
961
+ msgstr ""
962
+
963
+ #: options/wc-options-serialize.php:401
964
+ msgid "new comments"
965
+ msgstr ""
966
+
967
+ #: options/wc-options-serialize.php:402
968
+ msgid "Your Comment awaiting moderation"
969
+ msgstr ""
970
+
971
+ #: options/wc-options-serialize.php:403
972
+ msgid "new reply on your comment"
973
+ msgstr ""
974
+
975
+ #: options/wc-options-serialize.php:404
976
+ msgid "new replies on your comments"
977
+ msgstr ""
978
+
979
+ #: options/wc-options-serialize.php:408
980
+ msgid "You've not made any changes"
981
+ msgstr ""
982
+
983
+ #: options/wc-options.php:29 options/wc-options.php:208
984
+ msgid "Hacker?"
985
+ msgstr ""
986
+
987
+ #: options/wc-options.php:78
988
+ msgid "wpDiscuz General Settings"
989
+ msgstr ""
990
+
991
+ #: options/wc-options.php:158
992
+ msgid "General settings"
993
+ msgstr ""
994
+
995
+ #: options/wc-options.php:161
996
+ msgid "Email Subscription"
997
+ msgstr ""
998
+
999
+ #: options/wc-options.php:161
1000
+ msgid "and Postmatic"
1001
+ msgstr ""
1002
+
1003
+ #: options/wc-options.php:190 options/wc-options.php:353
1004
+ msgid "Save Changes"
1005
+ msgstr ""
1006
+
1007
+ #: options/wc-options.php:311
1008
+ msgid "WpDiscuz Front-end Phrases"
1009
+ msgstr ""
1010
+
1011
+ #: options/wc-options.php:321
1012
+ msgid "General"
1013
+ msgstr ""
1014
+
1015
+ #: options/wc-options.php:322
1016
+ msgid "Form"
1017
+ msgstr ""
1018
+
1019
+ #: options/wc-options.php:324
1020
+ msgid "Date/Time"
1021
+ msgstr ""
1022
+
1023
+ #: options/wc-options.php:326
1024
+ msgid "Notification"
1025
+ msgstr ""
1026
+
1027
+ #: wc.php:954
1028
+ msgid "Settings"
1029
+ msgstr ""
1030
+
1031
+ #: wc.php:955
1032
+ msgid "Phrases"
1033
+ msgstr ""
options/options-layouts/settings-general.php CHANGED
@@ -1,158 +1,178 @@
1
  <div>
2
- <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('General Settings', WC_Core::$TEXT_DOMAIN); ?></h2>
3
  <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
4
  <tbody>
5
- <tr valign="top">
6
- <th scope="row" style="width:55%;">
7
- <?php _e('Display comment form for post types:', WC_Core::$TEXT_DOMAIN); ?>
8
- </th>
9
- <td>
10
- <?php
11
- foreach ($this->wc_post_types as $post_type) {
12
- if (!post_type_supports($post_type, 'comments')) {
13
- continue;
 
 
 
 
 
 
 
14
  }
15
  ?>
16
- <label for="<?php echo $post_type ?>">
17
- <input type="checkbox" <?php checked(in_array($post_type, $this->wc_options_serialized->wc_post_types)); ?> value="<?php echo $post_type; ?>" name="wc_post_types[]" id="wc_type_<?php echo $post_type; ?>" />
18
- <span><?php echo $post_type; ?></span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </label><br/>
20
- <?php
21
- }
22
- ?>
23
- </td>
24
- </tr>
25
 
26
- <tr valign="top">
27
- <th scope="row">
28
- <?php _e('User Must be registered to comment', WC_Core::$TEXT_DOMAIN); ?>
29
- </th>
30
- <td>
31
- <fieldset>
32
- <label title="Yes">
33
- <input type="radio" value="1" <?php checked('1' == $this->wc_options_serialized->wc_user_must_be_registered); ?> name="wc_user_must_be_registered" id="wc_user_must_be_registered_yes" />
34
- <span>Yes</span>
35
- </label> &nbsp;
36
- <label title="No">
37
- <input type="radio" value="0" <?php checked('0' == $this->wc_options_serialized->wc_user_must_be_registered); ?> name="wc_user_must_be_registered" id="wc_user_must_be_registered_no" />
38
- <span>No</span>
39
- </label><br>
40
- </fieldset>
41
- </td>
42
- </tr>
43
 
44
- <tr valign="top">
45
- <th scope="row">
46
- <?php _e('Show the latest comments on', WC_Core::$TEXT_DOMAIN); ?>
47
- </th>
48
- <td>
49
- <fieldset class="comment_list_order">
50
- <label title="<?php _e('the top of the list', WC_Core::$TEXT_DOMAIN) ?>">
51
- <input type="radio" value="desc" <?php checked('desc' == $this->wc_options_serialized->wc_comment_list_order); ?> name="wc_comment_list_order" id="wc_comment_list_order" />
52
- <span><?php _e('top of the threads', WC_Core::$TEXT_DOMAIN) ?></span>
53
- </label> &nbsp;<br/>
54
- <label title="<?php _e('bottom of the threads', WC_Core::$TEXT_DOMAIN) ?>">
55
- <input type="radio" value="asc" <?php checked('asc' == $this->wc_options_serialized->wc_comment_list_order); ?> name="wc_comment_list_order" id="wc_comment_list_order" />
56
- <span><?php _e('the bottom of the list', WC_Core::$TEXT_DOMAIN) ?></span>
57
- </label><br>
58
- </fieldset>
59
- </td>
60
- </tr>
61
-
62
- <tr valign="top">
63
- <th scope="row">
64
- <?php _e('Comment Threads Per Page', WC_Core::$TEXT_DOMAIN); ?>
65
- </th>
66
- <td>
67
- <label for="wc_comment_count">
68
- <input type="number" value="<?php echo $this->wc_options_serialized->wc_comment_count; ?>" name="wc_comment_count" id="wc_comment_count" />
69
- </label><br/>
70
- </td>
71
- </tr>
72
-
73
-
74
- <tr valign="top">
75
- <th scope="row">
76
- <label for="wc_comments_max_depth"><?php _e('Comments max depth', WC_Core::$TEXT_DOMAIN); ?></label>
77
- </th>
78
- <td colspan="3">
79
- <select id="wc_comments_max_depth" name="wc_comments_max_depth">
80
- <?php $wc_comments_max_depth = isset($this->wc_options_serialized->wc_comments_max_depth) ? $this->wc_options_serialized->wc_comments_max_depth : 3; ?>
81
- <option value="1" <?php selected($wc_comments_max_depth, '1'); ?>>1 <?php _e('Level', WC_Core::$TEXT_DOMAIN); ?></option>
82
- <option value="2" <?php selected($wc_comments_max_depth, '2'); ?>>2 <?php _e('Levels', WC_Core::$TEXT_DOMAIN); ?></option>
83
- <option value="3" <?php selected($wc_comments_max_depth, '3'); ?>>3 <?php _e('Levels', WC_Core::$TEXT_DOMAIN); ?></option>
84
- <option value="4" <?php selected($wc_comments_max_depth, '4'); ?>>4 <?php _e('Levels', WC_Core::$TEXT_DOMAIN); ?></option>
85
- <option value="5" <?php selected($wc_comments_max_depth, '5'); ?>>5 <?php _e('Levels', WC_Core::$TEXT_DOMAIN); ?></option>
86
- </select>
87
- </td>
88
- </tr>
89
-
90
- <tr valign="top">
91
- <th scope="row">
92
- <label for="wc_comment_text_size"><?php _e('Comment text size in pixels', WC_Core::$TEXT_DOMAIN); ?></label>
93
- </th>
94
- <td>
95
- <select id="wc_comment_text_size" name="wc_comment_text_size">
96
- <?php $wc_comment_text_size = isset($this->wc_options_serialized->wc_comment_text_size) ? $this->wc_options_serialized->wc_comment_text_size : '14px'; ?>
97
- <option value="12px" <?php selected($wc_comment_text_size, '12px'); ?>>12px</option>
98
- <option value="13px" <?php selected($wc_comment_text_size, '13px'); ?>>13px</option>
99
- <option value="14px" <?php selected($wc_comment_text_size, '14px'); ?>>14px</option>
100
- <option value="15px" <?php selected($wc_comment_text_size, '15px'); ?>>15px</option>
101
- <option value="16px" <?php selected($wc_comment_text_size, '16px'); ?>>16px</option>
102
- </select>
103
- </td>
104
- </tr>
105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
 
107
- <tr valign="top">
108
- <th scope="row">
109
- <label for="wc_comment_editable_time"><?php _e('Allow comment editing for', WC_Core::$TEXT_DOMAIN); ?></label>
110
- </th>
111
- <td>
112
- <select id="wc_comment_editable_time" name="wc_comment_editable_time">
113
- <?php $wc_comment_editable_time = isset($this->wc_options_serialized->wc_comment_editable_time) ? $this->wc_options_serialized->wc_comment_editable_time : 0; ?>
114
- <option value="0" <?php selected($wc_comment_editable_time, '0'); ?>><?php _e('Not Allow', WC_Core::$TEXT_DOMAIN); ?></option>
115
- <option value="900" <?php selected($wc_comment_editable_time, '900'); ?>>15 <?php _e('Minutes', WC_Core::$TEXT_DOMAIN); ?></option>
116
- <option value="1800" <?php selected($wc_comment_editable_time, '1800'); ?>>30 <?php _e('Minutes', WC_Core::$TEXT_DOMAIN); ?></option>
117
- <option value="3600" <?php selected($wc_comment_editable_time, '3600'); ?>>1 <?php _e('Hour', WC_Core::$TEXT_DOMAIN); ?></option>
118
- <option value="10800" <?php selected($wc_comment_editable_time, '10800'); ?>>3 <?php _e('Hours', WC_Core::$TEXT_DOMAIN); ?></option>
119
- <option value="86400" <?php selected($wc_comment_editable_time, '86400'); ?>>24 <?php _e('Hours', WC_Core::$TEXT_DOMAIN); ?></option>
120
- </select>
121
- </td>
122
- </tr>
123
-
124
-
125
- <tr valign="top">
126
- <th scope="row">
127
- <?php _e('Use WordPress Date/Time format', WC_Core::$TEXT_DOMAIN); ?>
128
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('wpDiscuz shows Human Readable date format. If you check this option it\'ll show the date/time format set in WordPress General Settings.', WC_Core::$TEXT_DOMAIN); ?></p>
129
- </th>
130
- <td>
131
- <label for="wc_simple_comment_date">
132
- <input type="checkbox" <?php checked($this->wc_options_serialized->wc_simple_comment_date == 1) ?> value="1" name="wc_simple_comment_date" id="wc_simple_comment_date" />&nbsp;
133
- <span style="font-size:13px; color:#999999; padding-left:0px; margin-left:0px; line-height:15px">
134
- <?php echo date(get_option('date_format')); ?> / <?php echo date(get_option('time_format')); ?><br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  <?php _e('Current Wordpress date/time format', WC_Core::$TEXT_DOMAIN); ?></span>
136
- </label>
137
- </td>
138
  </tr>
139
-
140
-
141
  <tr valign="top">
142
  <th scope="row" >
143
- <label for="wc_show_plugin_powerid_by">
144
- <?php _e('Help wpDiscuz to grow allowing people to recognize which comment plugin you use', WC_Core::$TEXT_DOMAIN); ?>
145
- </label>
146
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('Please check this option on to help wpDiscuz get more popularity as your thank to the hard work we do for you totally free. This option adds a very small (16x16px) icon under the comment section which will allow your site visitors recognize the name of comment solution you use.', WC_Core::$TEXT_DOMAIN); ?></p>
147
- </th>
148
- <td colspan="3">
149
  <label for="wc_show_plugin_powerid_by">
150
- <input type="checkbox" <?php checked($this->wc_options_serialized->wc_show_plugin_powerid_by == 1) ?> value="1" name="wc_show_plugin_powerid_by" id="wc_show_plugin_powerid_by" />
151
- <span id="wpdiscuz_thank_you" style="color:#006600; font-size:13px;"><?php _e('Thank you!', WC_Core::$TEXT_DOMAIN); ?></span>
152
  </label>
153
- </td>
 
 
 
 
 
 
 
154
  </tr>
155
-
156
  </tbody>
157
  </table>
158
  </div>
1
  <div>
2
+ <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('General Settings', WC_Core::$TEXT_DOMAIN); ?></h2>
3
  <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
4
  <tbody>
5
+ <tr valign="top">
6
+ <th scope="row" style="width:55%;">
7
+ <?php _e('Display comment form for post types:', WC_Core::$TEXT_DOMAIN); ?>
8
+ </th>
9
+ <td>
10
+ <?php
11
+ foreach ($this->wc_post_types as $post_type) {
12
+ if (!post_type_supports($post_type, 'comments')) {
13
+ continue;
14
+ }
15
+ ?>
16
+ <label for="<?php echo $post_type ?>">
17
+ <input type="checkbox" <?php checked(in_array($post_type, $this->wc_options_serialized->wc_post_types)); ?> value="<?php echo $post_type; ?>" name="wc_post_types[]" id="wc_type_<?php echo $post_type; ?>" />
18
+ <span><?php echo $post_type; ?></span>
19
+ </label><br/>
20
+ <?php
21
  }
22
  ?>
23
+ </td>
24
+ </tr>
25
+
26
+ <tr valign="top">
27
+ <th scope="row">
28
+ <?php _e('User Must be registered to comment', WC_Core::$TEXT_DOMAIN); ?>
29
+ </th>
30
+ <td>
31
+ <fieldset>
32
+ <label title="Yes">
33
+ <input type="radio" value="1" <?php checked('1' == $this->wc_options_serialized->wc_user_must_be_registered); ?> name="wc_user_must_be_registered" id="wc_user_must_be_registered_yes" />
34
+ <span>Yes</span>
35
+ </label> &nbsp;
36
+ <label title="No">
37
+ <input type="radio" value="0" <?php checked('0' == $this->wc_options_serialized->wc_user_must_be_registered); ?> name="wc_user_must_be_registered" id="wc_user_must_be_registered_no" />
38
+ <span>No</span>
39
+ </label><br>
40
+ </fieldset>
41
+ </td>
42
+ </tr>
43
+
44
+ <tr valign="top">
45
+ <th scope="row">
46
+ <?php _e('Show the latest comments on', WC_Core::$TEXT_DOMAIN); ?>
47
+ </th>
48
+ <td>
49
+ <fieldset class="comment_list_order">
50
+ <label title="<?php _e('the top of the list', WC_Core::$TEXT_DOMAIN) ?>">
51
+ <input type="radio" value="desc" <?php checked('desc' == $this->wc_options_serialized->wc_comment_list_order); ?> name="wc_comment_list_order" id="wc_comment_list_order" />
52
+ <span><?php _e('top of the threads', WC_Core::$TEXT_DOMAIN) ?></span>
53
+ </label> &nbsp;<br/>
54
+ <label title="<?php _e('bottom of the threads', WC_Core::$TEXT_DOMAIN) ?>">
55
+ <input type="radio" value="asc" <?php checked('asc' == $this->wc_options_serialized->wc_comment_list_order); ?> name="wc_comment_list_order" id="wc_comment_list_order" />
56
+ <span><?php _e('the bottom of the list', WC_Core::$TEXT_DOMAIN) ?></span>
57
+ </label><br>
58
+ </fieldset>
59
+ </td>
60
+ </tr>
61
+
62
+ <tr valign="top">
63
+ <th scope="row">
64
+ <?php _e('Comment Threads Per Page', WC_Core::$TEXT_DOMAIN); ?>
65
+ </th>
66
+ <td>
67
+ <label for="wc_comment_count">
68
+ <input type="number" value="<?php echo $this->wc_options_serialized->wc_comment_count; ?>" name="wc_comment_count" id="wc_comment_count" />
69
  </label><br/>
70
+ </td>
71
+ </tr>
 
 
 
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
 
74
+ <tr valign="top">
75
+ <th scope="row">
76
+ <label for="wc_comments_max_depth"><?php _e('Comments max depth', WC_Core::$TEXT_DOMAIN); ?></label>
77
+ </th>
78
+ <td colspan="3">
79
+ <select id="wc_comments_max_depth" name="wc_comments_max_depth">
80
+ <?php $wc_comments_max_depth = isset($this->wc_options_serialized->wc_comments_max_depth) ? $this->wc_options_serialized->wc_comments_max_depth : 3; ?>
81
+ <option value="1" <?php selected($wc_comments_max_depth, '1'); ?>>1 <?php _e('Level', WC_Core::$TEXT_DOMAIN); ?></option>
82
+ <option value="2" <?php selected($wc_comments_max_depth, '2'); ?>>2 <?php _e('Levels', WC_Core::$TEXT_DOMAIN); ?></option>
83
+ <option value="3" <?php selected($wc_comments_max_depth, '3'); ?>>3 <?php _e('Levels', WC_Core::$TEXT_DOMAIN); ?></option>
84
+ <option value="4" <?php selected($wc_comments_max_depth, '4'); ?>>4 <?php _e('Levels', WC_Core::$TEXT_DOMAIN); ?></option>
85
+ <option value="5" <?php selected($wc_comments_max_depth, '5'); ?>>5 <?php _e('Levels', WC_Core::$TEXT_DOMAIN); ?></option>
86
+ </select>
87
+ </td>
88
+ </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
 
90
+ <tr valign="top">
91
+ <th scope="row">
92
+ <label for="wc_comment_text_size"><?php _e('Comment text size in pixels', WC_Core::$TEXT_DOMAIN); ?></label>
93
+ </th>
94
+ <td>
95
+ <select id="wc_comment_text_size" name="wc_comment_text_size">
96
+ <?php $wc_comment_text_size = isset($this->wc_options_serialized->wc_comment_text_size) ? $this->wc_options_serialized->wc_comment_text_size : '14px'; ?>
97
+ <option value="12px" <?php selected($wc_comment_text_size, '12px'); ?>>12px</option>
98
+ <option value="13px" <?php selected($wc_comment_text_size, '13px'); ?>>13px</option>
99
+ <option value="14px" <?php selected($wc_comment_text_size, '14px'); ?>>14px</option>
100
+ <option value="15px" <?php selected($wc_comment_text_size, '15px'); ?>>15px</option>
101
+ <option value="16px" <?php selected($wc_comment_text_size, '16px'); ?>>16px</option>
102
+ </select>
103
+ </td>
104
+ </tr>
105
 
106
+
107
+ <tr valign="top">
108
+ <th scope="row">
109
+ <label for="wc_comment_editable_time"><?php _e('Allow comment editing for', WC_Core::$TEXT_DOMAIN); ?></label>
110
+ </th>
111
+ <td>
112
+ <select id="wc_comment_editable_time" name="wc_comment_editable_time">
113
+ <?php $wc_comment_editable_time = isset($this->wc_options_serialized->wc_comment_editable_time) ? $this->wc_options_serialized->wc_comment_editable_time : 0; ?>
114
+ <option value="0" <?php selected($wc_comment_editable_time, '0'); ?>><?php _e('Not Allow', WC_Core::$TEXT_DOMAIN); ?></option>
115
+ <option value="900" <?php selected($wc_comment_editable_time, '900'); ?>>15 <?php _e('Minutes', WC_Core::$TEXT_DOMAIN); ?></option>
116
+ <option value="1800" <?php selected($wc_comment_editable_time, '1800'); ?>>30 <?php _e('Minutes', WC_Core::$TEXT_DOMAIN); ?></option>
117
+ <option value="3600" <?php selected($wc_comment_editable_time, '3600'); ?>>1 <?php _e('Hour', WC_Core::$TEXT_DOMAIN); ?></option>
118
+ <option value="10800" <?php selected($wc_comment_editable_time, '10800'); ?>>3 <?php _e('Hours', WC_Core::$TEXT_DOMAIN); ?></option>
119
+ <option value="86400" <?php selected($wc_comment_editable_time, '86400'); ?>>24 <?php _e('Hours', WC_Core::$TEXT_DOMAIN); ?></option>
120
+ </select>
121
+ </td>
122
+ </tr>
123
+
124
+ <tr valign="top">
125
+ <th scope="row">
126
+ <?php _e('Allow guests to vote on comments', WC_Core::$TEXT_DOMAIN); ?>
127
+ </th>
128
+ <td>
129
+ <label for="wc_is_guest_can_vote">
130
+ <input type="checkbox" <?php checked($this->wc_options_serialized->wc_is_guest_can_vote == 1) ?> value="1" name="wc_is_guest_can_vote" id="wc_is_guest_can_vote" />
131
+ </label>
132
+ </td>
133
+ </tr>
134
+ <tr valign="top">
135
+ <th scope="row">
136
+ <?php _e('Load rest of all comments on clicking the [Load More Comments] button', WC_Core::$TEXT_DOMAIN); ?>
137
+ </th>
138
+ <td>
139
+ <label for="wc_load_all_comments">
140
+ <input type="checkbox" <?php checked($this->wc_options_serialized->wc_load_all_comments == 1) ?> value="1" name="wc_load_all_comments" id="wc_load_all_comments" />
141
+ </label>
142
+ </td>
143
+ </tr>
144
+
145
+ <tr valign="top">
146
+ <th scope="row">
147
+ <?php _e('Use WordPress Date/Time format', WC_Core::$TEXT_DOMAIN); ?>
148
+ <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('wpDiscuz shows Human Readable date format. If you check this option it\'ll show the date/time format set in WordPress General Settings.', WC_Core::$TEXT_DOMAIN); ?></p>
149
+ </th>
150
+ <td>
151
+ <label for="wc_simple_comment_date">
152
+ <input type="checkbox" <?php checked($this->wc_options_serialized->wc_simple_comment_date == 1) ?> value="1" name="wc_simple_comment_date" id="wc_simple_comment_date" />&nbsp;
153
+ <span style="font-size:13px; color:#999999; padding-left:0px; margin-left:0px; line-height:15px">
154
+ <?php echo date(get_option('date_format')); ?> / <?php echo date(get_option('time_format')); ?><br />
155
  <?php _e('Current Wordpress date/time format', WC_Core::$TEXT_DOMAIN); ?></span>
156
+ </label>
157
+ </td>
158
  </tr>
159
+
160
+
161
  <tr valign="top">
162
  <th scope="row" >
 
 
 
 
 
 
163
  <label for="wc_show_plugin_powerid_by">
164
+ <?php _e('Help wpDiscuz to grow allowing people to recognize which comment plugin you use', WC_Core::$TEXT_DOMAIN); ?>
 
165
  </label>
166
+ <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('Please check this option on to help wpDiscuz get more popularity as your thank to the hard work we do for you totally free. This option adds a very small (16x16px) icon under the comment section which will allow your site visitors recognize the name of comment solution you use.', WC_Core::$TEXT_DOMAIN); ?></p>
167
+ </th>
168
+ <td colspan="3">
169
+ <label for="wc_show_plugin_powerid_by">
170
+ <input type="checkbox" <?php checked($this->wc_options_serialized->wc_show_plugin_powerid_by == 1) ?> value="1" name="wc_show_plugin_powerid_by" id="wc_show_plugin_powerid_by" />
171
+ <span id="wpdiscuz_thank_you" style="color:#006600; font-size:13px;"><?php _e('Thank you!', WC_Core::$TEXT_DOMAIN); ?></span>
172
+ </label>
173
+ </td>
174
  </tr>
175
+
176
  </tbody>
177
  </table>
178
  </div>
options/phrases-layout/phrases-general.php CHANGED
@@ -62,6 +62,16 @@
62
  </label>
63
  </td>
64
  </tr>
 
 
 
 
 
 
 
 
 
 
65
  <tr valign="top">
66
  <th scope="row">
67
  <?php _e('Button text if has new comment', WC_Core::$TEXT_DOMAIN); ?>
@@ -74,7 +84,7 @@
74
  </tr>
75
  <tr valign="top">
76
  <th scope="row">
77
- <?php _e('Button text if has new comments', WC_Core::$TEXT_DOMAIN); ?>
78
  </th>
79
  <td colspan="3">
80
  <label for="wc_new_comments_button_text">
@@ -94,7 +104,7 @@
94
  </tr>
95
  <tr valign="top">
96
  <th scope="row">
97
- <?php _e('Button text if has new replies', WC_Core::$TEXT_DOMAIN); ?>
98
  </th>
99
  <td colspan="3">
100
  <label for="wc_new_replies_button_text">
62
  </label>
63
  </td>
64
  </tr>
65
+ <tr valign="top">
66
+ <th scope="row">
67
+ <?php _e('Load Rest of Comments', WC_Core::$TEXT_DOMAIN); ?>
68
+ </th>
69
+ <td colspan="3">
70
+ <label for="wc_load_rest_comments_submit_text">
71
+ <input type="text" value="<?php echo isset($this->wc_options_serialized->wc_phrases['wc_load_rest_comments_submit_text']) ? $this->wc_options_serialized->wc_phrases['wc_load_rest_comments_submit_text'] : 'Load Rest of Comments'; ?>" name="wc_load_rest_comments_submit_text" id="wc_load_rest_comments_submit_text" />
72
+ </label>
73
+ </td>
74
+ </tr>
75
  <tr valign="top">
76
  <th scope="row">
77
  <?php _e('Button text if has new comment', WC_Core::$TEXT_DOMAIN); ?>
84
  </tr>
85
  <tr valign="top">
86
  <th scope="row">
87
+ <?php _e('Button text if has new comments (Plural Form)', WC_Core::$TEXT_DOMAIN); ?>
88
  </th>
89
  <td colspan="3">
90
  <label for="wc_new_comments_button_text">
104
  </tr>
105
  <tr valign="top">
106
  <th scope="row">
107
+ <?php _e('Button text if has new replies (Plural Form)', WC_Core::$TEXT_DOMAIN); ?>
108
  </th>
109
  <td colspan="3">
110
  <label for="wc_new_replies_button_text">
options/phrases-layout/phrases-notification.php CHANGED
@@ -133,6 +133,16 @@
133
  </label>
134
  </td>
135
  </tr>
 
 
 
 
 
 
 
 
 
 
136
  <tr valign="top">
137
  <th scope="row">
138
  <?php _e('Invalid Captcha Code', WC_Core::$TEXT_DOMAIN); ?>
133
  </label>
134
  </td>
135
  </tr>
136
+ <tr valign="top">
137
+ <th scope="row">
138
+ <?php _e('You are not allowed to vote for this comment (Voting from same IP)', WC_Core::$TEXT_DOMAIN); ?>
139
+ </th>
140
+ <td colspan="3">
141
+ <label for="wc_deny_voting_from_same_ip">
142
+ <input type="text" value="<?php echo isset($this->wc_options_serialized->wc_phrases['wc_deny_voting_from_same_ip']) ? $this->wc_options_serialized->wc_phrases['wc_deny_voting_from_same_ip'] : 'You are not allowed to vote for this comment'; ?>" name="wc_deny_voting_from_same_ip" id="wc_deny_voting_from_same_ip" />
143
+ </label>
144
+ </td>
145
+ </tr>
146
  <tr valign="top">
147
  <th scope="row">
148
  <?php _e('Invalid Captcha Code', WC_Core::$TEXT_DOMAIN); ?>
options/wc-options-serialize.php CHANGED
@@ -44,6 +44,22 @@ class WC_Options_Serialize {
44
  */
45
  public $wc_comment_editable_time;
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  /**
48
  * Type - Checkbox
49
  * Available Values - Checked/Unchecked
@@ -229,7 +245,7 @@ class WC_Options_Serialize {
229
  * Default Value - #666666
230
  */
231
  public $wc_vote_reply_color;
232
-
233
  /**
234
  * Type - Input
235
  * Available Values - color codes
@@ -290,6 +306,8 @@ class WC_Options_Serialize {
290
  $this->wc_comment_list_update_type = isset($options['wc_comment_list_update_type']) ? $options['wc_comment_list_update_type'] : 0;
291
  $this->wc_comment_list_update_timer = isset($options['wc_comment_list_update_timer']) ? $options['wc_comment_list_update_timer'] : 30;
292
  $this->wc_comment_editable_time = isset($options['wc_comment_editable_time']) ? $options['wc_comment_editable_time'] : 900;
 
 
293
  $this->wc_voting_buttons_show_hide = $options['wc_voting_buttons_show_hide'];
294
  $this->wc_share_buttons_show_hide = $options['wc_share_buttons_show_hide'];
295
  $this->wc_captcha_show_hide = $options['wc_captcha_show_hide'];
@@ -341,6 +359,7 @@ class WC_Options_Serialize {
341
  'wc_notify_on_all_new_reply' => __('Notify of new replies to all my comments', WC_Core::$TEXT_DOMAIN),
342
  'wc_notify_on_new_reply' => __('Notify of new replies to this comment', WC_Core::$TEXT_DOMAIN),
343
  'wc_load_more_submit_text' => __('Load More Comments', WC_Core::$TEXT_DOMAIN),
 
344
  'wc_reply_text' => __('Reply', WC_Core::$TEXT_DOMAIN),
345
  'wc_share_text' => __('Share', WC_Core::$TEXT_DOMAIN),
346
  'wc_share_facebook' => __('Share On Facebook', WC_Core::$TEXT_DOMAIN),
@@ -395,6 +414,7 @@ class WC_Options_Serialize {
395
  'wc_voting_error' => __('Voting Error', WC_Core::$TEXT_DOMAIN),
396
  'wc_login_to_vote' => __('You Must Be Logged In To Vote', WC_Core::$TEXT_DOMAIN),
397
  'wc_self_vote' => __('You cannot vote for your comment', WC_Core::$TEXT_DOMAIN),
 
398
  'wc_invalid_captcha' => __('Invalid Captcha Code', WC_Core::$TEXT_DOMAIN),
399
  'wc_invalid_field' => __('Some of field value is invalid', WC_Core::$TEXT_DOMAIN),
400
  'wc_new_comment_button_text' => __('new comment', WC_Core::$TEXT_DOMAIN),
@@ -418,6 +438,8 @@ class WC_Options_Serialize {
418
  'wc_comment_list_update_type' => $this->wc_comment_list_update_type,
419
  'wc_comment_list_update_timer' => $this->wc_comment_list_update_timer,
420
  'wc_comment_editable_time' => $this->wc_comment_editable_time,
 
 
421
  'wc_voting_buttons_show_hide' => $this->wc_voting_buttons_show_hide,
422
  'wc_share_buttons_show_hide' => $this->wc_share_buttons_show_hide,
423
  'wc_captcha_show_hide' => $this->wc_captcha_show_hide,
@@ -461,6 +483,8 @@ class WC_Options_Serialize {
461
  'wc_comment_list_update_type' => '0',
462
  'wc_comment_list_update_timer' => '30',
463
  'wc_comment_editable_time' => '900',
 
 
464
  'wc_voting_buttons_show_hide' => '0',
465
  'wc_share_buttons_show_hide' => '0',
466
  'wc_captcha_show_hide' => '0',
44
  */
45
  public $wc_comment_editable_time;
46
 
47
+ /**
48
+ * Type - Checkbox
49
+ * Available Values - Checked/Unchecked
50
+ * Description - Allow guests to vote on comments
51
+ * Default Value - Checked
52
+ */
53
+ public $wc_is_guest_can_vote;
54
+
55
+ /**
56
+ * Type - Checkbox
57
+ * Available Values - Checked/Unchecked
58
+ * Description - Load all comments on click load more button
59
+ * Default Value - Unchecked
60
+ */
61
+ public $wc_load_all_comments;
62
+
63
  /**
64
  * Type - Checkbox
65
  * Available Values - Checked/Unchecked
245
  * Default Value - #666666
246
  */
247
  public $wc_vote_reply_color;
248
+
249
  /**
250
  * Type - Input
251
  * Available Values - color codes
306
  $this->wc_comment_list_update_type = isset($options['wc_comment_list_update_type']) ? $options['wc_comment_list_update_type'] : 0;
307
  $this->wc_comment_list_update_timer = isset($options['wc_comment_list_update_timer']) ? $options['wc_comment_list_update_timer'] : 30;
308
  $this->wc_comment_editable_time = isset($options['wc_comment_editable_time']) ? $options['wc_comment_editable_time'] : 900;
309
+ $this->wc_is_guest_can_vote = isset($options['wc_is_guest_can_vote']) ? $options['wc_is_guest_can_vote'] : 0;
310
+ $this->wc_load_all_comments = isset($options['wc_load_all_comments']) ? $options['wc_load_all_comments'] : 0;
311
  $this->wc_voting_buttons_show_hide = $options['wc_voting_buttons_show_hide'];
312
  $this->wc_share_buttons_show_hide = $options['wc_share_buttons_show_hide'];
313
  $this->wc_captcha_show_hide = $options['wc_captcha_show_hide'];
359
  'wc_notify_on_all_new_reply' => __('Notify of new replies to all my comments', WC_Core::$TEXT_DOMAIN),
360
  'wc_notify_on_new_reply' => __('Notify of new replies to this comment', WC_Core::$TEXT_DOMAIN),
361
  'wc_load_more_submit_text' => __('Load More Comments', WC_Core::$TEXT_DOMAIN),
362
+ 'wc_load_rest_comments_submit_text' => __('Load Rest of Comments', WC_Core::$TEXT_DOMAIN),
363
  'wc_reply_text' => __('Reply', WC_Core::$TEXT_DOMAIN),
364
  'wc_share_text' => __('Share', WC_Core::$TEXT_DOMAIN),
365
  'wc_share_facebook' => __('Share On Facebook', WC_Core::$TEXT_DOMAIN),
414
  'wc_voting_error' => __('Voting Error', WC_Core::$TEXT_DOMAIN),
415
  'wc_login_to_vote' => __('You Must Be Logged In To Vote', WC_Core::$TEXT_DOMAIN),
416
  'wc_self_vote' => __('You cannot vote for your comment', WC_Core::$TEXT_DOMAIN),
417
+ 'wc_deny_voting_from_same_ip' => __('You are not allowed to vote for this comment', WC_Core::$TEXT_DOMAIN),
418
  'wc_invalid_captcha' => __('Invalid Captcha Code', WC_Core::$TEXT_DOMAIN),
419
  'wc_invalid_field' => __('Some of field value is invalid', WC_Core::$TEXT_DOMAIN),
420
  'wc_new_comment_button_text' => __('new comment', WC_Core::$TEXT_DOMAIN),
438
  'wc_comment_list_update_type' => $this->wc_comment_list_update_type,
439
  'wc_comment_list_update_timer' => $this->wc_comment_list_update_timer,
440
  'wc_comment_editable_time' => $this->wc_comment_editable_time,
441
+ 'wc_is_guest_can_vote' => $this->wc_is_guest_can_vote,
442
+ 'wc_load_all_comments' => $this->wc_load_all_comments,
443
  'wc_voting_buttons_show_hide' => $this->wc_voting_buttons_show_hide,
444
  'wc_share_buttons_show_hide' => $this->wc_share_buttons_show_hide,
445
  'wc_captcha_show_hide' => $this->wc_captcha_show_hide,
483
  'wc_comment_list_update_type' => '0',
484
  'wc_comment_list_update_timer' => '30',
485
  'wc_comment_editable_time' => '900',
486
+ 'wc_is_guest_can_vote' => '1',
487
+ 'wc_load_all_comments' => '0',
488
  'wc_voting_buttons_show_hide' => '0',
489
  'wc_share_buttons_show_hide' => '0',
490
  'wc_captcha_show_hide' => '0',
options/wc-options.php CHANGED
@@ -6,7 +6,7 @@ class WC_Options {
6
  public $wc_db_helper;
7
  private $wc_post_types;
8
 
9
- public function __construct($wc_options_serialized, $wc_db_helper) {
10
  $this->wc_db_helper = $wc_db_helper;
11
  $this->wc_options_serialized = $wc_options_serialized;
12
  }
@@ -38,6 +38,8 @@ class WC_Options {
38
  $this->wc_options_serialized->wc_comment_list_update_type = isset($_POST['wc_comment_list_update_type']) ? $_POST['wc_comment_list_update_type'] : 0;
39
  $this->wc_options_serialized->wc_comment_list_update_timer = isset($_POST['wc_comment_list_update_timer']) ? $_POST['wc_comment_list_update_timer'] : 30;
40
  $this->wc_options_serialized->wc_comment_editable_time = isset($_POST['wc_comment_editable_time']) ? $_POST['wc_comment_editable_time'] : 900;
 
 
41
  $this->wc_options_serialized->wc_voting_buttons_show_hide = isset($_POST['wc_voting_buttons_show_hide']) ? $_POST['wc_voting_buttons_show_hide'] : 0;
42
  $this->wc_options_serialized->wc_share_buttons_show_hide = isset($_POST['wc_share_buttons_show_hide']) ? $_POST['wc_share_buttons_show_hide'] : 0;
43
  $this->wc_options_serialized->wc_captcha_show_hide = isset($_POST['wc_captcha_show_hide']) ? $_POST['wc_captcha_show_hide'] : 0;
@@ -101,7 +103,7 @@ class WC_Options {
101
  <table width="100%" border="0" cellspacing="1" class="widefat">
102
  <thead>
103
  <tr>
104
- <th style="font-size:14px;">&nbsp;Information</th>
105
  </tr>
106
  </thead>
107
  <tr valign="top">
@@ -114,19 +116,19 @@ class WC_Options {
114
  <table width="100%" border="0" cellspacing="1" class="widefat">
115
  <thead>
116
  <tr>
117
- <th style="font-size:16px;"><strong>Like wpDiscuz?</strong> <br /><span style="font-size:15px">We really need your reviews!</span></th>
118
  </tr>
119
  </thead>
120
  <tr valign="top">
121
  <td style="background:#FFF; text-align:left; font-size:13px;">
122
- We do our best to make wpDiscuz the best self-hosted comment plugin for Wordpress. Thousands users are currently satisfied with wpDiscuz but only about 1% of them give us 5 start rating.
123
  However we have a very few users who for some very specific reasons are not satisfied and they are very active in decreasing wpDiscuz rating.
124
  Please help us keep plugin rating high, encouraging us to develop and maintain this plugin. Take a one minute to leave <a href="https://wordpress.org/support/view/plugin-reviews/wpdiscuz?filter=5" title="Go to wpDiscuz Reviews section on Wordpress.org"><img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/'); ?>files/img/gc/5s.png" border="0" align="absmiddle" /></a> star review on <a href="https://wordpress.org/support/view/plugin-reviews/wpdiscuz?filter=5">Wordpress.org</a>
125
  <hr style="border-style:dotted;" />
126
  <div style="width:200px; float:right;">
127
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
128
- <input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="UC44WQM5XJFPA"><input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
129
- </form>
130
  </div>
131
  We spend as much of my spare time as possible working on wpDiscuz and any donation is appreciated. Donations play a crucial role in supporting Free and Open Source Software projects.
132
  </td>
@@ -144,15 +146,27 @@ class WC_Options {
144
  });
145
  </script>
146
  <br />
 
 
 
 
 
 
 
 
 
 
 
 
147
  <form action="<?php echo admin_url(); ?>admin.php?page=wpdiscuz_options_page&updated=true" method="post" name="wpdiscuz_options_page" class="wc-main-settings-form wc-form">
148
  <?php
149
  if (function_exists('wp_nonce_field')) {
150
  wp_nonce_field('wc_options_form');
151
  }
152
  ?>
153
-
154
  <h2>&nbsp;</h2>
155
-
156
  <div id="parentHorizontalTab">
157
  <ul class="resp-tabs-list hor_1">
158
  <li><?php _e('General settings', WC_Core::$TEXT_DOMAIN); ?></li>
@@ -188,6 +202,7 @@ class WC_Options {
188
  <td colspan="4">
189
  <p class="submit">
190
  <input type="submit" class="button button-primary" name="wc_submit_options" value="<?php _e('Save Changes', WC_Core::$TEXT_DOMAIN); ?>" />
 
191
  </p>
192
  </td>
193
  </tr>
@@ -229,6 +244,7 @@ class WC_Options {
229
  $this->wc_options_serialized->wc_phrases['wc_notify_on_all_new_reply'] = $_POST['wc_notify_on_all_new_reply'];
230
  $this->wc_options_serialized->wc_phrases['wc_notify_on_new_reply'] = $_POST['wc_notify_on_new_reply'];
231
  $this->wc_options_serialized->wc_phrases['wc_load_more_submit_text'] = $_POST['wc_load_more_submit_text'];
 
232
  $this->wc_options_serialized->wc_phrases['wc_reply_text'] = $_POST['wc_reply_text'];
233
  $this->wc_options_serialized->wc_phrases['wc_share_text'] = $_POST['wc_share_text'];
234
  $this->wc_options_serialized->wc_phrases['wc_share_facebook'] = $_POST['wc_share_facebook'];
@@ -283,6 +299,7 @@ class WC_Options {
283
  $this->wc_options_serialized->wc_phrases['wc_vote_only_one_time'] = $_POST['wc_vote_only_one_time'];
284
  $this->wc_options_serialized->wc_phrases['wc_voting_error'] = $_POST['wc_voting_error'];
285
  $this->wc_options_serialized->wc_phrases['wc_self_vote'] = $_POST['wc_self_vote'];
 
286
  $this->wc_options_serialized->wc_phrases['wc_login_to_vote'] = $_POST['wc_login_to_vote'];
287
  $this->wc_options_serialized->wc_phrases['wc_invalid_captcha'] = $_POST['wc_invalid_captcha'];
288
  $this->wc_options_serialized->wc_phrases['wc_invalid_field'] = $_POST['wc_invalid_field'];
@@ -316,7 +333,7 @@ class WC_Options {
316
  wp_nonce_field('wc_phrases_form');
317
  }
318
  ?>
319
- <div id="parentHorizontalTab1">
320
  <ul class="resp-tabs-list hor_2">
321
  <li><?php _e('General', WC_Core::$TEXT_DOMAIN); ?></li>
322
  <li><?php _e('Form', WC_Core::$TEXT_DOMAIN); ?></li>
@@ -333,8 +350,8 @@ class WC_Options {
333
  <?php include 'phrases-layout/phrases-email.php'; ?>
334
  <?php include 'phrases-layout/phrases-notification.php'; ?>
335
  </div>
336
- </div>
337
- <script type="text/javascript">
338
  jQuery(document).ready(function ($) {
339
  //Horizontal Tab
340
  $('#parentHorizontalTab1').easyResponsiveTabs({
@@ -345,12 +362,12 @@ class WC_Options {
345
  });
346
  });
347
  </script>
348
- <table class="form-table wc-form-table">
349
  <tbody>
350
  <tr valign="top">
351
  <td colspan="4">
352
  <p class="submit">
353
- <input type="submit" class="button button-primary" name="wc_submit_phrases" value="<?php _e('Save Changes', WC_Core::$TEXT_DOMAIN); ?>" />
354
  </p>
355
  </td>
356
  </tr>
6
  public $wc_db_helper;
7
  private $wc_post_types;
8
 
9
+ public function __construct($wc_options_serialized, $wc_db_helper) {
10
  $this->wc_db_helper = $wc_db_helper;
11
  $this->wc_options_serialized = $wc_options_serialized;
12
  }
38
  $this->wc_options_serialized->wc_comment_list_update_type = isset($_POST['wc_comment_list_update_type']) ? $_POST['wc_comment_list_update_type'] : 0;
39
  $this->wc_options_serialized->wc_comment_list_update_timer = isset($_POST['wc_comment_list_update_timer']) ? $_POST['wc_comment_list_update_timer'] : 30;
40
  $this->wc_options_serialized->wc_comment_editable_time = isset($_POST['wc_comment_editable_time']) ? $_POST['wc_comment_editable_time'] : 900;
41
+ $this->wc_options_serialized->wc_is_guest_can_vote = isset($_POST['wc_is_guest_can_vote']) ? $_POST['wc_is_guest_can_vote'] : 0;
42
+ $this->wc_options_serialized->wc_load_all_comments = isset($_POST['wc_load_all_comments']) ? $_POST['wc_load_all_comments'] : 0;
43
  $this->wc_options_serialized->wc_voting_buttons_show_hide = isset($_POST['wc_voting_buttons_show_hide']) ? $_POST['wc_voting_buttons_show_hide'] : 0;
44
  $this->wc_options_serialized->wc_share_buttons_show_hide = isset($_POST['wc_share_buttons_show_hide']) ? $_POST['wc_share_buttons_show_hide'] : 0;
45
  $this->wc_options_serialized->wc_captcha_show_hide = isset($_POST['wc_captcha_show_hide']) ? $_POST['wc_captcha_show_hide'] : 0;
103
  <table width="100%" border="0" cellspacing="1" class="widefat">
104
  <thead>
105
  <tr>
106
+ <th style="font-size:14px; background-color:#FEFCE7">&nbsp;Information</th>
107
  </tr>
108
  </thead>
109
  <tr valign="top">
116
  <table width="100%" border="0" cellspacing="1" class="widefat">
117
  <thead>
118
  <tr>
119
+ <th style="font-size:16px; background-color:#FEFCE7;"><strong>Like wpDiscuz?</strong> <br /><span style="font-size:15px">We really need your reviews!</span></th>
120
  </tr>
121
  </thead>
122
  <tr valign="top">
123
  <td style="background:#FFF; text-align:left; font-size:13px;">
124
+ We do our best to make wpDiscuz the best self-hosted comment plugin for Wordpress. Thousands users are currently satisfied with wpDiscuz but only about 1% of them give us 5 start rating.
125
  However we have a very few users who for some very specific reasons are not satisfied and they are very active in decreasing wpDiscuz rating.
126
  Please help us keep plugin rating high, encouraging us to develop and maintain this plugin. Take a one minute to leave <a href="https://wordpress.org/support/view/plugin-reviews/wpdiscuz?filter=5" title="Go to wpDiscuz Reviews section on Wordpress.org"><img src="<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/'); ?>files/img/gc/5s.png" border="0" align="absmiddle" /></a> star review on <a href="https://wordpress.org/support/view/plugin-reviews/wpdiscuz?filter=5">Wordpress.org</a>
127
  <hr style="border-style:dotted;" />
128
  <div style="width:200px; float:right;">
129
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
130
+ <input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="UC44WQM5XJFPA"><input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
131
+ </form>
132
  </div>
133
  We spend as much of my spare time as possible working on wpDiscuz and any donation is appreciated. Donations play a crucial role in supporting Free and Open Source Software projects.
134
  </td>
146
  });
147
  </script>
148
  <br />
149
+
150
+ <?php
151
+ if (isset($_GET['wpdiscuz_reset_options']) && $_GET['wpdiscuz_reset_options'] == 1 && current_user_can('manage_options')) {
152
+ delete_option($this->wc_options_serialized->wc_options_slug);
153
+ $this->wc_options_serialized->wc_post_types = array('post');
154
+ $this->wc_options_serialized->add_options();
155
+ $this->wc_options_serialized->init_options(get_option($this->wc_options_serialized->wc_options_slug));
156
+ $this->wc_options_serialized->wc_show_plugin_powerid_by = 1;
157
+ $this->wc_options_serialized->update_options();
158
+ }
159
+ ?>
160
+
161
  <form action="<?php echo admin_url(); ?>admin.php?page=wpdiscuz_options_page&updated=true" method="post" name="wpdiscuz_options_page" class="wc-main-settings-form wc-form">
162
  <?php
163
  if (function_exists('wp_nonce_field')) {
164
  wp_nonce_field('wc_options_form');
165
  }
166
  ?>
167
+
168
  <h2>&nbsp;</h2>
169
+
170
  <div id="parentHorizontalTab">
171
  <ul class="resp-tabs-list hor_1">
172
  <li><?php _e('General settings', WC_Core::$TEXT_DOMAIN); ?></li>
202
  <td colspan="4">
203
  <p class="submit">
204
  <input type="submit" class="button button-primary" name="wc_submit_options" value="<?php _e('Save Changes', WC_Core::$TEXT_DOMAIN); ?>" />
205
+ <a style="float: right;" class="button button-secondary" href="<?php echo admin_url(); ?>admin.php?page=wpdiscuz_options_page&wpdiscuz_reset_options=1"><?php _e('Reset Options', WC_Core::$TEXT_DOMAIN); ?></a>
206
  </p>
207
  </td>
208
  </tr>
244
  $this->wc_options_serialized->wc_phrases['wc_notify_on_all_new_reply'] = $_POST['wc_notify_on_all_new_reply'];
245
  $this->wc_options_serialized->wc_phrases['wc_notify_on_new_reply'] = $_POST['wc_notify_on_new_reply'];
246
  $this->wc_options_serialized->wc_phrases['wc_load_more_submit_text'] = $_POST['wc_load_more_submit_text'];
247
+ $this->wc_options_serialized->wc_phrases['wc_load_rest_comments_submit_text'] = $_POST['wc_load_rest_comments_submit_text'];
248
  $this->wc_options_serialized->wc_phrases['wc_reply_text'] = $_POST['wc_reply_text'];
249
  $this->wc_options_serialized->wc_phrases['wc_share_text'] = $_POST['wc_share_text'];
250
  $this->wc_options_serialized->wc_phrases['wc_share_facebook'] = $_POST['wc_share_facebook'];
299
  $this->wc_options_serialized->wc_phrases['wc_vote_only_one_time'] = $_POST['wc_vote_only_one_time'];
300
  $this->wc_options_serialized->wc_phrases['wc_voting_error'] = $_POST['wc_voting_error'];
301
  $this->wc_options_serialized->wc_phrases['wc_self_vote'] = $_POST['wc_self_vote'];
302
+ $this->wc_options_serialized->wc_phrases['wc_deny_voting_from_same_ip'] = $_POST['wc_deny_voting_from_same_ip'];
303
  $this->wc_options_serialized->wc_phrases['wc_login_to_vote'] = $_POST['wc_login_to_vote'];
304
  $this->wc_options_serialized->wc_phrases['wc_invalid_captcha'] = $_POST['wc_invalid_captcha'];
305
  $this->wc_options_serialized->wc_phrases['wc_invalid_field'] = $_POST['wc_invalid_field'];
333
  wp_nonce_field('wc_phrases_form');
334
  }
335
  ?>
336
+ <div id="parentHorizontalTab1">
337
  <ul class="resp-tabs-list hor_2">
338
  <li><?php _e('General', WC_Core::$TEXT_DOMAIN); ?></li>
339
  <li><?php _e('Form', WC_Core::$TEXT_DOMAIN); ?></li>
350
  <?php include 'phrases-layout/phrases-email.php'; ?>
351
  <?php include 'phrases-layout/phrases-notification.php'; ?>
352
  </div>
353
+ </div>
354
+ <script type="text/javascript">
355
  jQuery(document).ready(function ($) {
356
  //Horizontal Tab
357
  $('#parentHorizontalTab1').easyResponsiveTabs({
362
  });
363
  });
364
  </script>
365
+ <table class="form-table wc-form-table">
366
  <tbody>
367
  <tr valign="top">
368
  <td colspan="4">
369
  <p class="submit">
370
+ <input type="submit" class="button button-primary" name="wc_submit_phrases" value="<?php _e('Save Changes', WC_Core::$TEXT_DOMAIN); ?>" />
371
  </p>
372
  </td>
373
  </tr>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: wordpress comments, ajax comments, ajax, live update, theme, post comments, comments box, community, discussion, discuss, comment form, reply, comments, discussions, comment template, activity, comment author, comment system
5
  Requires at least: 2.7
6
  Tested up to: 4.1.1
7
- Stable tag: 2.1.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -59,6 +59,7 @@ New interactive, AJAX comment system. Responsive comment plugin with Live Update
59
  * | Option to show the latest comments on top or bottom of threads
60
  * | Option to set Live Update mode (auto or notifier buttons) and update period
61
  * | Options to turn On/Off Comment Voting and Sharing features
 
62
  * | Option to hide/show CAPTCHA field on comment form
63
  * | Option for "User Must be registered to comment"
64
  * | Option to held new comments for moderation
@@ -126,16 +127,23 @@ http://www.gvectors.com/questions/wpdiscuz-comment-form-is-missing/
126
 
127
  == Changelog ==
128
 
129
- = 2.1.7 =
130
- * Fixed Bug: Ultimate Member Integration problem on WEB Servers w/o DomObject support
131
- (SyntaxError: Unexpected token ... )
 
 
 
 
132
 
133
  IMPORTANT: If you have a Cache Plugin, please delete all caches after wpDiscuz update.
134
 
 
 
 
135
 
136
  = 2.1.6 =
137
- * Added : Integration with Ultimate Member - author profile picture
138
- * Added : Integration with Ultimate Member - author name is linked to profile page
139
  * Fixed Bug: CSS overrides some default styles on /wp-admin/
140
 
141
  = 2.1.5 =
@@ -153,11 +161,9 @@ IMPORTANT: If you have a Cache Plugin, please delete all caches after wpDiscuz u
153
  * Added: CSS classes for blog users titles by rank
154
  * Fixed Bug: Phrases saving issue
155
 
156
-
157
  = 2.1.2 =
158
  * Added : Adapting with wordpress.org plugin repository guidelines
159
 
160
-
161
  = 2.1.0 =
162
  * Added : Users can edit their comments (time-frame can be limited by admin)
163
  * Added : Email notification options with radio selector instead of checkboxes
@@ -175,22 +181,18 @@ IMPORTANT: If you have a Cache Plugin, please delete all caches after wpDiscuz u
175
  * Added : Filter hooks on comment form fields
176
  * Fixed Bug: Image source URL to image conversion in comment content
177
 
178
-
179
  = 2.0.9 =
180
  * Fixed Bug: Adapted with some themes ( Fatal error: Cannot redeclare add_user() )
181
  * Fixed Bug: Incorrect comment date/time if the default Wordpress date format is on
182
 
183
-
184
  = 2.0.8 =
185
  * Fixed Bug: Disabled comment issues (missing comment form)
186
  * If wpDiscuz comment form is missing please read this support topic:
187
  http://www.gvectors.com/questions/wpdiscuz-comment-form-is-missing/
188
 
189
-
190
  = 2.0.7 =
191
  * Fixed Bug: Comment system hiding problem on posts with disabled discussion option.
192
 
193
-
194
  = 2.0.6 =
195
  * Fixed Bug: Problem with saving new pharses (Same text on checboxes)
196
 
@@ -205,26 +207,21 @@ http://www.gvectors.com/questions/wpdiscuz-comment-form-is-missing/
205
  * Fixed Bug: Duplication of "New Comment" email notifications for post authors
206
  * Fixed Bug: Problem with large space between the paragraphs
207
 
208
-
209
  = 2.0.4 =
210
  * Added : Current subscribe status note on comment form (for logged-in users)
211
  * Added : Unsubscribe link on comment form and in "new comment" notification message.
212
  * Fixed Bug: Redirection to blank option.php on saving any option page.
213
 
214
-
215
  = 2.0.3 =
216
  * Fixed Bug: Problem with email notification options on comment form
217
  * Added : Option to keep checked-on the email notification checkboxes on comment form by default
218
 
219
-
220
  = 2.0.2 =
221
  * Fixed Bug: Problem with saving checkbox options (incorrect logic of values)
222
 
223
-
224
  = 2.0.1 =
225
  * Fixed Bug: Problem with new options and phrase saving
226
 
227
-
228
  = 2.0.0 =
229
  * Added : Live update of new comments with notifier buttons
230
  * Added : Multi-level (nested) comment threads, with maximum levels depth setting option
@@ -240,7 +237,6 @@ http://www.gvectors.com/questions/wpdiscuz-comment-form-is-missing/
240
  * Added : Option to manage background color of just loaded new comment (on live update)
241
  * Fixed Bug: Problem with multiple line-breaks
242
 
243
-
244
  = 1.0.9 =
245
  * Added : Option to set comment text font size
246
  * Added : Option to set form background color
@@ -277,4 +273,4 @@ http://www.gvectors.com/questions/wpdiscuz-comment-form-is-missing/
277
  * Fixed Bug : Layout Issues with some themes
278
 
279
  = 1.0.0 =
280
- Initial version
4
  Tags: wordpress comments, ajax comments, ajax, live update, theme, post comments, comments box, community, discussion, discuss, comment form, reply, comments, discussions, comment template, activity, comment author, comment system
5
  Requires at least: 2.7
6
  Tested up to: 4.1.1
7
+ Stable tag: 2.1.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
59
  * | Option to show the latest comments on top or bottom of threads
60
  * | Option to set Live Update mode (auto or notifier buttons) and update period
61
  * | Options to turn On/Off Comment Voting and Sharing features
62
+ * | Option to allow guests vote for comments
63
  * | Option to hide/show CAPTCHA field on comment form
64
  * | Option for "User Must be registered to comment"
65
  * | Option to held new comments for moderation
127
 
128
  == Changelog ==
129
 
130
+ = 2.1.8 =
131
+ * Added: Option to allow guests vote for comments
132
+ * Added: Option to load rest of all comments using the Load More Comments button
133
+ * Fixed Bug: Subscription option resetting after inserting wrong CAPTCHA code.
134
+ * Fixed Bug: Header CSS code for dynamic style values ( 90% reduced )
135
+ * Fixed Bug: JS/CSS conflicts with WooDiscuz plugin
136
+ * Fixed Bug: Wrong comment time when Wordpress date format is turned on.
137
 
138
  IMPORTANT: If you have a Cache Plugin, please delete all caches after wpDiscuz update.
139
 
140
+ = 2.1.7 =
141
+ * Fixed Bug: Ultimate Member Integration problem on WEB Servers w/o DomObject support
142
+ (SyntaxError: Unexpected token ... )
143
 
144
  = 2.1.6 =
145
+ * Added: Integration with Ultimate Member - author profile picture
146
+ * Added: Integration with Ultimate Member - author name is linked to profile page
147
  * Fixed Bug: CSS overrides some default styles on /wp-admin/
148
 
149
  = 2.1.5 =
161
  * Added: CSS classes for blog users titles by rank
162
  * Fixed Bug: Phrases saving issue
163
 
 
164
  = 2.1.2 =
165
  * Added : Adapting with wordpress.org plugin repository guidelines
166
 
 
167
  = 2.1.0 =
168
  * Added : Users can edit their comments (time-frame can be limited by admin)
169
  * Added : Email notification options with radio selector instead of checkboxes
181
  * Added : Filter hooks on comment form fields
182
  * Fixed Bug: Image source URL to image conversion in comment content
183
 
 
184
  = 2.0.9 =
185
  * Fixed Bug: Adapted with some themes ( Fatal error: Cannot redeclare add_user() )
186
  * Fixed Bug: Incorrect comment date/time if the default Wordpress date format is on
187
 
 
188
  = 2.0.8 =
189
  * Fixed Bug: Disabled comment issues (missing comment form)
190
  * If wpDiscuz comment form is missing please read this support topic:
191
  http://www.gvectors.com/questions/wpdiscuz-comment-form-is-missing/
192
 
 
193
  = 2.0.7 =
194
  * Fixed Bug: Comment system hiding problem on posts with disabled discussion option.
195
 
 
196
  = 2.0.6 =
197
  * Fixed Bug: Problem with saving new pharses (Same text on checboxes)
198
 
207
  * Fixed Bug: Duplication of "New Comment" email notifications for post authors
208
  * Fixed Bug: Problem with large space between the paragraphs
209
 
 
210
  = 2.0.4 =
211
  * Added : Current subscribe status note on comment form (for logged-in users)
212
  * Added : Unsubscribe link on comment form and in "new comment" notification message.
213
  * Fixed Bug: Redirection to blank option.php on saving any option page.
214
 
 
215
  = 2.0.3 =
216
  * Fixed Bug: Problem with email notification options on comment form
217
  * Added : Option to keep checked-on the email notification checkboxes on comment form by default
218
 
 
219
  = 2.0.2 =
220
  * Fixed Bug: Problem with saving checkbox options (incorrect logic of values)
221
 
 
222
  = 2.0.1 =
223
  * Fixed Bug: Problem with new options and phrase saving
224
 
 
225
  = 2.0.0 =
226
  * Added : Live update of new comments with notifier buttons
227
  * Added : Multi-level (nested) comment threads, with maximum levels depth setting option
237
  * Added : Option to manage background color of just loaded new comment (on live update)
238
  * Fixed Bug: Problem with multiple line-breaks
239
 
 
240
  = 1.0.9 =
241
  * Added : Option to set comment text font size
242
  * Added : Option to set form background color
273
  * Fixed Bug : Layout Issues with some themes
274
 
275
  = 1.0.0 =
276
+ Initial version
wc-css.php CHANGED
@@ -14,14 +14,8 @@ class WC_CSS {
14
  public function init_styles() {
15
  if (is_singular()) {
16
  ?>
17
- <style type="text/css"> #wc-comment-header{ padding:20px 5px 1px 5px; display:block; float:none; clear:both; font-size:18px;} #wpcomm form div{ box-sizing: inherit; } #wpcomm form .wpdiscuz-item {display: block; height:auto; } .wpdiscuz-item input { border-radius:0px; height:auto; width:auto; } #wpcomm { margin:15px 5px; padding:1px 0px 10px 0px; border-top:#DDDDDD solid 1px; } #wpcomm form { margin:0px; padding:0px; background:none; border:none; width:auto !important;} #wpcomm form div{ margin:0px; } #wc_show_hide_loggedin_username{ padding:10px 5px 5px 5px; font-size:13px; } #wpcomm .wc_new_comment_and_replies { margin:0px; padding:0px; width:100%; height:auto; background:transparent;} #wpcomm .wc_new_comment_and_replies .wc_new_comment{ float:right; display:none; background:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>; padding:3px 10px; font-size:12px; margin:1px 0px 1px 3px; cursor:pointer; color:#fff; line-height: 15px;} #wpcomm .wc_new_comment_and_replies .wc_new_reply{ float:right; display:none; background:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>; padding:3px 10px; font-size:12px; margin:1px 0px 1px 1px; cursor:pointer; color:#fff; line-height: 15px;} #wpcomm .wc-comment-title{ margin:0px; line-height:18px; font-weight:bold; padding:10px; margin-bottom:10px; font-size:13px; text-align:right; border-bottom:#CCCCCC dotted 1px; padding-bottom:10px; } #wpcomm .wc-form-wrapper{ padding:10px; background:<?php echo isset($this->wc_options_serialized->wc_form_bg_color) ? $this->wc_options_serialized->wc_form_bg_color : '#f9f9f9'; ?>; margin-top:20px; border:1px solid #F1F1F1; } #wpcomm .wc-author-data{ margin-bottom:3px; } #wpcomm .wc-field-submit{ padding:5px 0px 13px 0px; } #wpcomm .wc-field-name{ width:49%; float:left; } #wpcomm .wc-field-email{ width:49%; float:right; text-align:right; } #wpcomm .wc-field-comment{ margin:5px auto 1px auto; } #wpcomm .wc-field-comment .wc-field-avatararea{ width:60px; float:left; } #wpcomm .wc-field-comment .wc-field-textarea{ margin-left:65px; } #wpcomm .wc-field-captcha{ width:55%; float:left; margin:0px; height:auto!important; } #wpcomm .wc-field-submit{ width:auto!important; float:right; text-align:right; margin:0px; } #wpcomm .wc-field-name input[type="text"]{ width:99%; max-width:100%; padding:3px 5px; font-size:14px; margin:0px; height:29px; } #wpcomm .wc-field-email input[type="email"]{ width:100%; max-width:100%; padding:3px 5px; font-size:14px; margin:0px; height:29px; } #wpcomm .wc-field-captcha input[type="text"]{ width:40%; min-width:82px; padding:3px 5px; font-size:14px; margin:0px 5px 0px 0px; height:27px; } #wpcomm .wc-field-submit input[type="submit"]{ margin:1px; } #wpcomm .wc-field-submit input[type="button"]{ margin:1px; border:#DDDDDD 1px solid; font-size: 13px; line-height: 16px; padding: 6px 15px; clear:both; float:none; } #wpcomm .captcha_msg{ color: #999999; font-family: Lato,sans-serif; font-size: 13px; line-height: 18px; display:block; clear:both; padding:5px 0px 0px 0px; } #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:0px; } #wpcomm .wc-label{ display:block; font-size:14px; padding:5px; } #wpcomm .wc_manage_subscribtions {cursor: pointer; color: <?php echo $this->wc_options_serialized->wc_author_title_color; ?>; padding: 0px 0px 5px 0px; display: block; font-size:13px; line-height:16px;} #wpcomm .wc_notification_checkboxes{ padding:7px 0px 7px 0px; text-align:left; display: none; border-top: 1px dotted #DDDDDD; line-height:18px; font-size:13px;} #wpcomm .wc_notification_checkboxes input[type="checkbox"], #wpcomm .wc_notification_checkboxes input[type="radio"]{ overflow:none; width:inherit; font-size:13px; margin:0px; padding:0px; display:inline; clear:both; float:none; max-height: 20px; margin:0px 3px; } #wpcomm .wc_notification_checkboxes label { clear:both; float:none; font-weight:normal; } #wpcomm .wc-label-comment-notify { display:inline; font-size:13px; padding:0px; margin:0px; border:none; line-height:15px; text-decoration:none; color:#999999; font-family:Lato,sans-serif; cursor:pointer; } #wpcomm .wc-label-reply-notify, #wpcomm .wc-notification-none { display:inline; font-size:13px; padding:0px; margin:0px; border:none; line-height:15px; text-decoration:none; color:#999999; font-family:Lato,sans-serif; cursor:pointer; } #wpcomm .wc-label-all-reply-notify { display:inline; font-size:13px; padding:0px; margin:0px; border:none; line-height:15px; text-decoration:none; color:#999999; font-family:Lato,sans-serif; cursor:pointer;} #wpcomm .wc-field-captcha .wc-label{ font-size:14px; padding:5px; text-align:center; display:inline; } #wpcomm input[type="text"], #wpcomm input[type="email"], #wpcomm textarea{ font-size:14px; color:#777777; font-family:Lato,sans-serif; box-sizing: border-box; margin:0px; border:<?php echo $this->wc_options_serialized->wc_input_border_color; ?> 1px solid; clear:both; float:none; display:inline; } #wpcomm .wc-copyright{ margin: 0px 0px 0px auto; text-align:right; display: block; padding-top: 2px; } #wpcomm .wc-copyright a{ font-size: 9px; color: #AAAAAA; cursor:help; text-decoration:none; margin:0px; padding:0px; border:none;} #wpcomm .wc-thread-wrapper{ padding:10px 0px; margin-bottom:10px;} #wpcomm .wc-comment { margin-bottom:13px; } #wpcomm .wc-comment .wc-field-submit{ padding:5px 0px 5px 0px; } #wpcomm .wc-comment .wc-form-wrapper{ padding:10px 10px 7px 10px; } #wpcomm .wc-comment .wc-comment-left{ width:62px; float:left; position:absolute; text-align:center; font-family:Lato,sans-serif; line-height:16px; } #wpcomm .wc-comment .wc-comment-right{ margin-left:70px; border:#F5F5F5 1px solid; padding:10px 10px 3px 10px; background:<?php echo $this->wc_options_serialized->wc_comment_bg_color; ?>} #wpcomm .wc-reply .wc-comment-right{ margin-left:70px; border:#F5F5F5 1px solid; padding:10px 10px 3px 10px; } #wpcomm .wc-reply { margin-top: 10px; margin-bottom:0px; margin-left:40px; } #wpcomm .wc-reply .wc-comment-right{ background:<?php echo $this->wc_options_serialized->wc_reply_bg_color; ?>; } #wpcomm .wc-must-login{ margin:0px; font-size:14px; line-height:16px; padding:10px; text-align:center; } #wpcomm hr{ background-color: rgba(0, 0, 0, 0.1); border: 0 none; height: 1px; margin:10px 0px; } #wpcomm .avatar{ border: 1px solid rgba(0, 0, 0, 0.1); padding: 2px; margin:0px auto; float:none; display:inline; width:48px; height:auto; } #wpcomm .wc-form-wrapper .avatar { margin-top:3px; } #wpcomm .wc-comment-text{ font-size:<?php echo isset($this->wc_options_serialized->wc_comment_text_size) ? $this->wc_options_serialized->wc_comment_text_size : '14px'; ?>; text-align:left; color:<?php echo $this->wc_options_serialized->wc_comment_text_color; ?>; padding-bottom:5px; line-height: 20px; /*white-space: pre-wrap;*/ white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; } #wpcomm .wc-comment-text img {max-width: 90%; height: auto;} #wpcomm .wc-comment-header{ margin-bottom:7px; font-family:Lato,sans-serif; } #wpcomm .wc-comment-author{ color:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>; font-size:16px; width:40%; float:left; white-space:nowrap; } #wpcomm .wc-comment-author a{ color:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>; font-size:16px; white-space:nowrap; text-decoration:none; } #wpcomm .wc-comment-label{ background:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>; color:#FFFFFF; padding:2px 5px; font-size:12px; margin:4px auto; text-align:center; display:table; line-height:16px; } #wpcomm .wc-comment-date{ font-size:12px; color:#999999; float:right; text-align:right; white-space:nowrap; line-height:27px; } #wpcomm .wc-comment-footer { font-size:12px; font-weight:normal; color:#999999; margin-top:12px; min-height: 28px; font-family:Lato,sans-serif; } #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; color:<?php echo $this->wc_options_serialized->wc_vote_reply_color; ?>; cursor: pointer;} #wpcomm .wc-comment-footer .share_buttons_box img{ vertical-align:middle; } #wpcomm .wc-comment-footer .wc-voted{ color:#666666; cursor:default; } #wpcomm .wc-comment-footer .wc-vote-img-up{ padding:0px; margin:0px 0px -2px 0px; vertical-align:baseline; display:inline; float:none; clear:both; border:none; background:transparent; width:16px; height:16px; border-radius: 0px; box-shadow: none; box-sizing: border-box; } #wpcomm .wc-comment-footer .wc-vote-img-down{ padding:0px; margin:0px 0px -6px 0px; vertical-align:baseline; display:inline; float:none; clear:both; border:none; background:transparent; width:16px; height:16px; border-radius: 0px; box-shadow: none; box-sizing: border-box; } #wpcomm .wc-comment-footer .wc-vote-result{ padding:2px 6px 2px 5px; background:<?php echo $this->wc_options_serialized->wc_vote_reply_color; ?>; color:#FFFFFF; font-size:12px; font-weight:bold; display:inline; margin-right:5px;} #wpcomm .wc-toggle{ float:right; text-align:right; padding-right:0px; margin-right:0px; color:#999999; cursor:pointer; font-size:12px; white-space:nowrap; } #wpcomm .wpdiscuz-item { background: none; border-radius: 0px; box-shadow: none; } #wc_response_info img{ margin: 0px auto 0px auto; box-shadow: none; } #wpcomm .share_buttons_box img { display:inline!important; width:16px; height:16px; } #wpcomm .wc-captcha-label img{ display: inline!important; border:none; padding:0px 0px 0px 2px; margin:0px; vertical-align:middle; } #wpcomm .wc-reply-link, #wpcomm .wc-vote-link, #wpcomm .wc-share-link { cursor: pointer; font-size:13px; font-weight:bold; color: <?php echo $this->wc_options_serialized->wc_vote_reply_color; ?>; } #wpcomm .wc-form-footer, #wpcomm .wc-secondary-forms-wrapper {display: none;} #wpcomm .wc-field-captcha .wc-captcha-label { padding: 0; display: inline-block; } #wpcomm .wc_captcha_refresh_img {cursor: pointer; margin-left: 3px;} #wpcomm .share_buttons_box {display: none;} #wpcomm .wc-no-left-margin {margin-left: 0 !important;} div.wc_modal { background: none repeat scroll 0 0 #EDEDED; color:#444444; font-size: 18px; font-weight: normal; padding: 45px 10px 50px 10px!important; text-align: center; line-height:25px;} .wc-load-more-submit-wrap { width: 100%; text-align: center; margin-bottom:20px; margin-top:25px; } .wc-load-more-submit { width: auto!important; padding:10px 20px; text-align: center; background-color:#FAFAFA; border: 1px solid <?php echo $this->wc_options_serialized->wc_input_border_color; ?>; border-radius: 3px; color:#555555; cursor:pointer; } .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; } #wc_openModalFormAction > div#wc_response_info { width: 200px; background: none repeat scroll 0 0 #EDEDED; color:#444444; font-size: 18px; font-weight: normal; padding: 45px 10px 50px 10px!important; text-align: center; line-height:25px;} #wc_openModalFormAction > div#wc_response_info { } #wc_openModalFormAction > div#wc_response_info a.close { background: url("<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/x.png'); ?>") no-repeat; background-position-x: right; background-position-y: top; } #wpcomm #bywpdiscuz{ display:none; } #wpcomm .by-wpdiscuz{ text-align:right; border-top:#DDDDDD solid 1px; padding:1px 1px 1px 1px; } #wpcomm .by-wpdiscuz a{ font-size:11px; font-weight:bold; text-align:right; color:#CCCCCC; padding:1px; margin:0px; line-height:12px; border:none; text-decoration:none; } #wpcomm .wpdimg{ border:none; padding:0px; margin:0px; height:12px; cursor:pointer; display:inline; clear:both; } #wpcomm .wc-comment .wc-comment-right.wc_new_loaded_comment {background: <?php echo $this->wc_options_serialized->wc_new_loaded_comment_bg_color; ?>;} #wc_unsubscribe_message { margin:10px auto 1px auto; padding:10px; text-align:center; border:#00DD00 1px dotted; background:#CCFFCC; } .wc_unsubscribe_message { font-size:14px; color:#444; } #wpcomm .wc_comment_level-3 { margin-left: 40px!important; } #wpcomm .wc_comment_level-4 { margin-left: 40px!important; } #wpcomm .wc_comment_level-5 { margin-left: 40px!important; } #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%; } #wpcomm .wc_cancel_edit {display: none;} #wpcomm .wc-comment-text p {margin-bottom: 10px;} #wpcomm .wc-comment-right textarea.wc_edit_comment {height: 80px; max-height: 200px;}; <?php echo stripslashes($this->wc_options_serialized->wc_custom_css); ?> </style>
18
  <?php
19
- if (is_rtl()) {
20
- // RTL SUPPORT HERE
21
- ?>
22
- <style type="text/css">#wpcomm .wc-field-comment .wc-field-textarea{ margin-left: 2px; margin-right: 65px; } #wpcomm .wc-form-wrapper .avatar{ margin-top: 0px; } #wpcomm .wc-field-comment .wc-field-avatararea{ float:right; } #wpcomm .wc-field-submit{ float:left } #wpcomm .wc-field-captcha{ float:right; } #wpcomm .wc_notification_checkboxes{ text-align:right; } #wpcomm .wc-comment .wc-comment-right{ margin-left:0px; margin-right:70px; } #wpcomm .wc-comment-author{ float:right; } #wpcomm .wc-comment-date{ float:left; } #wpcomm .wc-comment-footer .wc-vote-result{ margin-right:0px; margin-left:5px; } #wpcomm .wc-toggle{ float:left; }</style>
23
- <?php
24
- }
25
  }
26
  }
27
 
14
  public function init_styles() {
15
  if (is_singular()) {
16
  ?>
17
+ <style type="text/css"> .wc_new_comment{ background:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>;} #wpcomm .wc_new_comment_and_replies .wc_new_reply{background:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>;}#wpcomm .wc-form-wrapper{background:<?php echo isset($this->wc_options_serialized->wc_form_bg_color) ? $this->wc_options_serialized->wc_form_bg_color : '#f9f9f9'; ?>;} #wpcomm .wc_manage_subscribtions {color: <?php echo $this->wc_options_serialized->wc_author_title_color; ?>; }#wpcomm textarea{ border:<?php echo $this->wc_options_serialized->wc_input_border_color; ?> 1px solid;}#wpcomm .wc-comment .wc-comment-right{ background:<?php echo $this->wc_options_serialized->wc_comment_bg_color; ?>;} #wpcomm .wc-reply .wc-comment-right{ background:<?php echo $this->wc_options_serialized->wc_reply_bg_color; ?>; }#wpcomm .wc-comment-text{ font-size:<?php echo isset($this->wc_options_serialized->wc_comment_text_size) ? $this->wc_options_serialized->wc_comment_text_size : '14px'; ?>;color:<?php echo $this->wc_options_serialized->wc_comment_text_color; ?>;} #wpcomm .wc-comment-author{ color:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>; }#wpcomm .wc-comment-author a{ color:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>;} #wpcomm .wc-comment-label{ background:<?php echo $this->wc_options_serialized->wc_author_title_color; ?>; } #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 { color:<?php echo $this->wc_options_serialized->wc_vote_reply_color; ?>; } #wpcomm .wc-comment-footer .wc-vote-result{ background:<?php echo $this->wc_options_serialized->wc_vote_reply_color; ?>;} #wpcomm .wc-reply-link, #wpcomm .wc-vote-link, #wpcomm .wc-share-link {color: <?php echo $this->wc_options_serialized->wc_vote_reply_color; ?>; }.wc-load-more-submit {border: 1px solid <?php echo $this->wc_options_serialized->wc_input_border_color; ?>;} #wc_openModalFormAction > div#wc_response_info a.close { background: url("<?php echo plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/x.png'); ?>") no-repeat;}#wpcomm .wc-comment.wc-comment-right.wc_new_loaded_comment {background: <?php echo $this->wc_options_serialized->wc_new_loaded_comment_bg_color; ?>;} <?php echo stripslashes($this->wc_options_serialized->wc_custom_css); ?> </style>
18
  <?php
 
 
 
 
 
 
19
  }
20
  }
21
 
wc.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: wpDiscuz - Wordpress Comments
5
  Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
6
- Version: 2.1.7
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/
@@ -44,7 +44,6 @@ class WC_Core {
44
  $this->wc_db_helper = new WC_DB_Helper();
45
  $this->wc_options_serialized = new WC_Options_Serialize($this->wc_db_helper);
46
  $this->wc_options = new WC_Options($this->wc_options_serialized, $this->wc_db_helper);
47
- // $this->wc_db_helper = $this->wc_options->wc_db_helper;
48
 
49
  register_activation_hook(__FILE__, array($this, 'db_operations'));
50
 
@@ -122,6 +121,10 @@ class WC_Core {
122
  if (version_compare($wc_version, '2.1.2', '<=')) {
123
  $this->wc_db_helper->wc_alter_phrases_table();
124
  }
 
 
 
 
125
  }
126
  }
127
 
@@ -190,40 +193,48 @@ class WC_Core {
190
  * Styles and scripts registration to use on front page
191
  */
192
  public function front_end_styles_scripts() {
193
- if ( is_singular() ) {
194
  $u_agent = $_SERVER['HTTP_USER_AGENT'];
195
 
 
 
 
 
 
 
 
 
196
  if ($this->wc_options_serialized->wc_comment_list_update_type != 0) {
197
- wp_enqueue_script('wc-jquery-ui', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/jquery-ui/jquery-ui.js'), array('jquery'), '1.11.2', false);
198
  }
199
 
200
  if (preg_match('/MSIE/i', $u_agent)) {
201
- wp_enqueue_script('wc-html5-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/tooltipster/js/html5.js'), array('jquery'), '1.2', false);
202
 
203
- wp_register_style('modal-css-ie', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/modal-box/modal-box-ie.css'));
204
- wp_enqueue_style('modal-css-ie');
205
  }
206
 
207
- wp_register_style('modal-box-css', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/modal-box/modal-box.css'));
208
- wp_enqueue_style('modal-box-css');
209
 
210
- wp_enqueue_script('form-validator-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/validator.js'), array('jquery'), '1.0.0', false);
211
 
212
- wp_register_style('validator-style', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/css/fv.css'));
213
- wp_enqueue_style('validator-style');
214
 
215
- wp_enqueue_script('wc-ajax-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/wc-ajax.js'), array('jquery'), get_option($this->wc_version_slug), false);
216
- wp_localize_script('wc-ajax-js', 'wc_ajax_obj', array('url' => admin_url('admin-ajax.php')));
217
 
218
- wp_enqueue_script('wc-cookie-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/jquery.cookie.js'), array('jquery'), '1.4.1', false);
219
 
220
- wp_register_style('wc-tooltipster-style', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/tooltipster/css/tooltipster.css'));
221
- wp_enqueue_style('wc-tooltipster-style');
222
 
223
- wp_enqueue_script('wc-tooltipster-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/tooltipster/js/jquery.tooltipster.min.js'), array('jquery'), '1.2', false);
224
 
225
  wp_enqueue_script('autogrowtextarea-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/jquery.autogrowtextarea.min.js'), array('jquery'), '3.0', false);
226
- wp_enqueue_script('wc-frontend-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/wc-frontend.js'), array('jquery'));
227
  }
228
  }
229
 
@@ -234,33 +245,33 @@ class WC_Core {
234
 
235
  $u_agent = $_SERVER['HTTP_USER_AGENT'];
236
  if (preg_match('/MSIE/i', $u_agent)) {
237
- wp_register_style('modal-css-ie', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/modal-box/modal-box-ie.css'));
238
- wp_enqueue_style('modal-css-ie');
239
  }
240
 
241
- wp_register_style('modal-box-css', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/modal-box/modal-box.css'));
242
- wp_enqueue_style('modal-box-css');
243
 
244
- wp_register_style('colorpicker-css', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/colorpicker/css/colorpicker.css'));
245
- wp_enqueue_style('colorpicker-css');
246
 
247
- wp_register_script('wc-colorpicker-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/colorpicker/js/colorpicker.js'), array('jquery'), '2.0.0.9', false);
248
- wp_enqueue_script('wc-colorpicker-js');
249
 
250
- wp_register_style('wc-options-css', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/css/options-css.css'));
251
- wp_enqueue_style('wc-options-css');
252
 
253
- wp_register_script('wc-option-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/options-js.js'), array('jquery'));
254
- wp_enqueue_script('wc-option-js');
255
 
256
- wp_register_script('wc-scripts-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/wc-scripts.js'), array('jquery'));
257
- wp_enqueue_script('wc-scripts-js');
258
 
259
- wp_register_style('wc-easy-responsive-tabs-css', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/easy-responsive-tabs/css/easy-responsive-tabs.css'), true);
260
- wp_enqueue_style('wc-easy-responsive-tabs-css');
261
 
262
- wp_register_script('wc-easy-responsive-tabs-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/easy-responsive-tabs/js/easy-responsive-tabs.js'), array('jquery'), '1.0.0', true);
263
- wp_enqueue_script('wc-easy-responsive-tabs-js');
264
  }
265
 
266
  /*
@@ -379,25 +390,34 @@ class WC_Core {
379
  */
380
  // MUST BE CHANGED IN NEXT VERSION OF PLUGIN
381
  public function vote_on_comment() {
 
 
 
 
382
  if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
383
  $this->wc_options_serialized->wc_phrases = $this->wc_db_helper->get_phrases();
384
  }
385
  $messageArray = array();
386
  $messageArray['code'] = -1;
387
  $comment_id = '';
388
- if (!is_user_logged_in()) {
389
  $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_login_to_vote'];
390
  echo json_encode($messageArray);
391
  exit();
392
  }
393
  if (isset($_POST['comment_ID']) && isset($_POST['vote_type']) && intval($_POST['comment_ID']) && intval($_POST['vote_type'])) {
394
  $comment_id = $_POST['comment_ID'];
395
- $user_id = get_current_user_id();
396
  $vote_type = $_POST['vote_type'];
397
 
398
- $is_user_voted = $this->wc_db_helper->is_user_voted($user_id, $comment_id);
399
  $comment = get_comment($comment_id);
400
- if ($comment->user_id == $user_id) {
 
 
 
 
 
401
  $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_self_vote'];
402
  echo json_encode($messageArray);
403
  exit();
@@ -406,7 +426,7 @@ class WC_Core {
406
  if ($is_user_voted != '') {
407
  $vote = intval($is_user_voted) + intval($vote_type);
408
  if ($vote >= -1 && $vote <= 1) {
409
- $this->wc_db_helper->update_vote_type($user_id, $comment_id, $vote);
410
  $vote_count = intval(get_comment_meta($comment_id, 'wpdiscuz_votes', true)) + intval($vote_type);
411
  update_comment_meta($comment_id, 'wpdiscuz_votes', '' . $vote_count);
412
  $messageArray['code'] = 1;
@@ -415,7 +435,7 @@ class WC_Core {
415
  $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_vote_only_one_time'];
416
  }
417
  } else {
418
- $this->wc_db_helper->add_vote_type($user_id, $comment_id, $vote_type);
419
  $vote_count = get_comment_meta($comment_id, 'wpdiscuz_votes', true);
420
  if ($vote_count == '') {
421
  add_comment_meta($comment_id, 'wpdiscuz_votes', '' . $vote_type);
@@ -578,9 +598,10 @@ class WC_Core {
578
  if ($wc_post_parent_comments_count > $this->wc_options_serialized->wc_comment_count * $wc_comments_offset + $wc_curr_user_comment_count) {
579
 
580
  $unique_id = $wc_post_id . '_' . 0;
 
581
  $load_more = '<div class="wc-load-more-submit-wrap">';
582
- $load_more .= '<button name="submit" id="wc-load-more-submit-' . $unique_id . '" class="wc-load-more-submit button">' . $this->wc_options_serialized->wc_phrases['wc_load_more_submit_text'];
583
-
584
  $load_more .= '</button>';
585
  $load_more .= '</div>';
586
  $message_array['message'] .= $load_more;
@@ -686,7 +707,7 @@ class WC_Core {
686
  $comm_list_args = array(
687
  'callback' => array(&$this, 'wc_comment_callback'),
688
  'style' => 'div',
689
- 'per_page' => $comments_offset * $wc_comment_count + $wc_curr_user_comment_count,
690
  'max_depth' => $wc_comments_max_depth,
691
  'reverse_top_level' => false,
692
  'echo' => false
@@ -698,17 +719,17 @@ class WC_Core {
698
  $wc_wp_comments['wc_list'] = wp_list_comments($comm_list_args, $wc_comments);
699
  $wc_button_comments_count_style = $wc_hidden_new_comment_count > 0 ? "inline-block" : "none";
700
 
701
- if ($this->wc_parent_comments_count > $this->wc_options_serialized->wc_comment_count * $comments_offset + $wc_curr_user_comment_count) {
702
 
703
  $unique_id = $post_id . '_' . 0;
704
  $load_more = '<div class="wc-load-more-submit-wrap">';
705
- $load_more .= '<button name="submit" id="wc-load-more-submit-' . $unique_id . '" class="wc-load-more-submit button">' . $this->wc_options_serialized->wc_phrases['wc_load_more_submit_text'];
706
-
 
707
  if ($this->wc_options_serialized->wc_comment_list_update_type == 1) {
708
  $load_more .= '<span style="display:' . $wc_button_comments_count_style . ';" id="wc_button_new_comments_text" class="wc_button_new_comments_text">&nbsp;&nbsp;-&nbsp;&nbsp;' . $this->wc_options_serialized->wc_phrases['wc_new_comments_text'] . ' : ';
709
  $load_more .= '<span id="wc_button_new_comments_count" class="wc_button_new_comments_count">' . $wc_hidden_new_comment_count . '</span></span>';
710
  }
711
-
712
  $load_more .= '</button>';
713
  $load_more .= '</div>';
714
  $wc_wp_comments['wc_list'] .= $load_more;
@@ -725,10 +746,13 @@ class WC_Core {
725
  public function load_more_comments() {
726
  $c_offset = intval($_POST['comments_offset']);
727
  $c_offset = ($c_offset) ? $c_offset : 1;
 
 
 
728
  $post_id = intval($_POST['wc_post_id']);
729
  $message_array = array();
730
- if ($c_offset && $post_id) {
731
- $wc_limit = $c_offset * $this->wc_options_serialized->wc_comment_count;
732
  $wc_last_comment_id = isset($_POST['wc_last_comment_id']) ? $_POST['wc_last_comment_id'] : 0;
733
  $wc_curr_user_comment_count = isset($_POST['wc_curr_user_comment_count']) ? $_POST['wc_curr_user_comment_count'] : 0;
734
  $wc_new_comments = $this->wc_db_helper->wc_get_new_comments($post_id, $wc_last_comment_id);
@@ -791,7 +815,7 @@ class WC_Core {
791
  public function init_current_post_type() {
792
  global $post;
793
  if ($post && in_array($post->post_type, $this->wc_options_serialized->wc_post_types)) {
794
- add_filter('comments_template', array(&$this, 'remove_comments_template_on_pages'), 1);
795
  }
796
  }
797
 
3
  /*
4
  Plugin Name: wpDiscuz - Wordpress Comments
5
  Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
6
+ Version: 2.1.8
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/
44
  $this->wc_db_helper = new WC_DB_Helper();
45
  $this->wc_options_serialized = new WC_Options_Serialize($this->wc_db_helper);
46
  $this->wc_options = new WC_Options($this->wc_options_serialized, $this->wc_db_helper);
 
47
 
48
  register_activation_hook(__FILE__, array($this, 'db_operations'));
49
 
121
  if (version_compare($wc_version, '2.1.2', '<=')) {
122
  $this->wc_db_helper->wc_alter_phrases_table();
123
  }
124
+
125
+ if (version_compare($wc_version, '2.1.7', '<=')) {
126
+ $this->wc_db_helper->wc_alter_voting_table();
127
+ }
128
  }
129
  }
130
 
193
  * Styles and scripts registration to use on front page
194
  */
195
  public function front_end_styles_scripts() {
196
+ if (is_singular()) {
197
  $u_agent = $_SERVER['HTTP_USER_AGENT'];
198
 
199
+ wp_register_style('wpdiscuz-frontend-css', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/css/wpdiscuz.css'));
200
+ wp_enqueue_style('wpdiscuz-frontend-css');
201
+
202
+ if (is_rtl()) {
203
+ wp_register_style('wpdiscuz-frontend-rtl-css', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/css/wpdiscuz-rtl.css'));
204
+ wp_enqueue_style('wpdiscuz-frontend-rtl-css');
205
+ }
206
+
207
  if ($this->wc_options_serialized->wc_comment_list_update_type != 0) {
208
+ wp_enqueue_script('wpdiscuz-jquery-ui', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/jquery-ui/jquery-ui.js'), array('jquery'), '1.11.2', false);
209
  }
210
 
211
  if (preg_match('/MSIE/i', $u_agent)) {
212
+ wp_enqueue_script('wpdiscuz-html5-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/tooltipster/js/html5.js'), array('jquery'), '1.2', false);
213
 
214
+ wp_register_style('wpdiscuz-modal-css-ie', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/modal-box/modal-box-ie.css'));
215
+ wp_enqueue_style('wpdiscuz-modal-css-ie');
216
  }
217
 
218
+ wp_register_style('wpdiscuz-modal-box-css', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/modal-box/modal-box.css'));
219
+ wp_enqueue_style('wpdiscuz-modal-box-css');
220
 
221
+ wp_enqueue_script('wpdiscuz-validator-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/validator.js'), array('jquery'), '1.0.0', false);
222
 
223
+ wp_register_style('wpdiscuz-validator-style', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/css/fv.css'));
224
+ wp_enqueue_style('wpdiscuz-validator-style');
225
 
226
+ wp_enqueue_script('wpdiscuz-ajax-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/wc-ajax.js'), array('jquery'), get_option($this->wc_version_slug), false);
227
+ wp_localize_script('wpdiscuz-ajax-js', 'wc_ajax_obj', array('url' => admin_url('admin-ajax.php')));
228
 
229
+ wp_enqueue_script('wpdiscuz-cookie-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/jquery.cookie.js'), array('jquery'), '1.4.1', false);
230
 
231
+ wp_register_style('wpdiscuz-tooltipster-style', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/tooltipster/css/tooltipster.css'));
232
+ wp_enqueue_style('wpdiscuz-tooltipster-style');
233
 
234
+ wp_enqueue_script('wpdiscuz-tooltipster-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/tooltipster/js/jquery.tooltipster.min.js'), array('jquery'), '1.2', false);
235
 
236
  wp_enqueue_script('autogrowtextarea-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/jquery.autogrowtextarea.min.js'), array('jquery'), '3.0', false);
237
+ wp_enqueue_script('wpdiscuz-frontend-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/wc-frontend.js'), array('jquery'));
238
  }
239
  }
240
 
245
 
246
  $u_agent = $_SERVER['HTTP_USER_AGENT'];
247
  if (preg_match('/MSIE/i', $u_agent)) {
248
+ wp_register_style('wpdiscuz-modal-css-ie', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/modal-box/modal-box-ie.css'));
249
+ wp_enqueue_style('wpdiscuz-modal-css-ie');
250
  }
251
 
252
+ wp_register_style('wpdiscuz-modal-box-css', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/modal-box/modal-box.css'));
253
+ wp_enqueue_style('wpdiscuz-modal-box-css');
254
 
255
+ wp_register_style('wpdiscuz-colorpicker-css', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/colorpicker/css/colorpicker.css'));
256
+ wp_enqueue_style('wpdiscuz-colorpicker-css');
257
 
258
+ wp_register_script('wpdiscuz-colorpicker-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/colorpicker/js/colorpicker.js'), array('jquery'), '2.0.0.9', false);
259
+ wp_enqueue_script('wpdiscuz-colorpicker-js');
260
 
261
+ wp_register_style('wpdiscuz-options-css', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/css/options-css.css'));
262
+ wp_enqueue_style('wpdiscuz-options-css');
263
 
264
+ wp_register_script('wpdiscuz-option-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/options-js.js'), array('jquery'));
265
+ wp_enqueue_script('wpdiscuz-option-js');
266
 
267
+ wp_register_script('wpdiscuz-scripts-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/js/wc-scripts.js'), array('jquery'));
268
+ wp_enqueue_script('wpdiscuz-scripts-js');
269
 
270
+ wp_register_style('wpdiscuz-easy-responsive-tabs-css', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/easy-responsive-tabs/css/easy-responsive-tabs.css'), true);
271
+ wp_enqueue_style('wpdiscuz-easy-responsive-tabs-css');
272
 
273
+ wp_register_script('wpdiscuz-easy-responsive-tabs-js', plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/third-party/easy-responsive-tabs/js/easy-responsive-tabs.js'), array('jquery'), '1.0.0', true);
274
+ wp_enqueue_script('wpdiscuz-easy-responsive-tabs-js');
275
  }
276
 
277
  /*
390
  */
391
  // MUST BE CHANGED IN NEXT VERSION OF PLUGIN
392
  public function vote_on_comment() {
393
+ if ($this->wc_options_serialized->wc_voting_buttons_show_hide) {
394
+ exit();
395
+ }
396
+
397
  if ($this->wc_db_helper->is_phrase_exists('wc_leave_a_reply_text')) {
398
  $this->wc_options_serialized->wc_phrases = $this->wc_db_helper->get_phrases();
399
  }
400
  $messageArray = array();
401
  $messageArray['code'] = -1;
402
  $comment_id = '';
403
+ if (!$this->wc_options_serialized->wc_is_guest_can_vote) {
404
  $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_login_to_vote'];
405
  echo json_encode($messageArray);
406
  exit();
407
  }
408
  if (isset($_POST['comment_ID']) && isset($_POST['vote_type']) && intval($_POST['comment_ID']) && intval($_POST['vote_type'])) {
409
  $comment_id = $_POST['comment_ID'];
410
+ $user_id_or_ip = is_user_logged_in() ? get_current_user_id() : WC_Helper::get_real_ip_addr();
411
  $vote_type = $_POST['vote_type'];
412
 
413
+ $is_user_voted = $this->wc_db_helper->is_user_voted($user_id_or_ip, $comment_id);
414
  $comment = get_comment($comment_id);
415
+ if (!is_user_logged_in() && $comment->comment_author_IP == $user_id_or_ip) {
416
+ $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_deny_voting_from_same_ip'];
417
+ echo json_encode($messageArray);
418
+ exit();
419
+ }
420
+ if ($comment->user_id == $user_id_or_ip) {
421
  $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_self_vote'];
422
  echo json_encode($messageArray);
423
  exit();
426
  if ($is_user_voted != '') {
427
  $vote = intval($is_user_voted) + intval($vote_type);
428
  if ($vote >= -1 && $vote <= 1) {
429
+ $this->wc_db_helper->update_vote_type($user_id_or_ip, $comment_id, $vote);
430
  $vote_count = intval(get_comment_meta($comment_id, 'wpdiscuz_votes', true)) + intval($vote_type);
431
  update_comment_meta($comment_id, 'wpdiscuz_votes', '' . $vote_count);
432
  $messageArray['code'] = 1;
435
  $messageArray['message'] = $this->wc_options_serialized->wc_phrases['wc_vote_only_one_time'];
436
  }
437
  } else {
438
+ $this->wc_db_helper->add_vote_type($user_id_or_ip, $comment_id, $vote_type);
439
  $vote_count = get_comment_meta($comment_id, 'wpdiscuz_votes', true);
440
  if ($vote_count == '') {
441
  add_comment_meta($comment_id, 'wpdiscuz_votes', '' . $vote_type);
598
  if ($wc_post_parent_comments_count > $this->wc_options_serialized->wc_comment_count * $wc_comments_offset + $wc_curr_user_comment_count) {
599
 
600
  $unique_id = $wc_post_id . '_' . 0;
601
+ $load_more_button_text = ($this->wc_options_serialized->wc_load_all_comments) ? $this->wc_options_serialized->wc_phrases['wc_load_rest_comments_submit_text'] : $this->wc_options_serialized->wc_phrases['wc_load_more_submit_text'];
602
  $load_more = '<div class="wc-load-more-submit-wrap">';
603
+ $load_more .= '<button name="submit" id="wc-load-more-submit-' . $unique_id . '" class="wc-load-more-submit button">';
604
+ $load_more .= $load_more_button_text;
605
  $load_more .= '</button>';
606
  $load_more .= '</div>';
607
  $message_array['message'] .= $load_more;
707
  $comm_list_args = array(
708
  'callback' => array(&$this, 'wc_comment_callback'),
709
  'style' => 'div',
710
+ 'per_page' => $comments_offset ? $comments_offset * $wc_comment_count + $wc_curr_user_comment_count : '',
711
  'max_depth' => $wc_comments_max_depth,
712
  'reverse_top_level' => false,
713
  'echo' => false
719
  $wc_wp_comments['wc_list'] = wp_list_comments($comm_list_args, $wc_comments);
720
  $wc_button_comments_count_style = $wc_hidden_new_comment_count > 0 ? "inline-block" : "none";
721
 
722
+ if ($this->wc_parent_comments_count > $this->wc_options_serialized->wc_comment_count * $comments_offset + $wc_curr_user_comment_count && $comments_offset) {
723
 
724
  $unique_id = $post_id . '_' . 0;
725
  $load_more = '<div class="wc-load-more-submit-wrap">';
726
+ $load_more .= '<button name="submit" id="wc-load-more-submit-' . $unique_id . '" class="wc-load-more-submit button">';
727
+ $load_more_button_text = ($this->wc_options_serialized->wc_load_all_comments) ? $this->wc_options_serialized->wc_phrases['wc_load_rest_comments_submit_text'] : $this->wc_options_serialized->wc_phrases['wc_load_more_submit_text'];
728
+ $load_more .= $load_more_button_text;
729
  if ($this->wc_options_serialized->wc_comment_list_update_type == 1) {
730
  $load_more .= '<span style="display:' . $wc_button_comments_count_style . ';" id="wc_button_new_comments_text" class="wc_button_new_comments_text">&nbsp;&nbsp;-&nbsp;&nbsp;' . $this->wc_options_serialized->wc_phrases['wc_new_comments_text'] . ' : ';
731
  $load_more .= '<span id="wc_button_new_comments_count" class="wc_button_new_comments_count">' . $wc_hidden_new_comment_count . '</span></span>';
732
  }
 
733
  $load_more .= '</button>';
734
  $load_more .= '</div>';
735
  $wc_wp_comments['wc_list'] .= $load_more;
746
  public function load_more_comments() {
747
  $c_offset = intval($_POST['comments_offset']);
748
  $c_offset = ($c_offset) ? $c_offset : 1;
749
+ if ($this->wc_options_serialized->wc_load_all_comments) {
750
+ $c_offset = '';
751
+ }
752
  $post_id = intval($_POST['wc_post_id']);
753
  $message_array = array();
754
+ if ($post_id) {
755
+ $wc_limit = $c_offset ? $c_offset * $this->wc_options_serialized->wc_comment_count : $this->wc_db_helper->get_comments_count($post_id);
756
  $wc_last_comment_id = isset($_POST['wc_last_comment_id']) ? $_POST['wc_last_comment_id'] : 0;
757
  $wc_curr_user_comment_count = isset($_POST['wc_curr_user_comment_count']) ? $_POST['wc_curr_user_comment_count'] : 0;
758
  $wc_new_comments = $this->wc_db_helper->wc_get_new_comments($post_id, $wc_last_comment_id);
815
  public function init_current_post_type() {
816
  global $post;
817
  if ($post && in_array($post->post_type, $this->wc_options_serialized->wc_post_types)) {
818
+ add_filter('comments_template', array(&$this, 'remove_comments_template_on_pages'), 10);
819
  }
820
  }
821