Comments – wpDiscuz - Version 3.0.5

Version Description

  • Added: Filter hook to allow display MyCred badges under comment author avatar
  • please read this topic: https://wordpress.org/support/topic/how-to-show-mycred-badges-under-comment-author-avatar

  • Added: Option to hide/show comment link icon

  • Added: More secure CAPTCHA, two level protection (image and key validation)

  • Added: Option to set "Most Voted" sorting type by default

  • Added: Polish (pl_PL) translation, thanks to Radosaw Rak

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

Download this release

Release Info

Developer gzakar
Plugin Icon 128x128 Comments – wpDiscuz
Version 3.0.5
Comparing to
See all releases

Code changes from version 3.0.4 to 3.0.5

Files changed (56) hide show
  1. assets/css/index.html +0 -0
  2. assets/css/options-css.min.css +2 -1
  3. assets/img/gc/index.html +0 -0
  4. assets/img/index.html +0 -0
  5. assets/img/plugin-icon/index.html +0 -0
  6. assets/img/social-icons/index.html +0 -0
  7. assets/js/index.html +0 -0
  8. assets/js/jquery.cookie.min.js +8 -8
  9. assets/js/validator.min.js +1 -1
  10. assets/js/wpdiscuz-options.js +14 -0
  11. assets/js/wpdiscuz-options.min.js +2 -2
  12. assets/js/wpdiscuz.js +71 -46
  13. assets/js/wpdiscuz.min.js +1 -1
  14. assets/third-party/colorpicker/css/index.html +0 -0
  15. assets/third-party/colorpicker/img/index.html +0 -0
  16. assets/third-party/colorpicker/js/index.html +0 -0
  17. assets/third-party/easy-responsive-tabs/css/index.html +0 -0
  18. assets/third-party/easy-responsive-tabs/index.html +0 -0
  19. assets/third-party/easy-responsive-tabs/js/index.html +0 -0
  20. assets/third-party/index.html +0 -0
  21. assets/third-party/jquery-ui/index.html +0 -0
  22. assets/third-party/tooltipster/css/index.html +0 -0
  23. assets/third-party/tooltipster/js/index.html +0 -0
  24. bxslider/images/index.html +0 -0
  25. bxslider/index.html +0 -0
  26. bxslider/plugins/index.html +0 -0
  27. class.WpdiscuzCore.php +64 -50
  28. includes/class.WpdiscuzCss.php +0 -24
  29. includes/dynamic.css.php +10 -0
  30. includes/index.html +0 -0
  31. index.html +0 -0
  32. languages/index.html +0 -0
  33. languages/wpdiscuz-en.mo +0 -0
  34. languages/wpdiscuz-en.po +0 -1209
  35. languages/wpdiscuz-pl_PL.mo +0 -0
  36. languages/wpdiscuz-pl_PL.po +1436 -0
  37. languages/wpdiscuz.pot +1277 -1207
  38. manager/index.html +0 -0
  39. options/class.WpdiscuzOptions.php +2 -1
  40. options/class.WpdiscuzOptionsSerialized.php +29 -9
  41. options/index.html +0 -0
  42. options/options-layouts/index.html +0 -0
  43. options/options-layouts/settings-show-hide.php +44 -13
  44. options/phrases-layouts/index.html +0 -0
  45. options/phrases-layouts/phrases-notification.php +0 -10
  46. readme.txt +17 -7
  47. templates/comment/class.WpdiscuzTemplateBuilder.php +16 -8
  48. templates/comment/comment-form.php +21 -16
  49. templates/comment/index.html +0 -0
  50. templates/index.html +0 -0
  51. utils/captcha/captcha.php +0 -41
  52. utils/captcha/index.html +0 -0
  53. utils/class.WpdiscuzEmailHelper.php +4 -5
  54. utils/class.WpdiscuzHelper.php +206 -72
  55. utils/index.html +0 -0
  56. utils/interface.WpDiscuzConstants.php +3 -5
assets/css/index.html ADDED
File without changes
assets/css/options-css.min.css CHANGED
@@ -2,4 +2,5 @@
2
  .wpdiscuz-share-buttons {display: inline-block; width: 18px; height: 18px;}
3
  .wc-form input.wc_share_button {display: none;}
4
  .wc-form input[type="text"].regular-text{ width:160px; }
5
- .wc-form .wpdiscuz-option-title {vertical-align: middle;}
 
2
  .wpdiscuz-share-buttons {display: inline-block; width: 18px; height: 18px;}
3
  .wc-form input.wc_share_button {display: none;}
4
  .wc-form input[type="text"].regular-text{ width:160px; }
5
+ .wc-form .wpdiscuz-option-title {vertical-align: middle;}
6
+ .wc-form .wc-hidden {display: none;}
assets/img/gc/index.html ADDED
File without changes
assets/img/index.html ADDED
File without changes
assets/img/plugin-icon/index.html ADDED
File without changes
assets/img/social-icons/index.html ADDED
File without changes
assets/js/index.html ADDED
File without changes
assets/js/jquery.cookie.min.js CHANGED
@@ -1,9 +1,9 @@
1
-
2
- /*!
3
- * jQuery Cookie Plugin v1.4.1
4
- * https://github.com/carhartl/jquery-cookie
5
- *
6
- * Copyright 2013 Klaus Hartl
7
- * Released under the MIT license
8
- */
9
  (function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof exports==="object"){a(require("jquery"))}else{a(jQuery)}}}(function(f){var a=/\+/g;function d(i){return b.raw?i:encodeURIComponent(i)}function g(i){return b.raw?i:decodeURIComponent(i)}function h(i){return d(b.json?JSON.stringify(i):String(i))}function c(i){if(i.indexOf('"')===0){i=i.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{i=decodeURIComponent(i.replace(a," "));return b.json?JSON.parse(i):i}catch(j){}}function e(j,i){var k=b.raw?j:c(j);return f.isFunction(i)?i(k):k}var b=f.cookie=function(q,p,v){if(p!==undefined&&!f.isFunction(p)){v=f.extend({},b.defaults,v);if(typeof v.expires==="number"){var r=v.expires,u=v.expires=new Date();u.setTime(+u+r*86400000)}return(document.cookie=[d(q),"=",h(p),v.expires?"; expires="+v.expires.toUTCString():"",v.path?"; path="+v.path:"",v.domain?"; domain="+v.domain:"",v.secure?"; secure":""].join(""))}var w=q?undefined:{};var s=document.cookie?document.cookie.split("; "):[];for(var o=0,m=s.length;o<m;o++){var n=s[o].split("=");var j=g(n.shift());var k=n.join("=");if(q&&q===j){w=e(k,p);break}if(!q&&(k=e(k))!==undefined){w[j]=k}}return w};b.defaults={};f.removeCookie=function(j,i){if(f.cookie(j)===undefined){return false}f.cookie(j,"",f.extend({},i,{expires:-1}));return !f.cookie(j)}}));
1
+
2
+ /*!
3
+ * jQuery Cookie Plugin v1.4.1
4
+ * https://github.com/carhartl/jquery-cookie
5
+ *
6
+ * Copyright 2013 Klaus Hartl
7
+ * Released under the MIT license
8
+ */
9
  (function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof exports==="object"){a(require("jquery"))}else{a(jQuery)}}}(function(f){var a=/\+/g;function d(i){return b.raw?i:encodeURIComponent(i)}function g(i){return b.raw?i:decodeURIComponent(i)}function h(i){return d(b.json?JSON.stringify(i):String(i))}function c(i){if(i.indexOf('"')===0){i=i.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{i=decodeURIComponent(i.replace(a," "));return b.json?JSON.parse(i):i}catch(j){}}function e(j,i){var k=b.raw?j:c(j);return f.isFunction(i)?i(k):k}var b=f.cookie=function(q,p,v){if(p!==undefined&&!f.isFunction(p)){v=f.extend({},b.defaults,v);if(typeof v.expires==="number"){var r=v.expires,u=v.expires=new Date();u.setTime(+u+r*86400000)}return(document.cookie=[d(q),"=",h(p),v.expires?"; expires="+v.expires.toUTCString():"",v.path?"; path="+v.path:"",v.domain?"; domain="+v.domain:"",v.secure?"; secure":""].join(""))}var w=q?undefined:{};var s=document.cookie?document.cookie.split("; "):[];for(var o=0,m=s.length;o<m;o++){var n=s[o].split("=");var j=g(n.shift());var k=n.join("=");if(q&&q===j){w=e(k,p);break}if(!q&&(k=e(k))!==undefined){w[j]=k}}return w};b.defaults={};f.removeCookie=function(j,i){if(f.cookie(j)===undefined){return false}f.cookie(j,"",f.extend({},i,{expires:-1}));return !f.cookie(j)}}));
assets/js/validator.min.js CHANGED
@@ -1,2 +1,2 @@
1
-
2
  var wpdiscuzValidator=(function(c){var l,e,o,q,h,s,b,g,j,r,m,t,u,f,v,a=/[\(\)\<\>\,\;\:\\\/\"\[\]]/,d=/^.+@.+\..{2,50}$/;l={invalid:"invalid input",empty:"please put something here",min:"input is too short",max:"input is too long",number_min:"too low",number_max:"too high",url:"invalid URL",number:"not a number",email:"email address is invalid",email_repeat:"emails do not match",password_repeat:"passwords do not match",repeat:"no match",complete:"input is not complete",select:"Please select an option"};if(!window.console){console={};console.log=console.warn=function(){return}}j={alerts:true};e={sameAsPlaceholder:function(w){return c.fn.placeholder&&w.attr("placeholder")!==undefined&&v.val==w.prop("placeholder")},hasValue:function(w){if(!w){f=l.empty;return false}return true},linked:function(x,w){if(w!=x){f=l[v.type+"_repeat"]||l.no_match;return false}return true},email:function(w){if(!d.test(w)||w.match(a)){f=w?l.email:l.empty;return false}return true},text:function(x){if(r){var C=x.split(" ");var B=function(D){for(var E=C.length;E--;){if(C[E].length<D){return false}}return true};if(C.length<r||!B(2)){f=l.complete;return false}return true}if(m&&x.length<m[0]){f=l.min;return false}if(m&&m[1]&&x.length>m[1]){f=l.max;return false}if(t&&t.length){var A=false;while(t.length){if(t.pop()==x.length){A=true}}if(!A){f=l.complete;return false}}if(u){var z,w;switch(u){case"alphanumeric":z=/^[a-z0-9]+$/i;break;case"numeric":z=/^[0-9]+$/i;break;case"phone":z=/^\+?([0-9]|[-|' '])+$/i;break;default:z=u}try{w=new RegExp(z).test(x);if(x&&!w){return false}}catch(y){console.log(y,b,"regex is invalid");return false}}return true},number:function(w){if(isNaN(parseFloat(w))&&!isFinite(w)){f=l.number;return false}else{if(m&&w.length<m[0]){f=l.min;return false}else{if(m&&m[1]&&w.length>m[1]){f=l.max;return false}else{if(g[0]&&(w|0)<g[0]){f=l.number_min;return false}else{if(g[1]&&(w|0)>g[1]){f=l.number_max;return false}}}}}return true},date:function(x){var y,w=x.split(/[-./]/g),z;if(b[0].valueAsNumber){return true}for(z=w.length;z--;){if(isNaN(parseFloat(x))&&!isFinite(x)){return false}}try{y=new Date(w[2],w[1]-1,w[0]);if(y.getMonth()+1==w[1]&&y.getDate()==w[0]){return y}return false}catch(B){console.log("date test: ",err);return false}},url:function(w){function x(y){return/^(?:(?:https?|ftp):\/\/)?(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i.test(y)}if(!x(w)){console.log(w);f=w?l.url:l.empty;return false}return true},hidden:function(w){if(m&&w.length<m[0]){f=l.min;return false}if(u){var x;if(u=="alphanumeric"){x=/^[a-z0-9]+$/i;if(!x.test(w)){return false}}}return true},select:function(w){if(!e.hasValue(w)){f=l.select;return false}return true}};h=function(y,z){if(!z||!y||!y.length){return false}var x=y.parents(".wpdiscuz-item"),w;if(x.hasClass("bad")){if(j.alerts){x.find(".alert").html(z)}}else{if(j.alerts){w=c('<div class="alert">').html(z);x.append(w)}}x.removeClass("bad");setTimeout(function(){x.addClass("bad")},0)};s=function(w){if(!w||!w.length){console.warn('no "field" argument, null or DOM object not found');return false}w.parents(".wpdiscuz-item").removeClass("bad").find(".alert").remove()};function k(w,x){if(w=="tel"){u=u||"phone"}if(!w||w=="password"||w=="tel"){w="text"}return e[w](x)}function p(w){b=c(w);b.data("valid",true);b.data("type",b.attr("type"));u=b.attr("pattern")}function i(w){p(this);if(w.charCode){return k(this.type,String.fromCharCode(w.charCode))}}function o(){if(this.type!="hidden"&&c(this).is(":hidden")){return true}p(this);b.data("val",b[0].value.replace(/^\s+|\s+$/g,""));v=b.data();f=l[b.prop("name")]||l.invalid;if(b[0].nodeName.toLowerCase()==="select"){v.type="select"}if(b[0].nodeName.toLowerCase()==="textarea"){v.type="text"}r=v.validateWords||0;m=v.validateLengthRange?(v.validateLengthRange+"").split(","):[1];t=v.validateLength?(v.validateLength+"").split(","):false;g=v.validateMinmax?(v.validateMinmax+"").split(","):"";v.valid=e.hasValue(v.val);if(v.valid){if(e.sameAsPlaceholder(b)){f=l.empty;v.valid=false}if(v.validateLinked){var w=v.validateLinked.indexOf("#")==0?c(v.validateLinked):c(":input[name="+v.validateLinked+"]");v.valid=e.linked(v.val,w.val())}else{if(v.valid||v.type=="select"){v.valid=k(v.type,v.val)}}}if(b.hasClass("wpdiscuz_optional")&&!v.val){v.valid=true}if(v.valid){s(b)}else{h(b,f);submit=false}return v.valid}function n(w){w=c(w);if(w.length==0){console.warn("element not found");return false}var y=this,z=true,x=w.find(":input").filter("[required=required], .required, .wpdiscuz_optional").not("[disabled=disabled]");x.each(function(){z=z*o.apply(this)});return !!z}return{defaults:j,checkField:o,keypress:i,checkAll:n,mark:h,unmark:s,message:l,tests:e}})(jQuery);
1
+
2
  var wpdiscuzValidator=(function(c){var l,e,o,q,h,s,b,g,j,r,m,t,u,f,v,a=/[\(\)\<\>\,\;\:\\\/\"\[\]]/,d=/^.+@.+\..{2,50}$/;l={invalid:"invalid input",empty:"please put something here",min:"input is too short",max:"input is too long",number_min:"too low",number_max:"too high",url:"invalid URL",number:"not a number",email:"email address is invalid",email_repeat:"emails do not match",password_repeat:"passwords do not match",repeat:"no match",complete:"input is not complete",select:"Please select an option"};if(!window.console){console={};console.log=console.warn=function(){return}}j={alerts:true};e={sameAsPlaceholder:function(w){return c.fn.placeholder&&w.attr("placeholder")!==undefined&&v.val==w.prop("placeholder")},hasValue:function(w){if(!w){f=l.empty;return false}return true},linked:function(x,w){if(w!=x){f=l[v.type+"_repeat"]||l.no_match;return false}return true},email:function(w){if(!d.test(w)||w.match(a)){f=w?l.email:l.empty;return false}return true},text:function(x){if(r){var C=x.split(" ");var B=function(D){for(var E=C.length;E--;){if(C[E].length<D){return false}}return true};if(C.length<r||!B(2)){f=l.complete;return false}return true}if(m&&x.length<m[0]){f=l.min;return false}if(m&&m[1]&&x.length>m[1]){f=l.max;return false}if(t&&t.length){var A=false;while(t.length){if(t.pop()==x.length){A=true}}if(!A){f=l.complete;return false}}if(u){var z,w;switch(u){case"alphanumeric":z=/^[a-z0-9]+$/i;break;case"numeric":z=/^[0-9]+$/i;break;case"phone":z=/^\+?([0-9]|[-|' '])+$/i;break;default:z=u}try{w=new RegExp(z).test(x);if(x&&!w){return false}}catch(y){console.log(y,b,"regex is invalid");return false}}return true},number:function(w){if(isNaN(parseFloat(w))&&!isFinite(w)){f=l.number;return false}else{if(m&&w.length<m[0]){f=l.min;return false}else{if(m&&m[1]&&w.length>m[1]){f=l.max;return false}else{if(g[0]&&(w|0)<g[0]){f=l.number_min;return false}else{if(g[1]&&(w|0)>g[1]){f=l.number_max;return false}}}}}return true},date:function(x){var y,w=x.split(/[-./]/g),z;if(b[0].valueAsNumber){return true}for(z=w.length;z--;){if(isNaN(parseFloat(x))&&!isFinite(x)){return false}}try{y=new Date(w[2],w[1]-1,w[0]);if(y.getMonth()+1==w[1]&&y.getDate()==w[0]){return y}return false}catch(B){console.log("date test: ",err);return false}},url:function(w){function x(y){return/^(?:(?:https?|ftp):\/\/)?(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i.test(y)}if(!x(w)){console.log(w);f=w?l.url:l.empty;return false}return true},hidden:function(w){if(m&&w.length<m[0]){f=l.min;return false}if(u){var x;if(u=="alphanumeric"){x=/^[a-z0-9]+$/i;if(!x.test(w)){return false}}}return true},select:function(w){if(!e.hasValue(w)){f=l.select;return false}return true}};h=function(y,z){if(!z||!y||!y.length){return false}var x=y.parents(".wpdiscuz-item"),w;if(x.hasClass("bad")){if(j.alerts){x.find(".alert").html(z)}}else{if(j.alerts){w=c('<div class="alert">').html(z);x.append(w)}}x.removeClass("bad");setTimeout(function(){x.addClass("bad")},0)};s=function(w){if(!w||!w.length){console.warn('no "field" argument, null or DOM object not found');return false}w.parents(".wpdiscuz-item").removeClass("bad").find(".alert").remove()};function k(w,x){if(w=="tel"){u=u||"phone"}if(!w||w=="password"||w=="tel"){w="text"}return e[w](x)}function p(w){b=c(w);b.data("valid",true);b.data("type",b.attr("type"));u=b.attr("pattern")}function i(w){p(this);if(w.charCode){return k(this.type,String.fromCharCode(w.charCode))}}function o(){if(this.type!="hidden"&&c(this).is(":hidden")){return true}p(this);b.data("val",b[0].value.replace(/^\s+|\s+$/g,""));v=b.data();f=l[b.prop("name")]||l.invalid;if(b[0].nodeName.toLowerCase()==="select"){v.type="select"}if(b[0].nodeName.toLowerCase()==="textarea"){v.type="text"}r=v.validateWords||0;m=v.validateLengthRange?(v.validateLengthRange+"").split(","):[1];t=v.validateLength?(v.validateLength+"").split(","):false;g=v.validateMinmax?(v.validateMinmax+"").split(","):"";v.valid=e.hasValue(v.val);if(v.valid){if(e.sameAsPlaceholder(b)){f=l.empty;v.valid=false}if(v.validateLinked){var w=v.validateLinked.indexOf("#")==0?c(v.validateLinked):c(":input[name="+v.validateLinked+"]");v.valid=e.linked(v.val,w.val())}else{if(v.valid||v.type=="select"){v.valid=k(v.type,v.val)}}}if(b.hasClass("wpdiscuz_optional")&&!v.val){v.valid=true}if(v.valid){s(b)}else{h(b,f);submit=false}return v.valid}function n(w){w=c(w);if(w.length==0){console.warn("element not found");return false}var y=this,z=true,x=w.find(":input").filter("[required=required], .required, .wpdiscuz_optional").not("[disabled=disabled]");x.each(function(){z=z*o.apply(this)});return !!z}return{defaults:j,checkField:o,keypress:i,checkAll:n,mark:h,unmark:s,message:l,tests:e}})(jQuery);
assets/js/wpdiscuz-options.js CHANGED
@@ -2,4 +2,18 @@ jQuery(document).ready(function ($) {
2
  if (location.href.indexOf('wpdiscuz_options_page') >= 0) {
3
  $('.wpdiscuz-color-picker').colorPicker();
4
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  });
2
  if (location.href.indexOf('wpdiscuz_options_page') >= 0) {
3
  $('.wpdiscuz-color-picker').colorPicker();
4
  }
5
+
6
+ if ($('#show_sorting_buttons').attr('checked')) {
7
+ $('#row_mostVotedByDefault').removeClass('wc-hidden');
8
+ } else {
9
+ $('#row_mostVotedByDefault').addClass('wc-hidden');
10
+ }
11
+
12
+ $('#show_sorting_buttons').change(function () {
13
+ if ($(this).is(':checked')) {
14
+ $('#row_mostVotedByDefault').removeClass('wc-hidden');
15
+ } else {
16
+ $('#row_mostVotedByDefault').addClass('wc-hidden');
17
+ }
18
+ });
19
  });
assets/js/wpdiscuz-options.min.js CHANGED
@@ -1,2 +1,2 @@
1
-
2
- jQuery(document).ready(function(a){if(location.href.indexOf("wpdiscuz_options_page")>=0){a(".wpdiscuz-color-picker").colorPicker()}});
1
+
2
+ jQuery(document).ready(function(a){if(location.href.indexOf("wpdiscuz_options_page")>=0){a(".wpdiscuz-color-picker").colorPicker()}if(a("#show_sorting_buttons").attr("checked")){a("#row_mostVotedByDefault").removeClass("wc-hidden")}else{a("#row_mostVotedByDefault").addClass("wc-hidden")}a("#show_sorting_buttons").change(function(){if(a(this).is(":checked")){a("#row_mostVotedByDefault").removeClass("wc-hidden")}else{a("#row_mostVotedByDefault").addClass("wc-hidden")}})});
assets/js/wpdiscuz.js CHANGED
@@ -8,9 +8,7 @@ jQuery(document).ready(function ($) {
8
 
9
  var isUserLoggedIn = wpdiscuz_ajax_obj.wpdiscuz_options.is_user_logged_in;
10
  var isShowCaptchaForGuests = wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide == 0 && !isUserLoggedIn;
11
- var isShowCaptchaForMembers = parseInt(wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide_for_members) > 0 && wpdiscuz_ajax_obj.wpdiscuz_options.is_user_logged_in;
12
- var mainFormTimeOut = wpdiscuz_ajax_obj.wpdiscuz_options.main_form_time_out;
13
- var secondaryFormTimeOut = wpdiscuz_ajax_obj.wpdiscuz_options.secondary_form_time_out;
14
  var commentListLoadType = wpdiscuz_ajax_obj.wpdiscuz_options.commentListLoadType;
15
  var wordpressIsPaginate = wpdiscuz_ajax_obj.wpdiscuz_options.wordpressIsPaginate;
16
  var wpdiscuzPostId = wpdiscuz_ajax_obj.wpdiscuz_options.wc_post_id;
@@ -19,23 +17,27 @@ jQuery(document).ready(function ($) {
19
  var liveUpdateGuests = wpdiscuz_ajax_obj.wpdiscuz_options.liveUpdateGuests;
20
  var loadLastCommentId = wpdiscuz_ajax_obj.wpdiscuz_options.loadLastCommentId;
21
  var wpdiscuzCommentOrder = wpdiscuz_ajax_obj.wpdiscuz_options.wordpress_comment_order;
22
- var wpdiscuzLoadCount;
23
- var wpdiscuzCommentOrderBy = 'date';
 
24
  var wpdiscuzReplyArray = [];
25
  var wpdiscuzCommentArray = [];
26
 
27
  addTooltipster();
28
  loginButtonsClone();
29
-
30
- $('.wpdiscuz-date-sort-' + wpdiscuzCommentOrder).addClass('wpdiscuz-sort-button-active');
31
-
 
 
 
 
32
  $('#wc_unsubscribe_message').delay(7000).fadeOut(1500, function () {
33
  $(this).remove();
34
  location.href = location.href.substring(0, location.href.indexOf('subscribeAnchor') - 1);
35
  });
36
 
37
  if ($('.wc_main_comm_form').length) {
38
- var mainWrapperUniqueId = getUniqueID($('.wc_main_comm_form'), 1);
39
  setCookieInForm();
40
  }
41
  $(document).delegate('.wc-reply-link', 'click', function () {
@@ -93,12 +95,29 @@ jQuery(document).ready(function ($) {
93
 
94
  function changeCaptchaImage(reloadImage) {
95
  if (isShowCaptchaForGuests || isShowCaptchaForMembers) {
96
- var captchaImg = $(reloadImage).prev().children('.wc_captcha_img');
97
- var src = captchaImg.attr('src');
98
- var new_src = src.substring(0, src.lastIndexOf('=')) + '=' + Math.random();
99
- captchaImg.attr('src', new_src);
100
- var isMain = reloadImage.parents('.wc-form-wrapper').hasClass('wc-secondary-form-wrapper') ? 0 : 1;
101
  var uniqueId = getUniqueID(reloadImage, isMain);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  }
103
  }
104
 
@@ -106,7 +125,6 @@ jQuery(document).ready(function ($) {
106
  //============================== ADD COMMENT FUNCTION ============================== //
107
 
108
  $(document).delegate('.wc_comm_submit', 'click', function () {
109
- var submit = true;
110
  var depth = 1;
111
  var wcForm = $(this).parents('form');
112
  if (!wcForm.hasClass('wc_main_comm_form')) {
@@ -121,16 +139,21 @@ jQuery(document).ready(function ($) {
121
  $('.wc_email', wcForm).next('.alert').html('');
122
  }
123
 
124
- if (!wpdiscuzValidator.checkAll(wcForm)) {
125
- submit = false;
126
- } else {
127
- var messageKey = '';
128
- var message = '';
129
  var data = wcForm.serialize() + '&wc_comment_depth=' + depth + '&comment_post_ID=' + wpdiscuzPostId;
130
- if(wpdiscuz_ajax_obj.wpdiscuz_options.wpdiscuz_zs){
131
- data += '&wpdiscuz_zs=' + wpdiscuz_ajax_obj.wpdiscuz_options.wpdiscuz_zs;
 
 
 
 
 
 
 
132
  }
133
  getAjaxObject('addComment', data).done(function (response) {
 
 
134
  try {
135
  var obj = $.parseJSON(response);
136
  messageKey = obj.code;
@@ -145,7 +168,6 @@ jQuery(document).ready(function ($) {
145
  if (obj.is_in_same_container == 1) {
146
  $('#wc-secondary-form-wrapper-' + messageKey).after(message);
147
  } else {
148
- // $('#wc-comm-' + messageKey).after(message.replace('wc-reply', 'wc-reply wc-no-left-margin'));
149
  $('#wc-secondary-form-wrapper-' + messageKey).after(message.replace('wc-reply', 'wc-reply wc-no-left-margin'));
150
  }
151
  }
@@ -167,11 +189,11 @@ jQuery(document).ready(function ($) {
167
  }
168
  wpdiscuzSetCommentMsg(wcForm, 'wc_invalid_field', message, true);
169
  }
170
- changeCaptchaImage($('.wc_captcha_refresh_img', wcForm));
171
  addTooltipster();
172
  $('.wpdiscuz-loading-bar').hide();
173
  });
174
  }
 
175
  });
176
 
177
  function notifySubscribers(obj) {
@@ -330,7 +352,7 @@ jQuery(document).ready(function ($) {
330
 
331
  function wpdiscuzLoadComments() {
332
  var data;
333
- if (wpdiscuzCommentOrderBy == 'vote') {
334
  data = 'offset=' + wpdiscuzLoadCount + '&orderBy=' + wpdiscuzCommentOrderBy + '&order=' + wpdiscuzCommentOrder;
335
  wpdiscuzLoadCount++;
336
  } else {
@@ -402,10 +424,10 @@ jQuery(document).ready(function ($) {
402
  if (!($(this).hasClass('wpdiscuz-sort-button-active'))) {
403
  var clickedBtn = $(this);
404
  if ($(this).hasClass('wpdiscuz-vote-sort-up')) {
405
- wpdiscuzCommentOrderBy = 'vote';
406
  wpdiscuzCommentOrder = 'desc';
407
  } else {
408
- wpdiscuzCommentOrderBy = 'date';
409
  wpdiscuzCommentOrder = $(this).hasClass('wpdiscuz-date-sort-desc') ? 'desc' : 'asc';
410
  }
411
  var data = 'postId=' + wpdiscuzPostId + '&orderBy=' + wpdiscuzCommentOrderBy + '&order=' + wpdiscuzCommentOrder;
@@ -580,9 +602,11 @@ jQuery(document).ready(function ($) {
580
  function cloneSecondaryForm(field) {
581
  var uniqueId = getUniqueID(field, 0);
582
  $('#wpdiscuz_form_anchor-' + uniqueId).before(replaceUniqueId(uniqueId));
583
- $('#wc-secondary-form-wrapper-' + uniqueId).slideToggle(700, function () {
 
584
  field.addClass('wpdiscuz-clonned');
585
  });
 
586
  }
587
 
588
  function replaceUniqueId(uniqueId) {
@@ -645,24 +669,6 @@ jQuery(document).ready(function ($) {
645
  }
646
  return depth;
647
  }
648
- /**
649
- * @param {type} action the action key
650
- * @param {type} data the request properties
651
- * @returns {jqXHR}
652
- */
653
- function getAjaxObject(action, data) {
654
- if (action !== 'liveUpdate') {
655
- $('.wpdiscuz-loading-bar').show();
656
- }
657
- return $.ajax({
658
- type: 'POST',
659
- url: wpdiscuz_ajax_obj.url,
660
- data: {
661
- wpdiscuzAjaxData: data,
662
- action: action
663
- }
664
- });
665
- }
666
 
667
  function addCommentToTree(parentId, comment) {
668
  if (parentId == 0) {
@@ -706,5 +712,24 @@ jQuery(document).ready(function ($) {
706
  $('.wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers').clone().prependTo('#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content');
707
  }
708
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
709
  //============================== FUNCTIONS ============================== //
710
  });
8
 
9
  var isUserLoggedIn = wpdiscuz_ajax_obj.wpdiscuz_options.is_user_logged_in;
10
  var isShowCaptchaForGuests = wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide == 0 && !isUserLoggedIn;
11
+ var isShowCaptchaForMembers = wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide_for_members > 0 && isUserLoggedIn;
 
 
12
  var commentListLoadType = wpdiscuz_ajax_obj.wpdiscuz_options.commentListLoadType;
13
  var wordpressIsPaginate = wpdiscuz_ajax_obj.wpdiscuz_options.wordpressIsPaginate;
14
  var wpdiscuzPostId = wpdiscuz_ajax_obj.wpdiscuz_options.wc_post_id;
17
  var liveUpdateGuests = wpdiscuz_ajax_obj.wpdiscuz_options.liveUpdateGuests;
18
  var loadLastCommentId = wpdiscuz_ajax_obj.wpdiscuz_options.loadLastCommentId;
19
  var wpdiscuzCommentOrder = wpdiscuz_ajax_obj.wpdiscuz_options.wordpress_comment_order;
20
+ var commentsVoteOrder = wpdiscuz_ajax_obj.wpdiscuz_options.commentsVoteOrder;
21
+ var wpdiscuzLoadCount = 0;
22
+ var wpdiscuzCommentOrderBy = 'comment_date_gmt';
23
  var wpdiscuzReplyArray = [];
24
  var wpdiscuzCommentArray = [];
25
 
26
  addTooltipster();
27
  loginButtonsClone();
28
+ if (commentsVoteOrder) {
29
+ $('.wpdiscuz-vote-sort-up').addClass('wpdiscuz-sort-button-active');
30
+ wpdiscuzCommentOrderBy = 'meta_value_num';
31
+ wpdiscuzLoadCount = 1;
32
+ } else {
33
+ $('.wpdiscuz-date-sort-' + wpdiscuzCommentOrder).addClass('wpdiscuz-sort-button-active');
34
+ }
35
  $('#wc_unsubscribe_message').delay(7000).fadeOut(1500, function () {
36
  $(this).remove();
37
  location.href = location.href.substring(0, location.href.indexOf('subscribeAnchor') - 1);
38
  });
39
 
40
  if ($('.wc_main_comm_form').length) {
 
41
  setCookieInForm();
42
  }
43
  $(document).delegate('.wc-reply-link', 'click', function () {
95
 
96
  function changeCaptchaImage(reloadImage) {
97
  if (isShowCaptchaForGuests || isShowCaptchaForMembers) {
98
+ var form = reloadImage.parents('.wc-form-wrapper');
99
+ var isMain = form.hasClass('wc-secondary-form-wrapper') ? 0 : 1;
 
 
 
100
  var uniqueId = getUniqueID(reloadImage, isMain);
101
+ var data = 'uniqueId=' + uniqueId;
102
+ var ajaxObject = getAjaxObject('generateCaptcha', data);
103
+ ajaxObject.done(function (response) {
104
+ try {
105
+ var obj = $.parseJSON(response);
106
+ if (obj.code == 1) {
107
+ var captchaImg = $(reloadImage).prev().children('.wc_captcha_img');
108
+ var src = captchaImg.attr('src');
109
+ var lastSlashIndex = src.lastIndexOf('/') + 1;
110
+ var newSrc = src.substring(0, lastSlashIndex) + obj.message;
111
+ captchaImg.attr('src', newSrc);
112
+ var keyField = $('.wpdiscuz-cnonce', form);
113
+ keyField.attr('id', obj.key);
114
+ keyField.attr('value', obj.key);
115
+ }
116
+ } catch (e) {
117
+ console.log(e);
118
+ }
119
+ // $('.wpdiscuz-loading-bar').hide();
120
+ });
121
  }
122
  }
123
 
125
  //============================== ADD COMMENT FUNCTION ============================== //
126
 
127
  $(document).delegate('.wc_comm_submit', 'click', function () {
 
128
  var depth = 1;
129
  var wcForm = $(this).parents('form');
130
  if (!wcForm.hasClass('wc_main_comm_form')) {
139
  $('.wc_email', wcForm).next('.alert').html('');
140
  }
141
 
142
+ if (wpdiscuzValidator.checkAll(wcForm)) {
 
 
 
 
143
  var data = wcForm.serialize() + '&wc_comment_depth=' + depth + '&comment_post_ID=' + wpdiscuzPostId;
144
+ if (isShowCaptchaForGuests || isShowCaptchaForMembers) {
145
+ var image = $('.wc_captcha_img', wcForm);
146
+ var src = image.attr('src');
147
+ var lastIndex = src.lastIndexOf('/') + 1;
148
+ var fileName = src.substring(lastIndex);
149
+ data += '&fileName=' + fileName;
150
+ }
151
+ if (wpdiscuz_ajax_obj.wpdiscuz_options.wpdiscuz_zs) {
152
+ data += '&wpdiscuz_zs=' + wpdiscuz_ajax_obj.wpdiscuz_options.wpdiscuz_zs;
153
  }
154
  getAjaxObject('addComment', data).done(function (response) {
155
+ var messageKey = '';
156
+ var message = '';
157
  try {
158
  var obj = $.parseJSON(response);
159
  messageKey = obj.code;
168
  if (obj.is_in_same_container == 1) {
169
  $('#wc-secondary-form-wrapper-' + messageKey).after(message);
170
  } else {
 
171
  $('#wc-secondary-form-wrapper-' + messageKey).after(message.replace('wc-reply', 'wc-reply wc-no-left-margin'));
172
  }
173
  }
189
  }
190
  wpdiscuzSetCommentMsg(wcForm, 'wc_invalid_field', message, true);
191
  }
 
192
  addTooltipster();
193
  $('.wpdiscuz-loading-bar').hide();
194
  });
195
  }
196
+ changeCaptchaImage($('.wc_captcha_refresh_img', wcForm));
197
  });
198
 
199
  function notifySubscribers(obj) {
352
 
353
  function wpdiscuzLoadComments() {
354
  var data;
355
+ if (wpdiscuzCommentOrderBy == 'meta_value_num') {
356
  data = 'offset=' + wpdiscuzLoadCount + '&orderBy=' + wpdiscuzCommentOrderBy + '&order=' + wpdiscuzCommentOrder;
357
  wpdiscuzLoadCount++;
358
  } else {
424
  if (!($(this).hasClass('wpdiscuz-sort-button-active'))) {
425
  var clickedBtn = $(this);
426
  if ($(this).hasClass('wpdiscuz-vote-sort-up')) {
427
+ wpdiscuzCommentOrderBy = 'meta_value_num';
428
  wpdiscuzCommentOrder = 'desc';
429
  } else {
430
+ wpdiscuzCommentOrderBy = 'comment_date_gmt';
431
  wpdiscuzCommentOrder = $(this).hasClass('wpdiscuz-date-sort-desc') ? 'desc' : 'asc';
432
  }
433
  var data = 'postId=' + wpdiscuzPostId + '&orderBy=' + wpdiscuzCommentOrderBy + '&order=' + wpdiscuzCommentOrder;
602
  function cloneSecondaryForm(field) {
603
  var uniqueId = getUniqueID(field, 0);
604
  $('#wpdiscuz_form_anchor-' + uniqueId).before(replaceUniqueId(uniqueId));
605
+ var secondaryFormWrapper = $('#wc-secondary-form-wrapper-' + uniqueId);
606
+ secondaryFormWrapper.slideToggle(700, function () {
607
  field.addClass('wpdiscuz-clonned');
608
  });
609
+ changeCaptchaImage($('.wc_captcha_refresh_img', secondaryFormWrapper));
610
  }
611
 
612
  function replaceUniqueId(uniqueId) {
669
  }
670
  return depth;
671
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
672
 
673
  function addCommentToTree(parentId, comment) {
674
  if (parentId == 0) {
712
  $('.wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers').clone().prependTo('#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content');
713
  }
714
  }
715
+
716
+ /**
717
+ * @param {type} action the action key
718
+ * @param {type} data the request properties
719
+ * @returns {jqXHR}
720
+ */
721
+ function getAjaxObject(action, data) {
722
+ if (action !== 'liveUpdate' && action !== 'generateCaptcha') {
723
+ $('.wpdiscuz-loading-bar').show();
724
+ }
725
+ return $.ajax({
726
+ type: 'POST',
727
+ url: wpdiscuz_ajax_obj.url,
728
+ data: {
729
+ wpdiscuzAjaxData: data,
730
+ action: action
731
+ }
732
+ });
733
+ }
734
  //============================== FUNCTIONS ============================== //
735
  });
assets/js/wpdiscuz.min.js CHANGED
@@ -1,2 +1,2 @@
1
 
2
- jQuery(document).ready(function(D){wpdiscuzValidator.message.invalid=wpdiscuz_ajax_obj.wpdiscuz_options.wc_invalid_field;wpdiscuzValidator.message.empty=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_empty_text;wpdiscuzValidator.message.email=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_email_text;wpdiscuzValidator.message.url=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_url_text;wpdiscuzValidator.message.min=wpdiscuz_ajax_obj.wpdiscuz_options.wc_msg_comment_text_min_length;wpdiscuzValidator.message.max=wpdiscuz_ajax_obj.wpdiscuz_options.wc_msg_comment_text_max_length;var R=wpdiscuz_ajax_obj.wpdiscuz_options.is_user_logged_in;var q=wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide==0&&!R;var Q=parseInt(wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide_for_members)>0&&wpdiscuz_ajax_obj.wpdiscuz_options.is_user_logged_in;var w=wpdiscuz_ajax_obj.wpdiscuz_options.main_form_time_out;var k=wpdiscuz_ajax_obj.wpdiscuz_options.secondary_form_time_out;var B=wpdiscuz_ajax_obj.wpdiscuz_options.commentListLoadType;var V=wpdiscuz_ajax_obj.wpdiscuz_options.wordpressIsPaginate;var n=wpdiscuz_ajax_obj.wpdiscuz_options.wc_post_id;var i=wpdiscuz_ajax_obj.wpdiscuz_options.commentListUpdateType;var h=wpdiscuz_ajax_obj.wpdiscuz_options.commentListUpdateTimer;var I=wpdiscuz_ajax_obj.wpdiscuz_options.liveUpdateGuests;var S=wpdiscuz_ajax_obj.wpdiscuz_options.loadLastCommentId;var a=wpdiscuz_ajax_obj.wpdiscuz_options.wordpress_comment_order;var b;var l="date";var M=[];var u=[];E();f();D(".wpdiscuz-date-sort-"+a).addClass("wpdiscuz-sort-button-active");D("#wc_unsubscribe_message").delay(7000).fadeOut(1500,function(){D(this).remove();location.href=location.href.substring(0,location.href.indexOf("subscribeAnchor")-1)});if(D(".wc_main_comm_form").length){var G=m(D(".wc_main_comm_form"),1);e()}D(document).delegate(".wc-reply-link","click",function(){if(D(this).hasClass("wpdiscuz-clonned")){D("#wc-secondary-form-wrapper-"+m(D(this),0)).slideToggle(700)}else{g(D(this))}e()});D(document).delegate("textarea.wc_comment","focus",function(){D(this).autoGrow();var Y=D(this).parents(".wc-form-wrapper");D(".wc-form-footer",Y).slideDown(700)});D(document).delegate(".wc-share-link","click",function(){var Y=D(this).parents(".wc-comment-right");D(".share_buttons_box",Y).slideToggle(1000)});D(document).delegate(".wpdiscuz-nofollow,.wc_captcha_refresh_img,.wc-toggle,.wc-load-more-link","click",function(Y){Y.preventDefault()});D(document).delegate(".wc-toggle","click",function(){var Z=m(D(this),0);var Y=D(this);D("#wc-comm-"+Z+"> .wc-reply").slideToggle(700,function(){if(D(this).is(":hidden")){Y.html(wpdiscuz_ajax_obj.wpdiscuz_options.wc_show_replies_text+" &or;")}else{Y.html(wpdiscuz_ajax_obj.wpdiscuz_options.wc_hide_replies_text+" &and;")}})});D(document).delegate(".wc-new-loaded-comment","mouseenter",function(){if(D(this).hasClass("wc-reply")){D(">.wc-comment-right",D(this)).animate({backgroundColor:wpdiscuz_ajax_obj.wpdiscuz_options.wc_reply_bg_color},1500)}else{D(">.wc-comment-right",D(this)).animate({backgroundColor:wpdiscuz_ajax_obj.wpdiscuz_options.wc_comment_bg_color},1500)}});D(document).delegate(".wc_captcha_refresh_img","click",function(){P(D(this))});function P(ac){if(q||Q){var aa=D(ac).prev().children(".wc_captcha_img");var ab=aa.attr("src");var Y=ab.substring(0,ab.lastIndexOf("="))+"="+Math.random();aa.attr("src",Y);var Z=ac.parents(".wc-form-wrapper").hasClass("wc-secondary-form-wrapper")?0:1;var ad=m(ac,Z)}}D(document).delegate(".wc_comm_submit","click",function(){var ac=true;var ad=1;var ab=D(this).parents("form");if(!ab.hasClass("wc_main_comm_form")){ad=C(D(this).parents(".wc-comment"))}if(!wpdiscuz_ajax_obj.wpdiscuz_options.is_email_field_required&&D(".wc_email",ab).val()){D(".wc_email",ab).attr("required","required")}if(!wpdiscuz_ajax_obj.wpdiscuz_options.is_email_field_required&&!(D(".wc_email",ab).val())){D(".wc_email",ab).removeAttr("required");D(".wc_email",ab).next(".alert").html("")}if(!wpdiscuzValidator.checkAll(ab)){ac=false}else{var Y="";var Z="";var aa=ab.serialize()+"&wc_comment_depth="+ad+"&comment_post_ID="+n;if(wpdiscuz_ajax_obj.wpdiscuz_options.wpdiscuz_zs){aa+="&wpdiscuz_zs="+wpdiscuz_ajax_obj.wpdiscuz_options.wpdiscuz_zs}d("addComment",aa).done(function(af){try{var ah=D.parseJSON(af);Y=ah.code;if(parseInt(Y)>=0){var ae=ah.is_main;Z=ah.message;D(".wc_header_text_count").html(ah.wc_all_comments_count_new);if(ae){D(".wc-thread-wrapper").prepend(Z)}else{D("#wc-secondary-form-wrapper-"+Y).slideToggle(700);if(ah.is_in_same_container==1){D("#wc-secondary-form-wrapper-"+Y).after(Z)}else{D("#wc-secondary-form-wrapper-"+Y).after(Z.replace("wc-reply","wc-reply wc-no-left-margin"))}}o(ah);U(ah);t(ab,ah);ab.get(0).reset();e()}else{Z=wpdiscuz_ajax_obj.wpdiscuz_options[Y];s(ab,Y,Z,true)}}catch(ag){if(af.indexOf("<")>=0&&af.indexOf(">")>=0){Z=ag}else{Z=af}s(ab,"wc_invalid_field",Z,true)}P(D(".wc_captcha_refresh_img",ab));E();D(".wpdiscuz-loading-bar").hide()})}});function o(aa){if(!aa.held_moderate){var Z="post_id="+n+"&comment_id="+aa.new_comment_id+"&email="+aa.user_email+"&isParent="+aa.is_main;var Y=d("checkNotificationType",Z);Y.done(function(ab){try{aa=D.parseJSON(ab)}catch(ac){console.log(ac)}})}}function U(aa){if(aa.redirect>0&&aa.new_comment_id){var Z="commentId="+aa.new_comment_id;var Y=d("redirect",Z);Y.done(function(ab){aa=D.parseJSON(ab);if(aa.code==1){setTimeout(function(){window.location.href=aa.redirect_to},5000)}})}}function e(){if(D.cookie("wc_author_name")){D(".wc_comm_form .wc_name").val(D.cookie("wc_author_name"))}if(D.cookie("wc_author_email")){D(".wc_comm_form .wc_email").val(D.cookie("wc_author_email"))}if(D.cookie("wc_author_website")){D(".wc_comm_form .wc_website").val(D.cookie("wc_author_website"))}}function t(Y,Z){if(D(".wc_email",Y).val()){D.cookie("wc_author_email",D(".wc_email",Y).val())}else{D.cookie("wc_author_email",Z.user_email)}if(D(".wc_name",Y).val()){D.cookie("wc_author_name",D(".wc_name",Y).val())}else{D.cookie("wc_author_name",Z.user_name)}D.cookie("wc_author_website",D(".wc_website",Y).val())}var T;D(document).delegate(".wc_editable_comment","click",function(){var ab=m(D(this),0);var Y=W(ab);var aa=D(this);var Z="commentId="+Y;d("editComment",Z).done(function(ad){try{var ah=D.parseJSON(ad);var af="";var ae=ah.code;if(parseInt(ae)>=0){T=ah.message;var ac='<textarea required="required" name="wc_comment" class="wc_comment wc_field_input wc_edit_comment" id="wc_edit_comment-'+ab+'" style="min-height: 2em;">'+ah.message+"</textarea>";D("#wc-comm-"+ab+" > .wc-comment-right .wc-comment-text").replaceWith(ac);document.getElementById("wc_edit_comment-"+ab).focus();D("#wc-comm-"+ab+" > .wc-comment-right .wc-comment-footer .wc_save_edited_comment").show();ac="";D("#wc-comm-"+ab+" > .wc-comment-right .wc-comment-footer .wc_editable_comment").hide();D("#wc-comm-"+ab+" > .wc-comment-right .wc-comment-footer .wc_cancel_edit").show()}else{af=wpdiscuz_ajax_obj.wpdiscuz_options[ae];s(aa,ae,af,false)}}catch(ag){console.log(ag)}D(".wpdiscuz-loading-bar").hide()})});D(document).delegate(".wc_save_edited_comment","click",function(){var ad=m(D(this));var Z=W(ad);var Y=D("#wc-comm-"+ad+" textarea#wc_edit_comment-"+ad);var aa=Y.val();var ac=D(this);if(D.trim(aa).length>0){var ab="commentId="+Z+"&commentContent="+aa;d("saveEditedComment",ab).done(function(ae){try{var ai=D.parseJSON(ae);var af=ai.code;var ag="";if(parseInt(af)>=0){J(ad,ai.message)}else{ag=wpdiscuz_ajax_obj.wpdiscuz_options[af];s(ac,af,ag,false)}Y="";aa=""}catch(ah){console.log(ah)}D(".wpdiscuz-loading-bar").hide()})}});D(document).delegate(".wc_cancel_edit","click",function(){var Y=m(D(this));J(Y,T)});function J(aa,Z){D("#wc-comm-"+aa+" > .wc-comment-right .wc-comment-footer .wc_editable_comment").show();D("#wc-comm-"+aa+" > .wc-comment-right .wc-comment-footer .wc_cancel_edit").hide();D("#wc-comm-"+aa+" > .wc-comment-right .wc-comment-footer .wc_save_edited_comment").hide();var Y='<div class="wc-comment-text">'+j(Z)+"</div>";D("#wc-comm-"+aa+" #wc_edit_comment-"+aa).replaceWith(Y)}function j(ab,aa){var Z=(aa||typeof aa==="undefined")?"<br/>":"<br>";var Y=(ab+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1"+Z+"$2");return Y.replace("<br><br>","<br/>")}D(document).delegate(".wc-load-more-submit","click",function(){H()});var p=D("#wpdiscuzHasMoreComments").val();var F=false;if(B==2&&!V){D(".wc-load-more-submit").parents(".wpdiscuz-comment-pagination").hide();D(window).scroll(function(){var Y=document.getElementById("wcThreadWrapper").scrollHeight;if(D(window).scrollTop()>=Y&&F===false&&p){F=true;H()}})}function H(){var Y;if(l=="vote"){Y="offset="+b+"&orderBy="+l+"&order="+a;b++}else{Y="orderBy="+l+"&order="+a+"&lastParentId="+v()}Y+="&postId="+n+"&loadAllCommnts="+B;d("loadMoreComments",Y).done(function(Z){try{var ab=D.parseJSON(Z);D(".wpdiscuz-comment-pagination").before(ab.comment_list);r(ab);D(".wpdiscuz_single").remove();F=false;p=ab.is_show_load_more}catch(aa){console.log(aa)}E();D(".wpdiscuz-loading-bar").hide();D(".wc-load-more-submit").blur()})}function r(Y){if(Y.is_show_load_more!=false){O(Y.last_parent_id)}else{D(".wc-load-more-submit").parents(".wpdiscuz-comment-pagination").hide()}}D(document).delegate(".wc_vote","click",function(){var Y=D(this);var ab="";var ac="";var Z=D(this).parents(".wc-comment-right").attr("id");Z=Z.substring(Z.lastIndexOf("-")+1);var aa;if(D(this).hasClass("wc-up")){aa=1}else{aa=-1}var ad="commentId="+Z+"&voteType="+aa;d("voteOnComment",ad).done(function(ae){try{var ag=D.parseJSON(ae);ab=ag.code;if(parseInt(ab)>=0){var ah=D(".wc-comment-footer .wc-vote-result",D("#comment-"+Z));D(ah).text(parseInt(D(ah).text())+aa)}else{ac=wpdiscuz_ajax_obj.wpdiscuz_options[ab];s(Y,ab,ac,false)}}catch(af){console.log(af)}D(".wpdiscuz-loading-bar").hide()})});D(document).delegate(".wpdiscuz-sort-button","click",function(){p=1;if(!(D(this).hasClass("wpdiscuz-sort-button-active"))){var ab=D(this);if(D(this).hasClass("wpdiscuz-vote-sort-up")){l="vote";a="desc"}else{l="date";a=D(this).hasClass("wpdiscuz-date-sort-desc")?"desc":"asc"}var aa="postId="+n+"&orderBy="+l+"&order="+a;var Y="";var Z="";d("wpdiscuzSorting",aa).done(function(ac){try{var ae=D.parseJSON(ac);Y=ae.code;Z=ae.message;if(parseInt(Y)>0){D("#wpcomm .wc-thread-wrapper .wc-comment").each(function(){D(this).remove()});D("#wpcomm .wc-thread-wrapper").prepend(Z);b=parseInt(ae.loadCount)}else{}L(ab);r(ae)}catch(ad){console.log(ad)}E();D(".wpdiscuz-loading-bar").hide()})}});function L(Y){D(".wpdiscuz-sort-buttons .wpdiscuz-sort-button").each(function(){D(this).removeClass("wpdiscuz-sort-button-active")});Y.addClass("wpdiscuz-sort-button-active")}function X(){var ac=location.href;var ab=ac.match(/#comment\-(\d+)/);if(ab!==null){var Z=ab[1];if(!D("#comment-"+Z).length){var aa="commentId="+Z;var Y=d("getSingleComment",aa);Y.done(function(ad){try{var af=D.parseJSON(ad);D(".wc-thread-wrapper").prepend(af.message);D("html, body").animate({scrollTop:D(".wc-thread-wrapper").offset().top},1000)}catch(ae){console.log(ae)}E();D(".wpdiscuz-loading-bar").hide()})}}}X();if(i>0&&S&&(R||(!R&&!I))){setInterval(N,parseInt(h)*1000)}function N(){var ab=A();var Z=(D.cookie("wc_author_email")!=undefined&&D.cookie("wc_author_email")!="")?D.cookie("wc_author_email"):"";var aa="postId="+n+"&loadLastCommentId="+S+"&visibleCommentIds="+ab+"&email="+Z;var Y=d("liveUpdate",aa);Y.done(function(ad){try{var ai=D.parseJSON(ad);if(ai.code==1){if(i==1){y(ai)}else{u=u.concat(ai.message.comments);M=M.concat(ai.message.author_replies);var ae=u.length;var ac=M.length;if(ae>0){var ag=ae+" ";ag+=ae>1?wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_comments_button_text:wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_comment_button_text;D(".wc_new_comment").html(ag).show()}else{D(".wc_new_comment").hide()}if(ac>0){var af=ac+" ";af+=ac>1?wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_replies_button_text:wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_reply_button_text;D(".wc_new_reply").html(af).show()}else{D(".wc_new_reply").hide()}}D(".wc_header_text_count").html(ai.wc_all_comments_count_new);S=ai.loadLastCommentId}}catch(ah){console.log(ah)}E();D(".wpdiscuz-loading-bar").hide()})}function y(ab){if(ab.message!==undefined){var Y;var aa=ab.message;for(var Z=0;Z<aa.length;Z++){Y=aa[Z];x(Y.comment_parent,Y.comment_html)}}}D(document).delegate(".wc-update-on-click","click",function(){var Y;var Z=D(this);if(Z.hasClass("wc_new_comment")){Y=u.join()}else{Y=M.join()}d("updateOnClick",Y).done(function(aa){try{var ac=D.parseJSON(aa);y(ac);if(Z.hasClass("wc_new_comment")){u=[];D(".wc_new_comment").hide()}else{M=[];D(".wc_new_reply").hide()}}catch(ab){console.log(ab)}E();D(".wpdiscuz-loading-bar").hide()})});function s(ac,Z,ab,aa){var Y;var ad;if(aa){ad=ac.parents(".wc-form-wrapper")}else{ad=ac.closest(".wc-comment")}Y=ad.children(".wpdiscuz-comment-message");Y.addClass(Z);Y.html(ab);Y.show().delay(5000).fadeOut(1000,function(){Y.removeClass();Y.addClass("wpdiscuz-comment-message");Y.html("")})}function g(Y){var Z=m(Y,0);D("#wpdiscuz_form_anchor-"+Z).before(K(Z));D("#wc-secondary-form-wrapper-"+Z).slideToggle(700,function(){Y.addClass("wpdiscuz-clonned")})}function K(Z){var Y=D("#wpdiscuz_hidden_secondary_form").html();return Y.replace(/wpdiscuzuniqueid/g,Z)}function m(aa,Z){var Y="";if(Z){Y=aa.parents(".wc-main-form-wrapper").attr("id")}else{Y=aa.parents(".wc-comment").attr("id")}var ab=Y.substring(Y.lastIndexOf("-")+1);return ab}function W(Y){return Y.substring(0,Y.indexOf("_"))}function z(Z){var Y=Z.substring(Z.indexOf("_")+1);return Y}function v(){var Y=D(".wc-load-more-link").attr("href");return Y.substring(Y.lastIndexOf("=")+1)}function O(Y){var Z=D(".wc-load-more-link").attr("href");D(".wc-load-more-link").attr("href",Z.replace(/[\d]+$/m,Y));if(B!=2){D(".wpdiscuz-comment-pagination").show()}}function C(aa){var Z=aa.attr("class");var Y=Z.split(" ");var ab="";D.each(Y,function(ac,ad){if("wc_comment_level"===c(ad,false)){ab=c(ad,true)}});return parseInt(ab)+1}function c(Y,Z){var aa="";if(Z){aa=Y.substring(Y.indexOf("-")+1)}else{aa=Y.substring(0,Y.indexOf("-"))}return aa}function d(Z,Y){if(Z!=="liveUpdate"){D(".wpdiscuz-loading-bar").show()}return D.ajax({type:"POST",url:wpdiscuz_ajax_obj.url,data:{wpdiscuzAjaxData:Y,action:Z}})}function x(aa,Z){if(aa==0){D(".wc-thread-wrapper").prepend(Z)}else{var Y=m(D("#comment-"+aa),0);D("#wpdiscuz_form_anchor-"+Y).after(Z)}}function A(){var aa;var Y;var Z="";D(".wc-comment-right").each(function(){aa=m(D(this),0);Y=W(aa);Z+=Y+","});return Z}function E(){D(".wc-comment-img-link").tooltipster({trigger:"click",contentAsHTML:true,interactive:true,multiple:true});D(".wc_tooltipster").tooltipster({offsetY:2,multiple:true})}function f(){if(D(".wc_social_plugin_wrapper .wp-social-login-provider-list").length){D(".wc_social_plugin_wrapper .wp-social-login-provider-list").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(D(".wc_social_plugin_wrapper .the_champ_login_container").length){D(".wc_social_plugin_wrapper .the_champ_login_container").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(D(".wc_social_plugin_wrapper .social_connect_form").length){D(".wc_social_plugin_wrapper .social_connect_form").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(D(".wc_social_plugin_wrapper .oneall_social_login_providers").length){D(".wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}}}}}});
1
 
2
+ jQuery(document).ready(function(B){wpdiscuzValidator.message.invalid=wpdiscuz_ajax_obj.wpdiscuz_options.wc_invalid_field;wpdiscuzValidator.message.empty=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_empty_text;wpdiscuzValidator.message.email=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_email_text;wpdiscuzValidator.message.url=wpdiscuz_ajax_obj.wpdiscuz_options.wc_error_url_text;wpdiscuzValidator.message.min=wpdiscuz_ajax_obj.wpdiscuz_options.wc_msg_comment_text_min_length;wpdiscuzValidator.message.max=wpdiscuz_ajax_obj.wpdiscuz_options.wc_msg_comment_text_max_length;var P=wpdiscuz_ajax_obj.wpdiscuz_options.is_user_logged_in;var p=wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide==0&&!P;var O=wpdiscuz_ajax_obj.wpdiscuz_options.wc_captcha_show_hide_for_members>0&&P;var z=wpdiscuz_ajax_obj.wpdiscuz_options.commentListLoadType;var T=wpdiscuz_ajax_obj.wpdiscuz_options.wordpressIsPaginate;var m=wpdiscuz_ajax_obj.wpdiscuz_options.wc_post_id;var i=wpdiscuz_ajax_obj.wpdiscuz_options.commentListUpdateType;var h=wpdiscuz_ajax_obj.wpdiscuz_options.commentListUpdateTimer;var G=wpdiscuz_ajax_obj.wpdiscuz_options.liveUpdateGuests;var Q=wpdiscuz_ajax_obj.wpdiscuz_options.loadLastCommentId;var a=wpdiscuz_ajax_obj.wpdiscuz_options.wordpress_comment_order;var F=wpdiscuz_ajax_obj.wpdiscuz_options.commentsVoteOrder;var b=0;var k="comment_date_gmt";var K=[];var t=[];C();f();if(F){B(".wpdiscuz-vote-sort-up").addClass("wpdiscuz-sort-button-active");k="meta_value_num";b=1}else{B(".wpdiscuz-date-sort-"+a).addClass("wpdiscuz-sort-button-active")}B("#wc_unsubscribe_message").delay(7000).fadeOut(1500,function(){B(this).remove();location.href=location.href.substring(0,location.href.indexOf("subscribeAnchor")-1)});if(B(".wc_main_comm_form").length){e()}B(document).delegate(".wc-reply-link","click",function(){if(B(this).hasClass("wpdiscuz-clonned")){B("#wc-secondary-form-wrapper-"+l(B(this),0)).slideToggle(700)}else{g(B(this))}e()});B(document).delegate("textarea.wc_comment","focus",function(){B(this).autoGrow();var W=B(this).parents(".wc-form-wrapper");B(".wc-form-footer",W).slideDown(700)});B(document).delegate(".wc-share-link","click",function(){var W=B(this).parents(".wc-comment-right");B(".share_buttons_box",W).slideToggle(1000)});B(document).delegate(".wpdiscuz-nofollow,.wc_captcha_refresh_img,.wc-toggle,.wc-load-more-link","click",function(W){W.preventDefault()});B(document).delegate(".wc-toggle","click",function(){var X=l(B(this),0);var W=B(this);B("#wc-comm-"+X+"> .wc-reply").slideToggle(700,function(){if(B(this).is(":hidden")){W.html(wpdiscuz_ajax_obj.wpdiscuz_options.wc_show_replies_text+" &or;")}else{W.html(wpdiscuz_ajax_obj.wpdiscuz_options.wc_hide_replies_text+" &and;")}})});B(document).delegate(".wc-new-loaded-comment","mouseenter",function(){if(B(this).hasClass("wc-reply")){B(">.wc-comment-right",B(this)).animate({backgroundColor:wpdiscuz_ajax_obj.wpdiscuz_options.wc_reply_bg_color},1500)}else{B(">.wc-comment-right",B(this)).animate({backgroundColor:wpdiscuz_ajax_obj.wpdiscuz_options.wc_comment_bg_color},1500)}});B(document).delegate(".wc_captcha_refresh_img","click",function(){N(B(this))});function N(aa){if(p||O){var Y=aa.parents(".wc-form-wrapper");var W=Y.hasClass("wc-secondary-form-wrapper")?0:1;var ab=l(aa,W);var Z="uniqueId="+ab;var X=d("generateCaptcha",Z);X.done(function(ad){try{var ah=B.parseJSON(ad);if(ah.code==1){var af=B(aa).prev().children(".wc_captcha_img");var aj=af.attr("src");var ac=aj.lastIndexOf("/")+1;var ae=aj.substring(0,ac)+ah.message;af.attr("src",ae);var ai=B(".wpdiscuz-cnonce",Y);ai.attr("id",ah.key);ai.attr("value",ah.key)}}catch(ag){console.log(ag)}})}}B(document).delegate(".wc_comm_submit","click",function(){var aa=1;var X=B(this).parents("form");if(!X.hasClass("wc_main_comm_form")){aa=A(B(this).parents(".wc-comment"))}if(!wpdiscuz_ajax_obj.wpdiscuz_options.is_email_field_required&&B(".wc_email",X).val()){B(".wc_email",X).attr("required","required")}if(!wpdiscuz_ajax_obj.wpdiscuz_options.is_email_field_required&&!(B(".wc_email",X).val())){B(".wc_email",X).removeAttr("required");B(".wc_email",X).next(".alert").html("")}if(wpdiscuzValidator.checkAll(X)){var W=X.serialize()+"&wc_comment_depth="+aa+"&comment_post_ID="+m;if(p||O){var Y=B(".wc_captcha_img",X);var Z=Y.attr("src");var ac=Z.lastIndexOf("/")+1;var ab=Z.substring(ac);W+="&fileName="+ab}if(wpdiscuz_ajax_obj.wpdiscuz_options.wpdiscuz_zs){W+="&wpdiscuz_zs="+wpdiscuz_ajax_obj.wpdiscuz_options.wpdiscuz_zs}d("addComment",W).done(function(ae){var af="";var ag="";try{var ai=B.parseJSON(ae);af=ai.code;if(parseInt(af)>=0){var ad=ai.is_main;ag=ai.message;B(".wc_header_text_count").html(ai.wc_all_comments_count_new);if(ad){B(".wc-thread-wrapper").prepend(ag)}else{B("#wc-secondary-form-wrapper-"+af).slideToggle(700);if(ai.is_in_same_container==1){B("#wc-secondary-form-wrapper-"+af).after(ag)}else{B("#wc-secondary-form-wrapper-"+af).after(ag.replace("wc-reply","wc-reply wc-no-left-margin"))}}n(ai);S(ai);s(X,ai);X.get(0).reset();e()}else{ag=wpdiscuz_ajax_obj.wpdiscuz_options[af];r(X,af,ag,true)}}catch(ah){if(ae.indexOf("<")>=0&&ae.indexOf(">")>=0){ag=ah}else{ag=ae}r(X,"wc_invalid_field",ag,true)}C();B(".wpdiscuz-loading-bar").hide()})}N(B(".wc_captcha_refresh_img",X))});function n(Y){if(!Y.held_moderate){var X="post_id="+m+"&comment_id="+Y.new_comment_id+"&email="+Y.user_email+"&isParent="+Y.is_main;var W=d("checkNotificationType",X);W.done(function(Z){try{Y=B.parseJSON(Z)}catch(aa){console.log(aa)}})}}function S(Y){if(Y.redirect>0&&Y.new_comment_id){var X="commentId="+Y.new_comment_id;var W=d("redirect",X);W.done(function(Z){Y=B.parseJSON(Z);if(Y.code==1){setTimeout(function(){window.location.href=Y.redirect_to},5000)}})}}function e(){if(B.cookie("wc_author_name")){B(".wc_comm_form .wc_name").val(B.cookie("wc_author_name"))}if(B.cookie("wc_author_email")){B(".wc_comm_form .wc_email").val(B.cookie("wc_author_email"))}if(B.cookie("wc_author_website")){B(".wc_comm_form .wc_website").val(B.cookie("wc_author_website"))}}function s(W,X){if(B(".wc_email",W).val()){B.cookie("wc_author_email",B(".wc_email",W).val())}else{B.cookie("wc_author_email",X.user_email)}if(B(".wc_name",W).val()){B.cookie("wc_author_name",B(".wc_name",W).val())}else{B.cookie("wc_author_name",X.user_name)}B.cookie("wc_author_website",B(".wc_website",W).val())}var R;B(document).delegate(".wc_editable_comment","click",function(){var Z=l(B(this),0);var W=U(Z);var Y=B(this);var X="commentId="+W;d("editComment",X).done(function(ab){try{var af=B.parseJSON(ab);var ad="";var ac=af.code;if(parseInt(ac)>=0){R=af.message;var aa='<textarea required="required" name="wc_comment" class="wc_comment wc_field_input wc_edit_comment" id="wc_edit_comment-'+Z+'" style="min-height: 2em;">'+af.message+"</textarea>";B("#wc-comm-"+Z+" > .wc-comment-right .wc-comment-text").replaceWith(aa);document.getElementById("wc_edit_comment-"+Z).focus();B("#wc-comm-"+Z+" > .wc-comment-right .wc-comment-footer .wc_save_edited_comment").show();aa="";B("#wc-comm-"+Z+" > .wc-comment-right .wc-comment-footer .wc_editable_comment").hide();B("#wc-comm-"+Z+" > .wc-comment-right .wc-comment-footer .wc_cancel_edit").show()}else{ad=wpdiscuz_ajax_obj.wpdiscuz_options[ac];r(Y,ac,ad,false)}}catch(ae){console.log(ae)}B(".wpdiscuz-loading-bar").hide()})});B(document).delegate(".wc_save_edited_comment","click",function(){var ab=l(B(this));var X=U(ab);var W=B("#wc-comm-"+ab+" textarea#wc_edit_comment-"+ab);var Y=W.val();var aa=B(this);if(B.trim(Y).length>0){var Z="commentId="+X+"&commentContent="+Y;d("saveEditedComment",Z).done(function(ac){try{var ag=B.parseJSON(ac);var ad=ag.code;var ae="";if(parseInt(ad)>=0){H(ab,ag.message)}else{ae=wpdiscuz_ajax_obj.wpdiscuz_options[ad];r(aa,ad,ae,false)}W="";Y=""}catch(af){console.log(af)}B(".wpdiscuz-loading-bar").hide()})}});B(document).delegate(".wc_cancel_edit","click",function(){var W=l(B(this));H(W,R)});function H(Y,X){B("#wc-comm-"+Y+" > .wc-comment-right .wc-comment-footer .wc_editable_comment").show();B("#wc-comm-"+Y+" > .wc-comment-right .wc-comment-footer .wc_cancel_edit").hide();B("#wc-comm-"+Y+" > .wc-comment-right .wc-comment-footer .wc_save_edited_comment").hide();var W='<div class="wc-comment-text">'+j(X)+"</div>";B("#wc-comm-"+Y+" #wc_edit_comment-"+Y).replaceWith(W)}function j(Z,Y){var X=(Y||typeof Y==="undefined")?"<br/>":"<br>";var W=(Z+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1"+X+"$2");return W.replace("<br><br>","<br/>")}B(document).delegate(".wc-load-more-submit","click",function(){E()});var o=B("#wpdiscuzHasMoreComments").val();var D=false;if(z==2&&!T){B(".wc-load-more-submit").parents(".wpdiscuz-comment-pagination").hide();B(window).scroll(function(){var W=document.getElementById("wcThreadWrapper").scrollHeight;if(B(window).scrollTop()>=W&&D===false&&o){D=true;E()}})}function E(){var W;if(k=="meta_value_num"){W="offset="+b+"&orderBy="+k+"&order="+a;b++}else{W="orderBy="+k+"&order="+a+"&lastParentId="+u()}W+="&postId="+m+"&loadAllCommnts="+z;d("loadMoreComments",W).done(function(X){try{var Z=B.parseJSON(X);B(".wpdiscuz-comment-pagination").before(Z.comment_list);q(Z);B(".wpdiscuz_single").remove();D=false;o=Z.is_show_load_more}catch(Y){console.log(Y)}C();B(".wpdiscuz-loading-bar").hide();B(".wc-load-more-submit").blur()})}function q(W){if(W.is_show_load_more!=false){M(W.last_parent_id)}else{B(".wc-load-more-submit").parents(".wpdiscuz-comment-pagination").hide()}}B(document).delegate(".wc_vote","click",function(){var W=B(this);var Z="";var aa="";var X=B(this).parents(".wc-comment-right").attr("id");X=X.substring(X.lastIndexOf("-")+1);var Y;if(B(this).hasClass("wc-up")){Y=1}else{Y=-1}var ab="commentId="+X+"&voteType="+Y;d("voteOnComment",ab).done(function(ac){try{var ae=B.parseJSON(ac);Z=ae.code;if(parseInt(Z)>=0){var af=B(".wc-comment-footer .wc-vote-result",B("#comment-"+X));B(af).text(parseInt(B(af).text())+Y)}else{aa=wpdiscuz_ajax_obj.wpdiscuz_options[Z];r(W,Z,aa,false)}}catch(ad){console.log(ad)}B(".wpdiscuz-loading-bar").hide()})});B(document).delegate(".wpdiscuz-sort-button","click",function(){o=1;if(!(B(this).hasClass("wpdiscuz-sort-button-active"))){var Z=B(this);if(B(this).hasClass("wpdiscuz-vote-sort-up")){k="meta_value_num";a="desc"}else{k="comment_date_gmt";a=B(this).hasClass("wpdiscuz-date-sort-desc")?"desc":"asc"}var Y="postId="+m+"&orderBy="+k+"&order="+a;var W="";var X="";d("wpdiscuzSorting",Y).done(function(aa){try{var ac=B.parseJSON(aa);W=ac.code;X=ac.message;if(parseInt(W)>0){B("#wpcomm .wc-thread-wrapper .wc-comment").each(function(){B(this).remove()});B("#wpcomm .wc-thread-wrapper").prepend(X);b=parseInt(ac.loadCount)}else{}J(Z);q(ac)}catch(ab){console.log(ab)}C();B(".wpdiscuz-loading-bar").hide()})}});function J(W){B(".wpdiscuz-sort-buttons .wpdiscuz-sort-button").each(function(){B(this).removeClass("wpdiscuz-sort-button-active")});W.addClass("wpdiscuz-sort-button-active")}function V(){var aa=location.href;var Z=aa.match(/#comment\-(\d+)/);if(Z!==null){var X=Z[1];if(!B("#comment-"+X).length){var Y="commentId="+X;var W=d("getSingleComment",Y);W.done(function(ab){try{var ad=B.parseJSON(ab);B(".wc-thread-wrapper").prepend(ad.message);B("html, body").animate({scrollTop:B(".wc-thread-wrapper").offset().top},1000)}catch(ac){console.log(ac)}C();B(".wpdiscuz-loading-bar").hide()})}}}V();if(i>0&&Q&&(P||(!P&&!G))){setInterval(L,parseInt(h)*1000)}function L(){var Z=y();var X=(B.cookie("wc_author_email")!=undefined&&B.cookie("wc_author_email")!="")?B.cookie("wc_author_email"):"";var Y="postId="+m+"&loadLastCommentId="+Q+"&visibleCommentIds="+Z+"&email="+X;var W=d("liveUpdate",Y);W.done(function(ab){try{var ag=B.parseJSON(ab);if(ag.code==1){if(i==1){w(ag)}else{t=t.concat(ag.message.comments);K=K.concat(ag.message.author_replies);var ac=t.length;var aa=K.length;if(ac>0){var ae=ac+" ";ae+=ac>1?wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_comments_button_text:wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_comment_button_text;B(".wc_new_comment").html(ae).show()}else{B(".wc_new_comment").hide()}if(aa>0){var ad=aa+" ";ad+=aa>1?wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_replies_button_text:wpdiscuz_ajax_obj.wpdiscuz_options.wc_new_reply_button_text;B(".wc_new_reply").html(ad).show()}else{B(".wc_new_reply").hide()}}B(".wc_header_text_count").html(ag.wc_all_comments_count_new);Q=ag.loadLastCommentId}}catch(af){console.log(af)}C();B(".wpdiscuz-loading-bar").hide()})}function w(Z){if(Z.message!==undefined){var W;var Y=Z.message;for(var X=0;X<Y.length;X++){W=Y[X];v(W.comment_parent,W.comment_html)}}}B(document).delegate(".wc-update-on-click","click",function(){var W;var X=B(this);if(X.hasClass("wc_new_comment")){W=t.join()}else{W=K.join()}d("updateOnClick",W).done(function(Y){try{var aa=B.parseJSON(Y);w(aa);if(X.hasClass("wc_new_comment")){t=[];B(".wc_new_comment").hide()}else{K=[];B(".wc_new_reply").hide()}}catch(Z){console.log(Z)}C();B(".wpdiscuz-loading-bar").hide()})});function r(aa,X,Z,Y){var W;var ab;if(Y){ab=aa.parents(".wc-form-wrapper")}else{ab=aa.closest(".wc-comment")}W=ab.children(".wpdiscuz-comment-message");W.addClass(X);W.html(Z);W.show().delay(5000).fadeOut(1000,function(){W.removeClass();W.addClass("wpdiscuz-comment-message");W.html("")})}function g(X){var Y=l(X,0);B("#wpdiscuz_form_anchor-"+Y).before(I(Y));var W=B("#wc-secondary-form-wrapper-"+Y);W.slideToggle(700,function(){X.addClass("wpdiscuz-clonned")});N(B(".wc_captcha_refresh_img",W))}function I(X){var W=B("#wpdiscuz_hidden_secondary_form").html();return W.replace(/wpdiscuzuniqueid/g,X)}function l(Y,X){var W="";if(X){W=Y.parents(".wc-main-form-wrapper").attr("id")}else{W=Y.parents(".wc-comment").attr("id")}var Z=W.substring(W.lastIndexOf("-")+1);return Z}function U(W){return W.substring(0,W.indexOf("_"))}function x(X){var W=X.substring(X.indexOf("_")+1);return W}function u(){var W=B(".wc-load-more-link").attr("href");return W.substring(W.lastIndexOf("=")+1)}function M(W){var X=B(".wc-load-more-link").attr("href");B(".wc-load-more-link").attr("href",X.replace(/[\d]+$/m,W));if(z!=2){B(".wpdiscuz-comment-pagination").show()}}function A(Y){var X=Y.attr("class");var W=X.split(" ");var Z="";B.each(W,function(aa,ab){if("wc_comment_level"===c(ab,false)){Z=c(ab,true)}});return parseInt(Z)+1}function c(W,X){var Y="";if(X){Y=W.substring(W.indexOf("-")+1)}else{Y=W.substring(0,W.indexOf("-"))}return Y}function v(Y,X){if(Y==0){B(".wc-thread-wrapper").prepend(X)}else{var W=l(B("#comment-"+Y),0);B("#wpdiscuz_form_anchor-"+W).after(X)}}function y(){var Y;var W;var X="";B(".wc-comment-right").each(function(){Y=l(B(this),0);W=U(Y);X+=W+","});return X}function C(){B(".wc-comment-img-link").tooltipster({trigger:"click",contentAsHTML:true,interactive:true,multiple:true});B(".wc_tooltipster").tooltipster({offsetY:2,multiple:true})}function f(){if(B(".wc_social_plugin_wrapper .wp-social-login-provider-list").length){B(".wc_social_plugin_wrapper .wp-social-login-provider-list").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(B(".wc_social_plugin_wrapper .the_champ_login_container").length){B(".wc_social_plugin_wrapper .the_champ_login_container").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(B(".wc_social_plugin_wrapper .social_connect_form").length){B(".wc_social_plugin_wrapper .social_connect_form").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}else{if(B(".wc_social_plugin_wrapper .oneall_social_login_providers").length){B(".wc_social_plugin_wrapper .oneall_social_login .oneall_social_login_providers").clone().prependTo("#wpdiscuz_hidden_secondary_form > .wc-form-wrapper > .wc-secondary-forms-social-content")}}}}}function d(X,W){if(X!=="liveUpdate"&&X!=="generateCaptcha"){B(".wpdiscuz-loading-bar").show()}return B.ajax({type:"POST",url:wpdiscuz_ajax_obj.url,data:{wpdiscuzAjaxData:W,action:X}})}});
assets/third-party/colorpicker/css/index.html ADDED
File without changes
assets/third-party/colorpicker/img/index.html ADDED
File without changes
assets/third-party/colorpicker/js/index.html ADDED
File without changes
assets/third-party/easy-responsive-tabs/css/index.html ADDED
File without changes
assets/third-party/easy-responsive-tabs/index.html ADDED
File without changes
assets/third-party/easy-responsive-tabs/js/index.html ADDED
File without changes
assets/third-party/index.html ADDED
File without changes
assets/third-party/jquery-ui/index.html ADDED
File without changes
assets/third-party/tooltipster/css/index.html ADDED
File without changes
assets/third-party/tooltipster/js/index.html ADDED
File without changes
bxslider/images/index.html ADDED
File without changes
bxslider/index.html ADDED
File without changes
bxslider/plugins/index.html ADDED
File without changes
class.WpdiscuzCore.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  * Plugin Name: wpDiscuz - Supercharged native comments
5
  * Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
6
- * Version: 3.0.4
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/
@@ -14,6 +14,9 @@ if (!defined('ABSPATH')) {
14
  exit();
15
  }
16
 
 
 
 
17
  include_once 'utils/interface.WpDiscuzConstants.php';
18
  include_once 'options/class.WpdiscuzOptions.php';
19
  include_once 'options/class.WpdiscuzOptionsSerialized.php';
@@ -21,7 +24,6 @@ include_once 'utils/class.WpdiscuzHelper.php';
21
  include_once 'utils/class.WpdiscuzEmailHelper.php';
22
  include_once 'utils/class.WpdiscuzOptimizationHelper.php';
23
  include_once 'manager/class.WpdiscuzDBManager.php';
24
- include_once 'includes/class.WpdiscuzCss.php';
25
  include_once 'templates/comment/class.WpdiscuzTemplateBuilder.php';
26
 
27
  class WpdiscuzCore implements WpDiscuzConstants {
@@ -38,27 +40,30 @@ class WpdiscuzCore implements WpDiscuzConstants {
38
 
39
  public function __construct() {
40
  $this->dbManager = new WpdiscuzDBManager();
41
- register_activation_hook(__FILE__, array($this, 'createTables'));
42
  $this->optionsSerialized = new WpdiscuzOptionsSerialized($this->dbManager);
43
  $this->options = new WpdiscuzOptions($this->optionsSerialized, $this->dbManager);
44
  $this->helper = new WpdiscuzHelper($this->optionsSerialized, $this->dbManager);
45
  $this->emailHelper = new WpdiscuzEmailHelper($this->optionsSerialized, $this->dbManager);
46
  $this->optimizationHelper = new WpdiscuzOptimizationHelper($this->optionsSerialized, $this->dbManager, $this->emailHelper);
47
- $this->css = new WpdiscuzCss($this->optionsSerialized);
48
  $this->templateBuilder = new WpdiscuzTemplateBuilder($this->helper, $this->optimizationHelper, $this->dbManager, $this->options, $this->optionsSerialized);
 
 
 
 
49
  add_action('wp_head', array(&$this, 'initCurrentPostType'));
50
- add_action('wp_head', array(&$this->css, 'initCustomCss'));
51
  add_action('plugins_loaded', array(&$this, 'wpdiscuzTextDomain'));
52
  add_action('init', array(&$this, 'initPluginDirName'), 1);
53
  add_action('admin_init', array(&$this, 'pluginNewVersion'), 2);
54
  add_action('admin_enqueue_scripts', array(&$this, 'adminPageStylesScripts'), 2315);
55
  add_action('wp_enqueue_scripts', array(&$this, 'frontEndStylesScripts'));
56
  add_action('admin_menu', array(&$this, 'addPluginOptionsPage'), -297);
57
- if (!$this->optionsSerialized->captchaShowHide) {
58
- add_action('init', array(&$this->helper, 'registerSession'), 2);
 
59
  }
60
- add_action('wp_ajax_generateCaptcha', array(&$this->helper, 'generateCaptcha'));
61
- add_action('wp_ajax_nopriv_generateCaptcha', array(&$this->helper, 'generateCaptcha'));
62
  add_action('wp_ajax_loadMoreComments', array(&$this, 'loadMoreComments'));
63
  add_action('wp_ajax_nopriv_loadMoreComments', array(&$this, 'loadMoreComments'));
64
  add_action('wp_ajax_voteOnComment', array(&$this, 'voteOnComment'));
@@ -118,7 +123,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
118
  $visibleCommentIds = trim($visibleCommentIds, ',');
119
  $email = trim($email);
120
 
121
- if (is_user_logged_in()) {
122
  $email = $current_user->user_email;
123
  }
124
  if ($lastCommentId > $loadLastCommentId) {
@@ -129,6 +134,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
129
  $newCommentIds = $this->dbManager->getNewCommentIds($postId, $loadLastCommentId, $email, $this->optionsSerialized->wordpressCommentOrder);
130
  $commentListArgs = $this->getCommentListArgs();
131
  $commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
 
132
  foreach ($newCommentIds as $newCommentId) {
133
  $comment = get_comment($newCommentId);
134
  if (($comment->comment_parent && (in_array($comment->comment_parent, $visibleCommentIds) || in_array($comment->comment_parent, $newCommentIds))) || !$comment->comment_parent) {
@@ -152,10 +158,13 @@ class WpdiscuzCore implements WpDiscuzConstants {
152
  public function updateOnClick() {
153
  $commentData = filter_input(INPUT_POST, 'wpdiscuzAjaxData');
154
  if ($commentData) {
 
 
155
  $messageArray['code'] = 1;
156
  $newCommentIds = explode(',', $commentData);
157
  $commentListArgs = $this->getCommentListArgs();
158
  $commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
 
159
  foreach ($newCommentIds as $newCommentId) {
160
  $comment = get_comment($newCommentId);
161
  $comments = get_comments(array('comment__in' => $newCommentId));
@@ -172,13 +181,15 @@ class WpdiscuzCore implements WpDiscuzConstants {
172
  $isAnonymous = false;
173
  if ($commentData) {
174
  parse_str($commentData);
175
- if(function_exists('zerospam_get_key')&& isset($wpdiscuz_zs)){
176
- $_POST['zerospam_key'] = $wpdiscuz_zs;
177
  }
178
- if (wp_verify_nonce($wpdiscuz_comment_form_nonce, 'wpdiscuz_comment_form_nonce_action') && isset($wpdiscuz_unique_id) && $wpdiscuz_unique_id && isset($comment_post_ID) && $comment_post_ID) {
179
  $wpdiscuz_unique_id = filter_var($wpdiscuz_unique_id);
180
  $wc_comment_depth = isset($wc_comment_depth) && intval($wc_comment_depth) ? $wc_comment_depth : 1;
181
  $isInSameContainer = '1';
 
 
182
  if ($wc_comment_depth > $this->optionsSerialized->wordpressThreadCommentsDepth) {
183
  $wc_comment_depth = $this->optionsSerialized->wordpressThreadCommentsDepth;
184
  $isInSameContainer = '0';
@@ -186,19 +197,18 @@ class WpdiscuzCore implements WpDiscuzConstants {
186
  $isInSameContainer = '0';
187
  }
188
  $notification_type = isset($wpdiscuz_notification_type) ? $wpdiscuz_notification_type : '';
189
- if (!$this->optionsSerialized->captchaShowHide) {
190
- if ((is_user_logged_in() && $this->optionsSerialized->captchaShowHideForMembers) || !is_user_logged_in()) {
191
- $sess_captcha = isset($_SESSION['wc_captcha'][$wpdiscuz_unique_id]) ? $_SESSION['wc_captcha'][$wpdiscuz_unique_id] : FALSE;
192
- $captcha = isset($wc_captcha) ? $wc_captcha : '';
193
- if (md5(strtolower($captcha)) !== $sess_captcha) {
194
- $messageArray['code'] = 'wc_invalid_captcha';
195
- wp_die(json_encode($messageArray));
196
- }
197
  }
198
  }
199
 
200
  $website_url = '';
201
- if (is_user_logged_in()) {
202
  $user_id = get_current_user_id();
203
  $user = get_userdata($user_id);
204
  $name = $user->display_name;
@@ -236,19 +246,19 @@ class WpdiscuzCore implements WpDiscuzConstants {
236
  $comment_content = wp_kses(trim($wc_comment), $this->helper->wc_allowed_tags);
237
  $commentMinLength = intval($this->optionsSerialized->commentTextMinLength);
238
  $commentMaxLength = intval($this->optionsSerialized->commentTextMaxLength);
239
- if ($commentMinLength && $commentMinLength > 0 && mb_strlen($comment_content) < $commentMinLength) {
 
240
  $messageArray['code'] = 'wc_msg_comment_text_min_length';
241
  wp_die(json_encode($messageArray));
242
  }
243
 
244
- if ($commentMaxLength && $commentMaxLength > 0 && mb_strlen($comment_content) > $commentMaxLength) {
245
  $messageArray['code'] = 'wc_msg_comment_text_max_length';
246
  wp_die(json_encode($messageArray));
247
  }
248
 
249
  if ($name && $email && $comment_content) {
250
  $author_ip = $this->helper->getRealIPAddr();
251
- $comment_content = addslashes($comment_content);
252
  $uid_data = $this->helper->getUIDData($wpdiscuz_unique_id);
253
  $comment_parent = $uid_data[0];
254
  $wc_user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
@@ -275,7 +285,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
275
  $_POST[Prompt_Comment_Form_Handling::SUBSCRIBE_CHECKBOX_NAME] = 1;
276
  Prompt_Comment_Form_Handling::handle_form($new_comment_id, $newComment->comment_approved);
277
  } else if (!$isAnonymous && $notification_type) {
278
- if (is_user_logged_in() && $this->optionsSerialized->disableMemberConfirm) {
279
  $this->dbManager->addEmailNotification($new_comment_id, $comment_post_ID, $email, self::SUBSCRIPTION_COMMENT, 1);
280
  } else {
281
  $this->dbManager->addEmailNotification($new_comment_id, $comment_post_ID, $email, self::SUBSCRIPTION_COMMENT);
@@ -291,7 +301,10 @@ class WpdiscuzCore implements WpDiscuzConstants {
291
  $messageArray['held_moderate'] = $held_moderate;
292
  $messageArray['is_in_same_container'] = $isInSameContainer;
293
  $messageArray['wc_all_comments_count_new'] = $this->dbManager->getCommentsCount($comment_post_ID);
294
- $messageArray['message'] = $this->templateBuilder->getCommentTemplate($newComment, null, $wc_comment_depth);
 
 
 
295
  } else {
296
  $messageArray['code'] = 'wc_invalid_field';
297
  }
@@ -349,7 +362,6 @@ class WpdiscuzCore implements WpDiscuzConstants {
349
  $commentContent = wp_kses($commentContent, $this->helper->wc_allowed_tags);
350
  $author_ip = $this->helper->getRealIPAddr();
351
  $userAgent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
352
- $commentContent = addslashes($commentContent);
353
  $commentarr = array(
354
  'comment_ID' => $commentId,
355
  'comment_content' => apply_filters('pre_comment_content', $commentContent),
@@ -376,6 +388,8 @@ class WpdiscuzCore implements WpDiscuzConstants {
376
  }
377
 
378
  public function getSingleComment() {
 
 
379
  $messageArray = array();
380
  $commentData = filter_input(INPUT_POST, 'wpdiscuzAjaxData');
381
  if ($commentData) {
@@ -386,6 +400,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
386
  $commentListArgs = $this->getCommentListArgs();
387
  $commentListArgs['isSingle'] = true;
388
  $commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
 
389
  $messageArray['message'] = wp_list_comments($commentListArgs, $comments);
390
  }
391
  wp_die(json_encode($messageArray));
@@ -422,7 +437,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
422
  $limit = intval(trim($loadAllCommnts) == 1) ? 0 : $this->optionsSerialized->wordpressCommentPerPage;
423
  $args = array('limit' => $limit);
424
  $orderBy = trim($orderBy);
425
- if ($orderBy == 'vote') {
426
  if (version_compare($wp_version, '4.3.0', '>=')) {
427
  $args['meta_key'] = self::META_KEY_VOTES;
428
  }
@@ -446,7 +461,8 @@ class WpdiscuzCore implements WpDiscuzConstants {
446
  }
447
  $messageArray = array();
448
  $commentId = '';
449
- if (!$this->optionsSerialized->isGuestCanVote && !is_user_logged_in()) {
 
450
  $messageArray['code'] = 'wc_login_to_vote';
451
  wp_die(json_encode($messageArray));
452
  }
@@ -455,10 +471,10 @@ class WpdiscuzCore implements WpDiscuzConstants {
455
  $commentId = intval($commentId);
456
  $voteType = intval($voteType);
457
  if ($commentId && $voteType) {
458
- $userIdOrIp = is_user_logged_in() ? get_current_user_id() : $this->helper->getRealIPAddr();
459
  $isUserVoted = $this->dbManager->isUserVoted($userIdOrIp, $commentId);
460
  $comment = get_comment($commentId);
461
- if (!is_user_logged_in() && $comment->comment_author_IP == $userIdOrIp) {
462
  $messageArray['code'] = 'wc_deny_voting_from_same_ip';
463
  wp_die(json_encode($messageArray));
464
  }
@@ -478,7 +494,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
478
  $messageArray['code'] = 'wc_vote_only_one_time';
479
  }
480
  } else {
481
- $this->dbManager->addVoteType($userIdOrIp, $commentId, $voteType, intval(is_user_logged_in()));
482
  $voteCount = intval(get_comment_meta($commentId, self::META_KEY_VOTES, true)) + $voteType;
483
  update_comment_meta($commentId, self::META_KEY_VOTES, '' . $voteCount);
484
  $messageArray['code'] = 1;
@@ -501,8 +517,8 @@ class WpdiscuzCore implements WpDiscuzConstants {
501
  $order = trim($order);
502
  if ($postId && $orderBy && $order) {
503
  $args = array('order' => $order, 'post_id' => $postId);
504
- if ($orderBy == 'vote') {
505
- $args['orderby'] = 'meta_value_num';
506
  } else {
507
  $args['orderby'] = 'comment_date_gmt';
508
  }
@@ -527,8 +543,8 @@ class WpdiscuzCore implements WpDiscuzConstants {
527
  * get comments by comment type
528
  */
529
  public function getWPComments($args = array()) {
530
- global $post, $wp_version;
531
- $this->optionsSerialized->initPhrasesOnLoad();
532
  $defaults = array(
533
  'last_parent_id' => 0,
534
  'post_id' => isset($post->ID) ? $post->ID : '',
@@ -540,6 +556,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
540
  'is_threaded' => 1,
541
  'status' => 'approve'
542
  );
 
543
  if (version_compare($wp_version, '4.3.0', '>=')) {
544
  $defaults['meta_key'] = WpdiscuzCore::META_KEY_VOTES;
545
  }
@@ -548,6 +565,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
548
  $commentListArgs = $this->getCommentListArgs();
549
 
550
  $commentList = $this->_getWPComments($parsedArgs, $commentListArgs, $commentData);
 
551
  $wcWpComments = wp_list_comments($commentListArgs, $commentList);
552
  $commentData['comment_list'] = $wcWpComments;
553
  return $commentData;
@@ -618,7 +636,6 @@ class WpdiscuzCore implements WpDiscuzConstants {
618
  foreach ($args['comment__in'] as $commentId) {
619
  $rootComments[] = get_comment($commentId);
620
  }
621
- $args['order'] = 'desc';
622
  } elseif ($this->optionsSerialized->wordpressCommentOrder == 'asc') {
623
  add_filter('comments_clauses', array(&$this, 'filterVoteSortingOrderBY'));
624
  }
@@ -670,6 +687,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
670
  public function frontEndStylesScripts() {
671
  global $post;
672
  if ($post && in_array($post->post_type, $this->optionsSerialized->postTypes) && is_singular() && post_type_supports($post->post_type, 'comments')) {
 
673
  $u_agent = $_SERVER['HTTP_USER_AGENT'];
674
  wp_register_style('wpdiscuz-frontend-css', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/css/wpdiscuz.min.css'));
675
  wp_enqueue_style('wpdiscuz-frontend-css');
@@ -701,6 +719,8 @@ class WpdiscuzCore implements WpDiscuzConstants {
701
  wp_enqueue_script('wpdiscuz-tooltipster-js');
702
  wp_register_script('autogrowtextarea-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/js/jquery.autogrowtextarea.min.js'), array('jquery'), '3.0', false);
703
  wp_enqueue_script('autogrowtextarea-js');
 
 
704
  $wpdiscuz_js_options = $this->optionsSerialized->getOptionsForJs();
705
  $wpdiscuz_js_options['wc_post_id'] = $post->ID;
706
  $wpdiscuz_js_options['loadLastCommentId'] = $this->dbManager->getLastCommentId($post->ID);
@@ -743,10 +763,6 @@ class WpdiscuzCore implements WpDiscuzConstants {
743
  if (version_compare($wc_version, '3.0.0', '<=') && version_compare($wc_version, '1.0.0', '!=')) {
744
  $this->dbManager->alterNotificationTable();
745
  }
746
-
747
- if (version_compare($wc_version, '3.0.4', '<=')) {
748
- $this->dbManager->alterNotificationTable();
749
- }
750
  }
751
  }
752
 
@@ -772,16 +788,9 @@ class WpdiscuzCore implements WpDiscuzConstants {
772
  }
773
  }
774
 
775
- /**
776
- * create table
777
- */
778
- public function createTables() {
779
- $this->dbManager->dbCreateTables();
780
- }
781
-
782
  public function initPluginDirName() {
783
  $pluginDirPath = plugin_dir_path(__FILE__);
784
- $pathArray = array_values(array_filter(explode(DIRECTORY_SEPARATOR, $pluginDirPath)));
785
  $pathLastPart = $pathArray[count($pathArray) - 1];
786
  self::$PLUGIN_DIRECTORY = untrailingslashit($pathLastPart);
787
  }
@@ -817,6 +826,11 @@ class WpdiscuzCore implements WpDiscuzConstants {
817
  );
818
  }
819
 
 
 
 
 
 
820
  }
821
 
822
  $wpdiscuz = new WpdiscuzCore();
3
  /*
4
  * Plugin Name: wpDiscuz - Supercharged native comments
5
  * Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
6
+ * Version: 3.0.5
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/
14
  exit();
15
  }
16
 
17
+ define('WPD_DS', DIRECTORY_SEPARATOR);
18
+ define('DIR_PATH', dirname(__FILE__));
19
+
20
  include_once 'utils/interface.WpDiscuzConstants.php';
21
  include_once 'options/class.WpdiscuzOptions.php';
22
  include_once 'options/class.WpdiscuzOptionsSerialized.php';
24
  include_once 'utils/class.WpdiscuzEmailHelper.php';
25
  include_once 'utils/class.WpdiscuzOptimizationHelper.php';
26
  include_once 'manager/class.WpdiscuzDBManager.php';
 
27
  include_once 'templates/comment/class.WpdiscuzTemplateBuilder.php';
28
 
29
  class WpdiscuzCore implements WpDiscuzConstants {
40
 
41
  public function __construct() {
42
  $this->dbManager = new WpdiscuzDBManager();
 
43
  $this->optionsSerialized = new WpdiscuzOptionsSerialized($this->dbManager);
44
  $this->options = new WpdiscuzOptions($this->optionsSerialized, $this->dbManager);
45
  $this->helper = new WpdiscuzHelper($this->optionsSerialized, $this->dbManager);
46
  $this->emailHelper = new WpdiscuzEmailHelper($this->optionsSerialized, $this->dbManager);
47
  $this->optimizationHelper = new WpdiscuzOptimizationHelper($this->optionsSerialized, $this->dbManager, $this->emailHelper);
 
48
  $this->templateBuilder = new WpdiscuzTemplateBuilder($this->helper, $this->optimizationHelper, $this->dbManager, $this->options, $this->optionsSerialized);
49
+ register_activation_hook(__FILE__, array($this->dbManager, 'dbCreateTables'));
50
+ register_activation_hook(__FILE__, array($this->helper, 'scheduleTask'));
51
+ register_deactivation_hook(__FILE__, array($this->helper, 'unScheduleTask'));
52
+ add_action('wpdiscuzRemoveOldFiles', array(&$this->helper, 'removeOldFiles'));
53
  add_action('wp_head', array(&$this, 'initCurrentPostType'));
54
+
55
  add_action('plugins_loaded', array(&$this, 'wpdiscuzTextDomain'));
56
  add_action('init', array(&$this, 'initPluginDirName'), 1);
57
  add_action('admin_init', array(&$this, 'pluginNewVersion'), 2);
58
  add_action('admin_enqueue_scripts', array(&$this, 'adminPageStylesScripts'), 2315);
59
  add_action('wp_enqueue_scripts', array(&$this, 'frontEndStylesScripts'));
60
  add_action('admin_menu', array(&$this, 'addPluginOptionsPage'), -297);
61
+ if (!$this->optionsSerialized->captchaShowHide || $this->optionsSerialized->captchaShowHideForMembers) {
62
+ add_action('wp_ajax_generateCaptcha', array(&$this->helper, 'generateCaptcha'));
63
+ add_action('wp_ajax_nopriv_generateCaptcha', array(&$this->helper, 'generateCaptcha'));
64
  }
65
+ add_action('wp_ajax_dynamicCss', array(&$this, 'dynamicCss'));
66
+ add_action('wp_ajax_nopriv_dynamicCss', array(&$this, 'dynamicCss'));
67
  add_action('wp_ajax_loadMoreComments', array(&$this, 'loadMoreComments'));
68
  add_action('wp_ajax_nopriv_loadMoreComments', array(&$this, 'loadMoreComments'));
69
  add_action('wp_ajax_voteOnComment', array(&$this, 'voteOnComment'));
123
  $visibleCommentIds = trim($visibleCommentIds, ',');
124
  $email = trim($email);
125
 
126
+ if ($current_user->ID) {
127
  $email = $current_user->user_email;
128
  }
129
  if ($lastCommentId > $loadLastCommentId) {
134
  $newCommentIds = $this->dbManager->getNewCommentIds($postId, $loadLastCommentId, $email, $this->optionsSerialized->wordpressCommentOrder);
135
  $commentListArgs = $this->getCommentListArgs();
136
  $commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
137
+ $commentListArgs['current_user'] = $current_user;
138
  foreach ($newCommentIds as $newCommentId) {
139
  $comment = get_comment($newCommentId);
140
  if (($comment->comment_parent && (in_array($comment->comment_parent, $visibleCommentIds) || in_array($comment->comment_parent, $newCommentIds))) || !$comment->comment_parent) {
158
  public function updateOnClick() {
159
  $commentData = filter_input(INPUT_POST, 'wpdiscuzAjaxData');
160
  if ($commentData) {
161
+ global $current_user;
162
+ get_currentuserinfo();
163
  $messageArray['code'] = 1;
164
  $newCommentIds = explode(',', $commentData);
165
  $commentListArgs = $this->getCommentListArgs();
166
  $commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
167
+ $commentListArgs['current_user'] = $current_user;
168
  foreach ($newCommentIds as $newCommentId) {
169
  $comment = get_comment($newCommentId);
170
  $comments = get_comments(array('comment__in' => $newCommentId));
181
  $isAnonymous = false;
182
  if ($commentData) {
183
  parse_str($commentData);
184
+ if (function_exists('zerospam_get_key') && isset($wpdiscuz_zs)) {
185
+ $_POST['zerospam_key'] = $wpdiscuz_zs == md5(zerospam_get_key()) ? zerospam_get_key() : '';
186
  }
187
+ if (wp_verify_nonce($wpdiscuz_comment_form_nonce, self::ACTION_FORM_NONCE) && isset($wpdiscuz_unique_id) && $wpdiscuz_unique_id && isset($comment_post_ID) && $comment_post_ID) {
188
  $wpdiscuz_unique_id = filter_var($wpdiscuz_unique_id);
189
  $wc_comment_depth = isset($wc_comment_depth) && intval($wc_comment_depth) ? $wc_comment_depth : 1;
190
  $isInSameContainer = '1';
191
+ global $current_user;
192
+ get_currentuserinfo();
193
  if ($wc_comment_depth > $this->optionsSerialized->wordpressThreadCommentsDepth) {
194
  $wc_comment_depth = $this->optionsSerialized->wordpressThreadCommentsDepth;
195
  $isInSameContainer = '0';
197
  $isInSameContainer = '0';
198
  }
199
  $notification_type = isset($wpdiscuz_notification_type) ? $wpdiscuz_notification_type : '';
200
+ if ($this->helper->isShowCaptcha($current_user->ID)) {
201
+ $key = isset($cnonce) ? substr($cnonce, self::CAPTCHA_LENGTH) : '';
202
+ $fileName = isset($fileName) ? substr($fileName, 0, strlen($fileName) - 4) : '';
203
+ $captcha = isset($wc_captcha) ? $wc_captcha : '';
204
+ if (!($this->helper->checkCaptcha($key, $fileName, $captcha))) {
205
+ $messageArray['code'] = 'wc_invalid_captcha';
206
+ wp_die(json_encode($messageArray));
 
207
  }
208
  }
209
 
210
  $website_url = '';
211
+ if ($current_user->ID) {
212
  $user_id = get_current_user_id();
213
  $user = get_userdata($user_id);
214
  $name = $user->display_name;
246
  $comment_content = wp_kses(trim($wc_comment), $this->helper->wc_allowed_tags);
247
  $commentMinLength = intval($this->optionsSerialized->commentTextMinLength);
248
  $commentMaxLength = intval($this->optionsSerialized->commentTextMaxLength);
249
+ $contentLength = function_exists('mb_strlen') ? mb_strlen($comment_content) : strlen($comment_content);
250
+ if ($commentMinLength && $commentMinLength > 0 && $contentLength < $commentMinLength) {
251
  $messageArray['code'] = 'wc_msg_comment_text_min_length';
252
  wp_die(json_encode($messageArray));
253
  }
254
 
255
+ if ($commentMaxLength && $commentMaxLength > 0 && $contentLength > $commentMaxLength) {
256
  $messageArray['code'] = 'wc_msg_comment_text_max_length';
257
  wp_die(json_encode($messageArray));
258
  }
259
 
260
  if ($name && $email && $comment_content) {
261
  $author_ip = $this->helper->getRealIPAddr();
 
262
  $uid_data = $this->helper->getUIDData($wpdiscuz_unique_id);
263
  $comment_parent = $uid_data[0];
264
  $wc_user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
285
  $_POST[Prompt_Comment_Form_Handling::SUBSCRIBE_CHECKBOX_NAME] = 1;
286
  Prompt_Comment_Form_Handling::handle_form($new_comment_id, $newComment->comment_approved);
287
  } else if (!$isAnonymous && $notification_type) {
288
+ if ($current_user->ID && $this->optionsSerialized->disableMemberConfirm) {
289
  $this->dbManager->addEmailNotification($new_comment_id, $comment_post_ID, $email, self::SUBSCRIPTION_COMMENT, 1);
290
  } else {
291
  $this->dbManager->addEmailNotification($new_comment_id, $comment_post_ID, $email, self::SUBSCRIPTION_COMMENT);
301
  $messageArray['held_moderate'] = $held_moderate;
302
  $messageArray['is_in_same_container'] = $isInSameContainer;
303
  $messageArray['wc_all_comments_count_new'] = $this->dbManager->getCommentsCount($comment_post_ID);
304
+ $commentListArgs = $this->getCommentListArgs();
305
+ $commentListArgs['current_user'] = $current_user;
306
+ $commentListArgs['addComment'] = $wc_comment_depth;
307
+ $messageArray['message'] = wp_list_comments($commentListArgs, array($newComment));
308
  } else {
309
  $messageArray['code'] = 'wc_invalid_field';
310
  }
362
  $commentContent = wp_kses($commentContent, $this->helper->wc_allowed_tags);
363
  $author_ip = $this->helper->getRealIPAddr();
364
  $userAgent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
 
365
  $commentarr = array(
366
  'comment_ID' => $commentId,
367
  'comment_content' => apply_filters('pre_comment_content', $commentContent),
388
  }
389
 
390
  public function getSingleComment() {
391
+ global $current_user;
392
+ get_currentuserinfo();
393
  $messageArray = array();
394
  $commentData = filter_input(INPUT_POST, 'wpdiscuzAjaxData');
395
  if ($commentData) {
400
  $commentListArgs = $this->getCommentListArgs();
401
  $commentListArgs['isSingle'] = true;
402
  $commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
403
+ $commentListArgs['current_user'] = $current_user;
404
  $messageArray['message'] = wp_list_comments($commentListArgs, $comments);
405
  }
406
  wp_die(json_encode($messageArray));
437
  $limit = intval(trim($loadAllCommnts) == 1) ? 0 : $this->optionsSerialized->wordpressCommentPerPage;
438
  $args = array('limit' => $limit);
439
  $orderBy = trim($orderBy);
440
+ if ($orderBy == 'meta_value_num') {
441
  if (version_compare($wp_version, '4.3.0', '>=')) {
442
  $args['meta_key'] = self::META_KEY_VOTES;
443
  }
461
  }
462
  $messageArray = array();
463
  $commentId = '';
464
+ $isUserLoggedIn = is_user_logged_in();
465
+ if (!$this->optionsSerialized->isGuestCanVote && !$isUserLoggedIn) {
466
  $messageArray['code'] = 'wc_login_to_vote';
467
  wp_die(json_encode($messageArray));
468
  }
471
  $commentId = intval($commentId);
472
  $voteType = intval($voteType);
473
  if ($commentId && $voteType) {
474
+ $userIdOrIp = $isUserLoggedIn ? get_current_user_id() : $this->helper->getRealIPAddr();
475
  $isUserVoted = $this->dbManager->isUserVoted($userIdOrIp, $commentId);
476
  $comment = get_comment($commentId);
477
+ if (!$isUserLoggedIn && $comment->comment_author_IP == $userIdOrIp) {
478
  $messageArray['code'] = 'wc_deny_voting_from_same_ip';
479
  wp_die(json_encode($messageArray));
480
  }
494
  $messageArray['code'] = 'wc_vote_only_one_time';
495
  }
496
  } else {
497
+ $this->dbManager->addVoteType($userIdOrIp, $commentId, $voteType, intval($isUserLoggedIn));
498
  $voteCount = intval(get_comment_meta($commentId, self::META_KEY_VOTES, true)) + $voteType;
499
  update_comment_meta($commentId, self::META_KEY_VOTES, '' . $voteCount);
500
  $messageArray['code'] = 1;
517
  $order = trim($order);
518
  if ($postId && $orderBy && $order) {
519
  $args = array('order' => $order, 'post_id' => $postId);
520
+ if (in_array($orderBy, array('meta_value_num', 'comment_date_gmt'))) {
521
+ $args['orderby'] = $orderBy;
522
  } else {
523
  $args['orderby'] = 'comment_date_gmt';
524
  }
543
  * get comments by comment type
544
  */
545
  public function getWPComments($args = array()) {
546
+ global $post, $wp_version, $current_user;
547
+ get_currentuserinfo();
548
  $defaults = array(
549
  'last_parent_id' => 0,
550
  'post_id' => isset($post->ID) ? $post->ID : '',
556
  'is_threaded' => 1,
557
  'status' => 'approve'
558
  );
559
+
560
  if (version_compare($wp_version, '4.3.0', '>=')) {
561
  $defaults['meta_key'] = WpdiscuzCore::META_KEY_VOTES;
562
  }
565
  $commentListArgs = $this->getCommentListArgs();
566
 
567
  $commentList = $this->_getWPComments($parsedArgs, $commentListArgs, $commentData);
568
+ $commentListArgs['current_user'] = $current_user;
569
  $wcWpComments = wp_list_comments($commentListArgs, $commentList);
570
  $commentData['comment_list'] = $wcWpComments;
571
  return $commentData;
636
  foreach ($args['comment__in'] as $commentId) {
637
  $rootComments[] = get_comment($commentId);
638
  }
 
639
  } elseif ($this->optionsSerialized->wordpressCommentOrder == 'asc') {
640
  add_filter('comments_clauses', array(&$this, 'filterVoteSortingOrderBY'));
641
  }
687
  public function frontEndStylesScripts() {
688
  global $post;
689
  if ($post && in_array($post->post_type, $this->optionsSerialized->postTypes) && is_singular() && post_type_supports($post->post_type, 'comments')) {
690
+
691
  $u_agent = $_SERVER['HTTP_USER_AGENT'];
692
  wp_register_style('wpdiscuz-frontend-css', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/css/wpdiscuz.min.css'));
693
  wp_enqueue_style('wpdiscuz-frontend-css');
719
  wp_enqueue_script('wpdiscuz-tooltipster-js');
720
  wp_register_script('autogrowtextarea-js', plugins_url(self::$PLUGIN_DIRECTORY . '/assets/js/jquery.autogrowtextarea.min.js'), array('jquery'), '3.0', false);
721
  wp_enqueue_script('autogrowtextarea-js');
722
+ wp_register_style('wpdiscuz-dynamic-css', admin_url('admin-ajax.php') . '?action=dynamicCss', null, get_option(WpdiscuzCore::OPTION_SLUG_VERSION));
723
+ wp_enqueue_style('wpdiscuz-dynamic-css');
724
  $wpdiscuz_js_options = $this->optionsSerialized->getOptionsForJs();
725
  $wpdiscuz_js_options['wc_post_id'] = $post->ID;
726
  $wpdiscuz_js_options['loadLastCommentId'] = $this->dbManager->getLastCommentId($post->ID);
763
  if (version_compare($wc_version, '3.0.0', '<=') && version_compare($wc_version, '1.0.0', '!=')) {
764
  $this->dbManager->alterNotificationTable();
765
  }
 
 
 
 
766
  }
767
  }
768
 
788
  }
789
  }
790
 
 
 
 
 
 
 
 
791
  public function initPluginDirName() {
792
  $pluginDirPath = plugin_dir_path(__FILE__);
793
+ $pathArray = array_values(array_filter(explode(WPD_DS, $pluginDirPath)));
794
  $pathLastPart = $pathArray[count($pathArray) - 1];
795
  self::$PLUGIN_DIRECTORY = untrailingslashit($pathLastPart);
796
  }
826
  );
827
  }
828
 
829
+ public function dynamicCss() {
830
+ include __DIR__ . '/includes/dynamic.css.php';
831
+ exit();
832
+ }
833
+
834
  }
835
 
836
  $wpdiscuz = new WpdiscuzCore();
includes/class.WpdiscuzCss.php DELETED
@@ -1,24 +0,0 @@
1
- <?php
2
-
3
- class WpdiscuzCss {
4
-
5
- private $optionsSerialized;
6
-
7
- function __construct($optionsSerialized) {
8
- $this->optionsSerialized = $optionsSerialized;
9
- }
10
-
11
- /**
12
- * init wpdiscuz styles
13
- */
14
- public function initCustomCss() {
15
- global $post;
16
- if ($post && in_array($post->post_type, $this->optionsSerialized->postTypes) && is_singular() && post_type_supports($post->post_type, 'comments')) {
17
- ?>
18
- <style type="text/css">#wpcomm .wc_new_comment{ background:<?php echo $this->optionsSerialized->primaryColor; ?>;} #wpcomm .wc_new_reply{background:<?php echo $this->optionsSerialized->primaryColor; ?>;} #wpcomm .wc-form-wrapper{background:<?php echo isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#f9f9f9'; ?>;} #wpcomm select, #wpcomm textarea, #wpcomm input[type="text"], #wpcomm input[type="email"], #wpcomm input[type="url"]{ border:<?php echo $this->optionsSerialized->inputBorderColor; ?> 1px solid;} #wpcomm .wc-comment .wc-comment-right{ background:<?php echo $this->optionsSerialized->commentBGColor; ?>;} #wpcomm .wc-reply .wc-comment-right{ background:<?php echo $this->optionsSerialized->replyBGColor; ?>; } #wpcomm .wc-comment-text{ font-size:<?php echo isset($this->optionsSerialized->commentTextSize) ? $this->optionsSerialized->commentTextSize : '14px'; ?>;color:<?php echo $this->optionsSerialized->commentTextColor; ?>;} <?php $blogRoles = $this->optionsSerialized->blogRoles; if(!$blogRoles){echo '.wc-comment-author a{ color:#00B38F;} .wc-comment-label{background:#00B38F;}';}foreach ($blogRoles as $role => $color) { echo '#wpcomm .wc-blog-' . $role . ' > .wc-comment-right .wc-comment-author, #wpcomm .wc-blog-' . $role . ' > .wc-comment-right .wc-comment-author a{ color:' . $color . ';} '; echo '#wpcomm .wc-blog-' . $role . ' > .wc-comment-left .wc-comment-label{background:' . $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->optionsSerialized->voteReplyColor; ?>; } #wpcomm .wc-comment-footer .wc-vote-result{ background:<?php echo $this->optionsSerialized->voteReplyColor; ?>;} #wpcomm .wc-reply-link, #wpcomm .wc-vote-link, #wpcomm .wc-share-link {color: <?php echo $this->optionsSerialized->voteReplyColor; ?>; }.wc-load-more-submit {border: 1px solid <?php echo $this->optionsSerialized->inputBorderColor; ?>;} #wc_openModalFormAction > div#wc_response_info a.close { background: url("<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/x.png'); ?>") no-repeat;}#wpcomm .wc-new-loaded-comment > .wc-comment-right {background: <?php echo $this->optionsSerialized->newLoadedCommentBGColor; ?>;} <?php echo stripslashes($this->optionsSerialized->customCss); ?> .wpdiscuz-front-actions{ background:<?php echo isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#f9f9f9'; ?>; } .wpdiscuz-subscribe-bar{ background:<?php echo isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#f9f9f9'; ?>; } .wpdiscuz-sort-buttons{ color:<?php echo $this->optionsSerialized->voteReplyColor; ?>; } .wpdiscuz-sort-button{ color:<?php echo $this->optionsSerialized->voteReplyColor; ?>; cursor:pointer; } .wpdiscuz-sort-button:hover{ color: <?php echo $this->optionsSerialized->primaryColor; ?>; cursor:pointer; } .wpdiscuz-sort-button-active{ color: <?php echo $this->optionsSerialized->primaryColor; ?>!important; cursor:default!important; }#wpcomm .page-numbers{ color:<?php echo $this->optionsSerialized->commentTextColor; ?>; border:<?php echo $this->optionsSerialized->commentTextColor; ?> 1px solid; } #wpcomm span.current{ background:<?php echo $this->optionsSerialized->commentTextColor; ?>; }</style>
19
- <?php
20
- }
21
- }
22
-
23
- }
24
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/dynamic.css.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php header('Content-type: text/css'); ?>
2
+ #wpcomm .wc_new_comment{ background:<?php echo $this->optionsSerialized->primaryColor; ?>;} #wpcomm .wc_new_reply{background:<?php echo $this->optionsSerialized->primaryColor; ?>;} #wpcomm .wc-form-wrapper{background:<?php echo isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#f9f9f9'; ?>;} #wpcomm select, #wpcomm textarea, #wpcomm input[type="text"], #wpcomm input[type="email"], #wpcomm input[type="url"]{ border:<?php echo $this->optionsSerialized->inputBorderColor; ?> 1px solid;} #wpcomm .wc-comment .wc-comment-right{ background:<?php echo $this->optionsSerialized->commentBGColor; ?>;} #wpcomm .wc-reply .wc-comment-right{ background:<?php echo $this->optionsSerialized->replyBGColor; ?>; } #wpcomm .wc-comment-text{ font-size:<?php echo isset($this->optionsSerialized->commentTextSize) ? $this->optionsSerialized->commentTextSize : '14px'; ?>;color:<?php echo $this->optionsSerialized->commentTextColor; ?>;} <?php
3
+ $blogRoles = $this->optionsSerialized->blogRoles;
4
+ if (!$blogRoles) {
5
+ echo '.wc-comment-author a{ color:#00B38F;} .wc-comment-label{background:#00B38F;}';
6
+ }foreach ($blogRoles as $role => $color) {
7
+ echo '#wpcomm .wc-blog-' . $role . ' > .wc-comment-right .wc-comment-author, #wpcomm .wc-blog-' . $role . ' > .wc-comment-right .wc-comment-author a{ color:' . $color . ';} ';
8
+ echo '#wpcomm .wc-blog-' . $role . ' > .wc-comment-left .wc-comment-label{background:' . $color . ';}';
9
+ }
10
+ ?> #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->optionsSerialized->voteReplyColor; ?>; } #wpcomm .wc-comment-footer .wc-vote-result{ background:<?php echo $this->optionsSerialized->voteReplyColor; ?>;} #wpcomm .wc-reply-link, #wpcomm .wc-vote-link, #wpcomm .wc-share-link {color: <?php echo $this->optionsSerialized->voteReplyColor; ?>; }.wc-load-more-submit {border: 1px solid <?php echo $this->optionsSerialized->inputBorderColor; ?>;} #wc_openModalFormAction > div#wc_response_info a.close { background: url("<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/x.png'); ?>") no-repeat;}#wpcomm .wc-new-loaded-comment > .wc-comment-right {background: <?php echo $this->optionsSerialized->newLoadedCommentBGColor; ?>;} <?php echo stripslashes($this->optionsSerialized->customCss); ?> .wpdiscuz-front-actions{ background:<?php echo isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#f9f9f9'; ?>; } .wpdiscuz-subscribe-bar{ background:<?php echo isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#f9f9f9'; ?>; } .wpdiscuz-sort-buttons{ color:<?php echo $this->optionsSerialized->voteReplyColor; ?>; } .wpdiscuz-sort-button{ color:<?php echo $this->optionsSerialized->voteReplyColor; ?>; cursor:pointer; } .wpdiscuz-sort-button:hover{ color: <?php echo $this->optionsSerialized->primaryColor; ?>; cursor:pointer; } .wpdiscuz-sort-button-active{ color: <?php echo $this->optionsSerialized->primaryColor; ?>!important; cursor:default!important; }#wpcomm .page-numbers{ color:<?php echo $this->optionsSerialized->commentTextColor; ?>; border:<?php echo $this->optionsSerialized->commentTextColor; ?> 1px solid; } #wpcomm span.current{ background:<?php echo $this->optionsSerialized->commentTextColor; ?>; }
includes/index.html ADDED
File without changes
index.html ADDED
File without changes
languages/index.html ADDED
File without changes
languages/wpdiscuz-en.mo DELETED
Binary file
languages/wpdiscuz-en.po DELETED
@@ -1,1209 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: wpDiscuz - Wordpress Comments\n"
4
- "POT-Creation-Date: 2015-05-28 23:58+0400\n"
5
- "PO-Revision-Date: 2015-05-28 23:58+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.8.1\n"
13
- "X-Poedit-Basepath: ..\n"
14
- "X-Poedit-WPHeader: wc.php\n"
15
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
- "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
19
- "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Poedit-SearchPathExcluded-0: *.js\n"
22
-
23
- #: comment-form/form.php:185 comment-form/tpl-comment.php:263
24
- msgid "Participate in this discussion via email"
25
- msgstr ""
26
-
27
- #: comment-form/form.php:323
28
- msgid "Connect with"
29
- msgstr ""
30
-
31
- #: comment-form/tpl-comment.php:174
32
- #: options/phrases-layout/phrases-comment.php:27
33
- #: options/wc-options-serialize.php:439
34
- msgid "Edit"
35
- msgstr ""
36
-
37
- #: comment-form/tpl-comment.php:385 wc.php:321
38
- msgid "Anonymous"
39
- msgstr ""
40
-
41
- #: options/options-layouts/settings-general.php:2
42
- msgid "General Settings"
43
- msgstr ""
44
-
45
- #: options/options-layouts/settings-general.php:7
46
- msgid "Display comment form for post types:"
47
- msgstr ""
48
-
49
- #: options/options-layouts/settings-general.php:28
50
- msgid "User Must be registered to comment"
51
- msgstr ""
52
-
53
- #: options/options-layouts/settings-general.php:34
54
- msgid "Yes"
55
- msgstr ""
56
-
57
- #: options/options-layouts/settings-general.php:38
58
- msgid "No"
59
- msgstr ""
60
-
61
- #: options/options-layouts/settings-general.php:46
62
- msgid "Comment author must fill out name"
63
- msgstr ""
64
-
65
- #: options/options-layouts/settings-general.php:57
66
- msgid "Comment author must fill out email"
67
- msgstr ""
68
-
69
- #: options/options-layouts/settings-general.php:68
70
- msgid "Show the latest comments on"
71
- msgstr ""
72
-
73
- #: options/options-layouts/settings-general.php:72
74
- msgid "the top of the list"
75
- msgstr ""
76
-
77
- #: options/options-layouts/settings-general.php:74
78
- msgid "top of the threads"
79
- msgstr ""
80
-
81
- #: options/options-layouts/settings-general.php:76
82
- msgid "bottom of the threads"
83
- msgstr ""
84
-
85
- #: options/options-layouts/settings-general.php:78
86
- msgid "the bottom of the list"
87
- msgstr ""
88
-
89
- #: options/options-layouts/settings-general.php:86
90
- msgid "Comment Threads Per Page"
91
- msgstr ""
92
-
93
- #: options/options-layouts/settings-general.php:97
94
- msgid "Comment text max length"
95
- msgstr ""
96
-
97
- #: options/options-layouts/settings-general.php:108
98
- msgid "Comments max depth"
99
- msgstr ""
100
-
101
- #: options/options-layouts/settings-general.php:113
102
- msgid "Level"
103
- msgstr ""
104
-
105
- #: options/options-layouts/settings-general.php:114
106
- #: options/options-layouts/settings-general.php:115
107
- #: options/options-layouts/settings-general.php:116
108
- #: options/options-layouts/settings-general.php:117
109
- msgid "Levels"
110
- msgstr ""
111
-
112
- #: options/options-layouts/settings-general.php:124
113
- msgid "Comment text size in pixels"
114
- msgstr ""
115
-
116
- #: options/options-layouts/settings-general.php:141
117
- msgid "Allow comment editing for"
118
- msgstr ""
119
-
120
- #: options/options-layouts/settings-general.php:146
121
- msgid "Not Allow"
122
- msgstr ""
123
-
124
- #: options/options-layouts/settings-general.php:147
125
- #: options/options-layouts/settings-general.php:148
126
- #: options/options-layouts/settings-live-update.php:41
127
- #: options/options-layouts/settings-live-update.php:42
128
- #: options/options-layouts/settings-live-update.php:43
129
- msgid "Minutes"
130
- msgstr ""
131
-
132
- #: options/options-layouts/settings-general.php:149
133
- #: options/phrases-layout/phrases-datetime.php:73
134
- msgid "Hour"
135
- msgstr ""
136
-
137
- #: options/options-layouts/settings-general.php:150
138
- #: options/options-layouts/settings-general.php:151
139
- msgid "Hours"
140
- msgstr ""
141
-
142
- #: options/options-layouts/settings-general.php:158
143
- msgid "Redirect first commenter to"
144
- msgstr ""
145
-
146
- #: options/options-layouts/settings-general.php:165
147
- msgid "Do not redirect"
148
- msgstr ""
149
-
150
- #: options/options-layouts/settings-general.php:174
151
- msgid "Allow guests to vote on comments"
152
- msgstr ""
153
-
154
- #: options/options-layouts/settings-general.php:184
155
- msgid "Load rest of all comments on clicking the [Load More Comments] button"
156
- msgstr ""
157
-
158
- #: options/options-layouts/settings-general.php:195
159
- msgid "Use WordPress Date/Time format"
160
- msgstr ""
161
-
162
- #: options/options-layouts/settings-general.php:196
163
- msgid ""
164
- "wpDiscuz shows Human Readable date format. If you check this option it'll "
165
- "show the date/time format set in WordPress General Settings."
166
- msgstr ""
167
-
168
- #: options/options-layouts/settings-general.php:203
169
- msgid "Current Wordpress date/time format"
170
- msgstr ""
171
-
172
- #: options/options-layouts/settings-general.php:209
173
- msgid "Use Plugin .PO/.MO files"
174
- msgstr ""
175
-
176
- #: options/options-layouts/settings-general.php:210
177
- msgid ""
178
- "wpDiscuz phrase system allows you to translate all front-end phrases. "
179
- "However if you have a multi-language website it'll not allow you to add more "
180
- "than one language translation. The only way to get it is the plugin "
181
- "translation files (.PO / .MO). If wpDiscuz has the languages you need you "
182
- "should check this option to disable phrase system and it'll automatically "
183
- "translate all phrases based on language files according to current language."
184
- msgstr ""
185
-
186
- #: options/options-layouts/settings-general.php:222
187
- msgid ""
188
- "Help wpDiscuz to grow allowing people to recognize which comment plugin you "
189
- "use"
190
- msgstr ""
191
-
192
- #: options/options-layouts/settings-general.php:224
193
- msgid ""
194
- "Please check this option on to help wpDiscuz get more popularity as your "
195
- "thank to the hard work we do for you totally free. This option adds a very "
196
- "small (16x16px) icon under the comment section which will allow your site "
197
- "visitors recognize the name of comment solution you use."
198
- msgstr ""
199
-
200
- #: options/options-layouts/settings-general.php:229
201
- msgid "Thank you!"
202
- msgstr ""
203
-
204
- #: options/options-layouts/settings-live-update.php:2
205
- #: options/wc-options.php:180
206
- msgid "Live Update"
207
- msgstr ""
208
-
209
- #: options/options-layouts/settings-live-update.php:8
210
- msgid "Live update options"
211
- msgstr ""
212
-
213
- #: options/options-layouts/settings-live-update.php:9
214
- msgid ""
215
- "If you use Shared Web Hosting you should make sure the \"Live Update\" "
216
- "function doesn't overload your server resources. This function is good for "
217
- "VPS and Dedicated Hosting Plans."
218
- msgstr ""
219
-
220
- #: options/options-layouts/settings-live-update.php:14
221
- msgid "Never update"
222
- msgstr ""
223
-
224
- #: options/options-layouts/settings-live-update.php:16
225
- msgid "Turn off \"Live Update\" function"
226
- msgstr ""
227
-
228
- #: options/options-layouts/settings-live-update.php:18
229
- msgid "Show new comment/reply buttons to update manualy"
230
- msgstr ""
231
-
232
- #: options/options-layouts/settings-live-update.php:20
233
- msgid "Always check for new comments and show update buttons"
234
- msgstr ""
235
-
236
- #: options/options-layouts/settings-live-update.php:22
237
- msgid "Always update"
238
- msgstr ""
239
-
240
- #: options/options-layouts/settings-live-update.php:24
241
- msgid "Always check for new comments and update automatically"
242
- msgstr ""
243
-
244
- #: options/options-layouts/settings-live-update.php:32
245
- msgid "Update comment list every"
246
- msgstr ""
247
-
248
- #: options/options-layouts/settings-live-update.php:37
249
- #: options/options-layouts/settings-live-update.php:38
250
- #: options/options-layouts/settings-live-update.php:39
251
- msgid "Seconds"
252
- msgstr ""
253
-
254
- #: options/options-layouts/settings-live-update.php:40
255
- #: options/phrases-layout/phrases-datetime.php:95
256
- msgid "Minute"
257
- msgstr ""
258
-
259
- #: options/options-layouts/settings-show-hide.php:2 options/wc-options.php:181
260
- msgid "Show/Hide Components"
261
- msgstr ""
262
-
263
- #: options/options-layouts/settings-show-hide.php:7
264
- msgid "Show logged-in user name and logout link on top of main form"
265
- msgstr ""
266
-
267
- #: options/options-layouts/settings-show-hide.php:17
268
- msgid "Hide Reply button for Guests"
269
- msgstr ""
270
-
271
- #: options/options-layouts/settings-show-hide.php:27
272
- msgid "Hide Reply button for Members"
273
- msgstr ""
274
-
275
- #: options/options-layouts/settings-show-hide.php:37
276
- msgid "Hide Author Titles"
277
- msgstr ""
278
-
279
- #: options/options-layouts/settings-show-hide.php:47
280
- msgid "Hide Voting buttons"
281
- msgstr ""
282
-
283
- #: options/options-layouts/settings-show-hide.php:57
284
- msgid "Hide Share Buttons"
285
- msgstr ""
286
-
287
- #: options/options-layouts/settings-show-hide.php:67
288
- msgid "Hide the CAPTCHA field"
289
- msgstr ""
290
-
291
- #: options/options-layouts/settings-show-hide.php:77
292
- msgid "Hide the Website URL field"
293
- msgstr ""
294
-
295
- #: options/options-layouts/settings-show-hide.php:87
296
- msgid "Hide header text"
297
- msgstr ""
298
-
299
- #: options/options-layouts/settings-show-hide.php:97
300
- msgid "Hide user avatar"
301
- msgstr ""
302
-
303
- #: options/options-layouts/settings-social.php:10
304
- #: options/options-layouts/settings-social.php:12
305
- #: options/options-layouts/settings-social.php:14 wc.php:1018
306
- msgid "Settings"
307
- msgstr ""
308
-
309
- #: options/options-layouts/settings-social.php:19
310
- #: options/options-layouts/settings-social.php:29
311
- #: options/options-layouts/settings-social.php:39
312
- msgid "Activate"
313
- msgstr ""
314
-
315
- #: options/options-layouts/settings-social.php:23
316
- #: options/options-layouts/settings-social.php:33
317
- #: options/options-layouts/settings-social.php:43
318
- msgid "View details/Install"
319
- msgstr ""
320
-
321
- #: options/options-layouts/settings-social.php:75 options/wc-options.php:184
322
- msgid "Social Login"
323
- msgstr ""
324
-
325
- #: options/options-layouts/settings-social.php:76
326
- msgid ""
327
- "You can use one of these most popular Social Login Plugins to allow your "
328
- "visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, "
329
- "OK and lots of other social network service accounts. All social login "
330
- "buttons will be fully integrated with wpDiscuz comment forms."
331
- msgstr ""
332
-
333
- #: options/options-layouts/settings-style.php:2 options/wc-options.php:183
334
- msgid "Background and Colors"
335
- msgstr ""
336
-
337
- #: options/options-layouts/settings-style.php:7
338
- msgid "Comment Form Background Color"
339
- msgstr ""
340
-
341
- #: options/options-layouts/settings-style.php:10
342
- #: options/options-layouts/settings-style.php:34
343
- #: options/options-layouts/settings-style.php:58
344
- #: options/options-layouts/settings-style.php:82
345
- #: options/options-layouts/settings-style.php:107
346
- #: options/options-layouts/settings-style.php:132
347
- #: options/options-layouts/settings-style.php:155
348
- #: options/options-layouts/settings-style.php:178
349
- msgid "Example: #00ff00"
350
- msgstr ""
351
-
352
- #: options/options-layouts/settings-style.php:31
353
- msgid "Comment Background Color"
354
- msgstr ""
355
-
356
- #: options/options-layouts/settings-style.php:55
357
- msgid "Reply Background Color"
358
- msgstr ""
359
-
360
- #: options/options-layouts/settings-style.php:79
361
- msgid "Comment Text Color"
362
- msgstr ""
363
-
364
- #: options/options-layouts/settings-style.php:104
365
- msgid "Author title color"
366
- msgstr ""
367
-
368
- #: options/options-layouts/settings-style.php:129
369
- msgid "Vote, Reply, Share, Edit links text colors"
370
- msgstr ""
371
-
372
- #: options/options-layouts/settings-style.php:152
373
- msgid "Comment form fields border color"
374
- msgstr ""
375
-
376
- #: options/options-layouts/settings-style.php:175
377
- msgid "New loaded comments' background color"
378
- msgstr ""
379
-
380
- #: options/options-layouts/settings-style.php:199
381
- msgid "Custom CSS Code"
382
- msgstr ""
383
-
384
- #: options/options-layouts/settings-subscription.php:2
385
- msgid "Email Subscription Settings"
386
- msgstr ""
387
-
388
- #: options/options-layouts/settings-subscription.php:7
389
- msgid "Show \"Notify of all new follow-up comments\""
390
- msgstr ""
391
-
392
- #: options/options-layouts/settings-subscription.php:8
393
- msgid "Show \"Notify of new replies to all my comments\""
394
- msgstr ""
395
-
396
- #: options/options-layouts/settings-subscription.php:9
397
- msgid "Show \"Notify of new replies to this comment\""
398
- msgstr ""
399
-
400
- #: options/options-layouts/settings-subscription.php:11
401
- msgid ""
402
- "Please keep all three or at least one of those options ON, otherwise users "
403
- "will not have any option for email notifications and they'll not get any "
404
- "messages."
405
- msgstr ""
406
-
407
- #: options/options-layouts/settings-subscription.php:30
408
- msgid "Use Postmatic for subscriptions and commenting by email"
409
- msgstr ""
410
-
411
- #: options/options-layouts/settings-subscription.php:31
412
- msgid ""
413
- "Postmatic allows your users subscribe to comments. Instead of just being "
414
- "notified, they add a reply right from their inbox."
415
- msgstr ""
416
-
417
- #: options/options-layouts/settings-subscription.php:42
418
- msgid ""
419
- "Keep selected the email notification of all new follow-up comments by default"
420
- msgstr ""
421
-
422
- #: options/options-layouts/settings-subscription.php:43
423
- msgid ""
424
- "If this option is checked-on, in Manage Subscriptions section of comment "
425
- "forms will only be displayed the \"Notify of all new follow-up comments\" "
426
- "option and this option will always be selected by default."
427
- msgstr ""
428
-
429
- #: options/phrases-layout/phrases-comment.php:2
430
- msgid "Comment Template Phrases"
431
- msgstr ""
432
-
433
- #: options/phrases-layout/phrases-comment.php:7
434
- #: options/wc-options-serialize.php:437
435
- msgid "Reply"
436
- msgstr ""
437
-
438
- #: options/phrases-layout/phrases-comment.php:17
439
- #: options/wc-options-serialize.php:438
440
- msgid "Share"
441
- msgstr ""
442
-
443
- #: options/phrases-layout/phrases-comment.php:37
444
- #: options/wc-options-serialize.php:440
445
- msgid "Share On Facebook"
446
- msgstr ""
447
-
448
- #: options/phrases-layout/phrases-comment.php:47
449
- #: options/wc-options-serialize.php:441
450
- msgid "Share On Twitter"
451
- msgstr ""
452
-
453
- #: options/phrases-layout/phrases-comment.php:57
454
- #: options/wc-options-serialize.php:442
455
- msgid "Share On Google"
456
- msgstr ""
457
-
458
- #: options/phrases-layout/phrases-comment.php:67
459
- #: options/wc-options-serialize.php:443
460
- msgid "Share On VKontakte"
461
- msgstr ""
462
-
463
- #: options/phrases-layout/phrases-comment.php:77
464
- #: options/wc-options-serialize.php:444
465
- msgid "Share On Odnoklassniki"
466
- msgstr ""
467
-
468
- #: options/phrases-layout/phrases-comment.php:87
469
- #: options/wc-options-serialize.php:445
470
- msgid "Hide Replies"
471
- msgstr ""
472
-
473
- #: options/phrases-layout/phrases-comment.php:97
474
- #: options/wc-options-serialize.php:446
475
- msgid "Show Replies"
476
- msgstr ""
477
-
478
- #: options/phrases-layout/phrases-comment.php:107
479
- msgid "Title For Guests"
480
- msgstr ""
481
-
482
- #: options/phrases-layout/phrases-comment.php:117
483
- msgid "Title For Members"
484
- msgstr ""
485
-
486
- #: options/phrases-layout/phrases-comment.php:127
487
- msgid "Title For Authors"
488
- msgstr ""
489
-
490
- #: options/phrases-layout/phrases-comment.php:137
491
- msgid "Title For Admins"
492
- msgstr ""
493
-
494
- #: options/phrases-layout/phrases-comment.php:147
495
- #: options/wc-options-serialize.php:488
496
- msgid "Vote Up"
497
- msgstr ""
498
-
499
- #: options/phrases-layout/phrases-comment.php:157
500
- #: options/wc-options-serialize.php:489
501
- msgid "Vote Down"
502
- msgstr ""
503
-
504
- #: options/phrases-layout/phrases-comment.php:167
505
- msgid "Save edited comment button text"
506
- msgstr ""
507
-
508
- #: options/phrases-layout/phrases-comment.php:171
509
- #: options/wc-options-serialize.php:507
510
- msgid "Save"
511
- msgstr ""
512
-
513
- #: options/phrases-layout/phrases-comment.php:177
514
- msgid "Cancel comment editing button text"
515
- msgstr ""
516
-
517
- #: options/phrases-layout/phrases-comment.php:181
518
- #: options/wc-options-serialize.php:508
519
- msgid "Cancel"
520
- msgstr ""
521
-
522
- #: options/phrases-layout/phrases-datetime.php:2
523
- msgid "Date/Time Phrases"
524
- msgstr ""
525
-
526
- #: options/phrases-layout/phrases-datetime.php:7
527
- msgid "Year"
528
- msgstr ""
529
-
530
- #: options/phrases-layout/phrases-datetime.php:18
531
- msgid "Years (Plural Form)"
532
- msgstr ""
533
-
534
- #: options/phrases-layout/phrases-datetime.php:22
535
- msgid "Years"
536
- msgstr ""
537
-
538
- #: options/phrases-layout/phrases-datetime.php:29
539
- msgid "Month"
540
- msgstr ""
541
-
542
- #: options/phrases-layout/phrases-datetime.php:40
543
- msgid "Months (Plural Form)"
544
- msgstr ""
545
-
546
- #: options/phrases-layout/phrases-datetime.php:51
547
- msgid "Day"
548
- msgstr ""
549
-
550
- #: options/phrases-layout/phrases-datetime.php:62
551
- msgid "Days (Plural Form)"
552
- msgstr ""
553
-
554
- #: options/phrases-layout/phrases-datetime.php:84
555
- msgid "Hours (Plural Form)"
556
- msgstr ""
557
-
558
- #: options/phrases-layout/phrases-datetime.php:106
559
- msgid "Minutes (Plural Form)"
560
- msgstr ""
561
-
562
- #: options/phrases-layout/phrases-datetime.php:117
563
- msgid "Second"
564
- msgstr ""
565
-
566
- #: options/phrases-layout/phrases-datetime.php:128
567
- msgid "Seconds (Plural Form)"
568
- msgstr ""
569
-
570
- #: options/phrases-layout/phrases-datetime.php:138
571
- msgid "Commented \"right now\" text"
572
- msgstr ""
573
-
574
- #: options/phrases-layout/phrases-datetime.php:149
575
- msgid "Ago text"
576
- msgstr ""
577
-
578
- #: options/phrases-layout/phrases-datetime.php:160
579
- msgid "\"Today\" text"
580
- msgstr ""
581
-
582
- #: options/phrases-layout/phrases-datetime.php:164
583
- #: options/wc-options-serialize.php:482
584
- msgid "Today"
585
- msgstr ""
586
-
587
- #: options/phrases-layout/phrases-email.php:2
588
- msgid "Email Template Phrases"
589
- msgstr ""
590
-
591
- #: options/phrases-layout/phrases-email.php:7
592
- msgid "Email Subject"
593
- msgstr ""
594
-
595
- #: options/phrases-layout/phrases-email.php:18
596
- msgid "Email Message"
597
- msgstr ""
598
-
599
- #: options/phrases-layout/phrases-email.php:29
600
- msgid "New Reply Subject"
601
- msgstr ""
602
-
603
- #: options/phrases-layout/phrases-email.php:33
604
- #: options/phrases-layout/phrases-general.php:101
605
- #: options/wc-options-serialize.php:453
606
- msgid "New Reply"
607
- msgstr ""
608
-
609
- #: options/phrases-layout/phrases-email.php:40
610
- msgid "New Reply Message"
611
- msgstr ""
612
-
613
- #: options/phrases-layout/phrases-email.php:50
614
- #: options/phrases-layout/phrases-email.php:54
615
- #: options/wc-options-serialize.php:458
616
- msgid "Unsubscribe"
617
- msgstr ""
618
-
619
- #: options/phrases-layout/phrases-email.php:61
620
- #: options/phrases-layout/phrases-email.php:65
621
- #: options/wc-options-serialize.php:459
622
- msgid "Ignore Subscription"
623
- msgstr ""
624
-
625
- #: options/phrases-layout/phrases-email.php:72
626
- #: options/phrases-layout/phrases-email.php:76
627
- #: options/wc-options-serialize.php:461
628
- msgid "Confirm your subscription"
629
- msgstr ""
630
-
631
- #: options/phrases-layout/phrases-email.php:82
632
- #: options/phrases-layout/phrases-email.php:86
633
- #: options/wc-options-serialize.php:462
634
- msgid "You've successfully confirmed your subscription."
635
- msgstr ""
636
-
637
- #: options/phrases-layout/phrases-email.php:92
638
- msgid "Subscribe Confirmation Email Subject"
639
- msgstr ""
640
-
641
- #: options/phrases-layout/phrases-email.php:96
642
- #: options/wc-options-serialize.php:463 wc.php:941
643
- msgid "Subscribe Confirmation"
644
- msgstr ""
645
-
646
- #: options/phrases-layout/phrases-email.php:103
647
- msgid "Subscribe Confirmation Email Content"
648
- msgstr ""
649
-
650
- #: options/phrases-layout/phrases-email.php:107
651
- #: options/wc-options-serialize.php:464 wc.php:942
652
- msgid ""
653
- "Hi, <br/> You just subscribed for new comments on our website. This means "
654
- "you will receive an email when new comments are posted according to "
655
- "subscription option you've chosen. <br/> To activate, click confirm below. "
656
- "If you believe this is an error, ignore this message and we'll never bother "
657
- "you again."
658
- msgstr ""
659
-
660
- #: options/phrases-layout/phrases-form.php:2
661
- msgid "Form Template Phrases"
662
- msgstr ""
663
-
664
- #: options/phrases-layout/phrases-form.php:7
665
- msgid "Comment Field Start"
666
- msgstr ""
667
-
668
- #: options/phrases-layout/phrases-form.php:17
669
- msgid "Comment Field Join"
670
- msgstr ""
671
-
672
- #: options/phrases-layout/phrases-form.php:27
673
- msgid "Email Field"
674
- msgstr ""
675
-
676
- #: options/phrases-layout/phrases-form.php:37
677
- msgid "Name Field"
678
- msgstr ""
679
-
680
- #: options/phrases-layout/phrases-form.php:47
681
- msgid "WebSite URL Field"
682
- msgstr ""
683
-
684
- #: options/phrases-layout/phrases-form.php:57
685
- msgid "CAPTCHA Field"
686
- msgstr ""
687
-
688
- #: options/phrases-layout/phrases-form.php:67
689
- msgid "Submit Button"
690
- msgstr ""
691
-
692
- #: options/phrases-layout/phrases-form.php:77
693
- #: options/phrases-layout/phrases-form.php:81
694
- #: options/wc-options-serialize.php:430
695
- msgid "Manage Subscriptions"
696
- msgstr ""
697
-
698
- #: options/phrases-layout/phrases-form.php:87
699
- msgid "Notify \"None\""
700
- msgstr ""
701
-
702
- #: options/phrases-layout/phrases-form.php:91
703
- #: options/wc-options-serialize.php:431
704
- msgid "None"
705
- msgstr ""
706
-
707
- #: options/phrases-layout/phrases-form.php:97
708
- msgid "Notify on new comments (checkbox)"
709
- msgstr ""
710
-
711
- #: options/phrases-layout/phrases-form.php:101
712
- #: options/wc-options-serialize.php:432
713
- msgid "Notify of all new follow-up comments"
714
- msgstr ""
715
-
716
- #: options/phrases-layout/phrases-form.php:108
717
- msgid "Notify on all new replies (checkbox)"
718
- msgstr ""
719
-
720
- #: options/phrases-layout/phrases-form.php:112
721
- #: options/wc-options-serialize.php:433
722
- msgid "Notify of new replies to all my comments"
723
- msgstr ""
724
-
725
- #: options/phrases-layout/phrases-form.php:119
726
- msgid "Notify on new replies (checkbox)"
727
- msgstr ""
728
-
729
- #: options/phrases-layout/phrases-form.php:123
730
- #: options/wc-options-serialize.php:434
731
- msgid "Notify of new replies to this comment"
732
- msgstr ""
733
-
734
- #: options/phrases-layout/phrases-form.php:129
735
- msgid "Subscribed on this comment replies"
736
- msgstr ""
737
-
738
- #: options/phrases-layout/phrases-form.php:139
739
- msgid "Subscribed on all your comments replies"
740
- msgstr ""
741
-
742
- #: options/phrases-layout/phrases-form.php:149
743
- msgid "Subscribed on this post"
744
- msgstr ""
745
-
746
- #: options/phrases-layout/phrases-general.php:2
747
- msgid "General Phrases"
748
- msgstr ""
749
-
750
- #: options/phrases-layout/phrases-general.php:7
751
- #: options/wc-options-serialize.php:418
752
- msgid "Leave a Reply"
753
- msgstr ""
754
-
755
- #: options/phrases-layout/phrases-general.php:17
756
- msgid "Be the first to comment"
757
- msgstr ""
758
-
759
- #: options/phrases-layout/phrases-general.php:27
760
- #: options/wc-options-serialize.php:420 options/wc-options.php:353
761
- msgid "Comment"
762
- msgstr ""
763
-
764
- #: options/phrases-layout/phrases-general.php:37
765
- msgid "Comment (Plural Form)"
766
- msgstr ""
767
-
768
- #: options/phrases-layout/phrases-general.php:47
769
- msgid "On"
770
- msgstr ""
771
-
772
- #: options/phrases-layout/phrases-general.php:57
773
- msgid "Load More Button"
774
- msgstr ""
775
-
776
- #: options/phrases-layout/phrases-general.php:67
777
- #: options/wc-options-serialize.php:436
778
- msgid "Load Rest of Comments"
779
- msgstr ""
780
-
781
- #: options/phrases-layout/phrases-general.php:77
782
- msgid "Button text if has new comment"
783
- msgstr ""
784
-
785
- #: options/phrases-layout/phrases-general.php:81
786
- #: options/wc-options-serialize.php:451
787
- msgid "New Comment"
788
- msgstr ""
789
-
790
- #: options/phrases-layout/phrases-general.php:87
791
- msgid "Button text if has new comments (Plural Form)"
792
- msgstr ""
793
-
794
- #: options/phrases-layout/phrases-general.php:91
795
- msgid "New Comments"
796
- msgstr ""
797
-
798
- #: options/phrases-layout/phrases-general.php:97
799
- msgid "Button text if has new reply"
800
- msgstr ""
801
-
802
- #: options/phrases-layout/phrases-general.php:107
803
- msgid "Button text if has new replies (Plural Form)"
804
- msgstr ""
805
-
806
- #: options/phrases-layout/phrases-general.php:111
807
- msgid "New Replies"
808
- msgstr ""
809
-
810
- #: options/phrases-layout/phrases-general.php:117
811
- msgid "Text on load more button if has new comment(s)"
812
- msgstr ""
813
-
814
- #: options/phrases-layout/phrases-general.php:121
815
- #: options/wc-options-serialize.php:503
816
- msgid "New"
817
- msgstr ""
818
-
819
- #: options/phrases-layout/phrases-notification.php:2
820
- msgid "Notification Phrases"
821
- msgstr ""
822
-
823
- #: options/phrases-layout/phrases-notification.php:7
824
- #: options/wc-options-serialize.php:460
825
- msgid "You've successfully unsubscribed."
826
- msgstr ""
827
-
828
- #: options/phrases-layout/phrases-notification.php:18
829
- msgid "Error message for empty field"
830
- msgstr ""
831
-
832
- #: options/phrases-layout/phrases-notification.php:28
833
- msgid "Error message for invalid email field"
834
- msgstr ""
835
-
836
- #: options/phrases-layout/phrases-notification.php:38
837
- msgid "Error message for invalid website url field"
838
- msgstr ""
839
-
840
- #: options/phrases-layout/phrases-notification.php:48
841
- #: options/wc-options-serialize.php:483
842
- msgid "You must be"
843
- msgstr ""
844
-
845
- #: options/phrases-layout/phrases-notification.php:58
846
- msgid "Logged in as"
847
- msgstr ""
848
-
849
- #: options/phrases-layout/phrases-notification.php:68
850
- #: options/wc-options-serialize.php:485
851
- msgid "Log out"
852
- msgstr ""
853
-
854
- #: options/phrases-layout/phrases-notification.php:78
855
- msgid "Logged In"
856
- msgstr ""
857
-
858
- #: options/phrases-layout/phrases-notification.php:88
859
- msgid "To post a comment"
860
- msgstr ""
861
-
862
- #: options/phrases-layout/phrases-notification.php:98
863
- #: options/wc-options-serialize.php:490
864
- msgid "Vote Counted"
865
- msgstr ""
866
-
867
- #: options/phrases-layout/phrases-notification.php:108
868
- msgid "You can vote only 1 time"
869
- msgstr ""
870
-
871
- #: options/phrases-layout/phrases-notification.php:118
872
- #: options/wc-options-serialize.php:492
873
- msgid "Voting Error"
874
- msgstr ""
875
-
876
- #: options/phrases-layout/phrases-notification.php:128
877
- msgid "Login To Vote"
878
- msgstr ""
879
-
880
- #: options/phrases-layout/phrases-notification.php:138
881
- msgid "You Cannot Vote On Your Comment"
882
- msgstr ""
883
-
884
- #: options/phrases-layout/phrases-notification.php:148
885
- msgid "You are not allowed to vote for this comment (Voting from same IP)"
886
- msgstr ""
887
-
888
- #: options/phrases-layout/phrases-notification.php:158
889
- #: options/wc-options-serialize.php:496
890
- msgid "Invalid Captcha Code"
891
- msgstr ""
892
-
893
- #: options/phrases-layout/phrases-notification.php:168
894
- #: options/wc-options-serialize.php:497
895
- msgid "Some of field value is invalid"
896
- msgstr ""
897
-
898
- #: options/phrases-layout/phrases-notification.php:178
899
- msgid "Comment waiting moderation"
900
- msgstr ""
901
-
902
- #: options/phrases-layout/phrases-notification.php:188
903
- msgid "Message if comment content length is too long"
904
- msgstr ""
905
-
906
- #: options/phrases-layout/phrases-notification.php:198
907
- msgid "Message if comment was not updated"
908
- msgstr ""
909
-
910
- #: options/phrases-layout/phrases-notification.php:202
911
- #: options/wc-options-serialize.php:504
912
- msgid "Sorry, the comment was not updated"
913
- msgstr ""
914
-
915
- #: options/phrases-layout/phrases-notification.php:208
916
- msgid "Message if comment no longer possible to edit"
917
- msgstr ""
918
-
919
- #: options/phrases-layout/phrases-notification.php:212
920
- #: options/wc-options-serialize.php:505
921
- msgid "Sorry, this comment no longer possible to edit"
922
- msgstr ""
923
-
924
- #: options/phrases-layout/phrases-notification.php:219
925
- msgid "Message if comment text not changed"
926
- msgstr ""
927
-
928
- #: options/phrases-layout/phrases-notification.php:223
929
- msgid "TYou've not made any changes"
930
- msgstr ""
931
-
932
- #: options/wc-options-serialize.php:419
933
- msgid "Be the First to Comment!"
934
- msgstr ""
935
-
936
- #: options/wc-options-serialize.php:421
937
- msgid "Comments"
938
- msgstr ""
939
-
940
- #: options/wc-options-serialize.php:422
941
- msgid "on"
942
- msgstr ""
943
-
944
- #: options/wc-options-serialize.php:423
945
- msgid "Start the discussion"
946
- msgstr ""
947
-
948
- #: options/wc-options-serialize.php:424
949
- msgid "Join the discussion"
950
- msgstr ""
951
-
952
- #: options/wc-options-serialize.php:425 options/wc-options.php:355
953
- msgid "Email"
954
- msgstr ""
955
-
956
- #: options/wc-options-serialize.php:426
957
- msgid "Name"
958
- msgstr ""
959
-
960
- #: options/wc-options-serialize.php:427
961
- msgid "WebSite URL"
962
- msgstr ""
963
-
964
- #: options/wc-options-serialize.php:428
965
- msgid "Please insert the code above to comment"
966
- msgstr ""
967
-
968
- #: options/wc-options-serialize.php:429
969
- msgid "Post Comment"
970
- msgstr ""
971
-
972
- #: options/wc-options-serialize.php:435
973
- msgid "Load More Comments"
974
- msgstr ""
975
-
976
- #: options/wc-options-serialize.php:447
977
- msgid "Guest"
978
- msgstr ""
979
-
980
- #: options/wc-options-serialize.php:448
981
- msgid "Member"
982
- msgstr ""
983
-
984
- #: options/wc-options-serialize.php:449
985
- msgid "Author"
986
- msgstr ""
987
-
988
- #: options/wc-options-serialize.php:450
989
- msgid "Admin"
990
- msgstr ""
991
-
992
- #: options/wc-options-serialize.php:452
993
- msgid "New comment on the discussion section you've been interested in"
994
- msgstr ""
995
-
996
- #: options/wc-options-serialize.php:454
997
- msgid "New reply on the discussion section you've been interested in"
998
- msgstr ""
999
-
1000
- #: options/wc-options-serialize.php:455
1001
- msgid "You're subscribed for new replies on this comment"
1002
- msgstr ""
1003
-
1004
- #: options/wc-options-serialize.php:456
1005
- msgid "You're subscribed for new replies on all your comments"
1006
- msgstr ""
1007
-
1008
- #: options/wc-options-serialize.php:457
1009
- msgid "You're subscribed for new follow-up comments on this post"
1010
- msgstr ""
1011
-
1012
- #: options/wc-options-serialize.php:465
1013
- msgid "please fill out this field to comment"
1014
- msgstr ""
1015
-
1016
- #: options/wc-options-serialize.php:466
1017
- msgid "email address is invalid"
1018
- msgstr ""
1019
-
1020
- #: options/wc-options-serialize.php:467
1021
- msgid "url is invalid"
1022
- msgstr ""
1023
-
1024
- #: options/wc-options-serialize.php:468
1025
- msgid "year"
1026
- msgstr ""
1027
-
1028
- #: options/wc-options-serialize.php:469
1029
- msgid "years"
1030
- msgstr ""
1031
-
1032
- #: options/wc-options-serialize.php:470
1033
- msgid "month"
1034
- msgstr ""
1035
-
1036
- #: options/wc-options-serialize.php:471
1037
- msgid "months"
1038
- msgstr ""
1039
-
1040
- #: options/wc-options-serialize.php:472
1041
- msgid "day"
1042
- msgstr ""
1043
-
1044
- #: options/wc-options-serialize.php:473
1045
- msgid "days"
1046
- msgstr ""
1047
-
1048
- #: options/wc-options-serialize.php:474
1049
- msgid "hour"
1050
- msgstr ""
1051
-
1052
- #: options/wc-options-serialize.php:475
1053
- msgid "hours"
1054
- msgstr ""
1055
-
1056
- #: options/wc-options-serialize.php:476
1057
- msgid "minute"
1058
- msgstr ""
1059
-
1060
- #: options/wc-options-serialize.php:477
1061
- msgid "minutes"
1062
- msgstr ""
1063
-
1064
- #: options/wc-options-serialize.php:478
1065
- msgid "second"
1066
- msgstr ""
1067
-
1068
- #: options/wc-options-serialize.php:479
1069
- msgid "seconds"
1070
- msgstr ""
1071
-
1072
- #: options/wc-options-serialize.php:480
1073
- msgid "right now"
1074
- msgstr ""
1075
-
1076
- #: options/wc-options-serialize.php:481
1077
- msgid "ago"
1078
- msgstr ""
1079
-
1080
- #: options/wc-options-serialize.php:484
1081
- msgid "You are logged in as"
1082
- msgstr ""
1083
-
1084
- #: options/wc-options-serialize.php:486
1085
- msgid "logged in"
1086
- msgstr ""
1087
-
1088
- #: options/wc-options-serialize.php:487
1089
- msgid "to post a comment."
1090
- msgstr ""
1091
-
1092
- #: options/wc-options-serialize.php:491
1093
- msgid "You've already voted for this comment"
1094
- msgstr ""
1095
-
1096
- #: options/wc-options-serialize.php:493
1097
- msgid "You Must Be Logged In To Vote"
1098
- msgstr ""
1099
-
1100
- #: options/wc-options-serialize.php:494
1101
- msgid "You cannot vote for your comment"
1102
- msgstr ""
1103
-
1104
- #: options/wc-options-serialize.php:495
1105
- msgid "You are not allowed to vote for this comment"
1106
- msgstr ""
1107
-
1108
- #: options/wc-options-serialize.php:498
1109
- msgid "new comment"
1110
- msgstr ""
1111
-
1112
- #: options/wc-options-serialize.php:499
1113
- msgid "new comments"
1114
- msgstr ""
1115
-
1116
- #: options/wc-options-serialize.php:500
1117
- msgid "Comment awaiting moderation"
1118
- msgstr ""
1119
-
1120
- #: options/wc-options-serialize.php:501
1121
- msgid "new reply on your comment"
1122
- msgstr ""
1123
-
1124
- #: options/wc-options-serialize.php:502
1125
- msgid "new replies on your comments"
1126
- msgstr ""
1127
-
1128
- #: options/wc-options-serialize.php:506
1129
- msgid "You've not made any changes"
1130
- msgstr ""
1131
-
1132
- #: options/wc-options-serialize.php:509
1133
- #, php-format
1134
- msgid "Comment text is too long (maximum %s characters allowed)"
1135
- msgstr ""
1136
-
1137
- #: options/wc-options.php:28 options/wc-options.php:232
1138
- msgid "Hacker?"
1139
- msgstr ""
1140
-
1141
- #: options/wc-options.php:87
1142
- msgid "wpDiscuz General Settings"
1143
- msgstr ""
1144
-
1145
- #: options/wc-options.php:179
1146
- msgid "General settings"
1147
- msgstr ""
1148
-
1149
- #: options/wc-options.php:182
1150
- msgid "Email Subscription"
1151
- msgstr ""
1152
-
1153
- #: options/wc-options.php:182
1154
- msgid "and Postmatic"
1155
- msgstr ""
1156
-
1157
- #: options/wc-options.php:213 options/wc-options.php:383
1158
- msgid "Save Changes"
1159
- msgstr ""
1160
-
1161
- #: options/wc-options.php:214
1162
- msgid "Reset Options"
1163
- msgstr ""
1164
-
1165
- #: options/wc-options.php:341
1166
- msgid "WpDiscuz Front-end Phrases"
1167
- msgstr ""
1168
-
1169
- #: options/wc-options.php:351
1170
- msgid "General"
1171
- msgstr ""
1172
-
1173
- #: options/wc-options.php:352
1174
- msgid "Form"
1175
- msgstr ""
1176
-
1177
- #: options/wc-options.php:354
1178
- msgid "Date/Time"
1179
- msgstr ""
1180
-
1181
- #: options/wc-options.php:356
1182
- msgid "Notification"
1183
- msgstr ""
1184
-
1185
- #: wc.php:1020
1186
- msgid "Phrases"
1187
- msgstr ""
1188
-
1189
- #. Plugin Name of the plugin/theme
1190
- msgid "wpDiscuz - Wordpress Comments"
1191
- msgstr ""
1192
-
1193
- #. Plugin URI of the plugin/theme
1194
- msgid "http://www.gvectors.com/wpdiscuz/"
1195
- msgstr ""
1196
-
1197
- #. Description of the plugin/theme
1198
- msgid ""
1199
- "Better comment system. Wordpress post comments and discussion plugin. Allows "
1200
- "your visitors discuss, vote for comments and share."
1201
- msgstr ""
1202
-
1203
- #. Author of the plugin/theme
1204
- msgid "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
1205
- msgstr ""
1206
-
1207
- #. Author URI of the plugin/theme
1208
- msgid "http://www.gvectors.com/"
1209
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wpdiscuz-pl_PL.mo ADDED
Binary file
languages/wpdiscuz-pl_PL.po ADDED
@@ -0,0 +1,1436 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wpDiscuz - Wordpress Comments\n"
4
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wpdiscuz\n"
5
+ "POT-Creation-Date: 2015-11-07 16:06+0100\n"
6
+ "PO-Revision-Date: 2015-11-07 16:34+0100\n"
7
+ "Last-Translator: advancedcoding <advancedcoding@mail.ru>\n"
8
+ "Language-Team: Radoslaw Rak <radekdb87@gmail.com>\n"
9
+ "Language: pl_PL\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.6\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-WPHeader: wc.php\n"
16
+ "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
17
+ "|| n%100>=20) ? 1 : 2);\n"
18
+ "X-Poedit-SourceCharset: UTF-8\n"
19
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
20
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
21
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
22
+ "X-Poedit-SearchPath-0: .\n"
23
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
24
+
25
+ #: class.WpdiscuzCore.php:216
26
+ #: templates/comment/class.WpdiscuzTemplateBuilder.php:241
27
+ msgid "Anonymous"
28
+ msgstr "Anonimowo"
29
+
30
+ #: class.WpdiscuzCore.php:791 options/options-layouts/settings-social.php:12
31
+ #: options/options-layouts/settings-social.php:14
32
+ #: options/options-layouts/settings-social.php:16
33
+ #: options/options-layouts/settings-social.php:18
34
+ msgid "Settings"
35
+ msgstr "Ustawienia"
36
+
37
+ #: class.WpdiscuzCore.php:793
38
+ msgid "Phrases"
39
+ msgstr "Frazy"
40
+
41
+ #: options/class.WpdiscuzOptions.php:37 options/class.WpdiscuzOptions.php:271
42
+ msgid "Hacker?"
43
+ msgstr "Haker?"
44
+
45
+ #: options/class.WpdiscuzOptions.php:93
46
+ msgid "wpDiscuz General Settings"
47
+ msgstr "Ogólne ustawienia wpDiscuz"
48
+
49
+ #: options/class.WpdiscuzOptions.php:184
50
+ msgid "General settings"
51
+ msgstr "Ogólne ustawienia"
52
+
53
+ #: options/class.WpdiscuzOptions.php:185
54
+ #: options/options-layouts/settings-live-update.php:7
55
+ msgid "Live Update"
56
+ msgstr "Live Update"
57
+
58
+ #: options/class.WpdiscuzOptions.php:186
59
+ #: options/options-layouts/settings-show-hide.php:7
60
+ msgid "Show/Hide Components"
61
+ msgstr "Pokaż/ukryj składniki"
62
+
63
+ #: options/class.WpdiscuzOptions.php:187
64
+ msgid "Email Subscription"
65
+ msgstr "Subskrypcja e-mail"
66
+
67
+ #: options/class.WpdiscuzOptions.php:187
68
+ msgid "and Postmatic"
69
+ msgstr "i Postmatic"
70
+
71
+ #: options/class.WpdiscuzOptions.php:188
72
+ #: options/options-layouts/settings-style.php:7
73
+ msgid "Background and Colors"
74
+ msgstr "Tło i kolory"
75
+
76
+ #: options/class.WpdiscuzOptions.php:189
77
+ #: options/options-layouts/settings-social.php:91
78
+ msgid "Social Login"
79
+ msgstr "Logowanie społecznościowe"
80
+
81
+ #: options/class.WpdiscuzOptions.php:253
82
+ msgid "Reset Options"
83
+ msgstr "Przywróć opcje"
84
+
85
+ #: options/class.WpdiscuzOptions.php:255
86
+ msgid "Refresh comment optimization"
87
+ msgstr "Odśwież optymizację komentarza"
88
+
89
+ #: options/class.WpdiscuzOptions.php:256 options/class.WpdiscuzOptions.php:446
90
+ msgid "Save Changes"
91
+ msgstr "Zapisz zmiany"
92
+
93
+ #: options/class.WpdiscuzOptions.php:385
94
+ msgid "WpDiscuz Front-end Phrases"
95
+ msgstr "Czołowe frazy WpDiscuz"
96
+
97
+ #: options/class.WpdiscuzOptions.php:395
98
+ msgid "General"
99
+ msgstr "Ogólne"
100
+
101
+ #: options/class.WpdiscuzOptions.php:396
102
+ msgid "Form"
103
+ msgstr "Od"
104
+
105
+ #: options/class.WpdiscuzOptions.php:397
106
+ #: options/class.WpdiscuzOptionsSerialized.php:426
107
+ #: options/phrases-layouts/phrases-general.php:32
108
+ msgid "Comment"
109
+ msgstr "Komentarz"
110
+
111
+ #: options/class.WpdiscuzOptions.php:398
112
+ msgid "Date/Time"
113
+ msgstr "Data/Czas"
114
+
115
+ #: options/class.WpdiscuzOptions.php:399
116
+ #: options/class.WpdiscuzOptionsSerialized.php:431
117
+ msgid "Email"
118
+ msgstr "E-mail"
119
+
120
+ #: options/class.WpdiscuzOptions.php:400
121
+ msgid "Notification"
122
+ msgstr "Powiadomienie"
123
+
124
+ #: options/class.WpdiscuzOptionsSerialized.php:424
125
+ #: options/phrases-layouts/phrases-general.php:12
126
+ msgid "Leave a Reply"
127
+ msgstr "Dodaj komentarz"
128
+
129
+ #: options/class.WpdiscuzOptionsSerialized.php:425
130
+ msgid "Be the First to Comment!"
131
+ msgstr "Bądź pierwszy!"
132
+
133
+ #: options/class.WpdiscuzOptionsSerialized.php:427
134
+ msgid "Comments"
135
+ msgstr "komentarzy"
136
+
137
+ #: options/class.WpdiscuzOptionsSerialized.php:428
138
+ msgid "on"
139
+ msgstr "do"
140
+
141
+ #: options/class.WpdiscuzOptionsSerialized.php:429
142
+ msgid "Start the discussion"
143
+ msgstr "Rozpocznij dyskusję"
144
+
145
+ #: options/class.WpdiscuzOptionsSerialized.php:430
146
+ msgid "Join the discussion"
147
+ msgstr "Dołącz do dyskusji"
148
+
149
+ #: options/class.WpdiscuzOptionsSerialized.php:432
150
+ msgid "Name"
151
+ msgstr "Imię"
152
+
153
+ #: options/class.WpdiscuzOptionsSerialized.php:433
154
+ msgid "WebSite URL"
155
+ msgstr "Witryna internetowa"
156
+
157
+ #: options/class.WpdiscuzOptionsSerialized.php:434
158
+ msgid "Please insert the code above to comment"
159
+ msgstr "Proszę wpisać kod znajdujący się powyżej, aby móc dodać komentarz"
160
+
161
+ #: options/class.WpdiscuzOptionsSerialized.php:435
162
+ msgid "Post Comment"
163
+ msgstr "Opublikuj komentarz"
164
+
165
+ #: options/class.WpdiscuzOptionsSerialized.php:436
166
+ #: options/phrases-layouts/phrases-form.php:82
167
+ #: options/phrases-layouts/phrases-form.php:86
168
+ msgid "Notify of"
169
+ msgstr "Powiadom o"
170
+
171
+ #: options/class.WpdiscuzOptionsSerialized.php:437
172
+ #: options/phrases-layouts/phrases-form.php:96
173
+ msgid "new follow-up comments"
174
+ msgstr "nowych dalszych komentarzach"
175
+
176
+ #: options/class.WpdiscuzOptionsSerialized.php:438
177
+ msgid "new replies to my comments"
178
+ msgstr "nowych odpowiedziach na moje komentarze"
179
+
180
+ #: options/class.WpdiscuzOptionsSerialized.php:439
181
+ #: options/phrases-layouts/phrases-form.php:116
182
+ msgid "Notify of new replies to this comment"
183
+ msgstr "Powiadom o nowych odpowiedziach na ten komentarz"
184
+
185
+ #: options/class.WpdiscuzOptionsSerialized.php:440
186
+ #: options/phrases-layouts/phrases-form.php:122
187
+ #: options/phrases-layouts/phrases-form.php:126
188
+ msgid "Sort by"
189
+ msgstr "Sortuj wg"
190
+
191
+ #: options/class.WpdiscuzOptionsSerialized.php:441
192
+ #: options/phrases-layouts/phrases-form.php:132
193
+ #: options/phrases-layouts/phrases-form.php:136
194
+ msgid "newest"
195
+ msgstr "najnowszy"
196
+
197
+ #: options/class.WpdiscuzOptionsSerialized.php:442
198
+ #: options/phrases-layouts/phrases-form.php:142
199
+ #: options/phrases-layouts/phrases-form.php:146
200
+ msgid "oldest"
201
+ msgstr "najstarszy"
202
+
203
+ #: options/class.WpdiscuzOptionsSerialized.php:443
204
+ #: options/phrases-layouts/phrases-form.php:152
205
+ #: options/phrases-layouts/phrases-form.php:156
206
+ msgid "most voted"
207
+ msgstr "oceniany"
208
+
209
+ #: options/class.WpdiscuzOptionsSerialized.php:444
210
+ msgid "Load More Comments"
211
+ msgstr "Pokaż więcej komentarzy"
212
+
213
+ #: options/class.WpdiscuzOptionsSerialized.php:445
214
+ #: options/phrases-layouts/phrases-general.php:72
215
+ msgid "Load Rest of Comments"
216
+ msgstr "Załaduj przywracanie komentarzy"
217
+
218
+ #: options/class.WpdiscuzOptionsSerialized.php:446
219
+ #: options/phrases-layouts/phrases-comment.php:12
220
+ msgid "Reply"
221
+ msgstr "Odpowiedz"
222
+
223
+ #: options/class.WpdiscuzOptionsSerialized.php:447
224
+ #: options/phrases-layouts/phrases-comment.php:22
225
+ msgid "Share"
226
+ msgstr "Udostępnij"
227
+
228
+ #: options/class.WpdiscuzOptionsSerialized.php:448
229
+ #: options/phrases-layouts/phrases-comment.php:32
230
+ #: templates/comment/class.WpdiscuzTemplateBuilder.php:178
231
+ msgid "Edit"
232
+ msgstr "Edytuj"
233
+
234
+ #: options/class.WpdiscuzOptionsSerialized.php:449
235
+ #: options/phrases-layouts/phrases-comment.php:42
236
+ msgid "Share On Facebook"
237
+ msgstr "Udostępnij na Facebooku"
238
+
239
+ #: options/class.WpdiscuzOptionsSerialized.php:450
240
+ #: options/phrases-layouts/phrases-comment.php:52
241
+ msgid "Share On Twitter"
242
+ msgstr "Udostępnij na Twitterze"
243
+
244
+ #: options/class.WpdiscuzOptionsSerialized.php:451
245
+ #: options/phrases-layouts/phrases-comment.php:62
246
+ msgid "Share On Google"
247
+ msgstr "Udostępnij na Google"
248
+
249
+ #: options/class.WpdiscuzOptionsSerialized.php:452
250
+ #: options/phrases-layouts/phrases-comment.php:72
251
+ msgid "Share On VKontakte"
252
+ msgstr "Udostępnij na VKontakte"
253
+
254
+ #: options/class.WpdiscuzOptionsSerialized.php:453
255
+ #: options/phrases-layouts/phrases-comment.php:82
256
+ msgid "Share On Odnoklassniki"
257
+ msgstr "Udostępnij na Odnoklassniki"
258
+
259
+ #: options/class.WpdiscuzOptionsSerialized.php:454
260
+ #: options/phrases-layouts/phrases-comment.php:92
261
+ msgid "Hide Replies"
262
+ msgstr "Ukryj odpowiedzi"
263
+
264
+ #: options/class.WpdiscuzOptionsSerialized.php:455
265
+ #: options/phrases-layouts/phrases-comment.php:102
266
+ msgid "Show Replies"
267
+ msgstr "Pokaż odpowiedzi"
268
+
269
+ #: options/class.WpdiscuzOptionsSerialized.php:456
270
+ msgid "Guest"
271
+ msgstr "Gość"
272
+
273
+ #: options/class.WpdiscuzOptionsSerialized.php:457
274
+ msgid "Member"
275
+ msgstr "Użytkownik"
276
+
277
+ #: options/class.WpdiscuzOptionsSerialized.php:458
278
+ msgid "Author"
279
+ msgstr "Autor"
280
+
281
+ #: options/class.WpdiscuzOptionsSerialized.php:459
282
+ msgid "Admin"
283
+ msgstr "Admin"
284
+
285
+ #: options/class.WpdiscuzOptionsSerialized.php:460
286
+ #: options/phrases-layouts/phrases-general.php:86
287
+ msgid "New Comment"
288
+ msgstr "Nowy komentarz"
289
+
290
+ #: options/class.WpdiscuzOptionsSerialized.php:461
291
+ msgid "New comment on the discussion section you've been interested in"
292
+ msgstr "Pojawił się nowy komentarz, byłeś nim zainteresowany w"
293
+
294
+ #: options/class.WpdiscuzOptionsSerialized.php:462
295
+ #: options/phrases-layouts/phrases-email.php:36
296
+ #: options/phrases-layouts/phrases-general.php:106
297
+ #: utils/class.WpdiscuzEmailHelper.php:156
298
+ msgid "New Reply"
299
+ msgstr "Nowa odpowiedź"
300
+
301
+ #: options/class.WpdiscuzOptionsSerialized.php:463
302
+ #: utils/class.WpdiscuzEmailHelper.php:157
303
+ msgid "New reply on the discussion section you've been interested in"
304
+ msgstr "Pojawiła się nowa odpowiedź, byłeś nią zainteresowany w"
305
+
306
+ #: options/class.WpdiscuzOptionsSerialized.php:464
307
+ msgid "You're subscribed for new replies on this comment"
308
+ msgstr "Subskrybujesz o nowych odpowiedziach na ten komentarz"
309
+
310
+ #: options/class.WpdiscuzOptionsSerialized.php:465
311
+ msgid "You're subscribed for new replies on all your comments"
312
+ msgstr "Subskrybujesz o nowych odpowiedziach na wszystkie swoje komentarze"
313
+
314
+ #: options/class.WpdiscuzOptionsSerialized.php:466
315
+ msgid "You're subscribed for new follow-up comments on this post"
316
+ msgstr "Subskrybujesz o dalszych nowych komentarzach na tym wpisie"
317
+
318
+ #: options/class.WpdiscuzOptionsSerialized.php:467
319
+ #: options/phrases-layouts/phrases-email.php:52
320
+ #: options/phrases-layouts/phrases-email.php:56
321
+ msgid "Unsubscribe"
322
+ msgstr "Anuluj subskrypcję"
323
+
324
+ #: options/class.WpdiscuzOptionsSerialized.php:468
325
+ #: options/phrases-layouts/phrases-email.php:66
326
+ msgid "Cancel subscription"
327
+ msgstr "Anuluj subskrypcję"
328
+
329
+ #: options/class.WpdiscuzOptionsSerialized.php:469
330
+ #: options/phrases-layouts/phrases-notification.php:32
331
+ msgid "You've successfully unsubscribed."
332
+ msgstr "Pomyślnie odrzuciłeś(aś) subskrypcję."
333
+
334
+ #: options/class.WpdiscuzOptionsSerialized.php:470
335
+ #: options/phrases-layouts/phrases-notification.php:22
336
+ msgid "You've successfully subscribed."
337
+ msgstr "Pomyślnie potwierdziłeś(aś) subskrypcję."
338
+
339
+ #: options/class.WpdiscuzOptionsSerialized.php:471
340
+ #: options/phrases-layouts/phrases-email.php:72
341
+ #: options/phrases-layouts/phrases-email.php:76
342
+ msgid "Confirm your subscription"
343
+ msgstr "Potwierdź swoją subskrypcję"
344
+
345
+ #: options/class.WpdiscuzOptionsSerialized.php:472
346
+ #: options/phrases-layouts/phrases-email.php:82
347
+ #: options/phrases-layouts/phrases-email.php:86
348
+ msgid "You've successfully confirmed your subscription."
349
+ msgstr "Pomyślnie potwierdziłeś(aś) swoją subskrypcję."
350
+
351
+ #: options/class.WpdiscuzOptionsSerialized.php:473
352
+ #: options/phrases-layouts/phrases-email.php:96
353
+ #: utils/class.WpdiscuzEmailHelper.php:46
354
+ msgid "Subscribe Confirmation"
355
+ msgstr "Potwierdzenie subskrypcji"
356
+
357
+ #: options/class.WpdiscuzOptionsSerialized.php:474
358
+ #: options/phrases-layouts/phrases-email.php:106
359
+ #: utils/class.WpdiscuzEmailHelper.php:47
360
+ msgid ""
361
+ "Hi, <br/> You just subscribed for new comments on our website. This means "
362
+ "you will receive an email when new comments are posted according to "
363
+ "subscription option you've chosen. <br/> To activate, click confirm below. "
364
+ "If you believe this is an error, ignore this message and we'll never bother "
365
+ "you again."
366
+ msgstr ""
367
+ "Cześć, <br/> Subskrybujesz tylko dla nowych komentarzy na naszej stronie "
368
+ "internetowej. Oznacza to, że będziesz otrzymywać powiadomienia o nowych "
369
+ "komentarzach według opcji subskrypcji, którą wybrałeś. <br/> Aby włączyć, "
370
+ "kliknij Potwierdź poniżej. Jeśli uważasz, że to jest błąd, zignoruj ten "
371
+ "komunikat i nigdy nie będziemy ponownie przypominać."
372
+
373
+ #: options/class.WpdiscuzOptionsSerialized.php:475
374
+ msgid "please fill out this field to comment"
375
+ msgstr "proszę wypełnić te pole, aby móc dodać komentarz"
376
+
377
+ #: options/class.WpdiscuzOptionsSerialized.php:476
378
+ msgid "email address is invalid"
379
+ msgstr "adres e-mail jest nieprawidłowy"
380
+
381
+ #: options/class.WpdiscuzOptionsSerialized.php:477
382
+ msgid "url is invalid"
383
+ msgstr "url jest nieprawidłowy"
384
+
385
+ #: options/class.WpdiscuzOptionsSerialized.php:478
386
+ msgid "year"
387
+ msgstr "rok"
388
+
389
+ #: options/class.WpdiscuzOptionsSerialized.php:479
390
+ msgid "years"
391
+ msgstr "lat"
392
+
393
+ #: options/class.WpdiscuzOptionsSerialized.php:480
394
+ msgid "month"
395
+ msgstr "miesiąc"
396
+
397
+ #: options/class.WpdiscuzOptionsSerialized.php:481
398
+ msgid "months"
399
+ msgstr "miesięcy"
400
+
401
+ #: options/class.WpdiscuzOptionsSerialized.php:482
402
+ msgid "day"
403
+ msgstr "dzień"
404
+
405
+ #: options/class.WpdiscuzOptionsSerialized.php:483
406
+ msgid "days"
407
+ msgstr "dni"
408
+
409
+ #: options/class.WpdiscuzOptionsSerialized.php:484
410
+ msgid "hour"
411
+ msgstr "godzina"
412
+
413
+ #: options/class.WpdiscuzOptionsSerialized.php:485
414
+ msgid "hours"
415
+ msgstr "godzin"
416
+
417
+ #: options/class.WpdiscuzOptionsSerialized.php:486
418
+ msgid "minute"
419
+ msgstr "minuta"
420
+
421
+ #: options/class.WpdiscuzOptionsSerialized.php:487
422
+ msgid "minutes"
423
+ msgstr "minut"
424
+
425
+ #: options/class.WpdiscuzOptionsSerialized.php:488
426
+ msgid "second"
427
+ msgstr "sekunda"
428
+
429
+ #: options/class.WpdiscuzOptionsSerialized.php:489
430
+ msgid "seconds"
431
+ msgstr "sekund"
432
+
433
+ #: options/class.WpdiscuzOptionsSerialized.php:490
434
+ msgid "right now"
435
+ msgstr "od zaraz"
436
+
437
+ #: options/class.WpdiscuzOptionsSerialized.php:491
438
+ msgid "ago"
439
+ msgstr "temu"
440
+
441
+ #: options/class.WpdiscuzOptionsSerialized.php:492
442
+ #: options/phrases-layouts/phrases-datetime.php:156
443
+ msgid "Today"
444
+ msgstr "Dzisiaj"
445
+
446
+ #: options/class.WpdiscuzOptionsSerialized.php:493
447
+ #: options/phrases-layouts/phrases-notification.php:72
448
+ msgid "You must be"
449
+ msgstr "Musisz się"
450
+
451
+ #: options/class.WpdiscuzOptionsSerialized.php:494
452
+ msgid "You are logged in as"
453
+ msgstr "Zalogowany jako"
454
+
455
+ #: options/class.WpdiscuzOptionsSerialized.php:495
456
+ #: options/phrases-layouts/phrases-notification.php:92
457
+ msgid "Log out"
458
+ msgstr "Wyloguj się"
459
+
460
+ #: options/class.WpdiscuzOptionsSerialized.php:496
461
+ msgid "logged in"
462
+ msgstr "zalogowany jako"
463
+
464
+ #: options/class.WpdiscuzOptionsSerialized.php:497
465
+ msgid "to post a comment."
466
+ msgstr "aby móc dodać komentarz."
467
+
468
+ #: options/class.WpdiscuzOptionsSerialized.php:498
469
+ #: options/phrases-layouts/phrases-comment.php:152
470
+ msgid "Vote Up"
471
+ msgstr "Lubię to"
472
+
473
+ #: options/class.WpdiscuzOptionsSerialized.php:499
474
+ #: options/phrases-layouts/phrases-comment.php:162
475
+ msgid "Vote Down"
476
+ msgstr "Nie lubię"
477
+
478
+ #: options/class.WpdiscuzOptionsSerialized.php:500
479
+ #: options/phrases-layouts/phrases-notification.php:122
480
+ msgid "Vote Counted"
481
+ msgstr "Głos zliczony"
482
+
483
+ #: options/class.WpdiscuzOptionsSerialized.php:501
484
+ msgid "You've already voted for this comment"
485
+ msgstr "Już zagłosowałeś na ten komentarz"
486
+
487
+ #: options/class.WpdiscuzOptionsSerialized.php:502
488
+ #: options/phrases-layouts/phrases-notification.php:142
489
+ msgid "Voting Error"
490
+ msgstr "Błąd głosowania"
491
+
492
+ #: options/class.WpdiscuzOptionsSerialized.php:503
493
+ msgid "You Must Be Logged In To Vote"
494
+ msgstr "Musisz się zalogować, aby móc oddać głos"
495
+
496
+ #: options/class.WpdiscuzOptionsSerialized.php:504
497
+ msgid "You cannot vote for your comment"
498
+ msgstr "Nie możesz głosować na swój komentarz"
499
+
500
+ #: options/class.WpdiscuzOptionsSerialized.php:505
501
+ msgid "You are not allowed to vote for this comment"
502
+ msgstr "Nie wolno głosować na ten komentarz"
503
+
504
+ #: options/class.WpdiscuzOptionsSerialized.php:506
505
+ #: options/phrases-layouts/phrases-notification.php:182
506
+ msgid "Invalid Captcha Code"
507
+ msgstr "Nieprawidłowy kod Captcha"
508
+
509
+ #: options/class.WpdiscuzOptionsSerialized.php:507
510
+ #: options/phrases-layouts/phrases-notification.php:192
511
+ msgid "Some of field value is invalid"
512
+ msgstr "Jedna z wartości pola jest nieprawidłowa"
513
+
514
+ #: options/class.WpdiscuzOptionsSerialized.php:508
515
+ msgid "new comment"
516
+ msgstr "nowy komentarz"
517
+
518
+ #: options/class.WpdiscuzOptionsSerialized.php:509
519
+ msgid "new comments"
520
+ msgstr "nowych komentarzy"
521
+
522
+ #: options/class.WpdiscuzOptionsSerialized.php:510
523
+ msgid "Comment awaiting moderation"
524
+ msgstr "Komentarz oczekuje na moderację"
525
+
526
+ #: options/class.WpdiscuzOptionsSerialized.php:511
527
+ msgid "new reply on your comment"
528
+ msgstr "nowa odpowiedź na Twój komentarz"
529
+
530
+ #: options/class.WpdiscuzOptionsSerialized.php:512
531
+ msgid "new replies on your comments"
532
+ msgstr "nowych odpowiedzi na Twój komentarz"
533
+
534
+ #: options/class.WpdiscuzOptionsSerialized.php:513
535
+ #: options/phrases-layouts/phrases-general.php:126
536
+ msgid "New"
537
+ msgstr "Nowy"
538
+
539
+ #: options/class.WpdiscuzOptionsSerialized.php:514
540
+ #: options/phrases-layouts/phrases-notification.php:236
541
+ msgid "Sorry, the comment was not updated"
542
+ msgstr "Przepraszamy, komentarz nie został zaktualizowany"
543
+
544
+ #: options/class.WpdiscuzOptionsSerialized.php:515
545
+ #: options/phrases-layouts/phrases-notification.php:246
546
+ msgid "Sorry, this comment no longer possible to edit"
547
+ msgstr "Przepraszamy, tego komentarza nie można już edytować"
548
+
549
+ #: options/class.WpdiscuzOptionsSerialized.php:516
550
+ msgid "You've not made any changes"
551
+ msgstr "Jeszcze nie dokonałeś zmian"
552
+
553
+ #: options/class.WpdiscuzOptionsSerialized.php:517
554
+ #: options/phrases-layouts/phrases-comment.php:176
555
+ msgid "Save"
556
+ msgstr "Zapisz"
557
+
558
+ #: options/class.WpdiscuzOptionsSerialized.php:518
559
+ #: options/phrases-layouts/phrases-comment.php:186
560
+ msgid "Cancel"
561
+ msgstr "Anuluj"
562
+
563
+ #: options/class.WpdiscuzOptionsSerialized.php:519
564
+ #, php-format
565
+ msgid "Comment text is too short (minimum %d% characters)"
566
+ msgstr "Tekst komentarza jest zbyt krótki (min %d% znaków)"
567
+
568
+ #: options/class.WpdiscuzOptionsSerialized.php:520
569
+ #, php-format
570
+ msgid "Comment text is too long (maximum %d% characters allowed)"
571
+ msgstr "Tekst komentarza jest zbyt długi (maks dopuszczalnych %d% znaków)"
572
+
573
+ #: options/class.WpdiscuzOptionsSerialized.php:521
574
+ #: options/phrases-layouts/phrases-notification.php:262
575
+ #: options/phrases-layouts/phrases-notification.php:266
576
+ msgid "The captcha expired"
577
+ msgstr "CAPTCHA wygasł"
578
+
579
+ #: options/class.WpdiscuzOptionsSerialized.php:522
580
+ #: options/phrases-layouts/phrases-notification.php:272
581
+ #: options/phrases-layouts/phrases-notification.php:276
582
+ msgid "Please fill out required fields"
583
+ msgstr "Proszę wypełnij wymagane pola"
584
+
585
+ #: options/class.WpdiscuzOptionsSerialized.php:523
586
+ #: options/phrases-layouts/phrases-form.php:192
587
+ #: options/phrases-layouts/phrases-form.php:196
588
+ msgid "Connect with"
589
+ msgstr "Połącz za pomocą"
590
+
591
+ #: options/class.WpdiscuzOptionsSerialized.php:524
592
+ msgid "You're subscribed to"
593
+ msgstr "Jesteś subskrybentem do"
594
+
595
+ #: options/options-layouts/settings-general.php:7
596
+ msgid "General Settings"
597
+ msgstr "Ogólne ustawienia"
598
+
599
+ #: options/options-layouts/settings-general.php:12
600
+ msgid "Display comment form for post types:"
601
+ msgstr "Wyświetl komentarze dla typów wpisu:"
602
+
603
+ #: options/options-layouts/settings-general.php:32
604
+ msgid "Comment author must fill out name"
605
+ msgstr "Autor komentarza musi wypełnić swoje imię"
606
+
607
+ #: options/options-layouts/settings-general.php:42
608
+ msgid "Comment author must fill out email"
609
+ msgstr "Autor komentarza musi wypełnić swój e-mail"
610
+
611
+ #: options/options-layouts/settings-general.php:52
612
+ msgid "Comment text min length"
613
+ msgstr "Minimalna długoś tekstu komentarza"
614
+
615
+ #: options/options-layouts/settings-general.php:62
616
+ msgid "Comment text max length"
617
+ msgstr "Maksymalna długość tekstu komentarza"
618
+
619
+ #: options/options-layouts/settings-general.php:72
620
+ msgid "Comment text size in pixels"
621
+ msgstr "Rozmiar tekstu komentarza w pikselach"
622
+
623
+ #: options/options-layouts/settings-general.php:87
624
+ msgid "Allow comment editing for"
625
+ msgstr "Pozwól na edycję komentarza wciągu"
626
+
627
+ #: options/options-layouts/settings-general.php:92
628
+ msgid "Not Allow"
629
+ msgstr "Nie pozwól"
630
+
631
+ #: options/options-layouts/settings-general.php:93
632
+ #: options/options-layouts/settings-general.php:94
633
+ #: options/options-layouts/settings-live-update.php:52
634
+ #: options/options-layouts/settings-live-update.php:53
635
+ #: options/options-layouts/settings-live-update.php:54
636
+ msgid "Minutes"
637
+ msgstr "Minut"
638
+
639
+ #: options/options-layouts/settings-general.php:95
640
+ #: options/phrases-layouts/phrases-datetime.php:72
641
+ msgid "Hour"
642
+ msgstr "Godziny"
643
+
644
+ #: options/options-layouts/settings-general.php:96
645
+ #: options/options-layouts/settings-general.php:97
646
+ msgid "Hours"
647
+ msgstr "Godzin"
648
+
649
+ #: options/options-layouts/settings-general.php:98
650
+ msgid "Unlimit"
651
+ msgstr "Bez limitu"
652
+
653
+ #: options/options-layouts/settings-general.php:104
654
+ msgid "Redirect first commenter to"
655
+ msgstr "Przekieruj pierwszych komentatorów do"
656
+
657
+ #: options/options-layouts/settings-general.php:111
658
+ msgid "Do not redirect"
659
+ msgstr "Nie przekieruj"
660
+
661
+ #: options/options-layouts/settings-general.php:119
662
+ msgid "Allow guests to vote on comments"
663
+ msgstr "Pozwól gościom, aby mogli głosować na komentarze"
664
+
665
+ #: options/options-layouts/settings-general.php:129
666
+ msgid "Comments loading/pagination type"
667
+ msgstr "Ładowanie/typ podziału na strony komentarzy"
668
+
669
+ #: options/options-layouts/settings-general.php:138
670
+ #: options/options-layouts/settings-general.php:140
671
+ msgid "[Load more] Button"
672
+ msgstr "Przycisk [Pokaż więcej]"
673
+
674
+ #: options/options-layouts/settings-general.php:142
675
+ #: options/options-layouts/settings-general.php:144
676
+ msgid "[Load rest of all comments] Button"
677
+ msgstr "Przycisk [Przywróć wszystkie komentarze]"
678
+
679
+ #: options/options-layouts/settings-general.php:146
680
+ #: options/options-layouts/settings-general.php:148
681
+ msgid "Lazy load comments on scrolling"
682
+ msgstr "Wolne wczytywanie komentarzy przy przewijaniu"
683
+
684
+ #: options/options-layouts/settings-general.php:155
685
+ msgid "Use WordPress Date/Time format"
686
+ msgstr "Użyj formatu daty/czasu WordPress"
687
+
688
+ #: options/options-layouts/settings-general.php:156
689
+ msgid ""
690
+ "wpDiscuz shows Human Readable date format. If you check this option it'll "
691
+ "show the date/time format set in WordPress General Settings."
692
+ msgstr ""
693
+
694
+ #: options/options-layouts/settings-general.php:163
695
+ msgid "Current Wordpress date/time format"
696
+ msgstr "Bieżący format daty/czasu Wordpress"
697
+
698
+ #: options/options-layouts/settings-general.php:169
699
+ msgid "Use Plugin .PO/.MO files"
700
+ msgstr "Użyj wtyczki plików .PO/.MO"
701
+
702
+ #: options/options-layouts/settings-general.php:170
703
+ msgid ""
704
+ "wpDiscuz phrase system allows you to translate all front-end phrases. "
705
+ "However if you have a multi-language website it'll not allow you to add more "
706
+ "than one language translation. The only way to get it is the plugin "
707
+ "translation files (.PO / .MO). If wpDiscuz has the languages you need you "
708
+ "should check this option to disable phrase system and it'll automatically "
709
+ "translate all phrases based on language files according to current language."
710
+ msgstr ""
711
+
712
+ #: options/options-layouts/settings-general.php:181
713
+ msgid ""
714
+ "Help wpDiscuz to grow allowing people to recognize which comment plugin you "
715
+ "use"
716
+ msgstr ""
717
+ "Pomóż wpDiscuz zwiększyć popularność wśród ludzi, aby mogli rozpoznać, "
718
+ "której używasz wtyczki do komentarzy"
719
+
720
+ #: options/options-layouts/settings-general.php:183
721
+ msgid ""
722
+ "Please check this option on to help wpDiscuz get more popularity as your "
723
+ "thank to the hard work we do for you totally free. This option adds a very "
724
+ "small (16x16px) icon under the comment section which will allow your site "
725
+ "visitors recognize the name of comment solution you use."
726
+ msgstr ""
727
+
728
+ #: options/options-layouts/settings-general.php:188
729
+ msgid "Thank you!"
730
+ msgstr "Dziękujemy!"
731
+
732
+ #: options/options-layouts/settings-live-update.php:12
733
+ msgid "Live update options"
734
+ msgstr "Opcje Live Update"
735
+
736
+ #: options/options-layouts/settings-live-update.php:13
737
+ msgid ""
738
+ "wpDiscuz 3 live update is very smart and doesn't overload your server even "
739
+ "if you're on Shared hosting plan and even your website is very active. "
740
+ "However we recommend to monitor your server resources if you're on a Shared "
741
+ "hosting plan. There are some very weak hosting plans which may not be able "
742
+ "to perform very frequently live update requests. If you found some issue you "
743
+ "can set the option below 30 seconds or more."
744
+ msgstr ""
745
+
746
+ #: options/options-layouts/settings-live-update.php:18
747
+ msgid "Never update"
748
+ msgstr "Nigdy nie aktualizuj"
749
+
750
+ #: options/options-layouts/settings-live-update.php:20
751
+ msgid "Turn off \"Live Update\" function"
752
+ msgstr "Wyłącz funkcję \"Live Update\""
753
+
754
+ #: options/options-layouts/settings-live-update.php:22
755
+ msgid "Show new comment/reply buttons to update manualy"
756
+ msgstr "Pokaż przyciski nowy komentarz/odpowiedz, aby ręcznie aktualizować"
757
+
758
+ #: options/options-layouts/settings-live-update.php:24
759
+ msgid "Always check for new comments and show update buttons"
760
+ msgstr "Zawsze sprawdź nowe komentarze i pokaż przyciski aktualizacji"
761
+
762
+ #: options/options-layouts/settings-live-update.php:26
763
+ msgid "Always update"
764
+ msgstr "Zawsze aktualizuj"
765
+
766
+ #: options/options-layouts/settings-live-update.php:28
767
+ msgid "Always check for new comments and update automatically"
768
+ msgstr "Zawsze sprawdź nowe komentarze i automatycznie aktualizuj"
769
+
770
+ #: options/options-layouts/settings-live-update.php:35
771
+ msgid "Disable live update for guests"
772
+ msgstr "Wyłącz Live Update dla gości"
773
+
774
+ #: options/options-layouts/settings-live-update.php:43
775
+ msgid "Update comment list every"
776
+ msgstr "Zaktualizuj listę komentarzy co"
777
+
778
+ #: options/options-layouts/settings-live-update.php:48
779
+ #: options/options-layouts/settings-live-update.php:49
780
+ #: options/options-layouts/settings-live-update.php:50
781
+ msgid "Seconds"
782
+ msgstr "Sekund"
783
+
784
+ #: options/options-layouts/settings-live-update.php:51
785
+ #: options/phrases-layouts/phrases-datetime.php:92
786
+ msgid "Minute"
787
+ msgstr "Minut"
788
+
789
+ #: options/options-layouts/settings-show-hide.php:12
790
+ msgid "Show logged-in user name and logout link on top of main form"
791
+ msgstr ""
792
+ "Pokaż imię zalogowanego użytkownika i link wylogowania się nad głównym "
793
+ "formularzem"
794
+
795
+ #: options/options-layouts/settings-show-hide.php:22
796
+ msgid "Hide Reply button for Guests"
797
+ msgstr "Ukryj przycisk Odpowiedz dla gości"
798
+
799
+ #: options/options-layouts/settings-show-hide.php:32
800
+ msgid "Hide Reply button for Members"
801
+ msgstr "Ukryj przycisk Odpowiedz dla użytkowników"
802
+
803
+ #: options/options-layouts/settings-show-hide.php:42
804
+ msgid "Hide Commenter Labels"
805
+ msgstr "Ukryj etykiety komentatora"
806
+
807
+ #: options/options-layouts/settings-show-hide.php:52
808
+ msgid "Hide Voting buttons"
809
+ msgstr "Ukryj przyciski głosowania"
810
+
811
+ #: options/options-layouts/settings-show-hide.php:62
812
+ msgid "Show Share Buttons"
813
+ msgstr "Pokaż przyciski udostępniania"
814
+
815
+ #: options/options-layouts/settings-show-hide.php:80
816
+ msgid "Hide the CAPTCHA field for guests"
817
+ msgstr "Ukryj pole CAPTCHA dla gości"
818
+
819
+ #: options/options-layouts/settings-show-hide.php:91
820
+ msgid "Show the CAPTCHA field for logged in users"
821
+ msgstr "Pokaż pole CAPTCHA dla zalogowanych gości"
822
+
823
+ #: options/options-layouts/settings-show-hide.php:102
824
+ msgid "Show the Website URL field"
825
+ msgstr "Pokaż pole adresu strony internetowej"
826
+
827
+ #: options/options-layouts/settings-show-hide.php:112
828
+ msgid "Hide header text"
829
+ msgstr "Ukryj tekst nagłówka"
830
+
831
+ #: options/options-layouts/settings-show-hide.php:122
832
+ msgid "Show sorting buttons"
833
+ msgstr "Pokaż przyciski sortowania"
834
+
835
+ #: options/options-layouts/settings-social.php:23
836
+ #: options/options-layouts/settings-social.php:33
837
+ #: options/options-layouts/settings-social.php:43
838
+ #: options/options-layouts/settings-social.php:54
839
+ msgid "Activate"
840
+ msgstr "Aktywuj"
841
+
842
+ #: options/options-layouts/settings-social.php:27
843
+ #: options/options-layouts/settings-social.php:37
844
+ #: options/options-layouts/settings-social.php:47
845
+ #: options/options-layouts/settings-social.php:58
846
+ msgid "View details/Install"
847
+ msgstr "Pokaż szczegóły/Zainstaluj"
848
+
849
+ #: options/options-layouts/settings-social.php:92
850
+ msgid ""
851
+ "You can use one of these most popular Social Login Plugins to allow your "
852
+ "visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, "
853
+ "OK and lots of other social network service accounts. All social login "
854
+ "buttons will be fully integrated with wpDiscuz comment forms."
855
+ msgstr ""
856
+ "Możesz użyć jednej z tych najbardziej popularnych wtyczek logowań "
857
+ "społecznościach, aby móc pozwolić swoim odwiedzającym zalogować się i dodać "
858
+ "komentarz za pomocą Facebooka, Twittera, Google+, Wordpressa, VK, OK i "
859
+ "pozwolić innym usługom kont społecznościowych. Wszystkie przyciski logowań "
860
+ "społecznościowych będą w pełni zintegrowane z formularzami komentarzy "
861
+ "wpDiscuz."
862
+
863
+ #: options/options-layouts/settings-style.php:12
864
+ msgid "Comment Form Background Color"
865
+ msgstr "Kolor tła formularza komentarzy"
866
+
867
+ #: options/options-layouts/settings-style.php:16
868
+ #: options/options-layouts/settings-style.php:25
869
+ #: options/options-layouts/settings-style.php:34
870
+ #: options/options-layouts/settings-style.php:43
871
+ #: options/options-layouts/settings-style.php:52
872
+ #: options/options-layouts/settings-style.php:61
873
+ #: options/options-layouts/settings-style.php:70
874
+ #: options/options-layouts/settings-style.php:79
875
+ #: options/options-layouts/settings-style.php:92
876
+ msgid "Example: #00FF00"
877
+ msgstr "Na przykład: #00FF00"
878
+
879
+ #: options/options-layouts/settings-style.php:21
880
+ msgid "Comment Background Color"
881
+ msgstr "Kolor tła komentarzy"
882
+
883
+ #: options/options-layouts/settings-style.php:30
884
+ msgid "Reply Background Color"
885
+ msgstr "Kolor tła odpowiedzi"
886
+
887
+ #: options/options-layouts/settings-style.php:39
888
+ msgid "Comment Text Color"
889
+ msgstr "Kolor tekstu komentarza"
890
+
891
+ #: options/options-layouts/settings-style.php:48
892
+ msgid "Vote, Reply, Share, Edit links text colors"
893
+ msgstr "Kolory tekstu linków \"Zagłosuj, Odpowiedz, Udostępnij, Edytuj\""
894
+
895
+ #: options/options-layouts/settings-style.php:57
896
+ msgid "Comment form fields border color"
897
+ msgstr "Kolor ramki pól formularza komentarzy"
898
+
899
+ #: options/options-layouts/settings-style.php:66
900
+ msgid "New loaded comments' background color"
901
+ msgstr "Kolor tła nowo załadowanych komentarzy"
902
+
903
+ #: options/options-layouts/settings-style.php:75
904
+ msgid "Primary Color"
905
+ msgstr "Kolor podstawowy"
906
+
907
+ #: options/options-layouts/settings-style.php:89
908
+ msgid "label color"
909
+ msgstr "/ jego kolor etykiety"
910
+
911
+ #: options/options-layouts/settings-style.php:100
912
+ msgid "Custom CSS Code"
913
+ msgstr "Własny kod CSS"
914
+
915
+ #: options/options-layouts/settings-subscription.php:7
916
+ msgid "Email Subscription Settings"
917
+ msgstr "Ustawienia subskrypcji e-mail"
918
+
919
+ #: options/options-layouts/settings-subscription.php:12
920
+ msgid "Disable subscription confirmation for registered users"
921
+ msgstr "Wyłącz potwierdzenie subskrypcji dla zarejestrowanych użytkowników"
922
+
923
+ #: options/options-layouts/settings-subscription.php:13
924
+ msgid "Show comment subscription bar"
925
+ msgstr "Pokaż pasek subskrypcji komentarza"
926
+
927
+ #: options/options-layouts/settings-subscription.php:15
928
+ msgid ""
929
+ "This bar provides two subscription options: notify of \"new follow-up "
930
+ "comments\" and \"new replies to my comments\""
931
+ msgstr ""
932
+ "Ten pasek oferuje dwie opcje subskrypcji: powiadamia o \"nowych dalszych "
933
+ "komentarzach\" i \"nowych odpowiedziach na moje komentarze\""
934
+
935
+ #: options/options-layouts/settings-subscription.php:17
936
+ msgid "Show \"Notify of new replies to this comment\""
937
+ msgstr "Pokaż \"Powiadom o nowych odpowiedziach na ten komentarz\""
938
+
939
+ #: options/options-layouts/settings-subscription.php:19
940
+ msgid ""
941
+ "wpDiscuz is the only comment plugin which allows you to subscribe to certain "
942
+ "comment replies. This option is located above [Post Comment] button in "
943
+ "comment form. You can disable this subscription way by unchecking this "
944
+ "option."
945
+ msgstr ""
946
+ "wpDiscuz jest jedyną wtyczką komentarza, która pozwala do subskrybowania "
947
+ "niektórych odpowiedzi komentarza. Opcja ta znajduje się nad przyciskiem "
948
+ "[Napisz komentarz] w formularzu komentarza. Możesz wyłączyć ten sposób "
949
+ "subskrypcji usuwając zaznaczenie tej opcji."
950
+
951
+ #: options/options-layouts/settings-subscription.php:33
952
+ msgid "Use Postmatic for subscriptions and commenting by email"
953
+ msgstr "Użyj subskrypcji Postmatic i komentowania przez e-mail"
954
+
955
+ #: options/options-layouts/settings-subscription.php:34
956
+ msgid ""
957
+ "Postmatic allows your users subscribe to comments. Instead of just being "
958
+ "notified, they add a reply right from their inbox."
959
+ msgstr ""
960
+ "Postmatic pozwala Twoim użytkownikom na subskrypcję komentarzy. Zamiast po "
961
+ "prostu powiadomień, dodają odpowiedź z skrzynki odbiorczej."
962
+
963
+ #: options/phrases-layouts/phrases-comment.php:7
964
+ msgid "Comment Template Phrases"
965
+ msgstr "Frazy szablonu komentarzy"
966
+
967
+ #: options/phrases-layouts/phrases-comment.php:112
968
+ msgid "Title For Guests"
969
+ msgstr "Tytuł dla gości"
970
+
971
+ #: options/phrases-layouts/phrases-comment.php:122
972
+ msgid "Title For Members"
973
+ msgstr "Tytuł dla użytkowników"
974
+
975
+ #: options/phrases-layouts/phrases-comment.php:132
976
+ msgid "Title For Authors"
977
+ msgstr "Tytuł dla autorów"
978
+
979
+ #: options/phrases-layouts/phrases-comment.php:142
980
+ msgid "Title For Admins"
981
+ msgstr "Tytuł dla adminów"
982
+
983
+ #: options/phrases-layouts/phrases-comment.php:172
984
+ msgid "Save edited comment button text"
985
+ msgstr "Zapisz edytowany tekst przycisku komentarzy"
986
+
987
+ #: options/phrases-layouts/phrases-comment.php:182
988
+ msgid "Cancel comment editing button text"
989
+ msgstr "Anuluj tekst przycisku edycji komentarzy"
990
+
991
+ #: options/phrases-layouts/phrases-datetime.php:7
992
+ msgid "Date/Time Phrases"
993
+ msgstr "Frazy daty/czasu"
994
+
995
+ #: options/phrases-layouts/phrases-datetime.php:12
996
+ msgid "Year"
997
+ msgstr "Rok"
998
+
999
+ #: options/phrases-layouts/phrases-datetime.php:22
1000
+ msgid "Years (Plural Form)"
1001
+ msgstr "Lat (Liczba mnoga)"
1002
+
1003
+ #: options/phrases-layouts/phrases-datetime.php:26
1004
+ msgid "Years"
1005
+ msgstr "Lat"
1006
+
1007
+ #: options/phrases-layouts/phrases-datetime.php:32
1008
+ msgid "Month"
1009
+ msgstr "Miesiąc"
1010
+
1011
+ #: options/phrases-layouts/phrases-datetime.php:42
1012
+ msgid "Months (Plural Form)"
1013
+ msgstr "Miesięcy (Liczba mnoga)"
1014
+
1015
+ #: options/phrases-layouts/phrases-datetime.php:52
1016
+ msgid "Day"
1017
+ msgstr "Dzień"
1018
+
1019
+ #: options/phrases-layouts/phrases-datetime.php:62
1020
+ msgid "Days (Plural Form)"
1021
+ msgstr "Dni (Liczba mnoga)"
1022
+
1023
+ #: options/phrases-layouts/phrases-datetime.php:82
1024
+ msgid "Hours (Plural Form)"
1025
+ msgstr "Godzin (Liczba mnoga)"
1026
+
1027
+ #: options/phrases-layouts/phrases-datetime.php:102
1028
+ msgid "Minutes (Plural Form)"
1029
+ msgstr "Minut (Liczba mnoga)"
1030
+
1031
+ #: options/phrases-layouts/phrases-datetime.php:112
1032
+ msgid "Second"
1033
+ msgstr "Sekunda"
1034
+
1035
+ #: options/phrases-layouts/phrases-datetime.php:122
1036
+ msgid "Seconds (Plural Form)"
1037
+ msgstr "Sekund (Liczba mnoga)"
1038
+
1039
+ #: options/phrases-layouts/phrases-datetime.php:132
1040
+ msgid "Commented \"right now\" text"
1041
+ msgstr "Komentowany tekst \"od zaraz\""
1042
+
1043
+ #: options/phrases-layouts/phrases-datetime.php:142
1044
+ msgid "Ago text"
1045
+ msgstr "Tekst \"temu\""
1046
+
1047
+ #: options/phrases-layouts/phrases-datetime.php:152
1048
+ msgid "\"Today\" text"
1049
+ msgstr "Tekst \"Dzisiaj\""
1050
+
1051
+ #: options/phrases-layouts/phrases-email.php:7
1052
+ msgid "Email Template Phrases"
1053
+ msgstr "Frazy szablonu e-mail"
1054
+
1055
+ #: options/phrases-layouts/phrases-email.php:12
1056
+ msgid "Email Subject"
1057
+ msgstr "Temat e-mail"
1058
+
1059
+ #: options/phrases-layouts/phrases-email.php:22
1060
+ msgid "Email Message"
1061
+ msgstr "Wiadomość e-mail"
1062
+
1063
+ #: options/phrases-layouts/phrases-email.php:32
1064
+ msgid "New Reply Subject"
1065
+ msgstr "Nowa odpowiedź na temat"
1066
+
1067
+ #: options/phrases-layouts/phrases-email.php:42
1068
+ msgid "New Reply Message"
1069
+ msgstr "Nowa odpowiedź na wiadomość"
1070
+
1071
+ #: options/phrases-layouts/phrases-email.php:62
1072
+ #: options/phrases-layouts/phrases-email.php:66
1073
+ msgid "Ignore Subscription"
1074
+ msgstr "Zignoruj subskrypcję"
1075
+
1076
+ #: options/phrases-layouts/phrases-email.php:92
1077
+ msgid "Subscribe Confirmation Email Subject"
1078
+ msgstr "Temat e-mail potwierdzenia subskrypcji"
1079
+
1080
+ #: options/phrases-layouts/phrases-email.php:102
1081
+ msgid "Subscribe Confirmation Email Content"
1082
+ msgstr "Zawartość e-mail potwierdzenia subskrypcji"
1083
+
1084
+ #: options/phrases-layouts/phrases-form.php:7
1085
+ msgid "Form Template Phrases"
1086
+ msgstr "Frazy szablonu od"
1087
+
1088
+ #: options/phrases-layouts/phrases-form.php:12
1089
+ msgid "Comment Field Start"
1090
+ msgstr "Pole rozpoczęcia komentarzy"
1091
+
1092
+ #: options/phrases-layouts/phrases-form.php:22
1093
+ msgid "Comment Field Join"
1094
+ msgstr "Pole dołączenia komentarzy"
1095
+
1096
+ #: options/phrases-layouts/phrases-form.php:32
1097
+ msgid "Email Field"
1098
+ msgstr "Pole adresu e-mail"
1099
+
1100
+ #: options/phrases-layouts/phrases-form.php:42
1101
+ msgid "Name Field"
1102
+ msgstr "Pole imienia"
1103
+
1104
+ #: options/phrases-layouts/phrases-form.php:52
1105
+ msgid "WebSite URL Field"
1106
+ msgstr "Pole witryny internetowej"
1107
+
1108
+ #: options/phrases-layouts/phrases-form.php:62
1109
+ msgid "CAPTCHA Field"
1110
+ msgstr "Pole CAPTCHA"
1111
+
1112
+ #: options/phrases-layouts/phrases-form.php:72
1113
+ msgid "Submit Button"
1114
+ msgstr "Przycisk \"Dodaj komentarz\""
1115
+
1116
+ #: options/phrases-layouts/phrases-form.php:92
1117
+ msgid "Notify on new comments"
1118
+ msgstr "Powiadom o nowych komentarzach"
1119
+
1120
+ #: options/phrases-layouts/phrases-form.php:102
1121
+ msgid "Notify on all new replies"
1122
+ msgstr "Powiadom o wszystkich nowych odpowiedziach"
1123
+
1124
+ #: options/phrases-layouts/phrases-form.php:106
1125
+ msgid "new replies to all my comments"
1126
+ msgstr "nowych odpowiedziach na wszystkie moje komentarze"
1127
+
1128
+ #: options/phrases-layouts/phrases-form.php:112
1129
+ msgid "Notify on new replies (checkbox)"
1130
+ msgstr "Powiadom o nowych odpowiedziach - (pole wyboru)"
1131
+
1132
+ #: options/phrases-layouts/phrases-form.php:162
1133
+ msgid "Subscribed on this comment replies"
1134
+ msgstr "Subskrybujesz na te odpowiedzi komentarza"
1135
+
1136
+ #: options/phrases-layouts/phrases-form.php:172
1137
+ msgid "Subscribed on all your comments replies"
1138
+ msgstr "Subskrybujesz na wszystkie Twoje odpowiedzi na komentarze"
1139
+
1140
+ #: options/phrases-layouts/phrases-form.php:182
1141
+ msgid "Subscribed on this post"
1142
+ msgstr "Subskrybujesz na tym wpisie"
1143
+
1144
+ #: options/phrases-layouts/phrases-general.php:7
1145
+ msgid "General Phrases"
1146
+ msgstr "Ogólne frazy"
1147
+
1148
+ #: options/phrases-layouts/phrases-general.php:22
1149
+ msgid "Be the first to comment"
1150
+ msgstr "Bądź pierwszy"
1151
+
1152
+ #: options/phrases-layouts/phrases-general.php:42
1153
+ msgid "Comment (Plural Form)"
1154
+ msgstr "Komentarz (Liczba mnoga)"
1155
+
1156
+ #: options/phrases-layouts/phrases-general.php:52
1157
+ msgid "On"
1158
+ msgstr "do"
1159
+
1160
+ #: options/phrases-layouts/phrases-general.php:62
1161
+ msgid "Load More Button"
1162
+ msgstr "Przycisk \"Pokaż więcej komentarzy\""
1163
+
1164
+ #: options/phrases-layouts/phrases-general.php:82
1165
+ msgid "Button text if has new comment"
1166
+ msgstr "Tekst przycisku, jeśli pojawił się nowy komentarz"
1167
+
1168
+ #: options/phrases-layouts/phrases-general.php:92
1169
+ msgid "Button text if has new comments (Plural Form)"
1170
+ msgstr "Tekst przycisku, jeśli pojawiły się nowe komentarze (Liczba mnoga)"
1171
+
1172
+ #: options/phrases-layouts/phrases-general.php:96
1173
+ msgid "New Comments"
1174
+ msgstr "Nowe komentarze"
1175
+
1176
+ #: options/phrases-layouts/phrases-general.php:102
1177
+ msgid "Button text if has new reply"
1178
+ msgstr "Tekst przycisku, jeśli pojawiła się nowa odpowiedź"
1179
+
1180
+ #: options/phrases-layouts/phrases-general.php:112
1181
+ msgid "Button text if has new replies (Plural Form)"
1182
+ msgstr "Tekst przycisku, jeśli pojawiły się nowe odpowiedzi (Liczba mnoga)"
1183
+
1184
+ #: options/phrases-layouts/phrases-general.php:116
1185
+ msgid "New Replies"
1186
+ msgstr "Nowe odpowiedzi"
1187
+
1188
+ #: options/phrases-layouts/phrases-general.php:122
1189
+ msgid "Text on load more button if has new comment(s)"
1190
+ msgstr ""
1191
+ "Tekst na przycisku pokaż więcej, jeśli pojawiły się nowe(y) komentarz(e)"
1192
+
1193
+ #: options/phrases-layouts/phrases-notification.php:7
1194
+ msgid "Notification Phrases"
1195
+ msgstr "Frazy powiadomień"
1196
+
1197
+ #: options/phrases-layouts/phrases-notification.php:12
1198
+ msgid "You\\'re subscribed to"
1199
+ msgstr "Jesteś subskrybentem do"
1200
+
1201
+ #: options/phrases-layouts/phrases-notification.php:42
1202
+ msgid "Error message for empty field"
1203
+ msgstr "Puste pole"
1204
+
1205
+ #: options/phrases-layouts/phrases-notification.php:52
1206
+ msgid "Error message for invalid email field"
1207
+ msgstr "Pole adresu e-mail nieprawidłowe"
1208
+
1209
+ #: options/phrases-layouts/phrases-notification.php:62
1210
+ msgid "Error message for invalid website url field"
1211
+ msgstr "Pole witryny internetowej nieprawidłowe"
1212
+
1213
+ #: options/phrases-layouts/phrases-notification.php:82
1214
+ msgid "Logged in as"
1215
+ msgstr "Zalogowany jako"
1216
+
1217
+ #: options/phrases-layouts/phrases-notification.php:102
1218
+ msgid "Logged In"
1219
+ msgstr "Zalogowany jako"
1220
+
1221
+ #: options/phrases-layouts/phrases-notification.php:112
1222
+ msgid "To post a comment"
1223
+ msgstr "Aby dodać komentarz"
1224
+
1225
+ #: options/phrases-layouts/phrases-notification.php:132
1226
+ msgid "You can vote only 1 time"
1227
+ msgstr "Możesz głosować tylko 1 raz"
1228
+
1229
+ #: options/phrases-layouts/phrases-notification.php:152
1230
+ msgid "Login To Vote"
1231
+ msgstr "Zaloguj się, aby móc zagłosować"
1232
+
1233
+ #: options/phrases-layouts/phrases-notification.php:162
1234
+ msgid "You Cannot Vote On Your Comment"
1235
+ msgstr "Nie można głosować na swój komentarz"
1236
+
1237
+ #: options/phrases-layouts/phrases-notification.php:172
1238
+ msgid "You are not allowed to vote for this comment (Voting from same IP)"
1239
+ msgstr "Nie wolno głosować na ten komentarz (Głosowanie z tego samego IP)"
1240
+
1241
+ #: options/phrases-layouts/phrases-notification.php:202
1242
+ msgid "Comment waiting moderation"
1243
+ msgstr "Komentarz oczekuje na moderację"
1244
+
1245
+ #: options/phrases-layouts/phrases-notification.php:212
1246
+ msgid "Message if comment content length is too short"
1247
+ msgstr "Komunikat, jeśli długość treści komentarza jest zbyt krótka"
1248
+
1249
+ #: options/phrases-layouts/phrases-notification.php:222
1250
+ msgid "Message if comment content length is too long"
1251
+ msgstr "Komunikat, jeśli długość treści komentarza jest zbyt długa"
1252
+
1253
+ #: options/phrases-layouts/phrases-notification.php:232
1254
+ msgid "Message if comment was not updated"
1255
+ msgstr "Komunikat, jeśli komentarz nie został zaktualizowany"
1256
+
1257
+ #: options/phrases-layouts/phrases-notification.php:242
1258
+ msgid "Message if comment no longer possible to edit"
1259
+ msgstr "Komunikat, jeśli komentarza nie można już edytować"
1260
+
1261
+ #: options/phrases-layouts/phrases-notification.php:252
1262
+ msgid "Message if comment text not changed"
1263
+ msgstr "Komunikat, jeśli tekst komentarza nie jest zmieniony"
1264
+
1265
+ #: options/phrases-layouts/phrases-notification.php:256
1266
+ msgid "TYou've not made any changes"
1267
+ msgstr "Jeszcze nie dokonałeś zmian"
1268
+
1269
+ #: templates/comment/comment-form.php:51
1270
+ msgid "Unable to send an email"
1271
+ msgstr "Nie mogę wysłać wiadomości"
1272
+
1273
+ #: templates/comment/comment-form.php:53
1274
+ msgid "Subscription not successed"
1275
+ msgstr "Subskrypcja nie pomyślna"
1276
+
1277
+ #: utils/class.WpdiscuzHelper.php:392
1278
+ msgid "Participate in this discussion via email"
1279
+ msgstr "Weź udział w tej dyskusji przez e-mail"
1280
+
1281
+ #. Plugin Name of the plugin/theme
1282
+ msgid "wpDiscuz - Supercharged native comments"
1283
+ msgstr "wpDiscuz - Doładowane rodzimych komentarzy"
1284
+
1285
+ #. Plugin URI of the plugin/theme
1286
+ msgid "http://www.gvectors.com/wpdiscuz/"
1287
+ msgstr "http://www.gvectors.com/wpdiscuz/"
1288
+
1289
+ #. Description of the plugin/theme
1290
+ msgid ""
1291
+ "Better comment system. Wordpress post comments and discussion plugin. Allows "
1292
+ "your visitors discuss, vote for comments and share."
1293
+ msgstr ""
1294
+ "Lepszy system komentarzy. Wordpress dodaje komentarze i wtyczkę dyskusji. "
1295
+ "Pozwala odwiedzającym na dyskusję, głosować na komentarze czy udostępniać."
1296
+
1297
+ #. Author of the plugin/theme
1298
+ msgid "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
1299
+ msgstr "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
1300
+
1301
+ #. Author URI of the plugin/theme
1302
+ msgid "http://www.gvectors.com/"
1303
+ msgstr "http://www.gvectors.com/"
1304
+
1305
+ #~ msgid "User Must be registered to comment"
1306
+ #~ msgstr "Użytkownik musi być zarejestrowany, aby móc dodać komentarz"
1307
+
1308
+ #~ msgid "Yes"
1309
+ #~ msgstr "Tak"
1310
+
1311
+ #~ msgid "No"
1312
+ #~ msgstr "Nie"
1313
+
1314
+ #~ msgid "Show the latest comments on"
1315
+ #~ msgstr "Pokaż najnowsze komentarze"
1316
+
1317
+ #~ msgid "the top of the list"
1318
+ #~ msgstr "na początku listy"
1319
+
1320
+ #~ msgid "top of the threads"
1321
+ #~ msgstr "na początku wątków"
1322
+
1323
+ #~ msgid "bottom of the threads"
1324
+ #~ msgstr "na dole wątków"
1325
+
1326
+ #~ msgid "the bottom of the list"
1327
+ #~ msgstr "na dole listy"
1328
+
1329
+ #~ msgid "Comment Threads Per Page"
1330
+ #~ msgstr "Wątków komentarza na stronę"
1331
+
1332
+ #~ msgid "Comments max depth"
1333
+ #~ msgstr "Maksymalna długość komentarzy"
1334
+
1335
+ #~ msgid "Level"
1336
+ #~ msgstr "Poziom"
1337
+
1338
+ #~ msgid "Levels"
1339
+ #~ msgstr "Poziomy"
1340
+
1341
+ #~ msgid ""
1342
+ #~ "Load rest of all comments on clicking the [Load More Comments] button"
1343
+ #~ msgstr ""
1344
+ #~ "Załaduj przywracanie wszystkich komentarzy, klikając na przycisk [Pokaż "
1345
+ #~ "więcej komentarzy]"
1346
+
1347
+ #~ msgid ""
1348
+ #~ "If you use Shared Web Hosting you should make sure the \"Live Update\" "
1349
+ #~ "function doesn't overload your server resources. This function is good "
1350
+ #~ "for VPS and Dedicated Hosting Plans."
1351
+ #~ msgstr ""
1352
+ #~ "Jeśli używasz wspólnego hostingu powinieneś upewnić się, czy funkcja "
1353
+ #~ "\"Live Update\" nie przeciąża zasobów serwera. Ta funkcja jest dobra dla "
1354
+ #~ "serwerów VPS i dedykowanych hostingów."
1355
+
1356
+ #~ msgid "Hide Author Titles"
1357
+ #~ msgstr "Ukryj tytuły autora"
1358
+
1359
+ #~ msgid "Hide Share Buttons"
1360
+ #~ msgstr "Ukryj przyciski udostępniania"
1361
+
1362
+ #~ msgid "Hide the CAPTCHA field"
1363
+ #~ msgstr "Ukryj pole CAPTCHA"
1364
+
1365
+ #~ msgid "Hide the Website URL field"
1366
+ #~ msgstr "Ukryj pole witryny internetowej"
1367
+
1368
+ #~ msgid "Hide user avatar"
1369
+ #~ msgstr "Ukryj awatar użytkownika"
1370
+
1371
+ #~ msgid "Example: #00ff00"
1372
+ #~ msgstr "Przykład: #00ff00"
1373
+
1374
+ #~ msgid "Author title color"
1375
+ #~ msgstr "Kolor tytułu autora"
1376
+
1377
+ #~ msgid "Show \"Notify of all new follow-up comments\""
1378
+ #~ msgstr "Pokaż \"Powiadom o wszystkich dalszych nowych komentarzach\""
1379
+
1380
+ #~ msgid "Show \"Notify of new replies to all my comments\""
1381
+ #~ msgstr ""
1382
+ #~ "Pokaż \"Powiadom o nowych odpowiedziach na wszystkie moje komentarze\""
1383
+
1384
+ #~ msgid ""
1385
+ #~ "Please keep all three or at least one of those options ON, otherwise "
1386
+ #~ "users will not have any option for email notifications and they'll not "
1387
+ #~ "get any messages."
1388
+ #~ msgstr ""
1389
+ #~ "Proszę zachować wszystkie trzy lub co najmniej jedną z tych opcji, "
1390
+ #~ "inaczej użytkownicy nie będą mieli opcji powiadomień e-mail i nie "
1391
+ #~ "otrzymają żadnych wiadomości."
1392
+
1393
+ #~ msgid ""
1394
+ #~ "Keep selected the email notification of all new follow-up comments by "
1395
+ #~ "default"
1396
+ #~ msgstr ""
1397
+ #~ "Zachowaj wybrane powiadomienie e-mail o wszystkich dalszych nowych "
1398
+ #~ "komentarzach jako domyślne"
1399
+
1400
+ #~ msgid ""
1401
+ #~ "If this option is checked-on, in Manage Subscriptions section of comment "
1402
+ #~ "forms will only be displayed the \"Notify of all new follow-up comments\" "
1403
+ #~ "option and this option will always be selected by default."
1404
+ #~ msgstr ""
1405
+ #~ "Jeśli ta opcja jest zaznaczona, w sekcji komentarzy Zarządzaj "
1406
+ #~ "subskrypcjami będzie wyświetlona tylko opcja \"Powiadom o wszystkich "
1407
+ #~ "dalszych nowych komentarzach\" i ta opcja będzie zawsze wybrana jako "
1408
+ #~ "domyślna."
1409
+
1410
+ #~ msgid "Manage Subscriptions"
1411
+ #~ msgstr "Zarządzaj subskrypcjami"
1412
+
1413
+ #~ msgid "Notify \"None\""
1414
+ #~ msgstr "Powiadomienie \"Nie subskrybuj\""
1415
+
1416
+ #~ msgid "None"
1417
+ #~ msgstr "Nie subskrybuj"
1418
+
1419
+ #~ msgid "Notify on new comments (checkbox)"
1420
+ #~ msgstr "Powiadom o nowych komentarzach - (pole wyboru)"
1421
+
1422
+ #~ msgid "Notify of all new follow-up comments"
1423
+ #~ msgstr "Powiadom o wszystkich dalszych nowych komentarzach"
1424
+
1425
+ #~ msgid "Notify on all new replies (checkbox)"
1426
+ #~ msgstr "Powiadom o wszystkich nowych odpowiedziach - (pole wyboru)"
1427
+
1428
+ #~ msgid "Notify of new replies to all my comments"
1429
+ #~ msgstr "Powiadom o nowych odpowiedziach na wszystkie moje komentarze"
1430
+
1431
+ #~ msgid "Comment text is too long (maximum %s characters allowed)"
1432
+ #~ msgstr ""
1433
+ #~ "Tekst komentarza jest zbyt długi (maksymalnie %s dozwolonych znaków)"
1434
+
1435
+ #~ msgid "wpDiscuz - Wordpress Comments"
1436
+ #~ msgstr "wpDiscuz - Wordpress Comments"
languages/wpdiscuz.pot CHANGED
@@ -1,1207 +1,1277 @@
1
- # Copyright (C) 2015 wpDiscuz - Wordpress Comments
2
- # This file is distributed under the same license as the wpDiscuz - Wordpress Comments package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: wpDiscuz - Wordpress Comments 2.2.10\n"
6
- "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wpdiscuz\n"
7
- "POT-Creation-Date: 2015-10-01 19:50:02+00:00\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
14
-
15
- #: comment-form/form.php:251 comment-form/tpl-comment.php:263
16
- msgid "Participate in this discussion via email"
17
- msgstr ""
18
-
19
- #: comment-form/form.php:455
20
- msgid "Connect with"
21
- msgstr ""
22
-
23
- #: comment-form/tpl-comment.php:174
24
- #: options/phrases-layout/phrases-comment.php:27
25
- #: options/wc-options-serialize.php:449
26
- msgid "Edit"
27
- msgstr ""
28
-
29
- #: comment-form/tpl-comment.php:388 wc.php:325
30
- msgid "Anonymous"
31
- msgstr ""
32
-
33
- #: options/options-layouts/settings-general.php:2
34
- msgid "General Settings"
35
- msgstr ""
36
-
37
- #: options/options-layouts/settings-general.php:7
38
- msgid "Display comment form for post types:"
39
- msgstr ""
40
-
41
- #: options/options-layouts/settings-general.php:28
42
- msgid "User Must be registered to comment"
43
- msgstr ""
44
-
45
- #: options/options-layouts/settings-general.php:34
46
- msgid "Yes"
47
- msgstr ""
48
-
49
- #: options/options-layouts/settings-general.php:38
50
- msgid "No"
51
- msgstr ""
52
-
53
- #: options/options-layouts/settings-general.php:46
54
- msgid "Comment author must fill out name"
55
- msgstr ""
56
-
57
- #: options/options-layouts/settings-general.php:57
58
- msgid "Comment author must fill out email"
59
- msgstr ""
60
-
61
- #: options/options-layouts/settings-general.php:68
62
- msgid "Show the latest comments on"
63
- msgstr ""
64
-
65
- #: options/options-layouts/settings-general.php:72
66
- msgid "the top of the list"
67
- msgstr ""
68
-
69
- #: options/options-layouts/settings-general.php:74
70
- msgid "top of the threads"
71
- msgstr ""
72
-
73
- #: options/options-layouts/settings-general.php:76
74
- msgid "bottom of the threads"
75
- msgstr ""
76
-
77
- #: options/options-layouts/settings-general.php:78
78
- msgid "the bottom of the list"
79
- msgstr ""
80
-
81
- #: options/options-layouts/settings-general.php:86
82
- msgid "Comment Threads Per Page"
83
- msgstr ""
84
-
85
- #: options/options-layouts/settings-general.php:97
86
- msgid "Comment text max length"
87
- msgstr ""
88
-
89
- #: options/options-layouts/settings-general.php:108
90
- msgid "Comments max depth"
91
- msgstr ""
92
-
93
- #: options/options-layouts/settings-general.php:113
94
- msgid "Level"
95
- msgstr ""
96
-
97
- #: options/options-layouts/settings-general.php:114
98
- #: options/options-layouts/settings-general.php:115
99
- #: options/options-layouts/settings-general.php:116
100
- #: options/options-layouts/settings-general.php:117
101
- msgid "Levels"
102
- msgstr ""
103
-
104
- #: options/options-layouts/settings-general.php:124
105
- msgid "Comment text size in pixels"
106
- msgstr ""
107
-
108
- #: options/options-layouts/settings-general.php:141
109
- msgid "Allow comment editing for"
110
- msgstr ""
111
-
112
- #: options/options-layouts/settings-general.php:146
113
- msgid "Not Allow"
114
- msgstr ""
115
-
116
- #: options/options-layouts/settings-general.php:147
117
- #: options/options-layouts/settings-general.php:148
118
- #: options/options-layouts/settings-live-update.php:41
119
- #: options/options-layouts/settings-live-update.php:42
120
- #: options/options-layouts/settings-live-update.php:43
121
- msgid "Minutes"
122
- msgstr ""
123
-
124
- #: options/options-layouts/settings-general.php:149
125
- #: options/phrases-layout/phrases-datetime.php:73
126
- msgid "Hour"
127
- msgstr ""
128
-
129
- #: options/options-layouts/settings-general.php:150
130
- #: options/options-layouts/settings-general.php:151
131
- msgid "Hours"
132
- msgstr ""
133
-
134
- #: options/options-layouts/settings-general.php:158
135
- msgid "Redirect first commenter to"
136
- msgstr ""
137
-
138
- #: options/options-layouts/settings-general.php:165
139
- msgid "Do not redirect"
140
- msgstr ""
141
-
142
- #: options/options-layouts/settings-general.php:174
143
- msgid "Allow guests to vote on comments"
144
- msgstr ""
145
-
146
- #: options/options-layouts/settings-general.php:184
147
- msgid "Load WpDiscuz CSS and JS on home page"
148
- msgstr ""
149
-
150
- #: options/options-layouts/settings-general.php:194
151
- msgid "Load rest of all comments on clicking the [Load More Comments] button"
152
- msgstr ""
153
-
154
- #: options/options-layouts/settings-general.php:205
155
- msgid "Use WordPress Date/Time format"
156
- msgstr ""
157
-
158
- #: options/options-layouts/settings-general.php:206
159
- msgid ""
160
- "wpDiscuz shows Human Readable date format. If you check this option it'll "
161
- "show the date/time format set in WordPress General Settings."
162
- msgstr ""
163
-
164
- #: options/options-layouts/settings-general.php:213
165
- msgid "Current Wordpress date/time format"
166
- msgstr ""
167
-
168
- #: options/options-layouts/settings-general.php:219
169
- msgid "Use Plugin .PO/.MO files"
170
- msgstr ""
171
-
172
- #: options/options-layouts/settings-general.php:220
173
- msgid ""
174
- "wpDiscuz phrase system allows you to translate all front-end phrases. "
175
- "However if you have a multi-language website it'll not allow you to add more "
176
- "than one language translation. The only way to get it is the plugin "
177
- "translation files (.PO / .MO). If wpDiscuz has the languages you need you "
178
- "should check this option to disable phrase system and it'll automatically "
179
- "translate all phrases based on language files according to current language."
180
- msgstr ""
181
-
182
- #: options/options-layouts/settings-general.php:231
183
- msgid ""
184
- "Help wpDiscuz to grow allowing people to recognize which comment plugin you "
185
- "use"
186
- msgstr ""
187
-
188
- #: options/options-layouts/settings-general.php:233
189
- msgid ""
190
- "Please check this option on to help wpDiscuz get more popularity as your "
191
- "thank to the hard work we do for you totally free. This option adds a very "
192
- "small (16x16px) icon under the comment section which will allow your site "
193
- "visitors recognize the name of comment solution you use."
194
- msgstr ""
195
-
196
- #: options/options-layouts/settings-general.php:238
197
- msgid "Thank you!"
198
- msgstr ""
199
-
200
- #: options/options-layouts/settings-live-update.php:2
201
- #: options/wc-options.php:181
202
- msgid "Live Update"
203
- msgstr ""
204
-
205
- #: options/options-layouts/settings-live-update.php:8
206
- msgid "Live update options"
207
- msgstr ""
208
-
209
- #: options/options-layouts/settings-live-update.php:9
210
- msgid ""
211
- "If you use Shared Web Hosting you should make sure the \"Live Update\" "
212
- "function doesn't overload your server resources. This function is good for "
213
- "VPS and Dedicated Hosting Plans."
214
- msgstr ""
215
-
216
- #: options/options-layouts/settings-live-update.php:14
217
- msgid "Never update"
218
- msgstr ""
219
-
220
- #: options/options-layouts/settings-live-update.php:16
221
- msgid "Turn off \"Live Update\" function"
222
- msgstr ""
223
-
224
- #: options/options-layouts/settings-live-update.php:18
225
- msgid "Show new comment/reply buttons to update manualy"
226
- msgstr ""
227
-
228
- #: options/options-layouts/settings-live-update.php:20
229
- msgid "Always check for new comments and show update buttons"
230
- msgstr ""
231
-
232
- #: options/options-layouts/settings-live-update.php:22
233
- msgid "Always update"
234
- msgstr ""
235
-
236
- #: options/options-layouts/settings-live-update.php:24
237
- msgid "Always check for new comments and update automatically"
238
- msgstr ""
239
-
240
- #: options/options-layouts/settings-live-update.php:32
241
- msgid "Update comment list every"
242
- msgstr ""
243
-
244
- #: options/options-layouts/settings-live-update.php:37
245
- #: options/options-layouts/settings-live-update.php:38
246
- #: options/options-layouts/settings-live-update.php:39
247
- msgid "Seconds"
248
- msgstr ""
249
-
250
- #: options/options-layouts/settings-live-update.php:40
251
- #: options/phrases-layout/phrases-datetime.php:95
252
- msgid "Minute"
253
- msgstr ""
254
-
255
- #: options/options-layouts/settings-show-hide.php:2 options/wc-options.php:182
256
- msgid "Show/Hide Components"
257
- msgstr ""
258
-
259
- #: options/options-layouts/settings-show-hide.php:7
260
- msgid "Show logged-in user name and logout link on top of main form"
261
- msgstr ""
262
-
263
- #: options/options-layouts/settings-show-hide.php:17
264
- msgid "Hide Reply button for Guests"
265
- msgstr ""
266
-
267
- #: options/options-layouts/settings-show-hide.php:27
268
- msgid "Hide Reply button for Members"
269
- msgstr ""
270
-
271
- #: options/options-layouts/settings-show-hide.php:37
272
- msgid "Hide Author Titles"
273
- msgstr ""
274
-
275
- #: options/options-layouts/settings-show-hide.php:47
276
- msgid "Hide Voting buttons"
277
- msgstr ""
278
-
279
- #: options/options-layouts/settings-show-hide.php:57
280
- msgid "Hide Share Buttons"
281
- msgstr ""
282
-
283
- #: options/options-layouts/settings-show-hide.php:67
284
- msgid "Hide the CAPTCHA field"
285
- msgstr ""
286
-
287
- #: options/options-layouts/settings-show-hide.php:77
288
- msgid "Hide the Website URL field"
289
- msgstr ""
290
-
291
- #: options/options-layouts/settings-show-hide.php:87
292
- msgid "Hide header text"
293
- msgstr ""
294
-
295
- #: options/options-layouts/settings-show-hide.php:97
296
- msgid "Hide user avatar"
297
- msgstr ""
298
-
299
- #: options/options-layouts/settings-social.php:10
300
- #: options/options-layouts/settings-social.php:12
301
- #: options/options-layouts/settings-social.php:14
302
- #: options/options-layouts/settings-social.php:16 wc.php:1024
303
- msgid "Settings"
304
- msgstr ""
305
-
306
- #: options/options-layouts/settings-social.php:21
307
- #: options/options-layouts/settings-social.php:31
308
- #: options/options-layouts/settings-social.php:41
309
- #: options/options-layouts/settings-social.php:52
310
- msgid "Activate"
311
- msgstr ""
312
-
313
- #: options/options-layouts/settings-social.php:25
314
- #: options/options-layouts/settings-social.php:35
315
- #: options/options-layouts/settings-social.php:45
316
- #: options/options-layouts/settings-social.php:56
317
- msgid "View details/Install"
318
- msgstr ""
319
-
320
- #: options/options-layouts/settings-social.php:89 options/wc-options.php:185
321
- msgid "Social Login"
322
- msgstr ""
323
-
324
- #: options/options-layouts/settings-social.php:90
325
- msgid ""
326
- "You can use one of these most popular Social Login Plugins to allow your "
327
- "visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, "
328
- "OK and lots of other social network service accounts. All social login "
329
- "buttons will be fully integrated with wpDiscuz comment forms."
330
- msgstr ""
331
-
332
- #: options/options-layouts/settings-style.php:2 options/wc-options.php:184
333
- msgid "Background and Colors"
334
- msgstr ""
335
-
336
- #: options/options-layouts/settings-style.php:7
337
- msgid "Comment Form Background Color"
338
- msgstr ""
339
-
340
- #: options/options-layouts/settings-style.php:10
341
- #: options/options-layouts/settings-style.php:34
342
- #: options/options-layouts/settings-style.php:58
343
- #: options/options-layouts/settings-style.php:82
344
- #: options/options-layouts/settings-style.php:107
345
- #: options/options-layouts/settings-style.php:132
346
- #: options/options-layouts/settings-style.php:155
347
- #: options/options-layouts/settings-style.php:178
348
- msgid "Example: #00ff00"
349
- msgstr ""
350
-
351
- #: options/options-layouts/settings-style.php:31
352
- msgid "Comment Background Color"
353
- msgstr ""
354
-
355
- #: options/options-layouts/settings-style.php:55
356
- msgid "Reply Background Color"
357
- msgstr ""
358
-
359
- #: options/options-layouts/settings-style.php:79
360
- msgid "Comment Text Color"
361
- msgstr ""
362
-
363
- #: options/options-layouts/settings-style.php:104
364
- msgid "Author title color"
365
- msgstr ""
366
-
367
- #: options/options-layouts/settings-style.php:129
368
- msgid "Vote, Reply, Share, Edit links text colors"
369
- msgstr ""
370
-
371
- #: options/options-layouts/settings-style.php:152
372
- msgid "Comment form fields border color"
373
- msgstr ""
374
-
375
- #: options/options-layouts/settings-style.php:175
376
- msgid "New loaded comments' background color"
377
- msgstr ""
378
-
379
- #: options/options-layouts/settings-style.php:199
380
- msgid "Custom CSS Code"
381
- msgstr ""
382
-
383
- #: options/options-layouts/settings-subscription.php:2
384
- msgid "Email Subscription Settings"
385
- msgstr ""
386
-
387
- #: options/options-layouts/settings-subscription.php:7
388
- msgid "Show \"Notify of all new follow-up comments\""
389
- msgstr ""
390
-
391
- #: options/options-layouts/settings-subscription.php:8
392
- msgid "Show \"Notify of new replies to all my comments\""
393
- msgstr ""
394
-
395
- #: options/options-layouts/settings-subscription.php:9
396
- msgid "Show \"Notify of new replies to this comment\""
397
- msgstr ""
398
-
399
- #: options/options-layouts/settings-subscription.php:11
400
- msgid ""
401
- "Please keep all three or at least one of those options ON, otherwise users "
402
- "will not have any option for email notifications and they'll not get any "
403
- "messages."
404
- msgstr ""
405
-
406
- #: options/options-layouts/settings-subscription.php:30
407
- msgid "Use Postmatic for subscriptions and commenting by email"
408
- msgstr ""
409
-
410
- #: options/options-layouts/settings-subscription.php:31
411
- msgid ""
412
- "Postmatic allows your users subscribe to comments. Instead of just being "
413
- "notified, they add a reply right from their inbox."
414
- msgstr ""
415
-
416
- #: options/options-layouts/settings-subscription.php:42
417
- msgid ""
418
- "Keep selected the email notification of all new follow-up comments by default"
419
- msgstr ""
420
-
421
- #: options/options-layouts/settings-subscription.php:43
422
- msgid ""
423
- "If this option is checked-on, in Manage Subscriptions section of comment "
424
- "forms will only be displayed the \"Notify of all new follow-up comments\" "
425
- "option and this option will always be selected by default."
426
- msgstr ""
427
-
428
- #: options/phrases-layout/phrases-comment.php:2
429
- msgid "Comment Template Phrases"
430
- msgstr ""
431
-
432
- #: options/phrases-layout/phrases-comment.php:7
433
- #: options/wc-options-serialize.php:447
434
- msgid "Reply"
435
- msgstr ""
436
-
437
- #: options/phrases-layout/phrases-comment.php:17
438
- #: options/wc-options-serialize.php:448
439
- msgid "Share"
440
- msgstr ""
441
-
442
- #: options/phrases-layout/phrases-comment.php:37
443
- #: options/wc-options-serialize.php:450
444
- msgid "Share On Facebook"
445
- msgstr ""
446
-
447
- #: options/phrases-layout/phrases-comment.php:47
448
- #: options/wc-options-serialize.php:451
449
- msgid "Share On Twitter"
450
- msgstr ""
451
-
452
- #: options/phrases-layout/phrases-comment.php:57
453
- #: options/wc-options-serialize.php:452
454
- msgid "Share On Google"
455
- msgstr ""
456
-
457
- #: options/phrases-layout/phrases-comment.php:67
458
- #: options/wc-options-serialize.php:453
459
- msgid "Share On VKontakte"
460
- msgstr ""
461
-
462
- #: options/phrases-layout/phrases-comment.php:77
463
- #: options/wc-options-serialize.php:454
464
- msgid "Share On Odnoklassniki"
465
- msgstr ""
466
-
467
- #: options/phrases-layout/phrases-comment.php:87
468
- #: options/wc-options-serialize.php:455
469
- msgid "Hide Replies"
470
- msgstr ""
471
-
472
- #: options/phrases-layout/phrases-comment.php:97
473
- #: options/wc-options-serialize.php:456
474
- msgid "Show Replies"
475
- msgstr ""
476
-
477
- #: options/phrases-layout/phrases-comment.php:107
478
- msgid "Title For Guests"
479
- msgstr ""
480
-
481
- #: options/phrases-layout/phrases-comment.php:117
482
- msgid "Title For Members"
483
- msgstr ""
484
-
485
- #: options/phrases-layout/phrases-comment.php:127
486
- msgid "Title For Authors"
487
- msgstr ""
488
-
489
- #: options/phrases-layout/phrases-comment.php:137
490
- msgid "Title For Admins"
491
- msgstr ""
492
-
493
- #: options/phrases-layout/phrases-comment.php:147
494
- #: options/wc-options-serialize.php:498
495
- msgid "Vote Up"
496
- msgstr ""
497
-
498
- #: options/phrases-layout/phrases-comment.php:157
499
- #: options/wc-options-serialize.php:499
500
- msgid "Vote Down"
501
- msgstr ""
502
-
503
- #: options/phrases-layout/phrases-comment.php:167
504
- msgid "Save edited comment button text"
505
- msgstr ""
506
-
507
- #: options/phrases-layout/phrases-comment.php:171
508
- #: options/wc-options-serialize.php:517
509
- msgid "Save"
510
- msgstr ""
511
-
512
- #: options/phrases-layout/phrases-comment.php:177
513
- msgid "Cancel comment editing button text"
514
- msgstr ""
515
-
516
- #: options/phrases-layout/phrases-comment.php:181
517
- #: options/wc-options-serialize.php:518
518
- msgid "Cancel"
519
- msgstr ""
520
-
521
- #: options/phrases-layout/phrases-datetime.php:2
522
- msgid "Date/Time Phrases"
523
- msgstr ""
524
-
525
- #: options/phrases-layout/phrases-datetime.php:7
526
- msgid "Year"
527
- msgstr ""
528
-
529
- #: options/phrases-layout/phrases-datetime.php:18
530
- msgid "Years (Plural Form)"
531
- msgstr ""
532
-
533
- #: options/phrases-layout/phrases-datetime.php:22
534
- msgid "Years"
535
- msgstr ""
536
-
537
- #: options/phrases-layout/phrases-datetime.php:29
538
- msgid "Month"
539
- msgstr ""
540
-
541
- #: options/phrases-layout/phrases-datetime.php:40
542
- msgid "Months (Plural Form)"
543
- msgstr ""
544
-
545
- #: options/phrases-layout/phrases-datetime.php:51
546
- msgid "Day"
547
- msgstr ""
548
-
549
- #: options/phrases-layout/phrases-datetime.php:62
550
- msgid "Days (Plural Form)"
551
- msgstr ""
552
-
553
- #: options/phrases-layout/phrases-datetime.php:84
554
- msgid "Hours (Plural Form)"
555
- msgstr ""
556
-
557
- #: options/phrases-layout/phrases-datetime.php:106
558
- msgid "Minutes (Plural Form)"
559
- msgstr ""
560
-
561
- #: options/phrases-layout/phrases-datetime.php:117
562
- msgid "Second"
563
- msgstr ""
564
-
565
- #: options/phrases-layout/phrases-datetime.php:128
566
- msgid "Seconds (Plural Form)"
567
- msgstr ""
568
-
569
- #: options/phrases-layout/phrases-datetime.php:138
570
- msgid "Commented \"right now\" text"
571
- msgstr ""
572
-
573
- #: options/phrases-layout/phrases-datetime.php:149
574
- msgid "Ago text"
575
- msgstr ""
576
-
577
- #: options/phrases-layout/phrases-datetime.php:160
578
- msgid "\"Today\" text"
579
- msgstr ""
580
-
581
- #: options/phrases-layout/phrases-datetime.php:164
582
- #: options/wc-options-serialize.php:492
583
- msgid "Today"
584
- msgstr ""
585
-
586
- #: options/phrases-layout/phrases-email.php:2
587
- msgid "Email Template Phrases"
588
- msgstr ""
589
-
590
- #: options/phrases-layout/phrases-email.php:7
591
- msgid "Email Subject"
592
- msgstr ""
593
-
594
- #: options/phrases-layout/phrases-email.php:18
595
- msgid "Email Message"
596
- msgstr ""
597
-
598
- #: options/phrases-layout/phrases-email.php:29
599
- msgid "New Reply Subject"
600
- msgstr ""
601
-
602
- #: options/phrases-layout/phrases-email.php:33
603
- #: options/phrases-layout/phrases-general.php:101
604
- #: options/wc-options-serialize.php:463 wc.php:934
605
- msgid "New Reply"
606
- msgstr ""
607
-
608
- #: options/phrases-layout/phrases-email.php:40
609
- msgid "New Reply Message"
610
- msgstr ""
611
-
612
- #: options/phrases-layout/phrases-email.php:50
613
- #: options/phrases-layout/phrases-email.php:54
614
- #: options/wc-options-serialize.php:468
615
- msgid "Unsubscribe"
616
- msgstr ""
617
-
618
- #: options/phrases-layout/phrases-email.php:61
619
- #: options/phrases-layout/phrases-email.php:65
620
- #: options/wc-options-serialize.php:469
621
- msgid "Ignore Subscription"
622
- msgstr ""
623
-
624
- #: options/phrases-layout/phrases-email.php:72
625
- #: options/phrases-layout/phrases-email.php:76
626
- #: options/wc-options-serialize.php:471
627
- msgid "Confirm your subscription"
628
- msgstr ""
629
-
630
- #: options/phrases-layout/phrases-email.php:82
631
- #: options/phrases-layout/phrases-email.php:86
632
- #: options/wc-options-serialize.php:472
633
- msgid "You've successfully confirmed your subscription."
634
- msgstr ""
635
-
636
- #: options/phrases-layout/phrases-email.php:92
637
- msgid "Subscribe Confirmation Email Subject"
638
- msgstr ""
639
-
640
- #: options/phrases-layout/phrases-email.php:96
641
- #: options/wc-options-serialize.php:473 wc.php:945
642
- msgid "Subscribe Confirmation"
643
- msgstr ""
644
-
645
- #: options/phrases-layout/phrases-email.php:103
646
- msgid "Subscribe Confirmation Email Content"
647
- msgstr ""
648
-
649
- #: options/phrases-layout/phrases-email.php:107
650
- #: options/wc-options-serialize.php:474 wc.php:946
651
- msgid ""
652
- "Hi, <br/> You just subscribed for new comments on our website. This means "
653
- "you will receive an email when new comments are posted according to "
654
- "subscription option you've chosen. <br/> To activate, click confirm below. "
655
- "If you believe this is an error, ignore this message and we'll never bother "
656
- "you again."
657
- msgstr ""
658
-
659
- #: options/phrases-layout/phrases-form.php:2
660
- msgid "Form Template Phrases"
661
- msgstr ""
662
-
663
- #: options/phrases-layout/phrases-form.php:7
664
- msgid "Comment Field Start"
665
- msgstr ""
666
-
667
- #: options/phrases-layout/phrases-form.php:17
668
- msgid "Comment Field Join"
669
- msgstr ""
670
-
671
- #: options/phrases-layout/phrases-form.php:27
672
- msgid "Email Field"
673
- msgstr ""
674
-
675
- #: options/phrases-layout/phrases-form.php:37
676
- msgid "Name Field"
677
- msgstr ""
678
-
679
- #: options/phrases-layout/phrases-form.php:47
680
- msgid "WebSite URL Field"
681
- msgstr ""
682
-
683
- #: options/phrases-layout/phrases-form.php:57
684
- msgid "CAPTCHA Field"
685
- msgstr ""
686
-
687
- #: options/phrases-layout/phrases-form.php:67
688
- msgid "Submit Button"
689
- msgstr ""
690
-
691
- #: options/phrases-layout/phrases-form.php:77
692
- #: options/phrases-layout/phrases-form.php:81
693
- #: options/wc-options-serialize.php:440
694
- msgid "Manage Subscriptions"
695
- msgstr ""
696
-
697
- #: options/phrases-layout/phrases-form.php:87
698
- msgid "Notify \"None\""
699
- msgstr ""
700
-
701
- #: options/phrases-layout/phrases-form.php:91
702
- #: options/wc-options-serialize.php:441
703
- msgid "None"
704
- msgstr ""
705
-
706
- #: options/phrases-layout/phrases-form.php:97
707
- msgid "Notify on new comments (checkbox)"
708
- msgstr ""
709
-
710
- #: options/phrases-layout/phrases-form.php:101
711
- #: options/wc-options-serialize.php:442
712
- msgid "Notify of all new follow-up comments"
713
- msgstr ""
714
-
715
- #: options/phrases-layout/phrases-form.php:108
716
- msgid "Notify on all new replies (checkbox)"
717
- msgstr ""
718
-
719
- #: options/phrases-layout/phrases-form.php:112
720
- #: options/wc-options-serialize.php:443
721
- msgid "Notify of new replies to all my comments"
722
- msgstr ""
723
-
724
- #: options/phrases-layout/phrases-form.php:119
725
- msgid "Notify on new replies (checkbox)"
726
- msgstr ""
727
-
728
- #: options/phrases-layout/phrases-form.php:123
729
- #: options/wc-options-serialize.php:444
730
- msgid "Notify of new replies to this comment"
731
- msgstr ""
732
-
733
- #: options/phrases-layout/phrases-form.php:129
734
- msgid "Subscribed on this comment replies"
735
- msgstr ""
736
-
737
- #: options/phrases-layout/phrases-form.php:139
738
- msgid "Subscribed on all your comments replies"
739
- msgstr ""
740
-
741
- #: options/phrases-layout/phrases-form.php:149
742
- msgid "Subscribed on this post"
743
- msgstr ""
744
-
745
- #: options/phrases-layout/phrases-general.php:2
746
- msgid "General Phrases"
747
- msgstr ""
748
-
749
- #: options/phrases-layout/phrases-general.php:7
750
- #: options/wc-options-serialize.php:428
751
- msgid "Leave a Reply"
752
- msgstr ""
753
-
754
- #: options/phrases-layout/phrases-general.php:17
755
- msgid "Be the first to comment"
756
- msgstr ""
757
-
758
- #: options/phrases-layout/phrases-general.php:27
759
- #: options/wc-options-serialize.php:430 options/wc-options.php:354
760
- msgid "Comment"
761
- msgstr ""
762
-
763
- #: options/phrases-layout/phrases-general.php:37
764
- msgid "Comment (Plural Form)"
765
- msgstr ""
766
-
767
- #: options/phrases-layout/phrases-general.php:47
768
- msgid "On"
769
- msgstr ""
770
-
771
- #: options/phrases-layout/phrases-general.php:57
772
- msgid "Load More Button"
773
- msgstr ""
774
-
775
- #: options/phrases-layout/phrases-general.php:67
776
- #: options/wc-options-serialize.php:446
777
- msgid "Load Rest of Comments"
778
- msgstr ""
779
-
780
- #: options/phrases-layout/phrases-general.php:77
781
- msgid "Button text if has new comment"
782
- msgstr ""
783
-
784
- #: options/phrases-layout/phrases-general.php:81
785
- #: options/wc-options-serialize.php:461
786
- msgid "New Comment"
787
- msgstr ""
788
-
789
- #: options/phrases-layout/phrases-general.php:87
790
- msgid "Button text if has new comments (Plural Form)"
791
- msgstr ""
792
-
793
- #: options/phrases-layout/phrases-general.php:91
794
- msgid "New Comments"
795
- msgstr ""
796
-
797
- #: options/phrases-layout/phrases-general.php:97
798
- msgid "Button text if has new reply"
799
- msgstr ""
800
-
801
- #: options/phrases-layout/phrases-general.php:107
802
- msgid "Button text if has new replies (Plural Form)"
803
- msgstr ""
804
-
805
- #: options/phrases-layout/phrases-general.php:111
806
- msgid "New Replies"
807
- msgstr ""
808
-
809
- #: options/phrases-layout/phrases-general.php:117
810
- msgid "Text on load more button if has new comment(s)"
811
- msgstr ""
812
-
813
- #: options/phrases-layout/phrases-general.php:121
814
- #: options/wc-options-serialize.php:513
815
- msgid "New"
816
- msgstr ""
817
-
818
- #: options/phrases-layout/phrases-notification.php:2
819
- msgid "Notification Phrases"
820
- msgstr ""
821
-
822
- #: options/phrases-layout/phrases-notification.php:7
823
- #: options/wc-options-serialize.php:470
824
- msgid "You've successfully unsubscribed."
825
- msgstr ""
826
-
827
- #: options/phrases-layout/phrases-notification.php:18
828
- msgid "Error message for empty field"
829
- msgstr ""
830
-
831
- #: options/phrases-layout/phrases-notification.php:28
832
- msgid "Error message for invalid email field"
833
- msgstr ""
834
-
835
- #: options/phrases-layout/phrases-notification.php:38
836
- msgid "Error message for invalid website url field"
837
- msgstr ""
838
-
839
- #: options/phrases-layout/phrases-notification.php:48
840
- #: options/wc-options-serialize.php:493
841
- msgid "You must be"
842
- msgstr ""
843
-
844
- #: options/phrases-layout/phrases-notification.php:58
845
- msgid "Logged in as"
846
- msgstr ""
847
-
848
- #: options/phrases-layout/phrases-notification.php:68
849
- #: options/wc-options-serialize.php:495
850
- msgid "Log out"
851
- msgstr ""
852
-
853
- #: options/phrases-layout/phrases-notification.php:78
854
- msgid "Logged In"
855
- msgstr ""
856
-
857
- #: options/phrases-layout/phrases-notification.php:88
858
- msgid "To post a comment"
859
- msgstr ""
860
-
861
- #: options/phrases-layout/phrases-notification.php:98
862
- #: options/wc-options-serialize.php:500
863
- msgid "Vote Counted"
864
- msgstr ""
865
-
866
- #: options/phrases-layout/phrases-notification.php:108
867
- msgid "You can vote only 1 time"
868
- msgstr ""
869
-
870
- #: options/phrases-layout/phrases-notification.php:118
871
- #: options/wc-options-serialize.php:502
872
- msgid "Voting Error"
873
- msgstr ""
874
-
875
- #: options/phrases-layout/phrases-notification.php:128
876
- msgid "Login To Vote"
877
- msgstr ""
878
-
879
- #: options/phrases-layout/phrases-notification.php:138
880
- msgid "You Cannot Vote On Your Comment"
881
- msgstr ""
882
-
883
- #: options/phrases-layout/phrases-notification.php:148
884
- msgid "You are not allowed to vote for this comment (Voting from same IP)"
885
- msgstr ""
886
-
887
- #: options/phrases-layout/phrases-notification.php:158
888
- #: options/wc-options-serialize.php:506
889
- msgid "Invalid Captcha Code"
890
- msgstr ""
891
-
892
- #: options/phrases-layout/phrases-notification.php:168
893
- #: options/wc-options-serialize.php:507
894
- msgid "Some of field value is invalid"
895
- msgstr ""
896
-
897
- #: options/phrases-layout/phrases-notification.php:178
898
- msgid "Comment waiting moderation"
899
- msgstr ""
900
-
901
- #: options/phrases-layout/phrases-notification.php:188
902
- msgid "Message if comment content length is too long"
903
- msgstr ""
904
-
905
- #: options/phrases-layout/phrases-notification.php:198
906
- msgid "Message if comment was not updated"
907
- msgstr ""
908
-
909
- #: options/phrases-layout/phrases-notification.php:202
910
- #: options/wc-options-serialize.php:514
911
- msgid "Sorry, the comment was not updated"
912
- msgstr ""
913
-
914
- #: options/phrases-layout/phrases-notification.php:208
915
- msgid "Message if comment no longer possible to edit"
916
- msgstr ""
917
-
918
- #: options/phrases-layout/phrases-notification.php:212
919
- #: options/wc-options-serialize.php:515
920
- msgid "Sorry, this comment no longer possible to edit"
921
- msgstr ""
922
-
923
- #: options/phrases-layout/phrases-notification.php:219
924
- msgid "Message if comment text not changed"
925
- msgstr ""
926
-
927
- #: options/phrases-layout/phrases-notification.php:223
928
- msgid "TYou've not made any changes"
929
- msgstr ""
930
-
931
- #: options/wc-options-serialize.php:429
932
- msgid "Be the First to Comment!"
933
- msgstr ""
934
-
935
- #: options/wc-options-serialize.php:431
936
- msgid "Comments"
937
- msgstr ""
938
-
939
- #: options/wc-options-serialize.php:432
940
- msgid "on"
941
- msgstr ""
942
-
943
- #: options/wc-options-serialize.php:433
944
- msgid "Start the discussion"
945
- msgstr ""
946
-
947
- #: options/wc-options-serialize.php:434
948
- msgid "Join the discussion"
949
- msgstr ""
950
-
951
- #: options/wc-options-serialize.php:435 options/wc-options.php:356
952
- msgid "Email"
953
- msgstr ""
954
-
955
- #: options/wc-options-serialize.php:436
956
- msgid "Name"
957
- msgstr ""
958
-
959
- #: options/wc-options-serialize.php:437
960
- msgid "WebSite URL"
961
- msgstr ""
962
-
963
- #: options/wc-options-serialize.php:438
964
- msgid "Please insert the code above to comment"
965
- msgstr ""
966
-
967
- #: options/wc-options-serialize.php:439
968
- msgid "Post Comment"
969
- msgstr ""
970
-
971
- #: options/wc-options-serialize.php:445
972
- msgid "Load More Comments"
973
- msgstr ""
974
-
975
- #: options/wc-options-serialize.php:457
976
- msgid "Guest"
977
- msgstr ""
978
-
979
- #: options/wc-options-serialize.php:458
980
- msgid "Member"
981
- msgstr ""
982
-
983
- #: options/wc-options-serialize.php:459
984
- msgid "Author"
985
- msgstr ""
986
-
987
- #: options/wc-options-serialize.php:460
988
- msgid "Admin"
989
- msgstr ""
990
-
991
- #: options/wc-options-serialize.php:462
992
- msgid "New comment on the discussion section you've been interested in"
993
- msgstr ""
994
-
995
- #: options/wc-options-serialize.php:464 wc.php:935
996
- msgid "New reply on the discussion section you've been interested in"
997
- msgstr ""
998
-
999
- #: options/wc-options-serialize.php:465
1000
- msgid "You're subscribed for new replies on this comment"
1001
- msgstr ""
1002
-
1003
- #: options/wc-options-serialize.php:466
1004
- msgid "You're subscribed for new replies on all your comments"
1005
- msgstr ""
1006
-
1007
- #: options/wc-options-serialize.php:467
1008
- msgid "You're subscribed for new follow-up comments on this post"
1009
- msgstr ""
1010
-
1011
- #: options/wc-options-serialize.php:475
1012
- msgid "please fill out this field to comment"
1013
- msgstr ""
1014
-
1015
- #: options/wc-options-serialize.php:476
1016
- msgid "email address is invalid"
1017
- msgstr ""
1018
-
1019
- #: options/wc-options-serialize.php:477
1020
- msgid "url is invalid"
1021
- msgstr ""
1022
-
1023
- #: options/wc-options-serialize.php:478
1024
- msgid "year"
1025
- msgstr ""
1026
-
1027
- #: options/wc-options-serialize.php:479
1028
- msgid "years"
1029
- msgstr ""
1030
-
1031
- #: options/wc-options-serialize.php:480
1032
- msgid "month"
1033
- msgstr ""
1034
-
1035
- #: options/wc-options-serialize.php:481
1036
- msgid "months"
1037
- msgstr ""
1038
-
1039
- #: options/wc-options-serialize.php:482
1040
- msgid "day"
1041
- msgstr ""
1042
-
1043
- #: options/wc-options-serialize.php:483
1044
- msgid "days"
1045
- msgstr ""
1046
-
1047
- #: options/wc-options-serialize.php:484
1048
- msgid "hour"
1049
- msgstr ""
1050
-
1051
- #: options/wc-options-serialize.php:485
1052
- msgid "hours"
1053
- msgstr ""
1054
-
1055
- #: options/wc-options-serialize.php:486
1056
- msgid "minute"
1057
- msgstr ""
1058
-
1059
- #: options/wc-options-serialize.php:487
1060
- msgid "minutes"
1061
- msgstr ""
1062
-
1063
- #: options/wc-options-serialize.php:488
1064
- msgid "second"
1065
- msgstr ""
1066
-
1067
- #: options/wc-options-serialize.php:489
1068
- msgid "seconds"
1069
- msgstr ""
1070
-
1071
- #: options/wc-options-serialize.php:490
1072
- msgid "right now"
1073
- msgstr ""
1074
-
1075
- #: options/wc-options-serialize.php:491
1076
- msgid "ago"
1077
- msgstr ""
1078
-
1079
- #: options/wc-options-serialize.php:494
1080
- msgid "You are logged in as"
1081
- msgstr ""
1082
-
1083
- #: options/wc-options-serialize.php:496
1084
- msgid "logged in"
1085
- msgstr ""
1086
-
1087
- #: options/wc-options-serialize.php:497
1088
- msgid "to post a comment."
1089
- msgstr ""
1090
-
1091
- #: options/wc-options-serialize.php:501
1092
- msgid "You've already voted for this comment"
1093
- msgstr ""
1094
-
1095
- #: options/wc-options-serialize.php:503
1096
- msgid "You Must Be Logged In To Vote"
1097
- msgstr ""
1098
-
1099
- #: options/wc-options-serialize.php:504
1100
- msgid "You cannot vote for your comment"
1101
- msgstr ""
1102
-
1103
- #: options/wc-options-serialize.php:505
1104
- msgid "You are not allowed to vote for this comment"
1105
- msgstr ""
1106
-
1107
- #: options/wc-options-serialize.php:508
1108
- msgid "new comment"
1109
- msgstr ""
1110
-
1111
- #: options/wc-options-serialize.php:509
1112
- msgid "new comments"
1113
- msgstr ""
1114
-
1115
- #: options/wc-options-serialize.php:510
1116
- msgid "Comment awaiting moderation"
1117
- msgstr ""
1118
-
1119
- #: options/wc-options-serialize.php:511
1120
- msgid "new reply on your comment"
1121
- msgstr ""
1122
-
1123
- #: options/wc-options-serialize.php:512
1124
- msgid "new replies on your comments"
1125
- msgstr ""
1126
-
1127
- #: options/wc-options-serialize.php:516
1128
- msgid "You've not made any changes"
1129
- msgstr ""
1130
-
1131
- #: options/wc-options-serialize.php:519
1132
- msgid "Comment text is too long (maximum %s characters allowed)"
1133
- msgstr ""
1134
-
1135
- #: options/wc-options.php:28 options/wc-options.php:233
1136
- msgid "Hacker?"
1137
- msgstr ""
1138
-
1139
- #: options/wc-options.php:88
1140
- msgid "wpDiscuz General Settings"
1141
- msgstr ""
1142
-
1143
- #: options/wc-options.php:180
1144
- msgid "General settings"
1145
- msgstr ""
1146
-
1147
- #: options/wc-options.php:183
1148
- msgid "Email Subscription"
1149
- msgstr ""
1150
-
1151
- #: options/wc-options.php:183
1152
- msgid "and Postmatic"
1153
- msgstr ""
1154
-
1155
- #: options/wc-options.php:214 options/wc-options.php:384
1156
- msgid "Save Changes"
1157
- msgstr ""
1158
-
1159
- #: options/wc-options.php:215
1160
- msgid "Reset Options"
1161
- msgstr ""
1162
-
1163
- #: options/wc-options.php:342
1164
- msgid "WpDiscuz Front-end Phrases"
1165
- msgstr ""
1166
-
1167
- #: options/wc-options.php:352
1168
- msgid "General"
1169
- msgstr ""
1170
-
1171
- #: options/wc-options.php:353
1172
- msgid "Form"
1173
- msgstr ""
1174
-
1175
- #: options/wc-options.php:355
1176
- msgid "Date/Time"
1177
- msgstr ""
1178
-
1179
- #: options/wc-options.php:357
1180
- msgid "Notification"
1181
- msgstr ""
1182
-
1183
- #: wc.php:1026
1184
- msgid "Phrases"
1185
- msgstr ""
1186
-
1187
- #. Plugin Name of the plugin/theme
1188
- msgid "wpDiscuz - Wordpress Comments"
1189
- msgstr ""
1190
-
1191
- #. Plugin URI of the plugin/theme
1192
- msgid "http://www.gvectors.com/wpdiscuz/"
1193
- msgstr ""
1194
-
1195
- #. Description of the plugin/theme
1196
- msgid ""
1197
- "Better comment system. Wordpress post comments and discussion plugin. Allows "
1198
- "your visitors discuss, vote for comments and share."
1199
- msgstr ""
1200
-
1201
- #. Author of the plugin/theme
1202
- msgid "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
1203
- msgstr ""
1204
-
1205
- #. Author URI of the plugin/theme
1206
- msgid "http://www.gvectors.com/"
1207
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 wpDiscuz - Supercharged native comments
2
+ # This file is distributed under the same license as the wpDiscuz - Supercharged native comments package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: wpDiscuz - Supercharged native comments 3.0.5\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wpdiscuz\n"
7
+ "POT-Creation-Date: 2015-11-13 20:25:18+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+
15
+ #: class.WpdiscuzCore.php:226
16
+ #: templates/comment/class.WpdiscuzTemplateBuilder.php:245
17
+ msgid "Anonymous"
18
+ msgstr ""
19
+
20
+ #: class.WpdiscuzCore.php:800 options/options-layouts/settings-social.php:12
21
+ #: options/options-layouts/settings-social.php:14
22
+ #: options/options-layouts/settings-social.php:16
23
+ #: options/options-layouts/settings-social.php:18
24
+ msgid "Settings"
25
+ msgstr ""
26
+
27
+ #: class.WpdiscuzCore.php:802
28
+ msgid "Phrases"
29
+ msgstr ""
30
+
31
+ #: options/class.WpdiscuzOptions.php:37 options/class.WpdiscuzOptions.php:273
32
+ msgid "Hacker?"
33
+ msgstr ""
34
+
35
+ #: options/class.WpdiscuzOptions.php:95
36
+ msgid "wpDiscuz General Settings"
37
+ msgstr ""
38
+
39
+ #: options/class.WpdiscuzOptions.php:186
40
+ msgid "General settings"
41
+ msgstr ""
42
+
43
+ #: options/class.WpdiscuzOptions.php:187
44
+ #: options/options-layouts/settings-live-update.php:7
45
+ msgid "Live Update"
46
+ msgstr ""
47
+
48
+ #: options/class.WpdiscuzOptions.php:188
49
+ #: options/options-layouts/settings-show-hide.php:7
50
+ msgid "Show/Hide Components"
51
+ msgstr ""
52
+
53
+ #: options/class.WpdiscuzOptions.php:189
54
+ msgid "Email Subscription"
55
+ msgstr ""
56
+
57
+ #: options/class.WpdiscuzOptions.php:189
58
+ msgid "and Postmatic"
59
+ msgstr ""
60
+
61
+ #: options/class.WpdiscuzOptions.php:190
62
+ #: options/options-layouts/settings-style.php:7
63
+ msgid "Background and Colors"
64
+ msgstr ""
65
+
66
+ #: options/class.WpdiscuzOptions.php:191
67
+ #: options/options-layouts/settings-social.php:91
68
+ msgid "Social Login"
69
+ msgstr ""
70
+
71
+ #: options/class.WpdiscuzOptions.php:255
72
+ msgid "Reset Options"
73
+ msgstr ""
74
+
75
+ #: options/class.WpdiscuzOptions.php:257
76
+ msgid "Refresh comment optimization"
77
+ msgstr ""
78
+
79
+ #: options/class.WpdiscuzOptions.php:258 options/class.WpdiscuzOptions.php:447
80
+ msgid "Save Changes"
81
+ msgstr ""
82
+
83
+ #: options/class.WpdiscuzOptions.php:386
84
+ msgid "WpDiscuz Front-end Phrases"
85
+ msgstr ""
86
+
87
+ #: options/class.WpdiscuzOptions.php:396
88
+ msgid "General"
89
+ msgstr ""
90
+
91
+ #: options/class.WpdiscuzOptions.php:397
92
+ msgid "Form"
93
+ msgstr ""
94
+
95
+ #: options/class.WpdiscuzOptions.php:398
96
+ #: options/class.WpdiscuzOptionsSerialized.php:444
97
+ #: options/phrases-layouts/phrases-general.php:32
98
+ msgid "Comment"
99
+ msgstr ""
100
+
101
+ #: options/class.WpdiscuzOptions.php:399
102
+ msgid "Date/Time"
103
+ msgstr ""
104
+
105
+ #: options/class.WpdiscuzOptions.php:400
106
+ #: options/class.WpdiscuzOptionsSerialized.php:449
107
+ msgid "Email"
108
+ msgstr ""
109
+
110
+ #: options/class.WpdiscuzOptions.php:401
111
+ msgid "Notification"
112
+ msgstr ""
113
+
114
+ #: options/class.WpdiscuzOptionsSerialized.php:442
115
+ #: options/phrases-layouts/phrases-general.php:12
116
+ msgid "Leave a Reply"
117
+ msgstr ""
118
+
119
+ #: options/class.WpdiscuzOptionsSerialized.php:443
120
+ msgid "Be the First to Comment!"
121
+ msgstr ""
122
+
123
+ #: options/class.WpdiscuzOptionsSerialized.php:445
124
+ msgid "Comments"
125
+ msgstr ""
126
+
127
+ #: options/class.WpdiscuzOptionsSerialized.php:446
128
+ msgid "on"
129
+ msgstr ""
130
+
131
+ #: options/class.WpdiscuzOptionsSerialized.php:447
132
+ msgid "Start the discussion"
133
+ msgstr ""
134
+
135
+ #: options/class.WpdiscuzOptionsSerialized.php:448
136
+ msgid "Join the discussion"
137
+ msgstr ""
138
+
139
+ #: options/class.WpdiscuzOptionsSerialized.php:450
140
+ msgid "Name"
141
+ msgstr ""
142
+
143
+ #: options/class.WpdiscuzOptionsSerialized.php:451
144
+ msgid "WebSite URL"
145
+ msgstr ""
146
+
147
+ #: options/class.WpdiscuzOptionsSerialized.php:452
148
+ msgid "Please insert the code above to comment"
149
+ msgstr ""
150
+
151
+ #: options/class.WpdiscuzOptionsSerialized.php:453
152
+ msgid "Post Comment"
153
+ msgstr ""
154
+
155
+ #: options/class.WpdiscuzOptionsSerialized.php:454
156
+ #: options/phrases-layouts/phrases-form.php:82
157
+ #: options/phrases-layouts/phrases-form.php:86
158
+ msgid "Notify of"
159
+ msgstr ""
160
+
161
+ #: options/class.WpdiscuzOptionsSerialized.php:455
162
+ #: options/phrases-layouts/phrases-form.php:96
163
+ msgid "new follow-up comments"
164
+ msgstr ""
165
+
166
+ #: options/class.WpdiscuzOptionsSerialized.php:456
167
+ msgid "new replies to my comments"
168
+ msgstr ""
169
+
170
+ #: options/class.WpdiscuzOptionsSerialized.php:457
171
+ #: options/phrases-layouts/phrases-form.php:116
172
+ msgid "Notify of new replies to this comment"
173
+ msgstr ""
174
+
175
+ #: options/class.WpdiscuzOptionsSerialized.php:458
176
+ #: options/phrases-layouts/phrases-form.php:122
177
+ #: options/phrases-layouts/phrases-form.php:126
178
+ msgid "Sort by"
179
+ msgstr ""
180
+
181
+ #: options/class.WpdiscuzOptionsSerialized.php:459
182
+ #: options/phrases-layouts/phrases-form.php:132
183
+ #: options/phrases-layouts/phrases-form.php:136
184
+ msgid "newest"
185
+ msgstr ""
186
+
187
+ #: options/class.WpdiscuzOptionsSerialized.php:460
188
+ #: options/phrases-layouts/phrases-form.php:142
189
+ #: options/phrases-layouts/phrases-form.php:146
190
+ msgid "oldest"
191
+ msgstr ""
192
+
193
+ #: options/class.WpdiscuzOptionsSerialized.php:461
194
+ #: options/phrases-layouts/phrases-form.php:152
195
+ #: options/phrases-layouts/phrases-form.php:156
196
+ msgid "most voted"
197
+ msgstr ""
198
+
199
+ #: options/class.WpdiscuzOptionsSerialized.php:462
200
+ msgid "Load More Comments"
201
+ msgstr ""
202
+
203
+ #: options/class.WpdiscuzOptionsSerialized.php:463
204
+ #: options/phrases-layouts/phrases-general.php:72
205
+ msgid "Load Rest of Comments"
206
+ msgstr ""
207
+
208
+ #: options/class.WpdiscuzOptionsSerialized.php:464
209
+ #: options/phrases-layouts/phrases-comment.php:12
210
+ msgid "Reply"
211
+ msgstr ""
212
+
213
+ #: options/class.WpdiscuzOptionsSerialized.php:465
214
+ #: options/phrases-layouts/phrases-comment.php:22
215
+ msgid "Share"
216
+ msgstr ""
217
+
218
+ #: options/class.WpdiscuzOptionsSerialized.php:466
219
+ #: options/phrases-layouts/phrases-comment.php:32
220
+ #: templates/comment/class.WpdiscuzTemplateBuilder.php:182
221
+ msgid "Edit"
222
+ msgstr ""
223
+
224
+ #: options/class.WpdiscuzOptionsSerialized.php:467
225
+ #: options/phrases-layouts/phrases-comment.php:42
226
+ msgid "Share On Facebook"
227
+ msgstr ""
228
+
229
+ #: options/class.WpdiscuzOptionsSerialized.php:468
230
+ #: options/phrases-layouts/phrases-comment.php:52
231
+ msgid "Share On Twitter"
232
+ msgstr ""
233
+
234
+ #: options/class.WpdiscuzOptionsSerialized.php:469
235
+ #: options/phrases-layouts/phrases-comment.php:62
236
+ msgid "Share On Google"
237
+ msgstr ""
238
+
239
+ #: options/class.WpdiscuzOptionsSerialized.php:470
240
+ #: options/phrases-layouts/phrases-comment.php:72
241
+ msgid "Share On VKontakte"
242
+ msgstr ""
243
+
244
+ #: options/class.WpdiscuzOptionsSerialized.php:471
245
+ #: options/phrases-layouts/phrases-comment.php:82
246
+ msgid "Share On Odnoklassniki"
247
+ msgstr ""
248
+
249
+ #: options/class.WpdiscuzOptionsSerialized.php:472
250
+ #: options/phrases-layouts/phrases-comment.php:92
251
+ msgid "Hide Replies"
252
+ msgstr ""
253
+
254
+ #: options/class.WpdiscuzOptionsSerialized.php:473
255
+ #: options/phrases-layouts/phrases-comment.php:102
256
+ msgid "Show Replies"
257
+ msgstr ""
258
+
259
+ #: options/class.WpdiscuzOptionsSerialized.php:474
260
+ msgid "Guest"
261
+ msgstr ""
262
+
263
+ #: options/class.WpdiscuzOptionsSerialized.php:475
264
+ msgid "Member"
265
+ msgstr ""
266
+
267
+ #: options/class.WpdiscuzOptionsSerialized.php:476
268
+ msgid "Author"
269
+ msgstr ""
270
+
271
+ #: options/class.WpdiscuzOptionsSerialized.php:477
272
+ msgid "Admin"
273
+ msgstr ""
274
+
275
+ #: options/class.WpdiscuzOptionsSerialized.php:478
276
+ #: options/phrases-layouts/phrases-general.php:86
277
+ msgid "New Comment"
278
+ msgstr ""
279
+
280
+ #: options/class.WpdiscuzOptionsSerialized.php:479
281
+ msgid "New comment on the discussion section you've been interested in"
282
+ msgstr ""
283
+
284
+ #: options/class.WpdiscuzOptionsSerialized.php:480
285
+ #: options/phrases-layouts/phrases-email.php:36
286
+ #: options/phrases-layouts/phrases-general.php:106
287
+ #: utils/class.WpdiscuzEmailHelper.php:155
288
+ msgid "New Reply"
289
+ msgstr ""
290
+
291
+ #: options/class.WpdiscuzOptionsSerialized.php:481
292
+ #: utils/class.WpdiscuzEmailHelper.php:156
293
+ msgid "New reply on the discussion section you've been interested in"
294
+ msgstr ""
295
+
296
+ #: options/class.WpdiscuzOptionsSerialized.php:482
297
+ msgid "You're subscribed for new replies on this comment"
298
+ msgstr ""
299
+
300
+ #: options/class.WpdiscuzOptionsSerialized.php:483
301
+ msgid "You're subscribed for new replies on all your comments"
302
+ msgstr ""
303
+
304
+ #: options/class.WpdiscuzOptionsSerialized.php:484
305
+ msgid "You're subscribed for new follow-up comments on this post"
306
+ msgstr ""
307
+
308
+ #: options/class.WpdiscuzOptionsSerialized.php:485
309
+ #: options/phrases-layouts/phrases-email.php:52
310
+ #: options/phrases-layouts/phrases-email.php:56
311
+ msgid "Unsubscribe"
312
+ msgstr ""
313
+
314
+ #: options/class.WpdiscuzOptionsSerialized.php:486
315
+ #: options/phrases-layouts/phrases-email.php:66
316
+ msgid "Cancel subscription"
317
+ msgstr ""
318
+
319
+ #: options/class.WpdiscuzOptionsSerialized.php:487
320
+ #: options/phrases-layouts/phrases-notification.php:32
321
+ msgid "You've successfully unsubscribed."
322
+ msgstr ""
323
+
324
+ #: options/class.WpdiscuzOptionsSerialized.php:488
325
+ #: options/phrases-layouts/phrases-notification.php:22
326
+ msgid "You've successfully subscribed."
327
+ msgstr ""
328
+
329
+ #: options/class.WpdiscuzOptionsSerialized.php:489
330
+ #: options/phrases-layouts/phrases-email.php:72
331
+ #: options/phrases-layouts/phrases-email.php:76
332
+ msgid "Confirm your subscription"
333
+ msgstr ""
334
+
335
+ #: options/class.WpdiscuzOptionsSerialized.php:490
336
+ #: options/phrases-layouts/phrases-email.php:82
337
+ #: options/phrases-layouts/phrases-email.php:86
338
+ msgid "You've successfully confirmed your subscription."
339
+ msgstr ""
340
+
341
+ #: options/class.WpdiscuzOptionsSerialized.php:491
342
+ #: options/phrases-layouts/phrases-email.php:96
343
+ #: utils/class.WpdiscuzEmailHelper.php:45
344
+ msgid "Subscribe Confirmation"
345
+ msgstr ""
346
+
347
+ #: options/class.WpdiscuzOptionsSerialized.php:492
348
+ #: options/phrases-layouts/phrases-email.php:106
349
+ #: utils/class.WpdiscuzEmailHelper.php:46
350
+ msgid ""
351
+ "Hi, <br/> You just subscribed for new comments on our website. This means "
352
+ "you will receive an email when new comments are posted according to "
353
+ "subscription option you've chosen. <br/> To activate, click confirm below. "
354
+ "If you believe this is an error, ignore this message and we'll never bother "
355
+ "you again."
356
+ msgstr ""
357
+
358
+ #: options/class.WpdiscuzOptionsSerialized.php:493
359
+ msgid "please fill out this field to comment"
360
+ msgstr ""
361
+
362
+ #: options/class.WpdiscuzOptionsSerialized.php:494
363
+ msgid "email address is invalid"
364
+ msgstr ""
365
+
366
+ #: options/class.WpdiscuzOptionsSerialized.php:495
367
+ msgid "url is invalid"
368
+ msgstr ""
369
+
370
+ #: options/class.WpdiscuzOptionsSerialized.php:496
371
+ msgid "year"
372
+ msgstr ""
373
+
374
+ #: options/class.WpdiscuzOptionsSerialized.php:497
375
+ msgid "years"
376
+ msgstr ""
377
+
378
+ #: options/class.WpdiscuzOptionsSerialized.php:498
379
+ msgid "month"
380
+ msgstr ""
381
+
382
+ #: options/class.WpdiscuzOptionsSerialized.php:499
383
+ msgid "months"
384
+ msgstr ""
385
+
386
+ #: options/class.WpdiscuzOptionsSerialized.php:500
387
+ msgid "day"
388
+ msgstr ""
389
+
390
+ #: options/class.WpdiscuzOptionsSerialized.php:501
391
+ msgid "days"
392
+ msgstr ""
393
+
394
+ #: options/class.WpdiscuzOptionsSerialized.php:502
395
+ msgid "hour"
396
+ msgstr ""
397
+
398
+ #: options/class.WpdiscuzOptionsSerialized.php:503
399
+ msgid "hours"
400
+ msgstr ""
401
+
402
+ #: options/class.WpdiscuzOptionsSerialized.php:504
403
+ msgid "minute"
404
+ msgstr ""
405
+
406
+ #: options/class.WpdiscuzOptionsSerialized.php:505
407
+ msgid "minutes"
408
+ msgstr ""
409
+
410
+ #: options/class.WpdiscuzOptionsSerialized.php:506
411
+ msgid "second"
412
+ msgstr ""
413
+
414
+ #: options/class.WpdiscuzOptionsSerialized.php:507
415
+ msgid "seconds"
416
+ msgstr ""
417
+
418
+ #: options/class.WpdiscuzOptionsSerialized.php:508
419
+ msgid "right now"
420
+ msgstr ""
421
+
422
+ #: options/class.WpdiscuzOptionsSerialized.php:509
423
+ msgid "ago"
424
+ msgstr ""
425
+
426
+ #: options/class.WpdiscuzOptionsSerialized.php:510
427
+ #: options/phrases-layouts/phrases-datetime.php:156
428
+ msgid "Today"
429
+ msgstr ""
430
+
431
+ #: options/class.WpdiscuzOptionsSerialized.php:511
432
+ #: options/phrases-layouts/phrases-notification.php:72
433
+ msgid "You must be"
434
+ msgstr ""
435
+
436
+ #: options/class.WpdiscuzOptionsSerialized.php:512
437
+ msgid "You are logged in as"
438
+ msgstr ""
439
+
440
+ #: options/class.WpdiscuzOptionsSerialized.php:513
441
+ #: options/phrases-layouts/phrases-notification.php:92
442
+ msgid "Log out"
443
+ msgstr ""
444
+
445
+ #: options/class.WpdiscuzOptionsSerialized.php:514
446
+ msgid "logged in"
447
+ msgstr ""
448
+
449
+ #: options/class.WpdiscuzOptionsSerialized.php:515
450
+ msgid "to post a comment."
451
+ msgstr ""
452
+
453
+ #: options/class.WpdiscuzOptionsSerialized.php:516
454
+ #: options/phrases-layouts/phrases-comment.php:152
455
+ msgid "Vote Up"
456
+ msgstr ""
457
+
458
+ #: options/class.WpdiscuzOptionsSerialized.php:517
459
+ #: options/phrases-layouts/phrases-comment.php:162
460
+ msgid "Vote Down"
461
+ msgstr ""
462
+
463
+ #: options/class.WpdiscuzOptionsSerialized.php:518
464
+ #: options/phrases-layouts/phrases-notification.php:122
465
+ msgid "Vote Counted"
466
+ msgstr ""
467
+
468
+ #: options/class.WpdiscuzOptionsSerialized.php:519
469
+ msgid "You've already voted for this comment"
470
+ msgstr ""
471
+
472
+ #: options/class.WpdiscuzOptionsSerialized.php:520
473
+ #: options/phrases-layouts/phrases-notification.php:142
474
+ msgid "Voting Error"
475
+ msgstr ""
476
+
477
+ #: options/class.WpdiscuzOptionsSerialized.php:521
478
+ msgid "You Must Be Logged In To Vote"
479
+ msgstr ""
480
+
481
+ #: options/class.WpdiscuzOptionsSerialized.php:522
482
+ msgid "You cannot vote for your comment"
483
+ msgstr ""
484
+
485
+ #: options/class.WpdiscuzOptionsSerialized.php:523
486
+ msgid "You are not allowed to vote for this comment"
487
+ msgstr ""
488
+
489
+ #: options/class.WpdiscuzOptionsSerialized.php:524
490
+ #: options/phrases-layouts/phrases-notification.php:182
491
+ msgid "Invalid Captcha Code"
492
+ msgstr ""
493
+
494
+ #: options/class.WpdiscuzOptionsSerialized.php:525
495
+ #: options/phrases-layouts/phrases-notification.php:192
496
+ msgid "Some of field value is invalid"
497
+ msgstr ""
498
+
499
+ #: options/class.WpdiscuzOptionsSerialized.php:526
500
+ msgid "new comment"
501
+ msgstr ""
502
+
503
+ #: options/class.WpdiscuzOptionsSerialized.php:527
504
+ msgid "new comments"
505
+ msgstr ""
506
+
507
+ #: options/class.WpdiscuzOptionsSerialized.php:528
508
+ msgid "Comment awaiting moderation"
509
+ msgstr ""
510
+
511
+ #: options/class.WpdiscuzOptionsSerialized.php:529
512
+ msgid "new reply on your comment"
513
+ msgstr ""
514
+
515
+ #: options/class.WpdiscuzOptionsSerialized.php:530
516
+ msgid "new replies on your comments"
517
+ msgstr ""
518
+
519
+ #: options/class.WpdiscuzOptionsSerialized.php:531
520
+ #: options/phrases-layouts/phrases-general.php:126
521
+ msgid "New"
522
+ msgstr ""
523
+
524
+ #: options/class.WpdiscuzOptionsSerialized.php:532
525
+ #: options/phrases-layouts/phrases-notification.php:236
526
+ msgid "Sorry, the comment was not updated"
527
+ msgstr ""
528
+
529
+ #: options/class.WpdiscuzOptionsSerialized.php:533
530
+ #: options/phrases-layouts/phrases-notification.php:246
531
+ msgid "Sorry, this comment no longer possible to edit"
532
+ msgstr ""
533
+
534
+ #: options/class.WpdiscuzOptionsSerialized.php:534
535
+ msgid "You've not made any changes"
536
+ msgstr ""
537
+
538
+ #: options/class.WpdiscuzOptionsSerialized.php:535
539
+ #: options/phrases-layouts/phrases-comment.php:176
540
+ msgid "Save"
541
+ msgstr ""
542
+
543
+ #: options/class.WpdiscuzOptionsSerialized.php:536
544
+ #: options/phrases-layouts/phrases-comment.php:186
545
+ msgid "Cancel"
546
+ msgstr ""
547
+
548
+ #: options/class.WpdiscuzOptionsSerialized.php:537
549
+ msgid "Comment text is too short (minimum %d% characters)"
550
+ msgstr ""
551
+
552
+ #: options/class.WpdiscuzOptionsSerialized.php:538
553
+ msgid "Comment text is too long (maximum %d% characters allowed)"
554
+ msgstr ""
555
+
556
+ #: options/class.WpdiscuzOptionsSerialized.php:539
557
+ #: options/phrases-layouts/phrases-notification.php:262
558
+ #: options/phrases-layouts/phrases-notification.php:266
559
+ msgid "Please fill out required fields"
560
+ msgstr ""
561
+
562
+ #: options/class.WpdiscuzOptionsSerialized.php:540
563
+ #: options/phrases-layouts/phrases-form.php:192
564
+ #: options/phrases-layouts/phrases-form.php:196
565
+ msgid "Connect with"
566
+ msgstr ""
567
+
568
+ #: options/class.WpdiscuzOptionsSerialized.php:541
569
+ msgid "You're subscribed to"
570
+ msgstr ""
571
+
572
+ #: options/options-layouts/settings-general.php:7
573
+ msgid "General Settings"
574
+ msgstr ""
575
+
576
+ #: options/options-layouts/settings-general.php:12
577
+ msgid "Display comment form for post types:"
578
+ msgstr ""
579
+
580
+ #: options/options-layouts/settings-general.php:32
581
+ msgid "Comment author must fill out name"
582
+ msgstr ""
583
+
584
+ #: options/options-layouts/settings-general.php:42
585
+ msgid "Comment author must fill out email"
586
+ msgstr ""
587
+
588
+ #: options/options-layouts/settings-general.php:52
589
+ msgid "Comment text min length"
590
+ msgstr ""
591
+
592
+ #: options/options-layouts/settings-general.php:62
593
+ msgid "Comment text max length"
594
+ msgstr ""
595
+
596
+ #: options/options-layouts/settings-general.php:72
597
+ msgid "Comment text size in pixels"
598
+ msgstr ""
599
+
600
+ #: options/options-layouts/settings-general.php:87
601
+ msgid "Allow comment editing for"
602
+ msgstr ""
603
+
604
+ #: options/options-layouts/settings-general.php:92
605
+ msgid "Not Allow"
606
+ msgstr ""
607
+
608
+ #: options/options-layouts/settings-general.php:93
609
+ #: options/options-layouts/settings-general.php:94
610
+ #: options/options-layouts/settings-live-update.php:52
611
+ #: options/options-layouts/settings-live-update.php:53
612
+ #: options/options-layouts/settings-live-update.php:54
613
+ msgid "Minutes"
614
+ msgstr ""
615
+
616
+ #: options/options-layouts/settings-general.php:95
617
+ #: options/phrases-layouts/phrases-datetime.php:72
618
+ msgid "Hour"
619
+ msgstr ""
620
+
621
+ #: options/options-layouts/settings-general.php:96
622
+ #: options/options-layouts/settings-general.php:97
623
+ msgid "Hours"
624
+ msgstr ""
625
+
626
+ #: options/options-layouts/settings-general.php:98
627
+ msgid "Unlimit"
628
+ msgstr ""
629
+
630
+ #: options/options-layouts/settings-general.php:104
631
+ msgid "Redirect first commenter to"
632
+ msgstr ""
633
+
634
+ #: options/options-layouts/settings-general.php:111
635
+ msgid "Do not redirect"
636
+ msgstr ""
637
+
638
+ #: options/options-layouts/settings-general.php:119
639
+ msgid "Allow guests to vote on comments"
640
+ msgstr ""
641
+
642
+ #: options/options-layouts/settings-general.php:129
643
+ msgid "Comments loading/pagination type"
644
+ msgstr ""
645
+
646
+ #: options/options-layouts/settings-general.php:138
647
+ #: options/options-layouts/settings-general.php:140
648
+ msgid "[Load more] Button"
649
+ msgstr ""
650
+
651
+ #: options/options-layouts/settings-general.php:142
652
+ #: options/options-layouts/settings-general.php:144
653
+ msgid "[Load rest of all comments] Button"
654
+ msgstr ""
655
+
656
+ #: options/options-layouts/settings-general.php:146
657
+ #: options/options-layouts/settings-general.php:148
658
+ msgid "Lazy load comments on scrolling"
659
+ msgstr ""
660
+
661
+ #: options/options-layouts/settings-general.php:155
662
+ msgid "Use WordPress Date/Time format"
663
+ msgstr ""
664
+
665
+ #: options/options-layouts/settings-general.php:156
666
+ msgid ""
667
+ "wpDiscuz shows Human Readable date format. If you check this option it'll "
668
+ "show the date/time format set in WordPress General Settings."
669
+ msgstr ""
670
+
671
+ #: options/options-layouts/settings-general.php:163
672
+ msgid "Current Wordpress date/time format"
673
+ msgstr ""
674
+
675
+ #: options/options-layouts/settings-general.php:169
676
+ msgid "Use Plugin .PO/.MO files"
677
+ msgstr ""
678
+
679
+ #: options/options-layouts/settings-general.php:170
680
+ msgid ""
681
+ "wpDiscuz phrase system allows you to translate all front-end phrases. "
682
+ "However if you have a multi-language website it'll not allow you to add more "
683
+ "than one language translation. The only way to get it is the plugin "
684
+ "translation files (.PO / .MO). If wpDiscuz has the languages you need you "
685
+ "should check this option to disable phrase system and it'll automatically "
686
+ "translate all phrases based on language files according to current language."
687
+ msgstr ""
688
+
689
+ #: options/options-layouts/settings-general.php:181
690
+ msgid ""
691
+ "Help wpDiscuz to grow allowing people to recognize which comment plugin you "
692
+ "use"
693
+ msgstr ""
694
+
695
+ #: options/options-layouts/settings-general.php:183
696
+ msgid ""
697
+ "Please check this option on to help wpDiscuz get more popularity as your "
698
+ "thank to the hard work we do for you totally free. This option adds a very "
699
+ "small (16x16px) icon under the comment section which will allow your site "
700
+ "visitors recognize the name of comment solution you use."
701
+ msgstr ""
702
+
703
+ #: options/options-layouts/settings-general.php:188
704
+ msgid "Thank you!"
705
+ msgstr ""
706
+
707
+ #: options/options-layouts/settings-live-update.php:12
708
+ msgid "Live update options"
709
+ msgstr ""
710
+
711
+ #: options/options-layouts/settings-live-update.php:13
712
+ msgid ""
713
+ "wpDiscuz 3 live update is very smart and doesn't overload your server even "
714
+ "if you're on Shared hosting plan and even your website is very active. "
715
+ "However we recommend to monitor your server resources if you're on a Shared "
716
+ "hosting plan. There are some very weak hosting plans which may not be able "
717
+ "to perform very frequently live update requests. If you found some issue you "
718
+ "can set the option below 30 seconds or more."
719
+ msgstr ""
720
+
721
+ #: options/options-layouts/settings-live-update.php:18
722
+ msgid "Never update"
723
+ msgstr ""
724
+
725
+ #: options/options-layouts/settings-live-update.php:20
726
+ msgid "Turn off \"Live Update\" function"
727
+ msgstr ""
728
+
729
+ #: options/options-layouts/settings-live-update.php:22
730
+ msgid "Show new comment/reply buttons to update manualy"
731
+ msgstr ""
732
+
733
+ #: options/options-layouts/settings-live-update.php:24
734
+ msgid "Always check for new comments and show update buttons"
735
+ msgstr ""
736
+
737
+ #: options/options-layouts/settings-live-update.php:26
738
+ msgid "Always update"
739
+ msgstr ""
740
+
741
+ #: options/options-layouts/settings-live-update.php:28
742
+ msgid "Always check for new comments and update automatically"
743
+ msgstr ""
744
+
745
+ #: options/options-layouts/settings-live-update.php:35
746
+ msgid "Disable live update for guests"
747
+ msgstr ""
748
+
749
+ #: options/options-layouts/settings-live-update.php:43
750
+ msgid "Update comment list every"
751
+ msgstr ""
752
+
753
+ #: options/options-layouts/settings-live-update.php:48
754
+ #: options/options-layouts/settings-live-update.php:49
755
+ #: options/options-layouts/settings-live-update.php:50
756
+ msgid "Seconds"
757
+ msgstr ""
758
+
759
+ #: options/options-layouts/settings-live-update.php:51
760
+ #: options/phrases-layouts/phrases-datetime.php:92
761
+ msgid "Minute"
762
+ msgstr ""
763
+
764
+ #: options/options-layouts/settings-show-hide.php:12
765
+ msgid "Show logged-in user name and logout link on top of main form"
766
+ msgstr ""
767
+
768
+ #: options/options-layouts/settings-show-hide.php:22
769
+ msgid "Hide Reply button for Guests"
770
+ msgstr ""
771
+
772
+ #: options/options-layouts/settings-show-hide.php:32
773
+ msgid "Hide Reply button for Members"
774
+ msgstr ""
775
+
776
+ #: options/options-layouts/settings-show-hide.php:42
777
+ msgid "Hide Commenter Labels"
778
+ msgstr ""
779
+
780
+ #: options/options-layouts/settings-show-hide.php:52
781
+ msgid "Hide Voting buttons"
782
+ msgstr ""
783
+
784
+ #: options/options-layouts/settings-show-hide.php:62
785
+ msgid "Show Share Buttons"
786
+ msgstr ""
787
+
788
+ #: options/options-layouts/settings-show-hide.php:86
789
+ msgid ""
790
+ "The plugin directory is not writable! Please set writable permissions to "
791
+ "plugin directory in order to use the captcha feature"
792
+ msgstr ""
793
+
794
+ #: options/options-layouts/settings-show-hide.php:91
795
+ msgid "Hide the CAPTCHA field for guests"
796
+ msgstr ""
797
+
798
+ #: options/options-layouts/settings-show-hide.php:102
799
+ msgid "Show the CAPTCHA field for logged in users"
800
+ msgstr ""
801
+
802
+ #: options/options-layouts/settings-show-hide.php:113
803
+ msgid "Show the Website URL field"
804
+ msgstr ""
805
+
806
+ #: options/options-layouts/settings-show-hide.php:123
807
+ msgid "Hide header text"
808
+ msgstr ""
809
+
810
+ #: options/options-layouts/settings-show-hide.php:133
811
+ msgid "Show sorting buttons"
812
+ msgstr ""
813
+
814
+ #: options/options-layouts/settings-show-hide.php:143
815
+ msgid "Set comments ordering to \"Most voted\" by default "
816
+ msgstr ""
817
+
818
+ #: options/options-layouts/settings-show-hide.php:153
819
+ msgid "Hide comment link"
820
+ msgstr ""
821
+
822
+ #: options/options-layouts/settings-social.php:23
823
+ #: options/options-layouts/settings-social.php:33
824
+ #: options/options-layouts/settings-social.php:43
825
+ #: options/options-layouts/settings-social.php:54
826
+ msgid "Activate"
827
+ msgstr ""
828
+
829
+ #: options/options-layouts/settings-social.php:27
830
+ #: options/options-layouts/settings-social.php:37
831
+ #: options/options-layouts/settings-social.php:47
832
+ #: options/options-layouts/settings-social.php:58
833
+ msgid "View details/Install"
834
+ msgstr ""
835
+
836
+ #: options/options-layouts/settings-social.php:92
837
+ msgid ""
838
+ "You can use one of these most popular Social Login Plugins to allow your "
839
+ "visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, "
840
+ "OK and lots of other social network service accounts. All social login "
841
+ "buttons will be fully integrated with wpDiscuz comment forms."
842
+ msgstr ""
843
+
844
+ #: options/options-layouts/settings-style.php:12
845
+ msgid "Comment Form Background Color"
846
+ msgstr ""
847
+
848
+ #: options/options-layouts/settings-style.php:16
849
+ #: options/options-layouts/settings-style.php:25
850
+ #: options/options-layouts/settings-style.php:34
851
+ #: options/options-layouts/settings-style.php:43
852
+ #: options/options-layouts/settings-style.php:52
853
+ #: options/options-layouts/settings-style.php:61
854
+ #: options/options-layouts/settings-style.php:70
855
+ #: options/options-layouts/settings-style.php:79
856
+ #: options/options-layouts/settings-style.php:92
857
+ msgid "Example: #00FF00"
858
+ msgstr ""
859
+
860
+ #: options/options-layouts/settings-style.php:21
861
+ msgid "Comment Background Color"
862
+ msgstr ""
863
+
864
+ #: options/options-layouts/settings-style.php:30
865
+ msgid "Reply Background Color"
866
+ msgstr ""
867
+
868
+ #: options/options-layouts/settings-style.php:39
869
+ msgid "Comment Text Color"
870
+ msgstr ""
871
+
872
+ #: options/options-layouts/settings-style.php:48
873
+ msgid "Vote, Reply, Share, Edit links text colors"
874
+ msgstr ""
875
+
876
+ #: options/options-layouts/settings-style.php:57
877
+ msgid "Comment form fields border color"
878
+ msgstr ""
879
+
880
+ #: options/options-layouts/settings-style.php:66
881
+ msgid "New loaded comments' background color"
882
+ msgstr ""
883
+
884
+ #: options/options-layouts/settings-style.php:75
885
+ msgid "Primary Color"
886
+ msgstr ""
887
+
888
+ #: options/options-layouts/settings-style.php:89
889
+ msgid "label color"
890
+ msgstr ""
891
+
892
+ #: options/options-layouts/settings-style.php:100
893
+ msgid "Custom CSS Code"
894
+ msgstr ""
895
+
896
+ #: options/options-layouts/settings-subscription.php:7
897
+ msgid "Email Subscription Settings"
898
+ msgstr ""
899
+
900
+ #: options/options-layouts/settings-subscription.php:12
901
+ msgid "Disable subscription confirmation for registered users"
902
+ msgstr ""
903
+
904
+ #: options/options-layouts/settings-subscription.php:13
905
+ msgid "Show comment subscription bar"
906
+ msgstr ""
907
+
908
+ #: options/options-layouts/settings-subscription.php:15
909
+ msgid ""
910
+ "This bar provides two subscription options: notify of \"new follow-up "
911
+ "comments\" and \"new replies to my comments\""
912
+ msgstr ""
913
+
914
+ #: options/options-layouts/settings-subscription.php:17
915
+ msgid "Show \"Notify of new replies to this comment\""
916
+ msgstr ""
917
+
918
+ #: options/options-layouts/settings-subscription.php:19
919
+ msgid ""
920
+ "wpDiscuz is the only comment plugin which allows you to subscribe to certain "
921
+ "comment replies. This option is located above [Post Comment] button in "
922
+ "comment form. You can disable this subscription way by unchecking this "
923
+ "option."
924
+ msgstr ""
925
+
926
+ #: options/options-layouts/settings-subscription.php:33
927
+ msgid "Use Postmatic for subscriptions and commenting by email"
928
+ msgstr ""
929
+
930
+ #: options/options-layouts/settings-subscription.php:34
931
+ msgid ""
932
+ "Postmatic allows your users subscribe to comments. Instead of just being "
933
+ "notified, they add a reply right from their inbox."
934
+ msgstr ""
935
+
936
+ #: options/phrases-layouts/phrases-comment.php:7
937
+ msgid "Comment Template Phrases"
938
+ msgstr ""
939
+
940
+ #: options/phrases-layouts/phrases-comment.php:112
941
+ msgid "Title For Guests"
942
+ msgstr ""
943
+
944
+ #: options/phrases-layouts/phrases-comment.php:122
945
+ msgid "Title For Members"
946
+ msgstr ""
947
+
948
+ #: options/phrases-layouts/phrases-comment.php:132
949
+ msgid "Title For Authors"
950
+ msgstr ""
951
+
952
+ #: options/phrases-layouts/phrases-comment.php:142
953
+ msgid "Title For Admins"
954
+ msgstr ""
955
+
956
+ #: options/phrases-layouts/phrases-comment.php:172
957
+ msgid "Save edited comment button text"
958
+ msgstr ""
959
+
960
+ #: options/phrases-layouts/phrases-comment.php:182
961
+ msgid "Cancel comment editing button text"
962
+ msgstr ""
963
+
964
+ #: options/phrases-layouts/phrases-datetime.php:7
965
+ msgid "Date/Time Phrases"
966
+ msgstr ""
967
+
968
+ #: options/phrases-layouts/phrases-datetime.php:12
969
+ msgid "Year"
970
+ msgstr ""
971
+
972
+ #: options/phrases-layouts/phrases-datetime.php:22
973
+ msgid "Years (Plural Form)"
974
+ msgstr ""
975
+
976
+ #: options/phrases-layouts/phrases-datetime.php:26
977
+ msgid "Years"
978
+ msgstr ""
979
+
980
+ #: options/phrases-layouts/phrases-datetime.php:32
981
+ msgid "Month"
982
+ msgstr ""
983
+
984
+ #: options/phrases-layouts/phrases-datetime.php:42
985
+ msgid "Months (Plural Form)"
986
+ msgstr ""
987
+
988
+ #: options/phrases-layouts/phrases-datetime.php:52
989
+ msgid "Day"
990
+ msgstr ""
991
+
992
+ #: options/phrases-layouts/phrases-datetime.php:62
993
+ msgid "Days (Plural Form)"
994
+ msgstr ""
995
+
996
+ #: options/phrases-layouts/phrases-datetime.php:82
997
+ msgid "Hours (Plural Form)"
998
+ msgstr ""
999
+
1000
+ #: options/phrases-layouts/phrases-datetime.php:102
1001
+ msgid "Minutes (Plural Form)"
1002
+ msgstr ""
1003
+
1004
+ #: options/phrases-layouts/phrases-datetime.php:112
1005
+ msgid "Second"
1006
+ msgstr ""
1007
+
1008
+ #: options/phrases-layouts/phrases-datetime.php:122
1009
+ msgid "Seconds (Plural Form)"
1010
+ msgstr ""
1011
+
1012
+ #: options/phrases-layouts/phrases-datetime.php:132
1013
+ msgid "Commented \"right now\" text"
1014
+ msgstr ""
1015
+
1016
+ #: options/phrases-layouts/phrases-datetime.php:142
1017
+ msgid "Ago text"
1018
+ msgstr ""
1019
+
1020
+ #: options/phrases-layouts/phrases-datetime.php:152
1021
+ msgid "\"Today\" text"
1022
+ msgstr ""
1023
+
1024
+ #: options/phrases-layouts/phrases-email.php:7
1025
+ msgid "Email Template Phrases"
1026
+ msgstr ""
1027
+
1028
+ #: options/phrases-layouts/phrases-email.php:12
1029
+ msgid "Email Subject"
1030
+ msgstr ""
1031
+
1032
+ #: options/phrases-layouts/phrases-email.php:22
1033
+ msgid "Email Message"
1034
+ msgstr ""
1035
+
1036
+ #: options/phrases-layouts/phrases-email.php:32
1037
+ msgid "New Reply Subject"
1038
+ msgstr ""
1039
+
1040
+ #: options/phrases-layouts/phrases-email.php:42
1041
+ msgid "New Reply Message"
1042
+ msgstr ""
1043
+
1044
+ #: options/phrases-layouts/phrases-email.php:62
1045
+ #: options/phrases-layouts/phrases-email.php:66
1046
+ msgid "Ignore Subscription"
1047
+ msgstr ""
1048
+
1049
+ #: options/phrases-layouts/phrases-email.php:92
1050
+ msgid "Subscribe Confirmation Email Subject"
1051
+ msgstr ""
1052
+
1053
+ #: options/phrases-layouts/phrases-email.php:102
1054
+ msgid "Subscribe Confirmation Email Content"
1055
+ msgstr ""
1056
+
1057
+ #: options/phrases-layouts/phrases-form.php:7
1058
+ msgid "Form Template Phrases"
1059
+ msgstr ""
1060
+
1061
+ #: options/phrases-layouts/phrases-form.php:12
1062
+ msgid "Comment Field Start"
1063
+ msgstr ""
1064
+
1065
+ #: options/phrases-layouts/phrases-form.php:22
1066
+ msgid "Comment Field Join"
1067
+ msgstr ""
1068
+
1069
+ #: options/phrases-layouts/phrases-form.php:32
1070
+ msgid "Email Field"
1071
+ msgstr ""
1072
+
1073
+ #: options/phrases-layouts/phrases-form.php:42
1074
+ msgid "Name Field"
1075
+ msgstr ""
1076
+
1077
+ #: options/phrases-layouts/phrases-form.php:52
1078
+ msgid "WebSite URL Field"
1079
+ msgstr ""
1080
+
1081
+ #: options/phrases-layouts/phrases-form.php:62
1082
+ msgid "CAPTCHA Field"
1083
+ msgstr ""
1084
+
1085
+ #: options/phrases-layouts/phrases-form.php:72
1086
+ msgid "Submit Button"
1087
+ msgstr ""
1088
+
1089
+ #: options/phrases-layouts/phrases-form.php:92
1090
+ msgid "Notify on new comments"
1091
+ msgstr ""
1092
+
1093
+ #: options/phrases-layouts/phrases-form.php:102
1094
+ msgid "Notify on all new replies"
1095
+ msgstr ""
1096
+
1097
+ #: options/phrases-layouts/phrases-form.php:106
1098
+ msgid "new replies to all my comments"
1099
+ msgstr ""
1100
+
1101
+ #: options/phrases-layouts/phrases-form.php:112
1102
+ msgid "Notify on new replies (checkbox)"
1103
+ msgstr ""
1104
+
1105
+ #: options/phrases-layouts/phrases-form.php:162
1106
+ msgid "Subscribed on this comment replies"
1107
+ msgstr ""
1108
+
1109
+ #: options/phrases-layouts/phrases-form.php:172
1110
+ msgid "Subscribed on all your comments replies"
1111
+ msgstr ""
1112
+
1113
+ #: options/phrases-layouts/phrases-form.php:182
1114
+ msgid "Subscribed on this post"
1115
+ msgstr ""
1116
+
1117
+ #: options/phrases-layouts/phrases-general.php:7
1118
+ msgid "General Phrases"
1119
+ msgstr ""
1120
+
1121
+ #: options/phrases-layouts/phrases-general.php:22
1122
+ msgid "Be the first to comment"
1123
+ msgstr ""
1124
+
1125
+ #: options/phrases-layouts/phrases-general.php:42
1126
+ msgid "Comment (Plural Form)"
1127
+ msgstr ""
1128
+
1129
+ #: options/phrases-layouts/phrases-general.php:52
1130
+ msgid "On"
1131
+ msgstr ""
1132
+
1133
+ #: options/phrases-layouts/phrases-general.php:62
1134
+ msgid "Load More Button"
1135
+ msgstr ""
1136
+
1137
+ #: options/phrases-layouts/phrases-general.php:82
1138
+ msgid "Button text if has new comment"
1139
+ msgstr ""
1140
+
1141
+ #: options/phrases-layouts/phrases-general.php:92
1142
+ msgid "Button text if has new comments (Plural Form)"
1143
+ msgstr ""
1144
+
1145
+ #: options/phrases-layouts/phrases-general.php:96
1146
+ msgid "New Comments"
1147
+ msgstr ""
1148
+
1149
+ #: options/phrases-layouts/phrases-general.php:102
1150
+ msgid "Button text if has new reply"
1151
+ msgstr ""
1152
+
1153
+ #: options/phrases-layouts/phrases-general.php:112
1154
+ msgid "Button text if has new replies (Plural Form)"
1155
+ msgstr ""
1156
+
1157
+ #: options/phrases-layouts/phrases-general.php:116
1158
+ msgid "New Replies"
1159
+ msgstr ""
1160
+
1161
+ #: options/phrases-layouts/phrases-general.php:122
1162
+ msgid "Text on load more button if has new comment(s)"
1163
+ msgstr ""
1164
+
1165
+ #: options/phrases-layouts/phrases-notification.php:7
1166
+ msgid "Notification Phrases"
1167
+ msgstr ""
1168
+
1169
+ #: options/phrases-layouts/phrases-notification.php:12
1170
+ msgid "You\\'re subscribed to"
1171
+ msgstr ""
1172
+
1173
+ #: options/phrases-layouts/phrases-notification.php:42
1174
+ msgid "Error message for empty field"
1175
+ msgstr ""
1176
+
1177
+ #: options/phrases-layouts/phrases-notification.php:52
1178
+ msgid "Error message for invalid email field"
1179
+ msgstr ""
1180
+
1181
+ #: options/phrases-layouts/phrases-notification.php:62
1182
+ msgid "Error message for invalid website url field"
1183
+ msgstr ""
1184
+
1185
+ #: options/phrases-layouts/phrases-notification.php:82
1186
+ msgid "Logged in as"
1187
+ msgstr ""
1188
+
1189
+ #: options/phrases-layouts/phrases-notification.php:102
1190
+ msgid "Logged In"
1191
+ msgstr ""
1192
+
1193
+ #: options/phrases-layouts/phrases-notification.php:112
1194
+ msgid "To post a comment"
1195
+ msgstr ""
1196
+
1197
+ #: options/phrases-layouts/phrases-notification.php:132
1198
+ msgid "You can vote only 1 time"
1199
+ msgstr ""
1200
+
1201
+ #: options/phrases-layouts/phrases-notification.php:152
1202
+ msgid "Login To Vote"
1203
+ msgstr ""
1204
+
1205
+ #: options/phrases-layouts/phrases-notification.php:162
1206
+ msgid "You Cannot Vote On Your Comment"
1207
+ msgstr ""
1208
+
1209
+ #: options/phrases-layouts/phrases-notification.php:172
1210
+ msgid "You are not allowed to vote for this comment (Voting from same IP)"
1211
+ msgstr ""
1212
+
1213
+ #: options/phrases-layouts/phrases-notification.php:202
1214
+ msgid "Comment waiting moderation"
1215
+ msgstr ""
1216
+
1217
+ #: options/phrases-layouts/phrases-notification.php:212
1218
+ msgid "Message if comment content length is too short"
1219
+ msgstr ""
1220
+
1221
+ #: options/phrases-layouts/phrases-notification.php:222
1222
+ msgid "Message if comment content length is too long"
1223
+ msgstr ""
1224
+
1225
+ #: options/phrases-layouts/phrases-notification.php:232
1226
+ msgid "Message if comment was not updated"
1227
+ msgstr ""
1228
+
1229
+ #: options/phrases-layouts/phrases-notification.php:242
1230
+ msgid "Message if comment no longer possible to edit"
1231
+ msgstr ""
1232
+
1233
+ #: options/phrases-layouts/phrases-notification.php:252
1234
+ msgid "Message if comment text not changed"
1235
+ msgstr ""
1236
+
1237
+ #: options/phrases-layouts/phrases-notification.php:256
1238
+ msgid "TYou've not made any changes"
1239
+ msgstr ""
1240
+
1241
+ #: templates/comment/comment-form.php:51
1242
+ msgid "Unable to send an email"
1243
+ msgstr ""
1244
+
1245
+ #: templates/comment/comment-form.php:53
1246
+ msgid "Subscription not successed"
1247
+ msgstr ""
1248
+
1249
+ #: utils/class.WpdiscuzHelper.php:374
1250
+ msgid "Error"
1251
+ msgstr ""
1252
+
1253
+ #: utils/class.WpdiscuzHelper.php:394
1254
+ msgid "Participate in this discussion via email"
1255
+ msgstr ""
1256
+
1257
+ #. Plugin Name of the plugin/theme
1258
+ msgid "wpDiscuz - Supercharged native comments"
1259
+ msgstr ""
1260
+
1261
+ #. Plugin URI of the plugin/theme
1262
+ msgid "http://www.gvectors.com/wpdiscuz/"
1263
+ msgstr ""
1264
+
1265
+ #. Description of the plugin/theme
1266
+ msgid ""
1267
+ "Better comment system. Wordpress post comments and discussion plugin. Allows "
1268
+ "your visitors discuss, vote for comments and share."
1269
+ msgstr ""
1270
+
1271
+ #. Author of the plugin/theme
1272
+ msgid "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
1273
+ msgstr ""
1274
+
1275
+ #. Author URI of the plugin/theme
1276
+ msgid "http://www.gvectors.com/"
1277
+ msgstr ""
manager/index.html ADDED
File without changes
options/class.WpdiscuzOptions.php CHANGED
@@ -65,6 +65,7 @@ class WpdiscuzOptions {
65
  $this->optionsSerialized->showSubscriptionBar = isset($_POST['show_subscription_bar']) ? $_POST['show_subscription_bar'] : 0;
66
  $this->optionsSerialized->showHideReplyCheckbox = isset($_POST['wc_show_hide_reply_checkbox']) ? $_POST['wc_show_hide_reply_checkbox'] : 0;
67
  $this->optionsSerialized->showSortingButtons = isset($_POST['show_sorting_buttons']) ? $_POST['show_sorting_buttons'] : 0;
 
68
  $this->optionsSerialized->usePostmaticForCommentNotification = isset($_POST['wc_use_postmatic_for_comment_notification']) ? $_POST['wc_use_postmatic_for_comment_notification'] : 0;
69
  $this->optionsSerialized->formBGColor = isset($_POST['wc_form_bg_color']) ? $_POST['wc_form_bg_color'] : '#f9f9f9';
70
  $this->optionsSerialized->commentTextSize = isset($_POST['wc_comment_text_size']) ? $_POST['wc_comment_text_size'] : '14px';
@@ -82,6 +83,7 @@ class WpdiscuzOptions {
82
  $this->optionsSerialized->disableMemberConfirm = isset($_POST['wc_disable_member_confirm']) ? $_POST['wc_disable_member_confirm'] : 0;
83
  $this->optionsSerialized->commentTextMinLength = (isset($_POST['wc_comment_text_min_length']) && intval($_POST['wc_comment_text_min_length']) && intval($_POST['wc_comment_text_min_length']) > 0) ? intval($_POST['wc_comment_text_min_length']) : 1;
84
  $this->optionsSerialized->commentTextMaxLength = (isset($_POST['wc_comment_text_max_length']) && intval($_POST['wc_comment_text_max_length']) && intval($_POST['wc_comment_text_max_length']) > 0) ? intval($_POST['wc_comment_text_max_length']) : '';
 
85
  $this->optionsSerialized->updateOptions();
86
  }
87
  ?>
@@ -370,7 +372,6 @@ class WpdiscuzOptions {
370
  $this->optionsSerialized->phrases['wc_comment_edit_cancel_button'] = $_POST['wc_comment_edit_cancel_button'];
371
  $this->optionsSerialized->phrases['wc_msg_comment_text_min_length'] = $_POST['wc_msg_comment_text_min_length'];
372
  $this->optionsSerialized->phrases['wc_msg_comment_text_max_length'] = $_POST['wc_msg_comment_text_max_length'];
373
- $this->optionsSerialized->phrases['wc_msg_captcha_expired'] = $_POST['wc_msg_captcha_expired'];
374
  $this->optionsSerialized->phrases['wc_msg_required_fields'] = $_POST['wc_msg_required_fields'];
375
  $this->optionsSerialized->phrases['wc_connect_with'] = $_POST['wc_connect_with'];
376
  $this->optionsSerialized->phrases['wc_subscribed_to'] = $_POST['wc_subscribed_to'];
65
  $this->optionsSerialized->showSubscriptionBar = isset($_POST['show_subscription_bar']) ? $_POST['show_subscription_bar'] : 0;
66
  $this->optionsSerialized->showHideReplyCheckbox = isset($_POST['wc_show_hide_reply_checkbox']) ? $_POST['wc_show_hide_reply_checkbox'] : 0;
67
  $this->optionsSerialized->showSortingButtons = isset($_POST['show_sorting_buttons']) ? $_POST['show_sorting_buttons'] : 0;
68
+ $this->optionsSerialized->mostVotedByDefault = isset($_POST['mostVotedByDefault']) ? $_POST['mostVotedByDefault'] : 0;
69
  $this->optionsSerialized->usePostmaticForCommentNotification = isset($_POST['wc_use_postmatic_for_comment_notification']) ? $_POST['wc_use_postmatic_for_comment_notification'] : 0;
70
  $this->optionsSerialized->formBGColor = isset($_POST['wc_form_bg_color']) ? $_POST['wc_form_bg_color'] : '#f9f9f9';
71
  $this->optionsSerialized->commentTextSize = isset($_POST['wc_comment_text_size']) ? $_POST['wc_comment_text_size'] : '14px';
83
  $this->optionsSerialized->disableMemberConfirm = isset($_POST['wc_disable_member_confirm']) ? $_POST['wc_disable_member_confirm'] : 0;
84
  $this->optionsSerialized->commentTextMinLength = (isset($_POST['wc_comment_text_min_length']) && intval($_POST['wc_comment_text_min_length']) && intval($_POST['wc_comment_text_min_length']) > 0) ? intval($_POST['wc_comment_text_min_length']) : 1;
85
  $this->optionsSerialized->commentTextMaxLength = (isset($_POST['wc_comment_text_max_length']) && intval($_POST['wc_comment_text_max_length']) && intval($_POST['wc_comment_text_max_length']) > 0) ? intval($_POST['wc_comment_text_max_length']) : '';
86
+ $this->optionsSerialized->showHideCommentLink = isset($_POST['showHideCommentLink']) ? $_POST['showHideCommentLink'] : 0;
87
  $this->optionsSerialized->updateOptions();
88
  }
89
  ?>
372
  $this->optionsSerialized->phrases['wc_comment_edit_cancel_button'] = $_POST['wc_comment_edit_cancel_button'];
373
  $this->optionsSerialized->phrases['wc_msg_comment_text_min_length'] = $_POST['wc_msg_comment_text_min_length'];
374
  $this->optionsSerialized->phrases['wc_msg_comment_text_max_length'] = $_POST['wc_msg_comment_text_max_length'];
 
375
  $this->optionsSerialized->phrases['wc_msg_required_fields'] = $_POST['wc_msg_required_fields'];
376
  $this->optionsSerialized->phrases['wc_connect_with'] = $_POST['wc_connect_with'];
377
  $this->optionsSerialized->phrases['wc_subscribed_to'] = $_POST['wc_subscribed_to'];
options/class.WpdiscuzOptionsSerialized.php CHANGED
@@ -57,8 +57,8 @@ class WpdiscuzOptionsSerialized {
57
  * Default Value - Checked
58
  */
59
  public $isGuestCanVote;
60
-
61
- /**
62
  * Type - Radio Button
63
  * Available Values - 0 Default (Load More) / 1 Load Rest Of Comments / 2 Lazy Load comments on scrolling
64
  * Description - Comment list load type
@@ -194,6 +194,14 @@ class WpdiscuzOptionsSerialized {
194
  */
195
  public $showSortingButtons;
196
 
 
 
 
 
 
 
 
 
197
  /**
198
  * Type - Checkbox
199
  * Available Values - Checked/Unchecked
@@ -342,6 +350,14 @@ class WpdiscuzOptionsSerialized {
342
  * Default Value - Unlimit
343
  */
344
  public $commentTextMaxLength;
 
 
 
 
 
 
 
 
345
  public $wordpressCommentRegistration;
346
  public $wordpressDateFormat;
347
  public $wordpressTimeFormat;
@@ -397,6 +413,7 @@ class WpdiscuzOptionsSerialized {
397
  $this->showSubscriptionBar = isset($options['show_subscription_bar']) ? $options['show_subscription_bar'] : 1;
398
  $this->showHideReplyCheckbox = isset($options['wc_show_hide_reply_checkbox']) ? $options['wc_show_hide_reply_checkbox'] : 0;
399
  $this->showSortingButtons = isset($options['show_sorting_buttons']) ? $options['show_sorting_buttons'] : 1;
 
400
  $this->usePostmaticForCommentNotification = isset($options['wc_use_postmatic_for_comment_notification']) ? $options['wc_use_postmatic_for_comment_notification'] : 0;
401
  $this->commentTextSize = isset($options['wc_comment_text_size']) ? $options['wc_comment_text_size'] : '14px';
402
  $this->formBGColor = isset($options['wc_form_bg_color']) ? $options['wc_form_bg_color'] : '#F9F9F9';
@@ -414,6 +431,7 @@ class WpdiscuzOptionsSerialized {
414
  $this->disableMemberConfirm = isset($options['wc_disable_member_confirm']) ? $options['wc_disable_member_confirm'] : 1;
415
  $this->commentTextMinLength = isset($options['wc_comment_text_min_length']) ? $options['wc_comment_text_min_length'] : 1;
416
  $this->commentTextMaxLength = isset($options['wc_comment_text_max_length']) ? $options['wc_comment_text_max_length'] : '';
 
417
  }
418
 
419
  /**
@@ -518,7 +536,6 @@ class WpdiscuzOptionsSerialized {
518
  'wc_comment_edit_cancel_button' => __('Cancel', 'wpdiscuz'),
519
  'wc_msg_comment_text_min_length' => __('Comment text is too short (minimum %d% characters)', 'wpdiscuz'),
520
  'wc_msg_comment_text_max_length' => __('Comment text is too long (maximum %d% characters allowed)', 'wpdiscuz'),
521
- 'wc_msg_captcha_expired' => __('The captcha expired', 'wpdiscuz'),
522
  'wc_msg_required_fields' => __('Please fill out required fields', 'wpdiscuz'),
523
  'wc_connect_with' => __('Connect with', 'wpdiscuz'),
524
  'wc_subscribed_to' => __('You\'re subscribed to', 'wpdiscuz'),
@@ -551,6 +568,7 @@ class WpdiscuzOptionsSerialized {
551
  'show_subscription_bar' => $this->showSubscriptionBar,
552
  'wc_show_hide_reply_checkbox' => $this->showHideReplyCheckbox,
553
  'show_sorting_buttons' => $this->showSortingButtons,
 
554
  'wc_use_postmatic_for_comment_notification' => $this->usePostmaticForCommentNotification,
555
  'wc_comment_text_size' => $this->commentTextSize,
556
  'wc_form_bg_color' => $this->formBGColor,
@@ -567,7 +585,8 @@ class WpdiscuzOptionsSerialized {
567
  'wc_is_use_po_mo' => $this->isUsePoMo,
568
  'wc_disable_member_confirm' => $this->disableMemberConfirm,
569
  'wc_comment_text_min_length' => $this->commentTextMinLength,
570
- 'wc_comment_text_max_length' => $this->commentTextMaxLength
 
571
  );
572
  return $options;
573
  }
@@ -603,6 +622,7 @@ class WpdiscuzOptionsSerialized {
603
  'wc_simple_comment_date' => '0',
604
  'show_subscription_bar' => '1',
605
  'show_sorting_buttons' => '1',
 
606
  'wc_show_hide_reply_checkbox' => '1',
607
  'wc_use_postmatic_for_comment_notification' => '0',
608
  'wc_comment_text_size' => '14px',
@@ -619,8 +639,9 @@ class WpdiscuzOptionsSerialized {
619
  'wc_show_plugin_powerid_by' => '0',
620
  'wc_is_use_po_mo' => '0',
621
  'wc_disable_member_confirm' => '1',
622
- 'wc_comment_text_min_length' => 1,
623
- 'wc_comment_text_max_length' => ''
 
624
  );
625
  add_option(WpdiscuzCore::OPTION_SLUG_OPTIONS, serialize($options));
626
  }
@@ -662,8 +683,6 @@ class WpdiscuzOptionsSerialized {
662
  $js_options['wc_captcha_show_hide_for_members'] = $this->captchaShowHideForMembers;
663
  $js_options['is_email_field_required'] = $this->isEmailFieldRequired;
664
  $js_options['is_user_logged_in'] = is_user_logged_in();
665
- $js_options['main_form_time_out'] = WpdiscuzCore::JS_MAIN_FORM_TIME_OUT;
666
- $js_options['secondary_form_time_out'] = WpdiscuzCore::JS_SECONDARY_FORM_TIME_OUT;
667
  $js_options['commentListLoadType'] = $this->commentListLoadType;
668
  $js_options['commentListUpdateType'] = $this->commentListUpdateType;
669
  $js_options['commentListUpdateTimer'] = $this->commentListUpdateTimer;
@@ -671,10 +690,11 @@ class WpdiscuzOptionsSerialized {
671
  $js_options['wc_comment_bg_color'] = $this->commentBGColor;
672
  $js_options['wc_reply_bg_color'] = $this->replyBGColor;
673
  $js_options['wordpress_comment_order'] = $this->wordpressCommentOrder;
 
674
  $js_options['wordpressThreadCommentsDepth'] = $this->wordpressThreadCommentsDepth;
675
  $js_options['wordpressIsPaginate'] = $this->wordpressIsPaginate;
676
  if (function_exists('zerospam_get_key')) {
677
- $js_options['wpdiscuz_zs'] = urlencode(zerospam_get_key());
678
  }
679
  return $js_options;
680
  }
57
  * Default Value - Checked
58
  */
59
  public $isGuestCanVote;
60
+
61
+ /**
62
  * Type - Radio Button
63
  * Available Values - 0 Default (Load More) / 1 Load Rest Of Comments / 2 Lazy Load comments on scrolling
64
  * Description - Comment list load type
194
  */
195
  public $showSortingButtons;
196
 
197
+ /**
198
+ * Type - Checkbox
199
+ * Available Values - Checked/Unchecked
200
+ * Description - Show/Hide comment sorting by votes on front-end
201
+ * Default Value - Unchecked
202
+ */
203
+ public $mostVotedByDefault;
204
+
205
  /**
206
  * Type - Checkbox
207
  * Available Values - Checked/Unchecked
350
  * Default Value - Unlimit
351
  */
352
  public $commentTextMaxLength;
353
+
354
+ /**
355
+ * Type - Checkbox
356
+ * Available Values - Checked/Unchecked
357
+ * Description - Hide comment link if checked
358
+ * Default Value - Unchecked
359
+ */
360
+ public $showHideCommentLink;
361
  public $wordpressCommentRegistration;
362
  public $wordpressDateFormat;
363
  public $wordpressTimeFormat;
413
  $this->showSubscriptionBar = isset($options['show_subscription_bar']) ? $options['show_subscription_bar'] : 1;
414
  $this->showHideReplyCheckbox = isset($options['wc_show_hide_reply_checkbox']) ? $options['wc_show_hide_reply_checkbox'] : 0;
415
  $this->showSortingButtons = isset($options['show_sorting_buttons']) ? $options['show_sorting_buttons'] : 1;
416
+ $this->mostVotedByDefault = isset($options['mostVotedByDefault']) ? $options['mostVotedByDefault'] : 0;
417
  $this->usePostmaticForCommentNotification = isset($options['wc_use_postmatic_for_comment_notification']) ? $options['wc_use_postmatic_for_comment_notification'] : 0;
418
  $this->commentTextSize = isset($options['wc_comment_text_size']) ? $options['wc_comment_text_size'] : '14px';
419
  $this->formBGColor = isset($options['wc_form_bg_color']) ? $options['wc_form_bg_color'] : '#F9F9F9';
431
  $this->disableMemberConfirm = isset($options['wc_disable_member_confirm']) ? $options['wc_disable_member_confirm'] : 1;
432
  $this->commentTextMinLength = isset($options['wc_comment_text_min_length']) ? $options['wc_comment_text_min_length'] : 1;
433
  $this->commentTextMaxLength = isset($options['wc_comment_text_max_length']) ? $options['wc_comment_text_max_length'] : '';
434
+ $this->showHideCommentLink = isset($options['showHideCommentLink']) ? $options['showHideCommentLink'] : 0;
435
  }
436
 
437
  /**
536
  'wc_comment_edit_cancel_button' => __('Cancel', 'wpdiscuz'),
537
  'wc_msg_comment_text_min_length' => __('Comment text is too short (minimum %d% characters)', 'wpdiscuz'),
538
  'wc_msg_comment_text_max_length' => __('Comment text is too long (maximum %d% characters allowed)', 'wpdiscuz'),
 
539
  'wc_msg_required_fields' => __('Please fill out required fields', 'wpdiscuz'),
540
  'wc_connect_with' => __('Connect with', 'wpdiscuz'),
541
  'wc_subscribed_to' => __('You\'re subscribed to', 'wpdiscuz'),
568
  'show_subscription_bar' => $this->showSubscriptionBar,
569
  'wc_show_hide_reply_checkbox' => $this->showHideReplyCheckbox,
570
  'show_sorting_buttons' => $this->showSortingButtons,
571
+ 'mostVotedByDefault' => $this->mostVotedByDefault,
572
  'wc_use_postmatic_for_comment_notification' => $this->usePostmaticForCommentNotification,
573
  'wc_comment_text_size' => $this->commentTextSize,
574
  'wc_form_bg_color' => $this->formBGColor,
585
  'wc_is_use_po_mo' => $this->isUsePoMo,
586
  'wc_disable_member_confirm' => $this->disableMemberConfirm,
587
  'wc_comment_text_min_length' => $this->commentTextMinLength,
588
+ 'wc_comment_text_max_length' => $this->commentTextMaxLength,
589
+ 'showHideCommentLink' => $this->showHideCommentLink,
590
  );
591
  return $options;
592
  }
622
  'wc_simple_comment_date' => '0',
623
  'show_subscription_bar' => '1',
624
  'show_sorting_buttons' => '1',
625
+ 'mostVotedByDefault' => '0',
626
  'wc_show_hide_reply_checkbox' => '1',
627
  'wc_use_postmatic_for_comment_notification' => '0',
628
  'wc_comment_text_size' => '14px',
639
  'wc_show_plugin_powerid_by' => '0',
640
  'wc_is_use_po_mo' => '0',
641
  'wc_disable_member_confirm' => '1',
642
+ 'wc_comment_text_min_length' => '1',
643
+ 'wc_comment_text_max_length' => '',
644
+ 'showHideCommentLink' => '0'
645
  );
646
  add_option(WpdiscuzCore::OPTION_SLUG_OPTIONS, serialize($options));
647
  }
683
  $js_options['wc_captcha_show_hide_for_members'] = $this->captchaShowHideForMembers;
684
  $js_options['is_email_field_required'] = $this->isEmailFieldRequired;
685
  $js_options['is_user_logged_in'] = is_user_logged_in();
 
 
686
  $js_options['commentListLoadType'] = $this->commentListLoadType;
687
  $js_options['commentListUpdateType'] = $this->commentListUpdateType;
688
  $js_options['commentListUpdateTimer'] = $this->commentListUpdateTimer;
690
  $js_options['wc_comment_bg_color'] = $this->commentBGColor;
691
  $js_options['wc_reply_bg_color'] = $this->replyBGColor;
692
  $js_options['wordpress_comment_order'] = $this->wordpressCommentOrder;
693
+ $js_options['commentsVoteOrder'] = $this->showSortingButtons && $this->mostVotedByDefault;
694
  $js_options['wordpressThreadCommentsDepth'] = $this->wordpressThreadCommentsDepth;
695
  $js_options['wordpressIsPaginate'] = $this->wordpressIsPaginate;
696
  if (function_exists('zerospam_get_key')) {
697
+ $js_options['wpdiscuz_zs'] = md5(zerospam_get_key());
698
  }
699
  return $js_options;
700
  }
options/index.html ADDED
File without changes
options/options-layouts/index.html ADDED
File without changes
options/options-layouts/settings-show-hide.php CHANGED
@@ -75,28 +75,39 @@ if (!defined('ABSPATH')) {
75
  ?>
76
  </td>
77
  </tr>
 
 
 
 
 
 
 
 
 
 
 
78
  <tr valign="top">
79
  <th scope="row">
80
  <?php _e('Hide the CAPTCHA field for guests', 'wpdiscuz'); ?>
81
  </th>
82
  <td>
83
  <label for="wc_captcha_show_hide">
84
- <input type="checkbox" <?php checked($this->optionsSerialized->captchaShowHide == 1) ?> value="1" name="wc_captcha_show_hide" id="wc_captcha_show_hide" />
85
  </label>
 
 
 
 
 
 
 
 
 
 
 
 
86
  </td>
87
  </tr>
88
- <?php if (!$this->optionsSerialized->captchaShowHide) { ?>
89
- <tr valign="top">
90
- <th scope="row">
91
- <?php _e('Show the CAPTCHA field for logged in users', 'wpdiscuz'); ?>
92
- </th>
93
- <td>
94
- <label for="wc_captcha_show_hide_for_members">
95
- <input type="checkbox" <?php checked($this->optionsSerialized->captchaShowHideForMembers == 1) ?> value="1" name="wc_captcha_show_hide_for_members" id="wc_captcha_show_hide_for_members" />
96
- </label>
97
- </td>
98
- </tr>
99
- <?php } ?>
100
  <tr valign="top">
101
  <th scope="row">
102
  <?php _e('Show the Website URL field', 'wpdiscuz'); ?>
@@ -127,6 +138,26 @@ if (!defined('ABSPATH')) {
127
  </label>
128
  </td>
129
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  </tbody>
131
  </table>
132
  </div>
75
  ?>
76
  </td>
77
  </tr>
78
+ <?php
79
+ $pathToDir = DIR_PATH . WPD_DS . 'utils';
80
+ $isWritable = is_writable($pathToDir);
81
+ if ($isWritable) {
82
+ $disableCaptcha = '';
83
+ $msg = '';
84
+ } else {
85
+ $disableCaptcha = 'disabled="disabled"';
86
+ $msg = '<p style="display: inline;">' . __('The plugin directory is not writable! Please set writable permissions to plugin directory in order to use the captcha feature', 'wpdiscuz') . '</p>';
87
+ }
88
+ ?>
89
  <tr valign="top">
90
  <th scope="row">
91
  <?php _e('Hide the CAPTCHA field for guests', 'wpdiscuz'); ?>
92
  </th>
93
  <td>
94
  <label for="wc_captcha_show_hide">
95
+ <input <?php echo $disableCaptcha; ?> type="checkbox" <?php checked($this->optionsSerialized->captchaShowHide == 1) ?> value="1" name="wc_captcha_show_hide" id="wc_captcha_show_hide" />
96
  </label>
97
+ <?php echo $msg; ?>
98
+ </td>
99
+ </tr>
100
+ <tr valign="top">
101
+ <th scope="row">
102
+ <?php _e('Show the CAPTCHA field for logged in users', 'wpdiscuz'); ?>
103
+ </th>
104
+ <td>
105
+ <label for="wc_captcha_show_hide_for_members">
106
+ <input <?php echo $disableCaptcha; ?> type="checkbox" <?php checked($this->optionsSerialized->captchaShowHideForMembers == 1) ?> value="1" name="wc_captcha_show_hide_for_members" id="wc_captcha_show_hide_for_members" />
107
+ </label>
108
+ <?php echo $msg; ?>
109
  </td>
110
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
111
  <tr valign="top">
112
  <th scope="row">
113
  <?php _e('Show the Website URL field', 'wpdiscuz'); ?>
138
  </label>
139
  </td>
140
  </tr>
141
+ <tr valign="top" id="row_mostVotedByDefault">
142
+ <th scope="row">
143
+ <?php _e('Set comments ordering to "Most voted" by default ', 'wpdiscuz'); ?>
144
+ </th>
145
+ <td>
146
+ <label for="mostVotedByDefault">
147
+ <input type="checkbox" <?php checked($this->optionsSerialized->mostVotedByDefault == 1) ?> value="1" name="mostVotedByDefault" id="mostVotedByDefault" />
148
+ </label>
149
+ </td>
150
+ </tr>
151
+ <tr valign="top">
152
+ <th scope="row">
153
+ <?php _e('Hide comment link', 'wpdiscuz'); ?>
154
+ </th>
155
+ <td>
156
+ <label for="showHideCommentLink">
157
+ <input type="checkbox" <?php checked($this->optionsSerialized->showHideCommentLink == 1) ?> value="1" name="showHideCommentLink" id="showHideCommentLink" />
158
+ </label>
159
+ </td>
160
+ </tr>
161
  </tbody>
162
  </table>
163
  </div>
options/phrases-layouts/index.html ADDED
File without changes
options/phrases-layouts/phrases-notification.php CHANGED
@@ -257,16 +257,6 @@ if (!defined('ABSPATH')) {
257
  </label>
258
  </td>
259
  </tr>
260
- <tr valign="top">
261
- <th scope="row">
262
- <?php _e('The captcha expired', 'wpdiscuz'); ?>
263
- </th>
264
- <td colspan="3">
265
- <label for="wc_msg_captcha_expired">
266
- <input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_msg_captcha_expired']) ? $this->optionsSerialized->phrases['wc_msg_captcha_expired'] : __('The captcha expired', 'wpdisucz'); ?>" name="wc_msg_captcha_expired" id="wc_msg_captcha_expired" />
267
- </label>
268
- </td>
269
- </tr>
270
  <tr valign="top">
271
  <th scope="row">
272
  <?php _e('Please fill out required fields', 'wpdiscuz'); ?>
257
  </label>
258
  </td>
259
  </tr>
 
 
 
 
 
 
 
 
 
 
260
  <tr valign="top">
261
  <th scope="row">
262
  <?php _e('Please fill out required fields', 'wpdiscuz'); ?>
readme.txt CHANGED
@@ -1,14 +1,14 @@
1
  === wpDiscuz - Supercharged native comments ===
2
  Contributors: gVectors Team
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UC44WQM5XJFPA
4
- Tags: wordpress comments, ajax comments, ajax, live update, live comments, realtime chat, chat, realtime commenting, mobile commenting, post comments, advanced comment, comments box, community, discussion, discuss, disqus, discuz, Disqus alternative, Livefyre alternative, Jatpack comments alternative, Facebook comments alternative, comment form, commenting, reply, comments, better comments, discussions, comment notifications, comment template, activity, comment author, comment system, redirect, comment redirect, first commenter, email commenting, social login, boost comments, native comments
5
  Requires at least: 4.1
6
  Tested up to: 4.3.1
7
- Stable tag: 3.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- New interactive, AJAX realtime comment system. Designed to supercharge Wordpress native comments. Super fast and responsive with dozens features.
12
 
13
  == Description ==
14
 
@@ -122,7 +122,7 @@ wpDiscuz Documentation: http://wpdiscuz.com/wpdiscuz-documentation/
122
  = Please Check the Following wpDiscuz Resources =
123
 
124
  * Support Forum: <http://gvectors.com/questions/>
125
- * Plugin Page: <http://gvectors.com/wpdiscuz/>
126
 
127
  == Screenshots ==
128
 
@@ -139,14 +139,24 @@ wpDiscuz Documentation: http://wpdiscuz.com/wpdiscuz-documentation/
139
 
140
  == Changelog ==
141
 
142
- = 3.0.4 =
 
 
 
 
 
 
 
 
 
 
 
143
 
144
- Big news! wpDiscuz comes with comments Lazy Loading feature.
145
 
146
  * Added: Lazy load comments on scrolling.
147
  * Added: Compatible with WordPress Zero Spam plugin
148
 
149
- IMPORTANT: If you have a Cache Plugin and CDN, please delete all caches and purge CDN after wpDiscuz update.
150
 
151
  = 3.0.3 =
152
 
1
  === wpDiscuz - Supercharged native comments ===
2
  Contributors: gVectors Team
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UC44WQM5XJFPA
4
+ Tags: wordpress comments, ajax comments, ajax, live update, live comments, realtime chat, chat, realtime commenting, Lazy load, Lazy load comments, mobile commenting, post comments, advanced comment, comments box, community, discussion, discuss, disqus, discuz, Disqus alternative, Livefyre alternative, Jatpack comments alternative, Facebook comments alternative, comment form, commenting, reply, comments, better comments, discussions, comment notifications, comment template, activity, comment author, comment system, redirect, comment redirect, first commenter, email commenting, social login, boost comments, native comments
5
  Requires at least: 4.1
6
  Tested up to: 4.3.1
7
+ Stable tag: 3.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ New interactive, AJAX realtime comment system. Designed to supercharge Wordpress native comments. Super fast and responsive with dozens of features.
12
 
13
  == Description ==
14
 
122
  = Please Check the Following wpDiscuz Resources =
123
 
124
  * Support Forum: <http://gvectors.com/questions/>
125
+ * Plugin Page: <http://wpdiscuz.com/wpdiscuz-3-0-0/>
126
 
127
  == Screenshots ==
128
 
139
 
140
  == Changelog ==
141
 
142
+ = 3.0.5 =
143
+
144
+ * Added: Filter hook to allow display MyCred badges under comment author avatar
145
+ - please read this topic: https://wordpress.org/support/topic/how-to-show-mycred-badges-under-comment-author-avatar
146
+
147
+ * Added: Option to hide/show comment link icon
148
+ * Added: More secure CAPTCHA, two level protection (image and key validation)
149
+ * Added: Option to set "Most Voted" sorting type by default
150
+ * Added: Polish (pl_PL) translation, thanks to Radosław Rak
151
+
152
+ IMPORTANT: If you have a Cache Plugin and CDN, please delete all caches and purge CDN after wpDiscuz update.
153
+
154
 
155
+ = 3.0.4 =
156
 
157
  * Added: Lazy load comments on scrolling.
158
  * Added: Compatible with WordPress Zero Spam plugin
159
 
 
160
 
161
  = 3.0.3 =
162
 
templates/comment/class.WpdiscuzTemplateBuilder.php CHANGED
@@ -23,8 +23,8 @@ class WpdiscuzTemplateBuilder {
23
  * @return single comment template
24
  */
25
  public function getCommentTemplate($comment, $args, $depth) {
26
- global $current_user;
27
- get_currentuserinfo();
28
  $commentContent = wp_kses($comment->comment_content, $this->helper->wc_allowed_tags);
29
  $commentContent = $this->helper->makeClickable($commentContent);
30
  $commentContent = apply_filters('comment_text', $commentContent, $comment, $args);
@@ -106,7 +106,7 @@ class WpdiscuzTemplateBuilder {
106
 
107
  $childCommentsCount = $this->dbManager->getCommentsCountByParentId($comment->comment_ID);
108
 
109
- if (!$this->optionsSerialized->isGuestCanVote && !is_user_logged_in()) {
110
  $voteClass = ' wc_tooltipster';
111
  $voteTitleText = $this->optionsSerialized->phrases['wc_login_to_vote'];
112
  $voteUp = $voteTitleText;
@@ -127,11 +127,18 @@ class WpdiscuzTemplateBuilder {
127
  if (class_exists('userpro_api') && $comment->user_id) {
128
  $output .= userpro_show_badges($comment->user_id, $inline = true);
129
  }
 
 
 
130
  $output .= '</div>';
131
  }
132
  $commentLink = get_comment_link($comment);
133
  $output .= '<div id="comment-' . $comment->comment_ID . '" class="wc-comment-right ' . $commentContentClass . '" ' . $hideAvatarStyle . '>';
134
- $output .= '<div class="wc-comment-header"><div class="wc-comment-author">' . $authorName . '</div><div class="wc-comment-link"><img src="' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/icon-link.gif') . '" class="wc-comment-img-link" title="&lt;input type=&quot;text&quot; class=&quot;wc-comment-link-input&quot; value=&quot;' . $commentLink . '&quot; /&gt;" /></div><div class="wc-comment-date">' . $posted_date . '</div><div style="clear:right"></div></div>';
 
 
 
 
135
  $output .= '<div class="wc-comment-text">' . $commentContent . '</div>';
136
  if ($comment->comment_approved == '1') {
137
  $output .= '<div class="wc-comment-footer">';
@@ -142,7 +149,7 @@ class WpdiscuzTemplateBuilder {
142
 
143
  if (comments_open($comment->comment_post_ID) && $this->optionsSerialized->wordpressThreadComments) {
144
  if ($this->optionsSerialized->wordpressCommentRegistration) {
145
- if (!$this->optionsSerialized->replyButtonMembersShowHide && is_user_logged_in()) {
146
  $output .= '&nbsp;&nbsp;<span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> &nbsp;&nbsp;';
147
  } else if (in_array('administrator', $current_user->roles)) {
148
  $output .= '&nbsp;&nbsp;<span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> &nbsp;&nbsp;';
@@ -150,9 +157,9 @@ class WpdiscuzTemplateBuilder {
150
  } else {
151
  if (!$this->optionsSerialized->replyButtonMembersShowHide && !$this->optionsSerialized->replyButtonGuestsShowHide) {
152
  $output .= '&nbsp;&nbsp;<span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> &nbsp;&nbsp;';
153
- } else if (!$this->optionsSerialized->replyButtonMembersShowHide && is_user_logged_in()) {
154
  $output .= '&nbsp;&nbsp;<span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> &nbsp;&nbsp;';
155
- } else if (!$this->optionsSerialized->replyButtonGuestsShowHide && !is_user_logged_in()) {
156
  $output .= '&nbsp;&nbsp;<span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> &nbsp;&nbsp;';
157
  } else if (in_array('administrator', $current_user->roles)) {
158
  $output .= '&nbsp;&nbsp;<span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> &nbsp;&nbsp;';
@@ -242,4 +249,5 @@ class WpdiscuzTemplateBuilder {
242
  }
243
  return $author_name;
244
  }
245
- }
 
23
  * @return single comment template
24
  */
25
  public function getCommentTemplate($comment, $args, $depth) {
26
+ $current_user = $args['current_user'];
27
+ $depth = isset($args['addComment']) ? $args['addComment'] : $depth;
28
  $commentContent = wp_kses($comment->comment_content, $this->helper->wc_allowed_tags);
29
  $commentContent = $this->helper->makeClickable($commentContent);
30
  $commentContent = apply_filters('comment_text', $commentContent, $comment, $args);
106
 
107
  $childCommentsCount = $this->dbManager->getCommentsCountByParentId($comment->comment_ID);
108
 
109
+ if (!$this->optionsSerialized->isGuestCanVote && !$current_user->ID) {
110
  $voteClass = ' wc_tooltipster';
111
  $voteTitleText = $this->optionsSerialized->phrases['wc_login_to_vote'];
112
  $voteUp = $voteTitleText;
127
  if (class_exists('userpro_api') && $comment->user_id) {
128
  $output .= userpro_show_badges($comment->user_id, $inline = true);
129
  }
130
+ $wpdiscuzAfterLabelHtml ='';
131
+ $wpdiscuzAfterLabelData = apply_filters('wpdiscuz_after_label',array($wpdiscuzAfterLabelHtml,$comment));
132
+ $output .= $wpdiscuzAfterLabelData[0];
133
  $output .= '</div>';
134
  }
135
  $commentLink = get_comment_link($comment);
136
  $output .= '<div id="comment-' . $comment->comment_ID . '" class="wc-comment-right ' . $commentContentClass . '" ' . $hideAvatarStyle . '>';
137
+ $output .= '<div class="wc-comment-header"><div class="wc-comment-author">' . $authorName . '</div>';
138
+ if (!$this->optionsSerialized->showHideCommentLink) {
139
+ $output .= '<div class="wc-comment-link"><img src="' . plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/icon-link.gif') . '" class="wc-comment-img-link" title="&lt;input type=&quot;text&quot; class=&quot;wc-comment-link-input&quot; value=&quot;' . $commentLink . '&quot; /&gt;" /></div>';
140
+ }
141
+ $output .= '<div class="wc-comment-date">' . $posted_date . '</div><div style="clear:right"></div></div>';
142
  $output .= '<div class="wc-comment-text">' . $commentContent . '</div>';
143
  if ($comment->comment_approved == '1') {
144
  $output .= '<div class="wc-comment-footer">';
149
 
150
  if (comments_open($comment->comment_post_ID) && $this->optionsSerialized->wordpressThreadComments) {
151
  if ($this->optionsSerialized->wordpressCommentRegistration) {
152
+ if (!$this->optionsSerialized->replyButtonMembersShowHide && $current_user->ID) {
153
  $output .= '&nbsp;&nbsp;<span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> &nbsp;&nbsp;';
154
  } else if (in_array('administrator', $current_user->roles)) {
155
  $output .= '&nbsp;&nbsp;<span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> &nbsp;&nbsp;';
157
  } else {
158
  if (!$this->optionsSerialized->replyButtonMembersShowHide && !$this->optionsSerialized->replyButtonGuestsShowHide) {
159
  $output .= '&nbsp;&nbsp;<span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> &nbsp;&nbsp;';
160
+ } else if (!$this->optionsSerialized->replyButtonMembersShowHide && $current_user->ID) {
161
  $output .= '&nbsp;&nbsp;<span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> &nbsp;&nbsp;';
162
+ } else if (!$this->optionsSerialized->replyButtonGuestsShowHide && !$current_user->ID) {
163
  $output .= '&nbsp;&nbsp;<span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> &nbsp;&nbsp;';
164
  } else if (in_array('administrator', $current_user->roles)) {
165
  $output .= '&nbsp;&nbsp;<span class="wc-reply-link" title="' . $replyText . '">' . $replyText . '</span> &nbsp;&nbsp;';
249
  }
250
  return $author_name;
251
  }
252
+
253
+ }
templates/comment/comment-form.php CHANGED
@@ -52,7 +52,7 @@ if (isset($_GET['subscriptionSuccess'])) {
52
  } elseif (!$_GET['subscriptionSuccess']) {
53
  $subscriptionMsg = __('Subscription not successed', 'wpdiscuz');
54
  } else {
55
- if (is_user_logged_in() && $wpdiscuz->optionsSerialized->disableMemberConfirm) {
56
  $subscriptionMsg = $wpdiscuz->optionsSerialized->phrases['wc_subscribe_message'];
57
  } else {
58
  $subscriptionMsg = $wpdiscuz->optionsSerialized->phrases['wc_confirm_email'];
@@ -77,9 +77,7 @@ if (comments_open($post->ID)) {
77
  <?php } ?>
78
  <?php
79
  if ($wpdiscuz->optionsSerialized->showHideLoggedInUsername) {
80
- if (is_user_logged_in()) {
81
- global $current_user;
82
- get_currentuserinfo();
83
  $user_url = get_author_posts_url($current_user->ID);
84
  ?>
85
  <div id="wc_show_hide_loggedin_username">
@@ -95,7 +93,7 @@ if (comments_open($post->ID)) {
95
  }
96
  }
97
  ?>
98
- <div id="wpcomm" class="<?php echo (is_user_logged_in()) ? 'wpdiscuz_auth' : 'wpdiscuz_unauth'; ?>">
99
  <?php if (!$wpdiscuz->optionsSerialized->headerTextShowHide) { ?>
100
  <div class="wc-comment-bar">
101
  <p class="wc-comment-title">
@@ -129,13 +127,13 @@ if (comments_open($post->ID)) {
129
  ?>
130
  <form action="<?php echo admin_url('admin-ajax.php') . '?action=addSubscription'; ?>" method="post" id="wpdiscuz-subscribe-form">
131
  <div class="wpdiscuz-subscribe-form-intro"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_of']; ?> </div>
132
- <div class="wpdiscuz-subscribe-form-option" style="width:<?php echo (!is_user_logged_in()) ? '40%' : '65%'; ?>;">
133
  <select class="wpdiscuz_select" name="wpdiscuzSubscriptionType" >
134
  <option value="<?php echo WpdiscuzCore::SUBSCRIPTION_POST; ?>"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_on_new_comment']; ?></option>
135
  <option value="<?php echo WpdiscuzCore::SUBSCRIPTION_ALL_COMMENT; ?>" <?php echo (isset($unsubscribeLink) || !$wpdiscuz->optionsSerialized->wordpressThreadComments) ? 'disabled' : ''; ?>><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_on_all_new_reply']; ?></option>
136
  </select>
137
  </div>
138
- <?php if (!is_user_logged_in()) { ?>
139
  <div class="wpdiscuz-item wpdiscuz-subscribe-form-email">
140
  <input id="" class="email" type="email" name="wpdiscuzSubscriptionEmail" required="required" value="" placeholder="<?php echo $wpdiscuz->optionsSerialized->phrases['wc_email_text']; ?>"/>
141
  </div>
@@ -160,9 +158,9 @@ if (comments_open($post->ID)) {
160
  ?>
161
  </div>
162
  <?php } ?>
163
- <?php $wpdiscuz->helper->formBuilder('main', '0_0', $commentsCount); ?>
164
  <div id="wpdiscuz_hidden_secondary_form" style="display: none;">
165
- <?php $wpdiscuz->helper->formBuilder(0, 'wpdiscuzuniqueid', $commentsCount); ?>
166
  </div>
167
  <?php do_action('comment_form_after'); ?>
168
  <hr>
@@ -177,7 +175,7 @@ if (comments_open($post->ID)) {
177
  <div id="respond"></div>
178
  <?php } ?>
179
  <?php do_action('comment_form_closed'); ?>
180
- <div id="wpcomm" class="<?php echo (is_user_logged_in()) ? 'wpdiscuz_auth' : 'wpdiscuz_unauth'; ?>" style="border:none;">
181
  <?php } ?>
182
 
183
  <?php if ($commentsCount > 0 && $wpdiscuz->optionsSerialized->showSortingButtons && !$wpdiscuz->optionsSerialized->wordpressIsPaginate) { ?>
@@ -202,12 +200,19 @@ if (comments_open($post->ID)) {
202
  <?php
203
  $args = array();
204
  $showLoadeMore = 1;
205
- if (isset($_GET['_escaped_fragment_']) && ($_GET['_escaped_fragment_'] == 'loadmore')) {
206
- $lastParentId = isset($_GET['parentId']) ? intval($_GET['parentId']) : 0;
 
207
  if ($lastParentId) {
208
  $args['last_parent_id'] = $lastParentId--;
209
  }
210
  }
 
 
 
 
 
 
211
  $commentData = $wpdiscuz->getWPComments($args);
212
  echo $commentData['comment_list'];
213
  ?>
@@ -217,26 +222,26 @@ if (comments_open($post->ID)) {
217
  $loadMoreButtonText = ($wpdiscuz->optionsSerialized->commentListLoadType == 1) ? $wpdiscuz->optionsSerialized->phrases['wc_load_rest_comments_submit_text'] : $wpdiscuz->optionsSerialized->phrases['wc_load_more_submit_text'];
218
  ?>
219
  <div class="wc-load-more-submit-wrap">
220
- <a class="wc-load-more-link" href="<?php echo get_permalink($post->ID) . '#!loadmore&parentId=' . $commentData['last_parent_id']; ?>">
221
  <button name="submit" class="wc-load-more-submit button">
222
  <?php echo $loadMoreButtonText; ?>
223
  </button>
224
  </a>
225
  </div>
 
226
  <?php
227
  } else {
228
  paginate_comments_links();
229
  }
230
  ?>
231
  </div>
232
- <input id="wpdiscuzHasMoreComments" type="hidden" value="<?php echo $commentData['is_show_load_more']; ?>" />
233
  </div>
234
  <div style="clear:both"></div>
235
  <?php if (comments_open($post->ID) && $commentsCount > 0) { ?>
236
  <?php if ($wpdiscuz->optionsSerialized->showPluginPoweredByLink) { ?>
237
  <div class="by-wpdiscuz">
238
  <span id="awpdiscuz" onclick='javascript:document.getElementById("bywpdiscuz").style.display = "inline";
239
- document.getElementById("awpdiscuz").style.display = "none";'>
240
  <img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/plugin-icon/icon_info.png'); ?>" align="absmiddle" class="wpdimg"/>
241
  </span>&nbsp;
242
  <a href="http://wpdiscuz.com/" id="bywpdiscuz" title="wpDiscuz v<?php echo get_option(WpdiscuzCore::OPTION_SLUG_VERSION); ?> - Supercharged native comments">wpDiscuz</a>
@@ -245,7 +250,7 @@ if (comments_open($post->ID)) {
245
  <?php } ?>
246
  </div>
247
  </div>
248
- <div class="wpdiscuz-loading-bar <?php echo (is_user_logged_in()) ? 'wpdiscuz-loading-bar-auth' : 'wpdiscuz-loading-bar-unauth'; ?>"><img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/loading.gif'); ?>" /></div>
249
  <?php
250
 
251
  function wpdiscuz_close_divs($html) {
52
  } elseif (!$_GET['subscriptionSuccess']) {
53
  $subscriptionMsg = __('Subscription not successed', 'wpdiscuz');
54
  } else {
55
+ if ($current_user->ID && $wpdiscuz->optionsSerialized->disableMemberConfirm) {
56
  $subscriptionMsg = $wpdiscuz->optionsSerialized->phrases['wc_subscribe_message'];
57
  } else {
58
  $subscriptionMsg = $wpdiscuz->optionsSerialized->phrases['wc_confirm_email'];
77
  <?php } ?>
78
  <?php
79
  if ($wpdiscuz->optionsSerialized->showHideLoggedInUsername) {
80
+ if ($current_user->ID) {
 
 
81
  $user_url = get_author_posts_url($current_user->ID);
82
  ?>
83
  <div id="wc_show_hide_loggedin_username">
93
  }
94
  }
95
  ?>
96
+ <div id="wpcomm" class="<?php echo ($current_user->ID) ? 'wpdiscuz_auth' : 'wpdiscuz_unauth'; ?>">
97
  <?php if (!$wpdiscuz->optionsSerialized->headerTextShowHide) { ?>
98
  <div class="wc-comment-bar">
99
  <p class="wc-comment-title">
127
  ?>
128
  <form action="<?php echo admin_url('admin-ajax.php') . '?action=addSubscription'; ?>" method="post" id="wpdiscuz-subscribe-form">
129
  <div class="wpdiscuz-subscribe-form-intro"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_of']; ?> </div>
130
+ <div class="wpdiscuz-subscribe-form-option" style="width:<?php echo (!$current_user->ID) ? '40%' : '65%'; ?>;">
131
  <select class="wpdiscuz_select" name="wpdiscuzSubscriptionType" >
132
  <option value="<?php echo WpdiscuzCore::SUBSCRIPTION_POST; ?>"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_on_new_comment']; ?></option>
133
  <option value="<?php echo WpdiscuzCore::SUBSCRIPTION_ALL_COMMENT; ?>" <?php echo (isset($unsubscribeLink) || !$wpdiscuz->optionsSerialized->wordpressThreadComments) ? 'disabled' : ''; ?>><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_on_all_new_reply']; ?></option>
134
  </select>
135
  </div>
136
+ <?php if (!$current_user->ID) { ?>
137
  <div class="wpdiscuz-item wpdiscuz-subscribe-form-email">
138
  <input id="" class="email" type="email" name="wpdiscuzSubscriptionEmail" required="required" value="" placeholder="<?php echo $wpdiscuz->optionsSerialized->phrases['wc_email_text']; ?>"/>
139
  </div>
158
  ?>
159
  </div>
160
  <?php } ?>
161
+ <?php $wpdiscuz->helper->formBuilder('main', '0_0', $commentsCount, $current_user); ?>
162
  <div id="wpdiscuz_hidden_secondary_form" style="display: none;">
163
+ <?php $wpdiscuz->helper->formBuilder(0, 'wpdiscuzuniqueid', $commentsCount, $current_user); ?>
164
  </div>
165
  <?php do_action('comment_form_after'); ?>
166
  <hr>
175
  <div id="respond"></div>
176
  <?php } ?>
177
  <?php do_action('comment_form_closed'); ?>
178
+ <div id="wpcomm" class="<?php echo ($current_user->ID) ? 'wpdiscuz_auth' : 'wpdiscuz_unauth'; ?>" style="border:none;">
179
  <?php } ?>
180
 
181
  <?php if ($commentsCount > 0 && $wpdiscuz->optionsSerialized->showSortingButtons && !$wpdiscuz->optionsSerialized->wordpressIsPaginate) { ?>
200
  <?php
201
  $args = array();
202
  $showLoadeMore = 1;
203
+ if (isset($_GET['_escaped_fragment_'])) {
204
+ parse_str($_GET['_escaped_fragment_'], $query_array);
205
+ $lastParentId = isset($query_array['parentId']) ? intval($query_array['parentId']) : 0;
206
  if ($lastParentId) {
207
  $args['last_parent_id'] = $lastParentId--;
208
  }
209
  }
210
+
211
+ if ($wpdiscuz->optionsSerialized->showSortingButtons && $wpdiscuz->optionsSerialized->mostVotedByDefault) {
212
+ $args['orderby'] = 'meta_value_num';
213
+ $args['order'] = 'desc';
214
+ }
215
+
216
  $commentData = $wpdiscuz->getWPComments($args);
217
  echo $commentData['comment_list'];
218
  ?>
222
  $loadMoreButtonText = ($wpdiscuz->optionsSerialized->commentListLoadType == 1) ? $wpdiscuz->optionsSerialized->phrases['wc_load_rest_comments_submit_text'] : $wpdiscuz->optionsSerialized->phrases['wc_load_more_submit_text'];
223
  ?>
224
  <div class="wc-load-more-submit-wrap">
225
+ <a class="wc-load-more-link" href="<?php echo get_permalink($post->ID) . '#!parentId=' . $commentData['last_parent_id']; ?>">
226
  <button name="submit" class="wc-load-more-submit button">
227
  <?php echo $loadMoreButtonText; ?>
228
  </button>
229
  </a>
230
  </div>
231
+ <input id="wpdiscuzHasMoreComments" type="hidden" value="<?php echo $commentData['is_show_load_more']; ?>" />
232
  <?php
233
  } else {
234
  paginate_comments_links();
235
  }
236
  ?>
237
  </div>
 
238
  </div>
239
  <div style="clear:both"></div>
240
  <?php if (comments_open($post->ID) && $commentsCount > 0) { ?>
241
  <?php if ($wpdiscuz->optionsSerialized->showPluginPoweredByLink) { ?>
242
  <div class="by-wpdiscuz">
243
  <span id="awpdiscuz" onclick='javascript:document.getElementById("bywpdiscuz").style.display = "inline";
244
+ document.getElementById("awpdiscuz").style.display = "none";'>
245
  <img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/plugin-icon/icon_info.png'); ?>" align="absmiddle" class="wpdimg"/>
246
  </span>&nbsp;
247
  <a href="http://wpdiscuz.com/" id="bywpdiscuz" title="wpDiscuz v<?php echo get_option(WpdiscuzCore::OPTION_SLUG_VERSION); ?> - Supercharged native comments">wpDiscuz</a>
250
  <?php } ?>
251
  </div>
252
  </div>
253
+ <div class="wpdiscuz-loading-bar <?php echo ($current_user->ID) ? 'wpdiscuz-loading-bar-auth' : 'wpdiscuz-loading-bar-unauth'; ?>"><img src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/loading.gif'); ?>" /></div>
254
  <?php
255
 
256
  function wpdiscuz_close_divs($html) {
templates/comment/index.html ADDED
File without changes
templates/index.html ADDED
File without changes
utils/captcha/captcha.php DELETED
@@ -1,41 +0,0 @@
1
- <?php
2
- if (!defined('ABSPATH')) {
3
- exit();
4
- }
5
- error_reporting(0);
6
- header("Expires: Tue, 01 Jan 2014 00:00:00 GMT");
7
- header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
8
- header("Cache-Control: no-store, no-cache, must-revalidate");
9
- header("Cache-Control: post-check=0, pre-check=0", false);
10
- header("Pragma: no-cache");
11
-
12
- $chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
13
- $randomString = '';
14
- $captcha_length = 5;
15
-
16
- for ($i = 0; $i < $captcha_length; $i++) {
17
- $randomString .= $chars[rand(0, strlen($chars) - 1)];
18
- }
19
-
20
- $_SESSION['wc_captcha'][$comm_id] = md5(strtolower(trim($randomString)));
21
- $im = @imagecreatefrompng(plugin_dir_path( __FILE__ )."captcha_bg_easy.png");
22
-
23
- $font_path = plugin_dir_path( __FILE__ ).'consolai.ttf';
24
-
25
-
26
- $x = 5;
27
- for ($i = 0; $i < strlen($randomString); $i++) {
28
- $color = imagecolorallocate($im, rand(0, 255), 0, rand(0, 255));
29
- $letter = substr($randomString, $i, 1);
30
- imagettftext($im, 16, 0, $x, 20, $color, $font_path, $letter);
31
- $x += 13;
32
- }
33
-
34
- for ($i = 0; $i < 5; $i++) {
35
- $color = imagecolorallocate($im, rand(0, 255), rand(0, 200), rand(0, 255));
36
- imageline($im, rand(0, 20), rand(1, 50), rand(150, 180), rand(1, 50), $color);
37
- }
38
- header('Content-type: image/png');
39
- imagepng($im, NULL, 0);
40
- imagedestroy($im);
41
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
utils/captcha/index.html ADDED
File without changes
utils/class.WpdiscuzEmailHelper.php CHANGED
@@ -11,14 +11,13 @@ class WpdiscuzEmailHelper {
11
  }
12
 
13
  public function addSubscription() {
14
- global $wp_rewrite;
 
15
  $subscribeFormNonce = filter_input(INPUT_POST, 'wpdiscuz_subscribe_form_nonce');
16
  $httpReferer = filter_input(INPUT_POST, '_wp_http_referer');
17
  $subscriptionType = filter_input(INPUT_POST, 'wpdiscuzSubscriptionType');
18
  $postId = filter_input(INPUT_POST, 'wpdiscuzSubscriptionPostId');
19
- if (is_user_logged_in()) {
20
- global $current_user;
21
- get_currentuserinfo();
22
  $email = $current_user->user_email;
23
  } else {
24
  $email = filter_input(INPUT_POST, 'wpdiscuzSubscriptionEmail');
@@ -26,7 +25,7 @@ class WpdiscuzEmailHelper {
26
 
27
  $success = 0;
28
  if (wp_verify_nonce($subscribeFormNonce, 'wpdiscuz_subscribe_form_nonce_action') && $email && filter_var($email, FILTER_VALIDATE_EMAIL) !== false && in_array($subscriptionType, array(WpdiscuzCore::SUBSCRIPTION_POST, WpdiscuzCore::SUBSCRIPTION_ALL_COMMENT)) && $postId) {
29
- if (is_user_logged_in() && $this->optionsSerialized->disableMemberConfirm) {
30
  $confirmData = $this->dbManager->addEmailNotification($postId, $postId, $email, $subscriptionType, 1);
31
  $success = 1;
32
  } else {
11
  }
12
 
13
  public function addSubscription() {
14
+ global $wp_rewrite,$current_user;
15
+ get_currentuserinfo();
16
  $subscribeFormNonce = filter_input(INPUT_POST, 'wpdiscuz_subscribe_form_nonce');
17
  $httpReferer = filter_input(INPUT_POST, '_wp_http_referer');
18
  $subscriptionType = filter_input(INPUT_POST, 'wpdiscuzSubscriptionType');
19
  $postId = filter_input(INPUT_POST, 'wpdiscuzSubscriptionPostId');
20
+ if ($current_user->ID) {
 
 
21
  $email = $current_user->user_email;
22
  } else {
23
  $email = filter_input(INPUT_POST, 'wpdiscuzSubscriptionEmail');
25
 
26
  $success = 0;
27
  if (wp_verify_nonce($subscribeFormNonce, 'wpdiscuz_subscribe_form_nonce_action') && $email && filter_var($email, FILTER_VALIDATE_EMAIL) !== false && in_array($subscriptionType, array(WpdiscuzCore::SUBSCRIPTION_POST, WpdiscuzCore::SUBSCRIPTION_ALL_COMMENT)) && $postId) {
28
+ if ($current_user->ID && $this->optionsSerialized->disableMemberConfirm) {
29
  $confirmData = $this->dbManager->addEmailNotification($postId, $postId, $email, $subscriptionType, 1);
30
  $success = 1;
31
  } else {
utils/class.WpdiscuzHelper.php CHANGED
@@ -41,10 +41,13 @@ class WpdiscuzHelper {
41
  'strike' => array(),
42
  'del' => array('datetime' => array()),
43
  );
 
 
44
 
45
  function __construct($wpdiscuzOptionsSerialized, $dbManager) {
46
  $this->optionsSerialized = $wpdiscuzOptionsSerialized;
47
  $this->dbManager = $dbManager;
 
48
  }
49
 
50
  // Set timezone
@@ -125,10 +128,7 @@ class WpdiscuzHelper {
125
  /**
126
  * get comment author avatar if exists otherwise default avatar
127
  */
128
- public function getCommentAuthorAvatar($comment = null) {
129
- global $current_user;
130
- get_currentuserinfo();
131
- $comm_auth_user_email = $current_user->user_email;
132
  if (function_exists('the_champ_init') && get_user_meta($current_user->ID, 'thechamp_avatar') && is_null($comment)) {
133
  $comment = (object) array('user_id' => $current_user->ID, 'comment_author_email' => $current_user->user_email, 'comment_type' => '');
134
  } elseif (!$comment) {
@@ -221,7 +221,7 @@ class WpdiscuzHelper {
221
 
222
  if (empty($url))
223
  return $matches[0];
224
- // removed trailing [.,;:] from URL
225
  if (in_array(substr($url, -1), array('.', ',', ';', ':')) === true) {
226
  $ret = substr($url, -1);
227
  $url = substr($url, 0, strlen($url) - 1);
@@ -252,11 +252,11 @@ class WpdiscuzHelper {
252
  public function makeClickable($ret) {
253
  $ret = ' ' . $ret;
254
  $ret = preg_replace('#[^\"|\'](https?:\/\/[^\s]+(\.jpe?g|\.png|\.gif|\.bmp))#i', '<a href="$1"><img src="$1" /></a>', $ret);
255
- // in testing, using arrays here was found to be faster
256
  $ret = preg_replace_callback('#([\s>])([\w]+?://[\w\\x80-\\xff\#$%&~/.\-;:=,?@\[\]+]*)#is', array(&$this, 'makeUrlClickable'), $ret);
257
  $ret = preg_replace_callback('#([\s>])((www|ftp)\.[\w\\x80-\\xff\#$%&~/.\-;:=,?@\[\]+]*)#is', array(&$this, 'makeWebFtpClickable'), $ret);
258
  $ret = preg_replace_callback('#([\s>])([.0-9a-z_+-]+)@(([0-9a-z-]+\.)+[0-9a-z]{2,})#i', array(&$this, 'makeEmailClickable'), $ret);
259
- // this one is not in an array because we need it to run last, for cleanup of accidental links within links
260
  $ret = preg_replace("#(<a( [^>]+?>|>))<a [^>]+?>([^>]+?)</a></a>#i", "$1$3</a>", $ret);
261
  $ret = trim($ret);
262
  return $ret;
@@ -293,44 +293,43 @@ class WpdiscuzHelper {
293
  return $ip;
294
  }
295
 
296
- public static function isGuestCanComment() {
297
  $user_can_comment = TRUE;
298
  if (get_option('comment_registration')) {
299
- if (!is_user_logged_in()) {
300
  $user_can_comment = FALSE;
301
  }
302
  }
303
  return $user_can_comment;
304
  }
305
 
306
- public function formBuilder($is_main, $unique_id, $commentsCount) {
307
- global $post, $current_user;
308
- get_currentuserinfo();
309
 
310
  $wc_is_name_field_required = ($this->optionsSerialized->isNameFieldRequired) ? 'required="required"' : '';
311
  $wc_is_email_field_required = ($this->optionsSerialized->isEmailFieldRequired) ? 'required="required"' : '';
312
 
313
- if (!$is_main || $commentsCount) {
314
  $textarea_placeholder = $this->optionsSerialized->phrases['wc_comment_join_text'];
315
  } else {
316
  $textarea_placeholder = $this->optionsSerialized->phrases['wc_comment_start_text'];
317
  }
318
  $validateCommentlength = (intval($this->optionsSerialized->commentTextMinLength) && intval($this->optionsSerialized->commentTextMaxLength)) ? 'data-validate-length-range="' . $this->optionsSerialized->commentTextMinLength . ',' . $this->optionsSerialized->commentTextMaxLength . '"' : '';
319
  ?>
320
- <div class="wc-form-wrapper <?php echo!$is_main ? 'wc-secondary-form-wrapper' : 'wc-main-form-wrapper'; ?>" <?php echo!$is_main ? "id='wc-secondary-form-wrapper-$unique_id' style='display: none;'" : "id='wc-main-form-wrapper-$unique_id'"; ?> >
321
  <div class="wpdiscuz-comment-message" style="display: block;"></div>
322
- <?php if (!$is_main) { ?>
323
  <div class="wc-secondary-forms-social-content"></div>
324
  <?php } ?>
325
  <?php
326
- if (WpdiscuzHelper::isGuestCanComment()) {
327
  ?>
328
- <form class="wc_comm_form <?php echo!$is_main ? 'wc-secondary-form-wrapper' : 'wc_main_comm_form'; ?>" method="post" action="">
329
  <div class="wc-field-comment">
330
 
331
  <?php if ($this->optionsSerialized->wordpressShowAvatars) { ?>
332
  <div class="wc-field-avatararea">
333
- <?php echo $this->getCommentAuthorAvatar(); ?>
334
  </div>
335
  <?php } ?>
336
  <div class="wpdiscuz-item wc-field-textarea" <?php
@@ -343,7 +342,7 @@ class WpdiscuzHelper {
343
  <div style="clear:both"></div>
344
  </div>
345
  <div class="wc-form-footer" style="display: none;">
346
- <?php if (!is_user_logged_in()) { ?>
347
  <div class="wc-author-data">
348
  <div class="wc-field-name wpdiscuz-item">
349
  <input type="text" placeholder="<?php echo $this->optionsSerialized->phrases['wc_name_text']; ?>" value="" <?php echo $wc_is_name_field_required; ?> name="wc_name" class="wc_name wc_field_input" >
@@ -356,30 +355,33 @@ class WpdiscuzHelper {
356
  <?php } ?>
357
  <div class="wc-form-submit">
358
  <?php
359
- $wpdiscuz_is_captcha_members = $this->optionsSerialized->captchaShowHideForMembers && is_user_logged_in();
360
- if (!$this->optionsSerialized->captchaShowHide) {
361
- if ($wpdiscuz_is_captcha_members || !is_user_logged_in()) {
362
- ?>
363
- <div class="wc-field-captcha wpdiscuz-item">
364
- <input type="text" maxlength="5" value="" required="required" name="wc_captcha" class="wc_field_input wc_field_captcha">
365
- <span class="wc-label wc-captcha-label">
366
- <a class="wpdiscuz-nofollow" href="#" rel="nofollow">
367
- <?php $wc_captcha_img_url = admin_url('admin-ajax.php') . '?action=generateCaptcha&wpdiscuz_captcha_id=' . $unique_id; ?>
368
- <img class="wc_captcha_img" src="<?php echo wp_nonce_url($wc_captcha_img_url, 'wc_captcha_img'); ?>&wpdiscuz-rand=<?php echo md5($unique_id); ?>">
369
- </a>
370
- <a class="wpdiscuz-nofollow wc_captcha_refresh_img" href="#" rel="nofollow">
371
- <img class="" src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . '/assets/img/captcha-loading.png') ?>">
372
- </a>
373
- </span>
374
- <span class="captcha_msg"><?php echo $this->optionsSerialized->phrases['wc_captcha_text']; ?></span>
375
- <div class="alert"><?php echo $this->optionsSerialized->phrases['wc_msg_captcha_expired']; ?></div>
376
- </div>
377
- <?php
378
- }
 
 
 
379
  }
380
  ?>
381
  <div class="wc-field-submit">
382
- <?php if (!is_user_logged_in() && $this->optionsSerialized->weburlShowHide) { ?>
383
  <div class="wc-field-website wpdiscuz-item">
384
  <input type="url" placeholder="<?php echo $this->optionsSerialized->phrases['wc_website_text']; ?>" value="" name="wc_website" class="wc_website wc_field_input">
385
  </div>
@@ -389,7 +391,7 @@ class WpdiscuzHelper {
389
  <?php
390
  if (class_exists('Prompt_Comment_Form_Handling') && $this->optionsSerialized->usePostmaticForCommentNotification) {
391
  ?>
392
- <input id="wc_notification_new_comment-<?php echo $unique_id; ?>" class="wc_notification_new_comment-<?php echo $unique_id; ?>" value="post" type="checkbox" name="wpdiscuz_notification_type"/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-<?php echo $unique_id; ?>"><?php _e('Participate in this discussion via email', 'wpdiscuz'); ?></label><br />
393
  <?php
394
  } elseif ($this->optionsSerialized->showHideReplyCheckbox) {
395
  $wpdiscuz_subscription_type = '';
@@ -398,7 +400,7 @@ class WpdiscuzHelper {
398
  }
399
  if (!$wpdiscuz_subscription_type) {
400
  ?>
401
- <input id="wc_notification_new_comment-<?php echo $unique_id; ?>" class="wc_notification_new_comment-<?php echo $unique_id; ?>" value="comment" type="checkbox" name="wpdiscuz_notification_type"/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-<?php echo $unique_id; ?>"><?php echo $this->optionsSerialized->phrases['wc_notify_on_new_reply']; ?></label><br />
402
  <?php
403
  }
404
  }
@@ -409,10 +411,9 @@ class WpdiscuzHelper {
409
  </div>
410
  <div style="clear:both"></div>
411
  </div>
412
-
413
  </div>
414
- <?php wp_nonce_field('wpdiscuz_comment_form_nonce_action', 'wpdiscuz_comment_form_nonce'); ?>
415
- <input type="hidden" value="<?php echo $unique_id; ?>" name="wpdiscuz_unique_id">
416
  </form>
417
  <?php } else { ?>
418
  <p class="wc-must-login">
@@ -435,33 +436,6 @@ class WpdiscuzHelper {
435
  return $id_strings;
436
  }
437
 
438
- /*
439
- * register new session
440
- */
441
-
442
- public function registerSession() {
443
- if (!session_id() && !$this->optionsSerialized->captchaShowHide) {
444
- if ((is_user_logged_in() && $this->optionsSerialized->captchaShowHideForMembers) || !is_user_logged_in()) {
445
- @session_start();
446
- }
447
- }
448
- }
449
-
450
- public function generateCaptcha() {
451
- if (isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'wc_captcha_img') && isset($_GET['wpdiscuz_captcha_id']) && trim($_GET['wpdiscuz_captcha_id'])) {
452
- $comm_id = trim($_GET['wpdiscuz_captcha_id']);
453
- include_once 'captcha/captcha.php';
454
- }
455
- }
456
-
457
- public function setCaptchaExpired() {
458
- if (isset($_SESSION['wc_captcha']) && isset($_POST['wpdiscuzAjaxData']) && trim($_POST['wpdiscuzAjaxData'])) {
459
- $comm_id = trim($_POST['wpdiscuzAjaxData']);
460
- $_SESSION['wc_captcha'][$comm_id] = md5(uniqid());
461
- }
462
- wp_die();
463
- }
464
-
465
  public function isShowLoadMore($parentId, $args) {
466
  $postId = $args['post_id'];
467
  $postAllParent = $this->dbManager->getAllParentCommentCount($postId, $this->optionsSerialized->wordpressThreadComments);
@@ -499,5 +473,165 @@ class WpdiscuzHelper {
499
  }
500
  }
501
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
502
  }
503
 
41
  'strike' => array(),
42
  'del' => array('datetime' => array()),
43
  );
44
+ public $captchaDir;
45
+ public $captchaString;
46
 
47
  function __construct($wpdiscuzOptionsSerialized, $dbManager) {
48
  $this->optionsSerialized = $wpdiscuzOptionsSerialized;
49
  $this->dbManager = $dbManager;
50
+ $this->captchaDir = DIR_PATH . WPD_DS . 'utils' . WPD_DS . 'temp';
51
  }
52
 
53
  // Set timezone
128
  /**
129
  * get comment author avatar if exists otherwise default avatar
130
  */
131
+ public function getCommentAuthorAvatar($comment = null, $current_user = null) {
 
 
 
132
  if (function_exists('the_champ_init') && get_user_meta($current_user->ID, 'thechamp_avatar') && is_null($comment)) {
133
  $comment = (object) array('user_id' => $current_user->ID, 'comment_author_email' => $current_user->user_email, 'comment_type' => '');
134
  } elseif (!$comment) {
221
 
222
  if (empty($url))
223
  return $matches[0];
224
+ // removed trailing [.,;:] from URL
225
  if (in_array(substr($url, -1), array('.', ',', ';', ':')) === true) {
226
  $ret = substr($url, -1);
227
  $url = substr($url, 0, strlen($url) - 1);
252
  public function makeClickable($ret) {
253
  $ret = ' ' . $ret;
254
  $ret = preg_replace('#[^\"|\'](https?:\/\/[^\s]+(\.jpe?g|\.png|\.gif|\.bmp))#i', '<a href="$1"><img src="$1" /></a>', $ret);
255
+ // in testing, using arrays here was found to be faster
256
  $ret = preg_replace_callback('#([\s>])([\w]+?://[\w\\x80-\\xff\#$%&~/.\-;:=,?@\[\]+]*)#is', array(&$this, 'makeUrlClickable'), $ret);
257
  $ret = preg_replace_callback('#([\s>])((www|ftp)\.[\w\\x80-\\xff\#$%&~/.\-;:=,?@\[\]+]*)#is', array(&$this, 'makeWebFtpClickable'), $ret);
258
  $ret = preg_replace_callback('#([\s>])([.0-9a-z_+-]+)@(([0-9a-z-]+\.)+[0-9a-z]{2,})#i', array(&$this, 'makeEmailClickable'), $ret);
259
+ // this one is not in an array because we need it to run last, for cleanup of accidental links within links
260
  $ret = preg_replace("#(<a( [^>]+?>|>))<a [^>]+?>([^>]+?)</a></a>#i", "$1$3</a>", $ret);
261
  $ret = trim($ret);
262
  return $ret;
293
  return $ip;
294
  }
295
 
296
+ private function isGuestCanComment($isUserLoggedIn) {
297
  $user_can_comment = TRUE;
298
  if (get_option('comment_registration')) {
299
+ if (!$isUserLoggedIn) {
300
  $user_can_comment = FALSE;
301
  }
302
  }
303
  return $user_can_comment;
304
  }
305
 
306
+ public function formBuilder($isMain, $uniqueId, $commentsCount, $current_user) {
307
+ global $post;
 
308
 
309
  $wc_is_name_field_required = ($this->optionsSerialized->isNameFieldRequired) ? 'required="required"' : '';
310
  $wc_is_email_field_required = ($this->optionsSerialized->isEmailFieldRequired) ? 'required="required"' : '';
311
 
312
+ if (!$isMain || $commentsCount) {
313
  $textarea_placeholder = $this->optionsSerialized->phrases['wc_comment_join_text'];
314
  } else {
315
  $textarea_placeholder = $this->optionsSerialized->phrases['wc_comment_start_text'];
316
  }
317
  $validateCommentlength = (intval($this->optionsSerialized->commentTextMinLength) && intval($this->optionsSerialized->commentTextMaxLength)) ? 'data-validate-length-range="' . $this->optionsSerialized->commentTextMinLength . ',' . $this->optionsSerialized->commentTextMaxLength . '"' : '';
318
  ?>
319
+ <div class="wc-form-wrapper <?php echo!$isMain ? 'wc-secondary-form-wrapper' : 'wc-main-form-wrapper'; ?>" <?php echo!$isMain ? "id='wc-secondary-form-wrapper-$uniqueId' style='display: none;'" : "id='wc-main-form-wrapper-$uniqueId'"; ?> >
320
  <div class="wpdiscuz-comment-message" style="display: block;"></div>
321
+ <?php if (!$isMain) { ?>
322
  <div class="wc-secondary-forms-social-content"></div>
323
  <?php } ?>
324
  <?php
325
+ if ($this->isGuestCanComment($current_user->ID)) {
326
  ?>
327
+ <form class="wc_comm_form <?php echo!$isMain ? 'wc-secondary-form-wrapper' : 'wc_main_comm_form'; ?>" method="post" action="">
328
  <div class="wc-field-comment">
329
 
330
  <?php if ($this->optionsSerialized->wordpressShowAvatars) { ?>
331
  <div class="wc-field-avatararea">
332
+ <?php echo $this->getCommentAuthorAvatar(null, $current_user); ?>
333
  </div>
334
  <?php } ?>
335
  <div class="wpdiscuz-item wc-field-textarea" <?php
342
  <div style="clear:both"></div>
343
  </div>
344
  <div class="wc-form-footer" style="display: none;">
345
+ <?php if (!$current_user->ID) { ?>
346
  <div class="wc-author-data">
347
  <div class="wc-field-name wpdiscuz-item">
348
  <input type="text" placeholder="<?php echo $this->optionsSerialized->phrases['wc_name_text']; ?>" value="" <?php echo $wc_is_name_field_required; ?> name="wc_name" class="wc_name wc_field_input" >
355
  <?php } ?>
356
  <div class="wc-form-submit">
357
  <?php
358
+ // generate captcha for secondary form on clone if img path not exists
359
+ if ($this->isShowCaptcha($current_user->ID)) {
360
+ ?>
361
+ <div class="wc-field-captcha wpdiscuz-item">
362
+ <input type="text" maxlength="5" value="" required="required" name="wc_captcha" class="wc_field_input wc_field_captcha">
363
+ <span class="wc-label wc-captcha-label">
364
+ <?php
365
+ $captchaData = $this->createCaptchaImage();
366
+ $captchaFile = $captchaData['captcha'];
367
+ $key = $captchaData['key'];
368
+ $captchaFile = $captchaFile ? plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . WPD_DS . 'utils' . WPD_DS . 'temp' . WPD_DS . $captchaFile) : '';
369
+ ?>
370
+ <a class="wpdiscuz-nofollow" href="#" rel="nofollow">
371
+ <img class="wc_captcha_img" src="<?php echo $captchaFile; ?>">
372
+ </a>
373
+ <a class="wpdiscuz-nofollow wc_captcha_refresh_img" href="#" rel="nofollow">
374
+ <img class="" alt="<?php _e('Error', 'wpdiscuz'); ?>" src="<?php echo plugins_url(WpdiscuzCore::$PLUGIN_DIRECTORY . WPD_DS . 'assets' . WPD_DS . 'img' . WPD_DS . 'captcha-loading.png'); ?>">
375
+ </a>
376
+ <input type="hidden" id="<?php echo $key; ?>" class="wpdiscuz-cnonce" name="cnonce" value="<?php echo $key; ?>" />
377
+ </span>
378
+ <span class="captcha_msg"><?php echo $this->optionsSerialized->phrases['wc_captcha_text']; ?></span>
379
+ </div>
380
+ <?php
381
  }
382
  ?>
383
  <div class="wc-field-submit">
384
+ <?php if (!$current_user->ID && $this->optionsSerialized->weburlShowHide) { ?>
385
  <div class="wc-field-website wpdiscuz-item">
386
  <input type="url" placeholder="<?php echo $this->optionsSerialized->phrases['wc_website_text']; ?>" value="" name="wc_website" class="wc_website wc_field_input">
387
  </div>
391
  <?php
392
  if (class_exists('Prompt_Comment_Form_Handling') && $this->optionsSerialized->usePostmaticForCommentNotification) {
393
  ?>
394
+ <input id="wc_notification_new_comment-<?php echo $uniqueId; ?>" class="wc_notification_new_comment-<?php echo $uniqueId; ?>" value="post" type="checkbox" name="wpdiscuz_notification_type"/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-<?php echo $uniqueId; ?>"><?php _e('Participate in this discussion via email', 'wpdiscuz'); ?></label><br />
395
  <?php
396
  } elseif ($this->optionsSerialized->showHideReplyCheckbox) {
397
  $wpdiscuz_subscription_type = '';
400
  }
401
  if (!$wpdiscuz_subscription_type) {
402
  ?>
403
+ <input id="wc_notification_new_comment-<?php echo $uniqueId; ?>" class="wc_notification_new_comment-<?php echo $uniqueId; ?>" value="comment" type="checkbox" name="wpdiscuz_notification_type"/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-<?php echo $uniqueId; ?>"><?php echo $this->optionsSerialized->phrases['wc_notify_on_new_reply']; ?></label><br />
404
  <?php
405
  }
406
  }
411
  </div>
412
  <div style="clear:both"></div>
413
  </div>
 
414
  </div>
415
+ <?php wp_nonce_field(WpDiscuzConstants::ACTION_FORM_NONCE, 'wpdiscuz_comment_form_nonce'); ?>
416
+ <input type="hidden" value="<?php echo $uniqueId; ?>" name="wpdiscuz_unique_id">
417
  </form>
418
  <?php } else { ?>
419
  <p class="wc-must-login">
436
  return $id_strings;
437
  }
438
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
439
  public function isShowLoadMore($parentId, $args) {
440
  $postId = $args['post_id'];
441
  $postAllParent = $this->dbManager->getAllParentCommentCount($postId, $this->optionsSerialized->wordpressThreadComments);
473
  }
474
  }
475
 
476
+ public function generateCaptcha() {
477
+ $messageArray = array();
478
+ if (isset($_POST['wpdiscuzAjaxData'])) {
479
+ parse_str($_POST['wpdiscuzAjaxData']);
480
+ $uniqueId = trim($uniqueId);
481
+ $captchaData = $this->createCaptchaImage();
482
+ $messageArray['code'] = 1;
483
+ $messageArray['message'] = $captchaData['captcha'];
484
+ $messageArray['key'] = $captchaData['key'];
485
+ wp_die(json_encode($messageArray));
486
+ }
487
+ }
488
+
489
+ private function getMicrotime() {
490
+ list($usec, $sec) = explode(" ", microtime());
491
+ return ((float) $usec + (float) $sec);
492
+ }
493
+
494
+ public function createCaptchaImage() {
495
+ if (!$this->createTempDir()) {
496
+ return '';
497
+ }
498
+
499
+ if (defined('DISABLE_WP_CRON') && DISABLE_WP_CRON == true) {
500
+ $this->removeOldFiles();
501
+ }
502
+
503
+ $t = time();
504
+ $captchaData = array();
505
+ $chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
506
+ $randomString = '';
507
+ $prefix = '';
508
+ for ($i = 0; $i < WpdiscuzCore::CAPTCHA_LENGTH; $i++) {
509
+ $randomString .= $chars[rand(0, strlen($chars) - 1)];
510
+ $prefix .= $chars[rand(0, strlen($chars) - 1)];
511
+ }
512
+ $this->captchaString = $randomString;
513
+ $filesPath = plugin_dir_path(__FILE__) . WPD_DS . 'captcha' . WPD_DS;
514
+ $im = @imagecreatefrompng($filesPath . 'captcha_bg_easy.png');
515
+ $fontPath = $filesPath . 'consolai.ttf';
516
+
517
+ $size = 16;
518
+ $angle = 0;
519
+ $x = 5;
520
+ $y = 20;
521
+ for ($i = 0; $i < strlen($randomString); $i++) {
522
+ $color = imagecolorallocate($im, rand(0, 255), 0, rand(0, 255));
523
+ $letter = substr($randomString, $i, 1);
524
+ imagettftext($im, $size, $angle, $x, $y, $color, $fontPath, $letter);
525
+ $x += 13;
526
+ }
527
+
528
+ for ($i = 0; $i < 5; $i++) {
529
+ $color = imagecolorallocate($im, rand(0, 255), rand(0, 200), rand(0, 255));
530
+ imageline($im, rand(0, 20), rand(1, 50), rand(150, 180), rand(1, 50), $color);
531
+ }
532
+ $fileName = $prefix . '-' . $t . '.png';
533
+ $filePath = $this->captchaDir . WPD_DS . $fileName;
534
+ imagepng($im, $filePath, 0);
535
+ imagedestroy($im);
536
+ @chmod($filePath, 0444);
537
+ $key = $this->createAnswer($prefix, $t);
538
+ $captchaData['captcha'] = $fileName;
539
+ $captchaData['key'] = $prefix . $key;
540
+ return $captchaData;
541
+ }
542
+
543
+ private function createAnswer($prefix, $t) {
544
+ $key = '';
545
+ $dir = trailingslashit($this->captchaDir);
546
+ $answerFileName = $prefix . '-' . $t . '.txt';
547
+ $answerFile = $dir . WPD_DS . $answerFileName;
548
+
549
+ if ($fh = @fopen($answerFile, 'w')) {
550
+ $loweredString = strtolower($this->captchaString);
551
+ $key = hash_hmac('sha256', $loweredString, time() . '');
552
+ $hash = hash_hmac('sha256', $loweredString, $key);
553
+ fwrite($fh, $key . '=' . $hash);
554
+ fclose($fh);
555
+ }
556
+ @chmod($answerFile, 0440);
557
+ return $key;
558
+ }
559
+
560
+ public function checkCaptcha($key, $fileName, $captcha) {
561
+ if (!$key || !$fileName || !$captcha) {
562
+ return false;
563
+ }
564
+ $captcha = strtolower($captcha);
565
+ $file = $fileName . '.txt';
566
+ $filePath = $this->captchaDir . WPD_DS . $file;
567
+ $parts = explode('=', file_get_contents($filePath));
568
+ $tKey = $parts[0];
569
+ $tAnswer = $parts[1];
570
+ return is_readable($filePath) && $tKey == $key && hash_hmac('sha256', $captcha, $key) == $tAnswer;
571
+ }
572
+
573
+ public function scheduleTask() {
574
+ $timestamp = wp_next_scheduled('wpdiscuzRemoveOldFiles');
575
+ if ($timestamp == false) {
576
+ wp_schedule_event(time(), 'hourly', 'wpdiscuzRemoveOldFiles');
577
+ }
578
+ }
579
+
580
+ public function unScheduleTask() {
581
+ wp_clear_scheduled_hook('wpdiscuzRemoveOldFiles');
582
+ if ($this->captchaDir && @chmod($this->captchaDir, 0777)) {
583
+ if (!unlink($this->captchaDir)) {
584
+ $this->removeOldFiles();
585
+ }
586
+ }
587
+ }
588
+
589
+ public function removeOldFiles() {
590
+ $files = scandir($this->captchaDir);
591
+ foreach ($files as $file) {
592
+ if ($file != '.' && $file != '..' && $file != '.htaccess') {
593
+ $fileName = $this->captchaDir . WPD_DS . $file;
594
+ $fData = stat($fileName);
595
+ if (is_file($fileName) && $fData) {
596
+ $expired = $fData['mtime'] + (60 * 60 + 1000);
597
+ if ($expired < time() && @chmod($fileName, 0777)) {
598
+ if (!unlink($fileName)) {
599
+ @chmod($fileName, 0440);
600
+ }
601
+ }
602
+ }
603
+ }
604
+ }
605
+ }
606
+
607
+ public function createTempDir() {
608
+ if (!wp_mkdir_p($this->captchaDir)) {
609
+ return false;
610
+ }
611
+
612
+ $htaccessFile = $this->captchaDir . WPD_DS . '.htaccess';
613
+ if (file_exists($htaccessFile)) {
614
+ return true;
615
+ }
616
+
617
+ if ($handle = @fopen($htaccessFile, 'w')) {
618
+ fwrite($handle, 'Order deny,allow' . "\n");
619
+ fwrite($handle, 'Deny from all' . "\n");
620
+ fwrite($handle, '<Files ~ "^[0-9A-Za-z_\\-]+\\.(png)$">' . "\n");
621
+ fwrite($handle, ' Allow from all' . "\n");
622
+ fwrite($handle, '</Files>' . "\n");
623
+ fclose($handle);
624
+ }
625
+ return true;
626
+ }
627
+
628
+ /**
629
+ * check if the captcha field show or not
630
+ * @return type boolean
631
+ */
632
+ public function isShowCaptcha($isUserLoggedIn) {
633
+ return ($isUserLoggedIn && $this->optionsSerialized->captchaShowHideForMembers) || (!$isUserLoggedIn && !$this->optionsSerialized->captchaShowHide);
634
+ }
635
+
636
  }
637
 
utils/index.html ADDED
File without changes
utils/interface.WpDiscuzConstants.php CHANGED
@@ -6,13 +6,11 @@ interface WpDiscuzConstants {
6
  const OPTION_SLUG_VERSION = 'wc_plugin_version';
7
  const META_KEY_CHILDREN = 'wpdiscuz_child_ids';
8
  const META_KEY_VOTES = 'wpdiscuz_votes';
9
- const JS_MAIN_FORM_TIME_OUT = 30;
10
- const JS_SECONDARY_FORM_TIME_OUT = 15;
11
- const LOAD_ACTION_DEFAULT = 0;
12
- const LOAD_ACTION_REST = 1;
13
- const LOAD_ACTION_VOTE = 2;
14
  const SUBSCRIPTION_POST = 'post';
15
  const SUBSCRIPTION_ALL_COMMENT = 'all_comment';
16
  const SUBSCRIPTION_COMMENT = 'comment';
 
 
 
17
 
18
  }
6
  const OPTION_SLUG_VERSION = 'wc_plugin_version';
7
  const META_KEY_CHILDREN = 'wpdiscuz_child_ids';
8
  const META_KEY_VOTES = 'wpdiscuz_votes';
 
 
 
 
 
9
  const SUBSCRIPTION_POST = 'post';
10
  const SUBSCRIPTION_ALL_COMMENT = 'all_comment';
11
  const SUBSCRIPTION_COMMENT = 'comment';
12
+ const CAPTCHA_LENGTH = 5;
13
+ const ACTION_FORM_NONCE = 'wpdiscuz_form_nonce_action';
14
+ const ACTION_CAPTCHA_NONCE = 'wpdiscuz_captcha_nonce_action';
15
 
16
  }