Comments – wpDiscuz - Version 5.0.0

Version Description

Download this release

Release Info

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

Code changes from version 4.1.4 to 5.0.0

Files changed (85) hide show
  1. assets/addons/private/header-off.png +0 -0
  2. assets/addons/private/header.png +0 -0
  3. assets/css/fonts/icomoon.eot +0 -0
  4. assets/css/fonts/icomoon.svg +52 -0
  5. assets/css/fonts/icomoon.ttf +0 -0
  6. assets/css/fonts/icomoon.woff +0 -0
  7. assets/css/fonts/index.html +0 -0
  8. assets/css/options.css +38 -18
  9. assets/css/wpdiscuz-deactivation.css +81 -0
  10. assets/css/wpdiscuz-rtl.css +504 -154
  11. assets/css/wpdiscuz.css +436 -333
  12. assets/img/dark.png +0 -0
  13. assets/img/demo-m.png +0 -0
  14. assets/img/demo.png +0 -0
  15. assets/js/wpdiscuz-deactivation.js +80 -0
  16. assets/js/wpdiscuz-options.js +39 -17
  17. assets/js/wpdiscuz.js +86 -38
  18. assets/third-party/easy-responsive-tabs/css/easy-responsive-tabs.min.css +1 -1
  19. assets/third-party/lity/lity.css +200 -0
  20. assets/third-party/lity/lity.js +638 -0
  21. assets/third-party/wpdcookiejs/js-cookie.js +165 -165
  22. class.WpdiscuzCore.php +246 -96
  23. forms/wpDiscuzForm.php +1 -1
  24. forms/wpdFormAttr/Field/DefaultField/Name.php +1 -1
  25. forms/wpdFormAttr/Field/DefaultField/Submit.php +52 -20
  26. forms/wpdFormAttr/Form.php +21 -12
  27. includes/class.WpdiscuzCss.php +96 -12
  28. languages/wpdiscuz.pot +2387 -2387
  29. manager/class.WpdiscuzDBManager.php +38 -73
  30. options/addons/al/content.php +291 -0
  31. options/addons/al/index.html +0 -0
  32. options/addons/al/title.php +9 -0
  33. options/addons/cai/content.php +268 -0
  34. options/addons/cai/index.html +0 -0
  35. options/addons/cai/title.php +9 -0
  36. options/addons/fem/content.php +178 -0
  37. options/addons/fem/index.html +0 -0
  38. options/addons/fem/title.php +9 -0
  39. options/addons/images/embedded-content.png +0 -0
  40. options/addons/images/file.png +0 -0
  41. options/addons/images/html5-audio-player.png +0 -0
  42. options/addons/images/html5-video-player.png +0 -0
  43. options/addons/images/html5-youtub-player.png +0 -0
  44. options/addons/images/image.png +0 -0
  45. options/addons/images/index.html +0 -0
  46. options/addons/images/video.png +0 -0
  47. options/addons/more/content.php +45 -0
  48. options/addons/more/index.html +0 -0
  49. options/addons/more/title.php +6 -0
  50. options/addons/mu/content.php +206 -0
  51. options/addons/mu/index.html +0 -0
  52. options/addons/mu/title.php +9 -0
  53. options/addons/raf/content.php +216 -0
  54. options/addons/raf/index.html +0 -0
  55. options/addons/raf/title.php +9 -0
  56. options/addons/ucm/content.php +204 -0
  57. options/addons/ucm/index.html +0 -0
  58. options/addons/ucm/title.php +9 -0
  59. options/class.WpdiscuzOptions.php +15 -4
  60. options/class.WpdiscuzOptionsSerialized.php +48 -21
  61. options/html-options.php +12 -10
  62. options/options-layouts/settings-addons.php +43 -3
  63. options/options-layouts/settings-cache.php +14 -19
  64. options/options-layouts/settings-customfields.php +2 -2
  65. options/options-layouts/settings-form.php +133 -0
  66. options/options-layouts/settings-general.php +36 -132
  67. options/options-layouts/settings-integrations.php +1 -1
  68. options/options-layouts/settings-list.php +199 -0
  69. options/options-layouts/settings-live-update.php +49 -48
  70. options/options-layouts/settings-show-hide.php +0 -167
  71. options/options-layouts/settings-social.php +1 -1
  72. options/options-layouts/settings-style.php +69 -40
  73. options/options-layouts/settings-subscription.php +40 -23
  74. options/phrases-layouts/phrases-comment.php +21 -1
  75. options/phrases-layouts/phrases-form.php +10 -2
  76. readme.txt +82 -56
  77. templates/comment/class.WpdiscuzWalker.php +51 -27
  78. templates/comment/comment-form.php +88 -69
  79. utils/class.WpdiscuzCache.php +188 -171
  80. utils/class.WpdiscuzEmailHelper.php +17 -15
  81. utils/class.WpdiscuzHelper.php +28 -1
  82. utils/class.WpdiscuzHelperAjax.php +83 -0
  83. utils/deactivation-reason-modal.php +64 -0
  84. utils/functions.php +4 -0
  85. utils/interface.WpDiscuzConstants.php +8 -4
assets/addons/private/header-off.png ADDED
Binary file
assets/addons/private/header.png ADDED
Binary file
assets/css/fonts/icomoon.eot ADDED
Binary file
assets/css/fonts/icomoon.svg ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe900;" glyph-name="plus-circle" horiz-adv-x="878" d="M694.857 402.286v73.143c0 20-16.571 36.571-36.571 36.571h-146.286v146.286c0 20-16.571 36.571-36.571 36.571h-73.143c-20 0-36.571-16.571-36.571-36.571v-146.286h-146.286c-20 0-36.571-16.571-36.571-36.571v-73.143c0-20 16.571-36.571 36.571-36.571h146.286v-146.286c0-20 16.571-36.571 36.571-36.571h73.143c20 0 36.571 16.571 36.571 36.571v146.286h146.286c20 0 36.571 16.571 36.571 36.571zM877.714 438.857c0-242.286-196.571-438.857-438.857-438.857s-438.857 196.571-438.857 438.857 196.571 438.857 438.857 438.857 438.857-196.571 438.857-438.857z" />
11
+ <glyph unicode="&#xe901;" glyph-name="question-circle-o" horiz-adv-x="878" d="M502.857 265.143v-91.429c0-10.286-8-18.286-18.286-18.286h-91.429c-10.286 0-18.286 8-18.286 18.286v91.429c0 10.286 8 18.286 18.286 18.286h91.429c10.286 0 18.286-8 18.286-18.286zM649.143 548.571c0-81.143-56.571-113.143-98.286-136.571-29.714-17.143-48-28-48-46.286v-18.286c0-10.286-8-18.286-18.286-18.286h-91.429c-10.286 0-18.286 8-18.286 18.286v38.857c0 70.286 50.286 92.571 90.857 110.857 34.286 16 55.429 26.857 55.429 52.571 0 33.143-41.714 57.714-79.429 57.714-20 0-41.143-6.286-54.286-15.429-12.571-8.571-24.571-21.143-45.714-47.429-3.429-4.571-8.571-6.857-14.286-6.857-4 0-8 1.143-10.857 3.429l-61.714 46.857c-7.429 5.714-9.143 16.571-4 24.571 46.857 73.714 112.571 109.714 199.429 109.714v0c93.714 0 198.857-74.286 198.857-173.714zM438.857 804.571c-201.714 0-365.714-164-365.714-365.714s164-365.714 365.714-365.714 365.714 164 365.714 365.714-164 365.714-365.714 365.714zM877.714 438.857c0-242.286-196.571-438.857-438.857-438.857s-438.857 196.571-438.857 438.857 196.571 438.857 438.857 438.857v0c242.286 0 438.857-196.571 438.857-438.857z" />
12
+ <glyph unicode="&#xe902;" glyph-name="arrows" d="M1024 438.857c0-9.714-4-18.857-10.857-25.714l-146.286-146.286c-6.857-6.857-16-10.857-25.714-10.857-20 0-36.571 16.571-36.571 36.571v73.143h-219.429v-219.429h73.143c20 0 36.571-16.571 36.571-36.571 0-9.714-4-18.857-10.857-25.714l-146.286-146.286c-6.857-6.857-16-10.857-25.714-10.857s-18.857 4-25.714 10.857l-146.286 146.286c-6.857 6.857-10.857 16-10.857 25.714 0 20 16.571 36.571 36.571 36.571h73.143v219.429h-219.429v-73.143c0-20-16.571-36.571-36.571-36.571-9.714 0-18.857 4-25.714 10.857l-146.286 146.286c-6.857 6.857-10.857 16-10.857 25.714s4 18.857 10.857 25.714l146.286 146.286c6.857 6.857 16 10.857 25.714 10.857 20 0 36.571-16.571 36.571-36.571v-73.143h219.429v219.429h-73.143c-20 0-36.571 16.571-36.571 36.571 0 9.714 4 18.857 10.857 25.714l146.286 146.286c6.857 6.857 16 10.857 25.714 10.857s18.857-4 25.714-10.857l146.286-146.286c6.857-6.857 10.857-16 10.857-25.714 0-20-16.571-36.571-36.571-36.571h-73.143v-219.429h219.429v73.143c0 20 16.571 36.571 36.571 36.571 9.714 0 18.857-4 25.714-10.857l146.286-146.286c6.857-6.857 10.857-16 10.857-25.714z" />
13
+ <glyph unicode="&#xe903;" glyph-name="columns" horiz-adv-x="951" d="M91.429 73.143h347.429v658.286h-365.714v-640c0-9.714 8.571-18.286 18.286-18.286zM877.714 91.428v640h-365.714v-658.286h347.429c9.714 0 18.286 8.571 18.286 18.286zM950.857 786.286v-694.857c0-50.286-41.143-91.429-91.429-91.429h-768c-50.286 0-91.429 41.143-91.429 91.429v694.857c0 50.286 41.143 91.429 91.429 91.429h768c50.286 0 91.429-41.143 91.429-91.429z" />
14
+ <glyph unicode="&#xe904;" glyph-name="trash" horiz-adv-x="805" d="M292.571 164.571v402.286c0 10.286-8 18.286-18.286 18.286h-36.571c-10.286 0-18.286-8-18.286-18.286v-402.286c0-10.286 8-18.286 18.286-18.286h36.571c10.286 0 18.286 8 18.286 18.286zM438.857 164.571v402.286c0 10.286-8 18.286-18.286 18.286h-36.571c-10.286 0-18.286-8-18.286-18.286v-402.286c0-10.286 8-18.286 18.286-18.286h36.571c10.286 0 18.286 8 18.286 18.286zM585.143 164.571v402.286c0 10.286-8 18.286-18.286 18.286h-36.571c-10.286 0-18.286-8-18.286-18.286v-402.286c0-10.286 8-18.286 18.286-18.286h36.571c10.286 0 18.286 8 18.286 18.286zM274.286 731.428h256l-27.429 66.857c-1.714 2.286-6.857 5.714-9.714 6.286h-181.143c-3.429-0.571-8-4-9.714-6.286zM804.571 713.143v-36.571c0-10.286-8-18.286-18.286-18.286h-54.857v-541.714c0-62.857-41.143-116.571-91.429-116.571h-475.429c-50.286 0-91.429 51.429-91.429 114.286v544h-54.857c-10.286 0-18.286 8-18.286 18.286v36.571c0 10.286 8 18.286 18.286 18.286h176.571l40 95.429c11.429 28 45.714 50.857 76 50.857h182.857c30.286 0 64.571-22.857 76-50.857l40-95.429h176.571c10.286 0 18.286-8 18.286-18.286z" />
15
+ <glyph unicode="&#xe905;" glyph-name="spinner" d="M300.571 154.286c0-40-32.571-73.143-73.143-73.143-40 0-73.143 33.143-73.143 73.143 0 40.571 33.143 73.143 73.143 73.143 40.571 0 73.143-32.571 73.143-73.143zM585.143 36.571c0-40.571-32.571-73.143-73.143-73.143s-73.143 32.571-73.143 73.143 32.571 73.143 73.143 73.143 73.143-32.571 73.143-73.143zM182.857 438.857c0-40.571-32.571-73.143-73.143-73.143s-73.143 32.571-73.143 73.143 32.571 73.143 73.143 73.143 73.143-32.571 73.143-73.143zM869.714 154.286c0-40-33.143-73.143-73.143-73.143-40.571 0-73.143 33.143-73.143 73.143 0 40.571 32.571 73.143 73.143 73.143 40 0 73.143-32.571 73.143-73.143zM318.857 723.428c0-50.286-41.143-91.429-91.429-91.429s-91.429 41.143-91.429 91.429 41.143 91.429 91.429 91.429 91.429-41.143 91.429-91.429zM987.429 438.857c0-40.571-32.571-73.143-73.143-73.143s-73.143 32.571-73.143 73.143 32.571 73.143 73.143 73.143 73.143-32.571 73.143-73.143zM621.714 841.143c0-60.571-49.143-109.714-109.714-109.714s-109.714 49.143-109.714 109.714 49.143 109.714 109.714 109.714 109.714-49.143 109.714-109.714zM924.571 723.428c0-70.857-57.714-128-128-128-70.857 0-128 57.143-128 128 0 70.286 57.143 128 128 128 70.286 0 128-57.714 128-128z" />
16
+ <glyph unicode="&#xe906;" glyph-name="angle-right" horiz-adv-x="347" d="M340 402.286c0-4.571-2.286-9.714-5.714-13.143l-266.286-266.286c-3.429-3.429-8.571-5.714-13.143-5.714s-9.714 2.286-13.143 5.714l-28.571 28.571c-3.429 3.429-5.714 8-5.714 13.143 0 4.571 2.286 9.714 5.714 13.143l224.571 224.571-224.571 224.571c-3.429 3.429-5.714 8.571-5.714 13.143s2.286 9.714 5.714 13.143l28.571 28.571c3.429 3.429 8.571 5.714 13.143 5.714s9.714-2.286 13.143-5.714l266.286-266.286c3.429-3.429 5.714-8.571 5.714-13.143z" />
17
+ <glyph unicode="&#xe907;" glyph-name="angle-left" horiz-adv-x="384" d="M358.286 640c0-4.571-2.286-9.714-5.714-13.143l-224.571-224.571 224.571-224.571c3.429-3.429 5.714-8.571 5.714-13.143s-2.286-9.714-5.714-13.143l-28.571-28.571c-3.429-3.429-8.571-5.714-13.143-5.714s-9.714 2.286-13.143 5.714l-266.286 266.286c-3.429 3.429-5.714 8.571-5.714 13.143s2.286 9.714 5.714 13.143l266.286 266.286c3.429 3.429 8.571 5.714 13.143 5.714s9.714-2.286 13.143-5.714l28.571-28.571c3.429-3.429 5.714-8 5.714-13.143z" />
18
+ <glyph unicode="&#xe908;" glyph-name="chevron-down" d="M961.714 489.143l-424-423.429c-14.286-14.286-37.143-14.286-51.429 0l-424 423.429c-14.286 14.286-14.286 37.714 0 52l94.857 94.286c14.286 14.286 37.143 14.286 51.429 0l303.429-303.429 303.429 303.429c14.286 14.286 37.143 14.286 51.429 0l94.857-94.286c14.286-14.286 14.286-37.714 0-52z" />
19
+ <glyph unicode="&#xe909;" glyph-name="chevron-up2" d="M961.714 190.286l-94.857-94.286c-14.286-14.286-37.143-14.286-51.429 0l-303.429 303.429-303.429-303.429c-14.286-14.286-37.143-14.286-51.429 0l-94.857 94.286c-14.286 14.286-14.286 37.714 0 52l424 423.429c14.286 14.286 37.143 14.286 51.429 0l424-423.429c14.286-14.286 14.286-37.714 0-52z" />
20
+ <glyph unicode="&#xe90a;" glyph-name="chevron-up" d="M961.714 190.286l-94.857-94.286c-14.286-14.286-37.143-14.286-51.429 0l-303.429 303.429-303.429-303.429c-14.286-14.286-37.143-14.286-51.429 0l-94.857 94.286c-14.286 14.286-14.286 37.714 0 52l424 423.429c14.286 14.286 37.143 14.286 51.429 0l424-423.429c14.286-14.286 14.286-37.714 0-52z" />
21
+ <glyph unicode="&#xe90b;" glyph-name="clock-o" horiz-adv-x="878" d="M512 640v-256c0-10.286-8-18.286-18.286-18.286h-182.857c-10.286 0-18.286 8-18.286 18.286v36.571c0 10.286 8 18.286 18.286 18.286h128v201.143c0 10.286 8 18.286 18.286 18.286h36.571c10.286 0 18.286-8 18.286-18.286zM749.714 438.857c0 171.429-139.429 310.857-310.857 310.857s-310.857-139.429-310.857-310.857 139.429-310.857 310.857-310.857 310.857 139.429 310.857 310.857zM877.714 438.857c0-242.286-196.571-438.857-438.857-438.857s-438.857 196.571-438.857 438.857 196.571 438.857 438.857 438.857 438.857-196.571 438.857-438.857z" />
22
+ <glyph unicode="&#xe90c;" glyph-name="ban" horiz-adv-x="878" d="M749.714 440.571c0 62.286-18.286 120-49.714 168.571l-430.857-430.286c49.143-32 107.429-50.857 169.714-50.857 171.429 0 310.857 140 310.857 312.571zM178.857 269.714l431.429 430.857c-49.143 33.143-108 52-171.429 52-171.429 0-310.857-140-310.857-312 0-63.429 18.857-121.714 50.857-170.857zM877.714 440.571c0-243.429-196.571-440.571-438.857-440.571s-438.857 197.143-438.857 440.571c0 242.857 196.571 440 438.857 440s438.857-197.143 438.857-440z" />
23
+ <glyph unicode="&#xe90d;" glyph-name="pencil" horiz-adv-x="866" d="M207.429 73.143l52 52-134.286 134.286-52-52v-61.143h73.143v-73.143h61.143zM506.286 603.428c0 7.429-5.143 12.571-12.571 12.571-3.429 0-6.857-1.143-9.714-4l-309.714-309.714c-2.857-2.857-4-6.286-4-9.714 0-7.429 5.143-12.571 12.571-12.571 3.429 0 6.857 1.143 9.714 4l309.714 309.714c2.857 2.857 4 6.286 4 9.714zM475.429 713.143l237.714-237.714-475.429-475.429h-237.714v237.714zM865.714 658.286c0-19.429-8-38.286-21.143-51.429l-94.857-94.857-237.714 237.714 94.857 94.286c13.143 13.714 32 21.714 51.429 21.714s38.286-8 52-21.714l134.286-133.714c13.143-13.714 21.143-32.571 21.143-52z" />
24
+ <glyph unicode="&#xe90e;" glyph-name="mail-reply, reply" d="M1024 310.857c0-80-40-184.571-72.571-257.714-6.286-13.143-12.571-31.429-21.143-43.429-4-5.714-8-9.714-16-9.714-11.429 0-18.286 9.143-18.286 20 0 9.143 2.286 19.429 2.857 28.571 1.714 23.429 2.857 46.857 2.857 70.286 0 272.571-161.714 320-408 320h-128v-146.286c0-20-16.571-36.571-36.571-36.571-9.714 0-18.857 4-25.714 10.857l-292.571 292.571c-6.857 6.857-10.857 16-10.857 25.714s4 18.857 10.857 25.714l292.571 292.571c6.857 6.857 16 10.857 25.714 10.857 20 0 36.571-16.571 36.571-36.571v-146.286h128c187.429 0 420.571-33.143 500-230.286 24-60.571 30.286-126.286 30.286-190.286z" />
25
+ <glyph unicode="&#xe90f;" glyph-name="thumbs-down" horiz-adv-x="914" d="M146.286 621.714c0-20-16.571-36.571-36.571-36.571-20.571 0-36.571 16.571-36.571 36.571 0 20.571 16 36.571 36.571 36.571 20 0 36.571-16 36.571-36.571zM237.714 329.143v365.714c0 20-16.571 36.571-36.571 36.571h-164.571c-20 0-36.571-16.571-36.571-36.571v-365.714c0-20 16.571-36.571 36.571-36.571h164.571c20 0 36.571 16.571 36.571 36.571zM882.857 414.286c19.429-21.714 31.429-54.857 31.429-85.143-0.571-59.429-50.286-109.714-109.714-109.714h-158.286c4.571-18.286 10.286-24 16.571-36.571 14.857-29.714 32-62.857 32-109.714 0-44 0-146.286-128-146.286-9.714 0-18.857 4-25.714 10.857-24.571 24-31.429 59.429-37.714 93.143-6.857 33.143-13.143 67.429-35.429 89.714-17.714 17.714-37.143 42.286-57.714 68.571-25.143 33.143-80 101.143-101.143 102.857-18.857 1.714-34.857 17.714-34.857 36.571v366.286c0 20 17.143 36 36.571 36.571 20 0.571 54.286 12.571 90.286 25.143 61.714 21.143 138.857 48 220.571 48h73.714c50.286-0.571 88-15.429 112.571-44.571 21.714-25.714 31.429-60.571 28-103.429 14.286-13.714 25.143-32.571 30.857-53.714 6.286-22.857 6.286-45.714 0-66.857 17.143-22.857 25.714-49.714 24.571-78.286 0-8-2.286-25.143-8.571-43.429z" />
26
+ <glyph unicode="&#xe910;" glyph-name="thumbs-up" horiz-adv-x="914" d="M146.286 182.857c0 20-16.571 36.571-36.571 36.571-20.571 0-36.571-16.571-36.571-36.571 0-20.571 16-36.571 36.571-36.571 20 0 36.571 16 36.571 36.571zM237.714 475.428v-365.714c0-20-16.571-36.571-36.571-36.571h-164.571c-20 0-36.571 16.571-36.571 36.571v365.714c0 20 16.571 36.571 36.571 36.571h164.571c20 0 36.571-16.571 36.571-36.571zM914.286 475.428c0-30.286-12-62.857-31.429-85.143 6.286-18.286 8.571-35.429 8.571-43.429 1.143-28.571-7.429-55.429-24.571-78.286 6.286-21.143 6.286-44 0-66.857-5.714-21.143-16.571-40-30.857-53.714 3.429-42.857-6.286-77.714-28-103.429-24.571-29.143-62.286-44-112.571-44.571h-73.714c-81.714 0-158.857 26.857-220.571 48-36 12.571-70.286 24.571-90.286 25.143-19.429 0.571-36.571 16.571-36.571 36.571v366.286c0 18.857 16 34.857 34.857 36.571 21.143 1.714 76 69.714 101.143 102.857 20.571 26.286 40 50.857 57.714 68.571 22.286 22.286 28.571 56.571 35.429 89.714 6.286 33.714 13.143 69.143 37.714 93.143 6.857 6.857 16 10.857 25.714 10.857 128 0 128-102.286 128-146.286 0-46.857-16.571-80-32-109.714-6.286-12.571-12-18.286-16.571-36.571h158.286c59.429 0 109.714-50.286 109.714-109.714z" />
27
+ <glyph unicode="&#xe911;" glyph-name="chain, link" horiz-adv-x="951" d="M832 256c0 14.857-5.714 28.571-16 38.857l-118.857 118.857c-10.286 10.286-24.571 16-38.857 16-16.571 0-29.714-6.286-41.143-18.286 18.857-18.857 41.143-34.857 41.143-64 0-30.286-24.571-54.857-54.857-54.857-29.143 0-45.143 22.286-64 41.143-12-11.429-18.857-24.571-18.857-41.714 0-14.286 5.714-28.571 16-38.857l117.714-118.286c10.286-10.286 24.571-15.429 38.857-15.429s28.571 5.143 38.857 14.857l84 83.429c10.286 10.286 16 24 16 38.286zM430.286 658.857c0 14.286-5.714 28.571-16 38.857l-117.714 118.286c-10.286 10.286-24.571 16-38.857 16s-28.571-5.714-38.857-15.429l-84-83.429c-10.286-10.286-16-24-16-38.286 0-14.857 5.714-28.571 16-38.857l118.857-118.857c10.286-10.286 24.571-15.429 38.857-15.429 16.571 0 29.714 5.714 41.143 17.714-18.857 18.857-41.143 34.857-41.143 64 0 30.286 24.571 54.857 54.857 54.857 29.143 0 45.143-22.286 64-41.143 12 11.429 18.857 24.571 18.857 41.714zM941.714 256c0-43.429-17.714-85.714-48.571-116l-84-83.429c-30.857-30.857-72.571-47.429-116-47.429-44 0-85.714 17.143-116.571 48.571l-117.714 118.286c-30.857 30.857-47.429 72.571-47.429 116 0 45.143 18.286 88 50.286 119.429l-50.286 50.286c-31.429-32-73.714-50.286-118.857-50.286-43.429 0-85.714 17.143-116.571 48l-118.857 118.857c-31.429 31.429-48 72.571-48 116.571 0 43.429 17.714 85.714 48.571 116l84 83.429c30.857 30.857 72.571 47.429 116 47.429 44 0 85.714-17.143 116.571-48.571l117.714-118.286c30.857-30.857 47.429-72.571 47.429-116 0-45.143-18.286-88-50.286-119.429l50.286-50.286c31.429 32 73.714 50.286 118.857 50.286 43.429 0 85.714-17.143 116.571-48l118.857-118.857c31.429-31.429 48-72.571 48-116.571z" />
28
+ <glyph unicode="&#xe912;" glyph-name="odnoklassniki" horiz-adv-x="731" d="M365.714 432.571c-142.857 0-259.429 116-259.429 258.857 0 143.429 116.571 259.429 259.429 259.429s259.429-116 259.429-259.429c0-142.857-116.571-258.857-259.429-258.857zM365.714 819.428c-70.286 0-127.429-57.143-127.429-128 0-70.286 57.143-127.429 127.429-127.429s127.429 57.143 127.429 127.429c0 70.857-57.143 128-127.429 128zM664.571 401.143c25.143-51.429-3.429-76-68.571-118.286-54.857-34.857-130.286-48.571-180-53.714l41.714-41.143 152.571-152.571c22.857-23.429 22.857-61.143 0-84l-6.857-7.429c-23.429-22.857-61.143-22.857-84.571 0-38.286 38.857-94.286 94.857-152.571 153.143l-152.571-153.143c-23.429-22.857-61.143-22.857-84 0l-6.857 7.429c-23.429 22.857-23.429 60.571 0 84 38.857 38.857 94.286 94.857 152.571 152.571l41.143 41.143c-49.143 5.143-125.714 18.286-181.143 53.714-65.143 42.286-93.714 66.857-68.571 118.286 14.857 29.143 55.429 53.714 109.143 11.429 0 0 72.571-57.714 189.714-57.714s189.714 57.714 189.714 57.714c53.714 42.286 94.286 17.714 109.143-11.429z" />
29
+ <glyph unicode="&#xe913;" glyph-name="vk" horiz-adv-x="1119" d="M1095.429 653.714c8.571-23.429-18.286-78.286-85.714-168-110.857-147.429-122.857-133.714-31.429-218.857 88-81.714 106.286-121.143 109.143-126.286 0 0 36.571-64-40.571-64.571l-146.286-2.286c-31.429-6.286-73.143 22.286-73.143 22.286-54.857 37.714-106.286 135.429-146.286 122.857 0 0-41.143-13.143-40-101.143 0.571-18.857-8.571-29.143-8.571-29.143s-10.286-10.857-30.286-12.571h-65.714c-144.571-9.143-272 124-272 124s-139.429 144-261.714 431.429c-8 18.857 0.571 28 0.571 28s8.571 10.857 32.571 10.857l156.571 1.143c14.857-2.286 25.143-10.286 25.143-10.286s9.143-6.286 13.714-18.286c25.714-64 58.857-122.286 58.857-122.286 57.143-117.714 96-137.714 118.286-125.714 0 0 29.143 17.714 22.857 160-2.286 51.429-16.571 74.857-16.571 74.857-13.143 17.714-37.714 22.857-48.571 24.571-8.571 1.143 5.714 21.714 24.571 30.857 28 13.714 77.714 14.286 136.571 13.714 46.286-0.571 59.429-3.429 77.143-7.429 54.286-13.143 36-63.429 36-184.571 0-38.857-7.429-93.143 20.571-110.857 12-8 41.714-1.143 114.857 123.429 0 0 34.286 59.429 61.143 128.571 4.571 12.571 14.286 17.714 14.286 17.714s9.143 5.143 21.714 3.429l164.571 1.143c49.714 6.286 57.714-16.571 57.714-16.571z" />
30
+ <glyph unicode="&#xe914;" glyph-name="google" horiz-adv-x="860" d="M438.857 501.714h414.286c4-22.286 6.857-44 6.857-73.143 0-250.286-168-428.571-421.143-428.571-242.857 0-438.857 196-438.857 438.857s196 438.857 438.857 438.857c118.286 0 217.714-43.429 294.286-114.857l-119.429-114.857c-32.571 31.429-89.714 68-174.857 68-149.714 0-272-124-272-277.143s122.286-277.143 272-277.143c173.714 0 238.857 124.571 249.143 189.143h-249.143v150.857z" />
31
+ <glyph unicode="&#xe915;" glyph-name="twitter" horiz-adv-x="951" d="M925.714 717.714c-25.143-36.571-56.571-69.143-92.571-95.429 0.571-8 0.571-16 0.571-24 0-244-185.714-525.143-525.143-525.143-104.571 0-201.714 30.286-283.429 82.857 14.857-1.714 29.143-2.286 44.571-2.286 86.286 0 165.714 29.143 229.143 78.857-81.143 1.714-149.143 54.857-172.571 128 11.429-1.714 22.857-2.857 34.857-2.857 16.571 0 33.143 2.286 48.571 6.286-84.571 17.143-148 91.429-148 181.143v2.286c24.571-13.714 53.143-22.286 83.429-23.429-49.714 33.143-82.286 89.714-82.286 153.714 0 34.286 9.143 65.714 25.143 93.143 90.857-112 227.429-185.143 380.571-193.143-2.857 13.714-4.571 28-4.571 42.286 0 101.714 82.286 184.571 184.571 184.571 53.143 0 101.143-22.286 134.857-58.286 41.714 8 81.714 23.429 117.143 44.571-13.714-42.857-42.857-78.857-81.143-101.714 37.143 4 73.143 14.286 106.286 28.571z" />
32
+ <glyph unicode="&#xe916;" glyph-name="facebook-official" horiz-adv-x="878" d="M829.143 877.714c26.857 0 48.571-21.714 48.571-48.571v-780.571c0-26.857-21.714-48.571-48.571-48.571h-223.429v340h113.714l17.143 132.571h-130.857v84.571c0 38.286 10.286 64 65.714 64l69.714 0.571v118.286c-12 1.714-53.714 5.143-101.714 5.143-101.143 0-170.857-61.714-170.857-174.857v-97.714h-114.286v-132.571h114.286v-340h-420c-26.857 0-48.571 21.714-48.571 48.571v780.571c0 26.857 21.714 48.571 48.571 48.571h780.571z" />
33
+ <glyph unicode="&#xe917;" glyph-name="facebook, facebook-f" horiz-adv-x="602" d="M548 944v-150.857h-89.714c-70.286 0-83.429-33.714-83.429-82.286v-108h167.429l-22.286-169.143h-145.143v-433.714h-174.857v433.714h-145.714v169.143h145.714v124.571c0 144.571 88.571 223.429 217.714 223.429 61.714 0 114.857-4.571 130.286-6.857z" />
34
+ <glyph unicode="&#xe918;" glyph-name="share-alt" horiz-adv-x="878" d="M694.857 365.714c101.143 0 182.857-81.714 182.857-182.857s-81.714-182.857-182.857-182.857-182.857 81.714-182.857 182.857c0 6.286 0.571 13.143 1.143 19.429l-205.714 102.857c-32.571-30.286-76.571-49.143-124.571-49.143-101.143 0-182.857 81.714-182.857 182.857s81.714 182.857 182.857 182.857c48 0 92-18.857 124.571-49.143l205.714 102.857c-0.571 6.286-1.143 13.143-1.143 19.429 0 101.143 81.714 182.857 182.857 182.857s182.857-81.714 182.857-182.857-81.714-182.857-182.857-182.857c-48 0-92 18.857-124.571 49.143l-205.714-102.857c0.571-6.286 1.143-13.143 1.143-19.429s-0.571-13.143-1.143-19.429l205.714-102.857c32.571 30.286 76.571 49.143 124.571 49.143z" />
35
+ <glyph unicode="&#xe919;" glyph-name="exclamation-triangle, warning" d="M585.143 165.143v108.571c0 10.286-8 18.857-18.286 18.857h-109.714c-10.286 0-18.286-8.571-18.286-18.857v-108.571c0-10.286 8-18.857 18.286-18.857h109.714c10.286 0 18.286 8.571 18.286 18.857zM584 378.857l10.286 262.286c0 3.429-1.714 8-5.714 10.857-3.429 2.857-8.571 6.286-13.714 6.286h-125.714c-5.143 0-10.286-3.429-13.714-6.286-4-2.857-5.714-8.571-5.714-12l9.714-261.143c0-7.429 8.571-13.143 19.429-13.143h105.714c10.286 0 18.857 5.714 19.429 13.143zM576 912.571l438.857-804.571c12.571-22.286 12-49.714-1.143-72s-37.143-36-62.857-36h-877.714c-25.714 0-49.714 13.714-62.857 36s-13.714 49.714-1.143 72l438.857 804.571c12.571 23.429 37.143 38.286 64 38.286s51.429-14.857 64-38.286z" />
36
+ <glyph unicode="&#xe91a;" glyph-name="search" horiz-adv-x="951" d="M658.286 475.428c0 141.143-114.857 256-256 256s-256-114.857-256-256 114.857-256 256-256 256 114.857 256 256zM950.857 0c0-40-33.143-73.143-73.143-73.143-19.429 0-38.286 8-51.429 21.714l-196 195.429c-66.857-46.286-146.857-70.857-228-70.857-222.286 0-402.286 180-402.286 402.286s180 402.286 402.286 402.286 402.286-180 402.286-402.286c0-81.143-24.571-161.143-70.857-228l196-196c13.143-13.143 21.143-32 21.143-51.429z" />
37
+ <glyph unicode="&#xe91b;" glyph-name="close, remove, times" horiz-adv-x="805" d="M741.714 195.428c0-14.286-5.714-28.571-16-38.857l-77.714-77.714c-10.286-10.286-24.571-16-38.857-16s-28.571 5.714-38.857 16l-168 168-168-168c-10.286-10.286-24.571-16-38.857-16s-28.571 5.714-38.857 16l-77.714 77.714c-10.286 10.286-16 24.571-16 38.857s5.714 28.571 16 38.857l168 168-168 168c-10.286 10.286-16 24.571-16 38.857s5.714 28.571 16 38.857l77.714 77.714c10.286 10.286 24.571 16 38.857 16s28.571-5.714 38.857-16l168-168 168 168c10.286 10.286 24.571 16 38.857 16s28.571-5.714 38.857-16l77.714-77.714c10.286-10.286 16-24.571 16-38.857s-5.714-28.571-16-38.857l-168-168 168-168c10.286-10.286 16-24.571 16-38.857z" />
38
+ <glyph unicode="&#xe91c;" glyph-name="bars, navicon, reorder" horiz-adv-x="878" d="M877.714 182.857v-73.143c0-20-16.571-36.571-36.571-36.571h-804.571c-20 0-36.571 16.571-36.571 36.571v73.143c0 20 16.571 36.571 36.571 36.571h804.571c20 0 36.571-16.571 36.571-36.571zM877.714 475.428v-73.143c0-20-16.571-36.571-36.571-36.571h-804.571c-20 0-36.571 16.571-36.571 36.571v73.143c0 20 16.571 36.571 36.571 36.571h804.571c20 0 36.571-16.571 36.571-36.571zM877.714 768v-73.143c0-20-16.571-36.571-36.571-36.571h-804.571c-20 0-36.571 16.571-36.571 36.571v73.143c0 20 16.571 36.571 36.571 36.571h804.571c20 0 36.571-16.571 36.571-36.571z" />
39
+ <glyph unicode="&#xe91d;" glyph-name="long-arrow-up" horiz-adv-x="439" d="M437.143 669.143c-2.857-6.286-9.143-10.857-16.571-10.857h-128v-713.143c0-10.286-8-18.286-18.286-18.286h-109.714c-10.286 0-18.286 8-18.286 18.286v713.143h-128c-7.429 0-13.714 4-16.571 10.857s-1.714 14.286 2.857 20l200 219.429c3.429 3.429 8 5.714 13.143 5.714v0c5.143 0 10.286-2.286 13.714-5.714l202.857-219.429c4.571-5.714 5.714-13.143 2.857-20z" />
40
+ <glyph unicode="&#xe91e;" glyph-name="user-plus" horiz-adv-x="1170" d="M402.286 438.857c-121.143 0-219.429 98.286-219.429 219.429s98.286 219.429 219.429 219.429 219.429-98.286 219.429-219.429-98.286-219.429-219.429-219.429zM950.857 365.714h201.143c9.714 0 18.286-8.571 18.286-18.286v-109.714c0-9.714-8.571-18.286-18.286-18.286h-201.143v-201.143c0-9.714-8.571-18.286-18.286-18.286h-109.714c-9.714 0-18.286 8.571-18.286 18.286v201.143h-201.143c-9.714 0-18.286 8.571-18.286 18.286v109.714c0 9.714 8.571 18.286 18.286 18.286h201.143v201.143c0 9.714 8.571 18.286 18.286 18.286h109.714c9.714 0 18.286-8.571 18.286-18.286v-201.143zM530.286 237.714c0-40 33.143-73.143 73.143-73.143h146.286v-136c-28-20.571-63.429-28.571-97.714-28.571h-499.429c-91.429 0-152.571 54.857-152.571 148 0 129.143 30.286 327.429 197.714 327.429 9.143 0 15.429-4 22.286-9.714 56-42.857 110.286-69.714 182.286-69.714s126.286 26.857 182.286 69.714c6.857 5.714 13.143 9.714 22.286 9.714 48.571 0 91.429-18.286 124-54.857h-127.429c-40 0-73.143-33.143-73.143-73.143v-109.714z" />
41
+ <glyph unicode="&#xe91f;" glyph-name="sign-in" horiz-adv-x="878" d="M676.571 438.857c0-9.714-4-18.857-10.857-25.714l-310.857-310.857c-6.857-6.857-16-10.857-25.714-10.857-20 0-36.571 16.571-36.571 36.571v164.571h-256c-20 0-36.571 16.571-36.571 36.571v219.429c0 20 16.571 36.571 36.571 36.571h256v164.571c0 20 16.571 36.571 36.571 36.571 9.714 0 18.857-4 25.714-10.857l310.857-310.857c6.857-6.857 10.857-16 10.857-25.714zM877.714 640v-402.286c0-90.857-73.714-164.571-164.571-164.571h-182.857c-9.714 0-18.286 8.571-18.286 18.286 0 16-7.429 54.857 18.286 54.857h182.857c50.286 0 91.429 41.143 91.429 91.429v402.286c0 50.286-41.143 91.429-91.429 91.429h-164.571c-14.286 0-36.571-2.857-36.571 18.286 0 16-7.429 54.857 18.286 54.857h182.857c90.857 0 164.571-73.714 164.571-164.571z" />
42
+ <glyph unicode="&#xe920;" glyph-name="sign-out" horiz-adv-x="896" d="M365.714 128c0-16 7.429-54.857-18.286-54.857h-182.857c-90.857 0-164.571 73.714-164.571 164.571v402.286c0 90.857 73.714 164.571 164.571 164.571h182.857c9.714 0 18.286-8.571 18.286-18.286 0-16 7.429-54.857-18.286-54.857h-182.857c-50.286 0-91.429-41.143-91.429-91.429v-402.286c0-50.286 41.143-91.429 91.429-91.429h164.571c14.286 0 36.571 2.857 36.571-18.286zM896 438.857c0-9.714-4-18.857-10.857-25.714l-310.857-310.857c-6.857-6.857-16-10.857-25.714-10.857-20 0-36.571 16.571-36.571 36.571v164.571h-256c-20 0-36.571 16.571-36.571 36.571v219.429c0 20 16.571 36.571 36.571 36.571h256v164.571c0 20 16.571 36.571 36.571 36.571 9.714 0 18.857-4 25.714-10.857l310.857-310.857c6.857-6.857 10.857-16 10.857-25.714z" />
43
+ <glyph unicode="&#xe921;" glyph-name="user" horiz-adv-x="731" d="M731.429 151.428c0-83.429-54.857-151.429-121.714-151.429h-488c-66.857 0-121.714 68-121.714 151.429 0 150.286 37.143 324 186.857 324 46.286-45.143 109.143-73.143 178.857-73.143s132.571 28 178.857 73.143c149.714 0 186.857-173.714 186.857-324zM585.143 658.286c0-121.143-98.286-219.429-219.429-219.429s-219.429 98.286-219.429 219.429 98.286 219.429 219.429 219.429 219.429-98.286 219.429-219.429z" />
44
+ <glyph unicode="&#xe922;" glyph-name="at" horiz-adv-x="878" d="M555.429 508c0 82.286-42.857 131.429-114.857 131.429-94.857 0-196.571-94.286-196.571-246.857 0-85.143 42.286-133.714 116.571-133.714 114.857 0 194.857 131.429 194.857 249.143zM877.714 438.857c0-177.714-126.857-244.571-235.429-248-7.429 0-10.286-0.571-18.286-0.571-35.429 0-63.429 10.286-81.143 30.286-10.857 12.571-17.143 28.571-18.857 47.429-35.429-44.571-97.143-88-174.286-88-122.857 0-193.143 76-193.143 208.571 0 182.286 126.286 330.286 280.571 330.286 66.857 0 120.571-28.571 149.143-77.143l1.143 10.857 6.286 32c0.571 4.571 4.571 10.286 8.571 10.286h67.429c2.857 0 5.714-4 7.429-6.286 1.714-1.714 2.286-6.286 1.714-9.143l-68.571-350.857c-2.286-10.857-2.857-19.429-2.857-27.429 0-30.857 9.143-37.143 32.571-37.143 38.857 1.143 164.571 17.143 164.571 174.857 0 222.286-143.429 365.714-365.714 365.714-201.714 0-365.714-164-365.714-365.714s164-365.714 365.714-365.714c84 0 166.286 29.143 231.429 82.286 8 6.857 19.429 5.714 25.714-2.286l23.429-28c2.857-4 4.571-8.571 4-13.714-0.571-4.571-2.857-9.143-6.857-12.571-77.714-63.429-176.571-98.857-277.714-98.857-241.714 0-438.857 197.143-438.857 438.857s197.143 438.857 438.857 438.857c262.286 0 438.857-176.571 438.857-438.857z" />
45
+ <glyph unicode="&#xe923;" glyph-name="comments" d="M804.571 512c0-161.714-180-292.571-402.286-292.571-34.857 0-68.571 3.429-100.571 9.143-47.429-33.714-101.143-58.286-158.857-73.143-15.429-4-32-6.857-49.143-9.143h-1.714c-8.571 0-16.571 6.857-18.286 16.571v0c-2.286 10.857 5.143 17.714 11.429 25.143 22.286 25.143 47.429 47.429 66.857 94.857-92.571 53.714-152 136.571-152 229.143 0 161.714 180 292.571 402.286 292.571s402.286-130.857 402.286-292.571zM1024 365.714c0-93.143-59.429-175.429-152-229.143 19.429-47.429 44.571-69.714 66.857-94.857 6.286-7.429 13.714-14.286 11.429-25.143v0c-2.286-10.286-10.857-17.714-20-16.571-17.143 2.286-33.714 5.143-49.143 9.143-57.714 14.857-111.429 39.429-158.857 73.143-32-5.714-65.714-9.143-100.571-9.143-103.429 0-198.286 28.571-269.714 75.429 16.571-1.143 33.714-2.286 50.286-2.286 122.857 0 238.857 35.429 327.429 99.429 95.429 69.714 148 164 148 266.286 0 29.714-4.571 58.857-13.143 86.857 96.571-53.143 159.429-137.714 159.429-233.143z" />
46
+ <glyph unicode="&#xe924;" glyph-name="plus" horiz-adv-x="805" d="M804.571 530.286v-109.714c0-30.286-24.571-54.857-54.857-54.857h-237.714v-237.714c0-30.286-24.571-54.857-54.857-54.857h-109.714c-30.286 0-54.857 24.571-54.857 54.857v237.714h-237.714c-30.286 0-54.857 24.571-54.857 54.857v109.714c0 30.286 24.571 54.857 54.857 54.857h237.714v237.714c0 30.286 24.571 54.857 54.857 54.857h109.714c30.286 0 54.857-24.571 54.857-54.857v-237.714h237.714c30.286 0 54.857-24.571 54.857-54.857z" />
47
+ <glyph unicode="&#xe925;" glyph-name="circle" horiz-adv-x="878" d="M877.714 438.857c0-242.286-196.571-438.857-438.857-438.857s-438.857 196.571-438.857 438.857 196.571 438.857 438.857 438.857 438.857-196.571 438.857-438.857z" />
48
+ <glyph unicode="&#xe926;" glyph-name="youtube-play" d="M406.286 306.286l276.571 142.857-276.571 144.571v-287.429zM512 798.857c215.429 0 358.286-10.286 358.286-10.286 20-2.286 64-2.286 102.857-43.429 0 0 31.429-30.857 40.571-101.714 10.857-82.857 10.286-165.714 10.286-165.714v-77.714s0.571-82.857-10.286-165.714c-9.143-70.286-40.571-101.714-40.571-101.714-38.857-40.571-82.857-40.571-102.857-42.857 0 0-142.857-10.857-358.286-10.857v0c-266.286 2.286-348 10.286-348 10.286-22.857 4-74.286 2.857-113.143 43.429 0 0-31.429 31.429-40.571 101.714-10.857 82.857-10.286 165.714-10.286 165.714v77.714s-0.571 82.857 10.286 165.714c9.143 70.857 40.571 101.714 40.571 101.714 38.857 41.143 82.857 41.143 102.857 43.429 0 0 142.857 10.286 358.286 10.286v0z" />
49
+ <glyph unicode="&#xe927;" glyph-name="star-o" horiz-adv-x="951" d="M649.714 377.143l174.857 169.714-241.143 35.429-108 218.286-108-218.286-241.143-35.429 174.857-169.714-41.714-240.571 216 113.714 215.429-113.714zM950.857 581.143c0-10.286-7.429-20-14.857-27.429l-207.429-202.286 49.143-285.714c0.571-4 0.571-7.429 0.571-11.429 0-15.429-6.857-28.571-23.429-28.571-8 0-16 2.857-22.857 6.857l-256.571 134.857-256.571-134.857c-7.429-4-14.857-6.857-22.857-6.857-16.571 0-24 13.714-24 28.571 0 4 0.571 7.429 1.143 11.429l49.143 285.714-208 202.286c-6.857 7.429-14.286 17.143-14.286 27.429 0 17.143 17.714 24 32 26.286l286.857 41.714 128.571 260c5.143 10.857 14.857 23.429 28 23.429s22.857-12.571 28-23.429l128.571-260 286.857-41.714c13.714-2.286 32-9.143 32-26.286z" />
50
+ <glyph unicode="&#xe928;" glyph-name="star" horiz-adv-x="951" d="M950.857 581.143c0-10.286-7.429-20-14.857-27.429l-207.429-202.286 49.143-285.714c0.571-4 0.571-7.429 0.571-11.429 0-14.857-6.857-28.571-23.429-28.571-8 0-16 2.857-22.857 6.857l-256.571 134.857-256.571-134.857c-7.429-4-14.857-6.857-22.857-6.857-16.571 0-24 13.714-24 28.571 0 4 0.571 7.429 1.143 11.429l49.143 285.714-208 202.286c-6.857 7.429-14.286 17.143-14.286 27.429 0 17.143 17.714 24 32 26.286l286.857 41.714 128.571 260c5.143 10.857 14.857 23.429 28 23.429s22.857-12.571 28-23.429l128.571-260 286.857-41.714c13.714-2.286 32-9.143 32-26.286z" />
51
+ <glyph unicode="&#xe929;" glyph-name="fa, font-awesome" horiz-adv-x="899" d="M877.714 658.286v-479.429c0-17.714-11.429-30.857-28-35.429-61.143-18.286-129.714-29.714-193.143-29.714-85.714 0-158.286 33.714-253.143 33.714-70.286 0-142.857-11.429-211.429-27.429v-193.143h-91.429v781.714c-48 18.857-79.429 65.714-79.429 117.143 0 69.143 56 125.143 125.143 125.143s125.143-56 125.143-125.143c0-51.429-31.429-98.286-79.429-117.143v-38.857c64 14.857 130.286 25.143 196 25.143 37.714 0 75.429-2.857 113.143-8.571 49.143-7.429 98.857-24.571 149.143-24.571 31.429 0 63.429 4 94.286 10.286 23.429 4.571 77.143 22.857 96.571 22.857 20 0 36.571-16.571 36.571-36.571z" />
52
+ </font></defs></svg>
assets/css/fonts/icomoon.ttf ADDED
Binary file
assets/css/fonts/icomoon.woff ADDED
Binary file
assets/css/fonts/index.html ADDED
File without changes
assets/css/options.css CHANGED
@@ -1,3 +1,5 @@
 
 
1
  .wc-form tr:nth-child(even){background:#fff}.wc-form tr:nth-child(odd){background:#f9f9f9}.form-table.wc-form-table tr{background:transparent}.wpdiscuz_options_page .wc-phrases-settings-form input[type="text"],.wpdiscuz_options_page .wc-phrases-settings-form textarea{width:300px}.wpdiscuz_wrap { height: 50px;width: 100%;}.wpdiscuz_progressbar {height: 50px;text-align: center;background: #f00;width: 0;}
2
  .wpdiscuz-share-buttons {display: inline-block; width: 18px; height: 18px;}
3
  .wc-form input.wc_share_button {display: none;}
@@ -7,6 +9,38 @@
7
  .wc-form .wc-hidden {display: none;}
8
  .wc-form .resp-tabs-container.integrationsChild {margin-bottom: 5px;}
9
  .wc-form .wpdiscuz_export_options,.wc-form .wpdiscuz_import_options{width:100%;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
  /*addons*/
12
  #menu-comments ul > li:nth-child(3) a{ color:#25ACEA!important; text-shadow: 1px 1px 1px #000; }
@@ -21,25 +55,11 @@
21
  .wpdiscuz_addons_page .wpdiscuz-addon-block .addon-button{ margin-bottom:10px;}
22
  .wpdiscuz_addons_page .wpdiscuz-addon-block .note-installed { padding:10px 20px; background:#fff; border: 1px solid #ddd; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.04); color:#07B290; font-size:14px; margin-top:20px; }
23
 
24
- .wpdiscuz-rating {
25
- border: none;
26
- float: left;
27
- }
28
-
29
  .wpdiscuz-rating > input { display: none; }
30
- .wpdiscuz-rating > label:before {
31
- margin: 5px;
32
- font-size: 1.25em;
33
- }
34
-
35
- .wpdiscuz-rating > .half:before {
36
- position: absolute;
37
- }
38
-
39
- .wpdiscuz-rating > label {
40
- color: #ddd;
41
- float: right;
42
- }
43
 
44
  /***** CSS Magic to Highlight Stars on Hover *****/
45
 
1
+
2
+ .wc-form table.wp-list-table td, .wc-form table.wp-list-table th{ padding: 12px 5px;}
3
  .wc-form tr:nth-child(even){background:#fff}.wc-form tr:nth-child(odd){background:#f9f9f9}.form-table.wc-form-table tr{background:transparent}.wpdiscuz_options_page .wc-phrases-settings-form input[type="text"],.wpdiscuz_options_page .wc-phrases-settings-form textarea{width:300px}.wpdiscuz_wrap { height: 50px;width: 100%;}.wpdiscuz_progressbar {height: 50px;text-align: center;background: #f00;width: 0;}
4
  .wpdiscuz-share-buttons {display: inline-block; width: 18px; height: 18px;}
5
  .wc-form input.wc_share_button {display: none;}
9
  .wc-form .wc-hidden {display: none;}
10
  .wc-form .resp-tabs-container.integrationsChild {margin-bottom: 5px;}
11
  .wc-form .wpdiscuz_export_options,.wc-form .wpdiscuz_import_options{width:100%;}
12
+ .wc-form .wpdxb th label{margin: 1px 0px 5px 0px; padding: 0px; font-size: 14px; font-weight:bold; color: #333333; display: block;}
13
+ .wc-form .wpdxb th fieldset label{margin: 0px; padding: 0px 2px 5px 0px; font-size: 13px; font-weight:normal; color: #333333; display:inline-block;}
14
+ .wc-form .wpdxb th fieldset label span{display: inline-block; padding-left: 5px;}
15
+ .wc-form .wpdxb p.wpd-desc{font-size:13px; color:#666666; width:80%; padding:0px; margin:0px; line-height: 18px;}
16
+ .wc-form .wpdxb .wpd-subopt{float: left; min-width: 48%; margin:0px 1% 5px 0px;}
17
+ .wc-form h2.wpd-subtitle{padding: 20px 10px 18px 2px; margin: 0px; font-size: 23px; font-weight: normal;color: #10b493;}
18
+
19
+ .wc-form .wpdxb td input[type=checkbox]{ height: 0; width: 0; visibility: hidden; position: absolute;}
20
+ .wc-form .wpdxb td label { cursor: pointer; text-indent: -9999px; width: 50px; height: 20px; background: grey; display: block; border-radius: 30px; position: relative;border: 1px solid rgba(0, 0, 0, 0.1); -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, 0.1); -webkit-transition: all 0.1s ease-in-out; -moz-transition: all 0.1s ease-in-out; -ms-transition: all 0.1s ease-in-out; -o-transition: all 0.1s ease-in-out; transition: all 0.1s ease-in-out;}
21
+ .wc-form .wpdxb td label:after {content: ''; position: absolute; top: 4px; left: 5px; width: 12px; height: 12px; background: #fff; border-radius: 90px; transition: 0.3s;}
22
+ .wc-form .wpdxb td input:checked + label {background: #07B290;}
23
+ .wc-form .wpdxb td input:checked + label:after {left: calc(100% - 5px);transform: translateX(-100%);}
24
+ .wc-form .wpdxb td label:active:after {width: 12px;}
25
+
26
+ .wc-form .wpdxx input[type=checkbox]{ height: 0; width: 0; visibility: hidden; position: absolute;}
27
+ .wc-form .wpdxx label { cursor: pointer; text-indent: -9999px; width: 50px; height: 20px; background: grey; display: block; border-radius: 30px; position: relative;border: 1px solid rgba(0, 0, 0, 0.1); -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, 0.1); -webkit-transition: all 0.1s ease-in-out; -moz-transition: all 0.1s ease-in-out; -ms-transition: all 0.1s ease-in-out; -o-transition: all 0.1s ease-in-out; transition: all 0.1s ease-in-out;}
28
+ .wc-form .wpdxx label:after {content: ''; position: absolute; top: 4px; left: 5px; width: 12px; height: 12px; background: #fff; border-radius: 90px; transition: 0.3s;}
29
+ .wc-form .wpdxx input:checked + label {background: #07B290;}
30
+ .wc-form .wpdxx input:checked + label:after {left: calc(100% - 5px);transform: translateX(-100%);}
31
+ .wc-form .wpdxx label:active:after {width: 12px;}
32
+
33
+ .wc-form .wpdxb th .wpd-switch-field input { display: none;}
34
+ .wc-form .wpdxb th .wpd-switch-field label {float: left;}
35
+ .wc-form .wpdxb th .wpd-switch-field label {display: inline-block; line-height: 20px; min-width:90px; font-weight: normal; background-color: #e4e4e4;color:#333;font-size: 13px;text-align: center; text-shadow: none;padding: 2px 8px; border: 1px solid rgba(0, 0, 0, 0.2);-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);-webkit-transition: all 0.1s ease-in-out;-moz-transition: all 0.1s ease-in-out; -ms-transition: all 0.1s ease-in-out; -o-transition: all 0.1s ease-in-out;transition: all 0.1s ease-in-out;}
36
+ .wc-form .wpdxb th .wpd-switch-field label:hover {cursor: pointer;}
37
+ .wc-form .wpdxb th .wpd-switch-field input:checked + label {background-color: #07B290; -webkit-box-shadow: none; box-shadow: none; color:#fff;} /* #66DD8D */
38
+ .wc-form .wpdxb th .wpd-switch-field label:first-of-type {border-radius: 4px 0 0 4px;}
39
+ .wc-form .wpdxb th .wpd-switch-field label:last-of-type {border-radius: 0 4px 4px 0;}
40
+ .wc-form .widefat th input{ margin: 0px;}
41
+
42
+ .wpdiscuz_options_page .widefat a{color:#08a082;}
43
+ .wpdiscuz_options_page .widefat a:hover{color:#10b493;}
44
 
45
  /*addons*/
46
  #menu-comments ul > li:nth-child(3) a{ color:#25ACEA!important; text-shadow: 1px 1px 1px #000; }
55
  .wpdiscuz_addons_page .wpdiscuz-addon-block .addon-button{ margin-bottom:10px;}
56
  .wpdiscuz_addons_page .wpdiscuz-addon-block .note-installed { padding:10px 20px; background:#fff; border: 1px solid #ddd; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.04); color:#07B290; font-size:14px; margin-top:20px; }
57
 
58
+ .wpdiscuz-rating { border: none; float: left;}
 
 
 
 
59
  .wpdiscuz-rating > input { display: none; }
60
+ .wpdiscuz-rating > label:before { margin: 5px; font-size: 1.25em; }
61
+ .wpdiscuz-rating > .half:before { position: absolute; }
62
+ .wpdiscuz-rating > label { color: #ddd; float: right; }
 
 
 
 
 
 
 
 
 
 
63
 
64
  /***** CSS Magic to Highlight Stars on Hover *****/
65
 
assets/css/wpdiscuz-deactivation.css ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .wpdiscuz-hidden {display: none!important;}
2
+ .wpdiscuz-desc{font-size: 15px!important;}
3
+ .wpdiscuz-note{color: #C74A4A!important;}
4
+ .wpdiscuz-thankyou{font-size:15px;text-align:center;padding:20px 5%;margin:0;}
5
+ #wpdDeactivationReason {}
6
+ #wpdDeactivationReason .wpd-deactivation-reason-item {margin-bottom: 5px;}
7
+ #wpdDeactivationReason .wpd-deactivation-reason-item label {font-size: 14px;}
8
+ #wpdDeactivationReason .wpd-deactivation-reason-text-info {display: none;}
9
+ #wpdDeactivationReason .wpd-deactivation-reason-text-info textarea {width: 100%;margin-top: 10px;}
10
+ #wpdDeactivationReason .wpd-deactivation-reasons-actions {margin-top: 20px;text-align: center;}
11
+ #wpdDeactivationReason .wpd-loading {margin-left: 8px;}
12
+
13
+ /* fa */
14
+
15
+ @font-face {
16
+ font-family: 'icomoon';
17
+ src: url('fonts/icomoon.eot?jyfesq');
18
+ src: url('fonts/icomoon.eot?jyfesq#iefix') format('embedded-opentype'),
19
+ url('fonts/icomoon.ttf?jyfesq') format('truetype'),
20
+ url('fonts/icomoon.woff?jyfesq') format('woff'),
21
+ url('fonts/icomoon.svg?jyfesq#icomoon') format('svg');
22
+ font-weight: normal;
23
+ font-style: normal;
24
+ }
25
+
26
+ [class^="fa-"], [class*=" fa-"] {
27
+ /* use !important to prevent issues with browser extensions that change fonts */
28
+ font-family: 'icomoon' !important;
29
+ speak: none;
30
+ font-style: normal;
31
+ font-weight: normal;
32
+ font-variant: normal;
33
+ text-transform: none;
34
+ line-height: 1;
35
+
36
+ /* Better Font Rendering =========== */
37
+ -webkit-font-smoothing: antialiased;
38
+ -moz-osx-font-smoothing: grayscale;
39
+ }
40
+
41
+ .fa {
42
+ display: inline-block;
43
+ font: normal normal normal 14px/1 FontAwesome;
44
+ font-size: inherit;
45
+ text-rendering: auto;
46
+ -webkit-font-smoothing: antialiased;
47
+ -moz-osx-font-smoothing: grayscale;
48
+ }
49
+
50
+ .fa-spinner:before {
51
+ content: "\e905";
52
+ }
53
+
54
+ .fa-spin {
55
+ -webkit-animation: fa-spin 2s infinite linear;
56
+ animation: fa-spin 2s infinite linear;
57
+ }
58
+ .fa-pulse {
59
+ -webkit-animation: fa-spin 1s infinite steps(8);
60
+ animation: fa-spin 1s infinite steps(8);
61
+ }
62
+ @-webkit-keyframes fa-spin {
63
+ 0% {
64
+ -webkit-transform: rotate(0deg);
65
+ transform: rotate(0deg);
66
+ }
67
+ 100% {
68
+ -webkit-transform: rotate(359deg);
69
+ transform: rotate(359deg);
70
+ }
71
+ }
72
+ @keyframes fa-spin {
73
+ 0% {
74
+ -webkit-transform: rotate(0deg);
75
+ transform: rotate(0deg);
76
+ }
77
+ 100% {
78
+ -webkit-transform: rotate(359deg);
79
+ transform: rotate(359deg);
80
+ }
81
+ }
assets/css/wpdiscuz-rtl.css CHANGED
@@ -1,167 +1,517 @@
 
 
1
 
2
- #wpcomm .wc_new_comment_and_replies .wc_new_comment{float:left; margin:1px 3px 1px 0;}
3
- #wpcomm .wc_new_comment_and_replies .wc_new_reply{float:left; margin:1px 1px 1px 0;}
4
- #wpcomm .wc-field-comment .wc-field-avatararea{float:right}
5
- #wpcomm .wc-copyright{margin:0 auto 0 0;}
6
-
7
- #wpcomm .wc-comment .wc-comment-left{float:right;}
8
- #wpcomm .wc-comment .wc-comment-right{margin-right:74px;}
9
- #wpcomm .wc-reply .wc-comment-right{margin-right:74px;}
10
- #wpcomm .wc-reply{margin-right:55px}
11
- #wpcomm .wc-comment-text{text-align:right;}
12
- #wpcomm .wc-comment-author{float:right;text-align:right; padding:6px 15px 2px 0px;}
13
- #wpcomm .wc-comment-date{text-align:right;}
14
- #wpcomm .wc-comment-date i{ padding-left:5px; }
15
- #wpcomm .wpdiscuz-children {padding-right:5px; }
16
- #wpcomm .wc-toggle i.fa-chevron-down{padding-right:5px;}
17
- #wpcomm .wc-toggle i.fa-chevron-up{padding-right:5px;}
18
-
19
- #wpcomm .wc-comment-footer{padding:5px 10px 10px 10px; text-align:right}
20
- #wpcomm .wc-comment-footer .wc-vote-result.wc-vote-result-like{border-left:none; margin-right:1px;}
21
- #wpcomm .wc-comment-footer .wc-vote-result.wc-positive{border-left:none; margin-right:2px;}
22
- #wpcomm .wc-comment-footer .wc-vote-result.wc-vote-result-dislike{ margin-left:1px;}
23
-
24
- #wpcomm .wc-comment-footer .wc-vote-result.wc-negative{border-right:none; margin-left:2px;}
25
- #wpcomm .wc-toggle{float:left;text-align:left;padding-left:0;margin-left:0;}
26
- #wpcomm .wc-comment-footer .wc-footer-left{ float:right;}
27
- #wpcomm .wc-comment-footer .wc-footer-right{ float:left;}
28
- #wpcomm .wc-comment-footer .wc-footer-right .wc-comment-date{ margin-right:10px;}
29
- #wpcomm .wc-comment-footer .wc-footer-right .wc-toggle{ margin-right:10px;}
30
- #wpcomm .wc-footer-left .wc-cta-button{ margin-left:2px;}
31
- #wpcomm .wc-footer-left .wc-cta-button-x{ padding:2px 5px 2px 7px; margin-left:2px;}
32
- #wpcomm .wc-footer-left .wc-cta-button i{ margin:2px 2px 0px 3px;}
33
- #wpcomm .wc-footer-left .wc-reply-button{ margin-right:5px;}
34
-
35
- #wpcomm .wc-reply-link{padding: 3px 5px 2px 5px; margin:0px 5px 0px 0px;}
36
- #wpcomm .wc-comment.wc-no-left-margin{margin-right:0!important}
37
- .wc-load-more-submit:hover{box-shadow:0 1px 2px rgba(64,64,64,0.1);}
38
- #wpcomm .by-wpdiscuz{text-align:left;}
39
- #wpcomm .by-wpdiscuz a{text-align:left;}
40
- #wc_unsubscribe_message{margin:10px auto 1px auto;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  #wpcomm .wc_comment_level-3{margin-right:40px!important}
42
  #wpcomm .wc_comment_level-4{margin-right:40px!important}
43
  #wpcomm .wc_comment_level-5{margin-right:40px!important}
44
- #wpcomm .wc_save_wrap{ text-align:left;}
45
- #wpcomm .wc_social_plugin_wrapper .wp-social-login-connect-with{float:right;}
46
- #wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list{text-align:right;}
47
- #wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list{text-align:left}
48
- #wpcomm .wc_social_plugin_wrapper .comment-form-social-connect{float:right;padding-left:10px}
49
- #wpcomm .wc_social_plugin_wrapper .social_connect_form{float:right;text-align:right;}
50
- #wpcomm .wc-secondary-forms-social-content .social_connect_ui{text-align:left}
51
- #wpcomm .wc-secondary-forms-social-content .comment-form-social-connect{float:right;padding-left:10px}
52
- #wpcomm .wc-secondary-forms-social-content .social_connect_form{float:right;text-align:left;}
53
- #wpcomm .wc-comment-text ol li,#wpcomm .wc-comment-text ul li{margin-right:20px}
54
- #wpcomm .wc-comment-text blockquote{margin-right:1em;padding-right:1em}
55
- .wpdiscuz-loading-bar{left:0;}
56
- .wpdiscuz-front-actions{border-left:1px solid #f1f1f1;text-align:left}
57
- .wpdiscuz-subscribe-bar{border-left:1px solid #f1f1f1;border-right:1px solid #f1f1f1}
58
- #wpcomm .wpdiscuz-subscribe-form-intro{float:right;padding:3px 1px 3px 10px;}
59
- #wpcomm .wpdiscuz-subscribe-form-option{float:right;padding-left:5px;}
60
- #wpcomm .wpdiscuz-subscribe-form-email{float:right;padding:0 0 0 5px;}
61
- #wpcomm .wpdiscuz-subscribe-form-button{float:right;}
62
- #wpcomm .wpdiscuz-subscribe-form-button input[type="submit"]{padding:1px 3px 5px 3px!important;}
63
- #wpcomm .wc-comment-link{float:left;text-align:left;padding:0 10px 0 0;}
64
- #wpcomm .wc-form-footer{margin-right:65px}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  #wpcomm.wpdiscuz_no_avatar .wc-form-footer{margin-right:0}
66
- #wpcomm .wc-field-submit{padding:5px 5px 0 0;clear:right}
67
- .wpdiscuz_clear_right{clear:left}
68
- .wpdiscuz_clear_left{clear:right}
69
 
70
- /* MAIN COMMENT TEXTAREA */
71
- #wpcomm .wc-field-textarea{margin-right:65px;}
72
- #wpcomm .wc-field-textarea .commentTextMaxLength{left:5px}
73
- #wpcomm .wc-field-textarea .wpdiscuz-textarea-foot{text-align:left;}
74
- /* CAPTCHA */
75
- #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label{text-align:left;}
76
- #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-input{float:right;}
77
- #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label .wc_captcha_refresh_img img{border-right:1px solid #d9d9d9;}
78
- /* FORM ROWS and COLS */
79
- #wpcomm .wpd-form-row .wpd-form-col-full{text-align:right;}
80
- #wpcomm .wpd-form-row .wpd-form-col-left{float:right;text-align:right;}
81
- #wpcomm .wpd-form-row .wpd-form-col-right{float:left;text-align:left;}
82
- #wpcomm .wpd-form-row .wpd-form-col-full .wpdiscuz-item{text-align:right;}
83
- #wpcomm .wpd-form-row .wpd-form-col-left .wpdiscuz-item{text-align:right;}
84
- #wpcomm .wpd-form-row .wpd-form-col-right .wpdiscuz-item{text-align:left;}
85
- /* FORM FIELDS */
86
- #wpcomm .wpd-form-row .wpdiscuz-item{padding:5px 0px 3px 0px;}
87
- #wpcomm .wpd-form-row .wpd-has-icon .wpd-field{padding-right:30px;}
88
- #wpcomm .wpd-form-row .wpd-has-desc .wpd-field{padding-left:30px;}
89
- #wpcomm .wpd-form-row .wpdiscuz-item .wpd-field-icon {right:8px;text-align:right;}
90
- #wpcomm .wpd-form-row .wpdiscuz-item .wpd-field-desc{left:8px;text-align:left;}
91
- .wpdiscuz_select{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC") #fefefe no-repeat scroll left center!important;border-radius:0;border:1px solid lightgray!important;box-shadow:none!important;height:28px!important;padding:3px 3px 3px 22px!important;font-size:13px!important;-moz-appearance:none!important;-webkit-appearance:none!important;outline:0 none!important;text-indent:.01px;text-overflow:""!important;width:100%!important;box-sizing:border-box!important;line-height:20px!important;clear:both;float:none!important;margin:0!important}
92
- #wpcomm .wc-field-submit{text-align:left;}
93
- #wpcomm .wpd-item-wrap{ text-align:right;}
94
- #wpcomm .wpd-item{ text-align:right;}
95
- #wpcomm .wpd-form-col-left .wpd-field-group .wpd-field-group-title, #wpcomm .wpd-form-col-right .wpd-field-group .wpd-field-group-title, #wpcomm .wpd-form-col-full .wpd-field-group .wpd-field-group-title{ text-align:right;}
96
- #wpcomm .wpd-form-col-left .wpd-has-desc .wpd-field-group-title, #wpcomm .wpd-form-col-right .wpd-has-desc .wpd-field-group-title{ padding-left:35px;}
97
- /* CHECKBOX / RADIO BUTTONS */
98
- #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single{ text-align:left; }
99
- #wpcomm .wpd-form-col-left .wpd-field-group.wpd-field-single .wpd-field-group-title, #wpcomm .wpd-form-col-right .wpd-field-group.wpd-field-single .wpd-field-group-title{ text-align:left;}
100
- #wpcomm .wpd-field-radio .wpd-field, #wpcomm .wpd-field-checkbox .wpd-field {float:right; margin:0px 0px 0px 6px; }
101
- /* SELECT */
102
- #wpcomm .wpd-form-row .wpd-form-col-right .wpdiscuz-item.wpd-field-select{ text-align:right;}
103
- #wpcomm .wpdiscuz-item.wpd-field-select {padding: 7px 0 3px;}
104
- /* RATING */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  #wpcomm .wpd-top-custom-fields .wpd-custom-field.wpd-cf-rating .wpd-cf-label{ background:transparent; border:none; padding: 2px 2px 2px 10px; }
106
- #wpcomm .wpdiscuz-item .wpdiscuz-rating {float: right; padding:5px 1px 5px 0px; margin-right:-5px;}
 
 
 
 
 
 
 
107
  #wpcomm .wpdiscuz-item .wpdiscuz-rating > label { float: left; }
108
- #wpcomm .wpd-form-col-full .wpdiscuz-item.wpd-field-rating.wpd-has-desc .wpd-field-desc{ left:0px;margin-right:5px;}
109
- #wpcomm .wpd-form-col-full .wpd-field-group .wpd-field-group-title{ padding:0px 0px 2px 0px;}
110
- #wpcomm .wpd-form-col-full .wpdiscuz-item .wpdiscuz-rating{ padding:0px 0px 0px 6px; }
111
- #wpcomm .wpd-form-col-full .wpd-item-wrap{ float:right; padding-left:7px; padding:0px 1px 1px 1px;}
112
- .wpdiscuz-stars-label{padding:10px 3px 2px 0px;}
113
- .wpdiscuz-activ-stars{ right:0;}
114
- /* DATE */
115
- #wpcomm .wpd-form-row .wpd-field-date .wpd-field-title{padding: 5px 0px 8px 0; text-align: right;}
116
- #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field{padding-right:5px;}
117
- #wpcomm .wpd-form-row .wpd-field-date.wpd-has-desc .wpd-field{padding-left:5px;}
118
- #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field-icon{right:2px;}
119
- #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field-title{padding-right:26px;}
120
- #wpcomm .wpd-form-row .wpd-field-date.wpd-has-desc .wpd-field-title{padding-right:26px;}
121
-
122
- /* COLOR */
123
- #wpcomm .wpd-form-row .wpd-field-color .wpd-field-title{padding: 5px 0px 8px 0; text-align: right;}
124
- #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field{padding-right:5px;}
125
- #wpcomm .wpd-form-row .wpd-field-color.wpd-has-desc .wpd-field{padding-left:5px;}
126
- #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field-icon{right:2px;}
127
- #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field-desc{top: 10px;}
128
- #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field-title{padding-right:26px;}
129
- #wpcomm .wpd-form-row .wpd-field-color.wpd-has-desc .wpd-field-title{padding-right:26px;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
 
131
  /* TOOLTIP */
132
- #wpcomm div.wpd-field-desc span:after { right: 50%; margin-right: -8px;border-left: 8px solid transparent; border-right: 8px solid transparent;}
133
- #wpcomm div:hover.wpd-field-desc span {right: 50%;margin-right: -95px;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
 
135
- /* EDIT COMMENT FORM */
136
- #wpcomm table.editcomment td, #wpcomm table.editcomment th{ padding:2px 5px 5px 5px; border-right:none; border-left:none; text-align:right; }
137
- #wpcomm table.editcomment input[type=checkbox].wpd-field,
138
- #wpcomm table.editcomment input[type=radio].wpd-field { margin:0px 0px 0px 2px; }
139
- #wpcomm table.editcomment label.wpd-field-label{ margin:0px 0px 0px 15px; }
140
-
141
- @media screen and (max-width:650px){#wpcomm .wc-field-comment .wc-field-textarea{margin-right:30px}
142
- #wpcomm .wc-form-footer{margin-right:30px}
143
- #wpcomm.wpdiscuz_no_avatar .wc-form-footer{margin-right:0}
144
- #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label{padding-right:0;}
145
- #wpcomm .wc-reply{margin-right:25px!important}
146
- #wpcomm .wc_comment_level-3{margin-right:0!important}
147
- #wpcomm .wc_comment_level-4{margin-right:0!important}
148
- #wpcomm .wc_comment_level-5{margin-right:0!important}
149
- #wpcomm .wc_comment_level-5{margin-right:0!important}
150
- #wpcomm .wc_comment_level-6{margin-right:0!important}
151
- #wpcomm .wc_comment_level-7{margin-right:0!important}
152
- #wpcomm .wc_comment_level-8{margin-right:0!important}
153
- #wpcomm .wc_comment_level-9{margin-right:0!important}
154
- #wpcomm .wc_comment_level-10{margin-right:0!important}
155
- #wpcomm .wc-comment .wc-comment-right,#wpcomm .wc-reply .wc-comment-right{margin-right:0!important}
156
- #wpcomm .wc-comment .wc-comment-left .avatar{margin:0 0 0 5px!important;float:right!important;}
157
- #wpcomm .wc-comment .wc-comment-left .wc-comment-label{padding:6px 5px 5px 5px;}
158
- #wpcomm .wc_notification_checkboxes{text-align:left}
159
- #wpcomm .wc-field-submit{text-align:left}
160
- #wpcomm .wc-comment-footer .wc-footer-left{ text-align:right;}
161
- #wpcomm .wc-comment-footer .wc-footer-right{ padding:5px 5px 2px 5px; text-align:right;}
162
- #wpcomm .wc-comment-footer .wc-footer-right .wc-comment-date{ margin-right:0px;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  }
164
- @media screen and (max-width:420px){#wpcomm .wc-form-footer{margin-right:0}
165
- #wpcomm .wc-field-comment .wc-field-textarea{margin-right:0}
166
- .wpdiscuz_auth .wc_notification_checkboxes{text-align:right!important}
 
 
 
 
 
 
 
 
167
  }
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* wpDiscuz Main RTL CSS stylesheet */
2
+ #comments{} #respond{} .comments-area{}
3
 
4
+ /* HEADER */
5
+ #wc-comment-header{max-width:950px; padding:20px 5px 1px 5px; display:block; float:none; clear:both; font-size:18px; margin:0 auto;}
6
+ #wc_show_hide_loggedin_username{ max-width:950px; padding:10px 5px 5px 5px; font-size:13px; margin:0 auto;}
7
+ #wpcomm .wc-comment-bar{width:100%; padding:0; display:block}
8
+ #wpcomm .wc-comment-title{margin:0; line-height:18px; font-weight:bold; padding:15px 10px; font-size:13px; text-align:left; padding-bottom:10px}
9
+
10
+ /* WRAPPER & GENERAL RULES */
11
+ #wpcomm{max-width:950px; padding:1px 0 10px 0; border-top:#ddd solid 1px; margin:15px auto;}
12
+ #wpcomm *{box-sizing:border-box}
13
+ #wpcomm .clearfix{clear:both; }
14
+ #wpcomm .wpd-sticky{display: none; }
15
+ #wpcomm .wpd-private{display: none; }
16
+ #wpcomm i{margin: 0px;}
17
+ #wpcomm span {display:inline}
18
+ #wpcomm .wc-must-login{margin:0; font-size:14px; line-height:16px; padding:10px; text-align:center}
19
+ #wpcomm hr{background-color:rgba(0,0,0,0.1); border:0 none; height:1px; margin:10px auto}
20
+ #wpcomm .avatar{padding:0px; margin:0 auto; float:none; display:inline; width:100%; height:auto; border:none; border-radius:0%; box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2); }
21
+ #wpcomm .page-numbers{padding:2px 7px; font-size:14px; margin:20px 1px; line-height:33px; background:#fff}
22
+ #wpcomm span.current{color:#fff}
23
+ #wpcomm .wc-label a:focus{outline:0}
24
+ #wpcomm .wpdiscuz-hidden{display:none}
25
+ .wpdiscuz_top_clearing{clear:both}
26
+ .wpdiscuz_clear{clear:both}
27
+ .wpdiscuz_clear_right{clear:left}
28
+ .wpdiscuz_clear_left{clear:right}
29
+
30
+
31
+ /* SORTING & SUBSCRIPTION BAR */
32
+ #wpcomm .wpdiscuz-front-actions .wpdiscuz-sort-buttons{padding-top: 3px; display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: -o-flex; display: flex; justify-content: flex-end; -ms-align-items: center; align-items: center; }
33
+ #wpcomm .wpdiscuz-front-actions .wpdiscuz-sort-buttons .wpdiscuz-sort-button{font-size: 13px; }
34
+ #wpcomm .wpdiscuz-front-actions .wpdiscuz-sort-buttons i{display: inline-block; margin: 0px 6px; }
35
+ #wpcomm .wpdiscuz-front-actions .wpdiscuz-sbs-wrap{float: right; }
36
+ #wpcomm .wpdiscuz-front-actions .wpdiscuz-sbs-wrap span{font-size: 14px; cursor: pointer; }
37
+ #wpcomm .wpdiscuz-subscribe-form-intro{font-size:14px; float:right; display:block; padding:3px 1px 3px 10px; line-height:20px; box-sizing:border-box; white-space:nowrap}
38
+ #wpcomm .wpdiscuz-subscribe-form-option{font-size:13px; float:right; display:block; padding-left:5px; box-sizing:border-box}
39
+ #wpcomm .wpdiscuz-subscribe-form-email{font-size:14px; float:right; display:block; padding:0 0 0 5px; box-sizing:border-box; width:30%}
40
+ #wpcomm .wpdiscuz-subscribe-form-button{font-size:14px; float:right; display:block; box-sizing:border-box}
41
+ #wpcomm .wpdiscuz-subscribe-form-email select{width:100%!important}
42
+ #wpcomm .wpdiscuz-subscribe-form-email input[type="email"]{font-size:13px!important; padding:3px!important; width:100%!important; height:auto!important; line-height:20px!important; box-sizing:border-box!important; clear:both; float:none; margin:0}
43
+ #wpcomm .wpdiscuz-subscribe-form-button input[type="submit"]{font-size:16px!important; min-height:29px!important; height:29px!important; padding:1px 3px 5px 3px!important; min-width:40px; line-height:14px!important; box-sizing:border-box!important; border:1px solid #ddd; clear:both; float:none; margin:0}
44
+
45
+ /* LIVE UPDATE NOTIFICATION BUTTONS */
46
+ #wpcomm .wc_new_comment_and_replies{margin:0; padding:0; width:100%; height:auto; background:transparent}
47
+ #wpcomm .wc_new_comment_and_replies .wc_new_comment{float:left; display:none; padding:3px 10px; font-size:12px; margin:1px 3px 1px 0; cursor:pointer; color:#fff; line-height:15px}
48
+ #wpcomm .wc_new_comment_and_replies .wc_new_reply{float:left; display:none; padding:3px 10px; font-size:12px; margin:1px 1px 1px 0; cursor:pointer; color:#fff; line-height:15px}
49
+
50
+ /* COMMENTS & REPLIES */
51
+ #wpcomm .wc-thread-wrapper{padding:10px 2px 10px 0px; margin-bottom:10px; margin-top: 10px;}
52
+ #wpcomm .wc-comment .wc-reply {margin-top:15px; margin-bottom:0; margin-right:99px}
53
+ #wpcomm .wc-comment .wc-comment-left{width:72px; float:right; text-align:center; line-height:16px; position: relative;}
54
+ #wpcomm .wc-comment .wc-comment-right{margin-right:90px; padding:0px; display:block; margin-bottom: 10px; }
55
+ #wpcomm .wc-reply .wc-comment-left{width:50px; float:right; text-align:center; line-height:16px}
56
+ #wpcomm .wc-reply .wc-comment-right{margin-right:65px; padding:0px; display:block; }
57
+ #wpcomm .wc-comment .wc-comment-left .wpd-xborder{ position: absolute; height: 20px; border-left:1px solid #ddd; width: 100%; top:29px; left: -17px; }
58
+ #wpcomm .wc-reply .wc-comment-left .wpd-xborder{display: none; }
59
  #wpcomm .wc_comment_level-3{margin-right:40px!important}
60
  #wpcomm .wc_comment_level-4{margin-right:40px!important}
61
  #wpcomm .wc_comment_level-5{margin-right:40px!important}
62
+
63
+ /* header */
64
+ #wpcomm .wc-comment-header{margin-bottom:7px; height:40px; }
65
+ #wpcomm .wc-reply .wc-comment-header{margin-bottom:7px; height:34px; }
66
+ #wpcomm .wc-sticky-comment.wc-comment .wc-comment-left .wpd-xborder{display: none; }
67
+ #wpcomm .wc-sticky-comment.wc-comment .wc-comment-header .wpd-sticky{display:inline-block; font-size: 14px; padding: 4px 8px 3px 8px; margin: 1px 4px; line-height: 16px; }
68
+ #wpcomm .wc-sticky-comment.wc-comment .wc-reply .wc-comment-header .wpd-sticky{display: none; }
69
+ #wpcomm .wc-private-comment.wc-comment .wc-comment-left .wpd-xborder{display: none; }
70
+ #wpcomm .wc-private-comment.wc-comment .wc-comment-header .wpd-private{display:inline-block; font-size: 14px; padding: 4px 8px 3px 8px; margin: 1px 4px; line-height: 16px; }
71
+ #wpcomm .wc-private-comment.wc-comment .wc-reply .wc-comment-header .wpd-private{display: none; }
72
+ #wpcomm .wc-comment-link{font-size:12px; float:left; text-align:left; line-height:20px; padding:0 10px 0 0; margin: 7px 5px 5px 5px; }
73
+ #wpcomm .wc-reply .wc-comment-link{margin:5px; }
74
+ #wpcomm .wc-comment-link .wpf-cta{ cursor:pointer; font-size:14px; padding:4px 2px 3px 2px; min-width:24px; text-align:center; display:inline-block; margin:1px; line-height:16px; }
75
+ #wpcomm .wc-reply .wc-comment-link .wpf-cta {font-size: 13px; padding: 3px 3px 3px 3px; line-height: 15px; }
76
+
77
+ /* author */
78
+ #wpcomm .wc-comment-author{font-size:16px; width:40%; float:right; white-space:normal; text-align:right; padding:9px 15px 2px 0px; }
79
+ #wpcomm .wc-reply .wc-comment-author{font-size:15px; width:40%; float:right; white-space:normal; text-align:right; padding:8px 10px 2px 0px; }
80
+ #wpcomm .wc-comment-author a{font-size:16px; text-decoration:none; line-height:25px; width: 100%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; display: inline-block;}
81
+ #wpcomm .wc-reply .wc-comment-author a{font-size:14px; text-decoration:none; line-height:18px; }
82
+ #wpcomm .wc-comment-label{color:#fff; width:100%; padding:0px 0px 0px 0px; font-size:12px; margin:8px auto; text-align:center; display:table; line-height:16px; -webkit-box-shadow:0px 10px 9px -7px rgba(219,219,219,1); -moz-box-shadow:0px 10px 9px -7px rgba(219,219,219,1); box-shadow:0px 10px 9px -7px rgba(219,219,219,1); }
83
+ #wpcomm .wc-comment-label span{ display:inline-block; padding:3px 0px 7px 0px; font-size:12px; }
84
+ #wpcomm .wc-reply .wc-comment-label span{ font-size:11px; }
85
+ #wpcomm .wc-comment-date{font-size:12px; color:#999; text-align:right; white-space:nowrap; line-height:23px}
86
+ #wpcomm .wc-reply .wc-comment-date{font-size:11px; }
87
+ #wpcomm .wc-comment-date i{padding-left:5px; }
88
+
89
+ /* content */
90
+ #wpcomm .wc-comment-right .wc-comment-text{text-align:right; min-height: 50px; padding:5px 10px; font-size: 14px; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; word-wrap:break-word}
91
+ #wpcomm .wc-reply .wc-comment-right .wc-comment-text{line-height:20px; font-size: 13px; }
92
+ #wpcomm .wc-comment-right .wc-comment-text img{max-width:99%!important; height:auto; max-height:1000px; }
93
+ #wpcomm .wc-comment-right .wc-comment-text iframe{max-width:99%!important; }
94
+ #wpcomm .wc-comment-right .wc-comment-text p{margin-bottom:10px}
95
+ #wpcomm .wc-comment-right .wc-comment-text ol li,#wpcomm .wc-comment-text ul li{margin-right:20px}
96
+ #wpcomm .wc-comment-right .wc-comment-text blockquote{font-size:inherit; line-height:inherit; margin-bottom:1em; margin-right:1em; padding-right:1em}
97
+
98
+ /* footer */
99
+ #wpcomm .wc-comment-footer{font-size:13px; font-weight:normal; color:#999; padding:2px 10px 10px 10px; margin-top:0px; min-height:28px; text-align:right}
100
+ #wpcomm .wc-reply .wc-comment-footer{padding-top:0px; }
101
+ #wpcomm .wc-comment-footer .wc-footer-left{ float:right; display:block; }
102
+ #wpcomm .wc-comment-footer .wc-footer-right{ float:left; display:block; margin-top:0px; line-height:22px; }
103
+ #wpcomm .wc-comment-footer .wc-footer-right .wc-comment-date{ display:inline-block; margin-right:10px; }
104
+ #wpcomm .wc-comment-footer .wc-footer-right .wc-toggle{float:left; text-align:left; padding-left:0; margin-left:0; margin-right:10px; cursor:pointer; font-size:13px; white-space:nowrap; line-height:24px}
105
+ #wpcomm .wc-comment-footer .wc-vote-link{display:inline-block; text-align:center; font-size:13px; height:auto; padding:2px 4px; line-height:17px; cursor:pointer; font-weight: 300; }
106
+ #wpcomm .wc-comment-footer .wc-vote-result{display:inline-block; text-align:center; font-size:15px; height:auto; padding:2px 3px; line-height:17px; }
107
+ #wpcomm .wc-comment-footer .wc-vote-result.wc-vote-result-like{padding:2px 4px 2px 4px; border-radius:0%; border-left:none; margin-right:1px; }
108
+ #wpcomm .wc-comment-footer .wc-vote-result.wc-positive{color:#00bc74; border-left:none; text-align:center; margin-right:2px; }
109
+ #wpcomm .wc-comment-footer .wc-vote-result.wc-vote-result-dislike{padding:2px 4px 2px 4px; border-radius:0%;margin-left:1px; }
110
+ #wpcomm .wc-comment-footer .wc-vote-result.wc-negative{color:#ff5959; border-right:none; text-align:center; margin-left:2px; }
111
+ #wpcomm .wc-comment-footer .wc-vote-result.wc-vote-result-like{ border-left: 1px solid #CCCCCC; margin-left: 4px; padding-left: 8px;}
112
+ #wpcomm .wc-comment-footer .wc-vote-link.wc-down i.fa-thumbs-down{-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; -webkit-transform: scale(-1, 1); -ms-transform: scale(-1, 1); transform: scale(-1, 1);}
113
+ #wpcomm .wc-comment-footer .wc-vote-link.wc-up.wc-separate{ color:#00bc74;}
114
+ #wpcomm .wc-comment-footer .wc-vote-link.wc-down.wc-separate{ color:#ff5959;}
115
+ #wpcomm .wc-comment-footer .wc-vote-link i.fa-thumbs-up,
116
+ #wpcomm .wc-comment-footer .wc-vote-link i.fa-thumbs-down{font-size: 16px;}
117
+ #wpcomm .wc-reply .wc-comment-footer .wc-vote-link i.fa-thumbs-up,
118
+ #wpcomm .wc-reply .wc-comment-footer .wc-vote-link i.fa-thumbs-down{font-size: 14px;}
119
+ #wpcomm .wc-comment-footer .wc-vote-link i.fa-smile-o,
120
+ #wpcomm .wc-comment-footer .wc-vote-link i.fa-frown-o{font-size: 20px;}
121
+ #wpcomm .wc-reply .wc-comment-footer .wc-vote-link i.fa-smile-o,
122
+ #wpcomm .wc-reply .wc-comment-footer .wc-vote-link i.fa-frown-o{font-size: 16px;}
123
+ #wpcomm .wc-footer-left .wc-cta-button,
124
+ #wpcomm .wc-footer-left .wc-cta-button-x{ font-size:14px; cursor:pointer; text-transform:none; height:auto; padding: 4px 8px 4px 8px; line-height:18px; display:inline-block; margin-left:5px; }
125
+ #wpcomm .wc-footer-left .wc-cta-button-x,
126
+ #wpcomm .wc-footer-left .wc-cta-button i{ display: none; }
127
+ #wpcomm .wc-footer-left .wc-reply-button{ margin-right:5px; }
128
+ #wpcomm .wc-reply .wc-footer-left .wc-cta-button,
129
+ #wpcomm .wc-reply .wc-footer-left .wc-cta-button-x{ font-size:12px; padding: 3px 8px 2px 8px; line-height:18px; }
130
+ #wpcomm .wc-reply .wc-footer-left .wc-cta-button i{ font-size: 12px; }
131
+ #wpcomm .wc-reply .wc-footer-left .wc-cta-button-x{ display: none; }
132
+ #wpcomm .wpdiscuz-children {display:inline-block; padding-right:5px; }
133
+ #wpcomm .wc-toggle i.fa-chevron-down{display:inline-block; padding-right:5px; }
134
+ #wpcomm .wc-toggle i.fa-chevron-up{display:inline-block; padding-right:5px; }
135
+
136
+
137
+ /* COMMENT FORM */
138
+ #wpcomm form {margin:0!important; padding:0!important; background:0; border:0; width:auto!important}
139
+ #wpcomm form div{margin:0; }
140
+ #wpcomm form .wpdiscuz-item{display:block; height:auto; border-radius:0; box-shadow:none; }
141
+ #wpcomm .wc-form-wrapper{padding: 0px 0px 0px 1px; margin-top:0;}
142
+ #wpcomm .wc-comment .wc-form-wrapper{margin:10px 99px 20px 0px; clear:both; padding: 5px 0px 10px 0px; }
143
+ #wpcomm .wc-comment .wc-reply .wc-form-wrapper.wc-secondary-form-wrapper{margin-right: 0px;}
144
+ #wpcomm .wc_comm_form .wc-field-comment{clear:both; margin:5px auto 1px auto;}
145
+ #wpcomm .wc_comm_form .wc-field-comment .wc-field-avatararea{width:75px; float:right}
146
+ #wpcomm .wc_comm_form.wc_secondary_form{clear:both}
147
+ #wpcomm .wc_comm_form.wc-secondary-form-wrapper .wc-field-comment .wc-field-avatararea{width: 48px; }
148
+ #wpcomm .wc_comm_form.wc-secondary-form-wrapper .wc-field-comment .wc-field-textarea {margin-right: 62px; }
149
+ #wpcomm .wc_comm_form.wc-secondary-form-wrapper .wc-field-textarea textarea{height:50px; min-height:50px!important}
150
+ #wpcomm .wc-form-footer{display:none; margin-right:94px; margin-bottom: 20px; }
151
+ #wpcomm .wc-secondary-form-wrapper .wc-form-footer{display:none; margin-right:63px}
152
  #wpcomm.wpdiscuz_no_avatar .wc-form-footer{margin-right:0}
 
 
 
153
 
154
+ /* COMMENT EDIT FORM */
155
+ #wpcomm .wc_cancel_edit{display:none}
156
+ #wpcomm .wc_save_wrap{text-align:left; }
157
+ #wpcomm .wc-comment-right textarea.wc_edit_comment{height:auto; font-size:13px; width:99%; overflow-y:hidden; margin:5px 0px; }
158
+ #wpcomm table.editcomment{ width:100%; border:none; }
159
+ #wpcomm table.editcomment td.first{ width:35%; }
160
+ #wpcomm table.editcomment .wpdiscuz-item.wpd-field-group{ height:auto; border:none; }
161
+ #wpcomm table.editcomment td, #wpcomm table.editcomment th{ padding:2px 5px 5px 5px; border-top:none; border-bottom:1px solid #eee; border-right:none; border-left:none; text-align:right; font-size:13px; }
162
+ #wpcomm table.editcomment input[type=checkbox].wpd-field,
163
+ #wpcomm table.editcomment input[type=radio].wpd-field { width:auto; height:auto; display:inline-block; padding:0px; line-height:13px; vertical-align:baseline; margin:0px 0px 0px 2px; }
164
+ #wpcomm table.editcomment label.wpd-field-label{ width:auto; clear:both; height:auto; display:inline-block; float:none; padding:0px; line-height:20px; font-size:13px; margin:0px 0px 0px 15px; vertical-align:top; }
165
+ .wpdiscuz-edit-form-wrap{ display:block; margin:10px; }
166
+ .wpd-cursor-pointer{cursor: pointer; }
167
+ #wpcomm .wpdiscuz-item input[type=checkbox]:focus{line-height: 1; }
168
+ .wpdiscuz-post-rating-wrap.wpd-custom-field{display: flex; flex-wrap: wrap; }
169
+ .wpdiscuz-post-rating-wrap.wpd-custom-field > [class ^= wpdiscuz-post-rating-wrap-custom_field]{flex-basis: 25%; margin-bottom: 10px; }
170
+ #wpcomm #wpdiscuz-edit-form .wpdiscuz-textarea-wrap{padding:0; margin:0; background:transparent; position: relative; border: none; }
171
+
172
+ /* COMMENT FORM | TEXTAREA */
173
+ #wpcomm .wc-field-textarea{margin-right:94px; position:relative; margin-bottom:4px; }
174
+ #wpcomm .wc-field-textarea textarea{display:inline; width:100%; height:75px; min-height:75px!important; border:none!important; resize:none; padding:10px; box-sizing:border-box; border-radius:0; font-size:14px; color:#777; line-height:20px; }
175
+ #wpcomm .wc-field-textarea .commentTextMaxLength{display:none; font-size:11px; color:#aaa; position:absolute; top:3px; left:5px}
176
+ #wpcomm .wc-field-textarea .wpdiscuz-quicktags-enabled .commentTextMaxLength{top:39px}
177
+ #wpcomm .wc-field-textarea .commentTextMaxLength.left10{color:#f00}
178
+ #wpcomm .wc-field-textarea .wpdiscuz-textarea-wrap {padding:0; margin:0; background:transparent; }
179
+ #wpcomm .wc-field-textarea .wpdiscuz-textarea-wrap textarea {margin-bottom : 0 !important; }
180
+ #wpcomm .wc-field-textarea .wpdiscuz-textarea-wrap textarea:focus{border: none!important; box-shadow: none; }
181
+ #wpcomm .wc-field-textarea .wpdiscuz-textarea-foot{border:0; padding:3px 0; width:97%; text-align:left; line-height:14px; margin:0 auto; border-top:1px dotted #ddd}
182
+ #wpcomm .wc-field-textarea .wpdiscuz-textarea-foot .wpdiscuz-button{line-height:14px; display:inline-block; min-width:20px; width:auto; height:20px; padding:0; margin:2px 3px; cursor:pointer; border:0; float:none}
183
+ #wpcomm .wc-field-textarea .wpdiscuz-textarea-foot label{float:none; display:inline-block}
184
+ #wpcomm .wc-field-textarea .quicktags-toolbar{padding:0 3px 0 3px; text-align:right; min-height:30px}
185
+ #wpcomm .wc-field-textarea .ed_button{width:auto; padding:3px; border:0; margin:5px 2px 8px 2px; background:#f7f7f7 none repeat scroll 0 0; box-shadow:0 1px 1px #cdcdcd; min-width:5%; color:#555; font-size:13px; line-height:16px; font-weight:normal; text-transform:lowercase; vertical-align:top; display:inline-block; font-family:"Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans",sans-serif}
186
+ #wpcomm .wc-field-textarea input[type="button"].ed_button:focus,#wpcomm .wc-form-wrapper input[type="button"].ed_button:hover{background:#ededed!important}
187
+
188
+ /* COMMENT FORM | BUTTONS */
189
+ #wpcomm button,
190
+ #wpcomm input[type="button"],
191
+ #wpcomm input[type="reset"],
192
+ #wpcomm input[type="submit"]{ vertical-align: bottom; border-radius: 0px; font-family: sans-serif; font-weight: normal; letter-spacing: normal; line-height: 1em; padding: 8px 20px; margin:0px; box-shadow: none; text-transform: none; font-size: 14px; }
193
+ #wpcomm button:hover,
194
+ #wpcomm button:focus,
195
+ #wpcomm input[type="button"]:hover,
196
+ #wpcomm input[type="button"]:focus,
197
+ #wpcomm input[type="reset"]:hover,
198
+ #wpcomm input[type="reset"]:focus,
199
+ #wpcomm input[type="submit"]:hover,
200
+ #wpcomm input[type="submit"]:focus{ opacity: 1; }
201
+ #wpcomm .wc-field-submit{padding:7px 5px 0 0; clear:right}
202
+ #wpcomm .wc-load-more-submit-wrap{width:100%; text-align:center; margin-bottom:20px; margin-top:25px}
203
+ #wpcomm .wc-load-more-submit{width:auto!important; font-size: 14px; padding:10px 30px; text-align:center; cursor:pointer}
204
+ #wpcomm .wpd_label, #wpcomm .wpd_label{margin:0px; padding: 0px;display:inline-block;}
205
+ #wpcomm .wpd_label, #wpcomm .wpd_label span{display: inline-block}
206
+ #wpcomm .wpd_label input[type="checkbox"].wpd_label__checkbox{display:none; }
207
+ #wpcomm .wpd_label__checkbox { display: none; }
208
+ #wpcomm .wpd_label__check { display: inline-block; border: 0px; border-radius: 0; vertical-align: middle; cursor: pointer; text-align: center; margin:0px 0px 0px 5px; }
209
+ #wpcomm .wpd_label__check i.wpdicon{font-size: 17px; line-height: 21px; padding: 4px 5px; width: 34px; margin: 0px; }
210
+ #wpcomm .wpd_label__check i.wpdicon-on{display: none; color: #00b38f; border: 1px solid #b5e5db; background-color: #F6FFFD; }
211
+ #wpcomm .wpd_label__check i.wpdicon-off{display: inline-block; color: #aaaaaa; border: 1px solid #dddddd; background-color: #F9F9F9; }
212
+ #wpcomm .wpd_label__check i.wpdicon:hover{}
213
+ #wpcomm .wpd_label__checkbox:checked + .wpd_label__text .wpd_label__check {}
214
+ #wpcomm .wpd_label__checkbox:checked + .wpd_label__text .wpd_label__check .wpdicon-on{display: inline-block; }
215
+ #wpcomm .wpd_label__checkbox:checked + .wpd_label__text .wpd_label__check .wpdicon-off{display:none; }
216
+
217
+ /* COMMENT FORM | CAPTCHA */
218
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label{float:left; display:block; width:111px; text-align:left; padding:0; line-height:30px; }
219
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label .wc_captcha_img{display:inline!important; border:0; padding:0; margin:0; vertical-align:middle; box-sizing:content-box; width:80px; height:26px; border-bottom:2px solid #e6e6e6}
220
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label a{margin:0; display:inline; padding:0; text-decoration:none; height:auto; width:auto}
221
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-input{float:right; display:block; min-width:30px; width:calc(100% - 112px); line-height:30px; }
222
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-input input[type="text"]{width:100%; padding:3px 5px; height:28px; }
223
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label .wc_captcha_refresh_img{cursor:pointer}
224
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label .wc_captcha_refresh_img img{max-width:16px!important; max-height:16px!important; box-sizing:content-box; margin:0; display:inline!important; background-color:#e6e6e6; padding:5px; border:1px solid #e4e4e4; border-right:1px solid #d9d9d9; vertical-align:middle; }
225
+
226
+ /* COMMENT FORM | ROWS and COLS */
227
+ #wpcomm .wpd-form-row .wpd-form-col-full{width:100%; float:none; margin:0; text-align:right; padding:0; }
228
+ #wpcomm .wpd-form-row .wpd-form-col-left{width:49%; float:right; margin:0; text-align:right; padding:0; }
229
+ #wpcomm .wpd-form-row .wpd-form-col-right{width:49%; float:left; margin:0; text-align:left; padding:0; }
230
+ #wpcomm .wpd-form-row .wpd-form-col-full .wpdiscuz-item{text-align:right; }
231
+ #wpcomm .wpd-form-row .wpd-form-col-left .wpdiscuz-item{text-align:right; }
232
+ #wpcomm .wpd-form-row .wpd-form-col-right .wpdiscuz-item{text-align:left; }
233
+
234
+ /* COMMENT FORM | FIELDS */
235
+ #wpcomm .wpdiscuz-item label.wpd-field-label{ float:none; }
236
+ #wpcomm .wpd-form-row .wpdiscuz-item{width:100%; vertical-align:baseline; padding:5px 0px 3px 0px; position:relative; }
237
+ #wpcomm .wpd-form-row .wpd-field{width:100%; line-height:20px; color:#777777; display:inline-block; float:none; clear:both; margin:0; box-sizing:border-box; padding:3px 5px 3px 5px; font-size:14px; border-radius:0; vertical-align:baseline; }
238
+ #wpcomm .wpd-form-row .wpd-has-icon .wpd-field{padding-right:30px; }
239
+ #wpcomm .wpd-form-row .wpd-has-desc .wpd-field{padding-left:30px; }
240
+ #wpcomm .wpd-form-row .wpdiscuz-item .wpd-field-icon {display:inline-block; font-size:17px; line-height:17px; opacity:0.3; padding:0; margin:0px; position:absolute; top:12px; right:8px; width:20px; text-align:right; }
241
+ #wpcomm .wpd-form-row .wpdiscuz-item .wpd-field-desc{display:inline-block; font-size:17px; line-height:17px; opacity:1; margin:0px; position:absolute; top:12px; left:8px; width:20px; text-align:left; border-right:1px solid #ccc; color:#aaa; padding:0px 5px; cursor:pointer; }
242
+ #wpcomm .wpd-form-row .wpdiscuz-item input[type="text"],
243
+ #wpcomm .wpd-form-row .wpdiscuz-item input[type="email"],
244
+ #wpcomm .wpd-form-row .wpdiscuz-item input[type="url"],
245
+ #wpcomm .wpd-form-row .wpdiscuz-item input[type="color"],
246
+ #wpcomm .wpd-form-row .wpdiscuz-item input[type="date"],
247
+ #wpcomm .wpd-form-row .wpdiscuz-item input[type="datetime"],
248
+ #wpcomm .wpd-form-row .wpdiscuz-item input[type="datetime-local"],
249
+ #wpcomm .wpd-form-row .wpdiscuz-item input[type="month"],
250
+ #wpcomm .wpd-form-row .wpdiscuz-item input[type="number"],
251
+ #wpcomm .wpd-form-row .wpdiscuz-item input[type="time"]{height:32px; }
252
+ #wpcomm .wpd-form-row .wpdiscuz-item textarea{height:72px; }
253
+ .wpdiscuz_select{background:url("data:image/png; base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC") #fefefe no-repeat scroll left center!important; border-radius:0; border:1px solid lightgray!important; box-shadow:none!important; height:28px!important; padding:3px 3px 3px 22px!important; font-size:13px!important; -moz-appearance:none!important; -webkit-appearance:none!important; outline:0 none!important; text-indent:.01px; text-overflow:""!important; width:100%!important; box-sizing:border-box!important; line-height:20px!important; clear:both; float:none!important; margin:0!important}
254
+ #wpcomm .wc-field-submit{text-align:left; }
255
+ #wpcomm .wc-field-submit input[type="button"]{margin:1px; border:#ddd 1px solid; font-size:13px; line-height:16px; padding:6px 15px; clear:both; float:none}
256
+ #wpcomm .wpd-item-wrap{ text-align:right; }
257
+ #wpcomm .wpd-item{ text-align:right; }
258
+ #wpcomm .wpd-form-col-left .wpd-field-group .wpd-field-group-title, #wpcomm .wpd-form-col-right .wpd-field-group .wpd-field-group-title, #wpcomm .wpd-form-col-full .wpd-field-group .wpd-field-group-title{ font-size:13px; text-align:right; line-height:20px; padding: 5px 0; }
259
+ #wpcomm .wpd-form-col-left .wpd-has-desc .wpd-field-group-title, #wpcomm .wpd-form-col-right .wpd-has-desc .wpd-field-group-title{ padding-left:35px; }
260
+ #wpcomm .wc-comment-right .wpd-top-custom-fields{ padding:5px 10px 15px 10px; }
261
+ #wpcomm .wc-comment-right .wpd-bottom-custom-fields{ padding:5px 10px; margin-bottom:20px; }
262
+
263
+ /* COMMENT FORM | CHECKBOX / RADIO */
264
+ #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single{ border-bottom:none; text-align:left; }
265
+ #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single .wpd-item{ margin:0px; padding:0px; }
266
+ #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single .wpd-field{ height:20px; vertical-align:top; }
267
+ #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single .wpd-field-label{ height:20px; vertical-align:top; }
268
+ #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single{ border-bottom:none; }
269
+ #wpcomm .wpd-form-col-left .wpd-field-group.wpd-field-single .wpd-field-group-title, #wpcomm .wpd-form-col-right .wpd-field-group.wpd-field-single .wpd-field-group-title{ font-size:inherit; text-align:left; line-height:inherit; height:25px; }
270
+ #wpcomm .wpdiscuz-item.wpd-field-radio, #wpcomm .wpdiscuz-item.wpd-field-checkbox{ border-bottom:1px dotted #ccc; padding-bottom:12px; }
271
+ #wpcomm .wpd-form-col-left div:last-of-type, #wpcomm .wpd-form-col-right div:last-of-type{ border-bottom:none; }
272
+ #wpcomm .wpd-form-row .wpdiscuz-item.wpd-field-radio .wpd-field-desc,
273
+ #wpcomm .wpd-form-row .wpdiscuz-item.wpd-field-checkbox .wpd-field-desc{ }
274
+ #wpcomm .wpd-field-radio .wpd-item, #wpcomm .wpd-field-checkbox .wpd-item{ display:inline-block; padding:1px; margin:1px 0px; min-width:60px; }
275
+ #wpcomm .wpd-field-radio .wpd-field, #wpcomm .wpd-field-checkbox .wpd-field { width:auto; height:25px; display:inline-block; float:right; padding:0px; line-height:20px; vertical-align:baseline; margin:0px 0px 0px 6px; }
276
+ #wpcomm .wpd-field-radio .wpd-field-label, #wpcomm .wpd-field-checkbox .wpd-field-label{ width:auto; height:22px; display:inline-block; float:none; padding:0px; line-height:18px; font-size:12px; margin:0px; vertical-align:middle; }
277
+ #wpcomm .wpd-form-row .wpd-form-col-full{}
278
+
279
+ /* COMMENT FORM | SELECT */
280
+ #wpcomm .wpd-form-row .wpd-form-col-right .wpdiscuz-item.wpd-field-select{ text-align:right; }
281
+ #wpcomm .wpdiscuz-item.wpd-field-select select.wpdiscuz_select{ height: 32px !important; margin: 5px 0 0 !important; max-width:400px!important; }
282
+ #wpcomm .wpdiscuz-item.wpd-field-select.wpd-has-desc select.wpdiscuz_select{ width:calc(100% - 40px)!important; }
283
+ #wpcomm .wpdiscuz-item.wpd-field-select .wpd-field-group-title { padding-top: 12px; }
284
+ #wpcomm .wpdiscuz-item.wpd-field-select {padding: 7px 0 3px; }
285
+ #wpcomm .wpdiscuz-item.wpd-field-select.wpd-has-desc .wpd-field-desc{ top:18px; }
286
+ .wpd-custom-field{ display:table; width:100%; padding:1px 0px; line-height:20px; }
287
+ .wpd-custom-field .fa-star{ font-size:1.2em; }
288
+ .wpd-cf-label{ background: #f9f9f9; box-sizing: border-box!important; display:table-cell; font-size: 13px; opacity: 1; padding: 5px 10px; vertical-align: top; width: 29%; border-bottom:1px #f0f0f0 solid; }
289
+ .wpd-cf-value{ display:table-cell; border-bottom:1px #f0f0f0 solid; width:69%; box-sizing:border-box!important; font-size:13px; vertical-align:top; opacity:0.7; padding: 5px 10px; }
290
  #wpcomm .wpd-top-custom-fields .wpd-custom-field.wpd-cf-rating .wpd-cf-label{ background:transparent; border:none; padding: 2px 2px 2px 10px; }
291
+ #wpcomm .wpd-top-custom-fields .wpd-custom-field.wpd-cf-rating .wpd-cf-value{font-size: 16px; border-bottom:none; padding: 1px 10px; }
292
+
293
+ /* COMMENT FORM | RATING */
294
+ #wpcomm .wpdiscuz-item.wpd-field-group.wpd-field-rating{ border-bottom:1px dotted #ddd; height:77px; margin-bottom:0px; }
295
+ #wpcomm .wpdiscuz-item .wpdiscuz-rating {border: none; float: right; margin:0px; padding:5px 1px 5px 0px; margin-right:-5px; }
296
+ #wpcomm .wpdiscuz-item .wpdiscuz-rating > input { visibility:hidden; position:absolute; }
297
+ #wpcomm .wpdiscuz-item .wpdiscuz-rating > label:before { margin: 3px; line-height: 18px; font-size: 1.4em; cursor:pointer; }
298
+ #wpcomm .wpdiscuz-item .wpdiscuz-rating > .half:before {position: absolute; cursor:pointer; }
299
  #wpcomm .wpdiscuz-item .wpdiscuz-rating > label { float: left; }
300
+ #wpcomm .wpd-form-col-full .wpdiscuz-item.wpd-field-rating.wpd-has-desc .wpd-field-desc{ left:0px; top:0px; position:relative; font-size:14px; margin-right:5px; padding: 0 7px; }
301
+ #wpcomm .wpd-form-col-full .wpdiscuz-item.wpd-field-rating.wpd-has-desc .wpd-field-desc i.fa{ font-size:17px; }
302
+ #wpcomm .wpd-form-col-full .wpd-field-group .wpd-field-group-title{ display:inline-block; vertical-align:baseline; padding:0px 0px 2px 0px; margin-top:-2px; }
303
+ #wpcomm .wpd-form-col-full .wpdiscuz-item .wpdiscuz-rating{ padding:0px 0px 0px 6px; vertical-align:middle; line-height: 14px; }
304
+ #wpcomm .wpd-form-col-full .wpd-item-wrap{ display:inline-block; float:right; padding-left:7px; vertical-align:baseline; padding:0px 1px 1px 1px; }
305
+ .wpdiscuz-stars-label{ line-height:20px; padding:10px 3px 2px 0px; font-size:14px; }
306
+ .wpdiscuz-stars-wrapper{ display:block; }
307
+ .wpdiscuz-stars-wrapper-inner{ position: absolute; }
308
+ .wpdiscuz-activ-stars{ position: absolute; display: flex; font-size: 22px; top: 0; right:0; }
309
+ .wpdiscuz-pasiv-stars{ font-size: 22px; display: flex; }
310
+ .wpdiscuz-activ-stars{ overflow:hidden; }
311
+ .wpdiscuz-pasiv-stars i.fa, .wpdiscuz-activ-stars i.fa{ padding:0px 2px; font-size:20px; }
312
+
313
+ /* COMMENT FORM | DATE */
314
+ #wpcomm .wpd-form-row .wpd-field-date { height:77px; }
315
+ #wpcomm .wpd-form-row .wpd-field-date .wpd-field-title{font-size: 13px; line-height: 20px; padding: 5px 0px 8px 0; text-align: right; padding-bottom: 8px; }
316
+ #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field{padding-right:5px; }
317
+ #wpcomm .wpd-form-row .wpd-field-date.wpd-has-desc .wpd-field{padding-left:5px; }
318
+ #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field-icon{right:2px; top: 10px; }
319
+ #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field-desc{top: 10px; }
320
+ #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field-title{padding-right:26px; }
321
+ #wpcomm .wpd-form-row .wpd-field-date.wpd-has-desc .wpd-field-title{padding-right:26px; }
322
+
323
+ /* COMMENT FORM | COLOR */
324
+ #wpcomm .wpd-form-row .wpd-field-color { height:77px; }
325
+ #wpcomm .wpd-form-row .wpd-field-color .wpd-field-title{font-size: 13px; line-height: 20px; padding: 5px 0px 8px 0; text-align: right; padding-bottom: 8px; }
326
+ #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field{padding-right:5px; }
327
+ #wpcomm .wpd-form-row .wpd-field-color.wpd-has-desc .wpd-field{padding-left:5px; }
328
+ #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field-icon{right:2px; top: 10px; }
329
+ #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field-desc{top: 10px; }
330
+ #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field-title{padding-right:26px; }
331
+ #wpcomm .wpd-form-row .wpd-field-color.wpd-has-desc .wpd-field-title{padding-right:26px; }
332
+
333
+ /* COMMENT FORM | SPOILER */
334
+ #wpcomm .wpdiscuz-spoiler-wrap{background-color: #eee; border: 1px solid #555; border-style: dashed; margin: 5px 0; }
335
+ #wpcomm .wpdiscuz-spoiler-wrap .wpdiscuz-spoiler{padding: 5px; cursor: pointer; }
336
+ #wpcomm .wpdiscuz-spoiler-wrap .wpdiscuz-spoiler .fa{margin: 0 5px; }
337
+ #wpcomm .wpdiscuz-spoiler-wrap .wpdiscuz-spoiler-content{display: none; font-style: italic; padding: 5px; }
338
+
339
+ /* SOCIAL LOGIN BUTTONS */
340
+ #wpcomm .wc_social_plugin_wrapper{width:auto}
341
+ #wpcomm .wp-social-login-widget{margin-bottom:15px}
342
+ #wpcomm .wc_social_plugin_wrapper .wp-social-login-connect-with{float:right; font-size:13px; padding:2px 0 0 7px; text-transform:uppercase}
343
+ #wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list{padding:1px; text-align:right; margin-bottom:-10px}
344
+ #wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list{padding:1px; text-align:left}
345
+ #wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list img{width:20px; height:20px; float:none; display:inline; border:0}
346
+ #wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list img{width:24px; height:24px; float:none; display:inline; border:0}
347
+ #wpcomm .wc_social_plugin_wrapper .social_connect_ui{padding:0; clear:both; margin:0; margin-top:-20px; margin-bottom:-10px}
348
+ #wpcomm .wc_social_plugin_wrapper .comment-form-social-connect{display:inherit; padding:0; margin:0; float:right; line-height:35px; padding-left:10px}
349
+ #wpcomm .wc_social_plugin_wrapper .social_connect_form img{width:24px; height:24px; float:none; display:inline; border:0}
350
+ #wpcomm .wc_social_plugin_wrapper .social_connect_form{float:right; line-height:35px; text-align:right; vertical-align:middle}
351
+ #wpcomm .wc_social_plugin_wrapper .comment-form-social-connect label{display:inherit; padding:0; margin:0; font-style:normal; font-weight:normal; border:0; font-size:13px; text-transform:uppercase}
352
+ #social_connect_facebook_auth,#social_connect_twitter_auth,#social_connect_google_auth,#social_connect_google_plus_auth,#social_connect_yahoo_auth,#social_connect_wordpress_auth{clear:both; padding:0; margin:0}
353
+ #wpcomm .wc-secondary-forms-social-content .social_connect_ui{padding:0; clear:both; margin:0; text-align:left}
354
+ #wpcomm .wc-secondary-forms-social-content .comment-form-social-connect{display:inherit; padding:0; margin:0; float:right; line-height:35px; padding-left:10px}
355
+ #wpcomm .wc-secondary-forms-social-content .social_connect_form img{width:24px; height:24px; float:none; display:inline; border:0}
356
+ #wpcomm .wc-secondary-forms-social-content .social_connect_form{float:right; width:100%; text-align:left; padding:0 0 5px 0; line-height:20px; vertical-align:middle}
357
+ #wpcomm .wc-secondary-forms-social-content .comment-form-social-connect label{display:inherit; padding:0; margin:0; font-style:normal; font-weight:normal; border:0; font-size:13px; text-transform:uppercase}
358
 
359
  /* TOOLTIP */
360
+ #wpcomm div.wpd-field-desc {position: relative; display: inline; }
361
+ #wpcomm div.wpd-field-desc span {position: absolute; width:200px; color: #FFFFFF; background: #555555; height:auto; line-height: 17px; padding:8px 10px; font-size:12px; text-align: center; visibility: hidden; border-radius: 6px; }
362
+ #wpcomm div.wpd-field-desc span:after { content: ''; position: absolute; top: 100%; right: 50%; margin-right: -8px; width: 0; height: 0; border-top: 8px solid #555555; border-left: 8px solid transparent; border-right: 8px solid transparent; }
363
+ #wpcomm div:hover.wpd-field-desc span {visibility: visible; opacity: 1; bottom: 30px; right: 50%; margin-right: -95px; z-index: 999999; }
364
+ #wpcomm span.wc_fb,a.wc_tw,a.wc_go,a.wc_vk,a.wc_ok {position: relative; display: inline; }
365
+ #wpcomm span.wc_fb span,a.wc_tw span,a.wc_go span,a.wc_vk span,a.wc_ok span {position: absolute; width:200px; color: #FFFFFF; background: #555555; height:auto; line-height: 17px; padding:8px 10px; font-size:12px; text-align: center; visibility: hidden; border-radius: 6px; }
366
+ #wpcomm span.wc_fb span:after,a.wc_tw span:after,a.wc_go span:after,a.wc_vk span:after,a.wc_ok span:after { content: ''; position: absolute; top: 100%; right: 50%; margin-right: -8px; width: 0; height: 0; border-top: 8px solid #555555; border-left: 8px solid transparent; border-right: 8px solid transparent; }
367
+ #wpcomm .wc_fb:hover span, #wpcomm .wc_go:hover span, #wpcomm .wc_tw:hover span, #wpcomm .wc_vk:hover span, #wpcomm .wc_ok:hover span {visibility: visible; opacity: 1; bottom: 30px; right: 50%; margin-right: -95px; z-index: 999999; }
368
+ #wpcomm span.wc-vote-link{position: relative; display: inline; }
369
+ #wpcomm span.wc-vote-link span{position: absolute; width:100px; color: #FFFFFF; background: #555555; height:auto; line-height: 17px; padding:8px 10px; font-size:12px; text-align: center; visibility: hidden; border-radius: 6px; display: inline-block; }
370
+ #wpcomm span.wc-vote-link span:after{ content: ''; position: absolute; top: 100%; right: 50%; margin-right: -8px; width: 0; height: 0; border-top: 8px solid #555555; border-left: 8px solid transparent; border-right: 8px solid transparent; }
371
+ #wpcomm span:hover.wc-vote-link span{visibility: visible; opacity: 1; bottom: 30px; right: calc(50% - 50px); z-index: 999999; }
372
+ #wpcomm span.wc-comment-img-link-wrap{position: relative; display: inline; }
373
+ #wpcomm span.wc-comment-img-link-wrap span{position: absolute; width:200px; color: #FFFFFF; background: #555555; height:auto; line-height: 17px; padding:3px 3px; font-size:12px; text-align: center; visibility: hidden; border-radius: 0px; bottom: 30px; right: -170px; margin-right: 0px; }
374
+ #wpcomm span.wc-comment-img-link-wrap span:after{ content: ''; position: absolute; top: 100%; left: 10px; margin-right: -8px; width: 0; height: 0; border-top: 8px solid #555555; border-left: 8px solid transparent; border-right: 8px solid transparent; }
375
+ #wpcomm span:hover.wc-comment-img-link-wrap span{opacity: 1; z-index: 999999; }
376
+ #wpcomm span.wc-comment-img-link-wrap span.wc-comment-img-link-show{visibility: visible; }
377
+ #wpcomm span.wc-comment-img-link-wrap span.wc-comment-img-link-show input[type="text"]{ padding: 3px 10px; font-size: 13px; color:#999999; }
378
+ #wpcomm .wpd_label__check div:hover.wpd-field-desc span {bottom: 36px; margin-right: -99px; }
379
 
380
+ /* TOLTIP VALIDATOR */
381
+ #wpcomm div.wpd-field-invalid {display: inline; }
382
+ #wpcomm div.wpd-field-invalid span {position: absolute; max-width:200px; color: #FFFFFF; background: #d99; height:auto; line-height: 17px; padding:8px 10px; font-size:12px; text-align: center; visibility: hidden; border-radius: 6px; }
383
+ #wpcomm div.wpd-field-invalid span:after { content: ''; position: absolute; top: -7px; right: 15px; margin-right: -8px; width: 0; height: 0; border-top: 0px; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid #d99; }
384
+ #wpcomm div.wpd-field-invalid span {visibility: visible; opacity: 1; bottom: auto; top:calc(100% + 8px); right: 0; z-index: 999999; }
385
+
386
+ /* MISC */
387
+ #wpcomm .wpdiscuz_subscribe_status{font-size:12px; padding-top:6px}
388
+ #wpcomm .wpdiscuz_subscribe_status a{font-size:12px}
389
+ #wpcomm .share_buttons_box img{display:inline!important; width:16px; height:16px}
390
+ #wpcomm .share_buttons_box{display:none}
391
+ #wpcomm .wc-comment.wc-no-left-margin{margin-right:0!important}
392
+ #wc_unsubscribe_message{margin:10px auto 1px auto; padding:10px; text-align:center; border:#0d0 1px dotted; background:#cfc}
393
+ .wc_unsubscribe_message{font-size:14px; color:#444}
394
+ #wpcomm .wc_editable_div{-moz-appearance:textfield-multiline; -webkit-appearance:textarea; border:1px solid #ccc; border-radius:0; font:medium -moz-fixed; font:-webkit-small-control; overflow:auto; resize:both; box-sizing:border-box; height:46px; max-width:100%; min-height:46px!important; padding:5px; width:100%}
395
+ .wpdiscuz-nofollow,.wpdiscuz-nofollow:hover{text-decoration:none!important}
396
+ .wc_msg_required_fields,.wc_invalid_field,.wc_invalid_captcha,.wc_error_url_text,.wc_error_email_text,.wpdiscuz-sendmail-error,.wc_msg_input_min_length,.wc_msg_input_max_length,.wc_login_to_vote,.wc_deny_voting_from_same_ip,.wc_self_vote,.wc_vote_only_one_time,.wc_voting_error,.wc_comment_edit_not_possible,.wc_comment_not_updated,.wc_comment_not_edited,.msgNotAllowedFiles,msgMaxFileCount,.msgMaxFileSize,.msgPostMaxSize{background-color:#fce8e8!important; font-size:14px; text-align:center; color:#ce4a66; border:#f2d3d2 1px solid; padding:5px 10px; width:100%; box-sizing:border-box; margin:5px 0; border-radius:3px}
397
+ .wc_held_for_moderate{background-color:#fce6bf; font-size:14px; text-align:center; color:#d3760c; border:#f9c975 1px solid; padding:5px 10px; width:100%; box-sizing:border-box; margin:5px 0; border-radius:3px}
398
+ .wpdiscuz-loading-bar{position:fixed; left:0; width:70px; border:0; background:transparent; z-index:999999; display:none; }
399
+ .wpdiscuz-loading-bar-auth{top:32px}
400
+ .wpdiscuz-loading-bar-unauth{top:0}
401
+ .wpdiscuz-loading-bar .wpdiscuz-loading-bar-img{max-width:32px!important; height:auto}
402
+ .wpdiscuz-vote-sorting-desc,.wpdiscuz-vote-sorting-asc{text-align:center; border:0; z-index:999999; cursor:pointer; display:inline-block}
403
+ .wpdiscuz-front-actions{width:100%; box-sizing:border-box; padding:10px 15px 10px 10px; margin-top:20px; margin-bottom:0px; text-align:left}
404
+ .wpdiscuz-subscribe-bar{width:100%; box-sizing:border-box; padding:10px 15px 20px 10px; margin-bottom:10px; }
405
+ #wpcomm #bywpdiscuz{display:none}
406
+ #wpcomm .by-wpdiscuz{text-align:left; border-top:#ddd solid 1px; padding:1px 1px 1px 1px}
407
+ #wpcomm .by-wpdiscuz a{font-size:11px; font-weight:bold; text-align:left; color:#ccc; padding:1px; margin:0; line-height:12px; border:0; text-decoration:none}
408
+ #wpcomm .wpdimg{border:0; padding:0; margin:0; height:12px; cursor:pointer; display:inline; clear:both}
409
+ #wpcomm .wc-copyright{margin:0 auto 0 0; text-align:left; display:block; padding-top:2px}
410
+ #wpcomm .wc-copyright a{font-size:9px; color:#aaa; cursor:help; text-decoration:none; margin:0; padding:0; border:0}
411
+
412
+ /* DARK STYLE */
413
+ #wpcomm.wpd-dark .wc-thread-wrapper{padding: 12px 2px 10px 0px;}
414
+ #wpcomm.wpd-dark .wpdiscuz-textarea-wrap{ border: #777777 solid 1px;}
415
+ #wpcomm.wpd-dark .wc-field-textarea .wpdiscuz-textarea-foot{ border-top: 1px dotted #777777; }
416
+ #wpcomm.wpd-dark .wpdiscuz-front-actions { background-color: #333333; }
417
+ #wpcomm.wpd-dark .wpdiscuz-front-actions .wpdiscuz-sbs-wrap span{ color: #aaaaaa; }
418
+ #wpcomm.wpd-dark .wpdiscuz-sort-button { color: #aaaaaa; }
419
+ #wpcomm.wpd-dark .wpd_label__check i.wpdicon-off { color: #aaaaaa; border: 1px solid #777777; background-color:#333333;}
420
+ #wpcomm.wpd-dark button, #wpcomm.wpd-dark input[type="button"], #wpcomm.wpd-dark input[type="reset"], #wpcomm.wpd-dark input[type="submit"] { border: 1px solid #777777; color: #FFFFFF; background-color: #333333;}
421
+ #wpcomm.wpd-dark .wpd_label__check i.wpdicon-on{ background-color: transparent; border: 1px solid #777777; }
422
+ #wpcomm.wpd-dark .avatar { box-shadow: 0px 0px 5px 1px rgba(100, 100, 100, 1);}
423
+ #wpcomm.wpd-dark .wc-comment .wc-comment-left .wc-comment-label {background: transparent; border-bottom: 1px solid #555555; -webkit-box-shadow: 0px 10px 10px -9px rgba(100,100,100,1); -moz-box-shadow: 0px 10px 10px -9px rgba(100,100,100,1); box-shadow: 0px 10px 10px -9px rgba(100,100,100,1); margin: 3px auto 8px auto;}
424
+ #wpcomm.wpd-dark .wc-comment .wc-comment-right {background: transparent;}
425
+ #wpcomm.wpd-dark .wc-comment-header { border-bottom: 1px solid #777777;}
426
+ #wpcomm.wpd-dark .wc-reply .wc-comment-header {border-bottom: 1px solid #777777; }
427
+ #wpcomm.wpd-dark .wc-comment .wc-comment-left .wpd-xborder {border-left: 1px solid #777777;}
428
+ #wpcomm.wpd-dark .wc-cta-button, #wpcomm .wc-cta-button-x {color: #777777; border-bottom: 1px solid #777777;}
429
+ #wpcomm.wpd-dark .wc-cta-active { color: #FFFFFF;}
430
+ #wpcomm.wpd-dark .wc-comment-text { color: inherit;}
431
+ #wpcomm.wpd-dark .wpdiscuz-subscribe-bar { color: #aaaaaa; background-color: #444444; }
432
+ #wpcomm.wpd-dark .wc-sticky-comment.wc-comment .wc-comment-header,
433
+ #wpcomm.wpd-dark .wc-private-comment.wc-comment .wc-comment-header{ background-color: transparent; }
434
+ #wpcomm.wpd-dark .wc-private-comment.wc-comment .wc-comment-header{border-bottom: 1px dotted #fa9800;}
435
+ #wpcomm.wpd-dark .wc-private-comment.wc-comment .wc-comment-header .wpd-private{ color: #fa9800; border: 1px dotted #fa9800; }
436
+
437
+ @media screen and (max-width: 1024px){
438
+ .wpdiscuz-post-rating-wrap.wpd-custom-field > [class ^= wpdiscuz-post-rating-wrap-custom_field]{flex-basis: 33%; margin-bottom: 10px; }
439
+ }
440
+ @media screen and (max-width:800px){
441
+ #wpcomm .wpdiscuz-subscribe-form-option{width:100%!important; padding:0!important}
442
+ #wpcomm .wpdiscuz-subscribe-form-email{width:100%!important; padding:0!important; margin-top:5px}
443
+ #wpcomm .wpdiscuz-subscribe-form-button{width:100%!important; padding:0!important}
444
+ #wpcomm .wpdiscuz-subscribe-form-button input[type="submit"]{width:100%!important; margin-top:5px}
445
+ #wpcomm .wpd-form-row .wpd-form-col-left{width:100%; float:none; }
446
+ #wpcomm .wpd-form-row .wpd-form-col-right{width:100%; float:none; }
447
+ #wpcomm .wc-field-comment .wc-field-textarea{margin-right:0}
448
+ #wpcomm .wc-field-comment .wc-field-avatararea .avatar{width:0; display:none}
449
+ #wpcomm .wc-field-comment .wc-field-textarea{margin-right:0px}
450
+ #wpcomm .wc-form-footer{margin-right:0px; }
451
+ #wpcomm .wc-comment-left .wpd-xborder,
452
+ #wpcomm .wc-reply .wc-comment-left .wpd-xborder{display: none;}
453
+ #wpcomm.wpdiscuz_no_avatar .wc-form-footer{margin-right:0}
454
+ #wpcomm .wpd-form-col-left{width:100%; float:none; display:block}
455
+ #wpcomm .wpd-form-col-right{width:100%; float:none; display:block; padding:0}
456
+ #wpcomm .wc-field-submit input[type="button"]{max-width:200px}
457
+ #wpcomm .wpd-form-row .wpdiscuz-item {width:100%; margin:0 auto; display:block; float:none}
458
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label{padding-right:0; width:115px}
459
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-input{width:calc(100% - 116px)}
460
+ #wpcomm .wc-reply{margin-right:25px!important}
461
+ #wpcomm .wc-comment .wc-form-wrapper{margin-right: 0px;}
462
+ #wpcomm .wc_comment_level-3{margin-right:0!important}
463
+ #wpcomm .wc_comment_level-4{margin-right:0!important}
464
+ #wpcomm .wc_comment_level-5{margin-right:0!important}
465
+ #wpcomm .wc_comment_level-5{margin-right:0!important}
466
+ #wpcomm .wc_comment_level-6{margin-right:0!important}
467
+ #wpcomm .wc_comment_level-7{margin-right:0!important}
468
+ #wpcomm .wc_comment_level-8{margin-right:0!important}
469
+ #wpcomm .wc_comment_level-9{margin-right:0!important}
470
+ #wpcomm .wc_comment_level-10{margin-right:0!important}
471
+ #wpcomm .wc-comment-author{width: 65%; }
472
+ #wpcomm .wc-comment-author a{ font-size:14px; width: 100%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; display: inline-block;}
473
+ #wpcomm .wc-comment-link{display: block; float:left; }
474
+ #wpcomm .wc-comment-text{font-size:13px!important}
475
+ #wpcomm .wc-comment .wc-comment-left{float:none!important; margin-bottom:8px; width:100%!important}
476
+ #wpcomm .wc-comment .wc-comment-right,#wpcomm .wc-reply .wc-comment-right{margin-right:0!important}
477
+ #wpcomm .wc-comment .wc-comment-left .avatar{width:25px!important; height:25px!important; margin:0 0 0 5px!important; float:right!important; display:block!important}
478
+ #wpcomm .wc-comment .wc-comment-left .wc-comment-label, #wpcomm.wpd-dark .wc-comment .wc-comment-left .wc-comment-label{font-size:13px; padding:6px 5px 5px 5px; line-height:14px; display:block-inline!important; margin-right:33px; -webkit-box-shadow:0px 10px 9px -11px rgba(219,219,219,1); -moz-box-shadow:0px 10px 9px -11px rgba(219,219,219,1); box-shadow:0px 10px 9px -11px rgba(219,219,219,1); }
479
+ .wpd-cf-label{ display:block; width: 100%; background: transparent; }
480
+ .wpd-cf-value{ display:block; width:100%; background: #f9f9f9; border-bottom:1px solid #bbb; }
481
+ #wpcomm .wc_comm_form.wc-secondary-form-wrapper .wc-field-comment .wc-field-textarea,
482
+ #wpcomm .wc-secondary-form-wrapper .wc-form-footer{margin-right: 0px;}
483
+ #wpcomm .share_buttons_box{margin-top:9px}
484
+ #wpcomm .wc-field-submit{text-align:left}
485
+ #wpcomm .wc-comment-label{ width:auto; }
486
+ #wpcomm .wc-comment-label span{line-height:14px; padding:0px 2px; }
487
+ #wpcomm .wc-comment-footer .wc-footer-left{ float:none; display:block; padding:2px 5px; text-align:right; }
488
+ #wpcomm .wc-comment-footer .wc-footer-right{ float:none; display:block; padding:5px 5px 2px 5px; text-align:right; }
489
+ #wpcomm .wc-comment-footer .wc-footer-right .wc-comment-date{ margin-right:0px; }
490
+ #wpcomm .wc-comment-footer .wc-footer-left span{ margin-bottom:7px; }
491
+ .wpdiscuz-post-rating-wrap.wpd-custom-field > [class ^= wpdiscuz-post-rating-wrap-custom_field]{flex-basis: 50%; margin-bottom: 10px; }
492
+ #wpcomm .wc-toggle .wpdiscuz-children-button-text, #wpcomm .wc-toggle .wcsep{ display:none; }
493
  }
494
+ @media screen and (max-width:420px){
495
+ #wpcomm .wpdiscuz-sort-buttons,#wpcomm .wpdiscuz-sort-button{font-size:11px!important}
496
+ #wpcomm .wc-share-link{line-height:30px}
497
+ #wpcomm .wc-form-footer{margin-right:0}
498
+ #wpcomm .wc-field-submit input[type="button"]{width:99%; font-size:10px; padding:5px 2px}
499
+ .wpdiscuz_auth .wc-field-submit{width:100%!important}
500
+ #wpcomm .wc-form-wrapper .ed_button{width:18%; padding:0; margin:3px 2px 3px 2px}
501
+ #wpcomm .wc-field-comment .wc-field-textarea .wpdiscuz-quicktags-enabled .commentTextMaxLength{top:49px}
502
+ #wpcomm .wc-comment-link{display: block; float: none; width: 100%; }
503
+ .wpdiscuz-post-rating-wrap.wpd-custom-field > [class ^= wpdiscuz-post-rating-wrap-custom_field]{
504
+ flex-basis: 100%; margin-bottom: 10px; }
505
  }
506
+ #wpdiscuz-loading-bar.wpdiscuz-loading-bar:before{
507
+ content: ""; display: inline-block; width: 5px; height: 6px; background: #888; border-radius: 50%; animation: wpdLoading 1s ease infinite; box-shadow: 0 0 5px 1px #fff;
508
+ }
509
+
510
+ @keyframes wpdLoading{
511
+ 0%{transform: translateX(0)}
512
+ 5%{transform: translateX(0); width: 18px; transform-origin: left}
513
+ 50%{transform: translateX(50px); width: 10px; }
514
+ 55%{transform: translateX(42px); width: 18px; }
515
+ 100%{transform: translateX(0)}
516
+ }
517
+
assets/css/wpdiscuz.css CHANGED
@@ -1,196 +1,244 @@
1
- #wpcomm *{box-sizing:border-box}
2
- #wpcomm span{display:inline}
3
- #wpcomm .clearfix{clear:both;}
4
- #wpcomm{padding:1px 0 10px 0;border-top:#ddd solid 1px;max-width:950px;margin:15px auto}
5
- #wc-comment-header{padding:20px 5px 1px 5px;display:block;float:none;clear:both;font-size:18px;max-width:950px;margin:0 auto}
6
- #wpcomm form{margin:0!important;padding:0!important;background:0;border:0;width:auto!important}
7
- #wpcomm form div{margin:0;}
8
- #wpcomm form .wpdiscuz-item{display:block;height:auto;border-radius:0;box-shadow:none;}
9
-
10
- #wc_show_hide_loggedin_username{padding:10px 5px 5px 5px;font-size:13px;margin:0 auto;max-width:950px}
11
- #wpcomm .wc_new_comment_and_replies{margin:0;padding:0;width:100%;height:auto;background:transparent}
12
- #wpcomm .wc_new_comment_and_replies .wc_new_comment{float:right;display:none;padding:3px 10px;font-size:12px;margin:1px 0 1px 3px;cursor:pointer;color:#fff;line-height:15px}
13
- #wpcomm .wc_new_comment_and_replies .wc_new_reply{float:right;display:none;padding:3px 10px;font-size:12px;margin:1px 0 1px 1px;cursor:pointer;color:#fff;line-height:15px}
14
- #wpcomm .wc-comment-bar{width:100%;padding:0;display:block}
15
- #wpcomm .wc-comment-title{margin:0;line-height:18px;font-weight:bold;padding:10px;margin-bottom:10px;font-size:13px;text-align:right;border-bottom:#ccc dotted 1px;padding-bottom:10px}
16
- #wpcomm .wc-field-comment .wc-field-avatararea{width:54px;float:left}
17
-
18
- #wpcomm .captcha_msg{color:#999;font-family:Lato,sans-serif;font-size:13px;line-height:18px;display:block;clear:both;padding:5px 0 0 0}
19
- #wpcomm .wc_manage_subscribtions{cursor:pointer;padding:0 0 5px 0;display:block;font-size:13px;line-height:16px;font-family:Lato,sans-serif}
20
- #wpcomm .wc_notification_checkboxes{padding:1px 0 7px 0;text-align:right;display:none;line-height:18px;font-size:13px}
21
- #wpcomm .wc_notification_checkboxes label{clear:both;float:none;font-weight:normal}
22
- #wpcomm .wc-label-comment-notify{display:inline;font-size:13px;padding:0;margin:0;border:0;line-height:15px;text-decoration:none;color:#999;font-family:Lato,sans-serif;cursor:pointer}
23
- #wpcomm .wc-label-reply-notify,#wpcomm .wc-notification-none{display:inline;font-size:13px;padding:0;margin:0;border:0;line-height:15px;text-decoration:none;color:#999;font-family:Lato,sans-serif;cursor:pointer}
24
- #wpcomm .wc-label-all-reply-notify{display:inline;font-size:13px;padding:0;margin:0;border:0;line-height:15px;text-decoration:none;color:#999;font-family:Lato,sans-serif;cursor:pointer}
25
- #wpcomm .wc-copyright{margin:0 0 0 auto;text-align:right;display:block;padding-top:2px}
26
- #wpcomm .wc-copyright a{font-size:9px;color:#aaa;cursor:help;text-decoration:none;margin:0;padding:0;border:0}
27
- #wpcomm .wc-thread-wrapper{padding:10px 0;margin-bottom:10px}
28
-
29
- #wpcomm .wc-comment .wc-form-wrapper{padding:5px 10px 10px 10px; margin-bottom:20px;}
30
- #wpcomm .wc-comment .wc-comment-left{width:64px;float:left;text-align:center;line-height:16px}
31
- #wpcomm .wc-comment .wc-comment-right{margin-left:74px;padding:0px;display:block;}
32
- #wpcomm .wc-reply .wc-comment-right{margin-left:74px;padding:0px;}
33
- #wpcomm .wc-reply{margin-top:10px;margin-bottom:0;margin-left:55px}
34
- #wpcomm .wc-must-login{margin:0;font-size:14px;line-height:16px;padding:10px;text-align:center}
35
- #wpcomm hr{background-color:rgba(0,0,0,0.1);border:0 none;height:1px;margin:10px auto}
36
- #wpcomm .avatar{padding:1px;margin:0 auto;float:none;display:inline;width:100%;height:auto; border:1px solid #ddd; border-radius:50%;}
37
- #wpcomm .wc-comment-text{text-align:left;padding-bottom:5px;line-height:22px;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}
38
- #wpcomm .wc-comment-text img{max-width:99%!important;height:auto; max-height:1000px;}
39
- #wpcomm .wc-comment-text iframe{max-width:99%!important;}
40
- #wpcomm .wc-comment-header{margin-bottom:7px;height:30px;}
41
- #wpcomm .wc-comment-author{font-size:16px;width:40%;float:left;white-space:normal;text-align:left; padding:6px 0px 2px 15px;}
42
- #wpcomm .wc-comment-author a{font-size:16px;white-space:normal;text-decoration:none;line-height:25px}
43
- #wpcomm .wc-comment-label{color:#fff; width:100%; padding:0px 0px 2px 0px;font-size:12px;margin:8px auto;text-align:center;display:table;line-height:16px}
44
- #wpcomm .wc-comment-label span{ display:inline-block; padding:2px 0px 1px 0px; font-size:12px;}
45
- #wpcomm .wc-comment-date{font-size:12px;color:#999;text-align:left;white-space:nowrap;line-height:23px}
46
- #wpcomm .wc-comment-date i{padding-right:5px; }
47
- #wpcomm .wpdiscuz-children {display:inline-block; padding-left:5px; }
48
- #wpcomm .wc-toggle i.fa-chevron-down{display:inline-block; padding-left:5px;}
49
- #wpcomm .wc-toggle i.fa-chevron-up{display:inline-block; padding-left:5px;}
50
-
51
- #wpcomm .wc-comment-footer{font-size:12px;font-weight:normal;color:#999;border-bottom: 1px solid #ddd; padding:5px 10px 10px 10px; margin-top:7px; margin-bottom:15px;min-height:28px; text-align:left}
52
- #wpcomm .wc-reply .wc-comment-footer{padding-bottom:10px;}
53
- #wpcomm .wc-comment-footer .share_buttons_box img{vertical-align:middle}
54
- #wpcomm .wc-comment-footer .wc-voted{color:#666;cursor:default}
55
- #wpcomm .wc-comment-footer .wc-vote-link{display:inline-block;text-align:center; font-size:16px; height:24px;padding:2px 5px;line-height:17px;min-width:24px;cursor:pointer;}
56
- #wpcomm .wc-comment-footer .wc-vote-result{display:inline-block; text-align:center; font-size:16px;height:24px;padding:2px 5px;line-height:17px;min-width:24px;}
57
- #wpcomm .wc-comment-footer .wc-vote-result.wc-vote-result-like{padding:2px 4px 2px 4px;border-radius:0%;border-right:none; margin-left:1px;}
58
- #wpcomm .wc-comment-footer .wc-vote-result.wc-positive{color:#00bc74; border:1px solid #00bc74; border-right:none; min-width:25px; text-align:center; margin-left:2px;}
59
- #wpcomm .wc-comment-footer .wc-vote-result.wc-vote-result-dislike{padding:2px 4px 2px 4px;border-radius:0%;border:1px solid #bbb; margin-right:1px;}
60
- #wpcomm .wc-comment-footer .wc-vote-result.wc-negative{color:#ff5959; border:1px solid #ff5959; border-left:none; min-width:25px; text-align:center; margin-right:2px;}
61
- #wpcomm .wc-toggle{float:right;text-align:right;padding-right:0;margin-right:0;color:#999;cursor:pointer;font-size:12px;white-space:nowrap;line-height:24px}
62
- #wpcomm .wc-comment-footer .wc-footer-left{ float:left; display:block;}
63
- #wpcomm .wc-comment-footer .wc-footer-right{ float:right; display:block; margin-top:0px; line-height:22px;}
64
- #wpcomm .wc-comment-footer .wc-footer-right .wc-comment-date{ display:inline-block; margin-left:10px;}
65
- #wpcomm .wc-comment-footer .wc-footer-right .wc-toggle{ margin-left:10px;}
66
- #wpcomm .wc-footer-left .wc-cta-button{ font-size:11px; cursor:pointer; text-transform:uppercase;height:24px; padding:2px 7px 2px 5px; line-height:18px; display:inline-block; vertical-align:top; margin-right:2px;}
67
- #wpcomm .wc-footer-left .wc-cta-button-x{ font-size:11px; cursor:pointer; text-transform:uppercase;height:24px; padding:2px 7px 2px 5px; line-height:18px; vertical-align:top; margin-right:2px;}
68
- #wpcomm .wc-footer-left .wc-cta-button i{ font-size:12px; margin:2px 3px 0px 2px;}
69
- #wpcomm .wc-footer-left .wc-reply-button{ margin-left:5px;}
70
-
71
- #wpcomm .wc-comment-right .wpd-top-custom-fields{ padding:5px 10px 15px 10px;}
72
- #wpcomm .wc-comment-right .wc-comment-text{ padding:5px 10px;}
73
- #wpcomm .wc-comment-right .wpd-bottom-custom-fields{ padding:5px 10px; margin-bottom:20px;}
74
-
75
- #wc_response_info img{margin:0 auto 0 auto;box-shadow:none}
76
- #wpcomm .share_buttons_box img{display:inline!important;width:16px;height:16px}
77
- #wpcomm .wc-reply-link{cursor:pointer;font-weight:bold; font-size: 12px; font-weight:normal; line-height: 18px; min-height: 18px; min-width: 22px; padding: 3px 5px 2px 5px; text-align: center; margin:0px 0px 0px 5px; vertical-align:middle;}
78
- #wpcomm .share_buttons_box{display:none}
79
- #wpcomm .wc-comment.wc-no-left-margin{margin-left:0!important}
80
- .wc-load-more-submit-wrap{width:100%;text-align:center;margin-bottom:20px;margin-top:25px}
81
- .wc-load-more-submit{width:auto!important;padding:10px 20px;text-align:center;background-color:#fafafa;border-radius:3px;color:#555;cursor:pointer}
82
- .wc-load-more-submit:hover{background-image:-moz-linear-gradient(center top,#f4f4f4,#e6e6e6);background-repeat:repeat-x;box-shadow:0 1px 2px rgba(64,64,64,0.1);color:#7c7c7c}
83
- #wpcomm #bywpdiscuz{display:none}
84
- #wpcomm .by-wpdiscuz{text-align:right;border-top:#ddd solid 1px;padding:1px 1px 1px 1px}
85
- #wpcomm .by-wpdiscuz a{font-size:11px;font-weight:bold;text-align:right;color:#ccc;padding:1px;margin:0;line-height:12px;border:0;text-decoration:none}
86
- #wpcomm .wpdimg{border:0;padding:0;margin:0;height:12px;cursor:pointer;display:inline;clear:both}
87
- #wc_unsubscribe_message{margin:10px auto 1px auto;padding:10px;text-align:center;border:#0d0 1px dotted;background:#cfc}
88
- .wc_unsubscribe_message{font-size:14px;color:#444}
89
- #wpcomm .wc_comment_level-3{margin-left:40px!important}
90
- #wpcomm .wc_comment_level-4{margin-left:40px!important}
91
- #wpcomm .wc_comment_level-5{margin-left:40px!important}
92
- #wpcomm .wc_editable_div{-moz-appearance:textfield-multiline;-webkit-appearance:textarea;border:1px solid #ccc;border-radius:0;font:medium -moz-fixed;font:-webkit-small-control;overflow:auto;resize:both;box-sizing:border-box;height:46px;max-width:100%;min-height:46px!important;padding:5px;width:100%}
93
- #wpcomm .wc_cancel_edit{display:none}
94
- #wpcomm .wc_save_wrap{ text-align:right;}
95
- #wpcomm .wc-comment-text p{margin-bottom:10px}
96
- #wpcomm .wc_social_plugin_wrapper{width:auto}
97
- #wpcomm .wc_comm_form .wc_secondary_form{clear:both}
98
- #wpcomm .wc_comm_form .wc-field-comment{clear:both}
99
- #wpcomm .wp-social-login-widget{margin-bottom:15px}
100
- #wpcomm .wc_social_plugin_wrapper .wp-social-login-connect-with{float:left;font-size:13px;padding:2px 7px 0 0;text-transform:uppercase}
101
- #wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list{padding:1px;text-align:left;margin-bottom:-10px}
102
- #wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list{padding:1px;text-align:right}
103
- #wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list img{width:20px;height:20px;float:none;display:inline;border:0}
104
- #wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list img{width:24px;height:24px;float:none;display:inline;border:0}
105
- #wpcomm .wc_social_plugin_wrapper .social_connect_ui{padding:0;clear:both;margin:0;margin-top:-20px;margin-bottom:-10px}
106
- #wpcomm .wc_social_plugin_wrapper .comment-form-social-connect{display:inherit;padding:0;margin:0;float:left;line-height:35px;padding-right:10px}
107
- #wpcomm .wc_social_plugin_wrapper .social_connect_form img{width:24px;height:24px;float:none;display:inline;border:0}
108
- #wpcomm .wc_social_plugin_wrapper .social_connect_form{float:left;line-height:35px;text-align:left;vertical-align:middle}
109
- #wpcomm .wc_social_plugin_wrapper .comment-form-social-connect label{display:inherit;padding:0;margin:0;font-style:normal;font-weight:normal;border:0;font-size:13px;text-transform:uppercase}
110
- #social_connect_facebook_auth,#social_connect_twitter_auth,#social_connect_google_auth,#social_connect_google_plus_auth,#social_connect_yahoo_auth,#social_connect_wordpress_auth{clear:both;padding:0;margin:0}
111
- #wpcomm .wc-secondary-forms-social-content .social_connect_ui{padding:0;clear:both;margin:0;text-align:right}
112
- #wpcomm .wc-secondary-forms-social-content .comment-form-social-connect{display:inherit;padding:0;margin:0;float:left;line-height:35px;padding-right:10px}
113
- #wpcomm .wc-secondary-forms-social-content .social_connect_form img{width:24px;height:24px;float:none;display:inline;border:0}
114
- #wpcomm .wc-secondary-forms-social-content .social_connect_form{float:left;width:100%;text-align:right;padding:0 0 5px 0;line-height:20px;vertical-align:middle}
115
- #wpcomm .wc-secondary-forms-social-content .comment-form-social-connect label{display:inherit;padding:0;margin:0;font-style:normal;font-weight:normal;border:0;font-size:13px;text-transform:uppercase}
116
- #wpcomm .wc-comment-text ol li,#wpcomm .wc-comment-text ul li{margin-left:20px}
117
- #wpcomm .wc-comment-text blockquote{font-size:inherit;line-height:inherit;margin-bottom:1em;margin-left:1em;padding-left:1em}
118
- .wpdiscuz-nofollow,.wpdiscuz-nofollow:hover{text-decoration:none!important}
119
- .wc_msg_required_fields,.wc_invalid_field,.wc_invalid_captcha,.wc_error_url_text,.wc_error_email_text,.wpdiscuz-sendmail-error,.wc_msg_input_min_length,.wc_msg_input_max_length,.wc_login_to_vote,.wc_deny_voting_from_same_ip,.wc_self_vote,.wc_vote_only_one_time,.wc_voting_error,.wc_comment_edit_not_possible,.wc_comment_not_updated,.wc_comment_not_edited,.msgNotAllowedFiles,msgMaxFileCount,.msgMaxFileSize,.msgPostMaxSize{background-color:#fce8e8!important;font-size:14px;text-align:center;color:#ce4a66;border:#f2d3d2 1px solid;padding:5px 10px;width:100%;box-sizing:border-box;margin:5px 0;border-radius:3px}
120
- .wc_held_for_moderate{background-color:#fce6bf;font-size:14px;text-align:center;color:#d3760c;border:#f9c975 1px solid;padding:5px 10px;width:100%;box-sizing:border-box;margin:5px 0;border-radius:3px}
121
- .wpdiscuz-loading-bar{position:fixed;right:0;width:70px;border:0;background:transparent;z-index:999999;display:none;}
122
- .wpdiscuz-loading-bar-auth{top:32px}
123
- .wpdiscuz-loading-bar-unauth{top:0}
124
- .wpdiscuz-loading-bar .wpdiscuz-loading-bar-img{max-width:32px!important;height:auto}
125
- .wpdiscuz-vote-sorting-desc,.wpdiscuz-vote-sorting-asc{text-align:center;border:0;z-index:999999;cursor:pointer;display:inline-block}
126
- .wpdiscuz-front-actions{width:100%;box-sizing:border-box;padding:5px 10px;margin-top:10px; margin-bottom:10px;border-right:1px solid #f1f1f1;border-left:1px solid #f1f1f1;text-align:right}
127
- .wpdiscuz-subscribe-bar{width:100%;box-sizing:border-box;padding:10px;margin-bottom:10px;border-right:1px solid #f1f1f1;border-left:1px solid #f1f1f1}
128
- .wc-secondary-form-wrapper{margin-top:10px!important}
129
- #wpcomm .wpdiscuz-subscribe-form-intro{font-size:14px;float:left;display:block;padding:3px 10px 3px 1px;line-height:20px;box-sizing:border-box;white-space:nowrap}
130
- #wpcomm .wpdiscuz-subscribe-form-option{font-size:13px;float:left;display:block;padding-right:5px;box-sizing:border-box}
131
- #wpcomm .wpdiscuz-subscribe-form-email{font-size:14px;float:left;display:block;padding:0 5px 0 0;box-sizing:border-box;width:30%}
132
- #wpcomm .wpdiscuz-subscribe-form-button{font-size:14px;float:left;display:block;box-sizing:border-box}
133
- #wpcomm .wpdiscuz-subscribe-form-email select{width:100%!important}
134
- #wpcomm .wpdiscuz-subscribe-form-email input[type="email"]{font-size:13px!important;padding:3px!important;width:100%!important;height:auto!important;line-height:20px!important;box-sizing:border-box!important;clear:both;float:none;margin:0}
135
- #wpcomm .wpdiscuz-subscribe-form-button input[type="submit"]{font-size:16px!important;min-height:29px!important;height:29px!important;padding:1px 3px 5px 3px!important;min-width:40px;line-height:14px!important;box-sizing:border-box!important;border:1px solid #ddd;clear:both;float:none;margin:0}
136
- #wpcomm .wc-comment-link{font-size:12px;float:right;text-align:right;line-height:20px;height:15px;padding:0 0 0 10px; margin:5px;}
137
- #wpcomm .wc-comment-link .wpf-cta{ cursor:pointer; font-size:13px; padding:3px 4px; min-width:22px; text-align:center; display:inline-block; margin:1px; line-height:16px;}
138
 
139
- #wpcomm .wpdiscuz_subscribe_status{font-size:12px;padding-top:6px}
140
- #wpcomm .wpdiscuz_subscribe_status a{font-size:12px}
141
- #wpcomm .page-numbers{padding:2px 7px;font-size:14px;margin:20px 1px;line-height:33px;background:#fff}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  #wpcomm span.current{color:#fff}
143
- #wpcomm .wc-form-footer{display:none;margin-left:65px}
144
- #wpcomm.wpdiscuz_no_avatar .wc-form-footer{margin-left:0}
145
  #wpcomm .wc-label a:focus{outline:0}
146
- #wpcomm .wc-field-submit{padding:5px 0 0 5px;clear:left}
147
  #wpcomm .wpdiscuz-hidden{display:none}
148
  .wpdiscuz_top_clearing{clear:both}
149
  .wpdiscuz_clear{clear:both}
150
  .wpdiscuz_clear_right{clear:right}
151
  .wpdiscuz_clear_left{clear:left}
152
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  /* COMMENT FORM */
154
- #wpcomm .wc-form-wrapper{padding:10px;margin-top:0;border:1px solid #f1f1f1;clear:both;}
155
- #wpcomm .wc-field-comment{margin:5px auto 1px auto}
156
- /* MAIN COMMENT TEXTAREA */
157
- #wpcomm .wc-field-textarea{margin-left:65px;position:relative; margin-bottom:4px;}
158
- #wpcomm .wc-field-textarea textarea{display:inline;width:100%;height:72px;min-height:72px!important;border:none!important;resize:none;padding:10px;box-sizing:border-box;border-radius:0;font-size:14px;color:#777;line-height:20px;}
159
- #wpcomm .wc-field-textarea .commentTextMaxLength{display:none;font-size:11px;color:#aaa;position:absolute;top:3px;right:5px}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  #wpcomm .wc-field-textarea .wpdiscuz-quicktags-enabled .commentTextMaxLength{top:39px}
161
  #wpcomm .wc-field-textarea .commentTextMaxLength.left10{color:#f00}
162
- #wpcomm .wc-field-textarea .wpdiscuz-textarea-wrap {padding:0;margin:0;background:transparent;}
163
- #wpcomm .wc-field-textarea .wpdiscuz-textarea-wrap textarea {margin-bottom : 0 !important;}
164
- #wpcomm #wpdiscuz-edit-form .wpdiscuz-textarea-wrap{padding:0;margin:0;background:transparent;position: relative;border: none;}
165
- #wpcomm .wc-field-textarea .wpdiscuz-textarea-foot{border:0;padding:3px 0;width:97%;text-align:right;line-height:14px;margin:0 auto;border-top:1px dotted #ddd}
166
- #wpcomm .wc-field-textarea .wpdiscuz-textarea-foot .wpdiscuz-button{line-height:14px;display:inline-block;min-width:20px;width:auto;height:20px;padding:0;margin:2px 3px;cursor:pointer;border:0;float:none}
167
- #wpcomm .wc-field-textarea .wpdiscuz-textarea-foot label{float:none;display:inline-block}
168
- #wpcomm .wc-field-textarea .quicktags-toolbar{padding:0 3px 0 3px;text-align:left;min-height:30px}
169
- #wpcomm .wc-field-textarea .ed_button{width:auto;padding:3px;border:0;margin:5px 2px 8px 2px;background:#f7f7f7 none repeat scroll 0 0;box-shadow:0 1px 1px #cdcdcd;min-width:5%;color:#555;font-size:13px;line-height:16px;font-weight:normal;text-transform:lowercase;vertical-align:top;display:inline-block;font-family:"Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans",sans-serif}
170
  #wpcomm .wc-field-textarea input[type="button"].ed_button:focus,#wpcomm .wc-form-wrapper input[type="button"].ed_button:hover{background:#ededed!important}
171
- /* CAPTCHA */
172
- #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label{float:right;display:block;width:111px;text-align:right;padding:0;line-height:30px;}
173
- #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label .wc_captcha_img{display:inline!important;border:0;padding:0;margin:0;vertical-align:middle;box-sizing:content-box;width:80px;height:26px;border-bottom:2px solid #e6e6e6}
174
- #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label a{margin:0;display:inline;padding:0;text-decoration:none;height:auto;width:auto}
175
- #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-input{float:left;display:block;min-width:30px;width:calc(100% - 112px); line-height:30px;}
176
- #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-input input[type="text"]{width:100%;padding:3px 5px;height:28px;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label .wc_captcha_refresh_img{cursor:pointer}
178
- #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label .wc_captcha_refresh_img img{max-width:16px!important;max-height:16px!important;box-sizing:content-box;margin:0;display:inline!important;background-color:#e6e6e6;padding:5px;border:1px solid #e4e4e4;border-left:1px solid #d9d9d9;vertical-align:middle;}
179
- /* FORM ROWS and COLS */
180
- #wpcomm .wpd-form-row .wpd-form-col-full{width:100%;float:none;margin:0;text-align:left;padding:0;}
181
- #wpcomm .wpd-form-row .wpd-form-col-left{width:49%;float:left;margin:0;text-align:left;padding:0;}
182
- #wpcomm .wpd-form-row .wpd-form-col-right{width:49%;float:right;margin:0;text-align:right;padding:0;}
183
- #wpcomm .wpd-form-row .wpd-form-col-full .wpdiscuz-item{text-align:left;}
184
- #wpcomm .wpd-form-row .wpd-form-col-left .wpdiscuz-item{text-align:left;}
185
- #wpcomm .wpd-form-row .wpd-form-col-right .wpdiscuz-item{text-align:right;}
186
- /* FORM FIELDS */
 
 
187
  #wpcomm .wpdiscuz-item label.wpd-field-label{ float:none; }
188
- #wpcomm .wpd-form-row .wpdiscuz-item{width:100%;vertical-align:baseline;padding:5px 0px 3px 0px;position:relative;}
189
- #wpcomm .wpd-form-row .wpd-field{width:100%; line-height:20px; color:#777777; display:inline-block; float:none; clear:both; margin:0; box-sizing:border-box; padding:3px 5px 3px 5px; font-size:14px; border-radius:0; vertical-align:baseline;}
190
- #wpcomm .wpd-form-row .wpd-has-icon .wpd-field{padding-left:30px;}
191
- #wpcomm .wpd-form-row .wpd-has-desc .wpd-field{padding-right:30px;}
192
- #wpcomm .wpd-form-row .wpdiscuz-item .wpd-field-icon {display:inline-block;font-size:17px;line-height:17px;opacity:0.3;padding:0;margin:0px;position:absolute;top:12px;left:8px;width:20px;text-align:left;}
193
- #wpcomm .wpd-form-row .wpdiscuz-item .wpd-field-desc{display:inline-block;font-size:17px;line-height:17px;opacity:1;margin:0px;position:absolute;top:12px;right:8px;width:20px;text-align:right; border-left:1px solid #ccc; color:#aaa; padding:0px 5px; cursor:pointer;}
194
  #wpcomm .wpd-form-row .wpdiscuz-item input[type="text"],
195
  #wpcomm .wpd-form-row .wpdiscuz-item input[type="email"],
196
  #wpcomm .wpd-form-row .wpdiscuz-item input[type="url"],
@@ -200,19 +248,21 @@
200
  #wpcomm .wpd-form-row .wpdiscuz-item input[type="datetime-local"],
201
  #wpcomm .wpd-form-row .wpdiscuz-item input[type="month"],
202
  #wpcomm .wpd-form-row .wpdiscuz-item input[type="number"],
203
- #wpcomm .wpd-form-row .wpdiscuz-item input[type="time"]{height:32px;}
204
- #wpcomm .wpd-form-row .wpdiscuz-item textarea{height:72px;}
205
- #wpcomm .wc_notification_checkboxes input[type="checkbox"],#wpcomm .wc_notification_checkboxes input[type="radio"]{overflow:none;width:inherit;font-size:13px;padding:0;display:inline;clear:both;float:none;max-height:20px;margin:0 3px}
206
- .wpdiscuz_select{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC") #fefefe no-repeat scroll right center!important;border-radius:0;border:1px solid lightgray!important;box-shadow:none!important;height:28px!important;padding:3px 22px 3px 3px!important;font-size:13px!important;-moz-appearance:none!important;-webkit-appearance:none!important;outline:0 none!important;text-indent:.01px;text-overflow:""!important;width:100%!important;box-sizing:border-box!important;line-height:20px!important;clear:both;float:none!important;margin:0!important}
207
- #wpcomm .wc-field-submit{text-align:right;}
208
- #wpcomm .wc-field-submit input[type="button"]{margin:1px;border:#ddd 1px solid;font-size:13px;line-height:16px;padding:6px 15px;clear:both;float:none}
209
- #wpcomm .wpd-item-wrap{ text-align:left;}
210
- #wpcomm .wpd-item{ text-align:left;}
211
  #wpcomm .wpd-form-col-left .wpd-field-group .wpd-field-group-title, #wpcomm .wpd-form-col-right .wpd-field-group .wpd-field-group-title, #wpcomm .wpd-form-col-full .wpd-field-group .wpd-field-group-title{ font-size:13px; text-align:left; line-height:20px; padding: 5px 0; }
212
- #wpcomm .wpd-form-col-left .wpd-has-desc .wpd-field-group-title, #wpcomm .wpd-form-col-right .wpd-has-desc .wpd-field-group-title{ padding-right:35px;}
213
- /* CHECKBOX / RADIO BUTTONS */
 
 
 
214
  #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single{ border-bottom:none; text-align:right; }
215
- #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single .wpd-item{ margin:0px; padding:0px;}
216
  #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single .wpd-field{ height:20px; vertical-align:top; }
217
  #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single .wpd-field-label{ height:20px; vertical-align:top; }
218
  #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single{ border-bottom:none; }
@@ -225,131 +275,190 @@
225
  #wpcomm .wpd-field-radio .wpd-field, #wpcomm .wpd-field-checkbox .wpd-field { width:auto; height:25px; display:inline-block; float:left; padding:0px; line-height:20px; vertical-align:baseline; margin:0px 6px 0px 0px; }
226
  #wpcomm .wpd-field-radio .wpd-field-label, #wpcomm .wpd-field-checkbox .wpd-field-label{ width:auto; height:22px; display:inline-block; float:none; padding:0px; line-height:18px; font-size:12px; margin:0px; vertical-align:middle; }
227
  #wpcomm .wpd-form-row .wpd-form-col-full{}
228
- /* SELECT */
229
- #wpcomm .wpd-form-row .wpd-form-col-right .wpdiscuz-item.wpd-field-select{ text-align:left;}
230
- #wpcomm .wpdiscuz-item.wpd-field-select select.wpdiscuz_select{ height: 32px !important; margin: 5px 0 0 !important; max-width:400px!important;}
231
- #wpcomm .wpdiscuz-item.wpd-field-select.wpd-has-desc select.wpdiscuz_select{ width:calc(100% - 40px)!important;}
232
- #wpcomm .wpdiscuz-item.wpd-field-select .wpd-field-group-title { padding-top: 12px;}
233
- #wpcomm .wpdiscuz-item.wpd-field-select {padding: 7px 0 3px;}
234
- #wpcomm .wpdiscuz-item.wpd-field-select.wpd-has-desc .wpd-field-desc{ top:18px; }
235
 
 
 
 
 
 
 
 
236
  .wpd-custom-field{ display:table; width:100%; padding:1px 0px; line-height:20px; }
237
  .wpd-custom-field .fa-star{ font-size:1.2em; }
238
- .wpd-cf-label{ background: #f9f9f9; box-sizing: border-box!important; display:table-cell; font-size: 13px; opacity: 1; padding: 5px 10px; vertical-align: top; width: 29%; border-bottom:1px #f0f0f0 solid;}
239
- .wpd-cf-value{ display:table-cell; border-bottom:1px #f0f0f0 solid; width:69%; box-sizing:border-box!important; font-size:13px; vertical-align:top; opacity:0.7; padding: 5px 10px;}
240
  #wpcomm .wpd-top-custom-fields .wpd-custom-field.wpd-cf-rating .wpd-cf-label{ background:transparent; border:none; padding: 2px 10px 2px 2px; }
241
  #wpcomm .wpd-top-custom-fields .wpd-custom-field.wpd-cf-rating .wpd-cf-value{font-size: 16px; border-bottom:none; padding: 1px 10px; }
242
 
243
- /* RATING */
244
- #wpcomm .wpdiscuz-item.wpd-field-group.wpd-field-rating{ border-bottom:1px dotted #ddd; height:77px; margin-bottom:0px;}
245
- #wpcomm .wpdiscuz-item .wpdiscuz-rating {border: none; float: left; margin:0px; padding:5px 0px 5px 1px; margin-left:-5px;}
246
- #wpcomm .wpdiscuz-item .wpdiscuz-rating > input { visibility:hidden; position:absolute;}
247
- #wpcomm .wpdiscuz-item .wpdiscuz-rating > label:before { margin: 3px; line-height: 18px; font-size: 1.4em; cursor:pointer;}
248
- #wpcomm .wpdiscuz-item .wpdiscuz-rating > .half:before {position: absolute; cursor:pointer;}
249
  #wpcomm .wpdiscuz-item .wpdiscuz-rating > label { float: right; }
250
- #wpcomm .wpd-form-col-full .wpdiscuz-item.wpd-field-rating.wpd-has-desc .wpd-field-desc{ right:0px; top:0px; position:relative; font-size:14px; margin-left:5px; padding: 0 7px;}
251
- #wpcomm .wpd-form-col-full .wpdiscuz-item.wpd-field-rating.wpd-has-desc .wpd-field-desc i.fa{ font-size:17px;}
252
- #wpcomm .wpd-form-col-full .wpd-field-group .wpd-field-group-title{ display:inline-block; vertical-align:baseline; padding:0px 0px 2px 0px; margin-top:-2px;}
253
- #wpcomm .wpd-form-col-full .wpdiscuz-item .wpdiscuz-rating{ padding:0px 6px 0px 0px; vertical-align:middle; line-height: 14px;}
254
- #wpcomm .wpd-form-col-full .wpd-item-wrap{ display:inline-block; float:left; padding-right:7px; vertical-align:baseline; padding:0px 1px 1px 1px;}
255
- .wpdiscuz-stars-label{ line-height:20px; padding:10px 0px 2px 3px; font-size:14px;}
256
- .wpdiscuz-stars-wrapper{ display:block;}
257
- .wpdiscuz-stars-wrapper-inner{ position: absolute;}
258
- .wpdiscuz-activ-stars{ position: absolute; display: flex; font-size: 22px; top: 0; left:0;}
259
- .wpdiscuz-pasiv-stars{ font-size: 22px; display: flex;}
260
- .wpdiscuz-activ-stars{ overflow:hidden;}
261
- .wpdiscuz-pasiv-stars i.fa, .wpdiscuz-activ-stars i.fa{ padding:0px 2px; font-size:20px;}
262
- /* DATE */
263
- #wpcomm .wpd-form-row .wpd-field-date { height:77px;}
264
- #wpcomm .wpd-form-row .wpd-field-date .wpd-field-title{font-size: 13px; line-height: 20px; padding: 5px 0 8px 0px; text-align: left; padding-bottom: 8px;}
265
- #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field{padding-left:5px;}
266
- #wpcomm .wpd-form-row .wpd-field-date.wpd-has-desc .wpd-field{padding-right:5px;}
267
- #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field-icon{left:2px; top: 10px;}
268
- #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field-desc{top: 10px;}
269
- #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field-title{padding-left:26px;}
270
- #wpcomm .wpd-form-row .wpd-field-date.wpd-has-desc .wpd-field-title{padding-left:26px;}
271
-
272
- /* COLOR */
273
- #wpcomm .wpd-form-row .wpd-field-color { height:77px;}
274
- #wpcomm .wpd-form-row .wpd-field-color .wpd-field-title{font-size: 13px; line-height: 20px; padding: 5px 0 8px 0px; text-align: left; padding-bottom: 8px;}
275
- #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field{padding-left:5px;}
276
- #wpcomm .wpd-form-row .wpd-field-color.wpd-has-desc .wpd-field{padding-right:5px;}
277
- #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field-icon{left:2px; top: 10px;}
278
- #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field-desc{top: 10px;}
279
- #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field-title{padding-left:26px;}
280
- #wpcomm .wpd-form-row .wpd-field-color.wpd-has-desc .wpd-field-title{padding-left:26px;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
 
282
  /* TOOLTIP */
283
- #wpcomm div.wpd-field-desc {position: relative;display: inline;}
284
- #wpcomm div.wpd-field-desc span {position: absolute;width:200px;color: #FFFFFF; background: #333;height:auto;line-height: 17px;padding:8px 10px;font-size:12px;text-align: center;visibility: hidden;border-radius: 6px;}
285
- #wpcomm div.wpd-field-desc span:after { content: '';position: absolute;top: 100%;left: 50%; margin-left: -8px;width: 0; height: 0; border-top: 8px solid #333;border-right: 8px solid transparent; border-left: 8px solid transparent;}
286
- #wpcomm div:hover.wpd-field-desc span {visibility: visible;opacity: 1;bottom: 30px;left: 50%;margin-left: -95px;z-index: 999999;}
287
-
288
- #wpcomm span.wc_fb,a.wc_tw,a.wc_go,a.wc_vk,a.wc_ok {position: relative;display: inline;}
289
- #wpcomm span.wc_fb span,a.wc_tw span,a.wc_go span,a.wc_vk span,a.wc_ok span {position: absolute;width:200px;color: #FFFFFF; background: #333;height:auto;line-height: 17px;padding:8px 10px;font-size:12px;text-align: center;visibility: hidden;border-radius: 6px;}
290
- #wpcomm span.wc_fb span:after,a.wc_tw span:after,a.wc_go span:after,a.wc_vk span:after,a.wc_ok span:after { content: '';position: absolute;top: 100%;left: 50%; margin-left: -8px;width: 0; height: 0; border-top: 8px solid #333;border-right: 8px solid transparent; border-left: 8px solid transparent;}
291
- #wpcomm .wc_fb:hover span, #wpcomm .wc_go:hover span, #wpcomm .wc_tw:hover span, #wpcomm .wc_vk:hover span, #wpcomm .wc_ok:hover span {visibility: visible;opacity: 1;bottom: 30px;left: 50%;margin-left: -95px;z-index: 999999;}
292
-
293
- #wpcomm span.wc-vote-link{position: relative;display: inline;}
294
- #wpcomm span.wc-vote-link span{position: absolute;width:100px;color: #FFFFFF; background: #333;height:auto;line-height: 17px;padding:8px 10px;font-size:12px;text-align: center;visibility: hidden;border-radius: 6px;display: inline-block;}
295
- #wpcomm span.wc-vote-link span:after{ content: '';position: absolute;top: 100%;left: 50%; margin-left: -8px;width: 0; height: 0; border-top: 8px solid #333;border-right: 8px solid transparent; border-left: 8px solid transparent;}
296
- #wpcomm span:hover.wc-vote-link span{visibility: visible;opacity: 1;bottom: 30px;left: calc(50% - 50px);z-index: 999999;}
297
-
298
- #wpcomm span.wc-comment-img-link-wrap{position: relative;display: inline;}
299
- #wpcomm span.wc-comment-img-link-wrap span{position: absolute;width:200px;color: #FFFFFF; background: #333;height:auto;line-height: 17px;padding:8px 10px;font-size:12px;text-align: center;visibility: hidden;border-radius: 6px;bottom: 30px;left: 50%;margin-left: -95px;}
300
- #wpcomm span.wc-comment-img-link-wrap span:after{ content: '';position: absolute;top: 100%;left: 50%; margin-left: -8px;width: 0; height: 0; border-top: 8px solid #333;border-right: 8px solid transparent; border-left: 8px solid transparent;}
301
- #wpcomm span:hover.wc-comment-img-link-wrap span{opacity: 1;z-index: 999999;}
302
- #wpcomm span.wc-comment-img-link-wrap span.wc-comment-img-link-show{visibility: visible;}
303
  /* TOLTIP VALIDATOR */
304
- #wpcomm div.wpd-field-invalid {display: inline;}
305
- #wpcomm div.wpd-field-invalid span {position: absolute;max-width:200px;color: #FFFFFF;background: #d99;height:auto;line-height: 17px;padding:8px 10px;font-size:12px;text-align: center;visibility: hidden;border-radius: 6px;}
306
- #wpcomm div.wpd-field-invalid span:after { content: '';position: absolute;top: -7px;left: 15px;margin-left: -8px;width: 0;height: 0;border-top: 0px;border-right: 8px solid transparent;border-left: 8px solid transparent;border-bottom: 8px solid #d99;}
307
- #wpcomm div.wpd-field-invalid span {visibility: visible;opacity: 1;bottom: auto;top:calc(100% + 8px);left: 0;z-index: 999999;}
308
- /* EDIT COMMENT FORM */
309
- #wpcomm .wc-comment-right textarea.wc_edit_comment{height:auto; font-size:13px; width:99%; overflow-y:hidden; margin:5px 0px;}
310
- #wpcomm table.editcomment{ width:100%; border:none; }
311
- #wpcomm table.editcomment td.first{ width:35%;}
312
- #wpcomm table.editcomment .wpdiscuz-item.wpd-field-group{ height:auto; border:none;}
313
- #wpcomm table.editcomment td, #wpcomm table.editcomment th{ padding:2px 5px 5px 5px; border-top:none; border-bottom:1px solid #eee; border-left:none; border-right:none; text-align:left; font-size:13px; }
314
- #wpcomm table.editcomment input[type=checkbox].wpd-field,
315
- #wpcomm table.editcomment input[type=radio].wpd-field { width:auto; height:auto; display:inline-block; padding:0px; line-height:13px; vertical-align:baseline; margin:0px 2px 0px 0px; }
316
- #wpcomm table.editcomment label.wpd-field-label{ width:auto; clear:both; height:auto; display:inline-block; float:none; padding:0px; line-height:20px; font-size:13px; margin:0px 15px 0px 0px; vertical-align:top; }
317
- .wpdiscuz-edit-form-wrap{ display:block; margin:10px;}
318
- .wpd-cursor-pointer{cursor: pointer;}
319
- #wpcomm .wpdiscuz-item input[type=checkbox]:focus{line-height: 1;}
320
- .wpdiscuz-post-rating-wrap.wpd-custom-field{display: flex;flex-wrap: wrap;}
321
- .wpdiscuz-post-rating-wrap.wpd-custom-field > [class ^= wpdiscuz-post-rating-wrap-custom_field]{flex-basis: 25%;margin-bottom: 10px;}
322
-
323
- /* SPOILER */
324
- #wpcomm .wpdiscuz-spoiler-wrap{background-color: #eee;border: 1px solid #555;border-style: dashed;margin: 5px 0;}
325
- #wpcomm .wpdiscuz-spoiler-wrap .wpdiscuz-spoiler{padding: 5px;cursor: pointer;}
326
- #wpcomm .wpdiscuz-spoiler-wrap .wpdiscuz-spoiler .fa{margin: 0 5px;}
327
- #wpcomm .wpdiscuz-spoiler-wrap .wpdiscuz-spoiler-content{display: none;font-style: italic;padding: 5px;}
328
- #wpcomm .wpdiscuz-textarea-wrap textarea:focus{border: none!important;box-shadow: none;}
329
- #wpcomm .wpdiscuz-front-actions .wpdiscuz-sort-buttons{display: -webkit-flex;display: -moz-flex;display: -ms-flex;display: -o-flex;display: flex;justify-content: flex-end;-ms-align-items: center;align-items: center;}
330
- #wpcomm .wpdiscuz-front-actions .wpdiscuz-sort-buttons .wpdiscuz-sort-button{padding-top: 0;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  @media screen and (max-width: 1024px){
332
- .wpdiscuz-post-rating-wrap.wpd-custom-field > [class ^= wpdiscuz-post-rating-wrap-custom_field]{flex-basis: 33%;margin-bottom: 10px;}
333
  }
334
- @media screen and (max-width:650px){
335
- #wpcomm .wpdiscuz-subscribe-form-option{width:100%!important;padding:0!important}
336
- #wpcomm .wpdiscuz-subscribe-form-email{width:100%!important;padding:0!important;margin-top:5px}
337
- #wpcomm .wpdiscuz-subscribe-form-button{width:100%!important;padding:0!important}
338
- #wpcomm .wpdiscuz-subscribe-form-button input[type="submit"]{width:100%!important;margin-top:5px}
339
- #wpcomm .wpd-form-row .wpd-form-col-left{width:100%; float:none;}
340
- #wpcomm .wpd-form-row .wpd-form-col-right{width:100%; float:none;}
341
- #wpcomm .wc-field-comment .wc-field-avatararea{width:25px}
342
- #wpcomm .wc-field-comment .wc-field-avatararea .avatar{width:25px}
343
- #wpcomm .wc-field-comment .wc-field-textarea{margin-left:30px}
344
- #wpcomm .wc-form-footer{margin-left:30px}
 
 
345
  #wpcomm.wpdiscuz_no_avatar .wc-form-footer{margin-left:0}
346
- #wpcomm .wpd-form-col-left{width:100%;float:none;display:block}
347
- #wpcomm .wpd-form-col-right{width:100%;float:none;display:block;padding:0}
348
  #wpcomm .wc-field-submit input[type="button"]{max-width:200px}
349
- #wpcomm .wpd-form-row .wpdiscuz-item {width:100%;margin:0 auto;display:block;float:none}
350
- #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label{padding-left:0;width:115px}
351
  #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-input{width:calc(100% - 116px)}
352
  #wpcomm .wc-reply{margin-left:25px!important}
 
353
  #wpcomm .wc_comment_level-3{margin-left:0!important}
354
  #wpcomm .wc_comment_level-4{margin-left:0!important}
355
  #wpcomm .wc_comment_level-5{margin-left:0!important}
@@ -359,55 +468,49 @@
359
  #wpcomm .wc_comment_level-8{margin-left:0!important}
360
  #wpcomm .wc_comment_level-9{margin-left:0!important}
361
  #wpcomm .wc_comment_level-10{margin-left:0!important}
362
- #wpcomm .wc-comment-author a{ font-size:14px;}
 
 
363
  #wpcomm .wc-comment-text{font-size:13px!important}
364
- #wpcomm .wc-comment .wc-comment-left{float:none!important;margin-bottom:8px;width:100%!important}
365
  #wpcomm .wc-comment .wc-comment-right,#wpcomm .wc-reply .wc-comment-right{margin-left:0!important}
366
- #wpcomm .wc-comment .wc-comment-left .avatar{width:25px!important;height:25px!important;margin:0 5px 0 0!important;float:left!important;display:block!important}
367
- #wpcomm .wc-comment .wc-comment-left .wc-comment-label{font-size:13px;padding:6px 5px 5px 5px;line-height:14px;display:block-inline!important;margin-left:33px}
368
- .wpd-cf-label{ display:block; width: 100%; background: transparent; }
369
- .wpd-cf-value{ display:block; width:100%; background: #f9f9f9;border-bottom:1px solid #bbb;}
 
 
370
  #wpcomm .share_buttons_box{margin-top:9px}
371
- #wpcomm .wc_notification_checkboxes{text-align:right}
372
  #wpcomm .wc-field-submit{text-align:right}
373
- #wpcomm .wc-comment-label{ width:auto;}
374
- #wpcomm .wc-comment-label span{line-height:14px; padding:0px 2px;}
375
- #wpcomm .wc-comment-footer .wc-footer-left{ float:none; display:block; padding:2px 5px; text-align:left;}
376
- #wpcomm .wc-comment-footer .wc-footer-right{ float:none; display:block; padding:5px 5px 2px 5px; text-align:left;}
377
- #wpcomm .wc-comment-footer .wc-footer-right .wc-comment-date{ margin-left:0px;}
378
  #wpcomm .wc-comment-footer .wc-footer-left span{ margin-bottom:7px; }
379
- .wpdiscuz-post-rating-wrap.wpd-custom-field > [class ^= wpdiscuz-post-rating-wrap-custom_field]{flex-basis: 50%;margin-bottom: 10px;}
380
- #wpcomm .wc-toggle .wpdiscuz-children-button-text, #wpcomm .wc-toggle .wcsep{ display:none;}
381
  }
382
  @media screen and (max-width:420px){
383
  #wpcomm .wpdiscuz-sort-buttons,#wpcomm .wpdiscuz-sort-button{font-size:11px!important}
384
  #wpcomm .wc-share-link{line-height:30px}
385
  #wpcomm .wc-form-footer{margin-left:0}
386
- #wpcomm .wc-field-comment .wc-field-textarea{margin-left:0}
387
- #wpcomm .wc-field-comment .wc-field-avatararea .avatar{width:0;display:none}
388
- #wpcomm .wc-field-submit input[type="button"]{width:99%;font-size:10px;padding:5px 2px}
389
  .wpdiscuz_auth .wc-field-submit{width:100%!important}
390
- .wpdiscuz_auth .wc_notification_checkboxes{text-align:left!important}
391
- #wpcomm .wc-form-wrapper .ed_button{width:18%;padding:0;margin:3px 2px 3px 2px}
392
  #wpcomm .wc-field-comment .wc-field-textarea .wpdiscuz-quicktags-enabled .commentTextMaxLength{top:49px}
393
- #wpcomm .wc-comment-link{display: block; float: none; width: 100%;}
394
  .wpdiscuz-post-rating-wrap.wpd-custom-field > [class ^= wpdiscuz-post-rating-wrap-custom_field]{
395
- flex-basis: 100%;
396
- margin-bottom: 10px;
397
- }
398
  }
399
  #wpdiscuz-loading-bar.wpdiscuz-loading-bar:before{
400
- content: "";
401
- display: inline-block;
402
- width: 7px;
403
- height: 7px;
404
- background: #000;
405
- border-radius: 50%;
406
- animation: wpdLoading 1s ease infinite;
407
- box-shadow: 0 0 5px 1px #fff;
408
  }
 
409
  @keyframes wpdLoading{
410
- 0%{transform: translateX(0)}
411
- 50%{transform: translateX(50px)}
412
- 100%{transform: translateX(0)}
413
- }
 
 
 
1
+ /* wpDiscuz Main CSS stylesheet */
2
+ #comments{} #respond{} .comments-area{}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
+ /* HEADER */
5
+ #wc-comment-header{max-width:950px; padding:20px 5px 1px 5px; display:block; float:none; clear:both; font-size:18px; margin:0 auto;}
6
+ #wc_show_hide_loggedin_username{ max-width:950px; padding:10px 5px 5px 5px; font-size:13px; margin:0 auto;}
7
+ #wpcomm .wc-comment-bar{width:100%; padding:0; display:block}
8
+ #wpcomm .wc-comment-title{margin:0; line-height:18px; font-weight:bold; padding:15px 10px; font-size:13px; text-align:right; padding-bottom:10px}
9
+
10
+ /* WRAPPER & GENERAL RULES */
11
+ #wpcomm{max-width:950px; padding:1px 0 10px 0; border-top:#ddd solid 1px; margin:15px auto;}
12
+ #wpcomm *{box-sizing:border-box}
13
+ #wpcomm .clearfix{clear:both; }
14
+ #wpcomm .wpd-sticky{display: none; }
15
+ #wpcomm .wpd-private{display: none; }
16
+ #wpcomm i{margin: 0px;}
17
+ #wpcomm span {display:inline}
18
+ #wpcomm .wc-must-login{margin:0; font-size:14px; line-height:16px; padding:10px; text-align:center}
19
+ #wpcomm hr{background-color:rgba(0,0,0,0.1); border:0 none; height:1px; margin:10px auto}
20
+ #wpcomm .avatar{padding:0px; margin:0 auto; float:none; display:inline; width:100%; height:auto; border:none; border-radius:0%; box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2); }
21
+ #wpcomm .page-numbers{padding:2px 7px; font-size:14px; margin:20px 1px; line-height:33px; background:#fff}
22
  #wpcomm span.current{color:#fff}
 
 
23
  #wpcomm .wc-label a:focus{outline:0}
 
24
  #wpcomm .wpdiscuz-hidden{display:none}
25
  .wpdiscuz_top_clearing{clear:both}
26
  .wpdiscuz_clear{clear:both}
27
  .wpdiscuz_clear_right{clear:right}
28
  .wpdiscuz_clear_left{clear:left}
29
 
30
+
31
+ /* SORTING & SUBSCRIPTION BAR */
32
+ #wpcomm .wpdiscuz-front-actions .wpdiscuz-sort-buttons{padding-top: 3px; display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: -o-flex; display: flex; justify-content: flex-end; -ms-align-items: center; align-items: center; }
33
+ #wpcomm .wpdiscuz-front-actions .wpdiscuz-sort-buttons .wpdiscuz-sort-button{font-size: 13px; }
34
+ #wpcomm .wpdiscuz-front-actions .wpdiscuz-sort-buttons i{display: inline-block; margin: 0px 6px; }
35
+ #wpcomm .wpdiscuz-front-actions .wpdiscuz-sbs-wrap{float: left; }
36
+ #wpcomm .wpdiscuz-front-actions .wpdiscuz-sbs-wrap span{font-size: 14px; cursor: pointer; }
37
+ #wpcomm .wpdiscuz-subscribe-form-intro{font-size:14px; float:left; display:block; padding:3px 10px 3px 1px; line-height:20px; box-sizing:border-box; white-space:nowrap}
38
+ #wpcomm .wpdiscuz-subscribe-form-option{font-size:13px; float:left; display:block; padding-right:5px; box-sizing:border-box}
39
+ #wpcomm .wpdiscuz-subscribe-form-email{font-size:14px; float:left; display:block; padding:0 5px 0 0; box-sizing:border-box; width:30%}
40
+ #wpcomm .wpdiscuz-subscribe-form-button{font-size:14px; float:left; display:block; box-sizing:border-box}
41
+ #wpcomm .wpdiscuz-subscribe-form-email select{width:100%!important}
42
+ #wpcomm .wpdiscuz-subscribe-form-email input[type="email"]{font-size:13px!important; padding:3px!important; width:100%!important; height:auto!important; line-height:20px!important; box-sizing:border-box!important; clear:both; float:none; margin:0}
43
+ #wpcomm .wpdiscuz-subscribe-form-button input[type="submit"]{font-size:16px!important; min-height:29px!important; height:29px!important; padding:1px 3px 5px 3px!important; min-width:40px; line-height:14px!important; box-sizing:border-box!important; border:1px solid #ddd; clear:both; float:none; margin:0}
44
+
45
+ /* LIVE UPDATE NOTIFICATION BUTTONS */
46
+ #wpcomm .wc_new_comment_and_replies{margin:0; padding:0; width:100%; height:auto; background:transparent}
47
+ #wpcomm .wc_new_comment_and_replies .wc_new_comment{float:right; display:none; padding:3px 10px; font-size:12px; margin:1px 0 1px 3px; cursor:pointer; color:#fff; line-height:15px}
48
+ #wpcomm .wc_new_comment_and_replies .wc_new_reply{float:right; display:none; padding:3px 10px; font-size:12px; margin:1px 0 1px 1px; cursor:pointer; color:#fff; line-height:15px}
49
+
50
+ /* COMMENTS & REPLIES */
51
+ #wpcomm .wc-thread-wrapper{padding:10px 0px 10px 2px; margin-bottom:10px; margin-top: 10px;}
52
+ #wpcomm .wc-comment .wc-reply {margin-top:15px; margin-bottom:0; margin-left:99px}
53
+ #wpcomm .wc-comment .wc-comment-left{width:72px; float:left; text-align:center; line-height:16px; position: relative;}
54
+ #wpcomm .wc-comment .wc-comment-right{margin-left:90px; padding:0px; display:block; margin-bottom: 10px; }
55
+ #wpcomm .wc-reply .wc-comment-left{width:50px; float:left; text-align:center; line-height:16px}
56
+ #wpcomm .wc-reply .wc-comment-right{margin-left:65px; padding:0px; display:block; }
57
+ #wpcomm .wc-comment .wc-comment-left .wpd-xborder{ position: absolute; height: 20px; border-right:1px solid #ddd; width: 100%; top:29px; right: -17px; }
58
+ #wpcomm .wc-reply .wc-comment-left .wpd-xborder{display: none; }
59
+ #wpcomm .wc_comment_level-3{margin-left:40px!important}
60
+ #wpcomm .wc_comment_level-4{margin-left:40px!important}
61
+ #wpcomm .wc_comment_level-5{margin-left:40px!important}
62
+
63
+ /* header */
64
+ #wpcomm .wc-comment-header{margin-bottom:7px; height:40px; }
65
+ #wpcomm .wc-reply .wc-comment-header{margin-bottom:7px; height:34px; }
66
+ #wpcomm .wc-sticky-comment.wc-comment .wc-comment-left .wpd-xborder{display: none; }
67
+ #wpcomm .wc-sticky-comment.wc-comment .wc-comment-header .wpd-sticky{display:inline-block; font-size: 14px; padding: 4px 8px 3px 8px; margin: 1px 4px; line-height: 16px; }
68
+ #wpcomm .wc-sticky-comment.wc-comment .wc-reply .wc-comment-header .wpd-sticky{display: none; }
69
+ #wpcomm .wc-private-comment.wc-comment .wc-comment-left .wpd-xborder{display: none; }
70
+ #wpcomm .wc-private-comment.wc-comment .wc-comment-header .wpd-private{display:inline-block; font-size: 14px; padding: 4px 8px 3px 8px; margin: 1px 4px; line-height: 16px; }
71
+ #wpcomm .wc-private-comment.wc-comment .wc-reply .wc-comment-header .wpd-private{display: none; }
72
+ #wpcomm .wc-comment-link{font-size:12px; float:right; text-align:right; line-height:20px; padding:0 0 0 10px; margin: 7px 5px 5px 5px; }
73
+ #wpcomm .wc-reply .wc-comment-link{margin:5px; }
74
+ #wpcomm .wc-comment-link .wpf-cta{ cursor:pointer; font-size:14px; padding:4px 2px 3px 2px; min-width:24px; text-align:center; display:inline-block; margin:1px; line-height:16px; }
75
+ #wpcomm .wc-reply .wc-comment-link .wpf-cta {font-size: 13px; padding: 3px 3px 3px 3px; line-height: 15px; }
76
+
77
+ /* author */
78
+ #wpcomm .wc-comment-author{font-size:16px; width:75%; float:left; white-space:normal; text-align:left; padding:9px 0px 2px 15px; }
79
+ #wpcomm .wc-reply .wc-comment-author{font-size:15px; width:40%; float:left; white-space:normal; text-align:left; padding:8px 0px 2px 10px; }
80
+ #wpcomm .wc-comment-author a{font-size:16px; text-decoration:none; line-height:25px; width: 100%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; display: inline-block;}
81
+ #wpcomm .wc-reply .wc-comment-author a{font-size:14px; text-decoration:none; line-height:18px; }
82
+ #wpcomm .wc-comment-label{color:#fff; width:100%; padding:0px 0px 0px 0px; font-size:12px; margin:8px auto; text-align:center; display:table; line-height:16px; -webkit-box-shadow:0px 10px 9px -7px rgba(219,219,219,1); -moz-box-shadow:0px 10px 9px -7px rgba(219,219,219,1); box-shadow:0px 10px 9px -7px rgba(219,219,219,1); }
83
+ #wpcomm .wc-comment-label span{ display:inline-block; padding:3px 0px 7px 0px; font-size:12px; }
84
+ #wpcomm .wc-reply .wc-comment-label span{ font-size:11px; }
85
+ #wpcomm .wc-comment-date{font-size:12px; color:#999; text-align:left; white-space:nowrap; line-height:23px}
86
+ #wpcomm .wc-reply .wc-comment-date{font-size:11px; }
87
+ #wpcomm .wc-comment-date i{padding-right:5px; }
88
+
89
+ /* content */
90
+ #wpcomm .wc-comment-right .wc-comment-text{text-align:left; padding:5px 10px; min-height: 50px; font-size: 14px; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; word-wrap:break-word}
91
+ #wpcomm .wc-reply .wc-comment-right .wc-comment-text{line-height:20px; font-size: 13px; }
92
+ #wpcomm .wc-comment-right .wc-comment-text img{max-width:99%!important; height:auto; max-height:1000px; }
93
+ #wpcomm .wc-comment-right .wc-comment-text iframe{max-width:99%!important; }
94
+ #wpcomm .wc-comment-right .wc-comment-text p{margin-bottom:10px}
95
+ #wpcomm .wc-comment-right .wc-comment-text ol li,#wpcomm .wc-comment-text ul li{margin-left:20px}
96
+ #wpcomm .wc-comment-right .wc-comment-text blockquote{font-size:inherit; line-height:inherit; margin-bottom:1em; margin-left:1em; padding-left:1em}
97
+
98
+ /* footer */
99
+ #wpcomm .wc-comment-footer{font-size:13px; font-weight:normal; color:#999; padding:2px 10px 10px 10px; margin-top:0px; min-height:28px; text-align:left}
100
+ #wpcomm .wc-reply .wc-comment-footer{padding-top:0px; }
101
+ #wpcomm .wc-comment-footer .wc-footer-left{ float:left; display:block; }
102
+ #wpcomm .wc-comment-footer .wc-footer-right{ float:right; display:block; margin-top:0px; line-height:22px; }
103
+ #wpcomm .wc-comment-footer .wc-footer-right .wc-comment-date{ display:inline-block; margin-left:10px; }
104
+ #wpcomm .wc-comment-footer .wc-footer-right .wc-toggle{float:right; text-align:right; padding-right:0; margin-right:0; margin-left:10px; cursor:pointer; font-size:13px; white-space:nowrap; line-height:24px}
105
+ #wpcomm .wc-comment-footer .wc-vote-link{display:inline-block; text-align:center; font-size:13px; height:auto; padding:2px 4px; line-height:17px; cursor:pointer; font-weight: 300; }
106
+ #wpcomm .wc-comment-footer .wc-vote-result{display:inline-block; text-align:center; font-size:15px; height:auto; padding:2px 3px; line-height:17px; }
107
+ #wpcomm .wc-comment-footer .wc-vote-result.wc-vote-result-like{padding:2px 4px 2px 4px; border-radius:0%; border-right:none; margin-left:1px; }
108
+ #wpcomm .wc-comment-footer .wc-vote-result.wc-positive{color:#00bc74; border-right:none; text-align:center; margin-left:2px; }
109
+ #wpcomm .wc-comment-footer .wc-vote-result.wc-vote-result-dislike{padding:2px 4px 2px 4px; border-radius:0%;margin-right:1px; }
110
+ #wpcomm .wc-comment-footer .wc-vote-result.wc-negative{color:#ff5959; border-left:none; text-align:center; margin-right:2px; }
111
+ #wpcomm .wc-comment-footer .wc-vote-result.wc-vote-result-like{ border-right: 1px solid #CCCCCC; margin-right: 4px; padding-right: 8px;}
112
+ #wpcomm .wc-comment-footer .wc-vote-link.wc-down i.fa-thumbs-down{-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; -webkit-transform: scale(-1, 1); -ms-transform: scale(-1, 1); transform: scale(-1, 1);}
113
+ #wpcomm .wc-comment-footer .wc-vote-link.wc-up.wc-separate{ color:#00bc74;}
114
+ #wpcomm .wc-comment-footer .wc-vote-link.wc-down.wc-separate{ color:#ff5959;}
115
+ #wpcomm .wc-comment-footer .wc-vote-link i.fa-thumbs-up,
116
+ #wpcomm .wc-comment-footer .wc-vote-link i.fa-thumbs-down{font-size: 16px;}
117
+ #wpcomm .wc-reply .wc-comment-footer .wc-vote-link i.fa-thumbs-up,
118
+ #wpcomm .wc-reply .wc-comment-footer .wc-vote-link i.fa-thumbs-down{font-size: 14px;}
119
+ #wpcomm .wc-comment-footer .wc-vote-link i.fa-smile-o,
120
+ #wpcomm .wc-comment-footer .wc-vote-link i.fa-frown-o{font-size: 20px;}
121
+ #wpcomm .wc-reply .wc-comment-footer .wc-vote-link i.fa-smile-o,
122
+ #wpcomm .wc-reply .wc-comment-footer .wc-vote-link i.fa-frown-o{font-size: 16px;}
123
+ #wpcomm .wc-footer-left .wc-cta-button,
124
+ #wpcomm .wc-footer-left .wc-cta-button-x{ font-size:14px; cursor:pointer; text-transform:none; height:auto; padding: 4px 8px 4px 8px; line-height:18px; display:inline-block; margin-right:5px; }
125
+ #wpcomm .wc-footer-left .wc-cta-button-x,
126
+ #wpcomm .wc-footer-left .wc-cta-button i{ display: none; }
127
+ #wpcomm .wc-footer-left .wc-reply-button{ margin-left:5px; }
128
+ #wpcomm .wc-reply .wc-footer-left .wc-cta-button,
129
+ #wpcomm .wc-reply .wc-footer-left .wc-cta-button-x{ font-size:12px; padding: 3px 8px 2px 8px; line-height:18px; }
130
+ #wpcomm .wc-reply .wc-footer-left .wc-cta-button i{ font-size: 12px; }
131
+ #wpcomm .wc-reply .wc-footer-left .wc-cta-button-x{ display: none; }
132
+ #wpcomm .wpdiscuz-children {display:inline-block; padding-left:5px; }
133
+ #wpcomm .wc-toggle i.fa-chevron-down{display:inline-block; padding-left:5px; }
134
+ #wpcomm .wc-toggle i.fa-chevron-up{display:inline-block; padding-left:5px; }
135
+
136
+
137
  /* COMMENT FORM */
138
+ #wpcomm form {margin:0!important; padding:0!important; background:0; border:0; width:auto!important}
139
+ #wpcomm form div{margin:0; }
140
+ #wpcomm form .wpdiscuz-item{display:block; height:auto; border-radius:0; box-shadow:none; }
141
+ #wpcomm .wc-form-wrapper{padding: 0px 1px 0px 0px; margin-top:0;}
142
+ #wpcomm .wc-comment .wc-form-wrapper{margin:10px 0px 20px 99px; clear:both; padding: 5px 0px 10px 0px; }
143
+ #wpcomm .wc-comment .wc-reply .wc-form-wrapper.wc-secondary-form-wrapper{margin-left: 0px;}
144
+ #wpcomm .wc_comm_form .wc-field-comment{clear:both; margin:5px auto 1px auto;}
145
+ #wpcomm .wc_comm_form .wc-field-comment .wc-field-avatararea{width:75px; float:left}
146
+ #wpcomm .wc_comm_form.wc_secondary_form{clear:both}
147
+ #wpcomm .wc_comm_form.wc-secondary-form-wrapper .wc-field-comment .wc-field-avatararea{width: 48px; }
148
+ #wpcomm .wc_comm_form.wc-secondary-form-wrapper .wc-field-comment .wc-field-textarea {margin-left: 62px; }
149
+ #wpcomm .wc_comm_form.wc-secondary-form-wrapper .wc-field-textarea textarea{height:50px; min-height:50px!important}
150
+ #wpcomm .wc-form-footer{display:none; margin-left:94px; margin-bottom: 20px; }
151
+ #wpcomm .wc-secondary-form-wrapper .wc-form-footer{display:none; margin-left:63px}
152
+ #wpcomm.wpdiscuz_no_avatar .wc-form-footer{margin-left:0}
153
+
154
+ /* COMMENT EDIT FORM */
155
+ #wpcomm .wc_cancel_edit{display:none}
156
+ #wpcomm .wc_save_wrap{text-align:right; }
157
+ #wpcomm .wc-comment-right textarea.wc_edit_comment{height:auto; font-size:13px; width:99%; overflow-y:hidden; margin:5px 0px; }
158
+ #wpcomm table.editcomment{ width:100%; border:none; }
159
+ #wpcomm table.editcomment td.first{ width:35%; }
160
+ #wpcomm table.editcomment .wpdiscuz-item.wpd-field-group{ height:auto; border:none; }
161
+ #wpcomm table.editcomment td, #wpcomm table.editcomment th{ padding:2px 5px 5px 5px; border-top:none; border-bottom:1px solid #eee; border-left:none; border-right:none; text-align:left; font-size:13px; }
162
+ #wpcomm table.editcomment input[type=checkbox].wpd-field,
163
+ #wpcomm table.editcomment input[type=radio].wpd-field { width:auto; height:auto; display:inline-block; padding:0px; line-height:13px; vertical-align:baseline; margin:0px 2px 0px 0px; }
164
+ #wpcomm table.editcomment label.wpd-field-label{ width:auto; clear:both; height:auto; display:inline-block; float:none; padding:0px; line-height:20px; font-size:13px; margin:0px 15px 0px 0px; vertical-align:top; }
165
+ .wpdiscuz-edit-form-wrap{ display:block; margin:10px; }
166
+ .wpd-cursor-pointer{cursor: pointer; }
167
+ #wpcomm .wpdiscuz-item input[type=checkbox]:focus{line-height: 1; }
168
+ .wpdiscuz-post-rating-wrap.wpd-custom-field{display: flex; flex-wrap: wrap; }
169
+ .wpdiscuz-post-rating-wrap.wpd-custom-field > [class ^= wpdiscuz-post-rating-wrap-custom_field]{flex-basis: 25%; margin-bottom: 10px; }
170
+ #wpcomm #wpdiscuz-edit-form .wpdiscuz-textarea-wrap{padding:0; margin:0; background:transparent; position: relative; border: none; }
171
+
172
+ /* COMMENT FORM | TEXTAREA */
173
+ #wpcomm .wc-field-textarea{margin-left:94px; position:relative; margin-bottom:4px; }
174
+ #wpcomm .wc-field-textarea textarea{display:inline; width:100%; height:75px; min-height:75px!important; border:none!important; resize:none; padding:10px; box-sizing:border-box; border-radius:0; font-size:14px; color:#777; line-height:20px; }
175
+ #wpcomm .wc-field-textarea .commentTextMaxLength{display:none; font-size:11px; color:#aaa; position:absolute; top:3px; right:5px}
176
  #wpcomm .wc-field-textarea .wpdiscuz-quicktags-enabled .commentTextMaxLength{top:39px}
177
  #wpcomm .wc-field-textarea .commentTextMaxLength.left10{color:#f00}
178
+ #wpcomm .wc-field-textarea .wpdiscuz-textarea-wrap {padding:0; margin:0; background:transparent; }
179
+ #wpcomm .wc-field-textarea .wpdiscuz-textarea-wrap textarea {margin-bottom : 0 !important; }
180
+ #wpcomm .wc-field-textarea .wpdiscuz-textarea-wrap textarea:focus{border: none!important; box-shadow: none; }
181
+ #wpcomm .wc-field-textarea .wpdiscuz-textarea-foot{border:0; padding:3px 0; width:97%; text-align:right; line-height:14px; margin:0 auto; border-top:1px dotted #ddd}
182
+ #wpcomm .wc-field-textarea .wpdiscuz-textarea-foot .wpdiscuz-button{line-height:14px; display:inline-block; min-width:20px; width:auto; height:20px; padding:0; margin:2px 3px; cursor:pointer; border:0; float:none}
183
+ #wpcomm .wc-field-textarea .wpdiscuz-textarea-foot label{float:none; display:inline-block}
184
+ #wpcomm .wc-field-textarea .quicktags-toolbar{padding:0 3px 0 3px; text-align:left; min-height:30px}
185
+ #wpcomm .wc-field-textarea .ed_button{width:auto; padding:3px; border:0; margin:5px 2px 8px 2px; background:#f7f7f7 none repeat scroll 0 0; box-shadow:0 1px 1px #cdcdcd; min-width:5%; color:#555; font-size:13px; line-height:16px; font-weight:normal; text-transform:lowercase; vertical-align:top; display:inline-block; font-family:"Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans",sans-serif}
186
  #wpcomm .wc-field-textarea input[type="button"].ed_button:focus,#wpcomm .wc-form-wrapper input[type="button"].ed_button:hover{background:#ededed!important}
187
+
188
+ /* COMMENT FORM | BUTTONS */
189
+ #wpcomm button,
190
+ #wpcomm input[type="button"],
191
+ #wpcomm input[type="reset"],
192
+ #wpcomm input[type="submit"]{ vertical-align: bottom; border-radius: 0px; font-family: sans-serif; font-weight: normal; letter-spacing: normal; line-height: 1em; padding: 8px 20px; margin:0px; box-shadow: none; text-transform: none; font-size: 14px; }
193
+ #wpcomm button:hover,
194
+ #wpcomm button:focus,
195
+ #wpcomm input[type="button"]:hover,
196
+ #wpcomm input[type="button"]:focus,
197
+ #wpcomm input[type="reset"]:hover,
198
+ #wpcomm input[type="reset"]:focus,
199
+ #wpcomm input[type="submit"]:hover,
200
+ #wpcomm input[type="submit"]:focus{ opacity: 1; }
201
+ #wpcomm .wc-field-submit{padding:7px 0 0 5px; clear:left}
202
+ #wpcomm .wc-load-more-submit-wrap{width:100%; text-align:center; margin-bottom:20px; margin-top:25px}
203
+ #wpcomm .wc-load-more-submit{width:auto!important; font-size: 14px; padding:10px 30px; text-align:center; cursor:pointer}
204
+ #wpcomm .wpd_label, #wpcomm .wpd_label{margin:0px; padding: 0px;display:inline-block;}
205
+ #wpcomm .wpd_label, #wpcomm .wpd_label span{display: inline-block}
206
+ #wpcomm .wpd_label input[type="checkbox"].wpd_label__checkbox{display:none; }
207
+ #wpcomm .wpd_label__checkbox { display: none; }
208
+ #wpcomm .wpd_label__check { display: inline-block; border: 0px; border-radius: 0; vertical-align: middle; cursor: pointer; text-align: center; margin:0px 5px 0px 0px; }
209
+ #wpcomm .wpd_label__check i.wpdicon{font-size: 17px; line-height: 21px; padding: 4px 5px; width: 34px; margin: 0px; }
210
+ #wpcomm .wpd_label__check i.wpdicon-on{display: none; color: #00b38f; border: 1px solid #b5e5db; background-color: #F6FFFD; }
211
+ #wpcomm .wpd_label__check i.wpdicon-off{display: inline-block; color: #aaaaaa; border: 1px solid #dddddd; background-color: #F9F9F9; }
212
+ #wpcomm .wpd_label__check i.wpdicon:hover{}
213
+ #wpcomm .wpd_label__checkbox:checked + .wpd_label__text .wpd_label__check {}
214
+ #wpcomm .wpd_label__checkbox:checked + .wpd_label__text .wpd_label__check .wpdicon-on{display: inline-block; }
215
+ #wpcomm .wpd_label__checkbox:checked + .wpd_label__text .wpd_label__check .wpdicon-off{display:none; }
216
+
217
+ /* COMMENT FORM | CAPTCHA */
218
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label{float:right; display:block; width:111px; text-align:right; padding:0; line-height:30px; }
219
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label .wc_captcha_img{display:inline!important; border:0; padding:0; margin:0; vertical-align:middle; box-sizing:content-box; width:80px; height:26px; border-bottom:2px solid #e6e6e6}
220
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label a{margin:0; display:inline; padding:0; text-decoration:none; height:auto; width:auto}
221
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-input{float:left; display:block; min-width:30px; width:calc(100% - 112px); line-height:30px; }
222
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-input input[type="text"]{width:100%; padding:3px 5px; height:28px; }
223
  #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label .wc_captcha_refresh_img{cursor:pointer}
224
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label .wc_captcha_refresh_img img{max-width:16px!important; max-height:16px!important; box-sizing:content-box; margin:0; display:inline!important; background-color:#e6e6e6; padding:5px; border:1px solid #e4e4e4; border-left:1px solid #d9d9d9; vertical-align:middle; }
225
+
226
+ /* COMMENT FORM | ROWS and COLS */
227
+ #wpcomm .wpd-form-row .wpd-form-col-full{width:100%; float:none; margin:0; text-align:left; padding:0; }
228
+ #wpcomm .wpd-form-row .wpd-form-col-left{width:49%; float:left; margin:0; text-align:left; padding:0; }
229
+ #wpcomm .wpd-form-row .wpd-form-col-right{width:49%; float:right; margin:0; text-align:right; padding:0; }
230
+ #wpcomm .wpd-form-row .wpd-form-col-full .wpdiscuz-item{text-align:left; }
231
+ #wpcomm .wpd-form-row .wpd-form-col-left .wpdiscuz-item{text-align:left; }
232
+ #wpcomm .wpd-form-row .wpd-form-col-right .wpdiscuz-item{text-align:right; }
233
+
234
+ /* COMMENT FORM | FIELDS */
235
  #wpcomm .wpdiscuz-item label.wpd-field-label{ float:none; }
236
+ #wpcomm .wpd-form-row .wpdiscuz-item{width:100%; vertical-align:baseline; padding:5px 0px 3px 0px; position:relative; }
237
+ #wpcomm .wpd-form-row .wpd-field{width:100%; line-height:20px; color:#777777; display:inline-block; float:none; clear:both; margin:0; box-sizing:border-box; padding:3px 5px 3px 5px; font-size:14px; border-radius:0; vertical-align:baseline; }
238
+ #wpcomm .wpd-form-row .wpd-has-icon .wpd-field{padding-left:30px; }
239
+ #wpcomm .wpd-form-row .wpd-has-desc .wpd-field{padding-right:30px; }
240
+ #wpcomm .wpd-form-row .wpdiscuz-item .wpd-field-icon {display:inline-block; font-size:17px; line-height:17px; opacity:0.3; padding:0; margin:0px; position:absolute; top:12px; left:8px; width:20px; text-align:left; }
241
+ #wpcomm .wpd-form-row .wpdiscuz-item .wpd-field-desc{display:inline-block; font-size:17px; line-height:17px; opacity:1; margin:0px; position:absolute; top:12px; right:8px; width:20px; text-align:right; border-left:1px solid #ccc; color:#aaa; padding:0px 5px; cursor:pointer; }
242
  #wpcomm .wpd-form-row .wpdiscuz-item input[type="text"],
243
  #wpcomm .wpd-form-row .wpdiscuz-item input[type="email"],
244
  #wpcomm .wpd-form-row .wpdiscuz-item input[type="url"],
248
  #wpcomm .wpd-form-row .wpdiscuz-item input[type="datetime-local"],
249
  #wpcomm .wpd-form-row .wpdiscuz-item input[type="month"],
250
  #wpcomm .wpd-form-row .wpdiscuz-item input[type="number"],
251
+ #wpcomm .wpd-form-row .wpdiscuz-item input[type="time"]{height:32px; }
252
+ #wpcomm .wpd-form-row .wpdiscuz-item textarea{height:72px; }
253
+ .wpdiscuz_select{background:url("data:image/png; base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC") #fefefe no-repeat scroll right center!important; border-radius:0; border:1px solid lightgray!important; box-shadow:none!important; height:28px!important; padding:3px 22px 3px 3px!important; font-size:13px!important; -moz-appearance:none!important; -webkit-appearance:none!important; outline:0 none!important; text-indent:.01px; text-overflow:""!important; width:100%!important; box-sizing:border-box!important; line-height:20px!important; clear:both; float:none!important; margin:0!important}
254
+ #wpcomm .wc-field-submit{text-align:right; }
255
+ #wpcomm .wc-field-submit input[type="button"]{margin:1px; border:#ddd 1px solid; font-size:13px; line-height:16px; padding:6px 15px; clear:both; float:none}
256
+ #wpcomm .wpd-item-wrap{ text-align:left; }
257
+ #wpcomm .wpd-item{ text-align:left; }
 
258
  #wpcomm .wpd-form-col-left .wpd-field-group .wpd-field-group-title, #wpcomm .wpd-form-col-right .wpd-field-group .wpd-field-group-title, #wpcomm .wpd-form-col-full .wpd-field-group .wpd-field-group-title{ font-size:13px; text-align:left; line-height:20px; padding: 5px 0; }
259
+ #wpcomm .wpd-form-col-left .wpd-has-desc .wpd-field-group-title, #wpcomm .wpd-form-col-right .wpd-has-desc .wpd-field-group-title{ padding-right:35px; }
260
+ #wpcomm .wc-comment-right .wpd-top-custom-fields{ padding:5px 10px 15px 10px; }
261
+ #wpcomm .wc-comment-right .wpd-bottom-custom-fields{ padding:5px 10px; margin-bottom:20px; }
262
+
263
+ /* COMMENT FORM | CHECKBOX / RADIO */
264
  #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single{ border-bottom:none; text-align:right; }
265
+ #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single .wpd-item{ margin:0px; padding:0px; }
266
  #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single .wpd-field{ height:20px; vertical-align:top; }
267
  #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single .wpd-field-label{ height:20px; vertical-align:top; }
268
  #wpcomm .wpdiscuz-item.wpd-field-checkbox.wpd-field-single{ border-bottom:none; }
275
  #wpcomm .wpd-field-radio .wpd-field, #wpcomm .wpd-field-checkbox .wpd-field { width:auto; height:25px; display:inline-block; float:left; padding:0px; line-height:20px; vertical-align:baseline; margin:0px 6px 0px 0px; }
276
  #wpcomm .wpd-field-radio .wpd-field-label, #wpcomm .wpd-field-checkbox .wpd-field-label{ width:auto; height:22px; display:inline-block; float:none; padding:0px; line-height:18px; font-size:12px; margin:0px; vertical-align:middle; }
277
  #wpcomm .wpd-form-row .wpd-form-col-full{}
 
 
 
 
 
 
 
278
 
279
+ /* COMMENT FORM | SELECT */
280
+ #wpcomm .wpd-form-row .wpd-form-col-right .wpdiscuz-item.wpd-field-select{ text-align:left; }
281
+ #wpcomm .wpdiscuz-item.wpd-field-select select.wpdiscuz_select{ height: 32px !important; margin: 5px 0 0 !important; max-width:400px!important; }
282
+ #wpcomm .wpdiscuz-item.wpd-field-select.wpd-has-desc select.wpdiscuz_select{ width:calc(100% - 40px)!important; }
283
+ #wpcomm .wpdiscuz-item.wpd-field-select .wpd-field-group-title { padding-top: 12px; }
284
+ #wpcomm .wpdiscuz-item.wpd-field-select {padding: 7px 0 3px; }
285
+ #wpcomm .wpdiscuz-item.wpd-field-select.wpd-has-desc .wpd-field-desc{ top:18px; }
286
  .wpd-custom-field{ display:table; width:100%; padding:1px 0px; line-height:20px; }
287
  .wpd-custom-field .fa-star{ font-size:1.2em; }
288
+ .wpd-cf-label{ background: #f9f9f9; box-sizing: border-box!important; display:table-cell; font-size: 13px; opacity: 1; padding: 5px 10px; vertical-align: top; width: 29%; border-bottom:1px #f0f0f0 solid; }
289
+ .wpd-cf-value{ display:table-cell; border-bottom:1px #f0f0f0 solid; width:69%; box-sizing:border-box!important; font-size:13px; vertical-align:top; opacity:0.7; padding: 5px 10px; }
290
  #wpcomm .wpd-top-custom-fields .wpd-custom-field.wpd-cf-rating .wpd-cf-label{ background:transparent; border:none; padding: 2px 10px 2px 2px; }
291
  #wpcomm .wpd-top-custom-fields .wpd-custom-field.wpd-cf-rating .wpd-cf-value{font-size: 16px; border-bottom:none; padding: 1px 10px; }
292
 
293
+ /* COMMENT FORM | RATING */
294
+ #wpcomm .wpdiscuz-item.wpd-field-group.wpd-field-rating{ border-bottom:1px dotted #ddd; height:77px; margin-bottom:0px; }
295
+ #wpcomm .wpdiscuz-item .wpdiscuz-rating {border: none; float: left; margin:0px; padding:5px 0px 5px 1px; margin-left:-5px; }
296
+ #wpcomm .wpdiscuz-item .wpdiscuz-rating > input { visibility:hidden; position:absolute; }
297
+ #wpcomm .wpdiscuz-item .wpdiscuz-rating > label:before { margin: 3px; line-height: 18px; font-size: 1.4em; cursor:pointer; }
298
+ #wpcomm .wpdiscuz-item .wpdiscuz-rating > .half:before {position: absolute; cursor:pointer; }
299
  #wpcomm .wpdiscuz-item .wpdiscuz-rating > label { float: right; }
300
+ #wpcomm .wpd-form-col-full .wpdiscuz-item.wpd-field-rating.wpd-has-desc .wpd-field-desc{ right:0px; top:0px; position:relative; font-size:14px; margin-left:5px; padding: 0 7px; }
301
+ #wpcomm .wpd-form-col-full .wpdiscuz-item.wpd-field-rating.wpd-has-desc .wpd-field-desc i.fa{ font-size:17px; }
302
+ #wpcomm .wpd-form-col-full .wpd-field-group .wpd-field-group-title{ display:inline-block; vertical-align:baseline; padding:0px 0px 2px 0px; margin-top:-2px; }
303
+ #wpcomm .wpd-form-col-full .wpdiscuz-item .wpdiscuz-rating{ padding:0px 6px 0px 0px; vertical-align:middle; line-height: 14px; }
304
+ #wpcomm .wpd-form-col-full .wpd-item-wrap{ display:inline-block; float:left; padding-right:7px; vertical-align:baseline; padding:0px 1px 1px 1px; }
305
+ .wpdiscuz-stars-label{ line-height:20px; padding:10px 0px 2px 3px; font-size:14px; }
306
+ .wpdiscuz-stars-wrapper{ display:block; }
307
+ .wpdiscuz-stars-wrapper-inner{ position: absolute; }
308
+ .wpdiscuz-activ-stars{ position: absolute; display: flex; font-size: 22px; top: 0; left:0; }
309
+ .wpdiscuz-pasiv-stars{ font-size: 22px; display: flex; }
310
+ .wpdiscuz-activ-stars{ overflow:hidden; }
311
+ .wpdiscuz-pasiv-stars i.fa, .wpdiscuz-activ-stars i.fa{ padding:0px 2px; font-size:20px; }
312
+
313
+ /* COMMENT FORM | DATE */
314
+ #wpcomm .wpd-form-row .wpd-field-date { height:77px; }
315
+ #wpcomm .wpd-form-row .wpd-field-date .wpd-field-title{font-size: 13px; line-height: 20px; padding: 5px 0 8px 0px; text-align: left; padding-bottom: 8px; }
316
+ #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field{padding-left:5px; }
317
+ #wpcomm .wpd-form-row .wpd-field-date.wpd-has-desc .wpd-field{padding-right:5px; }
318
+ #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field-icon{left:2px; top: 10px; }
319
+ #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field-desc{top: 10px; }
320
+ #wpcomm .wpd-form-row .wpd-field-date.wpd-has-icon .wpd-field-title{padding-left:26px; }
321
+ #wpcomm .wpd-form-row .wpd-field-date.wpd-has-desc .wpd-field-title{padding-left:26px; }
322
+
323
+ /* COMMENT FORM | COLOR */
324
+ #wpcomm .wpd-form-row .wpd-field-color { height:77px; }
325
+ #wpcomm .wpd-form-row .wpd-field-color .wpd-field-title{font-size: 13px; line-height: 20px; padding: 5px 0 8px 0px; text-align: left; padding-bottom: 8px; }
326
+ #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field{padding-left:5px; }
327
+ #wpcomm .wpd-form-row .wpd-field-color.wpd-has-desc .wpd-field{padding-right:5px; }
328
+ #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field-icon{left:2px; top: 10px; }
329
+ #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field-desc{top: 10px; }
330
+ #wpcomm .wpd-form-row .wpd-field-color.wpd-has-icon .wpd-field-title{padding-left:26px; }
331
+ #wpcomm .wpd-form-row .wpd-field-color.wpd-has-desc .wpd-field-title{padding-left:26px; }
332
+
333
+ /* COMMENT FORM | SPOILER */
334
+ #wpcomm .wpdiscuz-spoiler-wrap{background-color: #eee; border: 1px solid #555; border-style: dashed; margin: 5px 0; }
335
+ #wpcomm .wpdiscuz-spoiler-wrap .wpdiscuz-spoiler{padding: 5px; cursor: pointer; }
336
+ #wpcomm .wpdiscuz-spoiler-wrap .wpdiscuz-spoiler .fa{margin: 0 5px; }
337
+ #wpcomm .wpdiscuz-spoiler-wrap .wpdiscuz-spoiler-content{display: none; font-style: italic; padding: 5px; }
338
+
339
+ /* SOCIAL LOGIN BUTTONS */
340
+ #wpcomm .wc_social_plugin_wrapper{width:auto}
341
+ #wpcomm .wp-social-login-widget{margin-bottom:15px}
342
+ #wpcomm .wc_social_plugin_wrapper .wp-social-login-connect-with{float:left; font-size:13px; padding:2px 7px 0 0; text-transform:uppercase}
343
+ #wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list{padding:1px; text-align:left; margin-bottom:-10px}
344
+ #wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list{padding:1px; text-align:right}
345
+ #wpcomm .wc-secondary-forms-social-content .wp-social-login-provider-list img{width:20px; height:20px; float:none; display:inline; border:0}
346
+ #wpcomm .wc_social_plugin_wrapper .wp-social-login-provider-list img{width:24px; height:24px; float:none; display:inline; border:0}
347
+ #wpcomm .wc_social_plugin_wrapper .social_connect_ui{padding:0; clear:both; margin:0; margin-top:-20px; margin-bottom:-10px}
348
+ #wpcomm .wc_social_plugin_wrapper .comment-form-social-connect{display:inherit; padding:0; margin:0; float:left; line-height:35px; padding-right:10px}
349
+ #wpcomm .wc_social_plugin_wrapper .social_connect_form img{width:24px; height:24px; float:none; display:inline; border:0}
350
+ #wpcomm .wc_social_plugin_wrapper .social_connect_form{float:left; line-height:35px; text-align:left; vertical-align:middle}
351
+ #wpcomm .wc_social_plugin_wrapper .comment-form-social-connect label{display:inherit; padding:0; margin:0; font-style:normal; font-weight:normal; border:0; font-size:13px; text-transform:uppercase}
352
+ #social_connect_facebook_auth,#social_connect_twitter_auth,#social_connect_google_auth,#social_connect_google_plus_auth,#social_connect_yahoo_auth,#social_connect_wordpress_auth{clear:both; padding:0; margin:0}
353
+ #wpcomm .wc-secondary-forms-social-content .social_connect_ui{padding:0; clear:both; margin:0; text-align:right}
354
+ #wpcomm .wc-secondary-forms-social-content .comment-form-social-connect{display:inherit; padding:0; margin:0; float:left; line-height:35px; padding-right:10px}
355
+ #wpcomm .wc-secondary-forms-social-content .social_connect_form img{width:24px; height:24px; float:none; display:inline; border:0}
356
+ #wpcomm .wc-secondary-forms-social-content .social_connect_form{float:left; width:100%; text-align:right; padding:0 0 5px 0; line-height:20px; vertical-align:middle}
357
+ #wpcomm .wc-secondary-forms-social-content .comment-form-social-connect label{display:inherit; padding:0; margin:0; font-style:normal; font-weight:normal; border:0; font-size:13px; text-transform:uppercase}
358
 
359
  /* TOOLTIP */
360
+ #wpcomm div.wpd-field-desc {position: relative; display: inline; }
361
+ #wpcomm div.wpd-field-desc span {position: absolute; width:200px; color: #FFFFFF; background: #555555; height:auto; line-height: 17px; padding:8px 10px; font-size:12px; text-align: center; visibility: hidden; border-radius: 6px; }
362
+ #wpcomm div.wpd-field-desc span:after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -8px; width: 0; height: 0; border-top: 8px solid #555555; border-right: 8px solid transparent; border-left: 8px solid transparent; }
363
+ #wpcomm div:hover.wpd-field-desc span {visibility: visible; opacity: 1; bottom: 30px; left: 50%; margin-left: -95px; z-index: 999999; }
364
+ #wpcomm span.wc_fb,a.wc_tw,a.wc_go,a.wc_vk,a.wc_ok {position: relative; display: inline; }
365
+ #wpcomm span.wc_fb span,a.wc_tw span,a.wc_go span,a.wc_vk span,a.wc_ok span {position: absolute; width:200px; color: #FFFFFF; background: #555555; height:auto; line-height: 17px; padding:8px 10px; font-size:12px; text-align: center; visibility: hidden; border-radius: 6px; }
366
+ #wpcomm span.wc_fb span:after,a.wc_tw span:after,a.wc_go span:after,a.wc_vk span:after,a.wc_ok span:after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -8px; width: 0; height: 0; border-top: 8px solid #555555; border-right: 8px solid transparent; border-left: 8px solid transparent; }
367
+ #wpcomm .wc_fb:hover span, #wpcomm .wc_go:hover span, #wpcomm .wc_tw:hover span, #wpcomm .wc_vk:hover span, #wpcomm .wc_ok:hover span {visibility: visible; opacity: 1; bottom: 30px; left: 50%; margin-left: -95px; z-index: 999999; }
368
+ #wpcomm span.wc-vote-link{position: relative; display: inline; }
369
+ #wpcomm span.wc-vote-link span{position: absolute; width:100px; color: #FFFFFF; background: #555555; height:auto; line-height: 17px; padding:8px 10px; font-size:12px; text-align: center; visibility: hidden; border-radius: 6px; display: inline-block; }
370
+ #wpcomm span.wc-vote-link span:after{ content: ''; position: absolute; top: 100%; left: 50%; margin-left: -8px; width: 0; height: 0; border-top: 8px solid #555555; border-right: 8px solid transparent; border-left: 8px solid transparent; }
371
+ #wpcomm span:hover.wc-vote-link span{visibility: visible; opacity: 1; bottom: 30px; left: calc(50% - 50px); z-index: 999999; }
372
+ #wpcomm span.wc-comment-img-link-wrap{position: relative; display: inline; }
373
+ #wpcomm span.wc-comment-img-link-wrap span{position: absolute; width:200px; color: #FFFFFF; background: #555555; height:auto; line-height: 17px; padding:3px 3px; font-size:12px; text-align: center; visibility: hidden; border-radius: 0px; bottom: 30px; left: -170px; margin-left: 0px; }
374
+ #wpcomm span.wc-comment-img-link-wrap span:after{ content: ''; position: absolute; top: 100%; right: 10px; margin-left: -8px; width: 0; height: 0; border-top: 8px solid #555555; border-right: 8px solid transparent; border-left: 8px solid transparent; }
375
+ #wpcomm span:hover.wc-comment-img-link-wrap span{opacity: 1; z-index: 999999; }
376
+ #wpcomm span.wc-comment-img-link-wrap span.wc-comment-img-link-show{visibility: visible; }
377
+ #wpcomm span.wc-comment-img-link-wrap span.wc-comment-img-link-show input[type="text"]{ padding: 3px 10px; font-size: 13px; color:#999999; }
378
+ #wpcomm .wpd_label__check div:hover.wpd-field-desc span {bottom: 36px; margin-left: -99px; }
379
+
380
  /* TOLTIP VALIDATOR */
381
+ #wpcomm div.wpd-field-invalid {display: inline; }
382
+ #wpcomm div.wpd-field-invalid span {position: absolute; max-width:200px; color: #FFFFFF; background: #d99; height:auto; line-height: 17px; padding:8px 10px; font-size:12px; text-align: center; visibility: hidden; border-radius: 6px; }
383
+ #wpcomm div.wpd-field-invalid span:after { content: ''; position: absolute; top: -7px; left: 15px; margin-left: -8px; width: 0; height: 0; border-top: 0px; border-right: 8px solid transparent; border-left: 8px solid transparent; border-bottom: 8px solid #d99; }
384
+ #wpcomm div.wpd-field-invalid span {visibility: visible; opacity: 1; bottom: auto; top:calc(100% + 8px); left: 0; z-index: 999999; }
385
+
386
+ /* MISC */
387
+ #wpcomm .wpdiscuz_subscribe_status{font-size:12px; padding-top:6px}
388
+ #wpcomm .wpdiscuz_subscribe_status a{font-size:12px}
389
+ #wpcomm .share_buttons_box img{display:inline!important; width:16px; height:16px}
390
+ #wpcomm .share_buttons_box{display:none}
391
+ #wpcomm .wc-comment.wc-no-left-margin{margin-left:0!important}
392
+ #wc_unsubscribe_message{margin:10px auto 1px auto; padding:10px; text-align:center; border:#0d0 1px dotted; background:#cfc}
393
+ .wc_unsubscribe_message{font-size:14px; color:#444}
394
+ #wpcomm .wc_editable_div{-moz-appearance:textfield-multiline; -webkit-appearance:textarea; border:1px solid #ccc; border-radius:0; font:medium -moz-fixed; font:-webkit-small-control; overflow:auto; resize:both; box-sizing:border-box; height:46px; max-width:100%; min-height:46px!important; padding:5px; width:100%}
395
+ .wpdiscuz-nofollow,.wpdiscuz-nofollow:hover{text-decoration:none!important}
396
+ .wc_msg_required_fields,.wc_invalid_field,.wc_invalid_captcha,.wc_error_url_text,.wc_error_email_text,.wpdiscuz-sendmail-error,.wc_msg_input_min_length,.wc_msg_input_max_length,.wc_login_to_vote,.wc_deny_voting_from_same_ip,.wc_self_vote,.wc_vote_only_one_time,.wc_voting_error,.wc_comment_edit_not_possible,.wc_comment_not_updated,.wc_comment_not_edited,.msgNotAllowedFiles,msgMaxFileCount,.msgMaxFileSize,.msgPostMaxSize{background-color:#fce8e8!important; font-size:14px; text-align:center; color:#ce4a66; border:#f2d3d2 1px solid; padding:5px 10px; width:100%; box-sizing:border-box; margin:5px 0; border-radius:3px}
397
+ .wc_held_for_moderate{background-color:#fce6bf; font-size:14px; text-align:center; color:#d3760c; border:#f9c975 1px solid; padding:5px 10px; width:100%; box-sizing:border-box; margin:5px 0; border-radius:3px}
398
+ .wpdiscuz-loading-bar{position:fixed; right:0; width:70px; border:0; background:transparent; z-index:999999; display:none; }
399
+ .wpdiscuz-loading-bar-auth{top:32px}
400
+ .wpdiscuz-loading-bar-unauth{top:0}
401
+ .wpdiscuz-loading-bar .wpdiscuz-loading-bar-img{max-width:32px!important; height:auto}
402
+ .wpdiscuz-vote-sorting-desc,.wpdiscuz-vote-sorting-asc{text-align:center; border:0; z-index:999999; cursor:pointer; display:inline-block}
403
+ .wpdiscuz-front-actions{width:100%; box-sizing:border-box; padding:10px 10px 10px 15px; margin-top:20px; margin-bottom:0px; text-align:right}
404
+ .wpdiscuz-subscribe-bar{width:100%; box-sizing:border-box; padding:10px 10px 20px 15px; margin-bottom:10px; }
405
+ #wpcomm #bywpdiscuz{display:none}
406
+ #wpcomm .by-wpdiscuz{text-align:right; border-top:#ddd solid 1px; padding:1px 1px 1px 1px}
407
+ #wpcomm .by-wpdiscuz a{font-size:11px; font-weight:bold; text-align:right; color:#ccc; padding:1px; margin:0; line-height:12px; border:0; text-decoration:none}
408
+ #wpcomm .wpdimg{border:0; padding:0; margin:0; height:12px; cursor:pointer; display:inline; clear:both}
409
+ #wpcomm .wc-copyright{margin:0 0 0 auto; text-align:right; display:block; padding-top:2px}
410
+ #wpcomm .wc-copyright a{font-size:9px; color:#aaa; cursor:help; text-decoration:none; margin:0; padding:0; border:0}
411
+
412
+ /* DARK STYLE */
413
+ #wpcomm.wpd-dark .wc-thread-wrapper{padding: 12px 0px 10px 2px;}
414
+ #wpcomm.wpd-dark .wpdiscuz-textarea-wrap{ border: #777777 solid 1px;}
415
+ #wpcomm.wpd-dark .wc-field-textarea .wpdiscuz-textarea-foot{ border-top: 1px dotted #777777; }
416
+ #wpcomm.wpd-dark .wpdiscuz-front-actions { background-color: #333333; }
417
+ #wpcomm.wpd-dark .wpdiscuz-front-actions .wpdiscuz-sbs-wrap span{ color: #aaaaaa; }
418
+ #wpcomm.wpd-dark .wpdiscuz-sort-button { color: #aaaaaa; }
419
+ #wpcomm.wpd-dark .wpd_label__check i.wpdicon-off { color: #aaaaaa; border: 1px solid #777777; background-color:#333333;}
420
+ #wpcomm.wpd-dark button, #wpcomm.wpd-dark input[type="button"], #wpcomm.wpd-dark input[type="reset"], #wpcomm.wpd-dark input[type="submit"] { border: 1px solid #777777; color: #FFFFFF; background-color: #333333;}
421
+ #wpcomm.wpd-dark .wpd_label__check i.wpdicon-on{ background-color: transparent; border: 1px solid #777777; }
422
+ #wpcomm.wpd-dark .avatar { box-shadow: 0px 0px 5px 1px rgba(100, 100, 100, 1);}
423
+ #wpcomm.wpd-dark .wc-comment .wc-comment-left .wc-comment-label {background: transparent; border-bottom: 1px solid #555555; -webkit-box-shadow: 0px 10px 10px -9px rgba(100,100,100,1); -moz-box-shadow: 0px 10px 10px -9px rgba(100,100,100,1); box-shadow: 0px 10px 10px -9px rgba(100,100,100,1); margin: 3px auto 8px auto;}
424
+ #wpcomm.wpd-dark .wc-comment .wc-comment-right {background: transparent;}
425
+ #wpcomm.wpd-dark .wc-comment-header { border-bottom: 1px solid #777777;}
426
+ #wpcomm.wpd-dark .wc-reply .wc-comment-header {border-bottom: 1px solid #777777; }
427
+ #wpcomm.wpd-dark .wc-comment .wc-comment-left .wpd-xborder {border-right: 1px solid #777777;}
428
+ #wpcomm.wpd-dark .wc-cta-button, #wpcomm .wc-cta-button-x {color: #777777; border-bottom: 1px solid #777777;}
429
+ #wpcomm.wpd-dark .wc-cta-active { color: #FFFFFF;}
430
+ #wpcomm.wpd-dark .wc-comment-text { color: inherit;}
431
+ #wpcomm.wpd-dark .wpdiscuz-subscribe-bar { color: #aaaaaa; background-color: #444444; }
432
+ #wpcomm.wpd-dark .wc-sticky-comment.wc-comment .wc-comment-header,
433
+ #wpcomm.wpd-dark .wc-private-comment.wc-comment .wc-comment-header{ background-color: transparent; }
434
+ #wpcomm.wpd-dark .wc-private-comment.wc-comment .wc-comment-header{border-bottom: 1px dotted #fa9800;}
435
+ #wpcomm.wpd-dark .wc-private-comment.wc-comment .wc-comment-header .wpd-private{ color: #fa9800; border: 1px dotted #fa9800; }
436
+
437
  @media screen and (max-width: 1024px){
438
+ .wpdiscuz-post-rating-wrap.wpd-custom-field > [class ^= wpdiscuz-post-rating-wrap-custom_field]{flex-basis: 33%; margin-bottom: 10px; }
439
  }
440
+ @media screen and (max-width:800px){
441
+ #wpcomm .wpdiscuz-subscribe-form-option{width:100%!important; padding:0!important}
442
+ #wpcomm .wpdiscuz-subscribe-form-email{width:100%!important; padding:0!important; margin-top:5px}
443
+ #wpcomm .wpdiscuz-subscribe-form-button{width:100%!important; padding:0!important}
444
+ #wpcomm .wpdiscuz-subscribe-form-button input[type="submit"]{width:100%!important; margin-top:5px}
445
+ #wpcomm .wpd-form-row .wpd-form-col-left{width:100%; float:none; }
446
+ #wpcomm .wpd-form-row .wpd-form-col-right{width:100%; float:none; }
447
+ #wpcomm .wc-field-comment .wc-field-textarea{margin-left:0}
448
+ #wpcomm .wc-field-comment .wc-field-avatararea .avatar{width:0; display:none}
449
+ #wpcomm .wc-field-comment .wc-field-textarea{margin-left:0px}
450
+ #wpcomm .wc-form-footer{margin-left:0px; }
451
+ #wpcomm .wc-comment-left .wpd-xborder,
452
+ #wpcomm .wc-reply .wc-comment-left .wpd-xborder{display: none;}
453
  #wpcomm.wpdiscuz_no_avatar .wc-form-footer{margin-left:0}
454
+ #wpcomm .wpd-form-col-left{width:100%; float:none; display:block}
455
+ #wpcomm .wpd-form-col-right{width:100%; float:none; display:block; padding:0}
456
  #wpcomm .wc-field-submit input[type="button"]{max-width:200px}
457
+ #wpcomm .wpd-form-row .wpdiscuz-item {width:100%; margin:0 auto; display:block; float:none}
458
+ #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-label{padding-left:0; width:115px}
459
  #wpcomm .wpd-form-row .wpdiscuz-item .wc-captcha-input{width:calc(100% - 116px)}
460
  #wpcomm .wc-reply{margin-left:25px!important}
461
+ #wpcomm .wc-comment .wc-form-wrapper{margin-left: 0px;}
462
  #wpcomm .wc_comment_level-3{margin-left:0!important}
463
  #wpcomm .wc_comment_level-4{margin-left:0!important}
464
  #wpcomm .wc_comment_level-5{margin-left:0!important}
468
  #wpcomm .wc_comment_level-8{margin-left:0!important}
469
  #wpcomm .wc_comment_level-9{margin-left:0!important}
470
  #wpcomm .wc_comment_level-10{margin-left:0!important}
471
+ #wpcomm .wc-comment-author{width: 65%; }
472
+ #wpcomm .wc-comment-author a{ font-size:14px; width: 100%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; display: inline-block;}
473
+ #wpcomm .wc-comment-link{display: block; float:right; }
474
  #wpcomm .wc-comment-text{font-size:13px!important}
475
+ #wpcomm .wc-comment .wc-comment-left{float:none!important; margin-bottom:8px; width:100%!important}
476
  #wpcomm .wc-comment .wc-comment-right,#wpcomm .wc-reply .wc-comment-right{margin-left:0!important}
477
+ #wpcomm .wc-comment .wc-comment-left .avatar{width:25px!important; height:25px!important; margin:0 5px 0 0!important; float:left!important; display:block!important}
478
+ #wpcomm .wc-comment .wc-comment-left .wc-comment-label, #wpcomm.wpd-dark .wc-comment .wc-comment-left .wc-comment-label{font-size:13px; padding:6px 5px 5px 5px; line-height:14px; display:block-inline!important; margin-left:33px; -webkit-box-shadow:0px 10px 9px -11px rgba(219,219,219,1); -moz-box-shadow:0px 10px 9px -11px rgba(219,219,219,1); box-shadow:0px 10px 9px -11px rgba(219,219,219,1); }
479
+ .wpd-cf-label{ display:block; width: 100%; background: transparent; }
480
+ .wpd-cf-value{ display:block; width:100%; background: #f9f9f9; border-bottom:1px solid #bbb; }
481
+ #wpcomm .wc_comm_form.wc-secondary-form-wrapper .wc-field-comment .wc-field-textarea,
482
+ #wpcomm .wc-secondary-form-wrapper .wc-form-footer{margin-left: 0px;}
483
  #wpcomm .share_buttons_box{margin-top:9px}
 
484
  #wpcomm .wc-field-submit{text-align:right}
485
+ #wpcomm .wc-comment-label{ width:auto; }
486
+ #wpcomm .wc-comment-label span{line-height:14px; padding:0px 2px; }
487
+ #wpcomm .wc-comment-footer .wc-footer-left{ float:none; display:block; padding:2px 5px; text-align:left; }
488
+ #wpcomm .wc-comment-footer .wc-footer-right{ float:none; display:block; padding:5px 5px 2px 5px; text-align:left; }
489
+ #wpcomm .wc-comment-footer .wc-footer-right .wc-comment-date{ margin-left:0px; }
490
  #wpcomm .wc-comment-footer .wc-footer-left span{ margin-bottom:7px; }
491
+ .wpdiscuz-post-rating-wrap.wpd-custom-field > [class ^= wpdiscuz-post-rating-wrap-custom_field]{flex-basis: 50%; margin-bottom: 10px; }
492
+ #wpcomm .wc-toggle .wpdiscuz-children-button-text, #wpcomm .wc-toggle .wcsep{ display:none; }
493
  }
494
  @media screen and (max-width:420px){
495
  #wpcomm .wpdiscuz-sort-buttons,#wpcomm .wpdiscuz-sort-button{font-size:11px!important}
496
  #wpcomm .wc-share-link{line-height:30px}
497
  #wpcomm .wc-form-footer{margin-left:0}
498
+ #wpcomm .wc-field-submit input[type="button"]{width:99%; font-size:10px; padding:5px 2px}
 
 
499
  .wpdiscuz_auth .wc-field-submit{width:100%!important}
500
+ #wpcomm .wc-form-wrapper .ed_button{width:18%; padding:0; margin:3px 2px 3px 2px}
 
501
  #wpcomm .wc-field-comment .wc-field-textarea .wpdiscuz-quicktags-enabled .commentTextMaxLength{top:49px}
 
502
  .wpdiscuz-post-rating-wrap.wpd-custom-field > [class ^= wpdiscuz-post-rating-wrap-custom_field]{
503
+ flex-basis: 100%; margin-bottom: 10px; }
 
 
504
  }
505
  #wpdiscuz-loading-bar.wpdiscuz-loading-bar:before{
506
+ content: ""; display: inline-block; width: 5px; height: 6px; background: #888; border-radius: 50%; animation: wpdLoading 1s ease infinite; box-shadow: 0 0 5px 1px #fff;
 
 
 
 
 
 
 
507
  }
508
+
509
  @keyframes wpdLoading{
510
+ 0%{transform: translateX(0)}
511
+ 5%{transform: translateX(0); width: 18px; transform-origin: right}
512
+ 50%{transform: translateX(50px); width: 10px; }
513
+ 55%{transform: translateX(42px); width: 18px; }
514
+ 100%{transform: translateX(0)}
515
+ }
516
+
assets/img/dark.png ADDED
Binary file
assets/img/demo-m.png ADDED
Binary file
assets/img/demo.png ADDED
Binary file
assets/js/wpdiscuz-deactivation.js ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function ($) {
2
+
3
+ var deactivateUrl = '';
4
+
5
+ $(document).delegate('#the-list tr[data-plugin="wpdiscuz/class.WpdiscuzCore.php"] .deactivate a', 'click', function (e) {
6
+ e.preventDefault();
7
+ $('#wpdDeactivationReasonAnchor').trigger('click');
8
+ deactivateUrl = $(this).attr('href');
9
+ return false;
10
+ });
11
+
12
+ if (($('.wpd-deactivation-reason:checked').attr('id') == 'other') || ($('.wpd-deactivation-reason:checked').attr('id') == 'found_better')) {
13
+ $('.wpd-deactivation-reason-other').slideDown(500);
14
+ } else {
15
+ $('.wpd-deactivation-reason-other').slideUp(500);
16
+ }
17
+
18
+ $(document).delegate('.wpd-deactivation-reason', 'change', function (e) {
19
+ if (($(this).attr('id') == 'other') || ($(this).attr('id') == 'found_better')) {
20
+ $('.wpd-deactivation-reason-other').slideDown(500);
21
+ } else {
22
+ $('.wpd-deactivation-reason-other').slideUp(500);
23
+ }
24
+ });
25
+
26
+ $(document).delegate('.wpd-deactivate', 'click', function (e) {
27
+ if (isChecked($(this))) {
28
+ var formData = '';
29
+ if ($(this).hasClass('wpd-submit')) {
30
+ formData = $('.wpd-deactivation-reason-form').serialize();
31
+ $('.wpd-loading', this).toggleClass('wpdiscuz-hidden');
32
+ } else {
33
+ formData = 'never_show=1';
34
+ }
35
+
36
+ $.ajax({
37
+ type: 'POST',
38
+ url: ajaxurl,
39
+ data: {
40
+ action: 'wpdDeactivate',
41
+ deactivateData: formData
42
+ }
43
+ }).done(function (response) {
44
+ try {
45
+ var r = $.parseJSON(response);
46
+ var locHref = deactivateUrl ? deactivationObj.adminUrl + deactivateUrl : location.href;
47
+ if (r.code == 'dismiss_and_deactivate') {
48
+ setTimeout(function () {
49
+ location.href = locHref;
50
+ }, 100);
51
+ } else if (r.code == 'send_and_deactivate') {
52
+ $('.wpd-deactivation-reason-form, .wpdiscuz-thankyou').toggleClass('wpdiscuz-hidden');
53
+ $('#wpdDeactivationReason').css({'width': '400px'});
54
+ setTimeout(function () {
55
+ location.href = locHref;
56
+ }, 1000);
57
+ }
58
+ } catch (e) {
59
+ console.log(e);
60
+ }
61
+ });
62
+ } else {
63
+ alert(deactivationObj.msgReasonRequired);
64
+ }
65
+ });
66
+
67
+ function isChecked(btn) {
68
+ if (btn.hasClass('wpd-submit')) {
69
+ var elem = $('.wpd-deactivation-reason-form input[name="deactivation_reason"]');
70
+ for (var i = 0; i < elem.length; i++) {
71
+ if (elem[i].type == 'radio' && elem[i].checked) {
72
+ return true;
73
+ }
74
+ }
75
+ return false;
76
+ }
77
+ return true;
78
+ }
79
+
80
+ });
assets/js/wpdiscuz-options.js CHANGED
@@ -7,21 +7,6 @@ jQuery(document).ready(function ($) {
7
  }
8
  }
9
 
10
- if ($('#commentListLoadLazy').is(':checked')) {
11
- $('#row_lazyLoadOnPageLoad').removeClass('wc-hidden');
12
- } else {
13
- $('#row_lazyLoadOnPageLoad').addClass('wc-hidden');
14
- }
15
-
16
- $('.commentListLoadType').change(function () {
17
- console.log($(this).attr('id'));
18
- if ($(this).is(':checked') && $(this).hasClass('commentListLoadLazy')) {
19
- $('#row_lazyLoadOnPageLoad').removeClass('wc-hidden');
20
- } else {
21
- $('#row_lazyLoadOnPageLoad').addClass('wc-hidden');
22
- }
23
- });
24
-
25
  if ($('#show_sorting_buttons').attr('checked')) {
26
  $('#row_mostVotedByDefault').removeClass('wc-hidden');
27
  } else {
@@ -50,18 +35,55 @@ jQuery(document).ready(function ($) {
50
  return false;
51
  }
52
  });
53
-
54
  $('#wpdiscuz-remove-votes').click(function (e) {
55
  if (!confirm(wpdiscuzObj.msgConfirmRemoveVotes)) {
56
  e.preventDefault();
57
  return false;
58
  }
59
  });
60
-
61
  $('#wpdiscuz-purge-gravatars-cache').click(function (e) {
62
  if (!confirm(wpdiscuzObj.msgConfirmPurgeGravatarsCache)) {
63
  e.preventDefault();
64
  return false;
65
  }
66
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  });
7
  }
8
  }
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  if ($('#show_sorting_buttons').attr('checked')) {
11
  $('#row_mostVotedByDefault').removeClass('wc-hidden');
12
  } else {
35
  return false;
36
  }
37
  });
38
+
39
  $('#wpdiscuz-remove-votes').click(function (e) {
40
  if (!confirm(wpdiscuzObj.msgConfirmRemoveVotes)) {
41
  e.preventDefault();
42
  return false;
43
  }
44
  });
45
+
46
  $('#wpdiscuz-purge-gravatars-cache').click(function (e) {
47
  if (!confirm(wpdiscuzObj.msgConfirmPurgeGravatarsCache)) {
48
  e.preventDefault();
49
  return false;
50
  }
51
  });
52
+
53
+ $(document).delegate('.wc_stick_btn', 'click', function (e) {
54
+ var btn = $(this);
55
+ $('.fa', btn).addClass('fa-pulse fa-spinner');
56
+ var commentId = btn.data('comment');
57
+ var postId = btn.data('post');
58
+ var data = new FormData();
59
+ data.append('action', 'wpdiscuzStickComment');
60
+ data.append('commentId', commentId);
61
+ data.append('postId', postId);
62
+ $.ajax({
63
+ type: 'POST',
64
+ url: ajaxurl,
65
+ data: data,
66
+ contentType: false,
67
+ processData: false,
68
+ }).done(function (response) {
69
+ try {
70
+ $('.fa', btn).removeClass('fa-pulse fa-spinner');
71
+ var resp = $.parseJSON(response);
72
+ if (resp.code == 1) {
73
+ $('.wc_stick_text', btn).text(resp.data);
74
+ } else {
75
+ console.log('Comment not updated');
76
+ }
77
+ } catch (e) {
78
+ console.log(e);
79
+ }
80
+ $('.wpdiscuz-loading-bar').fadeOut(250);
81
+ });
82
+ e.preventDefault();
83
+ return false;
84
+ });
85
+
86
+ $('#wpd-disable-addons').click(function () {
87
+ location.href = $('#wpd-disable-addons-action').val();
88
+ });
89
  });
assets/js/wpdiscuz.js CHANGED
@@ -8,7 +8,6 @@ jQuery(document).ready(function ($) {
8
  var wpdiscuzRecaptcha = wpdiscuzAjaxObj.wpdiscuz_options.wpDiscuzReCaptcha;
9
  var isGoodbyeCaptchaActive = wpdiscuzAjaxObj.wpdiscuz_options.isGoodbyeCaptchaActive;
10
  var commentListLoadType = wpdiscuzAjaxObj.wpdiscuz_options.commentListLoadType;
11
- var lazyLoadOnPageLoad = wpdiscuzAjaxObj.wpdiscuz_options.lazyLoadOnPageLoad;
12
  var wordpressIsPaginate = wpdiscuzAjaxObj.wpdiscuz_options.wordpressIsPaginate;
13
  var wpdiscuzPostId = wpdiscuzAjaxObj.wpdiscuz_options.wc_post_id;
14
  var commentListUpdateType = wpdiscuzAjaxObj.wpdiscuz_options.commentListUpdateType;
@@ -18,7 +17,7 @@ jQuery(document).ready(function ($) {
18
  var wpdiscuzCommentOrder = wpdiscuzAjaxObj.wpdiscuz_options.wordpress_comment_order;
19
  var commentsVoteOrder = wpdiscuzAjaxObj.wpdiscuz_options.commentsVoteOrder;
20
  var storeCommenterData = wpdiscuzAjaxObj.wpdiscuz_options.storeCommenterData;
21
- var wpdiscuzLoadCount = commentListLoadType == 2 && !lazyLoadOnPageLoad ? 0 : 1;
22
  var wpdiscuzCommentOrderBy = 'comment_date_gmt';
23
  var wpdiscuzReplyArray = [];
24
  var wpdiscuzCommentArray = [];
@@ -118,10 +117,12 @@ jQuery(document).ready(function ($) {
118
  icon.removeClass('fa-chevron-up');
119
  icon.addClass('fa-chevron-down');
120
  icon.attr('title', wpdiscuzAjaxObj.wpdiscuz_options.wc_show_replies_text);
 
121
  } else {
122
  icon.removeClass('fa-chevron-down');
123
  icon.addClass('fa-chevron-up');
124
  icon.attr('title', wpdiscuzAjaxObj.wpdiscuz_options.wc_hide_replies_text);
 
125
  }
126
  });
127
  $('.wpdiscuz-children', toggle).toggleClass('wpdiscuz-hidden');
@@ -139,6 +140,10 @@ jQuery(document).ready(function ($) {
139
  $('>.wc-comment-right', this).css('backgroundColor', wpdiscuzAjaxObj.wpdiscuz_options.wc_comment_bg_color);
140
  }
141
  });
 
 
 
 
142
  //============================== CAPTCHA ============================== //
143
  $(document).delegate('.wc_captcha_refresh_img', 'click', function () {
144
  changeCaptchaImage($(this));
@@ -161,7 +166,7 @@ jQuery(document).ready(function ($) {
161
  var isMain = form.hasClass('wc-secondary-form-wrapper') ? 0 : 1;
162
  var uniqueId = getUniqueID(reloadImage, isMain);
163
  data.append('wpdiscuz_unique_id', uniqueId);
164
- var ajaxObject = getAjaxObj(data);
165
  ajaxObject.done(function (response) {
166
  try {
167
  var obj = $.parseJSON(response);
@@ -177,7 +182,7 @@ jQuery(document).ready(function ($) {
177
  } catch (e) {
178
  console.log(e);
179
  }
180
- $('.wpdiscuz-loading-bar').hide();
181
  });
182
  }
183
  }
@@ -286,7 +291,7 @@ jQuery(document).ready(function ($) {
286
  data.append('wpdiscuz_zs', wpdiscuzAjaxObj.wpdiscuz_options.wpdiscuz_zs);
287
  }
288
 
289
- getAjaxObj(data).done(function (response) {
290
  $(currentSubmitBtn).addClass('wc_not_clicked');
291
  var messageKey = '';
292
  var message = '';
@@ -352,7 +357,7 @@ jQuery(document).ready(function ($) {
352
  }
353
  wpdiscuzAjaxObj.setCommentMessage(wcForm, 'wc_invalid_field', message, true);
354
  }
355
- $('.wpdiscuz-loading-bar').hide();
356
  });
357
  }
358
  changeCaptchaImage($('.wc_captcha_refresh_img', wcForm));
@@ -366,7 +371,7 @@ jQuery(document).ready(function ($) {
366
  data.append('comment_id', obj.new_comment_id);
367
  data.append('email', obj.user_email);
368
  data.append('isParent', obj.is_main);
369
- var ajaxObject = getAjaxObj(data);
370
  ajaxObject.done(function (response) {
371
  try {
372
  obj = $.parseJSON(response);
@@ -382,7 +387,7 @@ jQuery(document).ready(function ($) {
382
  var data = new FormData();
383
  data.append('action', 'redirect');
384
  data.append('commentId', obj.new_comment_id);
385
- var ajaxObject = getAjaxObj(data);
386
  ajaxObject.done(function (response) {
387
  obj = $.parseJSON(response);
388
  if (obj.code == 1) {
@@ -396,13 +401,13 @@ jQuery(document).ready(function ($) {
396
 
397
  function setCookieInForm() {
398
  if (Cookies.get('comment_author_' + wpdiscuzCookiehash) && Cookies.get('comment_author_' + wpdiscuzCookiehash).indexOf('Anonymous') < 0) {
399
- $('.wc_comm_form .wc_name').val(Cookies.get('comment_author_' + wpdiscuzCookiehash));
400
  }
401
  if (Cookies.get('comment_author_email_' + wpdiscuzCookiehash) && Cookies.get('comment_author_email_' + wpdiscuzCookiehash).indexOf('@example.com') < 0) {
402
- $('.wc_comm_form .wc_email').val(Cookies.get('comment_author_email_' + wpdiscuzCookiehash));
403
  }
404
  if (Cookies.get('comment_author_url_' + wpdiscuzCookiehash)) {
405
- $('.wc_comm_form .wc_website').val(Cookies.get('comment_author_url_' + wpdiscuzCookiehash));
406
  }
407
  }
408
 
@@ -451,7 +456,7 @@ jQuery(document).ready(function ($) {
451
  wcCommentTextBeforeEditing += '<div class="wc-comment-text">' + $('#wc-comm-' + uniqueID + ' .wc-comment-text').html() + '</div>';
452
  wcCommentTextBeforeEditing += wcCommentTextBeforeEditingBottom.length ? '<div class="wpd-bottom-custom-fields">' + $('#wc-comm-' + uniqueID + ' .wpd-bottom-custom-fields').html() + '</div>' : '';
453
 
454
- getAjaxObj(data).done(function (response) {
455
  try {
456
  var obj = $.parseJSON(response);
457
  var message = '';
@@ -471,7 +476,7 @@ jQuery(document).ready(function ($) {
471
  } catch (e) {
472
  console.log(e);
473
  }
474
- $('.wpdiscuz-loading-bar').hide();
475
  });
476
  });
477
 
@@ -502,7 +507,7 @@ jQuery(document).ready(function ($) {
502
  }
503
  });
504
 
505
- getAjaxObj(data).done(function (response) {
506
  try {
507
  var obj = $.parseJSON(response);
508
  var messageKey = obj.code;
@@ -530,7 +535,7 @@ jQuery(document).ready(function ($) {
530
  }
531
  wpdiscuzAjaxObj.setCommentMessage(saveButton, 'wc_invalid_field', message, false);
532
  }
533
- $('.wpdiscuz-loading-bar').hide();
534
  });
535
  }
536
  });
@@ -595,7 +600,7 @@ jQuery(document).ready(function ($) {
595
  data.append('lastParentId', getLastParentID());
596
  data.append(wpdiscuzLastVisitKey, Cookies.get(wpdiscuzLastVisitKey));
597
  wpdiscuzLoadCount++;
598
- getAjaxObj(data).done(function (response) {
599
  try {
600
  var obj = $.parseJSON(response);
601
  $('.wpdiscuz-comment-pagination').before(obj.comment_list);
@@ -606,7 +611,7 @@ jQuery(document).ready(function ($) {
606
  } catch (e) {
607
  console.log(e);
608
  }
609
- $('.wpdiscuz-loading-bar').hide();
610
  $('.wc-load-more-submit').blur();
611
  loadButton.toggleClass(loaded);
612
  loadButton.toggleClass(loading);
@@ -653,7 +658,7 @@ jQuery(document).ready(function ($) {
653
  data.append('action', 'voteOnComment');
654
  data.append('commentId', commentID);
655
  data.append('voteType', voteType);
656
- getAjaxObj(data).done(function (response) {
657
  $(currentVoteBtn).addClass('wc_not_clicked');
658
  try {
659
  var obj = $.parseJSON(response);
@@ -686,7 +691,7 @@ jQuery(document).ready(function ($) {
686
  } catch (e) {
687
  console.log(e);
688
  }
689
- $('.wpdiscuz-loading-bar').hide();
690
  });
691
  });
692
  //============================== VOTE ============================== //
@@ -705,10 +710,11 @@ jQuery(document).ready(function ($) {
705
  data.append('action', 'wpdiscuzSorting');
706
  data.append('orderBy', wpdiscuzCommentOrderBy);
707
  data.append('order', wpdiscuzCommentOrder);
 
708
 
709
  var messageKey = '';
710
  var message = '';
711
- getAjaxObj(data).done(function (response) {
712
  try {
713
  var obj = $.parseJSON(response);
714
  messageKey = obj.code;
@@ -726,7 +732,7 @@ jQuery(document).ready(function ($) {
726
  } catch (e) {
727
  console.log(e);
728
  }
729
- $('.wpdiscuz-loading-bar').hide();
730
  });
731
  }
732
  });
@@ -749,18 +755,23 @@ jQuery(document).ready(function ($) {
749
  var data = new FormData();
750
  data.append('action', 'getSingleComment');
751
  data.append('commentId', commentId);
752
- var ajaxObject = getAjaxObj(data);
753
  ajaxObject.done(function (response) {
754
  try {
755
  var obj = $.parseJSON(response);
756
- $('.wc-thread-wrapper').prepend(obj.message);
 
 
 
 
 
757
  $('html, body').animate({
758
  scrollTop: $(".wc-thread-wrapper").offset().top
759
  }, 1000);
760
  } catch (e) {
761
  console.log(e);
762
  }
763
- $('.wpdiscuz-loading-bar').hide();
764
  });
765
  }
766
  }
@@ -780,7 +791,7 @@ jQuery(document).ready(function ($) {
780
  data.append('loadLastCommentId', loadLastCommentId);
781
  data.append('visibleCommentIds', visibleCommentIds);
782
  data.append('email', email);
783
- var ajaxObject = getAjaxObj(data);
784
  ajaxObject.done(function (response) {
785
  try {
786
  var obj = $.parseJSON(response);
@@ -813,7 +824,7 @@ jQuery(document).ready(function ($) {
813
  } catch (e) {
814
  console.log(e);
815
  }
816
- $('.wpdiscuz-loading-bar').hide();
817
  });
818
  }
819
 
@@ -838,7 +849,7 @@ jQuery(document).ready(function ($) {
838
  data.append('newCommentIds', wpdiscuzReplyArray.join());
839
  }
840
 
841
- getAjaxObj(data).done(function (response) {
842
  try {
843
  var obj = $.parseJSON(response);
844
  liveUpdateImmediately(obj);
@@ -852,7 +863,7 @@ jQuery(document).ready(function ($) {
852
  } catch (e) {
853
  console.log(e);
854
  }
855
- $('.wpdiscuz-loading-bar').hide();
856
  });
857
  });
858
  //============================== LIVE UPDATE ============================== //
@@ -863,7 +874,7 @@ jQuery(document).ready(function ($) {
863
  var data = new FormData();
864
  data.append('action', 'readMore');
865
  data.append('commentId', commentId);
866
- getAjaxObj(data).done(function (response) {
867
  try {
868
  var obj = $.parseJSON(response);
869
  if (obj.code) {
@@ -873,7 +884,7 @@ jQuery(document).ready(function ($) {
873
  } catch (e) {
874
  console.log(e);
875
  }
876
- $('.wpdiscuz-loading-bar').hide();
877
  });
878
  });
879
  //============================== READ MORE ============================== //
@@ -1130,30 +1141,67 @@ jQuery(document).ready(function ($) {
1130
  var data = new FormData();
1131
  data.append('action', 'wpdiscuzShowReplies');
1132
  data.append('commentId', commentId);
1133
- var ajax = getAjaxObj(data);
1134
  ajax.done(function (response) {
1135
  try {
1136
- var resp = $.parseJSON(response);
1137
- if (resp.code == 1) {
1138
- $('#wc-comm-' + uniqueId).replaceWith(resp.data);
1139
- $('#wc-comm-' + uniqueId + ' .wc-toggle .fa').removeClass('fa-chevron-down').addClass('fa-chevron-up').removeClass('wpdiscuz-show-replies');
 
 
 
 
 
 
 
 
 
 
 
1140
  } else {
1141
  console.log('Unknown error occured');
1142
  }
1143
  } catch (e) {
1144
  console.log(e);
1145
  }
1146
- $('.wpdiscuz-loading-bar').hide();
1147
  });
1148
  }
1149
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1150
  /**
1151
  * @param {type} action the action key
1152
  * @param {type} data the request properties
1153
  * @returns {jqXHR}
1154
  */
1155
- function getAjaxObj(data) {
1156
- if (data.action !== 'liveUpdate') {
1157
  $('.wpdiscuz-loading-bar').show();
1158
  }
1159
  data.append('postId', wpdiscuzPostId);
8
  var wpdiscuzRecaptcha = wpdiscuzAjaxObj.wpdiscuz_options.wpDiscuzReCaptcha;
9
  var isGoodbyeCaptchaActive = wpdiscuzAjaxObj.wpdiscuz_options.isGoodbyeCaptchaActive;
10
  var commentListLoadType = wpdiscuzAjaxObj.wpdiscuz_options.commentListLoadType;
 
11
  var wordpressIsPaginate = wpdiscuzAjaxObj.wpdiscuz_options.wordpressIsPaginate;
12
  var wpdiscuzPostId = wpdiscuzAjaxObj.wpdiscuz_options.wc_post_id;
13
  var commentListUpdateType = wpdiscuzAjaxObj.wpdiscuz_options.commentListUpdateType;
17
  var wpdiscuzCommentOrder = wpdiscuzAjaxObj.wpdiscuz_options.wordpress_comment_order;
18
  var commentsVoteOrder = wpdiscuzAjaxObj.wpdiscuz_options.commentsVoteOrder;
19
  var storeCommenterData = wpdiscuzAjaxObj.wpdiscuz_options.storeCommenterData;
20
+ var wpdiscuzLoadCount = 1;
21
  var wpdiscuzCommentOrderBy = 'comment_date_gmt';
22
  var wpdiscuzReplyArray = [];
23
  var wpdiscuzCommentArray = [];
117
  icon.removeClass('fa-chevron-up');
118
  icon.addClass('fa-chevron-down');
119
  icon.attr('title', wpdiscuzAjaxObj.wpdiscuz_options.wc_show_replies_text);
120
+ $('.wpdiscuz-children-button-text', toggle).text(wpdiscuzAjaxObj.wpdiscuz_options.wc_show_replies_text);
121
  } else {
122
  icon.removeClass('fa-chevron-down');
123
  icon.addClass('fa-chevron-up');
124
  icon.attr('title', wpdiscuzAjaxObj.wpdiscuz_options.wc_hide_replies_text);
125
+ $('.wpdiscuz-children-button-text', toggle).text(wpdiscuzAjaxObj.wpdiscuz_options.wc_hide_replies_text);
126
  }
127
  });
128
  $('.wpdiscuz-children', toggle).toggleClass('wpdiscuz-hidden');
140
  $('>.wc-comment-right', this).css('backgroundColor', wpdiscuzAjaxObj.wpdiscuz_options.wc_comment_bg_color);
141
  }
142
  });
143
+
144
+ $(document).delegate('.wpdiscuz-sbs-wrap', 'click', function () {
145
+ $('.wpdiscuz-subscribe-bar').slideToggle(500);
146
+ });
147
  //============================== CAPTCHA ============================== //
148
  $(document).delegate('.wc_captcha_refresh_img', 'click', function () {
149
  changeCaptchaImage($(this));
166
  var isMain = form.hasClass('wc-secondary-form-wrapper') ? 0 : 1;
167
  var uniqueId = getUniqueID(reloadImage, isMain);
168
  data.append('wpdiscuz_unique_id', uniqueId);
169
+ var ajaxObject = getAjaxObj('', data);
170
  ajaxObject.done(function (response) {
171
  try {
172
  var obj = $.parseJSON(response);
182
  } catch (e) {
183
  console.log(e);
184
  }
185
+ $('.wpdiscuz-loading-bar').fadeOut(250);
186
  });
187
  }
188
  }
291
  data.append('wpdiscuz_zs', wpdiscuzAjaxObj.wpdiscuz_options.wpdiscuz_zs);
292
  }
293
 
294
+ getAjaxObj('', data).done(function (response) {
295
  $(currentSubmitBtn).addClass('wc_not_clicked');
296
  var messageKey = '';
297
  var message = '';
357
  }
358
  wpdiscuzAjaxObj.setCommentMessage(wcForm, 'wc_invalid_field', message, true);
359
  }
360
+ $('.wpdiscuz-loading-bar').fadeOut(250);
361
  });
362
  }
363
  changeCaptchaImage($('.wc_captcha_refresh_img', wcForm));
371
  data.append('comment_id', obj.new_comment_id);
372
  data.append('email', obj.user_email);
373
  data.append('isParent', obj.is_main);
374
+ var ajaxObject = getAjaxObj('', data);
375
  ajaxObject.done(function (response) {
376
  try {
377
  obj = $.parseJSON(response);
387
  var data = new FormData();
388
  data.append('action', 'redirect');
389
  data.append('commentId', obj.new_comment_id);
390
+ var ajaxObject = getAjaxObj('', data);
391
  ajaxObject.done(function (response) {
392
  obj = $.parseJSON(response);
393
  if (obj.code == 1) {
401
 
402
  function setCookieInForm() {
403
  if (Cookies.get('comment_author_' + wpdiscuzCookiehash) && Cookies.get('comment_author_' + wpdiscuzCookiehash).indexOf('Anonymous') < 0) {
404
+ $('.wc_comm_form .wc_name').val(decodeURIComponent(Cookies.get('comment_author_' + wpdiscuzCookiehash)));
405
  }
406
  if (Cookies.get('comment_author_email_' + wpdiscuzCookiehash) && Cookies.get('comment_author_email_' + wpdiscuzCookiehash).indexOf('@example.com') < 0) {
407
+ $('.wc_comm_form .wc_email').val(decodeURIComponent(Cookies.get('comment_author_email_' + wpdiscuzCookiehash)));
408
  }
409
  if (Cookies.get('comment_author_url_' + wpdiscuzCookiehash)) {
410
+ $('.wc_comm_form .wc_website').val(decodeURIComponent(Cookies.get('comment_author_url_' + wpdiscuzCookiehash)));
411
  }
412
  }
413
 
456
  wcCommentTextBeforeEditing += '<div class="wc-comment-text">' + $('#wc-comm-' + uniqueID + ' .wc-comment-text').html() + '</div>';
457
  wcCommentTextBeforeEditing += wcCommentTextBeforeEditingBottom.length ? '<div class="wpd-bottom-custom-fields">' + $('#wc-comm-' + uniqueID + ' .wpd-bottom-custom-fields').html() + '</div>' : '';
458
 
459
+ getAjaxObj('', data).done(function (response) {
460
  try {
461
  var obj = $.parseJSON(response);
462
  var message = '';
476
  } catch (e) {
477
  console.log(e);
478
  }
479
+ $('.wpdiscuz-loading-bar').fadeOut(250);
480
  });
481
  });
482
 
507
  }
508
  });
509
 
510
+ getAjaxObj('', data).done(function (response) {
511
  try {
512
  var obj = $.parseJSON(response);
513
  var messageKey = obj.code;
535
  }
536
  wpdiscuzAjaxObj.setCommentMessage(saveButton, 'wc_invalid_field', message, false);
537
  }
538
+ $('.wpdiscuz-loading-bar').fadeOut(250);
539
  });
540
  }
541
  });
600
  data.append('lastParentId', getLastParentID());
601
  data.append(wpdiscuzLastVisitKey, Cookies.get(wpdiscuzLastVisitKey));
602
  wpdiscuzLoadCount++;
603
+ getAjaxObj('', data).done(function (response) {
604
  try {
605
  var obj = $.parseJSON(response);
606
  $('.wpdiscuz-comment-pagination').before(obj.comment_list);
611
  } catch (e) {
612
  console.log(e);
613
  }
614
+ $('.wpdiscuz-loading-bar').fadeOut(250);
615
  $('.wc-load-more-submit').blur();
616
  loadButton.toggleClass(loaded);
617
  loadButton.toggleClass(loading);
658
  data.append('action', 'voteOnComment');
659
  data.append('commentId', commentID);
660
  data.append('voteType', voteType);
661
+ getAjaxObj('', data).done(function (response) {
662
  $(currentVoteBtn).addClass('wc_not_clicked');
663
  try {
664
  var obj = $.parseJSON(response);
691
  } catch (e) {
692
  console.log(e);
693
  }
694
+ $('.wpdiscuz-loading-bar').fadeOut(250);
695
  });
696
  });
697
  //============================== VOTE ============================== //
710
  data.append('action', 'wpdiscuzSorting');
711
  data.append('orderBy', wpdiscuzCommentOrderBy);
712
  data.append('order', wpdiscuzCommentOrder);
713
+ data.append('order', wpdiscuzCommentOrder);
714
 
715
  var messageKey = '';
716
  var message = '';
717
+ getAjaxObj('', data).done(function (response) {
718
  try {
719
  var obj = $.parseJSON(response);
720
  messageKey = obj.code;
732
  } catch (e) {
733
  console.log(e);
734
  }
735
+ $('.wpdiscuz-loading-bar').fadeOut(250);
736
  });
737
  }
738
  });
755
  var data = new FormData();
756
  data.append('action', 'getSingleComment');
757
  data.append('commentId', commentId);
758
+ var ajaxObject = getAjaxObj('', data);
759
  ajaxObject.done(function (response) {
760
  try {
761
  var obj = $.parseJSON(response);
762
+ if ($('#comment-' + obj.parentCommentID).length) {
763
+ var parentComment = $('#comment-' + obj.parentCommentID);
764
+ $('.wc-toggle', parentComment).trigger('click');
765
+ } else {
766
+ $('.wc-thread-wrapper').prepend(obj.message);
767
+ }
768
  $('html, body').animate({
769
  scrollTop: $(".wc-thread-wrapper").offset().top
770
  }, 1000);
771
  } catch (e) {
772
  console.log(e);
773
  }
774
+ $('.wpdiscuz-loading-bar').fadeOut(250);
775
  });
776
  }
777
  }
791
  data.append('loadLastCommentId', loadLastCommentId);
792
  data.append('visibleCommentIds', visibleCommentIds);
793
  data.append('email', email);
794
+ var ajaxObject = getAjaxObj('liveUpdate', data);
795
  ajaxObject.done(function (response) {
796
  try {
797
  var obj = $.parseJSON(response);
824
  } catch (e) {
825
  console.log(e);
826
  }
827
+ $('.wpdiscuz-loading-bar').fadeOut(250);
828
  });
829
  }
830
 
849
  data.append('newCommentIds', wpdiscuzReplyArray.join());
850
  }
851
 
852
+ getAjaxObj('liveUpdate', data).done(function (response) {
853
  try {
854
  var obj = $.parseJSON(response);
855
  liveUpdateImmediately(obj);
863
  } catch (e) {
864
  console.log(e);
865
  }
866
+ $('.wpdiscuz-loading-bar').fadeOut(250);
867
  });
868
  });
869
  //============================== LIVE UPDATE ============================== //
874
  var data = new FormData();
875
  data.append('action', 'readMore');
876
  data.append('commentId', commentId);
877
+ getAjaxObj('', data).done(function (response) {
878
  try {
879
  var obj = $.parseJSON(response);
880
  if (obj.code) {
884
  } catch (e) {
885
  console.log(e);
886
  }
887
+ $('.wpdiscuz-loading-bar').fadeOut(250);
888
  });
889
  });
890
  //============================== READ MORE ============================== //
1141
  var data = new FormData();
1142
  data.append('action', 'wpdiscuzShowReplies');
1143
  data.append('commentId', commentId);
1144
+ var ajax = getAjaxObj('', data);
1145
  ajax.done(function (response) {
1146
  try {
1147
+ var obj = $.parseJSON(response);
1148
+ if (obj.code == 1) {
1149
+ $('#wc-comm-' + uniqueId).replaceWith(obj.data);
1150
+ $('#wc-comm-' + uniqueId + ' .wc-toggle .fa').removeClass('fa-chevron-down').addClass('fa-chevron-up').removeClass('wpdiscuz-show-replies').attr('title', wpdiscuzAjaxObj.wpdiscuz_options.wc_hide_replies_text);
1151
+ var toggle = $('#wc-comm-' + uniqueId + ' .wc-toggle');
1152
+ $('.wpdiscuz-children-button-text', toggle).text(wpdiscuzAjaxObj.wpdiscuz_options.wc_hide_replies_text);
1153
+ if (obj.callbackFunctions != null && obj.callbackFunctions != 'undefined' && obj.callbackFunctions.length) {
1154
+ $.each(obj.callbackFunctions, function (i) {
1155
+ if (typeof wpdiscuzAjaxObj[obj.callbackFunctions[i]] === "function") {
1156
+ wpdiscuzAjaxObj[obj.callbackFunctions[i]]();
1157
+ } else {
1158
+ console.log(obj.callbackFunctions[i] + " is not a function");
1159
+ }
1160
+ });
1161
+ }
1162
  } else {
1163
  console.log('Unknown error occured');
1164
  }
1165
  } catch (e) {
1166
  console.log(e);
1167
  }
1168
+ $('.wpdiscuz-loading-bar').fadeOut(250);
1169
  });
1170
  }
1171
 
1172
+ $(document).delegate('.wc_stick_btn', 'click', function () {
1173
+ var btn = $(this);
1174
+ var uniqueId = getUniqueID(btn, 0);
1175
+ var commentId = getCommentID(uniqueId);
1176
+ var data = new FormData();
1177
+ data.append('action', 'wpdiscuzStickComment');
1178
+ data.append('commentId', commentId);
1179
+ var ajax = getAjaxObj('', data);
1180
+ ajax.done(function (response) {
1181
+ try {
1182
+ var obj = $.parseJSON(response);
1183
+ if (obj.code == 1) {
1184
+ $('.wc_stick_text', btn).text(obj.data);
1185
+ setTimeout(function () {
1186
+ location.reload(true);
1187
+ }, 1000);
1188
+ } else {
1189
+ console.log('Comment not updated');
1190
+ }
1191
+ } catch (e) {
1192
+ console.log(e);
1193
+ }
1194
+ $('.wpdiscuz-loading-bar').fadeOut(250);
1195
+ });
1196
+ });
1197
+
1198
  /**
1199
  * @param {type} action the action key
1200
  * @param {type} data the request properties
1201
  * @returns {jqXHR}
1202
  */
1203
+ function getAjaxObj(wpdAction, data) {
1204
+ if (wpdAction != 'liveUpdate') {
1205
  $('.wpdiscuz-loading-bar').show();
1206
  }
1207
  data.append('postId', wpdiscuzPostId);
assets/third-party/easy-responsive-tabs/css/easy-responsive-tabs.min.css CHANGED
@@ -1 +1 @@
1
- .resp-tabs-list li,h2.resp-accordion{font-size:13px;cursor:pointer}.resp-tabs-list li{font-weight:600;display:inline-block;padding:13px 15px;margin:0 4px 0 0;list-style:none;float:left;line-height:1}.resp-tabs-container{padding:0;background-color:#fff;clear:left}h2.resp-accordion{display:none}.resp-tab-content{display:none;padding:15px}.resp-accordion-active,.resp-content-active,.resp-easy-accordion h2.resp-accordion,.resp-tab-content-active{display:block}.resp-tab-active{border:1px solid #5ab1d0!important;margin-bottom:-1px!important;padding:12px 14px 14px!important;border-top:4px solid #5ab1d0!important;border-bottom:0 #fff solid!important;background-color:#fff}.resp-tab-content{border:1px solid #c1c1c1;border-top-color:#5ab1d0}h2.resp-accordion{font-size:13px;border:1px solid #c1c1c1;border-top:0 solid #c1c1c1;margin:0;padding:10px 15px}h2.resp-tab-active{border-bottom:0 solid #c1c1c1!important;margin-bottom:0!important;padding:10px 15px!important}h2.resp-tab-title:last-child{border-bottom:12px solid #c1c1c1!important;background:#00f}.resp-vtabs ul.resp-tabs-list{float:left;width:20%}.resp-vtabs .resp-tabs-list li{display:block;padding:15px!important;margin:0 0 4px;cursor:pointer;float:none}.resp-vtabs .resp-tabs-container{padding:0;background-color:#fff;border:1px solid #c1c1c1;float:left;width:78%;min-height:250px;border-radius:4px;clear:none}.resp-vtabs .resp-tab-content{border:none;word-wrap:break-word}.resp-vtabs li.resp-tab-active{position:relative;z-index:1;margin-right:-1px!important;padding:14px 15px 15px 14px!important;border:1px solid #5AB1D0!important;border-left:4px solid #5AB1D0!important;margin-bottom:4px!important;border-right:1px #FFF solid!important}.resp-arrow{width:0;height:0;float:right;margin-top:3px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:12px solid #c1c1c1}h2.resp-tab-active span.resp-arrow{border:none;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:12px solid #9B9797}h2.resp-tab-active{background:#DBDBDB}.resp-easy-accordion .resp-tab-content{border:1px solid #c1c1c1}.resp-easy-accordion .resp-tab-content:last-child{border-bottom:1px solid #c1c1c1}.resp-jfit{width:100%;margin:0}h2.resp-accordion:first-child{border-top:1px solid #c1c1c1}@media only screen and (max-width:768px){ul.resp-tabs-list{display:none}h2.resp-accordion{display:block}.resp-vtabs .resp-tab-content{border:1px solid #C1C1C1}.resp-vtabs .resp-tabs-container{border:none;float:none;width:100%;min-height:100px;clear:none}.resp-accordion-closed{display:none!important}.resp-vtabs .resp-tab-content:last-child{border-bottom:1px solid #c1c1c1!important}}
1
+ .resp-tabs-list li,h2.resp-accordion{font-size:14px;cursor:pointer}.resp-tabs-list li{font-weight:600;display:inline-block;padding:16px 15px;margin:0 4px 0 0;list-style:none;float:left;line-height:1}.resp-tabs-container{padding:0;background-color:#fff;clear:left}h2.resp-accordion{display:none}.resp-tab-content{display:none;padding:15px}.resp-accordion-active,.resp-content-active,.resp-easy-accordion h2.resp-accordion,.resp-tab-content-active{display:block}.resp-tab-active{border:1px solid #10b493!important;margin-bottom:-1px!important;padding:13px 14px 19px!important;border-top:4px solid #10b493!important;border-bottom:0 #fff solid!important;background-color:#fff}.resp-tab-content{border:1px solid #c1c1c1;border-top-color:#10b493}h2.resp-accordion{font-size:13px;border:1px solid #c1c1c1;border-top:0 solid #c1c1c1;margin:0;padding:10px 15px}h2.resp-tab-active{border-bottom:0 solid #c1c1c1!important;margin-bottom:0!important;padding:10px 15px!important}h2.resp-tab-title:last-child{border-bottom:12px solid #c1c1c1!important;background:#00f}.resp-vtabs ul.resp-tabs-list{float:left;width:20%}.resp-vtabs .resp-tabs-list li{display:block;padding:15px!important;margin:0 0 4px;cursor:pointer;float:none}.resp-vtabs .resp-tabs-container{padding:0;background-color:#fff;border:1px solid #c1c1c1;float:left;width:78%;min-height:250px;border-radius:4px;clear:none}.resp-vtabs .resp-tab-content{border:none;word-wrap:break-word}.resp-vtabs li.resp-tab-active{position:relative;z-index:1;margin-right:-1px!important;padding:14px 15px 15px 14px!important;border:1px solid #5AB1D0!important;border-left:4px solid #5AB1D0!important;margin-bottom:4px!important;border-right:1px #FFF solid!important}.resp-arrow{width:0;height:0;float:right;margin-top:3px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:12px solid #c1c1c1}h2.resp-tab-active span.resp-arrow{border:none;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:12px solid #9B9797}h2.resp-tab-active{background:#DBDBDB}.resp-easy-accordion .resp-tab-content{border:1px solid #c1c1c1}.resp-easy-accordion .resp-tab-content:last-child{border-bottom:1px solid #c1c1c1}.resp-jfit{width:100%;margin:0}h2.resp-accordion:first-child{border-top:1px solid #c1c1c1}@media only screen and (max-width:768px){ul.resp-tabs-list{display:none}h2.resp-accordion{display:block}.resp-vtabs .resp-tab-content{border:1px solid #C1C1C1}.resp-vtabs .resp-tabs-container{border:none;float:none;width:100%;min-height:100px;clear:none}.resp-accordion-closed{display:none!important}.resp-vtabs .resp-tab-content:last-child{border-bottom:1px solid #c1c1c1!important}}
assets/third-party/lity/lity.css ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! Lity - v2.2.2 - 2017-07-17
2
+ * http://sorgalla.com/lity/
3
+ * Copyright (c) 2015-2017 Jan Sorgalla; Licensed MIT */
4
+ .lity {
5
+ z-index: 9990;
6
+ position: fixed;
7
+ top: 0;
8
+ right: 0;
9
+ bottom: 0;
10
+ left: 0;
11
+ white-space: nowrap;
12
+ background: #0b0b0b;
13
+ background: rgba(0, 0, 0, 0.3);
14
+ outline: none !important;
15
+ opacity: 0;
16
+ -webkit-transition: opacity 0.3s ease;
17
+ -o-transition: opacity 0.3s ease;
18
+ transition: opacity 0.3s ease;
19
+ }
20
+ .lity.lity-opened {
21
+ opacity: 1;
22
+ }
23
+ .lity.lity-closed {
24
+ opacity: 0;
25
+ }
26
+ .lity * {
27
+ -webkit-box-sizing: border-box;
28
+ -moz-box-sizing: border-box;
29
+ box-sizing: border-box;
30
+ }
31
+ .lity-wrap {
32
+ z-index: 9990;
33
+ position: fixed;
34
+ top: 0;
35
+ right: 0;
36
+ bottom: 0;
37
+ left: 0;
38
+ text-align: center;
39
+ outline: none !important;
40
+ }
41
+ .lity-wrap:before {
42
+ content: '';
43
+ display: inline-block;
44
+ height: 100%;
45
+ vertical-align: middle;
46
+ margin-right: -0.25em;
47
+ }
48
+ .lity-loader {
49
+ z-index: 9991;
50
+ color: #fff;
51
+ position: absolute;
52
+ top: 50%;
53
+ margin-top: -0.8em;
54
+ width: 100%;
55
+ text-align: center;
56
+ font-size: 14px;
57
+ font-family: Arial, Helvetica, sans-serif;
58
+ opacity: 0;
59
+ -webkit-transition: opacity 0.3s ease;
60
+ -o-transition: opacity 0.3s ease;
61
+ transition: opacity 0.3s ease;
62
+ }
63
+ .lity-loading .lity-loader {
64
+ opacity: 1;
65
+ }
66
+ .lity-container {
67
+ z-index: 9992;
68
+ position: relative;
69
+ text-align: left;
70
+ vertical-align: middle;
71
+ display: inline-block;
72
+ white-space: normal;
73
+ max-width: 100%;
74
+ max-height: 100%;
75
+ outline: none !important;
76
+ }
77
+ .lity-content {
78
+ z-index: 9993;
79
+ width: 100%;
80
+ -webkit-transform: scale(1);
81
+ -ms-transform: scale(1);
82
+ -o-transform: scale(1);
83
+ transform: scale(1);
84
+ -webkit-transition: -webkit-transform 0.3s ease;
85
+ transition: -webkit-transform 0.3s ease;
86
+ -o-transition: -o-transform 0.3s ease;
87
+ transition: transform 0.3s ease;
88
+ transition: transform 0.3s ease, -webkit-transform 0.3s ease, -o-transform 0.3s ease;
89
+ }
90
+ .lity-loading .lity-content,
91
+ .lity-closed .lity-content {
92
+ -webkit-transform: scale(0.8);
93
+ -ms-transform: scale(0.8);
94
+ -o-transform: scale(0.8);
95
+ transform: scale(0.8);
96
+ }
97
+ .lity-content:after {
98
+ content: '';
99
+ position: absolute;
100
+ left: 0;
101
+ top: 0;
102
+ bottom: 0;
103
+ display: block;
104
+ right: 0;
105
+ width: auto;
106
+ height: auto;
107
+ z-index: -1;
108
+ -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
109
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
110
+ }
111
+ .lity-close {
112
+ z-index: 9994;
113
+ width: 35px;
114
+ height: 35px;
115
+ position: fixed;
116
+ right: 0;
117
+ top: 0;
118
+ -webkit-appearance: none;
119
+ cursor: pointer;
120
+ text-decoration: none;
121
+ text-align: center;
122
+ padding: 0;
123
+ color: #fff;
124
+ font-style: normal;
125
+ font-size: 35px;
126
+ font-family: Arial, Baskerville, monospace;
127
+ line-height: 35px;
128
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
129
+ border: 0;
130
+ background: none;
131
+ outline: none;
132
+ -webkit-box-shadow: none;
133
+ box-shadow: none;
134
+ }
135
+ .lity-close::-moz-focus-inner {
136
+ border: 0;
137
+ padding: 0;
138
+ }
139
+ .lity-close:hover,
140
+ .lity-close:focus,
141
+ .lity-close:active,
142
+ .lity-close:visited {
143
+ text-decoration: none;
144
+ text-align: center;
145
+ padding: 0;
146
+ color: #fff;
147
+ font-style: normal;
148
+ font-size: 35px;
149
+ font-family: Arial, Baskerville, monospace;
150
+ line-height: 35px;
151
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
152
+ border: 0;
153
+ background: none;
154
+ outline: none;
155
+ -webkit-box-shadow: none;
156
+ box-shadow: none;
157
+ }
158
+ .lity-close:active {
159
+ top: 1px;
160
+ }
161
+ /* Image */
162
+ .lity-image img {
163
+ max-width: 100%;
164
+ display: block;
165
+ line-height: 0;
166
+ border: 0;
167
+ }
168
+ /* iFrame */
169
+ .lity-iframe .lity-container,
170
+ .lity-youtube .lity-container,
171
+ .lity-vimeo .lity-container,
172
+ .lity-facebookvideo .lity-container,
173
+ .lity-googlemaps .lity-container {
174
+ width: 100%;
175
+ max-width: 964px;
176
+ }
177
+ .lity-iframe-container {
178
+ width: 100%;
179
+ height: 0;
180
+ padding-top: 56.25%;
181
+ overflow: auto;
182
+ pointer-events: auto;
183
+ -webkit-transform: translateZ(0);
184
+ transform: translateZ(0);
185
+ -webkit-overflow-scrolling: touch;
186
+ }
187
+ .lity-iframe-container iframe {
188
+ position: absolute;
189
+ display: block;
190
+ top: 0;
191
+ left: 0;
192
+ width: 100%;
193
+ height: 100%;
194
+ -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
195
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
196
+ background: #000;
197
+ }
198
+ .lity-hide {
199
+ display: none;
200
+ }
assets/third-party/lity/lity.js ADDED
@@ -0,0 +1,638 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! Lity - v2.2.2 - 2017-07-17
2
+ * http://sorgalla.com/lity/
3
+ * Copyright (c) 2015-2017 Jan Sorgalla; Licensed MIT */
4
+ (function (window, factory) {
5
+ if (typeof define === 'function' && define.amd) {
6
+ define(['jquery'], function ($) {
7
+ return factory(window, $);
8
+ });
9
+ } else if (typeof module === 'object' && typeof module.exports === 'object') {
10
+ module.exports = factory(window, require('jquery'));
11
+ } else {
12
+ window.lity = factory(window, window.jQuery || window.Zepto);
13
+ }
14
+ }(typeof window !== "undefined" ? window : this, function (window, $) {
15
+ 'use strict';
16
+
17
+ var document = window.document;
18
+
19
+ var _win = $(window);
20
+ var _deferred = $.Deferred;
21
+ var _html = $('html');
22
+ var _instances = [];
23
+
24
+ var _attrAriaHidden = 'aria-hidden';
25
+ var _dataAriaHidden = 'lity-' + _attrAriaHidden;
26
+
27
+ var _focusableElementsSelector = 'a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not([tabindex^="-"])';
28
+
29
+ var _defaultOptions = {
30
+ esc: true,
31
+ handler: null,
32
+ handlers: {
33
+ image: imageHandler,
34
+ inline: inlineHandler,
35
+ youtube: youtubeHandler,
36
+ vimeo: vimeoHandler,
37
+ googlemaps: googlemapsHandler,
38
+ facebookvideo: facebookvideoHandler,
39
+ iframe: iframeHandler
40
+ },
41
+ template: '<div class="lity" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="lity-wrap" data-lity-close role="document"><div class="lity-loader" aria-hidden="true">Loading...</div><div class="lity-container"><div class="lity-content"></div><button class="lity-close" type="button" aria-label="Close (Press escape to close)" data-lity-close>&times;</button></div></div></div>'
42
+ };
43
+
44
+ var _imageRegexp = /(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i;
45
+ var _youtubeRegex = /(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i;
46
+ var _vimeoRegex = /(vimeo(pro)?.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/;
47
+ var _googlemapsRegex = /((maps|www)\.)?google\.([^\/\?]+)\/?((maps\/?)?\?)(.*)/i;
48
+ var _facebookvideoRegex = /(facebook\.com)\/([a-z0-9_-]*)\/videos\/([0-9]*)(.*)?$/i;
49
+
50
+ var _transitionEndEvent = (function () {
51
+ var el = document.createElement('div');
52
+
53
+ var transEndEventNames = {
54
+ WebkitTransition: 'webkitTransitionEnd',
55
+ MozTransition: 'transitionend',
56
+ OTransition: 'oTransitionEnd otransitionend',
57
+ transition: 'transitionend'
58
+ };
59
+
60
+ for (var name in transEndEventNames) {
61
+ if (el.style[name] !== undefined) {
62
+ return transEndEventNames[name];
63
+ }
64
+ }
65
+
66
+ return false;
67
+ })();
68
+
69
+ function transitionEnd(element) {
70
+ var deferred = _deferred();
71
+
72
+ if (!_transitionEndEvent || !element.length) {
73
+ deferred.resolve();
74
+ } else {
75
+ element.one(_transitionEndEvent, deferred.resolve);
76
+ setTimeout(deferred.resolve, 500);
77
+ }
78
+
79
+ return deferred.promise();
80
+ }
81
+
82
+ function settings(currSettings, key, value) {
83
+ if (arguments.length === 1) {
84
+ return $.extend({}, currSettings);
85
+ }
86
+
87
+ if (typeof key === 'string') {
88
+ if (typeof value === 'undefined') {
89
+ return typeof currSettings[key] === 'undefined'
90
+ ? null
91
+ : currSettings[key];
92
+ }
93
+
94
+ currSettings[key] = value;
95
+ } else {
96
+ $.extend(currSettings, key);
97
+ }
98
+
99
+ return this;
100
+ }
101
+
102
+ function parseQueryParams(params) {
103
+ var pairs = decodeURI(params.split('#')[0]).split('&');
104
+ var obj = {}, p;
105
+
106
+ for (var i = 0, n = pairs.length; i < n; i++) {
107
+ if (!pairs[i]) {
108
+ continue;
109
+ }
110
+
111
+ p = pairs[i].split('=');
112
+ obj[p[0]] = p[1];
113
+ }
114
+
115
+ return obj;
116
+ }
117
+
118
+ function appendQueryParams(url, params) {
119
+ return url + (url.indexOf('?') > -1 ? '&' : '?') + $.param(params);
120
+ }
121
+
122
+ function transferHash(originalUrl, newUrl) {
123
+ var pos = originalUrl.indexOf('#');
124
+
125
+ if (-1 === pos) {
126
+ return newUrl;
127
+ }
128
+
129
+ if (pos > 0) {
130
+ originalUrl = originalUrl.substr(pos);
131
+ }
132
+
133
+ return newUrl + originalUrl;
134
+ }
135
+
136
+ function error(msg) {
137
+ return $('<span class="lity-error"/>').append(msg);
138
+ }
139
+
140
+ function imageHandler(target, instance) {
141
+ var desc = (instance.opener() && instance.opener().data('lity-desc')) || 'Image with no description';
142
+ var img = $('<img src="' + target + '" alt="' + desc + '"/>');
143
+ var deferred = _deferred();
144
+ var failed = function () {
145
+ deferred.reject(error('Failed loading image'));
146
+ };
147
+
148
+ img
149
+ .on('load', function () {
150
+ if (this.naturalWidth === 0) {
151
+ return failed();
152
+ }
153
+
154
+ deferred.resolve(img);
155
+ })
156
+ .on('error', failed)
157
+ ;
158
+
159
+ return deferred.promise();
160
+ }
161
+
162
+ imageHandler.test = function (target) {
163
+ return _imageRegexp.test(target);
164
+ };
165
+
166
+ function inlineHandler(target, instance) {
167
+ var el, placeholder, hasHideClass;
168
+
169
+ try {
170
+ el = $(target);
171
+ } catch (e) {
172
+ return false;
173
+ }
174
+
175
+ if (!el.length) {
176
+ return false;
177
+ }
178
+
179
+ placeholder = $('<i style="display:none !important"/>');
180
+ hasHideClass = el.hasClass('lity-hide');
181
+
182
+ instance
183
+ .element()
184
+ .one('lity:remove', function () {
185
+ placeholder
186
+ .before(el)
187
+ .remove()
188
+ ;
189
+
190
+ if (hasHideClass && !el.closest('.lity-content').length) {
191
+ el.addClass('lity-hide');
192
+ }
193
+ })
194
+ ;
195
+
196
+ return el
197
+ .removeClass('lity-hide')
198
+ .after(placeholder)
199
+ ;
200
+ }
201
+
202
+ function youtubeHandler(target) {
203
+ var matches = _youtubeRegex.exec(target);
204
+
205
+ if (!matches) {
206
+ return false;
207
+ }
208
+
209
+ return iframeHandler(
210
+ transferHash(
211
+ target,
212
+ appendQueryParams(
213
+ 'https://www.youtube' + (matches[2] || '') + '.com/embed/' + matches[4],
214
+ $.extend(
215
+ {
216
+ autoplay: 1
217
+ },
218
+ parseQueryParams(matches[5] || '')
219
+ )
220
+ )
221
+ )
222
+ );
223
+ }
224
+
225
+ function vimeoHandler(target) {
226
+ var matches = _vimeoRegex.exec(target);
227
+
228
+ if (!matches) {
229
+ return false;
230
+ }
231
+
232
+ return iframeHandler(
233
+ transferHash(
234
+ target,
235
+ appendQueryParams(
236
+ 'https://player.vimeo.com/video/' + matches[3],
237
+ $.extend(
238
+ {
239
+ autoplay: 1
240
+ },
241
+ parseQueryParams(matches[4] || '')
242
+ )
243
+ )
244
+ )
245
+ );
246
+ }
247
+
248
+ function facebookvideoHandler(target) {
249
+ var matches = _facebookvideoRegex.exec(target);
250
+
251
+ if (!matches) {
252
+ return false;
253
+ }
254
+
255
+ if (0 !== target.indexOf('http')) {
256
+ target = 'https:' + target;
257
+ }
258
+
259
+ return iframeHandler(
260
+ transferHash(
261
+ target,
262
+ appendQueryParams(
263
+ 'https://www.facebook.com/plugins/video.php?href=' + target,
264
+ $.extend(
265
+ {
266
+ autoplay: 1
267
+ },
268
+ parseQueryParams(matches[4] || '')
269
+ )
270
+ )
271
+ )
272
+ );
273
+ }
274
+
275
+ function googlemapsHandler(target) {
276
+ var matches = _googlemapsRegex.exec(target);
277
+
278
+ if (!matches) {
279
+ return false;
280
+ }
281
+
282
+ return iframeHandler(
283
+ transferHash(
284
+ target,
285
+ appendQueryParams(
286
+ 'https://www.google.' + matches[3] + '/maps?' + matches[6],
287
+ {
288
+ output: matches[6].indexOf('layer=c') > 0 ? 'svembed' : 'embed'
289
+ }
290
+ )
291
+ )
292
+ );
293
+ }
294
+
295
+ function iframeHandler(target) {
296
+ return '<div class="lity-iframe-container"><iframe frameborder="0" allowfullscreen src="' + target + '"/></div>';
297
+ }
298
+
299
+ function winHeight() {
300
+ return document.documentElement.clientHeight
301
+ ? document.documentElement.clientHeight
302
+ : Math.round(_win.height());
303
+ }
304
+
305
+ function keydown(e) {
306
+ var current = currentInstance();
307
+
308
+ if (!current) {
309
+ return;
310
+ }
311
+
312
+ // ESC key
313
+ if (e.keyCode === 27 && !!current.options('esc')) {
314
+ current.close();
315
+ }
316
+
317
+ // TAB key
318
+ if (e.keyCode === 9) {
319
+ handleTabKey(e, current);
320
+ }
321
+ }
322
+
323
+ function handleTabKey(e, instance) {
324
+ var focusableElements = instance.element().find(_focusableElementsSelector);
325
+ var focusedIndex = focusableElements.index(document.activeElement);
326
+
327
+ if (e.shiftKey && focusedIndex <= 0) {
328
+ focusableElements.get(focusableElements.length - 1).focus();
329
+ e.preventDefault();
330
+ } else if (!e.shiftKey && focusedIndex === focusableElements.length - 1) {
331
+ focusableElements.get(0).focus();
332
+ e.preventDefault();
333
+ }
334
+ }
335
+
336
+ function resize() {
337
+ $.each(_instances, function (i, instance) {
338
+ instance.resize();
339
+ });
340
+ }
341
+
342
+ function registerInstance(instanceToRegister) {
343
+ if (1 === _instances.unshift(instanceToRegister)) {
344
+ _html.addClass('lity-active');
345
+
346
+ _win
347
+ .on({
348
+ resize: resize,
349
+ keydown: keydown
350
+ })
351
+ ;
352
+ }
353
+
354
+ $('body > *').not(instanceToRegister.element())
355
+ .addClass('lity-hidden')
356
+ .each(function () {
357
+ var el = $(this);
358
+
359
+ if (undefined !== el.data(_dataAriaHidden)) {
360
+ return;
361
+ }
362
+
363
+ el.data(_dataAriaHidden, el.attr(_attrAriaHidden) || null);
364
+ })
365
+ .attr(_attrAriaHidden, 'true')
366
+ ;
367
+ }
368
+
369
+ function removeInstance(instanceToRemove) {
370
+ var show;
371
+
372
+ instanceToRemove
373
+ .element()
374
+ .attr(_attrAriaHidden, 'true')
375
+ ;
376
+
377
+ if (1 === _instances.length) {
378
+ _html.removeClass('lity-active');
379
+
380
+ _win
381
+ .off({
382
+ resize: resize,
383
+ keydown: keydown
384
+ })
385
+ ;
386
+ }
387
+
388
+ _instances = $.grep(_instances, function (instance) {
389
+ return instanceToRemove !== instance;
390
+ });
391
+
392
+ if (!!_instances.length) {
393
+ show = _instances[0].element();
394
+ } else {
395
+ show = $('.lity-hidden');
396
+ }
397
+
398
+ show
399
+ .removeClass('lity-hidden')
400
+ .each(function () {
401
+ var el = $(this), oldAttr = el.data(_dataAriaHidden);
402
+
403
+ if (!oldAttr) {
404
+ el.removeAttr(_attrAriaHidden);
405
+ } else {
406
+ el.attr(_attrAriaHidden, oldAttr);
407
+ }
408
+
409
+ el.removeData(_dataAriaHidden);
410
+ })
411
+ ;
412
+ }
413
+
414
+ function currentInstance() {
415
+ if (0 === _instances.length) {
416
+ return null;
417
+ }
418
+
419
+ return _instances[0];
420
+ }
421
+
422
+ function factory(target, instance, handlers, preferredHandler) {
423
+ var handler = 'inline', content;
424
+
425
+ var currentHandlers = $.extend({}, handlers);
426
+
427
+ if (preferredHandler && currentHandlers[preferredHandler]) {
428
+ content = currentHandlers[preferredHandler](target, instance);
429
+ handler = preferredHandler;
430
+ } else {
431
+ // Run inline and iframe handlers after all other handlers
432
+ $.each(['inline', 'iframe'], function (i, name) {
433
+ delete currentHandlers[name];
434
+
435
+ currentHandlers[name] = handlers[name];
436
+ });
437
+
438
+ $.each(currentHandlers, function (name, currentHandler) {
439
+ // Handler might be "removed" by setting callback to null
440
+ if (!currentHandler) {
441
+ return true;
442
+ }
443
+
444
+ if (
445
+ currentHandler.test &&
446
+ !currentHandler.test(target, instance)
447
+ ) {
448
+ return true;
449
+ }
450
+
451
+ content = currentHandler(target, instance);
452
+
453
+ if (false !== content) {
454
+ handler = name;
455
+ return false;
456
+ }
457
+ });
458
+ }
459
+
460
+ return {handler: handler, content: content || ''};
461
+ }
462
+
463
+ function Lity(target, options, opener, activeElement) {
464
+ var self = this;
465
+ var result;
466
+ var isReady = false;
467
+ var isClosed = false;
468
+ var element;
469
+ var content;
470
+
471
+ options = $.extend(
472
+ {},
473
+ _defaultOptions,
474
+ options
475
+ );
476
+
477
+ element = $(options.template);
478
+
479
+ // -- API --
480
+
481
+ self.element = function () {
482
+ return element;
483
+ };
484
+
485
+ self.opener = function () {
486
+ return opener;
487
+ };
488
+
489
+ self.options = $.proxy(settings, self, options);
490
+ self.handlers = $.proxy(settings, self, options.handlers);
491
+
492
+ self.resize = function () {
493
+ if (!isReady || isClosed) {
494
+ return;
495
+ }
496
+
497
+ content
498
+ .css('max-height', winHeight() + 'px')
499
+ .trigger('lity:resize', [self])
500
+ ;
501
+ };
502
+
503
+ self.close = function () {
504
+ if (!isReady || isClosed) {
505
+ return;
506
+ }
507
+
508
+ isClosed = true;
509
+
510
+ removeInstance(self);
511
+
512
+ var deferred = _deferred();
513
+
514
+ // We return focus only if the current focus is inside this instance
515
+ if (
516
+ activeElement &&
517
+ (
518
+ document.activeElement === element[0] ||
519
+ $.contains(element[0], document.activeElement)
520
+ )
521
+ ) {
522
+ try {
523
+ activeElement.focus();
524
+ } catch (e) {
525
+ // Ignore exceptions, eg. for SVG elements which can't be
526
+ // focused in IE11
527
+ }
528
+ }
529
+
530
+ content.trigger('lity:close', [self]);
531
+
532
+ element
533
+ .removeClass('lity-opened')
534
+ .addClass('lity-closed')
535
+ ;
536
+
537
+ transitionEnd(content.add(element))
538
+ .always(function () {
539
+ content.trigger('lity:remove', [self]);
540
+ element.remove();
541
+ element = undefined;
542
+ deferred.resolve();
543
+ })
544
+ ;
545
+
546
+ return deferred.promise();
547
+ };
548
+
549
+ // -- Initialization --
550
+
551
+ result = factory(target, self, options.handlers, options.handler);
552
+
553
+ element
554
+ .attr(_attrAriaHidden, 'false')
555
+ .addClass('lity-loading lity-opened lity-' + result.handler)
556
+ .appendTo('body')
557
+ .focus()
558
+ .on('click', '[data-lity-close]', function (e) {
559
+ if ($(e.target).is('[data-lity-close]')) {
560
+ self.close();
561
+ }
562
+ })
563
+ .trigger('lity:open', [self])
564
+ ;
565
+
566
+ registerInstance(self);
567
+
568
+ $.when(result.content)
569
+ .always(ready)
570
+ ;
571
+
572
+ function ready(result) {
573
+ content = $(result)
574
+ .css('max-height', winHeight() + 'px')
575
+ ;
576
+
577
+ element
578
+ .find('.lity-loader')
579
+ .each(function () {
580
+ var loader = $(this);
581
+
582
+ transitionEnd(loader)
583
+ .always(function () {
584
+ loader.remove();
585
+ })
586
+ ;
587
+ })
588
+ ;
589
+
590
+ element
591
+ .removeClass('lity-loading')
592
+ .find('.lity-content')
593
+ .empty()
594
+ .append(content)
595
+ ;
596
+
597
+ isReady = true;
598
+
599
+ content
600
+ .trigger('lity:ready', [self])
601
+ ;
602
+ }
603
+ }
604
+
605
+ function wpdLity(target, options, opener) {
606
+ if (!target.preventDefault) {
607
+ opener = $(opener);
608
+ } else {
609
+ target.preventDefault();
610
+ opener = $(this);
611
+ target = opener.data('lity-target') || opener.attr('rel') || opener.attr('src');
612
+ }
613
+
614
+ var instance = new Lity(
615
+ target,
616
+ $.extend(
617
+ {},
618
+ opener.data('lity-options') || opener.data('lity'),
619
+ options
620
+ ),
621
+ opener,
622
+ document.activeElement
623
+ );
624
+
625
+ if (!target.preventDefault) {
626
+ return instance;
627
+ }
628
+ }
629
+
630
+ wpdLity.version = '2.2.2';
631
+ wpdLity.options = $.proxy(settings, wpdLity, _defaultOptions);
632
+ wpdLity.handlers = $.proxy(settings, wpdLity, _defaultOptions.handlers);
633
+ wpdLity.current = currentInstance;
634
+
635
+ $(document).on('click.lity', '[data-wpd-lity]', wpdLity);
636
+
637
+ return wpdLity;
638
+ }));
assets/third-party/wpdcookiejs/js-cookie.js CHANGED
@@ -1,165 +1,165 @@
1
- /*!
2
- * JavaScript Cookie v2.1.3
3
- * https://github.com/js-cookie/js-cookie
4
- *
5
- * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
6
- * Released under the MIT license
7
- */
8
- ;(function (factory) {
9
- var registeredInModuleLoader = false;
10
- if (typeof define === 'function' && define.amd) {
11
- define(factory);
12
- registeredInModuleLoader = true;
13
- }
14
- if (typeof exports === 'object') {
15
- module.exports = factory();
16
- registeredInModuleLoader = true;
17
- }
18
- if (!registeredInModuleLoader) {
19
- var OldCookies = window.Cookies;
20
- var api = window.Cookies = factory();
21
- api.noConflict = function () {
22
- window.Cookies = OldCookies;
23
- return api;
24
- };
25
- }
26
- }(function () {
27
- function extend () {
28
- var i = 0;
29
- var result = {};
30
- for (; i < arguments.length; i++) {
31
- var attributes = arguments[ i ];
32
- for (var key in attributes) {
33
- result[key] = attributes[key];
34
- }
35
- }
36
- return result;
37
- }
38
-
39
- function init (converter) {
40
- function api (key, value, attributes) {
41
- var result;
42
- if (typeof document === 'undefined') {
43
- return;
44
- }
45
-
46
- // Write
47
-
48
- if (arguments.length > 1) {
49
- attributes = extend({
50
- path: '/'
51
- }, api.defaults, attributes);
52
-
53
- if (typeof attributes.expires === 'number') {
54
- var expires = new Date();
55
- expires.setMilliseconds(expires.getMilliseconds() + attributes.expires * 864e+5);
56
- attributes.expires = expires;
57
- }
58
-
59
- // We're using "expires" because "max-age" is not supported by IE
60
- attributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';
61
-
62
- try {
63
- result = JSON.stringify(value);
64
- if (/^[\{\[]/.test(result)) {
65
- value = result;
66
- }
67
- } catch (e) {}
68
-
69
- if (!converter.write) {
70
- value = encodeURIComponent(String(value))
71
- .replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
72
- } else {
73
- value = converter.write(value, key);
74
- }
75
-
76
- key = encodeURIComponent(String(key));
77
- key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);
78
- key = key.replace(/[\(\)]/g, escape);
79
-
80
- var stringifiedAttributes = '';
81
-
82
- for (var attributeName in attributes) {
83
- if (!attributes[attributeName]) {
84
- continue;
85
- }
86
- stringifiedAttributes += '; ' + attributeName;
87
- if (attributes[attributeName] === true) {
88
- continue;
89
- }
90
- stringifiedAttributes += '=' + attributes[attributeName];
91
- }
92
- return (document.cookie = key + '=' + value + stringifiedAttributes);
93
- }
94
-
95
- // Read
96
-
97
- if (!key) {
98
- result = {};
99
- }
100
-
101
- // To prevent the for loop in the first place assign an empty array
102
- // in case there are no cookies at all. Also prevents odd result when
103
- // calling "get()"
104
- var cookies = document.cookie ? document.cookie.split('; ') : [];
105
- var rdecode = /(%[0-9A-Z]{2})+/g;
106
- var i = 0;
107
-
108
- for (; i < cookies.length; i++) {
109
- var parts = cookies[i].split('=');
110
- var cookie = parts.slice(1).join('=');
111
-
112
- if (cookie.charAt(0) === '"') {
113
- cookie = cookie.slice(1, -1);
114
- }
115
-
116
- try {
117
- var name = parts[0].replace(rdecode, decodeURIComponent);
118
- cookie = converter.read ?
119
- converter.read(cookie, name) : converter(cookie, name) ||
120
- cookie.replace(rdecode, decodeURIComponent);
121
-
122
- if (this.json) {
123
- try {
124
- cookie = JSON.parse(cookie);
125
- } catch (e) {}
126
- }
127
-
128
- if (key === name) {
129
- result = cookie;
130
- break;
131
- }
132
-
133
- if (!key) {
134
- result[name] = cookie;
135
- }
136
- } catch (e) {}
137
- }
138
-
139
- return result;
140
- }
141
-
142
- api.set = api;
143
- api.get = function (key) {
144
- return api.call(api, key);
145
- };
146
- api.getJSON = function () {
147
- return api.apply({
148
- json: true
149
- }, [].slice.call(arguments));
150
- };
151
- api.defaults = {};
152
-
153
- api.remove = function (key, attributes) {
154
- api(key, '', extend(attributes, {
155
- expires: -1
156
- }));
157
- };
158
-
159
- api.withConverter = init;
160
-
161
- return api;
162
- }
163
-
164
- return init(function () {});
165
- }));
1
+ /*!
2
+ * JavaScript Cookie v2.1.3
3
+ * https://github.com/js-cookie/js-cookie
4
+ *
5
+ * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
6
+ * Released under the MIT license
7
+ */
8
+ ;(function (factory) {
9
+ var registeredInModuleLoader = false;
10
+ if (typeof define === 'function' && define.amd) {
11
+ define(factory);
12
+ registeredInModuleLoader = true;
13
+ }
14
+ if (typeof exports === 'object') {
15
+ module.exports = factory();
16
+ registeredInModuleLoader = true;
17
+ }
18
+ if (!registeredInModuleLoader) {
19
+ var OldCookies = window.Cookies;
20
+ var api = window.Cookies = factory();
21
+ api.noConflict = function () {
22
+ window.Cookies = OldCookies;
23
+ return api;
24
+ };
25
+ }
26
+ }(function () {
27
+ function extend () {
28
+ var i = 0;
29
+ var result = {};
30
+ for (; i < arguments.length; i++) {
31
+ var attributes = arguments[ i ];
32
+ for (var key in attributes) {
33
+ result[key] = attributes[key];
34
+ }
35
+ }
36
+ return result;
37
+ }
38
+
39
+ function init (converter) {
40
+ function api (key, value, attributes) {
41
+ var result;
42
+ if (typeof document === 'undefined') {
43
+ return;
44
+ }
45
+
46
+ // Write
47
+
48
+ if (arguments.length > 1) {
49
+ attributes = extend({
50
+ path: '/'
51
+ }, api.defaults, attributes);
52
+
53
+ if (typeof attributes.expires === 'number') {
54
+ var expires = new Date();
55
+ expires.setMilliseconds(expires.getMilliseconds() + attributes.expires * 864e+5);
56
+ attributes.expires = expires;
57
+ }
58
+
59
+ // We're using "expires" because "max-age" is not supported by IE
60
+ attributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';
61
+
62
+ try {
63
+ result = JSON.stringify(value);
64
+ if (/^[\{\[]/.test(result)) {
65
+ value = result;
66
+ }
67
+ } catch (e) {}
68
+
69
+ if (!converter.write) {
70
+ value = encodeURIComponent(String(value))
71
+ .replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
72
+ } else {
73
+ value = converter.write(value, key);
74
+ }
75
+
76
+ key = encodeURIComponent(String(key));
77
+ key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);
78
+ key = key.replace(/[\(\)]/g, escape);
79
+
80
+ var stringifiedAttributes = '';
81
+
82
+ for (var attributeName in attributes) {
83
+ if (!attributes[attributeName]) {
84
+ continue;
85
+ }
86
+ stringifiedAttributes += '; ' + attributeName;
87
+ if (attributes[attributeName] === true) {
88
+ continue;
89
+ }
90
+ stringifiedAttributes += '=' + attributes[attributeName];
91
+ }
92
+ return (document.cookie = key + '=' + value + stringifiedAttributes);
93
+ }
94
+
95
+ // Read
96
+
97
+ if (!key) {
98
+ result = {};
99
+ }
100
+
101
+ // To prevent the for loop in the first place assign an empty array
102
+ // in case there are no cookies at all. Also prevents odd result when
103
+ // calling "get()"
104
+ var cookies = document.cookie ? document.cookie.split('; ') : [];
105
+ var rdecode = /(%[0-9A-Z]{2})+/g;
106
+ var i = 0;
107
+
108
+ for (; i < cookies.length; i++) {
109
+ var parts = cookies[i].split('=');
110
+ var cookie = parts.slice(1).join('=');
111
+
112
+ if (cookie.charAt(0) === '"') {
113
+ cookie = cookie.slice(1, -1);
114
+ }
115
+
116
+ try {
117
+ var name = parts[0].replace(rdecode, decodeURIComponent);
118
+ cookie = converter.read ?
119
+ converter.read(cookie, name) : converter(cookie, name) ||
120
+ cookie.replace(rdecode, decodeURIComponent);
121
+
122
+ if (this.json) {
123
+ try {
124
+ cookie = JSON.parse(cookie);
125
+ } catch (e) {}
126
+ }
127
+
128
+ if (key === name) {
129
+ result = cookie;
130
+ break;
131
+ }
132
+
133
+ if (!key) {
134
+ result[name] = cookie;
135
+ }
136
+ } catch (e) {}
137
+ }
138
+
139
+ return result;
140
+ }
141
+
142
+ api.set = api;
143
+ api.get = function (key) {
144
+ return api.call(api, key);
145
+ };
146
+ api.getJSON = function () {
147
+ return api.apply({
148
+ json: true
149
+ }, [].slice.call(arguments));
150
+ };
151
+ api.defaults = {};
152
+
153
+ api.remove = function (key, attributes) {
154
+ api(key, '', extend(attributes, {
155
+ expires: -1
156
+ }));
157
+ };
158
+
159
+ api.withConverter = init;
160
+
161
+ return api;
162
+ }
163
+
164
+ return init(function () {});
165
+ }));
class.WpdiscuzCore.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  * Plugin Name: wpDiscuz
5
  * Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
6
- * Version: 4.1.4
7
  * Author: gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)
8
  * Author URI: https://gvectors.com/
9
  * Plugin URI: http://wpdiscuz.com/
@@ -29,11 +29,13 @@ include_once 'manager/class.WpdiscuzDBManager.php';
29
  include_once 'includes/class.WpdiscuzCss.php';
30
  include_once 'forms/wpDiscuzForm.php';
31
  include_once 'utils/class.WpdiscuzCache.php';
 
32
 
33
  class WpdiscuzCore implements WpDiscuzConstants {
34
 
35
  public $dbManager;
36
  public $helper;
 
37
  private $emailHelper;
38
  public $optimizationHelper;
39
  public $optionsSerialized;
@@ -48,38 +50,43 @@ class WpdiscuzCore implements WpDiscuzConstants {
48
  private $cache;
49
  public $subscriptionData;
50
  public $isWpdiscuzLoaded;
 
51
  public static $CURRENT_BLOG_ID;
52
- private $doGravatarsCache;
53
 
54
- public function __construct() {
55
  $this->version = get_option(self::OPTION_SLUG_VERSION, '1.0.0');
56
  $this->dbManager = new WpdiscuzDBManager();
57
  $this->optionsSerialized = new WpdiscuzOptionsSerialized($this->dbManager);
58
  $this->options = new WpdiscuzOptions($this->optionsSerialized, $this->dbManager);
59
  $this->wpdiscuzForm = new wpDiscuzForm($this->optionsSerialized, $this->version);
60
  $this->helper = new WpdiscuzHelper($this->optionsSerialized, $this->dbManager, $this->wpdiscuzForm);
 
61
  $this->emailHelper = new WpdiscuzEmailHelper($this->optionsSerialized, $this->dbManager);
62
  $this->optimizationHelper = new WpdiscuzOptimizationHelper($this->optionsSerialized, $this->dbManager, $this->emailHelper, $this->wpdiscuzForm);
63
  $this->css = new WpdiscuzCss($this->optionsSerialized, $this->helper);
64
  $this->wpdiscuzWalker = new WpdiscuzWalker($this->helper, $this->optimizationHelper, $this->dbManager, $this->optionsSerialized);
 
 
 
65
  if ($this->optionsSerialized->isLoadOnlyParentComments) {
66
  add_action('wp_ajax_wpdiscuzShowReplies', array(&$this, 'showReplies'));
67
  add_action('wp_ajax_nopriv_wpdiscuzShowReplies', array(&$this, 'showReplies'));
68
  }
69
  self::$CURRENT_BLOG_ID = get_current_blog_id();
70
  register_activation_hook(__FILE__, array(&$this, 'pluginActivation'));
71
- register_deactivation_hook(__FILE__, array(&$this->wpdiscuzForm, 'removeAllFiles'));
72
- /* GRAVATARS CACHE */
73
- $this->doGravatarsCache = $this->optionsSerialized->isGravatarCacheEnabled && $this->optionsSerialized->isFileFunctionsExists;
74
- if ($this->doGravatarsCache) {
75
- $this->cache = new WpdiscuzCache($this->optionsSerialized, $this->helper, $this->dbManager);
76
- register_activation_hook(__FILE__, array(&$this, 'registerGravatarsJobs'));
77
- register_deactivation_hook(__FILE__, array(&$this, 'deregisterGravatarsJobs'));
78
- add_filter('cron_schedules', array(&$this, 'setGravatarsIntervals'));
79
- add_action(self::GRAVATARS_CACHE_ADD_ACTION, array(&$this->cache, 'cacheGravatars'));
80
- add_action(self::GRAVATARS_CACHE_DELETE_ACTION, array(&$this->cache, 'deleteGravatars'));
81
  }
82
  /* GRAVATARS CACHE */
 
 
 
 
 
 
83
  add_action('wpmu_new_blog', array(&$this, 'addNewBlog'));
84
  add_action('delete_blog', array(&$this, 'deleteBlog'));
85
  add_action('wp_head', array(&$this, 'initCurrentPostType'));
@@ -93,10 +100,10 @@ class WpdiscuzCore implements WpDiscuzConstants {
93
 
94
  $wp_version = get_bloginfo('version');
95
  if (version_compare($wp_version, '4.2.0', '>=')) {
96
- add_action('wp_ajax_dismiss_wpdiscuz_addon_note', array(&$this->options, 'dismissAddonNote'));
97
- add_action('admin_notices', array(&$this->options, 'addonNote'));
98
- add_action('wp_ajax_dismiss_wpdiscuz_tip_note', array(&$this->options, 'dismissTipNote'));
99
- add_action('admin_notices', array(&$this->options, 'tipNote'));
100
  }
101
 
102
  add_action('wp_ajax_loadMoreComments', array(&$this, 'loadMoreComments'));
@@ -116,6 +123,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
116
  add_action('wp_ajax_redirect', array(&$this, 'redirect'));
117
  add_action('wp_ajax_nopriv_redirect', array(&$this, 'redirect'));
118
  add_action('admin_post_removeVoteData', array(&$this->optimizationHelper, 'removeVoteData'));
 
119
  add_action('comment_post', array(&$this->emailHelper, 'notificationFromDashboard'), 2712, 2);
120
  add_action('transition_comment_status', array(&$this->optimizationHelper, 'statusEventHandler'), 265, 3);
121
  $plugin = plugin_basename(__FILE__);
@@ -142,7 +150,17 @@ class WpdiscuzCore implements WpDiscuzConstants {
142
  add_action('wp_loaded', array(&$this, 'addNewRoles'));
143
  add_filter('comments_template_query_args', array(&$this, 'commentsTemplateQueryArgs'));
144
  add_action('pre_get_comments', array(&$this, 'preGetComments'));
 
145
  add_action('deleted_comment', array(&$this->optimizationHelper, 'cleanCommentRelatedRows'));
 
 
 
 
 
 
 
 
 
146
  }
147
 
148
  public function pluginActivation($networkwide) {
@@ -244,12 +262,12 @@ class WpdiscuzCore implements WpDiscuzConstants {
244
  $commentListArgs = $this->getCommentListArgs($postId);
245
  $commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
246
  $commentListArgs['current_user'] = $currentUser;
247
- $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment : true;
 
248
  $newCommentIds = $this->dbManager->getNewCommentIds($cArgs, $loadLastCommentId, $email);
249
  $newCommentIds = apply_filters('wpdiscuz_live_update_new_comment_ids', $newCommentIds, $postId, $currentUser);
250
  if ($this->optionsSerialized->commentListUpdateType == 1) {
251
  $messageArray['message'] = array();
252
- $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment : true;
253
  foreach ($newCommentIds as $newCommentId) {
254
  if (!in_array($newCommentId, $visibleCommentIds)) {
255
  $comment = get_comment($newCommentId);
@@ -308,7 +326,8 @@ class WpdiscuzCore implements WpDiscuzConstants {
308
  $commentListArgs = $this->getCommentListArgs($postId);
309
  $commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
310
  $commentListArgs['current_user'] = $currentUser;
311
- $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment : true;
 
312
  $messageArray['message'] = array();
313
  foreach ($newCommentIds as $newCommentId) {
314
  $comment = get_comment($newCommentId);
@@ -380,6 +399,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
380
  }
381
 
382
  if ($name && $email && $comment_content) {
 
383
  $author_ip = $this->helper->getRealIPAddr();
384
  $uid_data = $this->helper->getUIDData($uniqueId);
385
  $comment_parent = $uid_data[0];
@@ -394,7 +414,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
394
  'comment_author_url' => $website_url,
395
  'comment_author_IP' => $author_ip,
396
  'comment_agent' => $wc_user_agent,
397
- 'comment_type' => ''
398
  );
399
 
400
  $new_comment_id = wp_new_comment(wp_slash($new_commentdata));
@@ -432,7 +452,8 @@ class WpdiscuzCore implements WpDiscuzConstants {
432
  $commentListArgs['current_user'] = $currentUser;
433
  $commentListArgs['addComment'] = $commentDepth;
434
  $commentListArgs['comment_author_email'] = $email;
435
- $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment : true;
 
436
  $messageArray['message'] = wp_list_comments($commentListArgs, array($newComment));
437
  } else {
438
  $messageArray['code'] = 'wc_invalid_field';
@@ -542,25 +563,27 @@ class WpdiscuzCore implements WpDiscuzConstants {
542
  }
543
 
544
  public function getSingleComment() {
545
- $currentUser = WpdiscuzHelper::getCurrentUser();
546
  $messageArray = array('code' => 0);
547
  $commentId = isset($_POST['commentId']) ? intval($_POST['commentId']) : 0;
548
  $comment = get_comment($commentId);
549
  $postId = isset($_POST['postId']) ? intval($_POST['postId']) : 0;
550
  if ($commentId && $postId && $comment && $comment->comment_post_ID == $postId) {
 
551
  $parentComment = $this->optimizationHelper->getCommentRoot($commentId);
552
- $tree = $this->optimizationHelper->getTreeByParentId($parentComment->comment_ID, $tree);
553
- // $this->commentsArgs = $this->getDefaultCommentsArgs($postId);
554
- // $this->commentsArgs['comment__in'] = array_merge(array($parentComment->comment_ID), $tree);
555
- $commentIn = array_merge(array($parentComment->comment_ID), $tree);
556
- $comments = get_comments(array('post_id' => $postId, 'comment__in' => $commentIn));
 
557
  $commentListArgs = $this->getCommentListArgs($postId);
558
  $commentListArgs['isSingle'] = true;
559
  $commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
560
  $commentListArgs['current_user'] = $currentUser;
 
 
561
  $messageArray['message'] = wp_list_comments($commentListArgs, $comments);
562
- $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment : true;
563
- // $this->commentsArgs['caller'] = '';
564
  }
565
  wp_die(json_encode($messageArray));
566
  }
@@ -589,6 +612,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
589
  $postId = isset($_POST['postId']) ? intval($_POST['postId']) : 0;
590
  $lastParentId = isset($_POST['lastParentId']) ? intval($_POST['lastParentId']) : 0;
591
  if ($lastParentId >= 0 && $postId) {
 
592
  $limit = ($this->optionsSerialized->commentListLoadType == 1) ? 0 : $this->optionsSerialized->wordpressCommentPerPage;
593
  $args = array('limit' => $limit);
594
  $orderBy = isset($_POST['orderBy']) ? trim($_POST['orderBy']) : '';
@@ -693,6 +717,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
693
  } else {
694
  $args['orderby'] = 'comment_date_gmt';
695
  }
 
696
  $commentData = $this->getWPComments($args);
697
  $messageArray['code'] = 1;
698
  $messageArray['loadCount'] = 1;
@@ -736,18 +761,18 @@ class WpdiscuzCore implements WpDiscuzConstants {
736
  $postId = $post && $post->ID ? $post->ID : '';
737
  $defaults = $this->getDefaultCommentsArgs($postId);
738
  $this->commentsArgs = wp_parse_args($args, $defaults);
739
- $islazyLoadOnPageLoad = isset($this->commentsArgs['first_load']) && $this->commentsArgs['first_load'] && $this->optionsSerialized->commentListLoadType == 2 && !$this->optionsSerialized->lazyLoadOnPageLoad;
740
  do_action('wpdiscuz_before_getcomments', $this->commentsArgs, $currentUser, $args);
741
  $commentData = array();
742
  $commentListArgs = $this->getCommentListArgs($this->commentsArgs['post_id']);
743
  $commentList = $this->_getWPComments($commentListArgs, $commentData);
744
  $commentListArgs['current_user'] = $currentUser;
745
- $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment : true;
 
746
  $commentListArgs[self::COOKIE_LAST_VISIT] = isset($this->commentsArgs[self::COOKIE_LAST_VISIT]) ? $this->commentsArgs[self::COOKIE_LAST_VISIT] : '';
747
- $wcWpComments = $islazyLoadOnPageLoad ? '' : wp_list_comments($commentListArgs, $commentList);
748
  $commentData['comment_list'] = $wcWpComments;
749
  $this->commentsArgs['caller'] = '';
750
- if ($this->doGravatarsCache && $this->cache->gravatars) {
751
  $this->dbManager->addGravatars($this->cache->gravatars);
752
  }
753
  return $commentData;
@@ -755,77 +780,168 @@ class WpdiscuzCore implements WpDiscuzConstants {
755
 
756
  private function _getWPComments(&$commentListArgs, &$commentData) {
757
  $commentList = array();
758
- $childrenOf = array();
759
- if (!$this->optionsSerialized->wordpressIsPaginate) {
760
- $islazyLoadOnPageLoad = isset($this->commentsArgs['first_load']) && $this->commentsArgs['first_load'] && $this->optionsSerialized->commentListLoadType == 2 && !$this->optionsSerialized->lazyLoadOnPageLoad;
761
- $this->commentsArgs['comment__in'] = $this->dbManager->getCommentList($this->commentsArgs);
762
- $commentData['last_parent_id'] = $this->commentsArgs['comment__in'] ? $this->commentsArgs['comment__in'][count($this->commentsArgs['comment__in']) - 1] : 0;
763
- if ($islazyLoadOnPageLoad) {
764
- $commentData['last_parent_id'] = 0;
765
- $this->dbManager->isShowLoadMore = $this->commentsArgs['comment__in'] ? true : false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
766
  $this->commentsArgs['comment__in'] = '';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
767
  }
 
 
 
768
  $commentData['is_show_load_more'] = $this->dbManager->isShowLoadMore;
769
- if ($this->commentsArgs['is_threaded']) {
770
  if ($this->commentsArgs['comment__in']) {
771
  $parentComments = get_comments($this->commentsArgs);
772
- $firstParentId = $this->commentsArgs['comment__in'][0];
773
- $firstParent = null;
774
  foreach ($parentComments as $parentComment) {
775
  $commentList[] = $parentComment;
776
- $childComments = $parentComment->get_children(array(
777
  'format' => 'flat',
778
  'status' => $this->commentsArgs['status'],
779
  'orderby' => $this->commentsArgs['orderby']
780
  ));
781
- $childrenOf[$parentComment->comment_ID] = $childComments;
782
- $countChildren = count($childComments);
783
- $commentListArgs['wpdiscuz_root_comment_' . $parentComment->comment_ID] = $countChildren ? ' wpdiscuz-root-comment ' : '';
784
  if ($countChildren) {
 
785
  if ($this->optionsSerialized->isLoadOnlyParentComments) {
786
  $commentListArgs['wpdiscuz_child_count_' . $parentComment->comment_ID] = $countChildren;
787
- if ($this->commentsArgs['orderby'] != 'by_vote') {
788
- if (!$firstParent) {
789
- if ($this->commentsArgs['order'] == 'desc') {
790
- $firstParent = $childrenOf && isset($childrenOf[$firstParentId]) && $childrenOf[$firstParentId] ? $childrenOf[$firstParentId][count($childrenOf[$firstParentId]) - 1] : null;
791
- $firstParentId = $firstParent ? $firstParent->comment_ID + 1 : 0;
792
- } else {
793
- $firstParent = $parentComments[$firstParentId];
794
- $firstParentId = $firstParent ? $firstParent->comment_ID - 1 : 0;
795
- }
796
- }
797
- $showRepliesLink = $this->helper->loadMoreLink($firstParentId, $parentComment->comment_post_ID) . '&showReplies=' . $parentComment->comment_ID;
798
- $commentListArgs['showRepliesLink_' . $parentComment->comment_ID] = $showRepliesLink;
799
- if (isset($_GET['showReplies']) && ($repliesOf = intval($_GET['showReplies'])) && $repliesOf == $parentComment->comment_ID) {
800
- foreach ($childComments as $childComment) {
801
- $commentList[] = $childComment;
802
- }
803
- }
804
- }
805
  } else {
806
- foreach ($childComments as $childComment) {
807
- $commentList[] = $childComment;
808
- }
809
  }
 
 
810
  }
811
  }
812
  }
813
  } else {
814
  $commentList = get_comments($this->commentsArgs);
815
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
816
  $commentListArgs['page'] = 1;
817
  $commentListArgs['last_parent_id'] = $commentData['last_parent_id'];
818
- } else {
819
- unset($commentListArgs['reverse_top_level']);
820
- $commentList = null;
821
  }
822
  return $commentList;
823
  }
824
 
825
  public function commentsTemplateQueryArgs($args) {
826
  global $post;
827
- if ($this->isWpdiscuzLoaded && !$this->optionsSerialized->wordpressIsPaginate) {
828
- $args['post__not_in'] = $post->ID;
 
 
 
 
829
  }
830
  return $args;
831
  }
@@ -838,13 +954,33 @@ class WpdiscuzCore implements WpDiscuzConstants {
838
  }
839
  }
840
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
841
  /**
842
  * add comments clauses
843
  * add new orderby clause when sort type is vote and wordpress commnts order is older (ASC)
844
  */
845
  public function getCommentsArgs($args) {
846
  global $wpdb;
847
- if ($this->commentsArgs['caller'] === 'wpdiscuz' && $this->commentsArgs['comment__in']) {
848
  $orderby = '';
849
  $args['caller'] = $this->commentsArgs['caller'] = 'wpdiscuz-';
850
  if (!$this->optionsSerialized->votingButtonsShowHide && $this->commentsArgs['orderby'] == 'by_vote') {
@@ -870,19 +1006,13 @@ class WpdiscuzCore implements WpDiscuzConstants {
870
  'date_order' => $this->optionsSerialized->wordpressCommentOrder,
871
  'limit' => $this->optionsSerialized->commentListLoadType == 3 ? 0 : $this->optionsSerialized->wordpressCommentPerPage,
872
  'is_threaded' => $this->optionsSerialized->wordpressThreadComments,
873
- 'status' => 'approve',
874
  'comment__in' => '',
875
- 'hierarchical' => 'threaded',
876
  'update_comment_meta_cache' => false,
877
  'no_found_rows' => false,
 
878
  );
879
 
880
- if (current_user_can('moderate_comments')) {
881
- $args['status'] = 'all';
882
- }
883
- if (!$this->optionsSerialized->wordpressThreadComments) {
884
- $args['hierarchical'] = false;
885
- }
886
  if ($user_ID) {
887
  $args['include_unapproved'] = array($user_ID);
888
  } elseif (!empty($commenter['comment_author_email'])) {
@@ -908,10 +1038,10 @@ class WpdiscuzCore implements WpDiscuzConstants {
908
  * Scripts and styles registration on administration pages
909
  */
910
  public function adminPageStylesScripts() {
911
- global $typenow;
912
  $wp_version = get_bloginfo('version');
913
  $wpdiscuzPages = apply_filters('wpdiscuz_admin_pages', array(self::PAGE_SETTINGS, self::PAGE_PHRASES, self::PAGE_TOOLS, self::PAGE_ADDONS));
914
- if ((isset($_GET['page']) && in_array($_GET['page'], $wpdiscuzPages)) || ($typenow == 'wpdiscuz_form')) {
915
  $args = array(
916
  'msgConfirmResetOptions' => __('Do you really want to reset all options?', 'wpdiscuz'),
917
  'msgConfirmRemoveVotes' => __('Do you really want to remove voting data?', 'wpdiscuz'),
@@ -949,6 +1079,22 @@ class WpdiscuzCore implements WpDiscuzConstants {
949
  wp_register_script('wpdiscuz-addon-notes', plugins_url(WPDISCUZ_DIR_NAME . '/assets/js/wpdiscuz-notes.js'), array('jquery'), '1.0.0', true);
950
  wp_enqueue_script('wpdiscuz-addon-notes');
951
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
952
  }
953
 
954
  /**
@@ -978,12 +1124,12 @@ class WpdiscuzCore implements WpDiscuzConstants {
978
  wp_enqueue_style('wpdiscuz-font-awesome');
979
  }
980
 
981
- $this->helper->registerWpDiscuzStyle($this->version);
982
- wp_enqueue_style('wpdiscuz-frontend-css');
983
-
984
  if (is_rtl()) {
985
  wp_register_style('wpdiscuz-frontend-rtl-css', plugins_url(WPDISCUZ_DIR_NAME . '/assets/css/wpdiscuz-rtl.css'), null, $this->version);
986
  wp_enqueue_style('wpdiscuz-frontend-rtl-css');
 
 
 
987
  }
988
 
989
  wp_register_script('wpdiscuz-cookie-js', plugins_url(WPDISCUZ_DIR_NAME . '/assets/third-party/wpdcookiejs/customcookie.js'), array('jquery'));
@@ -1024,6 +1170,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
1024
 
1025
  public function pluginNewVersion() {
1026
  $this->dbManager->createEmailNotificationTable();
 
1027
  $wc_plugin_data = get_plugin_data(__FILE__);
1028
  if (version_compare($wc_plugin_data['Version'], $this->version, '>')) {
1029
  $this->wpdiscuzForm->createDefaultForm($this->version);
@@ -1046,9 +1193,6 @@ class WpdiscuzCore implements WpDiscuzConstants {
1046
  if (version_compare($this->version, '3.0.0', '<=') && version_compare($this->version, '1.0.0', '!=')) {
1047
  $this->dbManager->alterNotificationTable();
1048
  }
1049
- if (version_compare($this->version, '4.1.3', '<=')) {
1050
- $this->dbManager->createAvatarsCacheTable();
1051
- }
1052
  }
1053
  do_action('wpdiscuz_check_version');
1054
  }
@@ -1138,6 +1282,8 @@ class WpdiscuzCore implements WpDiscuzConstants {
1138
  public function getCommentListArgs($postId) {
1139
  $post = get_post($postId);
1140
  $postsAuthors = ($post->comment_count && (!$this->optionsSerialized->disableProfileURLs || !$this->optionsSerialized->authorTitlesShowHide)) ? $this->dbManager->getPostsAuthors() : array();
 
 
1141
  $args = array(
1142
  'style' => 'div',
1143
  'echo' => false,
@@ -1147,6 +1293,7 @@ class WpdiscuzCore implements WpDiscuzConstants {
1147
  'posts_authors' => $postsAuthors,
1148
  'walker' => $this->wpdiscuzWalker,
1149
  'comment_status' => array(1),
 
1150
  );
1151
  return apply_filters('wpdiscuz_comment_list_args', $args);
1152
  }
@@ -1178,9 +1325,11 @@ class WpdiscuzCore implements WpDiscuzConstants {
1178
  $postId = isset($_POST['postId']) ? intval($_POST['postId']) : 0;
1179
  $commentId = isset($_POST['commentId']) ? intval($_POST['commentId']) : 0;
1180
  if ($postId) {
 
1181
  $commentListArgs = $this->getCommentListArgs($postId);
1182
- $commentListArgs['current_user'] = WpdiscuzHelper::getCurrentUser();
1183
- $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment : true;
 
1184
  $cArgs = $this->getDefaultCommentsArgs($postId);
1185
  $cArgs['parent'] = $commentId;
1186
  $cArgs['limit'] = 0;
@@ -1189,7 +1338,6 @@ class WpdiscuzCore implements WpDiscuzConstants {
1189
  'format' => 'flat',
1190
  'status' => $cArgs['status'],
1191
  'orderby' => $cArgs['orderby'],
1192
- 'hierarchical' => 'threaded',
1193
  ));
1194
  $countChildren = count($children);
1195
  $commentListArgs['wpdiscuz_root_comment_' . $comment->comment_ID] = $countChildren;
@@ -1199,6 +1347,8 @@ class WpdiscuzCore implements WpDiscuzConstants {
1199
  if ($comments) {
1200
  $response['code'] = 1;
1201
  $response['data'] = wp_list_comments($commentListArgs, $comments);
 
 
1202
  }
1203
  }
1204
  wp_die(json_encode($response));
@@ -1206,4 +1356,4 @@ class WpdiscuzCore implements WpDiscuzConstants {
1206
 
1207
  }
1208
 
1209
- $wpdiscuz = new WpdiscuzCore();
3
  /*
4
  * Plugin Name: wpDiscuz
5
  * Description: Better comment system. Wordpress post comments and discussion plugin. Allows your visitors discuss, vote for comments and share.
6
+ * Version: 5.0.0
7
  * Author: gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)
8
  * Author URI: https://gvectors.com/
9
  * Plugin URI: http://wpdiscuz.com/
29
  include_once 'includes/class.WpdiscuzCss.php';
30
  include_once 'forms/wpDiscuzForm.php';
31
  include_once 'utils/class.WpdiscuzCache.php';
32
+ include_once 'utils/class.WpdiscuzHelperAjax.php';
33
 
34
  class WpdiscuzCore implements WpDiscuzConstants {
35
 
36
  public $dbManager;
37
  public $helper;
38
+ public $helperAjax;
39
  private $emailHelper;
40
  public $optimizationHelper;
41
  public $optionsSerialized;
50
  private $cache;
51
  public $subscriptionData;
52
  public $isWpdiscuzLoaded;
53
+ private $requestUri;
54
  public static $CURRENT_BLOG_ID;
55
+ private static $_instance = null;
56
 
57
+ private function __construct() {
58
  $this->version = get_option(self::OPTION_SLUG_VERSION, '1.0.0');
59
  $this->dbManager = new WpdiscuzDBManager();
60
  $this->optionsSerialized = new WpdiscuzOptionsSerialized($this->dbManager);
61
  $this->options = new WpdiscuzOptions($this->optionsSerialized, $this->dbManager);
62
  $this->wpdiscuzForm = new wpDiscuzForm($this->optionsSerialized, $this->version);
63
  $this->helper = new WpdiscuzHelper($this->optionsSerialized, $this->dbManager, $this->wpdiscuzForm);
64
+ $this->helperAjax = new WpdiscuzHelperAjax($this->optionsSerialized, $this->dbManager);
65
  $this->emailHelper = new WpdiscuzEmailHelper($this->optionsSerialized, $this->dbManager);
66
  $this->optimizationHelper = new WpdiscuzOptimizationHelper($this->optionsSerialized, $this->dbManager, $this->emailHelper, $this->wpdiscuzForm);
67
  $this->css = new WpdiscuzCss($this->optionsSerialized, $this->helper);
68
  $this->wpdiscuzWalker = new WpdiscuzWalker($this->helper, $this->optimizationHelper, $this->dbManager, $this->optionsSerialized);
69
+ $this->cache = new WpdiscuzCache($this->optionsSerialized, $this->helper, $this->dbManager);
70
+ $this->requestUri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
71
+
72
  if ($this->optionsSerialized->isLoadOnlyParentComments) {
73
  add_action('wp_ajax_wpdiscuzShowReplies', array(&$this, 'showReplies'));
74
  add_action('wp_ajax_nopriv_wpdiscuzShowReplies', array(&$this, 'showReplies'));
75
  }
76
  self::$CURRENT_BLOG_ID = get_current_blog_id();
77
  register_activation_hook(__FILE__, array(&$this, 'pluginActivation'));
78
+ register_deactivation_hook(__FILE__, array(&$this->wpdiscuzForm, 'removeAllFiles'));
79
+
80
+ if (!get_option(self::OPTION_SLUG_DEACTIVATION) && (strpos($this->requestUri, '/plugins.php') !== false)) {
81
+ add_filter('admin_footer', array(&$this->helper, 'wpdDeactivationReasonModal'));
 
 
 
 
 
 
82
  }
83
  /* GRAVATARS CACHE */
84
+ register_activation_hook(__FILE__, array(&$this, 'registerGravatarsJobs'));
85
+ register_deactivation_hook(__FILE__, array(&$this, 'deregisterGravatarsJobs'));
86
+ add_filter('cron_schedules', array(&$this, 'setGravatarsIntervals'));
87
+ add_action(self::GRAVATARS_CACHE_ADD_ACTION, array(&$this->cache, 'cacheGravatars'));
88
+ add_action(self::GRAVATARS_CACHE_DELETE_ACTION, array(&$this->cache, 'deleteGravatars'));
89
+ /* GRAVATARS CACHE */
90
  add_action('wpmu_new_blog', array(&$this, 'addNewBlog'));
91
  add_action('delete_blog', array(&$this, 'deleteBlog'));
92
  add_action('wp_head', array(&$this, 'initCurrentPostType'));
100
 
101
  $wp_version = get_bloginfo('version');
102
  if (version_compare($wp_version, '4.2.0', '>=')) {
103
+ add_action('wp_ajax_dismiss_wpdiscuz_addon_note', array(&$this->options, 'dismissAddonNote'));
104
+ add_action('admin_notices', array(&$this->options, 'addonNote'));
105
+ //add_action('wp_ajax_dismiss_wpdiscuz_tip_note', array(&$this->options, 'dismissTipNote'));
106
+ //add_action('admin_notices', array(&$this->options, 'tipNote'));
107
  }
108
 
109
  add_action('wp_ajax_loadMoreComments', array(&$this, 'loadMoreComments'));
123
  add_action('wp_ajax_redirect', array(&$this, 'redirect'));
124
  add_action('wp_ajax_nopriv_redirect', array(&$this, 'redirect'));
125
  add_action('admin_post_removeVoteData', array(&$this->optimizationHelper, 'removeVoteData'));
126
+ add_action('admin_post_disableAddonsDemo', array(&$this->helper, 'disableAddonsDemo'));
127
  add_action('comment_post', array(&$this->emailHelper, 'notificationFromDashboard'), 2712, 2);
128
  add_action('transition_comment_status', array(&$this->optimizationHelper, 'statusEventHandler'), 265, 3);
129
  $plugin = plugin_basename(__FILE__);
150
  add_action('wp_loaded', array(&$this, 'addNewRoles'));
151
  add_filter('comments_template_query_args', array(&$this, 'commentsTemplateQueryArgs'));
152
  add_action('pre_get_comments', array(&$this, 'preGetComments'));
153
+ add_filter('found_comments_query', array(&$this, 'foundCommentsQuery'), 10, 2);
154
  add_action('deleted_comment', array(&$this->optimizationHelper, 'cleanCommentRelatedRows'));
155
+ add_filter('comment_row_actions', array(&$this->helper, 'commentRowStickAction'), 10, 2);
156
+ add_filter('admin_comment_types_dropdown', array(&$this->helper, 'addCommentTypes'));
157
+ }
158
+
159
+ public static function getInstance() {
160
+ if (is_null(self::$_instance)) {
161
+ self::$_instance = new self();
162
+ }
163
+ return self::$_instance;
164
  }
165
 
166
  public function pluginActivation($networkwide) {
262
  $commentListArgs = $this->getCommentListArgs($postId);
263
  $commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
264
  $commentListArgs['current_user'] = $currentUser;
265
+ $this->form = $this->wpdiscuzForm->getForm($postId);
266
+ $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment($currentUser, $postId) : true;
267
  $newCommentIds = $this->dbManager->getNewCommentIds($cArgs, $loadLastCommentId, $email);
268
  $newCommentIds = apply_filters('wpdiscuz_live_update_new_comment_ids', $newCommentIds, $postId, $currentUser);
269
  if ($this->optionsSerialized->commentListUpdateType == 1) {
270
  $messageArray['message'] = array();
 
271
  foreach ($newCommentIds as $newCommentId) {
272
  if (!in_array($newCommentId, $visibleCommentIds)) {
273
  $comment = get_comment($newCommentId);
326
  $commentListArgs = $this->getCommentListArgs($postId);
327
  $commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
328
  $commentListArgs['current_user'] = $currentUser;
329
+ $this->form = $this->wpdiscuzForm->getForm($postId);
330
+ $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment($currentUser, $postId) : true;
331
  $messageArray['message'] = array();
332
  foreach ($newCommentIds as $newCommentId) {
333
  $comment = get_comment($newCommentId);
399
  }
400
 
401
  if ($name && $email && $comment_content) {
402
+ $stickyComment = isset($_POST['wc_sticky_comment']) && ($sticky = intval($_POST['wc_sticky_comment'])) ? $sticky : '';
403
  $author_ip = $this->helper->getRealIPAddr();
404
  $uid_data = $this->helper->getUIDData($uniqueId);
405
  $comment_parent = $uid_data[0];
414
  'comment_author_url' => $website_url,
415
  'comment_author_IP' => $author_ip,
416
  'comment_agent' => $wc_user_agent,
417
+ 'comment_type' => $stickyComment ? self::WPDISCUZ_STICKY_COMMENT : ''
418
  );
419
 
420
  $new_comment_id = wp_new_comment(wp_slash($new_commentdata));
452
  $commentListArgs['current_user'] = $currentUser;
453
  $commentListArgs['addComment'] = $commentDepth;
454
  $commentListArgs['comment_author_email'] = $email;
455
+ $this->form = $this->wpdiscuzForm->getForm($postId);
456
+ $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment($currentUser, $postId) : true;
457
  $messageArray['message'] = wp_list_comments($commentListArgs, array($newComment));
458
  } else {
459
  $messageArray['code'] = 'wc_invalid_field';
563
  }
564
 
565
  public function getSingleComment() {
 
566
  $messageArray = array('code' => 0);
567
  $commentId = isset($_POST['commentId']) ? intval($_POST['commentId']) : 0;
568
  $comment = get_comment($commentId);
569
  $postId = isset($_POST['postId']) ? intval($_POST['postId']) : 0;
570
  if ($commentId && $postId && $comment && $comment->comment_post_ID == $postId) {
571
+ $currentUser = WpdiscuzHelper::getCurrentUser();
572
  $parentComment = $this->optimizationHelper->getCommentRoot($commentId);
573
+ $tree = $parentComment->get_children(array(
574
+ 'format' => 'flat',
575
+ 'status' => $this->commentsArgs['status'],
576
+ 'orderby' => $this->commentsArgs['orderby']
577
+ ));
578
+ $comments = array_merge(array($parentComment), $tree);
579
  $commentListArgs = $this->getCommentListArgs($postId);
580
  $commentListArgs['isSingle'] = true;
581
  $commentListArgs['new_loaded_class'] = 'wc-new-loaded-comment';
582
  $commentListArgs['current_user'] = $currentUser;
583
+ $this->form = $this->wpdiscuzForm->getForm($postId);
584
+ $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment($currentUser, $postId) : true;
585
  $messageArray['message'] = wp_list_comments($commentListArgs, $comments);
586
+ $messageArray['parentCommentID'] = $parentComment->comment_ID;
 
587
  }
588
  wp_die(json_encode($messageArray));
589
  }
612
  $postId = isset($_POST['postId']) ? intval($_POST['postId']) : 0;
613
  $lastParentId = isset($_POST['lastParentId']) ? intval($_POST['lastParentId']) : 0;
614
  if ($lastParentId >= 0 && $postId) {
615
+ $this->form = $this->wpdiscuzForm->getForm($postId);
616
  $limit = ($this->optionsSerialized->commentListLoadType == 1) ? 0 : $this->optionsSerialized->wordpressCommentPerPage;
617
  $args = array('limit' => $limit);
618
  $orderBy = isset($_POST['orderBy']) ? trim($_POST['orderBy']) : '';
717
  } else {
718
  $args['orderby'] = 'comment_date_gmt';
719
  }
720
+ $args['first_load'] = 1;
721
  $commentData = $this->getWPComments($args);
722
  $messageArray['code'] = 1;
723
  $messageArray['loadCount'] = 1;
761
  $postId = $post && $post->ID ? $post->ID : '';
762
  $defaults = $this->getDefaultCommentsArgs($postId);
763
  $this->commentsArgs = wp_parse_args($args, $defaults);
 
764
  do_action('wpdiscuz_before_getcomments', $this->commentsArgs, $currentUser, $args);
765
  $commentData = array();
766
  $commentListArgs = $this->getCommentListArgs($this->commentsArgs['post_id']);
767
  $commentList = $this->_getWPComments($commentListArgs, $commentData);
768
  $commentListArgs['current_user'] = $currentUser;
769
+ $this->form = $this->wpdiscuzForm->getForm($this->commentsArgs['post_id']);
770
+ $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment($currentUser, $this->commentsArgs['post_id']) : true;
771
  $commentListArgs[self::COOKIE_LAST_VISIT] = isset($this->commentsArgs[self::COOKIE_LAST_VISIT]) ? $this->commentsArgs[self::COOKIE_LAST_VISIT] : '';
772
+ $wcWpComments = wp_list_comments($commentListArgs, $commentList);
773
  $commentData['comment_list'] = $wcWpComments;
774
  $this->commentsArgs['caller'] = '';
775
+ if ($this->cache->doGravatarsCache && $this->cache->gravatars) {
776
  $this->dbManager->addGravatars($this->cache->gravatars);
777
  }
778
  return $commentData;
780
 
781
  private function _getWPComments(&$commentListArgs, &$commentData) {
782
  $commentList = array();
783
+ if ($this->optionsSerialized->wordpressIsPaginate) {// PAGINATION
784
+ $page = get_query_var('cpage');
785
+ $this->commentsArgs['number'] = $this->optionsSerialized->wordpressCommentPerPage;
786
+ $this->commentsArgs['order'] = 'asc';
787
+ $this->commentsArgs['caller'] = '';
788
+ if ($this->optionsSerialized->wordpressThreadComments) {
789
+ $this->commentsArgs['parent'] = 0;
790
+ }
791
+
792
+ if ($page) {
793
+ $this->commentsArgs['offset'] = ($page - 1) * $this->optionsSerialized->wordpressCommentPerPage;
794
+ } else if ($this->optionsSerialized->wordpressDefaultCommentsPage == 'oldest') {
795
+ $this->commentsArgs['offset'] = 0;
796
+ }
797
+
798
+ $commentListArgs['page'] = 0;
799
+ $commentListArgs['per_page'] = 0;
800
+ $commentListArgs['reverse_top_level'] = ($this->optionsSerialized->wordpressCommentOrder == 'desc');
801
+
802
+ $parentComments = get_comments($this->commentsArgs);
803
+
804
+ if ($this->optionsSerialized->wordpressThreadComments) {
805
+ foreach ($parentComments as $parentComment) {
806
+ $commentList[] = $parentComment;
807
+ $children = $parentComment->get_children(array(
808
+ 'format' => 'flat',
809
+ 'status' => $this->commentsArgs['status'],
810
+ 'orderby' => $this->commentsArgs['orderby']
811
+ ));
812
+ $countChildren = count($children);
813
+ if ($countChildren) {
814
+ $commentListArgs['wpdiscuz_root_comment_' . $parentComment->comment_ID] = ' wpdiscuz-root-comment ';
815
+ if ($this->optionsSerialized->isLoadOnlyParentComments) {
816
+ $commentListArgs['wpdiscuz_child_count_' . $parentComment->comment_ID] = $countChildren;
817
+ } else {
818
+ $commentList = array_merge($commentList, $children);
819
+ }
820
+ } else {
821
+ $commentListArgs['wpdiscuz_root_comment_' . $parentComment->comment_ID] = '';
822
+ }
823
+ }
824
+ } else {
825
+ $commentList = $parentComments;
826
+ }
827
+ // STICKY COMMENTS
828
+ if (isset($this->commentsArgs['first_load']) && $this->commentsArgs['first_load']) {
829
+ $this->commentsArgs['sticky'] = 1;
830
  $this->commentsArgs['comment__in'] = '';
831
+ $this->commentsArgs['limit'] = 0;
832
+ $this->commentsArgs['number'] = '';
833
+ $this->commentsArgs['offset'] = '';
834
+ $this->commentsArgs['parent'] = '';
835
+ $this->commentsArgs['caller'] = 'wpdiscuz';
836
+ $this->commentsArgs['type__not_in'] = '';
837
+ $this->commentsArgs['type__in'] = array(self::WPDISCUZ_STICKY_COMMENT);
838
+ $stickyComments = get_comments($this->commentsArgs);
839
+ if ($stickyComments) {
840
+ $allStickyChildren = array();
841
+ foreach ($stickyComments as $stickyComment) {
842
+ $stickyChildren = $stickyComment->get_children(array(
843
+ 'format' => 'flat',
844
+ 'status' => $this->commentsArgs['status'],
845
+ 'orderby' => $this->commentsArgs['orderby']
846
+ ));
847
+ $countStickyChildren = count($stickyChildren);
848
+ if ($countStickyChildren) {
849
+ $commentListArgs['wpdiscuz_root_comment_' . $stickyComment->comment_ID] = ' wpdiscuz-root-comment ';
850
+ if ($this->optionsSerialized->isLoadOnlyParentComments) {
851
+ $commentListArgs['wpdiscuz_child_count_' . $stickyComment->comment_ID] = $countStickyChildren;
852
+ } else {
853
+ $allStickyChildren = array_merge($allStickyChildren, $stickyChildren);
854
+ }
855
+ } else {
856
+ $commentListArgs['wpdiscuz_root_comment_' . $stickyComment->comment_ID] = '';
857
+ }
858
+ }
859
+ if ($allStickyChildren) {
860
+ $stickyComments = array_merge($stickyComments, $allStickyChildren);
861
+ }
862
+ $commentList = ($this->optionsSerialized->wordpressCommentOrder == 'desc') ? array_merge($commentList, $stickyComments) : array_merge($stickyComments, $commentList);
863
+ }
864
  }
865
+ } else {
866
+ $this->commentsArgs['comment__in'] = $this->dbManager->getCommentList($this->commentsArgs);
867
+ $commentData['last_parent_id'] = $this->commentsArgs['comment__in'] ? $this->commentsArgs['comment__in'][count($this->commentsArgs['comment__in']) - 1] : 0;
868
  $commentData['is_show_load_more'] = $this->dbManager->isShowLoadMore;
869
+ if ($this->optionsSerialized->wordpressThreadComments) {
870
  if ($this->commentsArgs['comment__in']) {
871
  $parentComments = get_comments($this->commentsArgs);
 
 
872
  foreach ($parentComments as $parentComment) {
873
  $commentList[] = $parentComment;
874
+ $children = $parentComment->get_children(array(
875
  'format' => 'flat',
876
  'status' => $this->commentsArgs['status'],
877
  'orderby' => $this->commentsArgs['orderby']
878
  ));
879
+ $countChildren = count($children);
 
 
880
  if ($countChildren) {
881
+ $commentListArgs['wpdiscuz_root_comment_' . $parentComment->comment_ID] = ' wpdiscuz-root-comment ';
882
  if ($this->optionsSerialized->isLoadOnlyParentComments) {
883
  $commentListArgs['wpdiscuz_child_count_' . $parentComment->comment_ID] = $countChildren;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
884
  } else {
885
+ $commentList = array_merge($commentList, $children);
 
 
886
  }
887
+ } else {
888
+ $commentListArgs['wpdiscuz_root_comment_' . $parentComment->comment_ID] = '';
889
  }
890
  }
891
  }
892
  } else {
893
  $commentList = get_comments($this->commentsArgs);
894
  }
895
+
896
+ // STICKY COMMENTS
897
+ if (isset($this->commentsArgs['first_load']) && $this->commentsArgs['first_load']) {
898
+ $this->commentsArgs['sticky'] = 1;
899
+ $this->commentsArgs['comment__in'] = '';
900
+ $this->commentsArgs['limit'] = 0;
901
+ $this->commentsArgs['caller'] = 'wpdiscuz';
902
+ $this->commentsArgs['type__not_in'] = '';
903
+ $this->commentsArgs['type__in'] = array(self::WPDISCUZ_STICKY_COMMENT);
904
+ $stickyComments = get_comments($this->commentsArgs);
905
+ if ($stickyComments) {
906
+ $allStickyChildren = array();
907
+ foreach ($stickyComments as $stickyComment) {
908
+ $stickyChildren = $stickyComment->get_children(array(
909
+ 'format' => 'flat',
910
+ 'status' => $this->commentsArgs['status'],
911
+ 'orderby' => $this->commentsArgs['orderby']
912
+ ));
913
+ $countStickyChildren = count($stickyChildren);
914
+ if ($countStickyChildren) {
915
+ $commentListArgs['wpdiscuz_root_comment_' . $stickyComment->comment_ID] = ' wpdiscuz-root-comment ';
916
+ if ($this->optionsSerialized->isLoadOnlyParentComments) {
917
+ $commentListArgs['wpdiscuz_child_count_' . $stickyComment->comment_ID] = $countStickyChildren;
918
+ } else {
919
+ $allStickyChildren = array_merge($allStickyChildren, $stickyChildren);
920
+ }
921
+ } else {
922
+ $commentListArgs['wpdiscuz_root_comment_' . $stickyComment->comment_ID] = '';
923
+ }
924
+ }
925
+ if ($allStickyChildren) {
926
+ $stickyComments = array_merge($stickyComments, $allStickyChildren);
927
+ }
928
+ $commentList = array_merge($stickyComments, $commentList);
929
+ }
930
+ }
931
  $commentListArgs['page'] = 1;
932
  $commentListArgs['last_parent_id'] = $commentData['last_parent_id'];
 
 
 
933
  }
934
  return $commentList;
935
  }
936
 
937
  public function commentsTemplateQueryArgs($args) {
938
  global $post;
939
+ if ($this->isWpdiscuzLoaded) {
940
+ if ($this->optionsSerialized->wordpressIsPaginate) {
941
+ $args['caller'] = 'wpdiscuz';
942
+ } else {
943
+ $args['post__not_in'] = $post->ID;
944
+ }
945
  }
946
  return $args;
947
  }
954
  }
955
  }
956
 
957
+ public function foundCommentsQuery($q, $qObj) {
958
+ if (isset($qObj->query_vars['caller']) && $qObj->query_vars['caller'] == 'wpdiscuz') {
959
+ global $wpdb, $post, $user_ID;
960
+ $commenter = wp_get_current_commenter();
961
+ $where = "WHERE ( (comment_approved = '1')";
962
+ if ($user_ID) {
963
+ $where .= "OR (user_id = $user_ID AND comment_approved = '0')";
964
+ } elseif (!empty($commenter['comment_author_email'])) {
965
+ $where .= "OR (comment_author_email = '{$commenter['comment_author_email']}' AND comment_approved = '0')";
966
+ }
967
+ $where .= ")";
968
+ $where .= " AND comment_post_ID = {$post->ID}";
969
+ $where .= " AND comment_parent = 0";
970
+ $where .= " AND comment_type NOT IN ('" . self::WPDISCUZ_STICKY_COMMENT . "')";
971
+ $where = apply_filters('wpdiscuz_found_comments_query', $where);
972
+ $q = "SELECT COUNT(*) FROM {$wpdb->comments} $where";
973
+ }
974
+ return $q;
975
+ }
976
+
977
  /**
978
  * add comments clauses
979
  * add new orderby clause when sort type is vote and wordpress commnts order is older (ASC)
980
  */
981
  public function getCommentsArgs($args) {
982
  global $wpdb;
983
+ if ($this->commentsArgs['caller'] === 'wpdiscuz' && ($this->commentsArgs['comment__in'] || isset($this->commentsArgs['sticky']))) {
984
  $orderby = '';
985
  $args['caller'] = $this->commentsArgs['caller'] = 'wpdiscuz-';
986
  if (!$this->optionsSerialized->votingButtonsShowHide && $this->commentsArgs['orderby'] == 'by_vote') {
1006
  'date_order' => $this->optionsSerialized->wordpressCommentOrder,
1007
  'limit' => $this->optionsSerialized->commentListLoadType == 3 ? 0 : $this->optionsSerialized->wordpressCommentPerPage,
1008
  'is_threaded' => $this->optionsSerialized->wordpressThreadComments,
1009
+ 'status' => current_user_can('moderate_comments') ? 'all' : 'approve',
1010
  'comment__in' => '',
 
1011
  'update_comment_meta_cache' => false,
1012
  'no_found_rows' => false,
1013
+ 'type__not_in' => array(self::WPDISCUZ_STICKY_COMMENT),
1014
  );
1015
 
 
 
 
 
 
 
1016
  if ($user_ID) {
1017
  $args['include_unapproved'] = array($user_ID);
1018
  } elseif (!empty($commenter['comment_author_email'])) {
1038
  * Scripts and styles registration on administration pages
1039
  */
1040
  public function adminPageStylesScripts() {
1041
+ global $typenow, $pagenow;
1042
  $wp_version = get_bloginfo('version');
1043
  $wpdiscuzPages = apply_filters('wpdiscuz_admin_pages', array(self::PAGE_SETTINGS, self::PAGE_PHRASES, self::PAGE_TOOLS, self::PAGE_ADDONS));
1044
+ if ((isset($_GET['page']) && in_array($_GET['page'], $wpdiscuzPages)) || ($typenow == 'wpdiscuz_form') || $pagenow == 'edit-comments.php') {
1045
  $args = array(
1046
  'msgConfirmResetOptions' => __('Do you really want to reset all options?', 'wpdiscuz'),
1047
  'msgConfirmRemoveVotes' => __('Do you really want to remove voting data?', 'wpdiscuz'),
1079
  wp_register_script('wpdiscuz-addon-notes', plugins_url(WPDISCUZ_DIR_NAME . '/assets/js/wpdiscuz-notes.js'), array('jquery'), '1.0.0', true);
1080
  wp_enqueue_script('wpdiscuz-addon-notes');
1081
  }
1082
+
1083
+ if (!get_option(self::OPTION_SLUG_DEACTIVATION) && (strpos($this->requestUri, '/plugins.php') !== false)) {
1084
+ $reasonArgs = array(
1085
+ 'msgReasonRequired' => __('Please check one of reasons before sending feedback!', 'wpdiscuz'),
1086
+ 'adminUrl' => get_admin_url()
1087
+ );
1088
+ wp_register_style('wpdiscuz-lity-css', plugins_url(WPDISCUZ_DIR_NAME . '/assets/third-party/lity/lity.css'));
1089
+ wp_enqueue_style('wpdiscuz-lity-css');
1090
+ wp_register_script('wpdiscuz-lity-js', plugins_url(WPDISCUZ_DIR_NAME . '/assets/third-party/lity/lity.js'), array('jquery'), '1.0.0', false);
1091
+ wp_enqueue_script('wpdiscuz-lity-js');
1092
+ wp_register_style('wpdiscuz-deactivation-css', plugins_url(WPDISCUZ_DIR_NAME . '/assets/css/wpdiscuz-deactivation.css'));
1093
+ wp_enqueue_style('wpdiscuz-deactivation-css');
1094
+ wp_register_script('wpdiscuz-deactivation-js', plugins_url(WPDISCUZ_DIR_NAME . '/assets/js/wpdiscuz-deactivation.js'), array('jquery'), '1.0.0', false);
1095
+ wp_enqueue_script('wpdiscuz-deactivation-js');
1096
+ wp_localize_script('wpdiscuz-deactivation-js', 'deactivationObj', $reasonArgs);
1097
+ }
1098
  }
1099
 
1100
  /**
1124
  wp_enqueue_style('wpdiscuz-font-awesome');
1125
  }
1126
 
 
 
 
1127
  if (is_rtl()) {
1128
  wp_register_style('wpdiscuz-frontend-rtl-css', plugins_url(WPDISCUZ_DIR_NAME . '/assets/css/wpdiscuz-rtl.css'), null, $this->version);
1129
  wp_enqueue_style('wpdiscuz-frontend-rtl-css');
1130
+ } else {
1131
+ $this->helper->registerWpDiscuzStyle($this->version);
1132
+ wp_enqueue_style('wpdiscuz-frontend-css');
1133
  }
1134
 
1135
  wp_register_script('wpdiscuz-cookie-js', plugins_url(WPDISCUZ_DIR_NAME . '/assets/third-party/wpdcookiejs/customcookie.js'), array('jquery'));
1170
 
1171
  public function pluginNewVersion() {
1172
  $this->dbManager->createEmailNotificationTable();
1173
+ $this->dbManager->createAvatarsCacheTable();
1174
  $wc_plugin_data = get_plugin_data(__FILE__);
1175
  if (version_compare($wc_plugin_data['Version'], $this->version, '>')) {
1176
  $this->wpdiscuzForm->createDefaultForm($this->version);
1193
  if (version_compare($this->version, '3.0.0', '<=') && version_compare($this->version, '1.0.0', '!=')) {
1194
  $this->dbManager->alterNotificationTable();
1195
  }
 
 
 
1196
  }
1197
  do_action('wpdiscuz_check_version');
1198
  }
1282
  public function getCommentListArgs($postId) {
1283
  $post = get_post($postId);
1284
  $postsAuthors = ($post->comment_count && (!$this->optionsSerialized->disableProfileURLs || !$this->optionsSerialized->authorTitlesShowHide)) ? $this->dbManager->getPostsAuthors() : array();
1285
+ $icons = $this->optionsSerialized->votingButtonsIcon ? explode('|', $this->optionsSerialized->votingButtonsIcon) : array('fa-plus', 'fa-minus');
1286
+ $likeIcons = array('like' => $icons[0], 'dislike' => $icons[1]);
1287
  $args = array(
1288
  'style' => 'div',
1289
  'echo' => false,
1293
  'posts_authors' => $postsAuthors,
1294
  'walker' => $this->wpdiscuzWalker,
1295
  'comment_status' => array(1),
1296
+ 'voting_icons' => $likeIcons,
1297
  );
1298
  return apply_filters('wpdiscuz_comment_list_args', $args);
1299
  }
1325
  $postId = isset($_POST['postId']) ? intval($_POST['postId']) : 0;
1326
  $commentId = isset($_POST['commentId']) ? intval($_POST['commentId']) : 0;
1327
  if ($postId) {
1328
+ $currentUser = WpdiscuzHelper::getCurrentUser();
1329
  $commentListArgs = $this->getCommentListArgs($postId);
1330
+ $commentListArgs['current_user'] = $currentUser;
1331
+ $this->form = $this->wpdiscuzForm->getForm($postId);
1332
+ $commentListArgs['can_user_comment'] = $this->form ? $this->form->isUserCanComment($currentUser, $postId) : true;
1333
  $cArgs = $this->getDefaultCommentsArgs($postId);
1334
  $cArgs['parent'] = $commentId;
1335
  $cArgs['limit'] = 0;
1338
  'format' => 'flat',
1339
  'status' => $cArgs['status'],
1340
  'orderby' => $cArgs['orderby'],
 
1341
  ));
1342
  $countChildren = count($children);
1343
  $commentListArgs['wpdiscuz_root_comment_' . $comment->comment_ID] = $countChildren;
1347
  if ($comments) {
1348
  $response['code'] = 1;
1349
  $response['data'] = wp_list_comments($commentListArgs, $comments);
1350
+ $response['callbackFunctions'] = array();
1351
+ $response = apply_filters('wpdiscuz_wmu_lightbox', $response);
1352
  }
1353
  }
1354
  wp_die(json_encode($response));
1356
 
1357
  }
1358
 
1359
+ $wpDiscuz = wpDiscuz();
forms/wpDiscuzForm.php CHANGED
@@ -292,7 +292,7 @@ class wpDiscuzForm implements wpdFormConst {
292
  }
293
  $this->form->setFormID($formID);
294
  }
295
- return $this->form;
296
  }
297
 
298
  public function formCustomCssMetabox() {
292
  }
293
  $this->form->setFormID($formID);
294
  }
295
+ return apply_filters('wpdiscuz_get_form',$this->form);
296
  }
297
 
298
  public function formCustomCssMetabox() {
forms/wpdFormAttr/Field/DefaultField/Name.php CHANGED
@@ -69,7 +69,7 @@ class Name extends Field {
69
  }
70
 
71
  public function validateFieldData($fieldName,$args, $options, $currentUser) {
72
- $name = isset($_POST[$fieldName]) ? filter_var($_POST[$fieldName]) : '';
73
  if (!$args['required']) {
74
  $name = !($name) ? $options->phrases['wc_anonymous'] : $name;
75
  }
69
  }
70
 
71
  public function validateFieldData($fieldName,$args, $options, $currentUser) {
72
+ $name = isset($_POST[$fieldName]) ? filter_var(wp_unslash($_POST[$fieldName])) : '';
73
  if (!$args['required']) {
74
  $name = !($name) ? $options->phrases['wc_anonymous'] : $name;
75
  }
forms/wpdFormAttr/Field/DefaultField/Submit.php CHANGED
@@ -24,9 +24,8 @@ class Submit extends Field {
24
  <?php
25
  }
26
 
27
-
28
- public function frontFormHtml($name, $args, $options, $currentUser, $uniqueId,$isMainForm) {
29
- global $wpdiscuz,$post;
30
  ?>
31
  <div class="wc-field-submit">
32
  <?php if ($options->wordpressThreadComments || class_exists('Prompt_Comment_Form_Handling')) { ?>
@@ -41,20 +40,47 @@ class Submit extends Field {
41
  }
42
  if ($isShowSubscribeWrapper) {
43
  $isReplyDefaultChecked = $options->isReplyDefaultChecked ? 'checked="checked"' : '';
44
- ?>
45
- <div class="wc_notification_checkboxes" style="display:block">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  <?php
47
- if (class_exists('Prompt_Comment_Form_Handling') && $options->usePostmaticForCommentNotification) {
48
- ?>
49
- <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 echo $options->phrases['wc_postmatic_subscription_label']; ?></label><br />
50
- <?php
51
- } else {
52
- ?>
53
- <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" <?php echo $isReplyDefaultChecked; ?>/> <label class="wc-label-comment-notify" for="wc_notification_new_comment-<?php echo $uniqueId; ?>"><?php echo $options->phrases['wc_notify_on_new_reply']; ?></label><br />
54
- <?php
55
- }
56
  ?>
57
- </div>
 
 
 
 
 
 
 
 
 
 
 
58
  <?php } ?>
59
  <?php } ?>
60
  <input class="wc_comm_submit wc_not_clicked button alt" type="submit" name="<?php echo $name; ?>" value="<?php echo $args['name']; ?>">
@@ -78,10 +104,16 @@ class Submit extends Field {
78
  );
79
  }
80
 
81
- public function frontHtml($value,$args) {}
82
-
83
- public function validateFieldData($fieldName,$args, $options, $currentUser) {}
84
-
85
- public function editCommentHtml($key, $value ,$data,$comment) {}
 
 
 
 
 
 
86
 
87
  }
24
  <?php
25
  }
26
 
27
+ public function frontFormHtml($name, $args, $options, $currentUser, $uniqueId, $isMainForm) {
28
+ $wpdiscuz = wpDiscuz();
 
29
  ?>
30
  <div class="wc-field-submit">
31
  <?php if ($options->wordpressThreadComments || class_exists('Prompt_Comment_Form_Handling')) { ?>
40
  }
41
  if ($isShowSubscribeWrapper) {
42
  $isReplyDefaultChecked = $options->isReplyDefaultChecked ? 'checked="checked"' : '';
43
+ ?>
44
+ <?php
45
+ if ($isMainForm && current_user_can('moderate_comments')) {
46
+ ?>
47
+ <label class="wpd_label">
48
+ <input id="wc_sticky_comment" class="wpd_label__checkbox" value="1" type="checkbox" name="wc_sticky_comment"/>
49
+ <span class="wpd_label__text">
50
+ <span class="wpd_label__check">
51
+ <div class="wpd-field-desc"><i class="fa fa-thumb-tack wpdicon wpdicon-on"></i><span><?php echo $options->phrases['wc_stick_main_form_comment_on']; ?></span></div>
52
+ <div class="wpd-field-desc"><i class="fa fa-thumb-tack wpdicon wpdicon-off"></i><span><?php echo $options->phrases['wc_stick_main_form_comment_off']; ?></span></div>
53
+ </span>
54
+ </span>
55
+ </label>
56
+ <?php
57
+ }
58
+ if (class_exists('Prompt_Comment_Form_Handling') && $options->usePostmaticForCommentNotification) {
59
+ ?>
60
+ <label class="wpd_label">
61
+ <input id="wc_notification_new_comment-<?php echo $uniqueId; ?>" class="wc_notification_new_comment-<?php echo $uniqueId; ?> wpd_label__checkbox" value="post" type="checkbox" name="wpdiscuz_notification_type"/>
62
+ <span class="wpd_label__text">
63
+ <span class="wpd_label__check">
64
+ <div class="wpd-field-desc"><i class="fa fa-bell wpdicon wpdicon-on"></i><span><?php echo $options->phrases['wc_postmatic_subscription_label']; ?> <?php _e(' - (on)', 'wpdiscuz') ?></span></div>
65
+ <div class="wpd-field-desc"><i class="fa fa-bell-slash wpdicon wpdicon-off"></i><span><?php echo $options->phrases['wc_postmatic_subscription_label']; ?> <?php _e(' - (off)', 'wpdiscuz') ?></span></div>
66
+ </span>
67
+ </span>
68
+ </label>
69
  <?php
70
+ } else {
 
 
 
 
 
 
 
 
71
  ?>
72
+ <label class="wpd_label">
73
+ <input id="wc_notification_new_comment-<?php echo $uniqueId; ?>" class="wc_notification_new_comment-<?php echo $uniqueId; ?> wpd_label__checkbox" value="comment" type="checkbox" name="wpdiscuz_notification_type"/>
74
+ <span class="wpd_label__text">
75
+ <span class="wpd_label__check">
76
+ <div class="wpd-field-desc"><i class="fa fa-bell wpdicon wpdicon-on"></i><span><?php echo $options->phrases['wc_notify_on_new_reply_on']; ?></span></div>
77
+ <div class="wpd-field-desc"><i class="fa fa-bell-slash wpdicon wpdicon-off"></i><span><?php echo $options->phrases['wc_notify_on_new_reply_off']; ?></span></div>
78
+ </span>
79
+ </span>
80
+ </label>
81
+ <?php
82
+ }
83
+ ?>
84
  <?php } ?>
85
  <?php } ?>
86
  <input class="wc_comm_submit wc_not_clicked button alt" type="submit" name="<?php echo $name; ?>" value="<?php echo $args['name']; ?>">
104
  );
105
  }
106
 
107
+ public function frontHtml($value, $args) {
108
+
109
+ }
110
+
111
+ public function validateFieldData($fieldName, $args, $options, $currentUser) {
112
+
113
+ }
114
+
115
+ public function editCommentHtml($key, $value, $data, $comment) {
116
+
117
+ }
118
 
119
  }
forms/wpdFormAttr/Form.php CHANGED
@@ -260,7 +260,7 @@ class Form {
260
  'itemprop' => true
261
  ), $atts);
262
  $this->initFormFields();
263
- if ($this->ratingsExists && (($this->wpdOptions->ratingCssOnNoneSingular && !is_singular()) || is_single())) {
264
  $wpdiscuzRatingCountMeta = get_post_meta($post->ID, 'wpdiscuz_rating_count', true);
265
  $wpdiscuzRatingCount = $wpdiscuzRatingCountMeta && is_array($wpdiscuzRatingCountMeta) ? $wpdiscuzRatingCountMeta : array();
266
  $ratingList = array();
@@ -295,6 +295,7 @@ class Form {
295
  }
296
 
297
  private function getSingleRatingHtml($metakey, $ratingData, $args) {
 
298
  $html = '';
299
  if (key_exists($metakey, $this->formCustomFields)) {
300
  $icon = $this->formCustomFields[$metakey]['icon'];
@@ -328,7 +329,7 @@ class Form {
328
  </div></div></div><div style="display:inline-block; position:relative;"></div>';
329
  $html .= '</div>';
330
  if ($args['itemprop'] && $ratingData['count']) {
331
- $html .= '<div style="display: none;" itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating"><meta itemprop="bestRating" content="5"><meta itemprop="worstRating" content="1"><meta itemprop="ratingValue" content="' . $ratingData['average'] . '"><meta itemprop="ratingCount" content="' . $ratingData['count'] . '"></div>';
332
  }
333
  }
334
  return $html;
@@ -481,12 +482,14 @@ class Form {
481
  <?php
482
  if ($this->isUserCanComment($currentUser, $message)) {
483
  ?>
484
- <form class="wc_comm_form <?php echo!$isMain ? 'wc-secondary-form-wrapper' : 'wc_main_comm_form'; ?>" method="post" enctype="multipart/form-data">
485
  <div class="wc-field-comment">
486
  <?php if ($this->wpdOptions->wordpressShowAvatars) { ?>
487
  <?php $authorName = $currentUser->ID ? $currentUser->display_name : 'avatar'; ?>
488
  <div class="wc-field-avatararea">
489
- <?php echo get_avatar($currentUser->ID, 48, '', $authorName); ?>
 
 
490
  </div>
491
  <?php } ?>
492
  <div class="wpdiscuz-item wc-field-textarea" <?php
@@ -501,8 +504,8 @@ class Form {
501
  <?php } ?>
502
  <?php if (defined('WPDISCUZ_BOTTOM_TOOLBAR')): ?>
503
  <div class="wpdiscuz-textarea-foot">
504
- <?php do_action('wpdiscuz_button', $uniqueId, $currentUser,$this); ?>
505
- <div class="wpdiscuz-button-actions"><?php do_action('wpdiscuz_button_actions', $uniqueId, $currentUser,$this); ?></div>
506
  </div>
507
  <?php endif; ?>
508
  </div>
@@ -720,14 +723,17 @@ class Form {
720
  <?php
721
  }
722
 
723
- private function isUserCanComment($currentUser, &$message) {
724
  global $post;
725
- $user_can_comment = TRUE;
726
- if ($currentUser && $currentUser->roles && is_array($currentUser->roles)) {
 
 
727
  $this->generalOptions['roles_cannot_comment'] = isset($this->generalOptions['roles_cannot_comment']) ? $this->generalOptions['roles_cannot_comment'] : array();
728
  foreach ($currentUser->roles as $role) {
729
  if (in_array($role, $this->generalOptions['roles_cannot_comment'])) {
730
- $user_can_comment = false;
 
731
  $message = $this->wpdOptions->phrases['wc_roles_cannot_comment_message'];
732
  break;
733
  }
@@ -735,8 +741,8 @@ class Form {
735
  } else {
736
  $user_can_comment = $this->generalOptions['guest_can_comment'];
737
  }
738
- if (class_exists('WooCommerce') && get_post_type($post->ID) == 'product') {
739
- if (get_option('woocommerce_review_rating_verification_required') === 'no' || wc_customer_bought_product('', get_current_user_id(), $post->ID)) {
740
  $user_can_comment = TRUE;
741
  } else {
742
  $user_can_comment = FALSE;
@@ -826,6 +832,9 @@ class Form {
826
  if (isset($ids[$id]) && $ids[$id]) {
827
  $existsFormID = $ids[$id];
828
  $generalOptions = get_post_meta($existsFormID, wpdFormConst::WPDISCUZ_META_FORMS_GENERAL_OPTIONS, true);
 
 
 
829
  foreach ($generalOptions['postidsArray'] as $key => $pid) {
830
  if ($pid == $id) {
831
  unset($generalOptions['postidsArray'][$key]);
260
  'itemprop' => true
261
  ), $atts);
262
  $this->initFormFields();
263
+ if ($this->ratingsExists && (($this->wpdOptions->ratingCssOnNoneSingular && !is_singular()) || is_singular())) {
264
  $wpdiscuzRatingCountMeta = get_post_meta($post->ID, 'wpdiscuz_rating_count', true);
265
  $wpdiscuzRatingCount = $wpdiscuzRatingCountMeta && is_array($wpdiscuzRatingCountMeta) ? $wpdiscuzRatingCountMeta : array();
266
  $ratingList = array();
295
  }
296
 
297
  private function getSingleRatingHtml($metakey, $ratingData, $args) {
298
+ global $post;
299
  $html = '';
300
  if (key_exists($metakey, $this->formCustomFields)) {
301
  $icon = $this->formCustomFields[$metakey]['icon'];
329
  </div></div></div><div style="display:inline-block; position:relative;"></div>';
330
  $html .= '</div>';
331
  if ($args['itemprop'] && $ratingData['count']) {
332
+ $html .= '<div style="display: none;" itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating"><meta itemprop="itemReviewed" content="' . esc_attr($post->post_title) . '"><meta itemprop="bestRating" content="5"><meta itemprop="worstRating" content="1"><meta itemprop="ratingValue" content="' . $ratingData['average'] . '"><meta itemprop="ratingCount" content="' . $ratingData['count'] . '"></div>';
333
  }
334
  }
335
  return $html;
482
  <?php
483
  if ($this->isUserCanComment($currentUser, $message)) {
484
  ?>
485
+ <form class="wc_comm_form <?php print $isMain ? 'wc_main_comm_form' : 'wc-secondary-form-wrapper'; ?>" method="post" enctype="multipart/form-data">
486
  <div class="wc-field-comment">
487
  <?php if ($this->wpdOptions->wordpressShowAvatars) { ?>
488
  <?php $authorName = $currentUser->ID ? $currentUser->display_name : 'avatar'; ?>
489
  <div class="wc-field-avatararea">
490
+ <?php
491
+ $avatarSize = $isMain ? 64 : 48;
492
+ echo get_avatar($currentUser->ID, $avatarSize, '', $authorName); ?>
493
  </div>
494
  <?php } ?>
495
  <div class="wpdiscuz-item wc-field-textarea" <?php
504
  <?php } ?>
505
  <?php if (defined('WPDISCUZ_BOTTOM_TOOLBAR')): ?>
506
  <div class="wpdiscuz-textarea-foot">
507
+ <?php do_action('wpdiscuz_button', $uniqueId, $currentUser, $this); ?>
508
+ <div class="wpdiscuz-button-actions"><?php do_action('wpdiscuz_button_actions', $uniqueId, $currentUser, $this); ?></div>
509
  </div>
510
  <?php endif; ?>
511
  </div>
723
  <?php
724
  }
725
 
726
+ public function isUserCanComment($currentUser, $postId = 0, &$message = '') {
727
  global $post;
728
+ $user_can_comment = true;
729
+ $this->initFormMeta();
730
+ if ($currentUser && $currentUser->ID && $currentUser->roles && is_array($currentUser->roles)) {
731
+ $postId = $post && isset($post->ID) ? $post->ID : $postId;
732
  $this->generalOptions['roles_cannot_comment'] = isset($this->generalOptions['roles_cannot_comment']) ? $this->generalOptions['roles_cannot_comment'] : array();
733
  foreach ($currentUser->roles as $role) {
734
  if (in_array($role, $this->generalOptions['roles_cannot_comment'])) {
735
+ //Filter hook to add extra conditions in user role dependent restriction.
736
+ $user_can_comment = apply_filters('wpdiscuz_user_role_can_comment', false, $role);
737
  $message = $this->wpdOptions->phrases['wc_roles_cannot_comment_message'];
738
  break;
739
  }
741
  } else {
742
  $user_can_comment = $this->generalOptions['guest_can_comment'];
743
  }
744
+ if ($user_can_comment && class_exists('WooCommerce') && get_post_type($postId) == 'product') {
745
+ if (get_option('woocommerce_review_rating_verification_required') === 'no' || wc_customer_bought_product('', get_current_user_id(), $postId)) {
746
  $user_can_comment = TRUE;
747
  } else {
748
  $user_can_comment = FALSE;
832
  if (isset($ids[$id]) && $ids[$id]) {
833
  $existsFormID = $ids[$id];
834
  $generalOptions = get_post_meta($existsFormID, wpdFormConst::WPDISCUZ_META_FORMS_GENERAL_OPTIONS, true);
835
+ if (!$generalOptions) {
836
+ $generalOptions = array('postidsArray' => array());
837
+ }
838
  foreach ($generalOptions['postidsArray'] as $key => $pid) {
839
  if ($pid == $id) {
840
  unset($generalOptions['postidsArray'][$key]);
includes/class.WpdiscuzCss.php CHANGED
@@ -1,5 +1,4 @@
1
  <?php
2
-
3
  if (!defined('ABSPATH')) {
4
  exit();
5
  }
@@ -21,17 +20,102 @@ class WpdiscuzCss {
21
  global $post;
22
  if ($this->helper->isLoadWpdiscuz($post)) {
23
  ?>
24
- <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 input[type="text"],#wpcomm input[type="email"],#wpcomm input[type="url"],#wpcomm input[type="date"],#wpcomm input[type="color"]{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.';}';}?>.wc-load-more-submit{border:1px solid <?php echo $this->optionsSerialized->inputBorderColor; ?>;}#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->buttonColor['vbb']; ?>;}.wpdiscuz-sort-button{color:<?php echo $this->optionsSerialized->buttonColor['vbb']; ?>; 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; ?>;}#wpcomm .wpdiscuz-readmore{cursor:pointer;color:<?php echo $this->optionsSerialized->primaryColor; ?>;}<?php do_action('wpdiscuz_dynamic_css'); ?> #wpcomm .wpdiscuz-textarea-wrap{border:<?php echo $this->optionsSerialized->inputBorderColor; ?> 1px solid;} .wpd-custom-field .wcf-pasiv-star, #wpcomm .wpdiscuz-item .wpdiscuz-rating > label {color: <?php echo $this->optionsSerialized->ratingInactivColor; ?>;}#wpcomm .wpdiscuz-item .wpdiscuz-rating:not(:checked) > label:hover,.wpdiscuz-rating:not(:checked) > label:hover ~ label { }#wpcomm .wpdiscuz-item .wpdiscuz-rating > input ~ label:hover, #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:not(:checked) ~ label:hover ~ label, #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:not(:checked) ~ label:hover ~ label{color: <?php echo $this->optionsSerialized->ratingHoverColor; ?>;} #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:checked ~ label:hover, #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:checked ~ label:hover, #wpcomm .wpdiscuz-item .wpdiscuz-rating > label:hover ~ input:checked ~ label, #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:checked + label:hover ~ label, #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:checked ~ label:hover ~ label, .wpd-custom-field .wcf-activ-star, #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:checked ~ label{ color:<?php echo $this->optionsSerialized->ratingActivColor;; ?>;} #wpcomm .wc-cta-button:hover{border: 1px solid <?php echo $this->optionsSerialized->primaryColor; ?>!important; background:<?php echo $this->optionsSerialized->primaryColor; ?>!important; color:#fff!important;} #wpcomm .wc-cta-active{border: 1px solid <?php echo $this->optionsSerialized->primaryColor; ?>!important; background:<?php echo $this->optionsSerialized->primaryColor; ?>!important; color:#fff!important;}#wpcomm .wpf-cta:hover{color:#fff!important; background:<?php echo $this->optionsSerialized->primaryColor; ?>!important; border:1px solid <?php echo $this->optionsSerialized->primaryColor; ?>!important;}
25
-
26
- #wpcomm .wpf-cta{ border: 1px solid <?php echo $this->optionsSerialized->buttonColor['shb'] ?>; color:<?php echo $this->optionsSerialized->buttonColor['shc'] ?>; }
27
- #wpcomm .wc-cta-button{ background:<?php echo $this->optionsSerialized->buttonColor['abb'] ?>; border:1px solid <?php echo $this->optionsSerialized->buttonColor['abb'] ?>; color:<?php echo $this->optionsSerialized->buttonColor['abc'] ?>;}
28
- #wpcomm .wc-cta-button-x{ background:<?php echo $this->optionsSerialized->buttonColor['abb'] ?>; border:1px solid <?php echo $this->optionsSerialized->buttonColor['abb'] ?>; color:<?php echo $this->optionsSerialized->buttonColor['abc'] ?>;}
29
- #wpcomm .wc-vote-link{border:1px solid <?php echo $this->optionsSerialized->buttonColor['vbb'] ?>; color:<?php echo $this->optionsSerialized->buttonColor['vbc'] ?>;}
30
- #wpcomm .wc-vote-result{border-top: 1px solid <?php echo $this->optionsSerialized->buttonColor['vbb'] ?>; border-bottom: 1px solid <?php echo $this->optionsSerialized->buttonColor['vbb'] ?>; color:<?php echo $this->optionsSerialized->buttonColor['vbc'] ?>;}
31
- #wpcomm .wc-vote-result.wc-vote-result-like{border:1px solid <?php echo $this->optionsSerialized->buttonColor['vbb'] ?>;}
32
- #wpcomm .wc-vote-result.wc-vote-result-dislike{border:1px solid <?php echo $this->optionsSerialized->buttonColor['vbb'] ?>;}
33
- </style>
34
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  }
36
  }
37
 
1
  <?php
 
2
  if (!defined('ABSPATH')) {
3
  exit();
4
  }
20
  global $post;
21
  if ($this->helper->isLoadWpdiscuz($post)) {
22
  ?>
23
+ <style type="text/css">
24
+
25
+
26
+ #wpcomm .wc_new_comment{background:<?php echo $this->optionsSerialized->primaryColor; ?>;}
27
+ #wpcomm .wc_new_reply{background:<?php echo $this->optionsSerialized->primaryColor; ?>;}
28
+ #wpcomm .wc-form-wrapper{ background:none; } /* ->formBGColor */
29
+ #wpcomm .wpdiscuz-front-actions{background:<?php echo isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#f9f9f9'; ?>;}
30
+ #wpcomm .wpdiscuz-subscribe-bar{background:<?php echo isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#f9f9f9'; ?>;}
31
+
32
+ #wpcomm select,
33
+ #wpcomm input[type="text"],
34
+ #wpcomm input[type="email"],
35
+ #wpcomm input[type="url"],
36
+ #wpcomm input[type="date"],
37
+ #wpcomm input[type="color"]{border:<?php echo $this->optionsSerialized->inputBorderColor; ?> 1px solid;}
38
+
39
+ #wpcomm .wc-comment .wc-comment-right{background:<?php echo $this->optionsSerialized->commentBGColor; ?>;}
40
+
41
+ #wpcomm .wc-reply .wc-comment-right{background:<?php echo $this->optionsSerialized->replyBGColor; ?>;}
42
+
43
+ #wpcomm .wc-comment-text{
44
+ font-size:<?php echo isset($this->optionsSerialized->commentTextSize) ? $this->optionsSerialized->commentTextSize : '14px'; ?>;
45
+ color:<?php echo $this->optionsSerialized->commentTextColor; ?>;}
46
+ <?php
47
+ $blogRoles = $this->optionsSerialized->blogRoles;
48
+ if (!$blogRoles) {
49
+ echo '.wc-comment-author a{color:#00B38F;} .wc-comment-label{background:#00B38F;}';
50
+ }
51
+ foreach ($blogRoles as $role => $color) {
52
+ echo '#wpcomm .wc-blog-' . $role . ' > .wc-comment-right .wc-comment-author, #wpcomm .wc-blog-' . $role . ' > .wc-comment-right .wc-comment-author a{color:' . $color . ';}';
53
+ echo '#wpcomm .wc-blog-' . $role . ' > .wc-comment-left .wc-comment-label{color:' . $color . '; border:none; border-bottom: 1px solid #dddddd; }';
54
+ }
55
+ ?>
56
+
57
+ #wpcomm .wc-comment .wc-comment-left .wc-comment-label{ background: #ffffff;}
58
+ #wpcomm .wc-load-more-submit{border:1px solid <?php echo $this->optionsSerialized->inputBorderColor; ?>;}
59
+ #wpcomm .wc-new-loaded-comment > .wc-comment-right{background:<?php echo $this->optionsSerialized->newLoadedCommentBGColor; ?>;}
60
+ #wpcomm .wpdiscuz-subscribe-bar{color:#777;}
61
+ #wpcomm .wpdiscuz-front-actions .wpdiscuz-sbs-wrap span{color: #777;}
62
+ #wpcomm .page-numbers{color:<?php echo $this->optionsSerialized->commentTextColor; ?>;border:<?php echo $this->optionsSerialized->commentTextColor; ?> 1px solid;}
63
+ #wpcomm span.current{background:<?php echo $this->optionsSerialized->commentTextColor; ?>;}
64
+ #wpcomm .wpdiscuz-readmore{cursor:pointer;color:<?php echo $this->optionsSerialized->primaryColor; ?>;}<?php do_action('wpdiscuz_dynamic_css'); ?>
65
+ #wpcomm .wpdiscuz-textarea-wrap{border:<?php echo $this->optionsSerialized->inputBorderColor; ?> 1px solid;} .wpd-custom-field .wcf-pasiv-star, #wpcomm .wpdiscuz-item .wpdiscuz-rating > label {color: <?php echo $this->optionsSerialized->ratingInactivColor; ?>;}
66
+ #wpcomm .wpdiscuz-item .wpdiscuz-rating:not(:checked) > label:hover,.wpdiscuz-rating:not(:checked) > label:hover ~ label { }#wpcomm .wpdiscuz-item .wpdiscuz-rating > input ~ label:hover, #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:not(:checked) ~ label:hover ~ label, #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:not(:checked) ~ label:hover ~ label{color: <?php echo $this->optionsSerialized->ratingHoverColor; ?>;}
67
+ #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:checked ~ label:hover, #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:checked ~ label:hover, #wpcomm .wpdiscuz-item .wpdiscuz-rating > label:hover ~ input:checked ~ label, #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:checked + label:hover ~ label, #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:checked ~ label:hover ~ label, .wpd-custom-field .wcf-activ-star, #wpcomm .wpdiscuz-item .wpdiscuz-rating > input:checked ~ label{ color:<?php
68
+ echo $this->optionsSerialized->ratingActivColor;
69
+ ;
70
+ ?>;}
71
+ #wpcomm .wc-comment-header{border-bottom: 1px solid #dedede;}
72
+ #wpcomm .wc-reply .wc-comment-header{border-bottom: 1px solid #DDDDDD;}
73
+
74
+ /* Buttons */
75
+ #wpcomm button,
76
+ #wpcomm input[type="button"],
77
+ #wpcomm input[type="reset"],
78
+ #wpcomm input[type="submit"]{ border: 1px solid <?php echo $this->optionsSerialized->buttonColor['primary_button_bg'] ?>; color: <?php echo $this->optionsSerialized->buttonColor['primary_button_color'] ?>; background-color: <?php echo $this->optionsSerialized->buttonColor['primary_button_bg'] ?>; }
79
+ #wpcomm button:hover,
80
+ #wpcomm button:focus,
81
+ #wpcomm input[type="button"]:hover,
82
+ #wpcomm input[type="button"]:focus,
83
+ #wpcomm input[type="reset"]:hover,
84
+ #wpcomm input[type="reset"]:focus,
85
+ #wpcomm input[type="submit"]:hover,
86
+ #wpcomm input[type="submit"]:focus{ border: 1px solid #333333; background-color: #333333; }
87
+ #wpcomm .wpdiscuz-sort-buttons{color:#777777;}
88
+ #wpcomm .wpdiscuz-sort-button{color:<?php echo $this->optionsSerialized->buttonColor['secondary_button_color'] ?>; cursor:pointer;}
89
+ #wpcomm .wpdiscuz-sort-button:hover{color:<?php echo $this->optionsSerialized->primaryColor; ?>!important;cursor:pointer;}
90
+ #wpcomm .wpdiscuz-sort-button-active{color:<?php echo $this->optionsSerialized->primaryColor; ?>!important;cursor:default!important;}
91
+ #wpcomm .wc-cta-button,
92
+ #wpcomm .wc-cta-button-x{color:<?php echo $this->optionsSerialized->buttonColor['secondary_button_color'] ?>; border-bottom: 1px solid <?php echo $this->optionsSerialized->buttonColor['secondary_button_border'] ?>; }
93
+ #wpcomm .wc-vote-link.wc-up{color:<?php echo $this->optionsSerialized->buttonColor['vote_up_link_color'] ?>;}
94
+ #wpcomm .wc-vote-link.wc-down{color:<?php echo $this->optionsSerialized->buttonColor['vote_down_link_color'] ?>;}
95
+ #wpcomm .wc-vote-result{color:#999999;}
96
+ #wpcomm .wpf-cta{color:#999999; }
97
+ #wpcomm .wpf-cta:hover{background:<?php echo $this->optionsSerialized->primaryColor; ?>!important; color:#FFFFFF;}
98
+ #wpcomm .wc-cta-active{background:<?php echo $this->optionsSerialized->primaryColor; ?>!important; color:#FFFFFF;}
99
+ #wpcomm .wc-cta-button:hover{background:<?php echo $this->optionsSerialized->primaryColor; ?>!important; color:#FFFFFF;}
100
+ #wpcomm .wc-footer-right .wc-toggle,
101
+ #wpcomm .wc-footer-right .wc-toggle a,
102
+ #wpcomm .wc-footer-right .wc-toggle i{color:<?php echo $this->optionsSerialized->primaryColor; ?>;}
103
+
104
+ /* STICKY COMMENT HEADER */
105
+ #wpcomm .wc-sticky-comment.wc-comment .wc-comment-header{background: #f2fcfb; border-bottom:1px dotted #00B38F;}
106
+ #wpcomm .wc-sticky-comment.wc-comment .wc-comment-header .wpd-sticky{color: #00B38F; border:1px dotted #00B38F;}
107
+
108
+ /* PRIVATE COMMENT HEADER */
109
+ #wpcomm .wc-private-comment.wc-comment .wc-comment-header{background: #eeeeee; border-bottom:1px solid #999999;}
110
+ #wpcomm .wc-private-comment.wc-comment .wc-comment-header .wpd-private{color: #000000; border:1px dotted #333333;}
111
+
112
+ <?php if ($this->optionsSerialized->theme == 'wpd-dark') { ?>
113
+ #comments{ background: url(<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/dark.png') ?>) #222222; padding: 3%; box-sizing: border-box; } #respond{background: url(<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/dark.png') ?>) #222222; padding: 3%; box-sizing: border-box;} .comments-area{background: url(<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/dark.png') ?>) #222222; padding: 3%; box-sizing: border-box; ba}
114
+ <?php } ?>
115
+ <?php echo stripslashes($this->optionsSerialized->customCss); ?>
116
+
117
+ </style>
118
+ <?php
119
  }
120
  }
121
 
languages/wpdiscuz.pot CHANGED
@@ -1,2387 +1,2387 @@
1
- #, fuzzy
2
- msgid ""
3
- msgstr ""
4
- "Project-Id-Version: PACKAGE VERSION\n"
5
- "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2017-12-14 14:25+0000\n"
7
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
- "Language-Team: \n"
10
- "Language: \n"
11
- "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
12
- "MIME-Version: 1.0\n"
13
- "Content-Type: text/plain; charset=UTF-8\n"
14
- "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Loco https://localise.biz/"
16
-
17
- #: class.WpdiscuzCore.php:218
18
- msgid "Every 3 hours"
19
- msgstr ""
20
-
21
- #: class.WpdiscuzCore.php:222
22
- msgid "Every 48 hours"
23
- msgstr ""
24
-
25
- #: class.WpdiscuzCore.php:899 class.WpdiscuzCore.php:899
26
- #: class.WpdiscuzCore.php:1104
27
- msgid "Settings"
28
- msgstr ""
29
-
30
- #: class.WpdiscuzCore.php:901 class.WpdiscuzCore.php:901
31
- #: class.WpdiscuzCore.php:1106
32
- msgid "Phrases"
33
- msgstr ""
34
-
35
- #: class.WpdiscuzCore.php:903 class.WpdiscuzCore.php:903
36
- msgid "Tools"
37
- msgstr ""
38
-
39
- #: class.WpdiscuzCore.php:904 class.WpdiscuzCore.php:904
40
- #: options/html-options.php:22 options/html-options.php:63
41
- #: options/options-layouts/settings-addons.php:7
42
- msgid "Addons"
43
- msgstr ""
44
-
45
- #: class.WpdiscuzCore.php:916
46
- msgid "Do you really want to reset all options?"
47
- msgstr ""
48
-
49
- #: class.WpdiscuzCore.php:917
50
- msgid "Do you really want to remove voting data?"
51
- msgstr ""
52
-
53
- #: class.WpdiscuzCore.php:918
54
- msgid "Do you really want to delete gravatars cache?"
55
- msgstr ""
56
-
57
- #: class.WpdiscuzCore.php:1161 options/phrases-layouts/phrases-comment.php:56
58
- msgid "Admin"
59
- msgstr ""
60
-
61
- #: class.WpdiscuzCore.php:1163 class.WpdiscuzCore.php:1172
62
- #: options/phrases-layouts/phrases-comment.php:58
63
- msgid "Author"
64
- msgstr ""
65
-
66
- #: class.WpdiscuzCore.php:1167 options/phrases-layouts/phrases-comment.php:64
67
- msgid "Member"
68
- msgstr ""
69
-
70
- #: class.WpdiscuzCore.php:1173 options/phrases-layouts/phrases-comment.php:62
71
- msgid "Guest"
72
- msgstr ""
73
-
74
- #: forms/wpDiscuzForm.php:101 forms/wpDiscuzForm.php:149
75
- msgid "Forms"
76
- msgstr ""
77
-
78
- #: forms/wpDiscuzForm.php:102 options/html-phrases.php:22
79
- msgid "Form"
80
- msgstr ""
81
-
82
- #: forms/wpDiscuzForm.php:103
83
- msgid "Add New"
84
- msgstr ""
85
-
86
- #: forms/wpDiscuzForm.php:104
87
- msgid "Add New Form"
88
- msgstr ""
89
-
90
- #: forms/wpDiscuzForm.php:105
91
- msgid "Edit Form"
92
- msgstr ""
93
-
94
- #: forms/wpDiscuzForm.php:106
95
- msgid "You did not create any forms yet"
96
- msgstr ""
97
-
98
- #: forms/wpDiscuzForm.php:107
99
- msgid "Nothing found in Trash"
100
- msgstr ""
101
-
102
- #: forms/wpDiscuzForm.php:108
103
- msgid "Search Forms"
104
- msgstr ""
105
-
106
- #: forms/wpDiscuzForm.php:164
107
- msgid "Post Types"
108
- msgstr ""
109
-
110
- #: forms/wpDiscuzForm.php:165
111
- msgid "Post IDs"
112
- msgstr ""
113
-
114
- #: forms/wpDiscuzForm.php:166 forms/wpdFormAttr/Form.php:597
115
- msgid "Language"
116
- msgstr ""
117
-
118
- #: forms/wpDiscuzForm.php:212
119
- msgid "Field Types"
120
- msgstr ""
121
-
122
- #: forms/wpDiscuzForm.php:213 forms/wpdFormAttr/Row.php:23
123
- msgid "Two column"
124
- msgstr ""
125
-
126
- #: forms/wpDiscuzForm.php:214 forms/wpdFormAttr/Row.php:24
127
- #: forms/wpdFormAttr/Field/Field.php:64
128
- msgid "Delete"
129
- msgstr ""
130
-
131
- #: forms/wpDiscuzForm.php:215 forms/wpdFormAttr/Row.php:25
132
- msgid "Move"
133
- msgstr ""
134
-
135
- #: forms/wpDiscuzForm.php:216 forms/wpdFormAttr/Row.php:69
136
- msgid "Add Field"
137
- msgstr ""
138
-
139
- #: forms/wpDiscuzForm.php:217 options/class.WpdiscuzOptionsSerialized.php:680
140
- #: options/phrases-layouts/phrases-comment.php:19
141
- #: forms/wpdFormAttr/Field/Field.php:61
142
- msgid "Edit"
143
- msgstr ""
144
-
145
- #: forms/wpDiscuzForm.php:218
146
- msgid "You can not delete default field."
147
- msgstr ""
148
-
149
- #: forms/wpDiscuzForm.php:219
150
- msgid "You really want to delete this item ?"
151
- msgstr ""
152
-
153
- #: forms/wpDiscuzForm.php:226
154
- msgid "Permission Denied !!!"
155
- msgstr ""
156
-
157
- #: forms/wpDiscuzForm.php:251 forms/wpdFormAttr/Form.php:567
158
- #: options/options-layouts/settings-customfields.php:7
159
- #: forms/wpdFormAttr/html/admin-form-fields-list.php:18
160
- msgid "Custom Fields"
161
- msgstr ""
162
-
163
- #: forms/wpDiscuzForm.php:299
164
- msgid "Custom CSS"
165
- msgstr ""
166
-
167
- #: forms/wpDiscuzForm.php:355
168
- msgid "Default Form"
169
- msgstr ""
170
-
171
- #: forms/wpDiscuzForm.php:387 forms/wpDiscuzForm.php:395
172
- #: forms/wpdFormAttr/Form.php:653 forms/wpdFormAttr/Form.php:653
173
- msgid "Leave a Reply"
174
- msgstr ""
175
-
176
- #: forms/wpDiscuzForm.php:410 forms/wpdFormAttr/Form.php:762
177
- #: forms/wpdFormAttr/Field/CheckboxField.php:12
178
- #: forms/wpdFormAttr/Field/ColorField.php:12
179
- #: forms/wpdFormAttr/Field/DateField.php:12
180
- #: forms/wpdFormAttr/Field/NumberField.php:12
181
- #: forms/wpdFormAttr/Field/RadioField.php:12
182
- #: forms/wpdFormAttr/Field/RatingField.php:12
183
- #: forms/wpdFormAttr/Field/SelectField.php:12
184
- #: forms/wpdFormAttr/Field/TextAreaField.php:13
185
- #: forms/wpdFormAttr/Field/TextField.php:12
186
- #: forms/wpdFormAttr/Field/UrlField.php:12
187
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:25
188
- #: forms/wpdFormAttr/Field/DefaultField/Email.php:19
189
- #: forms/wpdFormAttr/Field/DefaultField/Name.php:18
190
- #: forms/wpdFormAttr/Field/DefaultField/Name.php:64
191
- #: forms/wpdFormAttr/Field/DefaultField/Submit.php:18
192
- #: forms/wpdFormAttr/Field/DefaultField/Website.php:18
193
- msgid "Name"
194
- msgstr ""
195
-
196
- #: forms/wpDiscuzForm.php:412 options/class.WpdiscuzOptionsSerialized.php:667
197
- #: options/html-phrases.php:25 forms/wpdFormAttr/Form.php:769
198
- #: forms/wpdFormAttr/Field/DefaultField/Email.php:64
199
- msgid "Email"
200
- msgstr ""
201
-
202
- #: forms/wpDiscuzForm.php:414
203
- msgid "WebSite URL"
204
- msgstr ""
205
-
206
- #: forms/wpDiscuzForm.php:417 forms/wpdFormAttr/Form.php:792
207
- #: forms/wpdFormAttr/Field/DefaultField/Submit.php:77
208
- msgid "Post Comment"
209
- msgstr ""
210
-
211
- #: forms/wpDiscuzForm.php:438
212
- msgid "Clone"
213
- msgstr ""
214
-
215
- #: forms/wpDiscuzForm.php:476
216
- msgid ""
217
- "Comment Form is not detected, please navigate to form manager page to create "
218
- "it. "
219
- msgstr ""
220
-
221
- #: forms/wpDiscuzForm.php:477
222
- msgid "Add Comment Form"
223
- msgstr ""
224
-
225
- #: options/class.WpdiscuzOptions.php:24 options/class.WpdiscuzOptions.php:107
226
- #: options/class.WpdiscuzOptions.php:226
227
- msgid "Hacker?"
228
- msgstr ""
229
-
230
- #: options/class.WpdiscuzOptions.php:98
231
- msgid "Settings updated"
232
- msgstr ""
233
-
234
- #: options/class.WpdiscuzOptions.php:215
235
- msgid "Phrases updated"
236
- msgstr ""
237
-
238
- #: options/class.WpdiscuzOptions.php:261
239
- msgid ""
240
- "Brings an ocean of emotions to your comments. It comes with an awesome smile "
241
- "package."
242
- msgstr ""
243
-
244
- #: options/class.WpdiscuzOptions.php:262
245
- msgid ""
246
- "Extended information about comment author with Profile, Activity, Votes and "
247
- "Subscriptions Tabs on pop-up window."
248
- msgstr ""
249
-
250
- #: options/class.WpdiscuzOptions.php:263
251
- msgid ""
252
- "Real-time online user checking, pop-up notification of new online users and "
253
- "online/offline badges."
254
- msgstr ""
255
-
256
- #: options/class.WpdiscuzOptions.php:264
257
- msgid ""
258
- "Total control over comment subscriptions. Full list, monitor, manage, filter,"
259
- " unsubscribe, confirm..."
260
- msgstr ""
261
-
262
- #: options/class.WpdiscuzOptions.php:265
263
- msgid ""
264
- "A full-fledged tool-kit for advertising in comment section of your website. "
265
- "Separate banner and ad managment."
266
- msgstr ""
267
-
268
- #: options/class.WpdiscuzOptions.php:266
269
- msgid ""
270
- "Allows to mention comments and users in comment text using #comment-id and "
271
- "@username tags."
272
- msgstr ""
273
-
274
- #: options/class.WpdiscuzOptions.php:267
275
- msgid ""
276
- "See comment likers and voters of each comment. Adds user reputation and "
277
- "badges based on received likes."
278
- msgstr ""
279
-
280
- #: options/class.WpdiscuzOptions.php:268
281
- msgid ""
282
- "Comment reporting tools. Auto-moderates comments based on number of flags "
283
- "and dislikes."
284
- msgstr ""
285
-
286
- #: options/class.WpdiscuzOptions.php:269
287
- msgid ""
288
- "Adds a smart and intuitive AJAX \"Translate\" button with 60 language "
289
- "options. Uses free translation API."
290
- msgstr ""
291
-
292
- #: options/class.WpdiscuzOptions.php:270
293
- msgid ""
294
- "AJAX powered front-end comment search. It starts searching while you type "
295
- "search words. "
296
- msgstr ""
297
-
298
- #: options/class.WpdiscuzOptions.php:271
299
- msgid ""
300
- "Most voted comments, Active comment threads, Most commented posts, Active "
301
- "comment authors"
302
- msgstr ""
303
-
304
- #: options/class.WpdiscuzOptions.php:272
305
- msgid ""
306
- "All in one powerful yet simple admin toolkit to moderate comments on front-"
307
- "end."
308
- msgstr ""
309
-
310
- #: options/class.WpdiscuzOptions.php:273
311
- msgid ""
312
- "Extended comment attachment system. Allows to upload images, videos, audios "
313
- "and other file types."
314
- msgstr ""
315
-
316
- #: options/class.WpdiscuzOptions.php:274
317
- msgid ""
318
- "Adds No CAPTCHA on all comment forms. Stops spam and bot comments with "
319
- "Google reCAPTCHA"
320
- msgstr ""
321
-
322
- #: options/class.WpdiscuzOptions.php:275
323
- msgid ""
324
- "Integrates myCRED Badges and Ranks. Converts wpDiscuz comment votes/likes to "
325
- "myCRED points. "
326
- msgstr ""
327
-
328
- #: options/class.WpdiscuzOptions.php:276
329
- msgid ""
330
- "Allows censoring comment words. Filters comments and replaces those phrases "
331
- "with custom words."
332
- msgstr ""
333
-
334
- #: options/class.WpdiscuzOptions.php:282
335
- msgid "Custom Comment Forms"
336
- msgstr ""
337
-
338
- #: options/class.WpdiscuzOptions.php:283
339
- msgid ""
340
- "You can create custom comment forms with wpDiscuz. wpDiscuz 4 comes with "
341
- "custom comment forms and fields. You can create custom comment forms for "
342
- "each post type, each form can beceated with different form fields, for "
343
- "eaxample: text, dropdown, rating, checkboxes, etc..."
344
- msgstr ""
345
-
346
- #: options/class.WpdiscuzOptions.php:286
347
- msgid "Emoticons"
348
- msgstr ""
349
-
350
- #: options/class.WpdiscuzOptions.php:287
351
- msgid ""
352
- "You can add more emotions to your comments using wpDiscuz Emoticons addon."
353
- msgstr ""
354
-
355
- #: options/class.WpdiscuzOptions.php:290
356
- msgid "Ads Manager"
357
- msgstr ""
358
-
359
- #: options/class.WpdiscuzOptions.php:291
360
- msgid ""
361
- "Increase your income using ad banners. Comment area is the most active "
362
- "sections for advertising. wpDiscuz Ads Manager addon is designed to help you "
363
- "add banners and control ads in this section."
364
- msgstr ""
365
-
366
- #: options/class.WpdiscuzOptions.php:294
367
- msgid "User and Comment Mentioning"
368
- msgstr ""
369
-
370
- #: options/class.WpdiscuzOptions.php:295
371
- msgid ""
372
- "Using wpDiscuz User &amp; Comment Mentioning addon you can allow commenters "
373
- "mention comments and users in comment text using #comment-id and @username "
374
- "tags."
375
- msgstr ""
376
-
377
- #: options/class.WpdiscuzOptions.php:298
378
- msgid "Advanced Likers"
379
- msgstr ""
380
-
381
- #: options/class.WpdiscuzOptions.php:299
382
- msgid ""
383
- "wpDiscuz Advanced Likers addon displays likers and voters of each comment. "
384
- "Adds user reputation and badges based on received likes."
385
- msgstr ""
386
-
387
- #: options/class.WpdiscuzOptions.php:302
388
- msgid "Report and Flagging"
389
- msgstr ""
390
-
391
- #: options/class.WpdiscuzOptions.php:303
392
- msgid ""
393
- "Let your commenters help you to determine and remove spam comments. wpDiscuz "
394
- "Report and Flagging addon comes with comment reporting tools. Automaticaly "
395
- "auto-moderates comments based on number of flags and dislikes."
396
- msgstr ""
397
-
398
- #: options/class.WpdiscuzOptions.php:306
399
- msgid "Comment Translate"
400
- msgstr ""
401
-
402
- #: options/class.WpdiscuzOptions.php:307
403
- msgid ""
404
- "In most cases the big part of your visitors are not a native speakers of "
405
- "your language. Make your comments comprehensible for all visitors using "
406
- "wpDiscuz Comment Translation addon. It adds smart and intuitive AJAX "
407
- "\"Translate\" button with 60 language translation options. Uses free "
408
- "translation API."
409
- msgstr ""
410
-
411
- #: options/class.WpdiscuzOptions.php:310
412
- msgid "Comment Search"
413
- msgstr ""
414
-
415
- #: options/class.WpdiscuzOptions.php:311
416
- msgid ""
417
- "You can let website visitor search in comments. It's always more attractive "
418
- "to find a comment about something that interest you. Using wpDiscuz Comment "
419
- "Search addon you'll get a nice, AJAX powered front-end comment search form "
420
- "above comment list."
421
- msgstr ""
422
-
423
- #: options/class.WpdiscuzOptions.php:314
424
- msgid "wpDiscuz Widgets"
425
- msgstr ""
426
-
427
- #: options/class.WpdiscuzOptions.php:315
428
- msgid ""
429
- "More Comment Widgets! Most voted comments, Active comment threads, Most "
430
- "commented posts, Active comment authors widgets are available in wpDiscuz "
431
- "Widgets Addon"
432
- msgstr ""
433
-
434
- #: options/class.WpdiscuzOptions.php:318
435
- msgid "Front-end Moderation"
436
- msgstr ""
437
-
438
- #: options/class.WpdiscuzOptions.php:319
439
- msgid ""
440
- "You can moderate comments on front-end using all in one powerful yet simple "
441
- "wpDiscuz Frontend Moderation addon."
442
- msgstr ""
443
-
444
- #: options/class.WpdiscuzOptions.php:322
445
- msgid "Media Uploader"
446
- msgstr ""
447
-
448
- #: options/class.WpdiscuzOptions.php:323
449
- msgid ""
450
- "You can let website visitors attach images and files to comments and embed "
451
- "video/audio content using wpDiscuz Media Uploader addon."
452
- msgstr ""
453
-
454
- #: options/class.WpdiscuzOptions.php:326
455
- msgid "Google ReCaptcha"
456
- msgstr ""
457
-
458
- #: options/class.WpdiscuzOptions.php:327
459
- msgid ""
460
- "Advanced spam protection with wpDiscuz Google reCAPTCHA addon. This addon "
461
- "adds No-CAPTCHA reCAPTCHA on all comment forms. Stops spam and bot comments."
462
- msgstr ""
463
-
464
- #: options/class.WpdiscuzOptions.php:386
465
- msgid "Do you know?"
466
- msgstr ""
467
-
468
- #: options/class.WpdiscuzOptions.php:399
469
- msgid "More info"
470
- msgstr ""
471
-
472
- #: options/class.WpdiscuzOptionsSerialized.php:661
473
- msgid "Be the First to Comment!"
474
- msgstr ""
475
-
476
- #: options/class.WpdiscuzOptionsSerialized.php:662 options/html-phrases.php:23
477
- #: options/phrases-layouts/phrases-general.php:15
478
- msgid "Comment"
479
- msgstr ""
480
-
481
- #: options/class.WpdiscuzOptionsSerialized.php:663
482
- msgid "Comments"
483
- msgstr ""
484
-
485
- #: options/class.WpdiscuzOptionsSerialized.php:664
486
- msgid "on"
487
- msgstr ""
488
-
489
- #: options/class.WpdiscuzOptionsSerialized.php:665
490
- msgid "Start the discussion"
491
- msgstr ""
492
-
493
- #: options/class.WpdiscuzOptionsSerialized.php:666
494
- msgid "Join the discussion"
495
- msgstr ""
496
-
497
- #: options/class.WpdiscuzOptionsSerialized.php:668
498
- #: options/phrases-layouts/phrases-form.php:23
499
- #: options/phrases-layouts/phrases-form.php:24
500
- msgid "Notify of"
501
- msgstr ""
502
-
503
- #: options/class.WpdiscuzOptionsSerialized.php:669
504
- #: options/phrases-layouts/phrases-form.php:28
505
- msgid "new follow-up comments"
506
- msgstr ""
507
-
508
- #: options/class.WpdiscuzOptionsSerialized.php:670
509
- msgid "new replies to my comments"
510
- msgstr ""
511
-
512
- #: options/class.WpdiscuzOptionsSerialized.php:671
513
- #: options/phrases-layouts/phrases-form.php:36
514
- msgid "Notify of new replies to this comment"
515
- msgstr ""
516
-
517
- #: options/class.WpdiscuzOptionsSerialized.php:672
518
- #: options/phrases-layouts/phrases-form.php:39
519
- #: options/phrases-layouts/phrases-form.php:40
520
- msgid "Sort by"
521
- msgstr ""
522
-
523
- #: options/class.WpdiscuzOptionsSerialized.php:673
524
- #: options/phrases-layouts/phrases-form.php:43
525
- #: options/phrases-layouts/phrases-form.php:44
526
- msgid "newest"
527
- msgstr ""
528
-
529
- #: options/class.WpdiscuzOptionsSerialized.php:674
530
- #: options/phrases-layouts/phrases-form.php:47
531
- #: options/phrases-layouts/phrases-form.php:48
532
- msgid "oldest"
533
- msgstr ""
534
-
535
- #: options/class.WpdiscuzOptionsSerialized.php:675
536
- #: options/phrases-layouts/phrases-form.php:51
537
- #: options/phrases-layouts/phrases-form.php:52
538
- msgid "most voted"
539
- msgstr ""
540
-
541
- #: options/class.WpdiscuzOptionsSerialized.php:676
542
- msgid "Load More Comments"
543
- msgstr ""
544
-
545
- #: options/class.WpdiscuzOptionsSerialized.php:677
546
- #: options/phrases-layouts/phrases-general.php:31
547
- msgid "Load Rest of Comments"
548
- msgstr ""
549
-
550
- #: options/class.WpdiscuzOptionsSerialized.php:678
551
- #: options/phrases-layouts/phrases-comment.php:11
552
- msgid "Reply"
553
- msgstr ""
554
-
555
- #: options/class.WpdiscuzOptionsSerialized.php:679
556
- #: options/phrases-layouts/phrases-comment.php:15
557
- msgid "Share"
558
- msgstr ""
559
-
560
- #: options/class.WpdiscuzOptionsSerialized.php:681
561
- #: options/phrases-layouts/phrases-comment.php:23
562
- msgid "Share On Facebook"
563
- msgstr ""
564
-
565
- #: options/class.WpdiscuzOptionsSerialized.php:682
566
- #: options/phrases-layouts/phrases-comment.php:27
567
- msgid "Share On Twitter"
568
- msgstr ""
569
-
570
- #: options/class.WpdiscuzOptionsSerialized.php:683
571
- #: options/phrases-layouts/phrases-comment.php:31
572
- msgid "Share On Google"
573
- msgstr ""
574
-
575
- #: options/class.WpdiscuzOptionsSerialized.php:684
576
- #: options/phrases-layouts/phrases-comment.php:35
577
- msgid "Share On VKontakte"
578
- msgstr ""
579
-
580
- #: options/class.WpdiscuzOptionsSerialized.php:685
581
- #: options/phrases-layouts/phrases-comment.php:39
582
- msgid "Share On Odnoklassniki"
583
- msgstr ""
584
-
585
- #: options/class.WpdiscuzOptionsSerialized.php:686
586
- #: options/phrases-layouts/phrases-comment.php:43
587
- msgid "Hide Replies"
588
- msgstr ""
589
-
590
- #: options/class.WpdiscuzOptionsSerialized.php:687
591
- #: options/phrases-layouts/phrases-comment.php:47
592
- msgid "Show Replies"
593
- msgstr ""
594
-
595
- #: options/class.WpdiscuzOptionsSerialized.php:688
596
- msgid "New Comment"
597
- msgstr ""
598
-
599
- #: options/class.WpdiscuzOptionsSerialized.php:689
600
- msgid "New comment on the discussion section you've been interested in"
601
- msgstr ""
602
-
603
- #: options/class.WpdiscuzOptionsSerialized.php:690
604
- #: utils/class.WpdiscuzEmailHelper.php:162
605
- #: options/phrases-layouts/phrases-email.php:20
606
- msgid "New Reply"
607
- msgstr ""
608
-
609
- #: options/class.WpdiscuzOptionsSerialized.php:691
610
- #: utils/class.WpdiscuzEmailHelper.php:163
611
- msgid "New reply on the discussion section you've been interested in"
612
- msgstr ""
613
-
614
- #: options/class.WpdiscuzOptionsSerialized.php:692
615
- msgid "You're subscribed for new replies on this comment"
616
- msgstr ""
617
-
618
- #: options/class.WpdiscuzOptionsSerialized.php:693
619
- msgid "You're subscribed for new replies on all your comments"
620
- msgstr ""
621
-
622
- #: options/class.WpdiscuzOptionsSerialized.php:694
623
- msgid "You're subscribed for new follow-up comments on this post"
624
- msgstr ""
625
-
626
- #: options/class.WpdiscuzOptionsSerialized.php:695
627
- #: options/phrases-layouts/phrases-email.php:27
628
- msgid "Unsubscribe"
629
- msgstr ""
630
-
631
- #: options/class.WpdiscuzOptionsSerialized.php:696
632
- #: options/phrases-layouts/phrases-email.php:32
633
- msgid "Cancel subscription"
634
- msgstr ""
635
-
636
- #: options/class.WpdiscuzOptionsSerialized.php:697
637
- #: options/phrases-layouts/phrases-notification.php:19
638
- msgid "You've successfully unsubscribed."
639
- msgstr ""
640
-
641
- #: options/class.WpdiscuzOptionsSerialized.php:698
642
- #: options/phrases-layouts/phrases-notification.php:15
643
- msgid "You've successfully subscribed."
644
- msgstr ""
645
-
646
- #: options/class.WpdiscuzOptionsSerialized.php:699
647
- #: options/phrases-layouts/phrases-email.php:35
648
- #: options/phrases-layouts/phrases-email.php:36
649
- msgid "Confirm your subscription"
650
- msgstr ""
651
-
652
- #: options/class.WpdiscuzOptionsSerialized.php:700
653
- #: options/phrases-layouts/phrases-email.php:39
654
- #: options/phrases-layouts/phrases-email.php:40
655
- msgid "You've successfully confirmed your subscription."
656
- msgstr ""
657
-
658
- #: options/class.WpdiscuzOptionsSerialized.php:701
659
- #: utils/class.WpdiscuzEmailHelper.php:55
660
- #: options/phrases-layouts/phrases-email.php:44
661
- msgid "Subscribe Confirmation"
662
- msgstr ""
663
-
664
- #: options/class.WpdiscuzOptionsSerialized.php:702
665
- #: utils/class.WpdiscuzEmailHelper.php:56
666
- #: options/phrases-layouts/phrases-email.php:48
667
- msgid ""
668
- "Hi, <br/> You just subscribed for new comments on our website. This means "
669
- "you will receive an email when new comments are posted according to "
670
- "subscription option you've chosen. <br/> To activate, click confirm below. "
671
- "If you believe this is an error, ignore this message and we'll never bother "
672
- "you again."
673
- msgstr ""
674
-
675
- #: options/class.WpdiscuzOptionsSerialized.php:703
676
- msgid "please fill out this field to comment"
677
- msgstr ""
678
-
679
- #: options/class.WpdiscuzOptionsSerialized.php:704
680
- msgid "email address is invalid"
681
- msgstr ""
682
-
683
- #: options/class.WpdiscuzOptionsSerialized.php:705
684
- msgid "url is invalid"
685
- msgstr ""
686
-
687
- #: options/class.WpdiscuzOptionsSerialized.php:706
688
- msgid "year"
689
- msgstr ""
690
-
691
- #: options/class.WpdiscuzOptionsSerialized.php:707
692
- msgid "years"
693
- msgstr ""
694
-
695
- #: options/class.WpdiscuzOptionsSerialized.php:708
696
- msgid "month"
697
- msgstr ""
698
-
699
- #: options/class.WpdiscuzOptionsSerialized.php:709
700
- msgid "months"
701
- msgstr ""
702
-
703
- #: options/class.WpdiscuzOptionsSerialized.php:710
704
- msgid "day"
705
- msgstr ""
706
-
707
- #: options/class.WpdiscuzOptionsSerialized.php:711
708
- msgid "days"
709
- msgstr ""
710
-
711
- #: options/class.WpdiscuzOptionsSerialized.php:712
712
- msgid "hour"
713
- msgstr ""
714
-
715
- #: options/class.WpdiscuzOptionsSerialized.php:713
716
- msgid "hours"
717
- msgstr ""
718
-
719
- #: options/class.WpdiscuzOptionsSerialized.php:714
720
- msgid "minute"
721
- msgstr ""
722
-
723
- #: options/class.WpdiscuzOptionsSerialized.php:715
724
- msgid "minutes"
725
- msgstr ""
726
-
727
- #: options/class.WpdiscuzOptionsSerialized.php:716
728
- msgid "second"
729
- msgstr ""
730
-
731
- #: options/class.WpdiscuzOptionsSerialized.php:717
732
- msgid "seconds"
733
- msgstr ""
734
-
735
- #: options/class.WpdiscuzOptionsSerialized.php:718
736
- msgid "right now"
737
- msgstr ""
738
-
739
- #: options/class.WpdiscuzOptionsSerialized.php:719
740
- msgid "ago"
741
- msgstr ""
742
-
743
- #: options/class.WpdiscuzOptionsSerialized.php:720
744
- #: options/phrases-layouts/phrases-notification.php:41
745
- msgid "You must be"
746
- msgstr ""
747
-
748
- #: options/class.WpdiscuzOptionsSerialized.php:721
749
- msgid "You are logged in as"
750
- msgstr ""
751
-
752
- #: options/class.WpdiscuzOptionsSerialized.php:722
753
- #: options/phrases-layouts/phrases-notification.php:49
754
- msgid "Log out"
755
- msgstr ""
756
-
757
- #: options/class.WpdiscuzOptionsSerialized.php:723
758
- msgid "logged in"
759
- msgstr ""
760
-
761
- #: options/class.WpdiscuzOptionsSerialized.php:724
762
- msgid "to post a comment."
763
- msgstr ""
764
-
765
- #: options/class.WpdiscuzOptionsSerialized.php:725
766
- #: options/phrases-layouts/phrases-comment.php:75
767
- msgid "Vote Up"
768
- msgstr ""
769
-
770
- #: options/class.WpdiscuzOptionsSerialized.php:726
771
- #: options/phrases-layouts/phrases-comment.php:79
772
- msgid "Vote Down"
773
- msgstr ""
774
-
775
- #: options/class.WpdiscuzOptionsSerialized.php:727
776
- #: options/phrases-layouts/phrases-notification.php:61
777
- msgid "Vote Counted"
778
- msgstr ""
779
-
780
- #: options/class.WpdiscuzOptionsSerialized.php:728
781
- msgid "You've already voted for this comment"
782
- msgstr ""
783
-
784
- #: options/class.WpdiscuzOptionsSerialized.php:729
785
- #: options/phrases-layouts/phrases-notification.php:69
786
- msgid "Voting Error"
787
- msgstr ""
788
-
789
- #: options/class.WpdiscuzOptionsSerialized.php:730
790
- msgid "You Must Be Logged In To Vote"
791
- msgstr ""
792
-
793
- #: options/class.WpdiscuzOptionsSerialized.php:731
794
- msgid "You cannot vote for your comment"
795
- msgstr ""
796
-
797
- #: options/class.WpdiscuzOptionsSerialized.php:732
798
- msgid "You are not allowed to vote for this comment"
799
- msgstr ""
800
-
801
- #: options/class.WpdiscuzOptionsSerialized.php:733
802
- #: options/phrases-layouts/phrases-notification.php:85
803
- msgid "Invalid Captcha Code"
804
- msgstr ""
805
-
806
- #: options/class.WpdiscuzOptionsSerialized.php:734
807
- #: options/phrases-layouts/phrases-notification.php:89
808
- msgid "Some of field value is invalid"
809
- msgstr ""
810
-
811
- #: options/class.WpdiscuzOptionsSerialized.php:735
812
- msgid "new comment"
813
- msgstr ""
814
-
815
- #: options/class.WpdiscuzOptionsSerialized.php:736
816
- msgid "new comments"
817
- msgstr ""
818
-
819
- #: options/class.WpdiscuzOptionsSerialized.php:737
820
- msgid "Comment awaiting moderation"
821
- msgstr ""
822
-
823
- #: options/class.WpdiscuzOptionsSerialized.php:738
824
- msgid "new reply on your comment"
825
- msgstr ""
826
-
827
- #: options/class.WpdiscuzOptionsSerialized.php:739
828
- msgid "new replies on your comments"
829
- msgstr ""
830
-
831
- #: options/class.WpdiscuzOptionsSerialized.php:740
832
- msgid "New"
833
- msgstr ""
834
-
835
- #: options/class.WpdiscuzOptionsSerialized.php:741
836
- msgid "Sorry, the comment was not updated"
837
- msgstr ""
838
-
839
- #: options/class.WpdiscuzOptionsSerialized.php:742
840
- msgid "Sorry, this comment no longer possible to edit"
841
- msgstr ""
842
-
843
- #: options/class.WpdiscuzOptionsSerialized.php:743
844
- msgid "You've not made any changes"
845
- msgstr ""
846
-
847
- #: options/class.WpdiscuzOptionsSerialized.php:744
848
- msgid "Save"
849
- msgstr ""
850
-
851
- #: options/class.WpdiscuzOptionsSerialized.php:745
852
- msgid "Cancel"
853
- msgstr ""
854
-
855
- #: options/class.WpdiscuzOptionsSerialized.php:746
856
- msgid "Input is too short"
857
- msgstr ""
858
-
859
- #: options/class.WpdiscuzOptionsSerialized.php:747
860
- msgid "Input is too long"
861
- msgstr ""
862
-
863
- #: options/class.WpdiscuzOptionsSerialized.php:748
864
- msgid "Read more &raquo;"
865
- msgstr ""
866
-
867
- #: options/class.WpdiscuzOptionsSerialized.php:749
868
- msgid "Anonymous"
869
- msgstr ""
870
-
871
- #: options/class.WpdiscuzOptionsSerialized.php:750
872
- #: options/phrases-layouts/phrases-notification.php:118
873
- msgid "Please fill out required fields"
874
- msgstr ""
875
-
876
- #: options/class.WpdiscuzOptionsSerialized.php:751
877
- #: options/phrases-layouts/phrases-form.php:67
878
- #: options/phrases-layouts/phrases-form.php:68
879
- msgid "Connect with"
880
- msgstr ""
881
-
882
- #: options/class.WpdiscuzOptionsSerialized.php:752
883
- #: options/phrases-layouts/phrases-notification.php:11
884
- msgid "You're subscribed to"
885
- msgstr ""
886
-
887
- #: options/class.WpdiscuzOptionsSerialized.php:753
888
- msgid "Participate in this discussion via email"
889
- msgstr ""
890
-
891
- #: options/class.WpdiscuzOptionsSerialized.php:754
892
- #: options/phrases-layouts/phrases-form.php:72
893
- msgid "&rsaquo;"
894
- msgstr ""
895
-
896
- #: options/class.WpdiscuzOptionsSerialized.php:755
897
- #: options/phrases-layouts/phrases-email.php:52
898
- msgid "Comment was approved"
899
- msgstr ""
900
-
901
- #: options/class.WpdiscuzOptionsSerialized.php:756
902
- msgid "Hi, <br/> Your comment was approved."
903
- msgstr ""
904
-
905
- #: options/class.WpdiscuzOptionsSerialized.php:757
906
- msgid "Comments are closed."
907
- msgstr ""
908
-
909
- #: options/html-addons.php:11
910
- msgid "wpDiscuz Addons"
911
- msgstr ""
912
-
913
- #: options/html-addons.php:19
914
- msgid "wpDiscuz Add-ons"
915
- msgstr ""
916
-
917
- #: options/html-addons.php:20
918
- msgid "Addons Support Forum"
919
- msgstr ""
920
-
921
- #: options/html-addons.php:25
922
- msgid ""
923
- "All wpDiscuz addons are being developed by wpDiscuz developers at gVectors "
924
- "Team, those are very solid premium level extensions and come with premium "
925
- "support.\n"
926
- " These addons help us to keep top level "
927
- "development of the free wpDiscuz plugin. All essential and even dozens of "
928
- "extra-cool features are already available for free in core wpDiscuz. \n"
929
- " There will never be any limits, any pro and paid "
930
- "versions for wpDiscuz. We have another dozens of awesome features in our to-"
931
- "do list which will also be added for free in future releases. \n"
932
- " So the free wpDiscuz development always stays on "
933
- "the first priority and wpDiscuz is being extended with new free functions "
934
- "and features even faster than before."
935
- msgstr ""
936
-
937
- #: options/html-addons.php:31
938
- msgid " Thank you!<br/> Sincerely yours,<br/> gVectors Team&nbsp;"
939
- msgstr ""
940
-
941
- #: options/html-addons.php:60
942
- msgid "Live Preview | Buy"
943
- msgstr ""
944
-
945
- #: options/html-options.php:10
946
- msgid "wpDiscuz General Settings"
947
- msgstr ""
948
-
949
- #: options/html-options.php:19
950
- msgid "Like wpDiscuz?"
951
- msgstr ""
952
-
953
- #: options/html-options.php:20
954
- msgid "Documentation"
955
- msgstr ""
956
-
957
- #: options/html-options.php:21
958
- msgid "Support"
959
- msgstr ""
960
-
961
- #: options/html-options.php:55 options/options-layouts/settings-general.php:7
962
- msgid "General Settings"
963
- msgstr ""
964
-
965
- #: options/html-options.php:56
966
- #: options/options-layouts/settings-live-update.php:7
967
- msgid "Live Update"
968
- msgstr ""
969
-
970
- #: options/html-options.php:57
971
- msgid "Show/Hide"
972
- msgstr ""
973
-
974
- #: options/html-options.php:58
975
- msgid "Subscription"
976
- msgstr ""
977
-
978
- #: options/html-options.php:58
979
- msgid "and Postmatic"
980
- msgstr ""
981
-
982
- #: options/html-options.php:59
983
- msgid "Styling"
984
- msgstr ""
985
-
986
- #: options/html-options.php:60
987
- msgid "Cache"
988
- msgstr ""
989
-
990
- #: options/html-options.php:61 options/options-layouts/settings-social.php:124
991
- msgid "Social Login"
992
- msgstr ""
993
-
994
- #: options/html-options.php:62
995
- #: options/options-layouts/settings-integrations.php:7
996
- msgid "Integrations"
997
- msgstr ""
998
-
999
- #: options/html-options.php:152
1000
- msgid "Reset Options"
1001
- msgstr ""
1002
-
1003
- #: options/html-options.php:154
1004
- msgid "Remove vote data"
1005
- msgstr ""
1006
-
1007
- #: options/html-options.php:155 options/html-phrases.php:72
1008
- #: options/html-tools.php:58
1009
- msgid "Save Changes"
1010
- msgstr ""
1011
-
1012
- #: options/html-phrases.php:10
1013
- msgid "wpDiscuz Front-end Phrases"
1014
- msgstr ""
1015
-
1016
- #: options/html-phrases.php:21
1017
- msgid "General"
1018
- msgstr ""
1019
-
1020
- #: options/html-phrases.php:24
1021
- msgid "Date/Time"
1022
- msgstr ""
1023
-
1024
- #: options/html-phrases.php:26
1025
- msgid "Notification"
1026
- msgstr ""
1027
-
1028
- #: options/html-tools.php:10
1029
- msgid "wpDiscuz Tools"
1030
- msgstr ""
1031
-
1032
- #: options/html-tools.php:22 options/tools-layouts/options-export.php:8
1033
- msgid "Export options"
1034
- msgstr ""
1035
-
1036
- #: options/html-tools.php:23 options/tools-layouts/options-import.php:7
1037
- msgid "Import options"
1038
- msgstr ""
1039
-
1040
- #: utils/class.WpdiscuzHelper.php:346 utils/class.WpdiscuzHelper.php:349
1041
- msgid "Spoiler"
1042
- msgstr ""
1043
-
1044
- #: forms/wpdFormAttr/Form.php:606
1045
- msgid "Disable commenting for roles"
1046
- msgstr ""
1047
-
1048
- #: forms/wpdFormAttr/Form.php:627
1049
- msgid "Allow guests to comment"
1050
- msgstr ""
1051
-
1052
- #: forms/wpdFormAttr/Form.php:631 forms/wpdFormAttr/Form.php:642
1053
- msgid "Yes"
1054
- msgstr ""
1055
-
1056
- #: forms/wpdFormAttr/Form.php:633 forms/wpdFormAttr/Form.php:644
1057
- msgid "No"
1058
- msgstr ""
1059
-
1060
- #: forms/wpdFormAttr/Form.php:638
1061
- msgid "Enable subscription bar"
1062
- msgstr ""
1063
-
1064
- #: forms/wpdFormAttr/Form.php:649
1065
- msgid "Comment form header text"
1066
- msgstr ""
1067
-
1068
- #: forms/wpdFormAttr/Form.php:658
1069
- msgid "Display comment form for post types"
1070
- msgstr ""
1071
-
1072
- #: forms/wpdFormAttr/Form.php:665
1073
- msgid ""
1074
- "The red marked post types are already attached to other comment form. If you "
1075
- "set this form too, the old forms will not be used for them."
1076
- msgstr ""
1077
-
1078
- #: forms/wpdFormAttr/Form.php:687
1079
- msgid "Display comment form for post IDs"
1080
- msgstr ""
1081
-
1082
- #: forms/wpdFormAttr/Form.php:688
1083
- msgid ""
1084
- "You can use this form for certain posts/pages specified by comma separated "
1085
- "IDs."
1086
- msgstr ""
1087
-
1088
- #: forms/wpdFormAttr/Form.php:699
1089
- msgid "Comment Text Field"
1090
- msgstr ""
1091
-
1092
- #: forms/wpdFormAttr/Form.php:714
1093
- msgid "ADD ROW"
1094
- msgstr ""
1095
-
1096
- #: forms/wpdFormAttr/Form.php:776
1097
- #: forms/wpdFormAttr/Field/DefaultField/Website.php:83
1098
- msgid "Website"
1099
- msgstr ""
1100
-
1101
- #: forms/wpdFormAttr/Form.php:785
1102
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:107
1103
- msgid "Code"
1104
- msgstr ""
1105
-
1106
- #: options/options-layouts/settings-addons.php:13
1107
- msgid ""
1108
- "Here you can find wpDiscuz Addons' setting options in vertical subTabs with "
1109
- "according addon titles. All wpDiscuz addons are listed on wpDiscuz"
1110
- msgstr ""
1111
-
1112
- #: options/options-layouts/settings-addons.php:13
1113
- #: options/options-layouts/settings-addons.php:13
1114
- msgid "Addons subMenu"
1115
- msgstr ""
1116
-
1117
- #: options/options-layouts/settings-addons.php:13
1118
- msgid ""
1119
- "We'll add new free and paid addons with almost every wpDiscuz release. There "
1120
- "will be dozens of very useful addons in near future. Currently wpDiscuz "
1121
- "consists of about 70 free features/addons like \"Live Update\", \"First "
1122
- "comment redirection\", \"Comment sorting\", \"Simple CAPTCHA\", \"AJAX "
1123
- "Pagination\", \"Lazy Load\", \"Comment Likes\", \"Comment Share\" and dozens "
1124
- "of other addons and there will be more. All new and free addons will be "
1125
- "built-in with wpDiscuz plugin and all paid addons will be listed separately "
1126
- "on"
1127
- msgstr ""
1128
-
1129
- #: options/options-layouts/settings-cache.php:7
1130
- msgid "Gravatar Cache"
1131
- msgstr ""
1132
-
1133
- #: options/options-layouts/settings-cache.php:12
1134
- msgid "Enable Grvatar caching"
1135
- msgstr ""
1136
-
1137
- #: options/options-layouts/settings-cache.php:14
1138
- msgid ""
1139
- "It seems on of important functions (\"file_get_contents\", "
1140
- "\"file_put_contents\") of php is not exists.<br/> Please enable these "
1141
- "functions in your server settings to use gravatar caching feature."
1142
- msgstr ""
1143
-
1144
- #: options/options-layouts/settings-cache.php:23
1145
- msgid "Caching method"
1146
- msgstr ""
1147
-
1148
- #: options/options-layouts/settings-cache.php:29
1149
- msgid "Runtime"
1150
- msgstr ""
1151
-
1152
- #: options/options-layouts/settings-cache.php:33
1153
- msgid "Cron job"
1154
- msgstr ""
1155
-
1156
- #: options/options-layouts/settings-cache.php:40
1157
- msgid "Cache avatars for \"X\" days"
1158
- msgstr ""
1159
-
1160
- #: options/options-layouts/settings-cache.php:49
1161
- #: options/options-layouts/settings-cache.php:53
1162
- msgid "Purge expired caches"
1163
- msgstr ""
1164
-
1165
- #: options/options-layouts/settings-cache.php:58
1166
- #: options/options-layouts/settings-cache.php:62
1167
- msgid "Purge all caches"
1168
- msgstr ""
1169
-
1170
- #: options/options-layouts/settings-customfields.php:12
1171
- msgid "Google Map API Key"
1172
- msgstr ""
1173
-
1174
- #: options/options-layouts/settings-general.php:11
1175
- msgid "Enable wpdiscuz on home page"
1176
- msgstr ""
1177
-
1178
- #: options/options-layouts/settings-general.php:15
1179
- msgid "Enable Quicktags"
1180
- msgstr ""
1181
-
1182
- #: options/options-layouts/settings-general.php:20
1183
- msgid "Use guest email to detect registered account"
1184
- msgstr ""
1185
-
1186
- #: options/options-layouts/settings-general.php:22
1187
- msgid ""
1188
- "Sometimes registered users comment as guest using the same email address. "
1189
- "wpDiscuz can detect the account role using guest email and display commenter "
1190
- "label correctly."
1191
- msgstr ""
1192
-
1193
- #: options/options-layouts/settings-general.php:28
1194
- msgid "Notify comment author if comment was approved"
1195
- msgstr ""
1196
-
1197
- #: options/options-layouts/settings-general.php:33
1198
- msgid "Comment author name min length (for guests only)"
1199
- msgstr ""
1200
-
1201
- #: options/options-layouts/settings-general.php:37
1202
- #: options/options-layouts/settings-general.php:60
1203
- msgid "Min"
1204
- msgstr ""
1205
-
1206
- #: options/options-layouts/settings-general.php:40
1207
- #: options/options-layouts/settings-general.php:63
1208
- msgid "Max"
1209
- msgstr ""
1210
-
1211
- #: options/options-layouts/settings-general.php:46
1212
- msgid "Keep guest commenter credentials in browser cookies for x days"
1213
- msgstr ""
1214
-
1215
- #: options/options-layouts/settings-general.php:48
1216
- msgid "Set this option value -1 to make it unlimited."
1217
- msgstr ""
1218
-
1219
- #: options/options-layouts/settings-general.php:49
1220
- msgid "Set this option value 0 to clear those data when user closes browser."
1221
- msgstr ""
1222
-
1223
- #: options/options-layouts/settings-general.php:56
1224
- msgid "Comment text length"
1225
- msgstr ""
1226
-
1227
- #: options/options-layouts/settings-general.php:69
1228
- msgid ""
1229
- "The number of words before breaking comment text and showing \"Read more\" "
1230
- "link"
1231
- msgstr ""
1232
-
1233
- #: options/options-layouts/settings-general.php:71
1234
- msgid "Set this option value 0, to turn off comment text breaking function."
1235
- msgstr ""
1236
-
1237
- #: options/options-layouts/settings-general.php:77
1238
- msgid "Comment text size in pixels"
1239
- msgstr ""
1240
-
1241
- #: options/options-layouts/settings-general.php:90
1242
- msgid "Allow comment editing for"
1243
- msgstr ""
1244
-
1245
- #: options/options-layouts/settings-general.php:94
1246
- msgid "Do not allow"
1247
- msgstr ""
1248
-
1249
- #: options/options-layouts/settings-general.php:95
1250
- #: options/options-layouts/settings-general.php:96
1251
- #: options/options-layouts/settings-live-update.php:52
1252
- #: options/options-layouts/settings-live-update.php:53
1253
- #: options/options-layouts/settings-live-update.php:54
1254
- msgid "Minutes"
1255
- msgstr ""
1256
-
1257
- #: options/options-layouts/settings-general.php:97
1258
- #: options/phrases-layouts/phrases-datetime.php:35
1259
- msgid "Hour"
1260
- msgstr ""
1261
-
1262
- #: options/options-layouts/settings-general.php:98
1263
- #: options/options-layouts/settings-general.php:99
1264
- msgid "Hours"
1265
- msgstr ""
1266
-
1267
- #: options/options-layouts/settings-general.php:100
1268
- msgid "Unlimit"
1269
- msgstr ""
1270
-
1271
- #: options/options-layouts/settings-general.php:106
1272
- msgid "Redirect first commenter to"
1273
- msgstr ""
1274
-
1275
- #: options/options-layouts/settings-general.php:113
1276
- msgid "Do not redirect"
1277
- msgstr ""
1278
-
1279
- #: options/options-layouts/settings-general.php:120
1280
- msgid "Allow guests to vote on comments"
1281
- msgstr ""
1282
-
1283
- #: options/options-layouts/settings-general.php:125
1284
- msgid "Display only parent comments and <u>view replies &or;</u> button"
1285
- msgstr ""
1286
-
1287
- #: options/options-layouts/settings-general.php:127
1288
- msgid ""
1289
- "If this option is enabled only parent comment will be displayed. This "
1290
- "increases page load speed and keeps pages light. If visitor wants to read "
1291
- "replies he/she just need to click on [view replies (12)] button located on "
1292
- "all parent comments which have replies."
1293
- msgstr ""
1294
-
1295
- #: options/options-layouts/settings-general.php:134
1296
- msgid "Comments loading/pagination type"
1297
- msgstr ""
1298
-
1299
- #: options/options-layouts/settings-general.php:136
1300
- msgid ""
1301
- "You can manage the number of comments for [Load more] option in Settings > "
1302
- "Discussion page, using \"Break comments into pages with [X] top level "
1303
- "comments per page\" option. To show the default Wordpress comment pagination "
1304
- "you should enable the checkbox on bigining of the same option."
1305
- msgstr ""
1306
-
1307
- #: options/options-layouts/settings-general.php:142
1308
- #: options/options-layouts/settings-general.php:144
1309
- msgid "[Load more] Button"
1310
- msgstr ""
1311
-
1312
- #: options/options-layouts/settings-general.php:146
1313
- #: options/options-layouts/settings-general.php:148
1314
- msgid "[Load rest of all comments] Button"
1315
- msgstr ""
1316
-
1317
- #: options/options-layouts/settings-general.php:150
1318
- #: options/options-layouts/settings-general.php:152
1319
- msgid "Load all comments"
1320
- msgstr ""
1321
-
1322
- #: options/options-layouts/settings-general.php:154
1323
- #: options/options-layouts/settings-general.php:156
1324
- msgid "Lazy load comments on scrolling"
1325
- msgstr ""
1326
-
1327
- #: options/options-layouts/settings-general.php:162
1328
- msgid "Enable first comments loading before scroll position is on comment box"
1329
- msgstr ""
1330
-
1331
- #: options/options-layouts/settings-general.php:167
1332
- msgid "Use WordPress Date/Time format"
1333
- msgstr ""
1334
-
1335
- #: options/options-layouts/settings-general.php:168
1336
- msgid ""
1337
- "wpDiscuz shows Human Readable date format. If you check this option it'll "
1338
- "show the date/time format set in WordPress General Settings."
1339
- msgstr ""
1340
-
1341
- #: options/options-layouts/settings-general.php:174
1342
- msgid "Current Wordpress date/time format"
1343
- msgstr ""
1344
-
1345
- #: options/options-layouts/settings-general.php:180
1346
- msgid "Use Plugin .PO/.MO files"
1347
- msgstr ""
1348
-
1349
- #: options/options-layouts/settings-general.php:181
1350
- msgid ""
1351
- "wpDiscuz phrase system allows you to translate all front-end phrases. "
1352
- "However if you have a multi-language website it'll not allow you to add more "
1353
- "than one language translation. The only way to get it is the plugin "
1354
- "translation files (.PO / .MO). If wpDiscuz has the languages you need you "
1355
- "should check this option to disable phrase system and it'll automatically "
1356
- "translate all phrases based on language files according to current language."
1357
- msgstr ""
1358
-
1359
- #: options/options-layouts/settings-general.php:188
1360
- msgid ""
1361
- "Help wpDiscuz to grow allowing people to recognize which comment plugin you "
1362
- "use"
1363
- msgstr ""
1364
-
1365
- #: options/options-layouts/settings-general.php:190
1366
- msgid ""
1367
- "Please check this option on to help wpDiscuz get more popularity as your "
1368
- "thank to the hard work we do for you totally free. This option adds a very "
1369
- "small (16x16px) icon under the comment section which will allow your site "
1370
- "visitors recognize the name of comment solution you use."
1371
- msgstr ""
1372
-
1373
- #: options/options-layouts/settings-general.php:195
1374
- msgid "Thank you!"
1375
- msgstr ""
1376
-
1377
- #: options/options-layouts/settings-integrations.php:14
1378
- msgid "BuddyPress"
1379
- msgstr ""
1380
-
1381
- #: options/options-layouts/settings-integrations.php:15
1382
- msgid "Users Ultra"
1383
- msgstr ""
1384
-
1385
- #: options/options-layouts/settings-integrations.php:16
1386
- msgid "User Pro"
1387
- msgstr ""
1388
-
1389
- #: options/options-layouts/settings-integrations.php:17
1390
- msgid "Ultimate Member"
1391
- msgstr ""
1392
-
1393
- #: options/options-layouts/settings-integrations.php:18
1394
- msgid "MyCred"
1395
- msgstr ""
1396
-
1397
- #: options/options-layouts/settings-integrations.php:23
1398
- #: options/options-layouts/settings-integrations.php:41
1399
- #: options/options-layouts/settings-integrations.php:59
1400
- #: options/options-layouts/settings-integrations.php:90
1401
- #: options/options-layouts/settings-integrations.php:124
1402
- msgid "Please add the code below in current active theme's functions.php file"
1403
- msgstr ""
1404
-
1405
- #: options/options-layouts/settings-integrations.php:24
1406
- msgid ""
1407
- "This code will integrate BuddyPress profile URL with wpDiscuz. BuddyPress "
1408
- "Display Names and Avatars will be integrated automatically."
1409
- msgstr ""
1410
-
1411
- #: options/options-layouts/settings-integrations.php:42
1412
- msgid ""
1413
- "This code will integrate Users Ultra profile URL with wpDiscuz. Users Ultra "
1414
- "Display Names and Avatars will be integrated automatically."
1415
- msgstr ""
1416
-
1417
- #: options/options-layouts/settings-integrations.php:60
1418
- msgid ""
1419
- "This code will integrate User Pro profile URL with wpDiscuz. User Pro "
1420
- "Display Names and Avatars will be integrated automatically."
1421
- msgstr ""
1422
-
1423
- #: options/options-layouts/settings-integrations.php:91
1424
- msgid ""
1425
- "This code consists of two parts, which will integrate Ultimate Member "
1426
- "profile Display Name and Profile URL with wpDiscuz. UM Avatars will be "
1427
- "integrated automatically."
1428
- msgstr ""
1429
-
1430
- #: options/options-layouts/settings-integrations.php:125
1431
- msgid ""
1432
- "This code will integrate MyCred User Ranks and Badges under comment author "
1433
- "avatar."
1434
- msgstr ""
1435
-
1436
- #: options/options-layouts/settings-live-update.php:12
1437
- msgid "Live update options"
1438
- msgstr ""
1439
-
1440
- #: options/options-layouts/settings-live-update.php:13
1441
- msgid ""
1442
- "wpDiscuz 3 live update is very smart and doesn't overload your server even "
1443
- "if you're on Shared hosting plan and even your website is very active. "
1444
- "However we recommend to monitor your server resources if you're on a Shared "
1445
- "hosting plan. There are some very weak hosting plans which may not be able "
1446
- "to perform very frequently live update requests. If you found some issue you "
1447
- "can set the option below 30 seconds or more."
1448
- msgstr ""
1449
-
1450
- #: options/options-layouts/settings-live-update.php:18
1451
- msgid "Never update"
1452
- msgstr ""
1453
-
1454
- #: options/options-layouts/settings-live-update.php:20
1455
- msgid "Turn off \"Live Update\" function"
1456
- msgstr ""
1457
-
1458
- #: options/options-layouts/settings-live-update.php:22
1459
- #: options/options-layouts/settings-subscription.php:27
1460
- msgid "Show new comment/reply buttons to update manualy"
1461
- msgstr ""
1462
-
1463
- #: options/options-layouts/settings-live-update.php:24
1464
- msgid "Always check for new comments and show update buttons"
1465
- msgstr ""
1466
-
1467
- #: options/options-layouts/settings-live-update.php:26
1468
- #: options/options-layouts/settings-subscription.php:31
1469
- msgid "Always update"
1470
- msgstr ""
1471
-
1472
- #: options/options-layouts/settings-live-update.php:28
1473
- msgid "Always check for new comments and update automatically"
1474
- msgstr ""
1475
-
1476
- #: options/options-layouts/settings-live-update.php:35
1477
- msgid "Disable live update for guests"
1478
- msgstr ""
1479
-
1480
- #: options/options-layouts/settings-live-update.php:43
1481
- msgid "Update comment list every"
1482
- msgstr ""
1483
-
1484
- #: options/options-layouts/settings-live-update.php:48
1485
- #: options/options-layouts/settings-live-update.php:49
1486
- #: options/options-layouts/settings-live-update.php:50
1487
- msgid "Seconds"
1488
- msgstr ""
1489
-
1490
- #: options/options-layouts/settings-live-update.php:51
1491
- #: options/phrases-layouts/phrases-datetime.php:43
1492
- msgid "Minute"
1493
- msgstr ""
1494
-
1495
- #: options/options-layouts/settings-show-hide.php:7
1496
- msgid "Show/Hide Components"
1497
- msgstr ""
1498
-
1499
- #: options/options-layouts/settings-show-hide.php:11
1500
- msgid "Show logged-in user name and logout link on top of main form"
1501
- msgstr ""
1502
-
1503
- #: options/options-layouts/settings-show-hide.php:15
1504
- msgid "Hide Reply button for Guests"
1505
- msgstr ""
1506
-
1507
- #: options/options-layouts/settings-show-hide.php:19
1508
- msgid "Hide Reply button for Members"
1509
- msgstr ""
1510
-
1511
- #: options/options-layouts/settings-show-hide.php:23
1512
- msgid "Hide Commenter Labels"
1513
- msgstr ""
1514
-
1515
- #: options/options-layouts/settings-show-hide.php:27
1516
- msgid "Hide Voting buttons"
1517
- msgstr ""
1518
-
1519
- #: options/options-layouts/settings-show-hide.php:31
1520
- msgid "Comment voting statistic mode"
1521
- msgstr ""
1522
-
1523
- #: options/options-layouts/settings-show-hide.php:36
1524
- msgid "total count"
1525
- msgstr ""
1526
-
1527
- #: options/options-layouts/settings-show-hide.php:40
1528
- msgid "separate count"
1529
- msgstr ""
1530
-
1531
- #: options/options-layouts/settings-show-hide.php:46
1532
- msgid "Show Share Buttons"
1533
- msgstr ""
1534
-
1535
- #: options/options-layouts/settings-show-hide.php:65
1536
- msgid "Facebook Application ID"
1537
- msgstr ""
1538
-
1539
- #: options/options-layouts/settings-show-hide.php:81
1540
- msgid ""
1541
- "The plugin captcha directory is not writable! Please set writable "
1542
- "permissions on \"wpdiscuz/utils/temp\" directory in order to use the first "
1543
- "type of captcha generation"
1544
- msgstr ""
1545
-
1546
- #: options/options-layouts/settings-show-hide.php:85
1547
- msgid "Captcha generation type"
1548
- msgstr ""
1549
-
1550
- #: options/options-layouts/settings-show-hide.php:91
1551
- msgid "use file system"
1552
- msgstr ""
1553
-
1554
- #: options/options-layouts/settings-show-hide.php:96
1555
- msgid "use wordpress session"
1556
- msgstr ""
1557
-
1558
- #: options/options-layouts/settings-show-hide.php:102
1559
- msgid "Hide header text"
1560
- msgstr ""
1561
-
1562
- #: options/options-layouts/settings-show-hide.php:106
1563
- msgid "Show sorting buttons"
1564
- msgstr ""
1565
-
1566
- #: options/options-layouts/settings-show-hide.php:110
1567
- msgid "Set comments ordering to \"Most voted\" by default "
1568
- msgstr ""
1569
-
1570
- #: options/options-layouts/settings-show-hide.php:114
1571
- msgid "Hide comment link"
1572
- msgstr ""
1573
-
1574
- #: options/options-layouts/settings-show-hide.php:118
1575
- msgid "Enable automatic image URL to image HTML conversion"
1576
- msgstr ""
1577
-
1578
- #: options/options-layouts/settings-show-hide.php:123
1579
- msgid "Secure comment content in HTTPS protocol."
1580
- msgstr ""
1581
-
1582
- #: options/options-layouts/settings-show-hide.php:125
1583
- msgid ""
1584
- "This option detects images and other contents with non-https source URLs and "
1585
- "fix according to your selected logic."
1586
- msgstr ""
1587
-
1588
- #: options/options-layouts/settings-show-hide.php:133
1589
- msgid "Replace non-https content to simple link URLs"
1590
- msgstr ""
1591
-
1592
- #: options/options-layouts/settings-show-hide.php:138
1593
- msgid ""
1594
- "Just replace http protocols to https (https may not be supported by content "
1595
- "provider)"
1596
- msgstr ""
1597
-
1598
- #: options/options-layouts/settings-show-hide.php:142
1599
- msgid "Ignore non-https content"
1600
- msgstr ""
1601
-
1602
- #: options/options-layouts/settings-show-hide.php:149
1603
- msgid "Disable Profiles URL"
1604
- msgstr ""
1605
-
1606
- #: options/options-layouts/settings-show-hide.php:153
1607
- msgid "Display Ratings"
1608
- msgstr ""
1609
-
1610
- #: options/options-layouts/settings-show-hide.php:156
1611
- msgid "Before Content"
1612
- msgstr ""
1613
-
1614
- #: options/options-layouts/settings-show-hide.php:158
1615
- msgid "After Content"
1616
- msgstr ""
1617
-
1618
- #: options/options-layouts/settings-show-hide.php:162
1619
- msgid "Display ratings on none singular pages"
1620
- msgstr ""
1621
-
1622
- #: options/options-layouts/settings-social.php:50
1623
- #: options/options-layouts/settings-social.php:61
1624
- #: options/options-layouts/settings-social.php:72
1625
- #: options/options-layouts/settings-social.php:83
1626
- msgid "Activate"
1627
- msgstr ""
1628
-
1629
- #: options/options-layouts/settings-social.php:54
1630
- #: options/options-layouts/settings-social.php:65
1631
- #: options/options-layouts/settings-social.php:76
1632
- #: options/options-layouts/settings-social.php:87
1633
- msgid "View details/Install"
1634
- msgstr ""
1635
-
1636
- #: options/options-layouts/settings-social.php:125
1637
- msgid ""
1638
- "You can use one of these most popular Social Login Plugins to allow your "
1639
- "visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, "
1640
- "OK and lots of other social network service accounts. All social login "
1641
- "buttons will be fully integrated with wpDiscuz comment forms."
1642
- msgstr ""
1643
-
1644
- #: options/options-layouts/settings-style.php:7
1645
- msgid "Background and Colors"
1646
- msgstr ""
1647
-
1648
- #: options/options-layouts/settings-style.php:12
1649
- msgid "Comment Form Background Color"
1650
- msgstr ""
1651
-
1652
- #: options/options-layouts/settings-style.php:16
1653
- #: options/options-layouts/settings-style.php:25
1654
- #: options/options-layouts/settings-style.php:34
1655
- #: options/options-layouts/settings-style.php:43
1656
- #: options/options-layouts/settings-style.php:70
1657
- #: options/options-layouts/settings-style.php:79
1658
- #: options/options-layouts/settings-style.php:88
1659
- #: options/options-layouts/settings-style.php:98
1660
- #: options/options-layouts/settings-style.php:107
1661
- #: options/options-layouts/settings-style.php:116
1662
- #: options/options-layouts/settings-style.php:130
1663
- msgid "Example: #00FF00"
1664
- msgstr ""
1665
-
1666
- #: options/options-layouts/settings-style.php:21
1667
- msgid "Comment Background Color"
1668
- msgstr ""
1669
-
1670
- #: options/options-layouts/settings-style.php:30
1671
- msgid "Reply Background Color"
1672
- msgstr ""
1673
-
1674
- #: options/options-layouts/settings-style.php:39
1675
- msgid "Comment Text Color"
1676
- msgstr ""
1677
-
1678
- #: options/options-layouts/settings-style.php:48
1679
- msgid "Button Color"
1680
- msgstr ""
1681
-
1682
- #: options/options-layouts/settings-style.php:53
1683
- msgid "Share Buttons"
1684
- msgstr ""
1685
-
1686
- #: options/options-layouts/settings-style.php:54
1687
- #: options/options-layouts/settings-style.php:57
1688
- #: options/options-layouts/settings-style.php:60
1689
- msgid "Text Color"
1690
- msgstr ""
1691
-
1692
- #: options/options-layouts/settings-style.php:55
1693
- #: options/options-layouts/settings-style.php:58
1694
- #: options/options-layouts/settings-style.php:61
1695
- msgid "Border Color"
1696
- msgstr ""
1697
-
1698
- #: options/options-layouts/settings-style.php:56
1699
- msgid "Vote Buttons"
1700
- msgstr ""
1701
-
1702
- #: options/options-layouts/settings-style.php:59
1703
- msgid "Action Buttons"
1704
- msgstr ""
1705
-
1706
- #: options/options-layouts/settings-style.php:66
1707
- msgid "Comment form fields border color"
1708
- msgstr ""
1709
-
1710
- #: options/options-layouts/settings-style.php:75
1711
- msgid "New loaded comments' background color"
1712
- msgstr ""
1713
-
1714
- #: options/options-layouts/settings-style.php:84
1715
- msgid "Primary Color"
1716
- msgstr ""
1717
-
1718
- #: options/options-layouts/settings-style.php:94
1719
- msgid "Rating Stars Hover Color"
1720
- msgstr ""
1721
-
1722
- #: options/options-layouts/settings-style.php:103
1723
- msgid "Rating Stars Inactiv Color"
1724
- msgstr ""
1725
-
1726
- #: options/options-layouts/settings-style.php:112
1727
- msgid "Rating Stars Activ Color"
1728
- msgstr ""
1729
-
1730
- #: options/options-layouts/settings-style.php:127
1731
- msgid "label color"
1732
- msgstr ""
1733
-
1734
- #: options/options-layouts/settings-style.php:138
1735
- msgid "Disable font awesome css loading"
1736
- msgstr ""
1737
-
1738
- #: options/options-layouts/settings-style.php:146
1739
- msgid "Custom CSS Code"
1740
- msgstr ""
1741
-
1742
- #: options/options-layouts/settings-subscription.php:7
1743
- msgid "Email Subscription Settings"
1744
- msgstr ""
1745
-
1746
- #: options/options-layouts/settings-subscription.php:11
1747
- msgid "Disable subscription confirmation for registered users"
1748
- msgstr ""
1749
-
1750
- #: options/options-layouts/settings-subscription.php:15
1751
- msgid "Disable subscription confirmation for guests"
1752
- msgstr ""
1753
-
1754
- #: options/options-layouts/settings-subscription.php:19
1755
- msgid "Show subscription types in dropdown"
1756
- msgstr ""
1757
-
1758
- #: options/options-layouts/settings-subscription.php:23
1759
- msgid "Both"
1760
- msgstr ""
1761
-
1762
- #: options/options-layouts/settings-subscription.php:25
1763
- msgid "Both post and all comments subscription"
1764
- msgstr ""
1765
-
1766
- #: options/options-layouts/settings-subscription.php:29
1767
- msgid "Post subscription"
1768
- msgstr ""
1769
-
1770
- #: options/options-layouts/settings-subscription.php:33
1771
- msgid "All comments subscription"
1772
- msgstr ""
1773
-
1774
- #: options/options-layouts/settings-subscription.php:40
1775
- msgid "Show \"Notify of new replies to this comment\""
1776
- msgstr ""
1777
-
1778
- #: options/options-layouts/settings-subscription.php:42
1779
- msgid ""
1780
- "wpDiscuz is the only comment plugin which allows you to subscribe to certain "
1781
- "comment replies. This option is located above [Post Comment] button in "
1782
- "comment form. You can disable this subscription way by unchecking this "
1783
- "option."
1784
- msgstr ""
1785
-
1786
- #: options/options-layouts/settings-subscription.php:49
1787
- msgid "\"Notify of new replies to this comment\" checked by default"
1788
- msgstr ""
1789
-
1790
- #: options/options-layouts/settings-subscription.php:56
1791
- msgid "Use Postmatic for subscriptions and commenting by email"
1792
- msgstr ""
1793
-
1794
- #: options/options-layouts/settings-subscription.php:57
1795
- msgid ""
1796
- "Postmatic allows your users subscribe to comments. Instead of just being "
1797
- "notified, they add a reply right from their inbox."
1798
- msgstr ""
1799
-
1800
- #: options/phrases-layouts/phrases-comment.php:7
1801
- msgid "Comment Template Phrases"
1802
- msgstr ""
1803
-
1804
- #: options/phrases-layouts/phrases-comment.php:83
1805
- msgid "Save edited comment button text"
1806
- msgstr ""
1807
-
1808
- #: options/phrases-layouts/phrases-comment.php:87
1809
- msgid "Cancel comment editing button text"
1810
- msgstr ""
1811
-
1812
- #: options/phrases-layouts/phrases-comment.php:91
1813
- msgid "Comment read more link text"
1814
- msgstr ""
1815
-
1816
- #: options/phrases-layouts/phrases-comment.php:95
1817
- msgid "Anonymous commenter name"
1818
- msgstr ""
1819
-
1820
- #: options/phrases-layouts/phrases-datetime.php:7
1821
- msgid "Date/Time Phrases"
1822
- msgstr ""
1823
-
1824
- #: options/phrases-layouts/phrases-datetime.php:11
1825
- msgid "Year"
1826
- msgstr ""
1827
-
1828
- #: options/phrases-layouts/phrases-datetime.php:15
1829
- msgid "Years (Plural Form)"
1830
- msgstr ""
1831
-
1832
- #: options/phrases-layouts/phrases-datetime.php:16
1833
- msgid "Years"
1834
- msgstr ""
1835
-
1836
- #: options/phrases-layouts/phrases-datetime.php:19
1837
- msgid "Month"
1838
- msgstr ""
1839
-
1840
- #: options/phrases-layouts/phrases-datetime.php:23
1841
- msgid "Months (Plural Form)"
1842
- msgstr ""
1843
-
1844
- #: options/phrases-layouts/phrases-datetime.php:27
1845
- msgid "Day"
1846
- msgstr ""
1847
-
1848
- #: options/phrases-layouts/phrases-datetime.php:31
1849
- msgid "Days (Plural Form)"
1850
- msgstr ""
1851
-
1852
- #: options/phrases-layouts/phrases-datetime.php:39
1853
- msgid "Hours (Plural Form)"
1854
- msgstr ""
1855
-
1856
- #: options/phrases-layouts/phrases-datetime.php:47
1857
- msgid "Minutes (Plural Form)"
1858
- msgstr ""
1859
-
1860
- #: options/phrases-layouts/phrases-datetime.php:51
1861
- msgid "Second"
1862
- msgstr ""
1863
-
1864
- #: options/phrases-layouts/phrases-datetime.php:55
1865
- msgid "Seconds (Plural Form)"
1866
- msgstr ""
1867
-
1868
- #: options/phrases-layouts/phrases-datetime.php:59
1869
- msgid "Commented \"right now\" text"
1870
- msgstr ""
1871
-
1872
- #: options/phrases-layouts/phrases-datetime.php:63
1873
- msgid "Ago text"
1874
- msgstr ""
1875
-
1876
- #: options/phrases-layouts/phrases-email.php:7
1877
- msgid "Email Template Phrases"
1878
- msgstr ""
1879
-
1880
- #: options/phrases-layouts/phrases-email.php:11
1881
- msgid "New comment email subject"
1882
- msgstr ""
1883
-
1884
- #: options/phrases-layouts/phrases-email.php:15
1885
- msgid "New comment email message"
1886
- msgstr ""
1887
-
1888
- #: options/phrases-layouts/phrases-email.php:19
1889
- msgid "New reply subject"
1890
- msgstr ""
1891
-
1892
- #: options/phrases-layouts/phrases-email.php:23
1893
- msgid "New reply message"
1894
- msgstr ""
1895
-
1896
- #: options/phrases-layouts/phrases-email.php:31
1897
- msgid "Ignore subscription"
1898
- msgstr ""
1899
-
1900
- #: options/phrases-layouts/phrases-email.php:43
1901
- msgid "Subscribe confirmation email subject"
1902
- msgstr ""
1903
-
1904
- #: options/phrases-layouts/phrases-email.php:47
1905
- msgid "Subscribe confirmation email content"
1906
- msgstr ""
1907
-
1908
- #: options/phrases-layouts/phrases-email.php:51
1909
- msgid "Comment approved subject"
1910
- msgstr ""
1911
-
1912
- #: options/phrases-layouts/phrases-email.php:55
1913
- msgid "Comment approved message"
1914
- msgstr ""
1915
-
1916
- #: options/phrases-layouts/phrases-email.php:56
1917
- msgid "Hi, <br/> Your comment was approved"
1918
- msgstr ""
1919
-
1920
- #: options/phrases-layouts/phrases-form.php:7
1921
- msgid "Form Template Phrases"
1922
- msgstr ""
1923
-
1924
- #: options/phrases-layouts/phrases-form.php:11
1925
- msgid "Comment Field Start"
1926
- msgstr ""
1927
-
1928
- #: options/phrases-layouts/phrases-form.php:15
1929
- msgid "Comment Field Join"
1930
- msgstr ""
1931
-
1932
- #: options/phrases-layouts/phrases-form.php:19
1933
- msgid "Email Field"
1934
- msgstr ""
1935
-
1936
- #: options/phrases-layouts/phrases-form.php:27
1937
- msgid "Notify on new comments"
1938
- msgstr ""
1939
-
1940
- #: options/phrases-layouts/phrases-form.php:31
1941
- msgid "Notify on all new replies"
1942
- msgstr ""
1943
-
1944
- #: options/phrases-layouts/phrases-form.php:32
1945
- msgid "new replies to all my comments"
1946
- msgstr ""
1947
-
1948
- #: options/phrases-layouts/phrases-form.php:35
1949
- msgid "Notify on new replies (checkbox)"
1950
- msgstr ""
1951
-
1952
- #: options/phrases-layouts/phrases-form.php:55
1953
- msgid "Subscribed on this comment replies"
1954
- msgstr ""
1955
-
1956
- #: options/phrases-layouts/phrases-form.php:59
1957
- msgid "Subscribed on all your comments replies"
1958
- msgstr ""
1959
-
1960
- #: options/phrases-layouts/phrases-form.php:63
1961
- msgid "Subscribed on this post"
1962
- msgstr ""
1963
-
1964
- #: options/phrases-layouts/phrases-form.php:71
1965
- msgid "Form subscription button"
1966
- msgstr ""
1967
-
1968
- #: options/phrases-layouts/phrases-general.php:7
1969
- msgid "General Phrases"
1970
- msgstr ""
1971
-
1972
- #: options/phrases-layouts/phrases-general.php:11
1973
- msgid "Be the first to comment"
1974
- msgstr ""
1975
-
1976
- #: options/phrases-layouts/phrases-general.php:19
1977
- msgid "Comment (Plural Form)"
1978
- msgstr ""
1979
-
1980
- #: options/phrases-layouts/phrases-general.php:23
1981
- msgid "On"
1982
- msgstr ""
1983
-
1984
- #: options/phrases-layouts/phrases-general.php:27
1985
- msgid "Load More Button"
1986
- msgstr ""
1987
-
1988
- #: options/phrases-layouts/phrases-general.php:35
1989
- msgid "Button text if has new comment"
1990
- msgstr ""
1991
-
1992
- #: options/phrases-layouts/phrases-general.php:39
1993
- msgid "Button text if has new comments (Plural Form)"
1994
- msgstr ""
1995
-
1996
- #: options/phrases-layouts/phrases-general.php:43
1997
- msgid "Button text if has new reply"
1998
- msgstr ""
1999
-
2000
- #: options/phrases-layouts/phrases-general.php:47
2001
- msgid "Button text if has new replies (Plural Form)"
2002
- msgstr ""
2003
-
2004
- #: options/phrases-layouts/phrases-general.php:51
2005
- msgid "Text on load more button if has new comment(s)"
2006
- msgstr ""
2007
-
2008
- #: options/phrases-layouts/phrases-notification.php:7
2009
- msgid "Notification Phrases"
2010
- msgstr ""
2011
-
2012
- #: options/phrases-layouts/phrases-notification.php:24
2013
- msgid "Postmatic subscription label"
2014
- msgstr ""
2015
-
2016
- #: options/phrases-layouts/phrases-notification.php:29
2017
- msgid "Error message for empty field"
2018
- msgstr ""
2019
-
2020
- #: options/phrases-layouts/phrases-notification.php:33
2021
- msgid "Error message for invalid email field"
2022
- msgstr ""
2023
-
2024
- #: options/phrases-layouts/phrases-notification.php:37
2025
- msgid "Error message for invalid website url field"
2026
- msgstr ""
2027
-
2028
- #: options/phrases-layouts/phrases-notification.php:45
2029
- msgid "Logged in as"
2030
- msgstr ""
2031
-
2032
- #: options/phrases-layouts/phrases-notification.php:53
2033
- msgid "Logged In"
2034
- msgstr ""
2035
-
2036
- #: options/phrases-layouts/phrases-notification.php:57
2037
- msgid "To post a comment"
2038
- msgstr ""
2039
-
2040
- #: options/phrases-layouts/phrases-notification.php:65
2041
- msgid "You can vote only 1 time"
2042
- msgstr ""
2043
-
2044
- #: options/phrases-layouts/phrases-notification.php:73
2045
- msgid "Login To Vote"
2046
- msgstr ""
2047
-
2048
- #: options/phrases-layouts/phrases-notification.php:77
2049
- msgid "You Cannot Vote On Your Comment"
2050
- msgstr ""
2051
-
2052
- #: options/phrases-layouts/phrases-notification.php:81
2053
- msgid "You are not allowed to vote for this comment (Voting from same IP)"
2054
- msgstr ""
2055
-
2056
- #: options/phrases-layouts/phrases-notification.php:93
2057
- msgid "Comment waiting moderation"
2058
- msgstr ""
2059
-
2060
- #: options/phrases-layouts/phrases-notification.php:97
2061
- msgid "Message if input text length is too short"
2062
- msgstr ""
2063
-
2064
- #: options/phrases-layouts/phrases-notification.php:101
2065
- msgid "Message if input text length is too long"
2066
- msgstr ""
2067
-
2068
- #: options/phrases-layouts/phrases-notification.php:106
2069
- msgid "Message if comment was not updated"
2070
- msgstr ""
2071
-
2072
- #: options/phrases-layouts/phrases-notification.php:110
2073
- msgid "Message if comment no longer possible to edit"
2074
- msgstr ""
2075
-
2076
- #: options/phrases-layouts/phrases-notification.php:114
2077
- msgid "Message if comment text not changed"
2078
- msgstr ""
2079
-
2080
- #: options/phrases-layouts/phrases-notification.php:122
2081
- msgid "Message if commenting disabled by user role"
2082
- msgstr ""
2083
-
2084
- #: options/tools-layouts/options-export.php:10
2085
- msgid ""
2086
- "You can transfer the saved options data between different installs by "
2087
- "copying the text inside this textarea. To import data from another install, "
2088
- "navigate to \"Import Options\" Tab and put the data in textarea with the one "
2089
- "from another install and click \"Save Changes\". Make sure you use the same "
2090
- "wpDiscuz versions."
2091
- msgstr ""
2092
-
2093
- #: options/tools-layouts/options-import.php:9
2094
- msgid ""
2095
- "You can transfer the saved options data between different installs by "
2096
- "copying the text inside this textarea in \"Export Options\" Tab. To import "
2097
- "data from another install, just put the data in textarea with the one from "
2098
- "another install and click \"Save Changes\". Make sure you use the same "
2099
- "wpDiscuz versions."
2100
- msgstr ""
2101
-
2102
- #: templates/comment/class.WpdiscuzWalker.php:341
2103
- msgid "view replies"
2104
- msgstr ""
2105
-
2106
- #: templates/comment/comment-form.php:71
2107
- msgid "Unable to send an email"
2108
- msgstr ""
2109
-
2110
- #: templates/comment/comment-form.php:73
2111
- msgid "Subscription not successed"
2112
- msgstr ""
2113
-
2114
- #: forms/wpdFormAttr/Field/CheckboxField.php:14
2115
- #: forms/wpdFormAttr/Field/ColorField.php:14
2116
- #: forms/wpdFormAttr/Field/DateField.php:14
2117
- #: forms/wpdFormAttr/Field/NumberField.php:14
2118
- #: forms/wpdFormAttr/Field/RadioField.php:14
2119
- #: forms/wpdFormAttr/Field/SelectField.php:14
2120
- #: forms/wpdFormAttr/Field/TextAreaField.php:15
2121
- #: forms/wpdFormAttr/Field/TextField.php:14
2122
- #: forms/wpdFormAttr/Field/UrlField.php:14
2123
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:27
2124
- #: forms/wpdFormAttr/Field/DefaultField/Email.php:21
2125
- #: forms/wpdFormAttr/Field/DefaultField/Name.php:20
2126
- #: forms/wpdFormAttr/Field/DefaultField/Website.php:20
2127
- msgid "Also used for field placeholder"
2128
- msgstr ""
2129
-
2130
- #: forms/wpdFormAttr/Field/CheckboxField.php:17
2131
- #: forms/wpdFormAttr/Field/ColorField.php:17
2132
- #: forms/wpdFormAttr/Field/DateField.php:17
2133
- #: forms/wpdFormAttr/Field/NumberField.php:17
2134
- #: forms/wpdFormAttr/Field/RadioField.php:17
2135
- #: forms/wpdFormAttr/Field/RatingField.php:16
2136
- #: forms/wpdFormAttr/Field/SelectField.php:17
2137
- #: forms/wpdFormAttr/Field/TextAreaField.php:18
2138
- #: forms/wpdFormAttr/Field/TextField.php:17
2139
- #: forms/wpdFormAttr/Field/UrlField.php:17
2140
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:30
2141
- #: forms/wpdFormAttr/Field/DefaultField/Email.php:24
2142
- #: forms/wpdFormAttr/Field/DefaultField/Name.php:23
2143
- #: forms/wpdFormAttr/Field/DefaultField/Website.php:23
2144
- msgid "Description"
2145
- msgstr ""
2146
-
2147
- #: forms/wpdFormAttr/Field/CheckboxField.php:19
2148
- #: forms/wpdFormAttr/Field/ColorField.php:19
2149
- #: forms/wpdFormAttr/Field/DateField.php:19
2150
- #: forms/wpdFormAttr/Field/NumberField.php:19
2151
- #: forms/wpdFormAttr/Field/NumberField.php:24
2152
- #: forms/wpdFormAttr/Field/NumberField.php:29
2153
- #: forms/wpdFormAttr/Field/RadioField.php:19
2154
- #: forms/wpdFormAttr/Field/RatingField.php:18
2155
- #: forms/wpdFormAttr/Field/SelectField.php:19
2156
- #: forms/wpdFormAttr/Field/TextAreaField.php:20
2157
- #: forms/wpdFormAttr/Field/TextField.php:19
2158
- #: forms/wpdFormAttr/Field/UrlField.php:19
2159
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:32
2160
- #: forms/wpdFormAttr/Field/DefaultField/Email.php:26
2161
- #: forms/wpdFormAttr/Field/DefaultField/Name.php:25
2162
- #: forms/wpdFormAttr/Field/DefaultField/Website.php:25
2163
- msgid ""
2164
- "Field specific short description or some rule related to inserted "
2165
- "information."
2166
- msgstr ""
2167
-
2168
- #: forms/wpdFormAttr/Field/CheckboxField.php:28
2169
- #: forms/wpdFormAttr/Field/RadioField.php:28
2170
- #: forms/wpdFormAttr/Field/SelectField.php:28
2171
- msgid "Values"
2172
- msgstr ""
2173
-
2174
- #: forms/wpdFormAttr/Field/CheckboxField.php:30
2175
- msgid "Please insert one value per line"
2176
- msgstr ""
2177
-
2178
- #: forms/wpdFormAttr/Field/CheckboxField.php:33
2179
- #: forms/wpdFormAttr/Field/ColorField.php:29
2180
- #: forms/wpdFormAttr/Field/DateField.php:29
2181
- #: forms/wpdFormAttr/Field/NumberField.php:39
2182
- #: forms/wpdFormAttr/Field/RadioField.php:33
2183
- #: forms/wpdFormAttr/Field/RatingField.php:28
2184
- #: forms/wpdFormAttr/Field/SelectField.php:33
2185
- #: forms/wpdFormAttr/Field/TextAreaField.php:23
2186
- #: forms/wpdFormAttr/Field/TextField.php:29
2187
- #: forms/wpdFormAttr/Field/UrlField.php:29
2188
- #: forms/wpdFormAttr/Field/DefaultField/Email.php:36
2189
- #: forms/wpdFormAttr/Field/DefaultField/Name.php:35
2190
- msgid "Field is required"
2191
- msgstr ""
2192
-
2193
- #: forms/wpdFormAttr/Field/CheckboxField.php:37
2194
- #: forms/wpdFormAttr/Field/ColorField.php:33
2195
- #: forms/wpdFormAttr/Field/DateField.php:33
2196
- #: forms/wpdFormAttr/Field/NumberField.php:43
2197
- #: forms/wpdFormAttr/Field/RadioField.php:37
2198
- #: forms/wpdFormAttr/Field/SelectField.php:37
2199
- #: forms/wpdFormAttr/Field/TextAreaField.php:27
2200
- #: forms/wpdFormAttr/Field/TextField.php:33
2201
- #: forms/wpdFormAttr/Field/UrlField.php:33
2202
- msgid "Display on reply form"
2203
- msgstr ""
2204
-
2205
- #: forms/wpdFormAttr/Field/CheckboxField.php:41
2206
- #: forms/wpdFormAttr/Field/ColorField.php:37
2207
- #: forms/wpdFormAttr/Field/DateField.php:37
2208
- #: forms/wpdFormAttr/Field/NumberField.php:47
2209
- #: forms/wpdFormAttr/Field/RadioField.php:41
2210
- #: forms/wpdFormAttr/Field/RatingField.php:32
2211
- #: forms/wpdFormAttr/Field/SelectField.php:41
2212
- #: forms/wpdFormAttr/Field/TextAreaField.php:31
2213
- #: forms/wpdFormAttr/Field/TextField.php:37
2214
- #: forms/wpdFormAttr/Field/UrlField.php:37
2215
- msgid "Display on comment"
2216
- msgstr ""
2217
-
2218
- #: forms/wpdFormAttr/Field/CheckboxField.php:45
2219
- #: forms/wpdFormAttr/Field/ColorField.php:41
2220
- #: forms/wpdFormAttr/Field/DateField.php:41
2221
- #: forms/wpdFormAttr/Field/NumberField.php:51
2222
- #: forms/wpdFormAttr/Field/RadioField.php:45
2223
- #: forms/wpdFormAttr/Field/RatingField.php:36
2224
- #: forms/wpdFormAttr/Field/SelectField.php:45
2225
- #: forms/wpdFormAttr/Field/TextAreaField.php:35
2226
- #: forms/wpdFormAttr/Field/TextField.php:41
2227
- #: forms/wpdFormAttr/Field/UrlField.php:41
2228
- msgid "Advanced Options"
2229
- msgstr ""
2230
-
2231
- #: forms/wpdFormAttr/Field/CheckboxField.php:48
2232
- #: forms/wpdFormAttr/Field/ColorField.php:44
2233
- #: forms/wpdFormAttr/Field/DateField.php:44
2234
- #: forms/wpdFormAttr/Field/NumberField.php:54
2235
- #: forms/wpdFormAttr/Field/RadioField.php:48
2236
- #: forms/wpdFormAttr/Field/RatingField.php:39
2237
- #: forms/wpdFormAttr/Field/SelectField.php:48
2238
- #: forms/wpdFormAttr/Field/TextAreaField.php:38
2239
- #: forms/wpdFormAttr/Field/TextField.php:44
2240
- #: forms/wpdFormAttr/Field/UrlField.php:44
2241
- msgid "Meta Key"
2242
- msgstr ""
2243
-
2244
- #: forms/wpdFormAttr/Field/CheckboxField.php:52
2245
- #: forms/wpdFormAttr/Field/ColorField.php:48
2246
- #: forms/wpdFormAttr/Field/DateField.php:48
2247
- #: forms/wpdFormAttr/Field/NumberField.php:58
2248
- #: forms/wpdFormAttr/Field/RadioField.php:52
2249
- #: forms/wpdFormAttr/Field/RatingField.php:43
2250
- #: forms/wpdFormAttr/Field/SelectField.php:52
2251
- #: forms/wpdFormAttr/Field/TextAreaField.php:42
2252
- #: forms/wpdFormAttr/Field/TextField.php:48
2253
- #: forms/wpdFormAttr/Field/UrlField.php:48
2254
- msgid "Replace old meta key"
2255
- msgstr ""
2256
-
2257
- #: forms/wpdFormAttr/Field/CheckboxField.php:153
2258
- #: forms/wpdFormAttr/Field/ColorField.php:115
2259
- #: forms/wpdFormAttr/Field/DateField.php:115
2260
- #: forms/wpdFormAttr/Field/NumberField.php:125
2261
- #: forms/wpdFormAttr/Field/RadioField.php:130
2262
- #: forms/wpdFormAttr/Field/RatingField.php:125
2263
- #: forms/wpdFormAttr/Field/SelectField.php:125
2264
- #: forms/wpdFormAttr/Field/TextAreaField.php:98
2265
- #: forms/wpdFormAttr/Field/TextField.php:109
2266
- #: forms/wpdFormAttr/Field/UrlField.php:110
2267
- msgid "field is required!"
2268
- msgstr ""
2269
-
2270
- #: forms/wpdFormAttr/Field/ColorField.php:23
2271
- #: forms/wpdFormAttr/Field/DateField.php:23
2272
- #: forms/wpdFormAttr/Field/NumberField.php:33
2273
- #: forms/wpdFormAttr/Field/RatingField.php:22
2274
- #: forms/wpdFormAttr/Field/TextField.php:23
2275
- #: forms/wpdFormAttr/Field/UrlField.php:23
2276
- #: forms/wpdFormAttr/Field/DefaultField/Email.php:30
2277
- #: forms/wpdFormAttr/Field/DefaultField/Name.php:29
2278
- #: forms/wpdFormAttr/Field/DefaultField/Website.php:29
2279
- msgid "Field icon"
2280
- msgstr ""
2281
-
2282
- #: forms/wpdFormAttr/Field/ColorField.php:26
2283
- #: forms/wpdFormAttr/Field/DateField.php:26
2284
- #: forms/wpdFormAttr/Field/NumberField.php:36
2285
- #: forms/wpdFormAttr/Field/RatingField.php:25
2286
- #: forms/wpdFormAttr/Field/TextField.php:26
2287
- #: forms/wpdFormAttr/Field/UrlField.php:26
2288
- #: forms/wpdFormAttr/Field/DefaultField/Email.php:33
2289
- #: forms/wpdFormAttr/Field/DefaultField/Name.php:32
2290
- #: forms/wpdFormAttr/Field/DefaultField/Website.php:32
2291
- msgid "Font-awesome icon library."
2292
- msgstr ""
2293
-
2294
- #: forms/wpdFormAttr/Field/Field.php:52
2295
- msgid " (Submit Button)"
2296
- msgstr ""
2297
-
2298
- #: forms/wpdFormAttr/Field/Field.php:54
2299
- msgid " (CAPTCHA)"
2300
- msgstr ""
2301
-
2302
- #: forms/wpdFormAttr/Field/Field.php:87
2303
- msgid "Add To Form"
2304
- msgstr ""
2305
-
2306
- #: forms/wpdFormAttr/Field/NumberField.php:22
2307
- msgid "Min Value"
2308
- msgstr ""
2309
-
2310
- #: forms/wpdFormAttr/Field/NumberField.php:27
2311
- msgid "Max Value"
2312
- msgstr ""
2313
-
2314
- #: forms/wpdFormAttr/Field/NumberField.php:129
2315
- msgid "value can not be less than"
2316
- msgstr ""
2317
-
2318
- #: forms/wpdFormAttr/Field/NumberField.php:132
2319
- msgid "value can not be more than"
2320
- msgstr ""
2321
-
2322
- #: forms/wpdFormAttr/Field/RadioField.php:30
2323
- #: forms/wpdFormAttr/Field/SelectField.php:30
2324
- msgid "New value new line"
2325
- msgstr ""
2326
-
2327
- #: forms/wpdFormAttr/html/admin-form-fields-list.php:7
2328
- msgid "Comment Form Fields"
2329
- msgstr ""
2330
-
2331
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:35
2332
- msgid "Show for guests"
2333
- msgstr ""
2334
-
2335
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:39
2336
- msgid "Show for logged in users"
2337
- msgstr ""
2338
-
2339
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:114
2340
- msgid "Cannot create image file"
2341
- msgstr ""
2342
-
2343
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:115
2344
- msgid "Permission denied for file creation"
2345
- msgstr ""
2346
-
2347
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:116
2348
- msgid "PHP GD2 library is disabled"
2349
- msgstr ""
2350
-
2351
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:117
2352
- msgid "PNG image creation disabled"
2353
- msgstr ""
2354
-
2355
- #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:124
2356
- msgid "Insert the CAPTCHA code"
2357
- msgstr ""
2358
-
2359
- #: forms/wpdFormAttr/Field/DefaultField/Submit.php:20
2360
- msgid "Button Text"
2361
- msgstr ""
2362
-
2363
- #: forms/wpdFormAttr/Field/DefaultField/Website.php:35
2364
- msgid "Enable"
2365
- msgstr ""
2366
-
2367
- #. Name of the plugin
2368
- msgid "wpDiscuz"
2369
- msgstr ""
2370
-
2371
- #. Description of the plugin
2372
- msgid ""
2373
- "Better comment system. Wordpress post comments and discussion plugin. Allows "
2374
- "your visitors discuss, vote for comments and share."
2375
- msgstr ""
2376
-
2377
- #. URI of the plugin
2378
- msgid "http://wpdiscuz.com/"
2379
- msgstr ""
2380
-
2381
- #. Author of the plugin
2382
- msgid "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
2383
- msgstr ""
2384
-
2385
- #. Author URI of the plugin
2386
- msgid "https://gvectors.com/"
2387
- msgstr ""
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: PACKAGE VERSION\n"
5
+ "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2017-12-14 14:25+0000\n"
7
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
+ "Language-Team: \n"
10
+ "Language: \n"
11
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Loco https://localise.biz/"
16
+
17
+ #: class.WpdiscuzCore.php:218
18
+ msgid "Every 3 hours"
19
+ msgstr ""
20
+
21
+ #: class.WpdiscuzCore.php:222
22
+ msgid "Every 48 hours"
23
+ msgstr ""
24
+
25
+ #: class.WpdiscuzCore.php:899 class.WpdiscuzCore.php:899
26
+ #: class.WpdiscuzCore.php:1104
27
+ msgid "Settings"
28
+ msgstr ""
29
+
30
+ #: class.WpdiscuzCore.php:901 class.WpdiscuzCore.php:901
31
+ #: class.WpdiscuzCore.php:1106
32
+ msgid "Phrases"
33
+ msgstr ""
34
+
35
+ #: class.WpdiscuzCore.php:903 class.WpdiscuzCore.php:903
36
+ msgid "Tools"
37
+ msgstr ""
38
+
39
+ #: class.WpdiscuzCore.php:904 class.WpdiscuzCore.php:904
40
+ #: options/html-options.php:22 options/html-options.php:63
41
+ #: options/options-layouts/settings-addons.php:7
42
+ msgid "Addons"
43
+ msgstr ""
44
+
45
+ #: class.WpdiscuzCore.php:916
46
+ msgid "Do you really want to reset all options?"
47
+ msgstr ""
48
+
49
+ #: class.WpdiscuzCore.php:917
50
+ msgid "Do you really want to remove voting data?"
51
+ msgstr ""
52
+
53
+ #: class.WpdiscuzCore.php:918
54
+ msgid "Do you really want to delete gravatars cache?"
55
+ msgstr ""
56
+
57
+ #: class.WpdiscuzCore.php:1161 options/phrases-layouts/phrases-comment.php:56
58
+ msgid "Admin"
59
+ msgstr ""
60
+
61
+ #: class.WpdiscuzCore.php:1163 class.WpdiscuzCore.php:1172
62
+ #: options/phrases-layouts/phrases-comment.php:58
63
+ msgid "Author"
64
+ msgstr ""
65
+
66
+ #: class.WpdiscuzCore.php:1167 options/phrases-layouts/phrases-comment.php:64
67
+ msgid "Member"
68
+ msgstr ""
69
+
70
+ #: class.WpdiscuzCore.php:1173 options/phrases-layouts/phrases-comment.php:62
71
+ msgid "Guest"
72
+ msgstr ""
73
+
74
+ #: forms/wpDiscuzForm.php:101 forms/wpDiscuzForm.php:149
75
+ msgid "Forms"
76
+ msgstr ""
77
+
78
+ #: forms/wpDiscuzForm.php:102 options/html-phrases.php:22
79
+ msgid "Form"
80
+ msgstr ""
81
+
82
+ #: forms/wpDiscuzForm.php:103
83
+ msgid "Add New"
84
+ msgstr ""
85
+
86
+ #: forms/wpDiscuzForm.php:104
87
+ msgid "Add New Form"
88
+ msgstr ""
89
+
90
+ #: forms/wpDiscuzForm.php:105
91
+ msgid "Edit Form"
92
+ msgstr ""
93
+
94
+ #: forms/wpDiscuzForm.php:106
95
+ msgid "You did not create any forms yet"
96
+ msgstr ""
97
+
98
+ #: forms/wpDiscuzForm.php:107
99
+ msgid "Nothing found in Trash"
100
+ msgstr ""
101
+
102
+ #: forms/wpDiscuzForm.php:108
103
+ msgid "Search Forms"
104
+ msgstr ""
105
+
106
+ #: forms/wpDiscuzForm.php:164
107
+ msgid "Post Types"
108
+ msgstr ""
109
+
110
+ #: forms/wpDiscuzForm.php:165
111
+ msgid "Post IDs"
112
+ msgstr ""
113
+
114
+ #: forms/wpDiscuzForm.php:166 forms/wpdFormAttr/Form.php:597
115
+ msgid "Language"
116
+ msgstr ""
117
+
118
+ #: forms/wpDiscuzForm.php:212
119
+ msgid "Field Types"
120
+ msgstr ""
121
+
122
+ #: forms/wpDiscuzForm.php:213 forms/wpdFormAttr/Row.php:23
123
+ msgid "Two column"
124
+ msgstr ""
125
+
126
+ #: forms/wpDiscuzForm.php:214 forms/wpdFormAttr/Row.php:24
127
+ #: forms/wpdFormAttr/Field/Field.php:64
128
+ msgid "Delete"
129
+ msgstr ""
130
+
131
+ #: forms/wpDiscuzForm.php:215 forms/wpdFormAttr/Row.php:25
132
+ msgid "Move"
133
+ msgstr ""
134
+
135
+ #: forms/wpDiscuzForm.php:216 forms/wpdFormAttr/Row.php:69
136
+ msgid "Add Field"
137
+ msgstr ""
138
+
139
+ #: forms/wpDiscuzForm.php:217 options/class.WpdiscuzOptionsSerialized.php:680
140
+ #: options/phrases-layouts/phrases-comment.php:19
141
+ #: forms/wpdFormAttr/Field/Field.php:61
142
+ msgid "Edit"
143
+ msgstr ""
144
+
145
+ #: forms/wpDiscuzForm.php:218
146
+ msgid "You can not delete default field."
147
+ msgstr ""
148
+
149
+ #: forms/wpDiscuzForm.php:219
150
+ msgid "You really want to delete this item ?"
151
+ msgstr ""
152
+
153
+ #: forms/wpDiscuzForm.php:226
154
+ msgid "Permission Denied !!!"
155
+ msgstr ""
156
+
157
+ #: forms/wpDiscuzForm.php:251 forms/wpdFormAttr/Form.php:567
158
+ #: options/options-layouts/settings-customfields.php:7
159
+ #: forms/wpdFormAttr/html/admin-form-fields-list.php:18
160
+ msgid "Custom Fields"
161
+ msgstr ""
162
+
163
+ #: forms/wpDiscuzForm.php:299
164
+ msgid "Custom CSS"
165
+ msgstr ""
166
+
167
+ #: forms/wpDiscuzForm.php:355
168
+ msgid "Default Form"
169
+ msgstr ""
170
+
171
+ #: forms/wpDiscuzForm.php:387 forms/wpDiscuzForm.php:395
172
+ #: forms/wpdFormAttr/Form.php:653 forms/wpdFormAttr/Form.php:653
173
+ msgid "Leave a Reply"
174
+ msgstr ""
175
+
176
+ #: forms/wpDiscuzForm.php:410 forms/wpdFormAttr/Form.php:762
177
+ #: forms/wpdFormAttr/Field/CheckboxField.php:12
178
+ #: forms/wpdFormAttr/Field/ColorField.php:12
179
+ #: forms/wpdFormAttr/Field/DateField.php:12
180
+ #: forms/wpdFormAttr/Field/NumberField.php:12
181
+ #: forms/wpdFormAttr/Field/RadioField.php:12
182
+ #: forms/wpdFormAttr/Field/RatingField.php:12
183
+ #: forms/wpdFormAttr/Field/SelectField.php:12
184
+ #: forms/wpdFormAttr/Field/TextAreaField.php:13
185
+ #: forms/wpdFormAttr/Field/TextField.php:12
186
+ #: forms/wpdFormAttr/Field/UrlField.php:12
187
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:25
188
+ #: forms/wpdFormAttr/Field/DefaultField/Email.php:19
189
+ #: forms/wpdFormAttr/Field/DefaultField/Name.php:18
190
+ #: forms/wpdFormAttr/Field/DefaultField/Name.php:64
191
+ #: forms/wpdFormAttr/Field/DefaultField/Submit.php:18
192
+ #: forms/wpdFormAttr/Field/DefaultField/Website.php:18
193
+ msgid "Name"
194
+ msgstr ""
195
+
196
+ #: forms/wpDiscuzForm.php:412 options/class.WpdiscuzOptionsSerialized.php:667
197
+ #: options/html-phrases.php:25 forms/wpdFormAttr/Form.php:769
198
+ #: forms/wpdFormAttr/Field/DefaultField/Email.php:64
199
+ msgid "Email"
200
+ msgstr ""
201
+
202
+ #: forms/wpDiscuzForm.php:414
203
+ msgid "WebSite URL"
204
+ msgstr ""
205
+
206
+ #: forms/wpDiscuzForm.php:417 forms/wpdFormAttr/Form.php:792
207
+ #: forms/wpdFormAttr/Field/DefaultField/Submit.php:77
208
+ msgid "Post Comment"
209
+ msgstr ""
210
+
211
+ #: forms/wpDiscuzForm.php:438
212
+ msgid "Clone"
213
+ msgstr ""
214
+
215
+ #: forms/wpDiscuzForm.php:476
216
+ msgid ""
217
+ "Comment Form is not detected, please navigate to form manager page to create "
218
+ "it. "
219
+ msgstr ""
220
+
221
+ #: forms/wpDiscuzForm.php:477
222
+ msgid "Add Comment Form"
223
+ msgstr ""
224
+
225
+ #: options/class.WpdiscuzOptions.php:24 options/class.WpdiscuzOptions.php:107
226
+ #: options/class.WpdiscuzOptions.php:226
227
+ msgid "Hacker?"
228
+ msgstr ""
229
+
230
+ #: options/class.WpdiscuzOptions.php:98
231
+ msgid "Settings updated"
232
+ msgstr ""
233
+
234
+ #: options/class.WpdiscuzOptions.php:215
235
+ msgid "Phrases updated"
236
+ msgstr ""
237
+
238
+ #: options/class.WpdiscuzOptions.php:261
239
+ msgid ""
240
+ "Brings an ocean of emotions to your comments. It comes with an awesome smile "
241
+ "package."
242
+ msgstr ""
243
+
244
+ #: options/class.WpdiscuzOptions.php:262
245
+ msgid ""
246
+ "Extended information about comment author with Profile, Activity, Votes and "
247
+ "Subscriptions Tabs on pop-up window."
248
+ msgstr ""
249
+
250
+ #: options/class.WpdiscuzOptions.php:263
251
+ msgid ""
252
+ "Real-time online user checking, pop-up notification of new online users and "
253
+ "online/offline badges."
254
+ msgstr ""
255
+
256
+ #: options/class.WpdiscuzOptions.php:264
257
+ msgid ""
258
+ "Total control over comment subscriptions. Full list, monitor, manage, filter,"
259
+ " unsubscribe, confirm..."
260
+ msgstr ""
261
+
262
+ #: options/class.WpdiscuzOptions.php:265
263
+ msgid ""
264
+ "A full-fledged tool-kit for advertising in comment section of your website. "
265
+ "Separate banner and ad managment."
266
+ msgstr ""
267
+
268
+ #: options/class.WpdiscuzOptions.php:266
269
+ msgid ""
270
+ "Allows to mention comments and users in comment text using #comment-id and "
271
+ "@username tags."
272
+ msgstr ""
273
+
274
+ #: options/class.WpdiscuzOptions.php:267
275
+ msgid ""
276
+ "See comment likers and voters of each comment. Adds user reputation and "
277
+ "badges based on received likes."
278
+ msgstr ""
279
+
280
+ #: options/class.WpdiscuzOptions.php:268
281
+ msgid ""
282
+ "Comment reporting tools. Auto-moderates comments based on number of flags "
283
+ "and dislikes."
284
+ msgstr ""
285
+
286
+ #: options/class.WpdiscuzOptions.php:269
287
+ msgid ""
288
+ "Adds a smart and intuitive AJAX \"Translate\" button with 60 language "
289
+ "options. Uses free translation API."
290
+ msgstr ""
291
+
292
+ #: options/class.WpdiscuzOptions.php:270
293
+ msgid ""
294
+ "AJAX powered front-end comment search. It starts searching while you type "
295
+ "search words. "
296
+ msgstr ""
297
+
298
+ #: options/class.WpdiscuzOptions.php:271
299
+ msgid ""
300
+ "Most voted comments, Active comment threads, Most commented posts, Active "
301
+ "comment authors"
302
+ msgstr ""
303
+
304
+ #: options/class.WpdiscuzOptions.php:272
305
+ msgid ""
306
+ "All in one powerful yet simple admin toolkit to moderate comments on front-"
307
+ "end."
308
+ msgstr ""
309
+
310
+ #: options/class.WpdiscuzOptions.php:273
311
+ msgid ""
312
+ "Extended comment attachment system. Allows to upload images, videos, audios "
313
+ "and other file types."
314
+ msgstr ""
315
+
316
+ #: options/class.WpdiscuzOptions.php:274
317
+ msgid ""
318
+ "Adds No CAPTCHA on all comment forms. Stops spam and bot comments with "
319
+ "Google reCAPTCHA"
320
+ msgstr ""
321
+
322
+ #: options/class.WpdiscuzOptions.php:275
323
+ msgid ""
324
+ "Integrates myCRED Badges and Ranks. Converts wpDiscuz comment votes/likes to "
325
+ "myCRED points. "
326
+ msgstr ""
327
+
328
+ #: options/class.WpdiscuzOptions.php:276
329
+ msgid ""
330
+ "Allows censoring comment words. Filters comments and replaces those phrases "
331
+ "with custom words."
332
+ msgstr ""
333
+
334
+ #: options/class.WpdiscuzOptions.php:282
335
+ msgid "Custom Comment Forms"
336
+ msgstr ""
337
+
338
+ #: options/class.WpdiscuzOptions.php:283
339
+ msgid ""
340
+ "You can create custom comment forms with wpDiscuz. wpDiscuz 4 comes with "
341
+ "custom comment forms and fields. You can create custom comment forms for "
342
+ "each post type, each form can beceated with different form fields, for "
343
+ "eaxample: text, dropdown, rating, checkboxes, etc..."
344
+ msgstr ""
345
+
346
+ #: options/class.WpdiscuzOptions.php:286
347
+ msgid "Emoticons"
348
+ msgstr ""
349
+
350
+ #: options/class.WpdiscuzOptions.php:287
351
+ msgid ""
352
+ "You can add more emotions to your comments using wpDiscuz Emoticons addon."
353
+ msgstr ""
354
+
355
+ #: options/class.WpdiscuzOptions.php:290
356
+ msgid "Ads Manager"
357
+ msgstr ""
358
+
359
+ #: options/class.WpdiscuzOptions.php:291
360
+ msgid ""
361
+ "Increase your income using ad banners. Comment area is the most active "
362
+ "sections for advertising. wpDiscuz Ads Manager addon is designed to help you "
363
+ "add banners and control ads in this section."
364
+ msgstr ""
365
+
366
+ #: options/class.WpdiscuzOptions.php:294
367
+ msgid "User and Comment Mentioning"
368
+ msgstr ""
369
+
370
+ #: options/class.WpdiscuzOptions.php:295
371
+ msgid ""
372
+ "Using wpDiscuz User &amp; Comment Mentioning addon you can allow commenters "
373
+ "mention comments and users in comment text using #comment-id and @username "
374
+ "tags."
375
+ msgstr ""
376
+
377
+ #: options/class.WpdiscuzOptions.php:298
378
+ msgid "Advanced Likers"
379
+ msgstr ""
380
+
381
+ #: options/class.WpdiscuzOptions.php:299
382
+ msgid ""
383
+ "wpDiscuz Advanced Likers addon displays likers and voters of each comment. "
384
+ "Adds user reputation and badges based on received likes."
385
+ msgstr ""
386
+
387
+ #: options/class.WpdiscuzOptions.php:302
388
+ msgid "Report and Flagging"
389
+ msgstr ""
390
+
391
+ #: options/class.WpdiscuzOptions.php:303
392
+ msgid ""
393
+ "Let your commenters help you to determine and remove spam comments. wpDiscuz "
394
+ "Report and Flagging addon comes with comment reporting tools. Automaticaly "
395
+ "auto-moderates comments based on number of flags and dislikes."
396
+ msgstr ""
397
+
398
+ #: options/class.WpdiscuzOptions.php:306
399
+ msgid "Comment Translate"
400
+ msgstr ""
401
+
402
+ #: options/class.WpdiscuzOptions.php:307
403
+ msgid ""
404
+ "In most cases the big part of your visitors are not a native speakers of "
405
+ "your language. Make your comments comprehensible for all visitors using "
406
+ "wpDiscuz Comment Translation addon. It adds smart and intuitive AJAX "
407
+ "\"Translate\" button with 60 language translation options. Uses free "
408
+ "translation API."
409
+ msgstr ""
410
+
411
+ #: options/class.WpdiscuzOptions.php:310
412
+ msgid "Comment Search"
413
+ msgstr ""
414
+
415
+ #: options/class.WpdiscuzOptions.php:311
416
+ msgid ""
417
+ "You can let website visitor search in comments. It's always more attractive "
418
+ "to find a comment about something that interest you. Using wpDiscuz Comment "
419
+ "Search addon you'll get a nice, AJAX powered front-end comment search form "
420
+ "above comment list."
421
+ msgstr ""
422
+
423
+ #: options/class.WpdiscuzOptions.php:314
424
+ msgid "wpDiscuz Widgets"
425
+ msgstr ""
426
+
427
+ #: options/class.WpdiscuzOptions.php:315
428
+ msgid ""
429
+ "More Comment Widgets! Most voted comments, Active comment threads, Most "
430
+ "commented posts, Active comment authors widgets are available in wpDiscuz "
431
+ "Widgets Addon"
432
+ msgstr ""
433
+
434
+ #: options/class.WpdiscuzOptions.php:318
435
+ msgid "Front-end Moderation"
436
+ msgstr ""
437
+
438
+ #: options/class.WpdiscuzOptions.php:319
439
+ msgid ""
440
+ "You can moderate comments on front-end using all in one powerful yet simple "
441
+ "wpDiscuz Frontend Moderation addon."
442
+ msgstr ""
443
+
444
+ #: options/class.WpdiscuzOptions.php:322
445
+ msgid "Media Uploader"
446
+ msgstr ""
447
+
448
+ #: options/class.WpdiscuzOptions.php:323
449
+ msgid ""
450
+ "You can let website visitors attach images and files to comments and embed "
451
+ "video/audio content using wpDiscuz Media Uploader addon."
452
+ msgstr ""
453
+
454
+ #: options/class.WpdiscuzOptions.php:326
455
+ msgid "Google ReCaptcha"
456
+ msgstr ""
457
+
458
+ #: options/class.WpdiscuzOptions.php:327
459
+ msgid ""
460
+ "Advanced spam protection with wpDiscuz Google reCAPTCHA addon. This addon "
461
+ "adds No-CAPTCHA reCAPTCHA on all comment forms. Stops spam and bot comments."
462
+ msgstr ""
463
+
464
+ #: options/class.WpdiscuzOptions.php:386
465
+ msgid "Do you know?"
466
+ msgstr ""
467
+
468
+ #: options/class.WpdiscuzOptions.php:399
469
+ msgid "More info"
470
+ msgstr ""
471
+
472
+ #: options/class.WpdiscuzOptionsSerialized.php:661
473
+ msgid "Be the First to Comment!"
474
+ msgstr ""
475
+
476
+ #: options/class.WpdiscuzOptionsSerialized.php:662 options/html-phrases.php:23
477
+ #: options/phrases-layouts/phrases-general.php:15
478
+ msgid "Comment"
479
+ msgstr ""
480
+
481
+ #: options/class.WpdiscuzOptionsSerialized.php:663
482
+ msgid "Comments"
483
+ msgstr ""
484
+
485
+ #: options/class.WpdiscuzOptionsSerialized.php:664
486
+ msgid "on"
487
+ msgstr ""
488
+
489
+ #: options/class.WpdiscuzOptionsSerialized.php:665
490
+ msgid "Start the discussion"
491
+ msgstr ""
492
+
493
+ #: options/class.WpdiscuzOptionsSerialized.php:666
494
+ msgid "Join the discussion"
495
+ msgstr ""
496
+
497
+ #: options/class.WpdiscuzOptionsSerialized.php:668
498
+ #: options/phrases-layouts/phrases-form.php:23
499
+ #: options/phrases-layouts/phrases-form.php:24
500
+ msgid "Notify of"
501
+ msgstr ""
502
+
503
+ #: options/class.WpdiscuzOptionsSerialized.php:669
504
+ #: options/phrases-layouts/phrases-form.php:28
505
+ msgid "new follow-up comments"
506
+ msgstr ""
507
+
508
+ #: options/class.WpdiscuzOptionsSerialized.php:670
509
+ msgid "new replies to my comments"
510
+ msgstr ""
511
+
512
+ #: options/class.WpdiscuzOptionsSerialized.php:671
513
+ #: options/phrases-layouts/phrases-form.php:36
514
+ msgid "Notify of new replies to this comment"
515
+ msgstr ""
516
+
517
+ #: options/class.WpdiscuzOptionsSerialized.php:672
518
+ #: options/phrases-layouts/phrases-form.php:39
519
+ #: options/phrases-layouts/phrases-form.php:40
520
+ msgid "Sort by"
521
+ msgstr ""
522
+
523
+ #: options/class.WpdiscuzOptionsSerialized.php:673
524
+ #: options/phrases-layouts/phrases-form.php:43
525
+ #: options/phrases-layouts/phrases-form.php:44
526
+ msgid "newest"
527
+ msgstr ""
528
+
529
+ #: options/class.WpdiscuzOptionsSerialized.php:674
530
+ #: options/phrases-layouts/phrases-form.php:47
531
+ #: options/phrases-layouts/phrases-form.php:48
532
+ msgid "oldest"
533
+ msgstr ""
534
+
535
+ #: options/class.WpdiscuzOptionsSerialized.php:675
536
+ #: options/phrases-layouts/phrases-form.php:51
537
+ #: options/phrases-layouts/phrases-form.php:52
538
+ msgid "most voted"
539
+ msgstr ""
540
+
541
+ #: options/class.WpdiscuzOptionsSerialized.php:676
542
+ msgid "Load More Comments"
543
+ msgstr ""
544
+
545
+ #: options/class.WpdiscuzOptionsSerialized.php:677
546
+ #: options/phrases-layouts/phrases-general.php:31
547
+ msgid "Load Rest of Comments"
548
+ msgstr ""
549
+
550
+ #: options/class.WpdiscuzOptionsSerialized.php:678
551
+ #: options/phrases-layouts/phrases-comment.php:11
552
+ msgid "Reply"
553
+ msgstr ""
554
+
555
+ #: options/class.WpdiscuzOptionsSerialized.php:679
556
+ #: options/phrases-layouts/phrases-comment.php:15
557
+ msgid "Share"
558
+ msgstr ""
559
+
560
+ #: options/class.WpdiscuzOptionsSerialized.php:681
561
+ #: options/phrases-layouts/phrases-comment.php:23
562
+ msgid "Share On Facebook"
563
+ msgstr ""
564
+
565
+ #: options/class.WpdiscuzOptionsSerialized.php:682
566
+ #: options/phrases-layouts/phrases-comment.php:27
567
+ msgid "Share On Twitter"
568
+ msgstr ""
569
+
570
+ #: options/class.WpdiscuzOptionsSerialized.php:683
571
+ #: options/phrases-layouts/phrases-comment.php:31
572
+ msgid "Share On Google"
573
+ msgstr ""
574
+
575
+ #: options/class.WpdiscuzOptionsSerialized.php:684
576
+ #: options/phrases-layouts/phrases-comment.php:35
577
+ msgid "Share On VKontakte"
578
+ msgstr ""
579
+
580
+ #: options/class.WpdiscuzOptionsSerialized.php:685
581
+ #: options/phrases-layouts/phrases-comment.php:39
582
+ msgid "Share On Odnoklassniki"
583
+ msgstr ""
584
+
585
+ #: options/class.WpdiscuzOptionsSerialized.php:686
586
+ #: options/phrases-layouts/phrases-comment.php:43
587
+ msgid "Hide Replies"
588
+ msgstr ""
589
+
590
+ #: options/class.WpdiscuzOptionsSerialized.php:687
591
+ #: options/phrases-layouts/phrases-comment.php:47
592
+ msgid "Show Replies"
593
+ msgstr ""
594
+
595
+ #: options/class.WpdiscuzOptionsSerialized.php:688
596
+ msgid "New Comment"
597
+ msgstr ""
598
+
599
+ #: options/class.WpdiscuzOptionsSerialized.php:689
600
+ msgid "New comment on the discussion section you've been interested in"
601
+ msgstr ""
602
+
603
+ #: options/class.WpdiscuzOptionsSerialized.php:690
604
+ #: utils/class.WpdiscuzEmailHelper.php:162
605
+ #: options/phrases-layouts/phrases-email.php:20
606
+ msgid "New Reply"
607
+ msgstr ""
608
+
609
+ #: options/class.WpdiscuzOptionsSerialized.php:691
610
+ #: utils/class.WpdiscuzEmailHelper.php:163
611
+ msgid "New reply on the discussion section you've been interested in"
612
+ msgstr ""
613
+
614
+ #: options/class.WpdiscuzOptionsSerialized.php:692
615
+ msgid "You're subscribed for new replies on this comment"
616
+ msgstr ""
617
+
618
+ #: options/class.WpdiscuzOptionsSerialized.php:693
619
+ msgid "You're subscribed for new replies on all your comments"
620
+ msgstr ""
621
+
622
+ #: options/class.WpdiscuzOptionsSerialized.php:694
623
+ msgid "You're subscribed for new follow-up comments on this post"
624
+ msgstr ""
625
+
626
+ #: options/class.WpdiscuzOptionsSerialized.php:695
627
+ #: options/phrases-layouts/phrases-email.php:27
628
+ msgid "Unsubscribe"
629
+ msgstr ""
630
+
631
+ #: options/class.WpdiscuzOptionsSerialized.php:696
632
+ #: options/phrases-layouts/phrases-email.php:32
633
+ msgid "Cancel subscription"
634
+ msgstr ""
635
+
636
+ #: options/class.WpdiscuzOptionsSerialized.php:697
637
+ #: options/phrases-layouts/phrases-notification.php:19
638
+ msgid "You've successfully unsubscribed."
639
+ msgstr ""
640
+
641
+ #: options/class.WpdiscuzOptionsSerialized.php:698
642
+ #: options/phrases-layouts/phrases-notification.php:15
643
+ msgid "You've successfully subscribed."
644
+ msgstr ""
645
+
646
+ #: options/class.WpdiscuzOptionsSerialized.php:699
647
+ #: options/phrases-layouts/phrases-email.php:35
648
+ #: options/phrases-layouts/phrases-email.php:36
649
+ msgid "Confirm your subscription"
650
+ msgstr ""
651
+
652
+ #: options/class.WpdiscuzOptionsSerialized.php:700
653
+ #: options/phrases-layouts/phrases-email.php:39
654
+ #: options/phrases-layouts/phrases-email.php:40
655
+ msgid "You've successfully confirmed your subscription."
656
+ msgstr ""
657
+
658
+ #: options/class.WpdiscuzOptionsSerialized.php:701
659
+ #: utils/class.WpdiscuzEmailHelper.php:55
660
+ #: options/phrases-layouts/phrases-email.php:44
661
+ msgid "Subscribe Confirmation"
662
+ msgstr ""
663
+
664
+ #: options/class.WpdiscuzOptionsSerialized.php:702
665
+ #: utils/class.WpdiscuzEmailHelper.php:56
666
+ #: options/phrases-layouts/phrases-email.php:48
667
+ msgid ""
668
+ "Hi, <br/> You just subscribed for new comments on our website. This means "
669
+ "you will receive an email when new comments are posted according to "
670
+ "subscription option you've chosen. <br/> To activate, click confirm below. "
671
+ "If you believe this is an error, ignore this message and we'll never bother "
672
+ "you again."
673
+ msgstr ""
674
+
675
+ #: options/class.WpdiscuzOptionsSerialized.php:703
676
+ msgid "please fill out this field to comment"
677
+ msgstr ""
678
+
679
+ #: options/class.WpdiscuzOptionsSerialized.php:704
680
+ msgid "email address is invalid"
681
+ msgstr ""
682
+
683
+ #: options/class.WpdiscuzOptionsSerialized.php:705
684
+ msgid "url is invalid"
685
+ msgstr ""
686
+
687
+ #: options/class.WpdiscuzOptionsSerialized.php:706
688
+ msgid "year"
689
+ msgstr ""
690
+
691
+ #: options/class.WpdiscuzOptionsSerialized.php:707
692
+ msgid "years"
693
+ msgstr ""
694
+
695
+ #: options/class.WpdiscuzOptionsSerialized.php:708
696
+ msgid "month"
697
+ msgstr ""
698
+
699
+ #: options/class.WpdiscuzOptionsSerialized.php:709
700
+ msgid "months"
701
+ msgstr ""
702
+
703
+ #: options/class.WpdiscuzOptionsSerialized.php:710
704
+ msgid "day"
705
+ msgstr ""
706
+
707
+ #: options/class.WpdiscuzOptionsSerialized.php:711
708
+ msgid "days"
709
+ msgstr ""
710
+
711
+ #: options/class.WpdiscuzOptionsSerialized.php:712
712
+ msgid "hour"
713
+ msgstr ""
714
+
715
+ #: options/class.WpdiscuzOptionsSerialized.php:713
716
+ msgid "hours"
717
+ msgstr ""
718
+
719
+ #: options/class.WpdiscuzOptionsSerialized.php:714
720
+ msgid "minute"
721
+ msgstr ""
722
+
723
+ #: options/class.WpdiscuzOptionsSerialized.php:715
724
+ msgid "minutes"
725
+ msgstr ""
726
+
727
+ #: options/class.WpdiscuzOptionsSerialized.php:716
728
+ msgid "second"
729
+ msgstr ""
730
+
731
+ #: options/class.WpdiscuzOptionsSerialized.php:717
732
+ msgid "seconds"
733
+ msgstr ""
734
+
735
+ #: options/class.WpdiscuzOptionsSerialized.php:718
736
+ msgid "right now"
737
+ msgstr ""
738
+
739
+ #: options/class.WpdiscuzOptionsSerialized.php:719
740
+ msgid "ago"
741
+ msgstr ""
742
+
743
+ #: options/class.WpdiscuzOptionsSerialized.php:720
744
+ #: options/phrases-layouts/phrases-notification.php:41
745
+ msgid "You must be"
746
+ msgstr ""
747
+
748
+ #: options/class.WpdiscuzOptionsSerialized.php:721
749
+ msgid "You are logged in as"
750
+ msgstr ""
751
+
752
+ #: options/class.WpdiscuzOptionsSerialized.php:722
753
+ #: options/phrases-layouts/phrases-notification.php:49
754
+ msgid "Log out"
755
+ msgstr ""
756
+
757
+ #: options/class.WpdiscuzOptionsSerialized.php:723
758
+ msgid "logged in"
759
+ msgstr ""
760
+
761
+ #: options/class.WpdiscuzOptionsSerialized.php:724
762
+ msgid "to post a comment."
763
+ msgstr ""
764
+
765
+ #: options/class.WpdiscuzOptionsSerialized.php:725
766
+ #: options/phrases-layouts/phrases-comment.php:75
767
+ msgid "Vote Up"
768
+ msgstr ""
769
+
770
+ #: options/class.WpdiscuzOptionsSerialized.php:726
771
+ #: options/phrases-layouts/phrases-comment.php:79
772
+ msgid "Vote Down"
773
+ msgstr ""
774
+
775
+ #: options/class.WpdiscuzOptionsSerialized.php:727
776
+ #: options/phrases-layouts/phrases-notification.php:61
777
+ msgid "Vote Counted"
778
+ msgstr ""
779
+
780
+ #: options/class.WpdiscuzOptionsSerialized.php:728
781
+ msgid "You've already voted for this comment"
782
+ msgstr ""
783
+
784
+ #: options/class.WpdiscuzOptionsSerialized.php:729
785
+ #: options/phrases-layouts/phrases-notification.php:69
786
+ msgid "Voting Error"
787
+ msgstr ""
788
+
789
+ #: options/class.WpdiscuzOptionsSerialized.php:730
790
+ msgid "You Must Be Logged In To Vote"
791
+ msgstr ""
792
+
793
+ #: options/class.WpdiscuzOptionsSerialized.php:731
794
+ msgid "You cannot vote for your comment"
795
+ msgstr ""
796
+
797
+ #: options/class.WpdiscuzOptionsSerialized.php:732
798
+ msgid "You are not allowed to vote for this comment"
799
+ msgstr ""
800
+
801
+ #: options/class.WpdiscuzOptionsSerialized.php:733
802
+ #: options/phrases-layouts/phrases-notification.php:85
803
+ msgid "Invalid Captcha Code"
804
+ msgstr ""
805
+
806
+ #: options/class.WpdiscuzOptionsSerialized.php:734
807
+ #: options/phrases-layouts/phrases-notification.php:89
808
+ msgid "Some of field value is invalid"
809
+ msgstr ""
810
+
811
+ #: options/class.WpdiscuzOptionsSerialized.php:735
812
+ msgid "new comment"
813
+ msgstr ""
814
+
815
+ #: options/class.WpdiscuzOptionsSerialized.php:736
816
+ msgid "new comments"
817
+ msgstr ""
818
+
819
+ #: options/class.WpdiscuzOptionsSerialized.php:737
820
+ msgid "Comment awaiting moderation"
821
+ msgstr ""
822
+
823
+ #: options/class.WpdiscuzOptionsSerialized.php:738
824
+ msgid "new reply on your comment"
825
+ msgstr ""
826
+
827
+ #: options/class.WpdiscuzOptionsSerialized.php:739
828
+ msgid "new replies on your comments"
829
+ msgstr ""
830
+
831
+ #: options/class.WpdiscuzOptionsSerialized.php:740
832
+ msgid "New"
833
+ msgstr ""
834
+
835
+ #: options/class.WpdiscuzOptionsSerialized.php:741
836
+ msgid "Sorry, the comment was not updated"
837
+ msgstr ""
838
+
839
+ #: options/class.WpdiscuzOptionsSerialized.php:742
840
+ msgid "Sorry, this comment no longer possible to edit"
841
+ msgstr ""
842
+
843
+ #: options/class.WpdiscuzOptionsSerialized.php:743
844
+ msgid "You've not made any changes"
845
+ msgstr ""
846
+
847
+ #: options/class.WpdiscuzOptionsSerialized.php:744
848
+ msgid "Save"
849
+ msgstr ""
850
+
851
+ #: options/class.WpdiscuzOptionsSerialized.php:745
852
+ msgid "Cancel"
853
+ msgstr ""
854
+
855
+ #: options/class.WpdiscuzOptionsSerialized.php:746
856
+ msgid "Input is too short"
857
+ msgstr ""
858
+
859
+ #: options/class.WpdiscuzOptionsSerialized.php:747
860
+ msgid "Input is too long"
861
+ msgstr ""
862
+
863
+ #: options/class.WpdiscuzOptionsSerialized.php:748
864
+ msgid "Read more &raquo;"
865
+ msgstr ""
866
+
867
+ #: options/class.WpdiscuzOptionsSerialized.php:749
868
+ msgid "Anonymous"
869
+ msgstr ""
870
+
871
+ #: options/class.WpdiscuzOptionsSerialized.php:750
872
+ #: options/phrases-layouts/phrases-notification.php:118
873
+ msgid "Please fill out required fields"
874
+ msgstr ""
875
+
876
+ #: options/class.WpdiscuzOptionsSerialized.php:751
877
+ #: options/phrases-layouts/phrases-form.php:67
878
+ #: options/phrases-layouts/phrases-form.php:68
879
+ msgid "Connect with"
880
+ msgstr ""
881
+
882
+ #: options/class.WpdiscuzOptionsSerialized.php:752
883
+ #: options/phrases-layouts/phrases-notification.php:11
884
+ msgid "You're subscribed to"
885
+ msgstr ""
886
+
887
+ #: options/class.WpdiscuzOptionsSerialized.php:753
888
+ msgid "Participate in this discussion via email"
889
+ msgstr ""
890
+
891
+ #: options/class.WpdiscuzOptionsSerialized.php:754
892
+ #: options/phrases-layouts/phrases-form.php:72
893
+ msgid "&rsaquo;"
894
+ msgstr ""
895
+
896
+ #: options/class.WpdiscuzOptionsSerialized.php:755
897
+ #: options/phrases-layouts/phrases-email.php:52
898
+ msgid "Comment was approved"
899
+ msgstr ""
900
+
901
+ #: options/class.WpdiscuzOptionsSerialized.php:756
902
+ msgid "Hi, <br/> Your comment was approved."
903
+ msgstr ""
904
+
905
+ #: options/class.WpdiscuzOptionsSerialized.php:757
906
+ msgid "Comments are closed."
907
+ msgstr ""
908
+
909
+ #: options/html-addons.php:11
910
+ msgid "wpDiscuz Addons"
911
+ msgstr ""
912
+
913
+ #: options/html-addons.php:19
914
+ msgid "wpDiscuz Add-ons"
915
+ msgstr ""
916
+
917
+ #: options/html-addons.php:20
918
+ msgid "Addons Support Forum"
919
+ msgstr ""
920
+
921
+ #: options/html-addons.php:25
922
+ msgid ""
923
+ "All wpDiscuz addons are being developed by wpDiscuz developers at gVectors "
924
+ "Team, those are very solid premium level extensions and come with premium "
925
+ "support.\n"
926
+ " These addons help us to keep top level "
927
+ "development of the free wpDiscuz plugin. All essential and even dozens of "
928
+ "extra-cool features are already available for free in core wpDiscuz. \n"
929
+ " There will never be any limits, any pro and paid "
930
+ "versions for wpDiscuz. We have another dozens of awesome features in our to-"
931
+ "do list which will also be added for free in future releases. \n"
932
+ " So the free wpDiscuz development always stays on "
933
+ "the first priority and wpDiscuz is being extended with new free functions "
934
+ "and features even faster than before."
935
+ msgstr ""
936
+
937
+ #: options/html-addons.php:31
938
+ msgid " Thank you!<br/> Sincerely yours,<br/> gVectors Team&nbsp;"
939
+ msgstr ""
940
+
941
+ #: options/html-addons.php:60
942
+ msgid "Live Preview | Buy"
943
+ msgstr ""
944
+
945
+ #: options/html-options.php:10
946
+ msgid "wpDiscuz General Settings"
947
+ msgstr ""
948
+
949
+ #: options/html-options.php:19
950
+ msgid "Like wpDiscuz?"
951
+ msgstr ""
952
+
953
+ #: options/html-options.php:20
954
+ msgid "Documentation"
955
+ msgstr ""
956
+
957
+ #: options/html-options.php:21
958
+ msgid "Support"
959
+ msgstr ""
960
+
961
+ #: options/html-options.php:55 options/options-layouts/settings-general.php:7
962
+ msgid "General Settings"
963
+ msgstr ""
964
+
965
+ #: options/html-options.php:56
966
+ #: options/options-layouts/settings-live-update.php:7
967
+ msgid "Live Update"
968
+ msgstr ""
969
+
970
+ #: options/html-options.php:57
971
+ msgid "Show/Hide"
972
+ msgstr ""
973
+
974
+ #: options/html-options.php:58
975
+ msgid "Subscription"
976
+ msgstr ""
977
+
978
+ #: options/html-options.php:58
979
+ msgid "and Postmatic"
980
+ msgstr ""
981
+
982
+ #: options/html-options.php:59
983
+ msgid "Styling"
984
+ msgstr ""
985
+
986
+ #: options/html-options.php:60
987
+ msgid "Cache"
988
+ msgstr ""
989
+
990
+ #: options/html-options.php:61 options/options-layouts/settings-social.php:124
991
+ msgid "Social Login"
992
+ msgstr ""
993
+
994
+ #: options/html-options.php:62
995
+ #: options/options-layouts/settings-integrations.php:7
996
+ msgid "Integrations"
997
+ msgstr ""
998
+
999
+ #: options/html-options.php:152
1000
+ msgid "Reset Options"
1001
+ msgstr ""
1002
+
1003
+ #: options/html-options.php:154
1004
+ msgid "Remove vote data"
1005
+ msgstr ""
1006
+
1007
+ #: options/html-options.php:155 options/html-phrases.php:72
1008
+ #: options/html-tools.php:58
1009
+ msgid "Save Changes"
1010
+ msgstr ""
1011
+
1012
+ #: options/html-phrases.php:10
1013
+ msgid "wpDiscuz Front-end Phrases"
1014
+ msgstr ""
1015
+
1016
+ #: options/html-phrases.php:21
1017
+ msgid "General"
1018
+ msgstr ""
1019
+
1020
+ #: options/html-phrases.php:24
1021
+ msgid "Date/Time"
1022
+ msgstr ""
1023
+
1024
+ #: options/html-phrases.php:26
1025
+ msgid "Notification"
1026
+ msgstr ""
1027
+
1028
+ #: options/html-tools.php:10
1029
+ msgid "wpDiscuz Tools"
1030
+ msgstr ""
1031
+
1032
+ #: options/html-tools.php:22 options/tools-layouts/options-export.php:8
1033
+ msgid "Export options"
1034
+ msgstr ""
1035
+
1036
+ #: options/html-tools.php:23 options/tools-layouts/options-import.php:7
1037
+ msgid "Import options"
1038
+ msgstr ""
1039
+
1040
+ #: utils/class.WpdiscuzHelper.php:346 utils/class.WpdiscuzHelper.php:349
1041
+ msgid "Spoiler"
1042
+ msgstr ""
1043
+
1044
+ #: forms/wpdFormAttr/Form.php:606
1045
+ msgid "Disable commenting for roles"
1046
+ msgstr ""
1047
+
1048
+ #: forms/wpdFormAttr/Form.php:627
1049
+ msgid "Allow guests to comment"
1050
+ msgstr ""
1051
+
1052
+ #: forms/wpdFormAttr/Form.php:631 forms/wpdFormAttr/Form.php:642
1053
+ msgid "Yes"
1054
+ msgstr ""
1055
+
1056
+ #: forms/wpdFormAttr/Form.php:633 forms/wpdFormAttr/Form.php:644
1057
+ msgid "No"
1058
+ msgstr ""
1059
+
1060
+ #: forms/wpdFormAttr/Form.php:638
1061
+ msgid "Enable subscription bar"
1062
+ msgstr ""
1063
+
1064
+ #: forms/wpdFormAttr/Form.php:649
1065
+ msgid "Comment form header text"
1066
+ msgstr ""
1067
+
1068
+ #: forms/wpdFormAttr/Form.php:658
1069
+ msgid "Display comment form for post types"
1070
+ msgstr ""
1071
+
1072
+ #: forms/wpdFormAttr/Form.php:665
1073
+ msgid ""
1074
+ "The red marked post types are already attached to other comment form. If you "
1075
+ "set this form too, the old forms will not be used for them."
1076
+ msgstr ""
1077
+
1078
+ #: forms/wpdFormAttr/Form.php:687
1079
+ msgid "Display comment form for post IDs"
1080
+ msgstr ""
1081
+
1082
+ #: forms/wpdFormAttr/Form.php:688
1083
+ msgid ""
1084
+ "You can use this form for certain posts/pages specified by comma separated "
1085
+ "IDs."
1086
+ msgstr ""
1087
+
1088
+ #: forms/wpdFormAttr/Form.php:699
1089
+ msgid "Comment Text Field"
1090
+ msgstr ""
1091
+
1092
+ #: forms/wpdFormAttr/Form.php:714
1093
+ msgid "ADD ROW"
1094
+ msgstr ""
1095
+
1096
+ #: forms/wpdFormAttr/Form.php:776
1097
+ #: forms/wpdFormAttr/Field/DefaultField/Website.php:83
1098
+ msgid "Website"
1099
+ msgstr ""
1100
+
1101
+ #: forms/wpdFormAttr/Form.php:785
1102
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:107
1103
+ msgid "Code"
1104
+ msgstr ""
1105
+
1106
+ #: options/options-layouts/settings-addons.php:13
1107
+ msgid ""
1108
+ "Here you can find wpDiscuz Addons' setting options in vertical subTabs with "
1109
+ "according addon titles. All wpDiscuz addons are listed on wpDiscuz"
1110
+ msgstr ""
1111
+
1112
+ #: options/options-layouts/settings-addons.php:13
1113
+ #: options/options-layouts/settings-addons.php:13
1114
+ msgid "Addons subMenu"
1115
+ msgstr ""
1116
+
1117
+ #: options/options-layouts/settings-addons.php:13
1118
+ msgid ""
1119
+ "We'll add new free and paid addons with almost every wpDiscuz release. There "
1120
+ "will be dozens of very useful addons in near future. Currently wpDiscuz "
1121
+ "consists of about 70 free features/addons like \"Live Update\", \"First "
1122
+ "comment redirection\", \"Comment sorting\", \"Simple CAPTCHA\", \"AJAX "
1123
+ "Pagination\", \"Lazy Load\", \"Comment Likes\", \"Comment Share\" and dozens "
1124
+ "of other addons and there will be more. All new and free addons will be "
1125
+ "built-in with wpDiscuz plugin and all paid addons will be listed separately "
1126
+ "on"
1127
+ msgstr ""
1128
+
1129
+ #: options/options-layouts/settings-cache.php:7
1130
+ msgid "Gravatar Cache"
1131
+ msgstr ""
1132
+
1133
+ #: options/options-layouts/settings-cache.php:12
1134
+ msgid "Enable Grvatar caching"
1135
+ msgstr ""
1136
+
1137
+ #: options/options-layouts/settings-cache.php:14
1138
+ msgid ""
1139
+ "It seems on of important functions (\"file_get_contents\", "
1140
+ "\"file_put_contents\") of php is not exists.<br/> Please enable these "
1141
+ "functions in your server settings to use gravatar caching feature."
1142
+ msgstr ""
1143
+
1144
+ #: options/options-layouts/settings-cache.php:23
1145
+ msgid "Caching method"
1146
+ msgstr ""
1147
+
1148
+ #: options/options-layouts/settings-cache.php:29
1149
+ msgid "Runtime"
1150
+ msgstr ""
1151
+
1152
+ #: options/options-layouts/settings-cache.php:33
1153
+ msgid "Cron job"
1154
+ msgstr ""
1155
+
1156
+ #: options/options-layouts/settings-cache.php:40
1157
+ msgid "Cache avatars for \"X\" days"
1158
+ msgstr ""
1159
+
1160
+ #: options/options-layouts/settings-cache.php:49
1161
+ #: options/options-layouts/settings-cache.php:53
1162
+ msgid "Purge expired caches"
1163
+ msgstr ""
1164
+
1165
+ #: options/options-layouts/settings-cache.php:58
1166
+ #: options/options-layouts/settings-cache.php:62
1167
+ msgid "Purge all caches"
1168
+ msgstr ""
1169
+
1170
+ #: options/options-layouts/settings-customfields.php:12
1171
+ msgid "Google Map API Key"
1172
+ msgstr ""
1173
+
1174
+ #: options/options-layouts/settings-general.php:11
1175
+ msgid "Enable wpdiscuz on home page"
1176
+ msgstr ""
1177
+
1178
+ #: options/options-layouts/settings-general.php:15
1179
+ msgid "Enable Quicktags"
1180
+ msgstr ""
1181
+
1182
+ #: options/options-layouts/settings-general.php:20
1183
+ msgid "Use guest email to detect registered account"
1184
+ msgstr ""
1185
+
1186
+ #: options/options-layouts/settings-general.php:22
1187
+ msgid ""
1188
+ "Sometimes registered users comment as guest using the same email address. "
1189
+ "wpDiscuz can detect the account role using guest email and display commenter "
1190
+ "label correctly."
1191
+ msgstr ""
1192
+
1193
+ #: options/options-layouts/settings-general.php:28
1194
+ msgid "Notify comment author if comment was approved"
1195
+ msgstr ""
1196
+
1197
+ #: options/options-layouts/settings-general.php:33
1198
+ msgid "Comment author name min length (for guests only)"
1199
+ msgstr ""
1200
+
1201
+ #: options/options-layouts/settings-general.php:37
1202
+ #: options/options-layouts/settings-general.php:60
1203
+ msgid "Min"
1204
+ msgstr ""
1205
+
1206
+ #: options/options-layouts/settings-general.php:40
1207
+ #: options/options-layouts/settings-general.php:63
1208
+ msgid "Max"
1209
+ msgstr ""
1210
+
1211
+ #: options/options-layouts/settings-general.php:46
1212
+ msgid "Keep guest commenter credentials in browser cookies for x days"
1213
+ msgstr ""
1214
+
1215
+ #: options/options-layouts/settings-general.php:48
1216
+ msgid "Set this option value -1 to make it unlimited."
1217
+ msgstr ""
1218
+
1219
+ #: options/options-layouts/settings-general.php:49
1220
+ msgid "Set this option value 0 to clear those data when user closes browser."
1221
+ msgstr ""
1222
+
1223
+ #: options/options-layouts/settings-general.php:56
1224
+ msgid "Comment text length"
1225
+ msgstr ""
1226
+
1227
+ #: options/options-layouts/settings-general.php:69
1228
+ msgid ""
1229
+ "The number of words before breaking comment text and showing \"Read more\" "
1230
+ "link"
1231
+ msgstr ""
1232
+
1233
+ #: options/options-layouts/settings-general.php:71
1234
+ msgid "Set this option value 0, to turn off comment text breaking function."
1235
+ msgstr ""
1236
+
1237
+ #: options/options-layouts/settings-general.php:77
1238
+ msgid "Comment text size in pixels"
1239
+ msgstr ""
1240
+
1241
+ #: options/options-layouts/settings-general.php:90
1242
+ msgid "Allow comment editing for"
1243
+ msgstr ""
1244
+
1245
+ #: options/options-layouts/settings-general.php:94
1246
+ msgid "Do not allow"
1247
+ msgstr ""
1248
+
1249
+ #: options/options-layouts/settings-general.php:95
1250
+ #: options/options-layouts/settings-general.php:96
1251
+ #: options/options-layouts/settings-live-update.php:52
1252
+ #: options/options-layouts/settings-live-update.php:53
1253
+ #: options/options-layouts/settings-live-update.php:54
1254
+ msgid "Minutes"
1255
+ msgstr ""
1256
+
1257
+ #: options/options-layouts/settings-general.php:97
1258
+ #: options/phrases-layouts/phrases-datetime.php:35
1259
+ msgid "Hour"
1260
+ msgstr ""
1261
+
1262
+ #: options/options-layouts/settings-general.php:98
1263
+ #: options/options-layouts/settings-general.php:99
1264
+ msgid "Hours"
1265
+ msgstr ""
1266
+
1267
+ #: options/options-layouts/settings-general.php:100
1268
+ msgid "Unlimit"
1269
+ msgstr ""
1270
+
1271
+ #: options/options-layouts/settings-general.php:106
1272
+ msgid "Redirect first commenter to"
1273
+ msgstr ""
1274
+
1275
+ #: options/options-layouts/settings-general.php:113
1276
+ msgid "Do not redirect"
1277
+ msgstr ""
1278
+
1279
+ #: options/options-layouts/settings-general.php:120
1280
+ msgid "Allow guests to vote on comments"
1281
+ msgstr ""
1282
+
1283
+ #: options/options-layouts/settings-general.php:125
1284
+ msgid "Display only parent comments and <u>view replies &or;</u> button"
1285
+ msgstr ""
1286
+
1287
+ #: options/options-layouts/settings-general.php:127
1288
+ msgid ""
1289
+ "If this option is enabled only parent comment will be displayed. This "
1290
+ "increases page load speed and keeps pages light. If visitor wants to read "
1291
+ "replies he/she just need to click on [view replies (12)] button located on "
1292
+ "all parent comments which have replies."
1293
+ msgstr ""
1294
+
1295
+ #: options/options-layouts/settings-general.php:134
1296
+ msgid "Comments loading/pagination type"
1297
+ msgstr ""
1298
+
1299
+ #: options/options-layouts/settings-general.php:136
1300
+ msgid ""
1301
+ "You can manage the number of comments for [Load more] option in Settings > "
1302
+ "Discussion page, using \"Break comments into pages with [X] top level "
1303
+ "comments per page\" option. To show the default Wordpress comment pagination "
1304
+ "you should enable the checkbox on bigining of the same option."
1305
+ msgstr ""
1306
+
1307
+ #: options/options-layouts/settings-general.php:142
1308
+ #: options/options-layouts/settings-general.php:144
1309
+ msgid "[Load more] Button"
1310
+ msgstr ""
1311
+
1312
+ #: options/options-layouts/settings-general.php:146
1313
+ #: options/options-layouts/settings-general.php:148
1314
+ msgid "[Load rest of all comments] Button"
1315
+ msgstr ""
1316
+
1317
+ #: options/options-layouts/settings-general.php:150
1318
+ #: options/options-layouts/settings-general.php:152
1319
+ msgid "Load all comments"
1320
+ msgstr ""
1321
+
1322
+ #: options/options-layouts/settings-general.php:154
1323
+ #: options/options-layouts/settings-general.php:156
1324
+ msgid "Lazy load comments on scrolling"
1325
+ msgstr ""
1326
+
1327
+ #: options/options-layouts/settings-general.php:162
1328
+ msgid "Enable first comments loading before scroll position is on comment box"
1329
+ msgstr ""
1330
+
1331
+ #: options/options-layouts/settings-general.php:167
1332
+ msgid "Use WordPress Date/Time format"
1333
+ msgstr ""
1334
+
1335
+ #: options/options-layouts/settings-general.php:168
1336
+ msgid ""
1337
+ "wpDiscuz shows Human Readable date format. If you check this option it'll "
1338
+ "show the date/time format set in WordPress General Settings."
1339
+ msgstr ""
1340
+
1341
+ #: options/options-layouts/settings-general.php:174
1342
+ msgid "Current Wordpress date/time format"
1343
+ msgstr ""
1344
+
1345
+ #: options/options-layouts/settings-general.php:180
1346
+ msgid "Use Plugin .PO/.MO files"
1347
+ msgstr ""
1348
+
1349
+ #: options/options-layouts/settings-general.php:181
1350
+ msgid ""
1351
+ "wpDiscuz phrase system allows you to translate all front-end phrases. "
1352
+ "However if you have a multi-language website it'll not allow you to add more "
1353
+ "than one language translation. The only way to get it is the plugin "
1354
+ "translation files (.PO / .MO). If wpDiscuz has the languages you need you "
1355
+ "should check this option to disable phrase system and it'll automatically "
1356
+ "translate all phrases based on language files according to current language."
1357
+ msgstr ""
1358
+
1359
+ #: options/options-layouts/settings-general.php:188
1360
+ msgid ""
1361
+ "Help wpDiscuz to grow allowing people to recognize which comment plugin you "
1362
+ "use"
1363
+ msgstr ""
1364
+
1365
+ #: options/options-layouts/settings-general.php:190
1366
+ msgid ""
1367
+ "Please check this option on to help wpDiscuz get more popularity as your "
1368
+ "thank to the hard work we do for you totally free. This option adds a very "
1369
+ "small (16x16px) icon under the comment section which will allow your site "
1370
+ "visitors recognize the name of comment solution you use."
1371
+ msgstr ""
1372
+
1373
+ #: options/options-layouts/settings-general.php:195
1374
+ msgid "Thank you!"
1375
+ msgstr ""
1376
+
1377
+ #: options/options-layouts/settings-integrations.php:14
1378
+ msgid "BuddyPress"
1379
+ msgstr ""
1380
+
1381
+ #: options/options-layouts/settings-integrations.php:15
1382
+ msgid "Users Ultra"
1383
+ msgstr ""
1384
+
1385
+ #: options/options-layouts/settings-integrations.php:16
1386
+ msgid "User Pro"
1387
+ msgstr ""
1388
+
1389
+ #: options/options-layouts/settings-integrations.php:17
1390
+ msgid "Ultimate Member"
1391
+ msgstr ""
1392
+
1393
+ #: options/options-layouts/settings-integrations.php:18
1394
+ msgid "MyCred"
1395
+ msgstr ""
1396
+
1397
+ #: options/options-layouts/settings-integrations.php:23
1398
+ #: options/options-layouts/settings-integrations.php:41
1399
+ #: options/options-layouts/settings-integrations.php:59
1400
+ #: options/options-layouts/settings-integrations.php:90
1401
+ #: options/options-layouts/settings-integrations.php:124
1402
+ msgid "Please add the code below in current active theme's functions.php file"
1403
+ msgstr ""
1404
+
1405
+ #: options/options-layouts/settings-integrations.php:24
1406
+ msgid ""
1407
+ "This code will integrate BuddyPress profile URL with wpDiscuz. BuddyPress "
1408
+ "Display Names and Avatars will be integrated automatically."
1409
+ msgstr ""
1410
+
1411
+ #: options/options-layouts/settings-integrations.php:42
1412
+ msgid ""
1413
+ "This code will integrate Users Ultra profile URL with wpDiscuz. Users Ultra "
1414
+ "Display Names and Avatars will be integrated automatically."
1415
+ msgstr ""
1416
+
1417
+ #: options/options-layouts/settings-integrations.php:60
1418
+ msgid ""
1419
+ "This code will integrate User Pro profile URL with wpDiscuz. User Pro "
1420
+ "Display Names and Avatars will be integrated automatically."
1421
+ msgstr ""
1422
+
1423
+ #: options/options-layouts/settings-integrations.php:91
1424
+ msgid ""
1425
+ "This code consists of two parts, which will integrate Ultimate Member "
1426
+ "profile Display Name and Profile URL with wpDiscuz. UM Avatars will be "
1427
+ "integrated automatically."
1428
+ msgstr ""
1429
+
1430
+ #: options/options-layouts/settings-integrations.php:125
1431
+ msgid ""
1432
+ "This code will integrate MyCred User Ranks and Badges under comment author "
1433
+ "avatar."
1434
+ msgstr ""
1435
+
1436
+ #: options/options-layouts/settings-live-update.php:12
1437
+ msgid "Live update options"
1438
+ msgstr ""
1439
+
1440
+ #: options/options-layouts/settings-live-update.php:13
1441
+ msgid ""
1442
+ "wpDiscuz 3 live update is very smart and doesn't overload your server even "
1443
+ "if you're on Shared hosting plan and even your website is very active. "
1444
+ "However we recommend to monitor your server resources if you're on a Shared "
1445
+ "hosting plan. There are some very weak hosting plans which may not be able "
1446
+ "to perform very frequently live update requests. If you found some issue you "
1447
+ "can set the option below 30 seconds or more."
1448
+ msgstr ""
1449
+
1450
+ #: options/options-layouts/settings-live-update.php:18
1451
+ msgid "Never update"
1452
+ msgstr ""
1453
+
1454
+ #: options/options-layouts/settings-live-update.php:20
1455
+ msgid "Turn off \"Live Update\" function"
1456
+ msgstr ""
1457
+
1458
+ #: options/options-layouts/settings-live-update.php:22
1459
+ #: options/options-layouts/settings-subscription.php:27
1460
+ msgid "Show new comment/reply buttons to update manualy"
1461
+ msgstr ""
1462
+
1463
+ #: options/options-layouts/settings-live-update.php:24
1464
+ msgid "Always check for new comments and show update buttons"
1465
+ msgstr ""
1466
+
1467
+ #: options/options-layouts/settings-live-update.php:26
1468
+ #: options/options-layouts/settings-subscription.php:31
1469
+ msgid "Always update"
1470
+ msgstr ""
1471
+
1472
+ #: options/options-layouts/settings-live-update.php:28
1473
+ msgid "Always check for new comments and update automatically"
1474
+ msgstr ""
1475
+
1476
+ #: options/options-layouts/settings-live-update.php:35
1477
+ msgid "Disable live update for guests"
1478
+ msgstr ""
1479
+
1480
+ #: options/options-layouts/settings-live-update.php:43
1481
+ msgid "Update comment list every"
1482
+ msgstr ""
1483
+
1484
+ #: options/options-layouts/settings-live-update.php:48
1485
+ #: options/options-layouts/settings-live-update.php:49
1486
+ #: options/options-layouts/settings-live-update.php:50
1487
+ msgid "Seconds"
1488
+ msgstr ""
1489
+
1490
+ #: options/options-layouts/settings-live-update.php:51
1491
+ #: options/phrases-layouts/phrases-datetime.php:43
1492
+ msgid "Minute"
1493
+ msgstr ""
1494
+
1495
+ #: options/options-layouts/settings-show-hide.php:7
1496
+ msgid "Show/Hide Components"
1497
+ msgstr ""
1498
+
1499
+ #: options/options-layouts/settings-show-hide.php:11
1500
+ msgid "Show logged-in user name and logout link on top of main form"
1501
+ msgstr ""
1502
+
1503
+ #: options/options-layouts/settings-show-hide.php:15
1504
+ msgid "Hide Reply button for Guests"
1505
+ msgstr ""
1506
+
1507
+ #: options/options-layouts/settings-show-hide.php:19
1508
+ msgid "Hide Reply button for Members"
1509
+ msgstr ""
1510
+
1511
+ #: options/options-layouts/settings-show-hide.php:23
1512
+ msgid "Hide Commenter Labels"
1513
+ msgstr ""
1514
+
1515
+ #: options/options-layouts/settings-show-hide.php:27
1516
+ msgid "Hide Voting buttons"
1517
+ msgstr ""
1518
+
1519
+ #: options/options-layouts/settings-show-hide.php:31
1520
+ msgid "Comment voting statistic mode"
1521
+ msgstr ""
1522
+
1523
+ #: options/options-layouts/settings-show-hide.php:36
1524
+ msgid "total count"
1525
+ msgstr ""
1526
+
1527
+ #: options/options-layouts/settings-show-hide.php:40
1528
+ msgid "separate count"
1529
+ msgstr ""
1530
+
1531
+ #: options/options-layouts/settings-show-hide.php:46
1532
+ msgid "Show Share Buttons"
1533
+ msgstr ""
1534
+
1535
+ #: options/options-layouts/settings-show-hide.php:65
1536
+ msgid "Facebook Application ID"
1537
+ msgstr ""
1538
+
1539
+ #: options/options-layouts/settings-show-hide.php:81
1540
+ msgid ""
1541
+ "The plugin captcha directory is not writable! Please set writable "
1542
+ "permissions on \"wpdiscuz/utils/temp\" directory in order to use the first "
1543
+ "type of captcha generation"
1544
+ msgstr ""
1545
+
1546
+ #: options/options-layouts/settings-show-hide.php:85
1547
+ msgid "Captcha generation type"
1548
+ msgstr ""
1549
+
1550
+ #: options/options-layouts/settings-show-hide.php:91
1551
+ msgid "use file system"
1552
+ msgstr ""
1553
+
1554
+ #: options/options-layouts/settings-show-hide.php:96
1555
+ msgid "use wordpress session"
1556
+ msgstr ""
1557
+
1558
+ #: options/options-layouts/settings-show-hide.php:102
1559
+ msgid "Hide header text"
1560
+ msgstr ""
1561
+
1562
+ #: options/options-layouts/settings-show-hide.php:106
1563
+ msgid "Show sorting buttons"
1564
+ msgstr ""
1565
+
1566
+ #: options/options-layouts/settings-show-hide.php:110
1567
+ msgid "Set comments ordering to \"Most voted\" by default "
1568
+ msgstr ""
1569
+
1570
+ #: options/options-layouts/settings-show-hide.php:114
1571
+ msgid "Hide comment link"
1572
+ msgstr ""
1573
+
1574
+ #: options/options-layouts/settings-show-hide.php:118
1575
+ msgid "Enable automatic image URL to image HTML conversion"
1576
+ msgstr ""
1577
+
1578
+ #: options/options-layouts/settings-show-hide.php:123
1579
+ msgid "Secure comment content in HTTPS protocol."
1580
+ msgstr ""
1581
+
1582
+ #: options/options-layouts/settings-show-hide.php:125
1583
+ msgid ""
1584
+ "This option detects images and other contents with non-https source URLs and "
1585
+ "fix according to your selected logic."
1586
+ msgstr ""
1587
+
1588
+ #: options/options-layouts/settings-show-hide.php:133
1589
+ msgid "Replace non-https content to simple link URLs"
1590
+ msgstr ""
1591
+
1592
+ #: options/options-layouts/settings-show-hide.php:138
1593
+ msgid ""
1594
+ "Just replace http protocols to https (https may not be supported by content "
1595
+ "provider)"
1596
+ msgstr ""
1597
+
1598
+ #: options/options-layouts/settings-show-hide.php:142
1599
+ msgid "Ignore non-https content"
1600
+ msgstr ""
1601
+
1602
+ #: options/options-layouts/settings-show-hide.php:149
1603
+ msgid "Disable Profiles URL"
1604
+ msgstr ""
1605
+
1606
+ #: options/options-layouts/settings-show-hide.php:153
1607
+ msgid "Display Ratings"
1608
+ msgstr ""
1609
+
1610
+ #: options/options-layouts/settings-show-hide.php:156
1611
+ msgid "Before Content"
1612
+ msgstr ""
1613
+
1614
+ #: options/options-layouts/settings-show-hide.php:158
1615
+ msgid "After Content"
1616
+ msgstr ""
1617
+
1618
+ #: options/options-layouts/settings-show-hide.php:162
1619
+ msgid "Display ratings on none singular pages"
1620
+ msgstr ""
1621
+
1622
+ #: options/options-layouts/settings-social.php:50
1623
+ #: options/options-layouts/settings-social.php:61
1624
+ #: options/options-layouts/settings-social.php:72
1625
+ #: options/options-layouts/settings-social.php:83
1626
+ msgid "Activate"
1627
+ msgstr ""
1628
+
1629
+ #: options/options-layouts/settings-social.php:54
1630
+ #: options/options-layouts/settings-social.php:65
1631
+ #: options/options-layouts/settings-social.php:76
1632
+ #: options/options-layouts/settings-social.php:87
1633
+ msgid "View details/Install"
1634
+ msgstr ""
1635
+
1636
+ #: options/options-layouts/settings-social.php:125
1637
+ msgid ""
1638
+ "You can use one of these most popular Social Login Plugins to allow your "
1639
+ "visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, "
1640
+ "OK and lots of other social network service accounts. All social login "
1641
+ "buttons will be fully integrated with wpDiscuz comment forms."
1642
+ msgstr ""
1643
+
1644
+ #: options/options-layouts/settings-style.php:7
1645
+ msgid "Background and Colors"
1646
+ msgstr ""
1647
+
1648
+ #: options/options-layouts/settings-style.php:12
1649
+ msgid "Comment Form Background Color"
1650
+ msgstr ""
1651
+
1652
+ #: options/options-layouts/settings-style.php:16
1653
+ #: options/options-layouts/settings-style.php:25
1654
+ #: options/options-layouts/settings-style.php:34
1655
+ #: options/options-layouts/settings-style.php:43
1656
+ #: options/options-layouts/settings-style.php:70
1657
+ #: options/options-layouts/settings-style.php:79
1658
+ #: options/options-layouts/settings-style.php:88
1659
+ #: options/options-layouts/settings-style.php:98
1660
+ #: options/options-layouts/settings-style.php:107
1661
+ #: options/options-layouts/settings-style.php:116
1662
+ #: options/options-layouts/settings-style.php:130
1663
+ msgid "Example: #00FF00"
1664
+ msgstr ""
1665
+
1666
+ #: options/options-layouts/settings-style.php:21
1667
+ msgid "Comment Background Color"
1668
+ msgstr ""
1669
+
1670
+ #: options/options-layouts/settings-style.php:30
1671
+ msgid "Reply Background Color"
1672
+ msgstr ""
1673
+
1674
+ #: options/options-layouts/settings-style.php:39
1675
+ msgid "Comment Text Color"
1676
+ msgstr ""
1677
+
1678
+ #: options/options-layouts/settings-style.php:48
1679
+ msgid "Button Color"
1680
+ msgstr ""
1681
+
1682
+ #: options/options-layouts/settings-style.php:53
1683
+ msgid "Share Buttons"
1684
+ msgstr ""
1685
+
1686
+ #: options/options-layouts/settings-style.php:54
1687
+ #: options/options-layouts/settings-style.php:57
1688
+ #: options/options-layouts/settings-style.php:60
1689
+ msgid "Text Color"
1690
+ msgstr ""
1691
+
1692
+ #: options/options-layouts/settings-style.php:55
1693
+ #: options/options-layouts/settings-style.php:58
1694
+ #: options/options-layouts/settings-style.php:61
1695
+ msgid "Border Color"
1696
+ msgstr ""
1697
+
1698
+ #: options/options-layouts/settings-style.php:56
1699
+ msgid "Vote Buttons"
1700
+ msgstr ""
1701
+
1702
+ #: options/options-layouts/settings-style.php:59
1703
+ msgid "Action Buttons"
1704
+ msgstr ""
1705
+
1706
+ #: options/options-layouts/settings-style.php:66
1707
+ msgid "Comment form fields border color"
1708
+ msgstr ""
1709
+
1710
+ #: options/options-layouts/settings-style.php:75
1711
+ msgid "New loaded comments' background color"
1712
+ msgstr ""
1713
+
1714
+ #: options/options-layouts/settings-style.php:84
1715
+ msgid "Primary Color"
1716
+ msgstr ""
1717
+
1718
+ #: options/options-layouts/settings-style.php:94
1719
+ msgid "Rating Stars Hover Color"
1720
+ msgstr ""
1721
+
1722
+ #: options/options-layouts/settings-style.php:103
1723
+ msgid "Rating Stars Inactiv Color"
1724
+ msgstr ""
1725
+
1726
+ #: options/options-layouts/settings-style.php:112
1727
+ msgid "Rating Stars Activ Color"
1728
+ msgstr ""
1729
+
1730
+ #: options/options-layouts/settings-style.php:127
1731
+ msgid "label color"
1732
+ msgstr ""
1733
+
1734
+ #: options/options-layouts/settings-style.php:138
1735
+ msgid "Disable font awesome css loading"
1736
+ msgstr ""
1737
+
1738
+ #: options/options-layouts/settings-style.php:146
1739
+ msgid "Custom CSS Code"
1740
+ msgstr ""
1741
+
1742
+ #: options/options-layouts/settings-subscription.php:7
1743
+ msgid "Email Subscription Settings"
1744
+ msgstr ""
1745
+
1746
+ #: options/options-layouts/settings-subscription.php:11
1747
+ msgid "Disable subscription confirmation for registered users"
1748
+ msgstr ""
1749
+
1750
+ #: options/options-layouts/settings-subscription.php:15
1751
+ msgid "Disable subscription confirmation for guests"
1752
+ msgstr ""
1753
+
1754
+ #: options/options-layouts/settings-subscription.php:19
1755
+ msgid "Show subscription types in dropdown"
1756
+ msgstr ""
1757
+
1758
+ #: options/options-layouts/settings-subscription.php:23
1759
+ msgid "Both"
1760
+ msgstr ""
1761
+
1762
+ #: options/options-layouts/settings-subscription.php:25
1763
+ msgid "Both post and all comments subscription"
1764
+ msgstr ""
1765
+
1766
+ #: options/options-layouts/settings-subscription.php:29
1767
+ msgid "Post subscription"
1768
+ msgstr ""
1769
+
1770
+ #: options/options-layouts/settings-subscription.php:33
1771
+ msgid "All comments subscription"
1772
+ msgstr ""
1773
+
1774
+ #: options/options-layouts/settings-subscription.php:40
1775
+ msgid "Show \"Notify of new replies to this comment\""
1776
+ msgstr ""
1777
+
1778
+ #: options/options-layouts/settings-subscription.php:42
1779
+ msgid ""
1780
+ "wpDiscuz is the only comment plugin which allows you to subscribe to certain "
1781
+ "comment replies. This option is located above [Post Comment] button in "
1782
+ "comment form. You can disable this subscription way by unchecking this "
1783
+ "option."
1784
+ msgstr ""
1785
+
1786
+ #: options/options-layouts/settings-subscription.php:49
1787
+ msgid "\"Notify of new replies to this comment\" checked by default"
1788
+ msgstr ""
1789
+
1790
+ #: options/options-layouts/settings-subscription.php:56
1791
+ msgid "Use Postmatic for subscriptions and commenting by email"
1792
+ msgstr ""
1793
+
1794
+ #: options/options-layouts/settings-subscription.php:57
1795
+ msgid ""
1796
+ "Postmatic allows your users subscribe to comments. Instead of just being "
1797
+ "notified, they add a reply right from their inbox."
1798
+ msgstr ""
1799
+
1800
+ #: options/phrases-layouts/phrases-comment.php:7
1801
+ msgid "Comment Template Phrases"
1802
+ msgstr ""
1803
+
1804
+ #: options/phrases-layouts/phrases-comment.php:83
1805
+ msgid "Save edited comment button text"
1806
+ msgstr ""
1807
+
1808
+ #: options/phrases-layouts/phrases-comment.php:87
1809
+ msgid "Cancel comment editing button text"
1810
+ msgstr ""
1811
+
1812
+ #: options/phrases-layouts/phrases-comment.php:91
1813
+ msgid "Comment read more link text"
1814
+ msgstr ""
1815
+
1816
+ #: options/phrases-layouts/phrases-comment.php:95
1817
+ msgid "Anonymous commenter name"
1818
+ msgstr ""
1819
+
1820
+ #: options/phrases-layouts/phrases-datetime.php:7
1821
+ msgid "Date/Time Phrases"
1822
+ msgstr ""
1823
+
1824
+ #: options/phrases-layouts/phrases-datetime.php:11
1825
+ msgid "Year"
1826
+ msgstr ""
1827
+
1828
+ #: options/phrases-layouts/phrases-datetime.php:15
1829
+ msgid "Years (Plural Form)"
1830
+ msgstr ""
1831
+
1832
+ #: options/phrases-layouts/phrases-datetime.php:16
1833
+ msgid "Years"
1834
+ msgstr ""
1835
+
1836
+ #: options/phrases-layouts/phrases-datetime.php:19
1837
+ msgid "Month"
1838
+ msgstr ""
1839
+
1840
+ #: options/phrases-layouts/phrases-datetime.php:23
1841
+ msgid "Months (Plural Form)"
1842
+ msgstr ""
1843
+
1844
+ #: options/phrases-layouts/phrases-datetime.php:27
1845
+ msgid "Day"
1846
+ msgstr ""
1847
+
1848
+ #: options/phrases-layouts/phrases-datetime.php:31
1849
+ msgid "Days (Plural Form)"
1850
+ msgstr ""
1851
+
1852
+ #: options/phrases-layouts/phrases-datetime.php:39
1853
+ msgid "Hours (Plural Form)"
1854
+ msgstr ""
1855
+
1856
+ #: options/phrases-layouts/phrases-datetime.php:47
1857
+ msgid "Minutes (Plural Form)"
1858
+ msgstr ""
1859
+
1860
+ #: options/phrases-layouts/phrases-datetime.php:51
1861
+ msgid "Second"
1862
+ msgstr ""
1863
+
1864
+ #: options/phrases-layouts/phrases-datetime.php:55
1865
+ msgid "Seconds (Plural Form)"
1866
+ msgstr ""
1867
+
1868
+ #: options/phrases-layouts/phrases-datetime.php:59
1869
+ msgid "Commented \"right now\" text"
1870
+ msgstr ""
1871
+
1872
+ #: options/phrases-layouts/phrases-datetime.php:63
1873
+ msgid "Ago text"
1874
+ msgstr ""
1875
+
1876
+ #: options/phrases-layouts/phrases-email.php:7
1877
+ msgid "Email Template Phrases"
1878
+ msgstr ""
1879
+
1880
+ #: options/phrases-layouts/phrases-email.php:11
1881
+ msgid "New comment email subject"
1882
+ msgstr ""
1883
+
1884
+ #: options/phrases-layouts/phrases-email.php:15
1885
+ msgid "New comment email message"
1886
+ msgstr ""
1887
+
1888
+ #: options/phrases-layouts/phrases-email.php:19
1889
+ msgid "New reply subject"
1890
+ msgstr ""
1891
+
1892
+ #: options/phrases-layouts/phrases-email.php:23
1893
+ msgid "New reply message"
1894
+ msgstr ""
1895
+
1896
+ #: options/phrases-layouts/phrases-email.php:31
1897
+ msgid "Ignore subscription"
1898
+ msgstr ""
1899
+
1900
+ #: options/phrases-layouts/phrases-email.php:43
1901
+ msgid "Subscribe confirmation email subject"
1902
+ msgstr ""
1903
+
1904
+ #: options/phrases-layouts/phrases-email.php:47
1905
+ msgid "Subscribe confirmation email content"
1906
+ msgstr ""
1907
+
1908
+ #: options/phrases-layouts/phrases-email.php:51
1909
+ msgid "Comment approved subject"
1910
+ msgstr ""
1911
+
1912
+ #: options/phrases-layouts/phrases-email.php:55
1913
+ msgid "Comment approved message"
1914
+ msgstr ""
1915
+
1916
+ #: options/phrases-layouts/phrases-email.php:56
1917
+ msgid "Hi, <br/> Your comment was approved"
1918
+ msgstr ""
1919
+
1920
+ #: options/phrases-layouts/phrases-form.php:7
1921
+ msgid "Form Template Phrases"
1922
+ msgstr ""
1923
+
1924
+ #: options/phrases-layouts/phrases-form.php:11
1925
+ msgid "Comment Field Start"
1926
+ msgstr ""
1927
+
1928
+ #: options/phrases-layouts/phrases-form.php:15
1929
+ msgid "Comment Field Join"
1930
+ msgstr ""
1931
+
1932
+ #: options/phrases-layouts/phrases-form.php:19
1933
+ msgid "Email Field"
1934
+ msgstr ""
1935
+
1936
+ #: options/phrases-layouts/phrases-form.php:27
1937
+ msgid "Notify on new comments"
1938
+ msgstr ""
1939
+
1940
+ #: options/phrases-layouts/phrases-form.php:31
1941
+ msgid "Notify on all new replies"
1942
+ msgstr ""
1943
+
1944
+ #: options/phrases-layouts/phrases-form.php:32
1945
+ msgid "new replies to all my comments"
1946
+ msgstr ""
1947
+
1948
+ #: options/phrases-layouts/phrases-form.php:35
1949
+ msgid "Notify on new replies (checkbox)"
1950
+ msgstr ""
1951
+
1952
+ #: options/phrases-layouts/phrases-form.php:55
1953
+ msgid "Subscribed on this comment replies"
1954
+ msgstr ""
1955
+
1956
+ #: options/phrases-layouts/phrases-form.php:59
1957
+ msgid "Subscribed on all your comments replies"
1958
+ msgstr ""
1959
+
1960
+ #: options/phrases-layouts/phrases-form.php:63
1961
+ msgid "Subscribed on this post"
1962
+ msgstr ""
1963
+
1964
+ #: options/phrases-layouts/phrases-form.php:71
1965
+ msgid "Form subscription button"
1966
+ msgstr ""
1967
+
1968
+ #: options/phrases-layouts/phrases-general.php:7
1969
+ msgid "General Phrases"
1970
+ msgstr ""
1971
+
1972
+ #: options/phrases-layouts/phrases-general.php:11
1973
+ msgid "Be the first to comment"
1974
+ msgstr ""
1975
+
1976
+ #: options/phrases-layouts/phrases-general.php:19
1977
+ msgid "Comment (Plural Form)"
1978
+ msgstr ""
1979
+
1980
+ #: options/phrases-layouts/phrases-general.php:23
1981
+ msgid "On"
1982
+ msgstr ""
1983
+
1984
+ #: options/phrases-layouts/phrases-general.php:27
1985
+ msgid "Load More Button"
1986
+ msgstr ""
1987
+
1988
+ #: options/phrases-layouts/phrases-general.php:35
1989
+ msgid "Button text if has new comment"
1990
+ msgstr ""
1991
+
1992
+ #: options/phrases-layouts/phrases-general.php:39
1993
+ msgid "Button text if has new comments (Plural Form)"
1994
+ msgstr ""
1995
+
1996
+ #: options/phrases-layouts/phrases-general.php:43
1997
+ msgid "Button text if has new reply"
1998
+ msgstr ""
1999
+
2000
+ #: options/phrases-layouts/phrases-general.php:47
2001
+ msgid "Button text if has new replies (Plural Form)"
2002
+ msgstr ""
2003
+
2004
+ #: options/phrases-layouts/phrases-general.php:51
2005
+ msgid "Text on load more button if has new comment(s)"
2006
+ msgstr ""
2007
+
2008
+ #: options/phrases-layouts/phrases-notification.php:7
2009
+ msgid "Notification Phrases"
2010
+ msgstr ""
2011
+
2012
+ #: options/phrases-layouts/phrases-notification.php:24
2013
+ msgid "Postmatic subscription label"
2014
+ msgstr ""
2015
+
2016
+ #: options/phrases-layouts/phrases-notification.php:29
2017
+ msgid "Error message for empty field"
2018
+ msgstr ""
2019
+
2020
+ #: options/phrases-layouts/phrases-notification.php:33
2021
+ msgid "Error message for invalid email field"
2022
+ msgstr ""
2023
+
2024
+ #: options/phrases-layouts/phrases-notification.php:37
2025
+ msgid "Error message for invalid website url field"
2026
+ msgstr ""
2027
+
2028
+ #: options/phrases-layouts/phrases-notification.php:45
2029
+ msgid "Logged in as"
2030
+ msgstr ""
2031
+
2032
+ #: options/phrases-layouts/phrases-notification.php:53
2033
+ msgid "Logged In"
2034
+ msgstr ""
2035
+
2036
+ #: options/phrases-layouts/phrases-notification.php:57
2037
+ msgid "To post a comment"
2038
+ msgstr ""
2039
+
2040
+ #: options/phrases-layouts/phrases-notification.php:65
2041
+ msgid "You can vote only 1 time"
2042
+ msgstr ""
2043
+
2044
+ #: options/phrases-layouts/phrases-notification.php:73
2045
+ msgid "Login To Vote"
2046
+ msgstr ""
2047
+
2048
+ #: options/phrases-layouts/phrases-notification.php:77
2049
+ msgid "You Cannot Vote On Your Comment"
2050
+ msgstr ""
2051
+
2052
+ #: options/phrases-layouts/phrases-notification.php:81
2053
+ msgid "You are not allowed to vote for this comment (Voting from same IP)"
2054
+ msgstr ""
2055
+
2056
+ #: options/phrases-layouts/phrases-notification.php:93
2057
+ msgid "Comment waiting moderation"
2058
+ msgstr ""
2059
+
2060
+ #: options/phrases-layouts/phrases-notification.php:97
2061
+ msgid "Message if input text length is too short"
2062
+ msgstr ""
2063
+
2064
+ #: options/phrases-layouts/phrases-notification.php:101
2065
+ msgid "Message if input text length is too long"
2066
+ msgstr ""
2067
+
2068
+ #: options/phrases-layouts/phrases-notification.php:106
2069
+ msgid "Message if comment was not updated"
2070
+ msgstr ""
2071
+
2072
+ #: options/phrases-layouts/phrases-notification.php:110
2073
+ msgid "Message if comment no longer possible to edit"
2074
+ msgstr ""
2075
+
2076
+ #: options/phrases-layouts/phrases-notification.php:114
2077
+ msgid "Message if comment text not changed"
2078
+ msgstr ""
2079
+
2080
+ #: options/phrases-layouts/phrases-notification.php:122
2081
+ msgid "Message if commenting disabled by user role"
2082
+ msgstr ""
2083
+
2084
+ #: options/tools-layouts/options-export.php:10
2085
+ msgid ""
2086
+ "You can transfer the saved options data between different installs by "
2087
+ "copying the text inside this textarea. To import data from another install, "
2088
+ "navigate to \"Import Options\" Tab and put the data in textarea with the one "
2089
+ "from another install and click \"Save Changes\". Make sure you use the same "
2090
+ "wpDiscuz versions."
2091
+ msgstr ""
2092
+
2093
+ #: options/tools-layouts/options-import.php:9
2094
+ msgid ""
2095
+ "You can transfer the saved options data between different installs by "
2096
+ "copying the text inside this textarea in \"Export Options\" Tab. To import "
2097
+ "data from another install, just put the data in textarea with the one from "
2098
+ "another install and click \"Save Changes\". Make sure you use the same "
2099
+ "wpDiscuz versions."
2100
+ msgstr ""
2101
+
2102
+ #: templates/comment/class.WpdiscuzWalker.php:341
2103
+ msgid "view replies"
2104
+ msgstr ""
2105
+
2106
+ #: templates/comment/comment-form.php:71
2107
+ msgid "Unable to send an email"
2108
+ msgstr ""
2109
+
2110
+ #: templates/comment/comment-form.php:73
2111
+ msgid "Subscription not successed"
2112
+ msgstr ""
2113
+
2114
+ #: forms/wpdFormAttr/Field/CheckboxField.php:14
2115
+ #: forms/wpdFormAttr/Field/ColorField.php:14
2116
+ #: forms/wpdFormAttr/Field/DateField.php:14
2117
+ #: forms/wpdFormAttr/Field/NumberField.php:14
2118
+ #: forms/wpdFormAttr/Field/RadioField.php:14
2119
+ #: forms/wpdFormAttr/Field/SelectField.php:14
2120
+ #: forms/wpdFormAttr/Field/TextAreaField.php:15
2121
+ #: forms/wpdFormAttr/Field/TextField.php:14
2122
+ #: forms/wpdFormAttr/Field/UrlField.php:14
2123
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:27
2124
+ #: forms/wpdFormAttr/Field/DefaultField/Email.php:21
2125
+ #: forms/wpdFormAttr/Field/DefaultField/Name.php:20
2126
+ #: forms/wpdFormAttr/Field/DefaultField/Website.php:20
2127
+ msgid "Also used for field placeholder"
2128
+ msgstr ""
2129
+
2130
+ #: forms/wpdFormAttr/Field/CheckboxField.php:17
2131
+ #: forms/wpdFormAttr/Field/ColorField.php:17
2132
+ #: forms/wpdFormAttr/Field/DateField.php:17
2133
+ #: forms/wpdFormAttr/Field/NumberField.php:17
2134
+ #: forms/wpdFormAttr/Field/RadioField.php:17
2135
+ #: forms/wpdFormAttr/Field/RatingField.php:16
2136
+ #: forms/wpdFormAttr/Field/SelectField.php:17
2137
+ #: forms/wpdFormAttr/Field/TextAreaField.php:18
2138
+ #: forms/wpdFormAttr/Field/TextField.php:17
2139
+ #: forms/wpdFormAttr/Field/UrlField.php:17
2140
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:30
2141
+ #: forms/wpdFormAttr/Field/DefaultField/Email.php:24
2142
+ #: forms/wpdFormAttr/Field/DefaultField/Name.php:23
2143
+ #: forms/wpdFormAttr/Field/DefaultField/Website.php:23
2144
+ msgid "Description"
2145
+ msgstr ""
2146
+
2147
+ #: forms/wpdFormAttr/Field/CheckboxField.php:19
2148
+ #: forms/wpdFormAttr/Field/ColorField.php:19
2149
+ #: forms/wpdFormAttr/Field/DateField.php:19
2150
+ #: forms/wpdFormAttr/Field/NumberField.php:19
2151
+ #: forms/wpdFormAttr/Field/NumberField.php:24
2152
+ #: forms/wpdFormAttr/Field/NumberField.php:29
2153
+ #: forms/wpdFormAttr/Field/RadioField.php:19
2154
+ #: forms/wpdFormAttr/Field/RatingField.php:18
2155
+ #: forms/wpdFormAttr/Field/SelectField.php:19
2156
+ #: forms/wpdFormAttr/Field/TextAreaField.php:20
2157
+ #: forms/wpdFormAttr/Field/TextField.php:19
2158
+ #: forms/wpdFormAttr/Field/UrlField.php:19
2159
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:32
2160
+ #: forms/wpdFormAttr/Field/DefaultField/Email.php:26
2161
+ #: forms/wpdFormAttr/Field/DefaultField/Name.php:25
2162
+ #: forms/wpdFormAttr/Field/DefaultField/Website.php:25
2163
+ msgid ""
2164
+ "Field specific short description or some rule related to inserted "
2165
+ "information."
2166
+ msgstr ""
2167
+
2168
+ #: forms/wpdFormAttr/Field/CheckboxField.php:28
2169
+ #: forms/wpdFormAttr/Field/RadioField.php:28
2170
+ #: forms/wpdFormAttr/Field/SelectField.php:28
2171
+ msgid "Values"
2172
+ msgstr ""
2173
+
2174
+ #: forms/wpdFormAttr/Field/CheckboxField.php:30
2175
+ msgid "Please insert one value per line"
2176
+ msgstr ""
2177
+
2178
+ #: forms/wpdFormAttr/Field/CheckboxField.php:33
2179
+ #: forms/wpdFormAttr/Field/ColorField.php:29
2180
+ #: forms/wpdFormAttr/Field/DateField.php:29
2181
+ #: forms/wpdFormAttr/Field/NumberField.php:39
2182
+ #: forms/wpdFormAttr/Field/RadioField.php:33
2183
+ #: forms/wpdFormAttr/Field/RatingField.php:28
2184
+ #: forms/wpdFormAttr/Field/SelectField.php:33
2185
+ #: forms/wpdFormAttr/Field/TextAreaField.php:23
2186
+ #: forms/wpdFormAttr/Field/TextField.php:29
2187
+ #: forms/wpdFormAttr/Field/UrlField.php:29
2188
+ #: forms/wpdFormAttr/Field/DefaultField/Email.php:36
2189
+ #: forms/wpdFormAttr/Field/DefaultField/Name.php:35
2190
+ msgid "Field is required"
2191
+ msgstr ""
2192
+
2193
+ #: forms/wpdFormAttr/Field/CheckboxField.php:37
2194
+ #: forms/wpdFormAttr/Field/ColorField.php:33
2195
+ #: forms/wpdFormAttr/Field/DateField.php:33
2196
+ #: forms/wpdFormAttr/Field/NumberField.php:43
2197
+ #: forms/wpdFormAttr/Field/RadioField.php:37
2198
+ #: forms/wpdFormAttr/Field/SelectField.php:37
2199
+ #: forms/wpdFormAttr/Field/TextAreaField.php:27
2200
+ #: forms/wpdFormAttr/Field/TextField.php:33
2201
+ #: forms/wpdFormAttr/Field/UrlField.php:33
2202
+ msgid "Display on reply form"
2203
+ msgstr ""
2204
+
2205
+ #: forms/wpdFormAttr/Field/CheckboxField.php:41
2206
+ #: forms/wpdFormAttr/Field/ColorField.php:37
2207
+ #: forms/wpdFormAttr/Field/DateField.php:37
2208
+ #: forms/wpdFormAttr/Field/NumberField.php:47
2209
+ #: forms/wpdFormAttr/Field/RadioField.php:41
2210
+ #: forms/wpdFormAttr/Field/RatingField.php:32
2211
+ #: forms/wpdFormAttr/Field/SelectField.php:41
2212
+ #: forms/wpdFormAttr/Field/TextAreaField.php:31
2213
+ #: forms/wpdFormAttr/Field/TextField.php:37
2214
+ #: forms/wpdFormAttr/Field/UrlField.php:37
2215
+ msgid "Display on comment"
2216
+ msgstr ""
2217
+
2218
+ #: forms/wpdFormAttr/Field/CheckboxField.php:45
2219
+ #: forms/wpdFormAttr/Field/ColorField.php:41
2220
+ #: forms/wpdFormAttr/Field/DateField.php:41
2221
+ #: forms/wpdFormAttr/Field/NumberField.php:51
2222
+ #: forms/wpdFormAttr/Field/RadioField.php:45
2223
+ #: forms/wpdFormAttr/Field/RatingField.php:36
2224
+ #: forms/wpdFormAttr/Field/SelectField.php:45
2225
+ #: forms/wpdFormAttr/Field/TextAreaField.php:35
2226
+ #: forms/wpdFormAttr/Field/TextField.php:41
2227
+ #: forms/wpdFormAttr/Field/UrlField.php:41
2228
+ msgid "Advanced Options"
2229
+ msgstr ""
2230
+
2231
+ #: forms/wpdFormAttr/Field/CheckboxField.php:48
2232
+ #: forms/wpdFormAttr/Field/ColorField.php:44
2233
+ #: forms/wpdFormAttr/Field/DateField.php:44
2234
+ #: forms/wpdFormAttr/Field/NumberField.php:54
2235
+ #: forms/wpdFormAttr/Field/RadioField.php:48
2236
+ #: forms/wpdFormAttr/Field/RatingField.php:39
2237
+ #: forms/wpdFormAttr/Field/SelectField.php:48
2238
+ #: forms/wpdFormAttr/Field/TextAreaField.php:38
2239
+ #: forms/wpdFormAttr/Field/TextField.php:44
2240
+ #: forms/wpdFormAttr/Field/UrlField.php:44
2241
+ msgid "Meta Key"
2242
+ msgstr ""
2243
+
2244
+ #: forms/wpdFormAttr/Field/CheckboxField.php:52
2245
+ #: forms/wpdFormAttr/Field/ColorField.php:48
2246
+ #: forms/wpdFormAttr/Field/DateField.php:48
2247
+ #: forms/wpdFormAttr/Field/NumberField.php:58
2248
+ #: forms/wpdFormAttr/Field/RadioField.php:52
2249
+ #: forms/wpdFormAttr/Field/RatingField.php:43
2250
+ #: forms/wpdFormAttr/Field/SelectField.php:52
2251
+ #: forms/wpdFormAttr/Field/TextAreaField.php:42
2252
+ #: forms/wpdFormAttr/Field/TextField.php:48
2253
+ #: forms/wpdFormAttr/Field/UrlField.php:48
2254
+ msgid "Replace old meta key"
2255
+ msgstr ""
2256
+
2257
+ #: forms/wpdFormAttr/Field/CheckboxField.php:153
2258
+ #: forms/wpdFormAttr/Field/ColorField.php:115
2259
+ #: forms/wpdFormAttr/Field/DateField.php:115
2260
+ #: forms/wpdFormAttr/Field/NumberField.php:125
2261
+ #: forms/wpdFormAttr/Field/RadioField.php:130
2262
+ #: forms/wpdFormAttr/Field/RatingField.php:125
2263
+ #: forms/wpdFormAttr/Field/SelectField.php:125
2264
+ #: forms/wpdFormAttr/Field/TextAreaField.php:98
2265
+ #: forms/wpdFormAttr/Field/TextField.php:109
2266
+ #: forms/wpdFormAttr/Field/UrlField.php:110
2267
+ msgid "field is required!"
2268
+ msgstr ""
2269
+
2270
+ #: forms/wpdFormAttr/Field/ColorField.php:23
2271
+ #: forms/wpdFormAttr/Field/DateField.php:23
2272
+ #: forms/wpdFormAttr/Field/NumberField.php:33
2273
+ #: forms/wpdFormAttr/Field/RatingField.php:22
2274
+ #: forms/wpdFormAttr/Field/TextField.php:23
2275
+ #: forms/wpdFormAttr/Field/UrlField.php:23
2276
+ #: forms/wpdFormAttr/Field/DefaultField/Email.php:30
2277
+ #: forms/wpdFormAttr/Field/DefaultField/Name.php:29
2278
+ #: forms/wpdFormAttr/Field/DefaultField/Website.php:29
2279
+ msgid "Field icon"
2280
+ msgstr ""
2281
+
2282
+ #: forms/wpdFormAttr/Field/ColorField.php:26
2283
+ #: forms/wpdFormAttr/Field/DateField.php:26
2284
+ #: forms/wpdFormAttr/Field/NumberField.php:36
2285
+ #: forms/wpdFormAttr/Field/RatingField.php:25
2286
+ #: forms/wpdFormAttr/Field/TextField.php:26
2287
+ #: forms/wpdFormAttr/Field/UrlField.php:26
2288
+ #: forms/wpdFormAttr/Field/DefaultField/Email.php:33
2289
+ #: forms/wpdFormAttr/Field/DefaultField/Name.php:32
2290
+ #: forms/wpdFormAttr/Field/DefaultField/Website.php:32
2291
+ msgid "Font-awesome icon library."
2292
+ msgstr ""
2293
+
2294
+ #: forms/wpdFormAttr/Field/Field.php:52
2295
+ msgid " (Submit Button)"
2296
+ msgstr ""
2297
+
2298
+ #: forms/wpdFormAttr/Field/Field.php:54
2299
+ msgid " (CAPTCHA)"
2300
+ msgstr ""
2301
+
2302
+ #: forms/wpdFormAttr/Field/Field.php:87
2303
+ msgid "Add To Form"
2304
+ msgstr ""
2305
+
2306
+ #: forms/wpdFormAttr/Field/NumberField.php:22
2307
+ msgid "Min Value"
2308
+ msgstr ""
2309
+
2310
+ #: forms/wpdFormAttr/Field/NumberField.php:27
2311
+ msgid "Max Value"
2312
+ msgstr ""
2313
+
2314
+ #: forms/wpdFormAttr/Field/NumberField.php:129
2315
+ msgid "value can not be less than"
2316
+ msgstr ""
2317
+
2318
+ #: forms/wpdFormAttr/Field/NumberField.php:132
2319
+ msgid "value can not be more than"
2320
+ msgstr ""
2321
+
2322
+ #: forms/wpdFormAttr/Field/RadioField.php:30
2323
+ #: forms/wpdFormAttr/Field/SelectField.php:30
2324
+ msgid "New value new line"
2325
+ msgstr ""
2326
+
2327
+ #: forms/wpdFormAttr/html/admin-form-fields-list.php:7
2328
+ msgid "Comment Form Fields"
2329
+ msgstr ""
2330
+
2331
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:35
2332
+ msgid "Show for guests"
2333
+ msgstr ""
2334
+
2335
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:39
2336
+ msgid "Show for logged in users"
2337
+ msgstr ""
2338
+
2339
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:114
2340
+ msgid "Cannot create image file"
2341
+ msgstr ""
2342
+
2343
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:115
2344
+ msgid "Permission denied for file creation"
2345
+ msgstr ""
2346
+
2347
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:116
2348
+ msgid "PHP GD2 library is disabled"
2349
+ msgstr ""
2350
+
2351
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:117
2352
+ msgid "PNG image creation disabled"
2353
+ msgstr ""
2354
+
2355
+ #: forms/wpdFormAttr/Field/DefaultField/Captcha.php:124
2356
+ msgid "Insert the CAPTCHA code"
2357
+ msgstr ""
2358
+
2359
+ #: forms/wpdFormAttr/Field/DefaultField/Submit.php:20
2360
+ msgid "Button Text"
2361
+ msgstr ""
2362
+
2363
+ #: forms/wpdFormAttr/Field/DefaultField/Website.php:35
2364
+ msgid "Enable"
2365
+ msgstr ""
2366
+
2367
+ #. Name of the plugin
2368
+ msgid "wpDiscuz"
2369
+ msgstr ""
2370
+
2371
+ #. Description of the plugin
2372
+ msgid ""
2373
+ "Better comment system. Wordpress post comments and discussion plugin. Allows "
2374
+ "your visitors discuss, vote for comments and share."
2375
+ msgstr ""
2376
+
2377
+ #. URI of the plugin
2378
+ msgid "http://wpdiscuz.com/"
2379
+ msgstr ""
2380
+
2381
+ #. Author of the plugin
2382
+ msgid "gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)"
2383
+ msgstr ""
2384
+
2385
+ #. Author URI of the plugin
2386
+ msgid "https://gvectors.com/"
2387
+ msgstr ""
manager/class.WpdiscuzDBManager.php CHANGED
@@ -26,6 +26,14 @@ class WpdiscuzDBManager implements WpDiscuzConstants {
26
  $this->isMySQL57 = version_compare($this->db->db_version(), '5.7', '>=') ? true : false;
27
  }
28
 
 
 
 
 
 
 
 
 
29
  /**
30
  * create table in db on activation if not exists
31
  */
@@ -41,94 +49,36 @@ class WpdiscuzDBManager implements WpDiscuzConstants {
41
  dbDelta($sql);
42
  }
43
 
44
- if (!$this->isTableExists($this->avatarsCache)) {
45
- $sql = "CREATE TABLE `" . $this->avatarsCache . "`(`id` INT(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT 0, `user_email` VARCHAR(255) NOT NULL, `url` VARCHAR(255) NOT NULL, `hash` VARCHAR(255) NOT NULL, `maketime` INT(11) NOT NULL DEFAULT 0, `cached` TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), UNIQUE KEY `user_email` (`user_email`), KEY `url` (`url`), KEY `hash` (`hash`), KEY `maketime` (`maketime`), KEY `cached` (`cached`)) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
46
  dbDelta($sql);
47
  }
48
- $this->createEmailNotificationTable();
49
- }
50
 
51
- public function createAvatarsCacheTable() {
52
- $this->initDB();
53
- require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
54
  if (!$this->isTableExists($this->avatarsCache)) {
55
  $sql = "CREATE TABLE `" . $this->avatarsCache . "`(`id` INT(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT 0, `user_email` VARCHAR(255) NOT NULL, `url` VARCHAR(255) NOT NULL, `hash` VARCHAR(255) NOT NULL, `maketime` INT(11) NOT NULL DEFAULT 0, `cached` TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), UNIQUE KEY `user_email` (`user_email`), KEY `url` (`url`), KEY `hash` (`hash`), KEY `maketime` (`maketime`), KEY `cached` (`cached`)) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
56
  dbDelta($sql);
57
  }
58
  }
59
 
60
- /**
61
- * check if table exists in database
62
- * return true if exists false otherwise
63
- */
64
- public function isTableExists($tableName) {
65
- return $this->db->get_var("SHOW TABLES LIKE '$tableName'") == $tableName;
66
- }
67
-
68
  /**
69
  * creates subscription table if not exists
70
  */
71
  public function createEmailNotificationTable() {
 
72
  require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
73
- $oldNotificationTableNameV200 = $this->dbprefix . 'wc_email_notfication';
74
- $oldNotificationTableNameV214 = $this->dbprefix . 'wc_email_notify';
75
  if (!$this->isTableExists($this->emailNotification)) {
76
  $sql = "CREATE TABLE `" . $this->emailNotification . "`(`id` INT(11) NOT NULL AUTO_INCREMENT, `email` VARCHAR(255) NOT NULL, `subscribtion_id` INT(11) NOT NULL, `post_id` INT(11) NOT NULL, `subscribtion_type` VARCHAR(255) NOT NULL, `activation_key` VARCHAR(255) NOT NULL, `confirm` TINYINT DEFAULT 0, `subscription_date` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `subscribtion_id` (`subscribtion_id`), KEY `post_id` (`post_id`), KEY `confirm`(`confirm`), UNIQUE KEY `subscribe_unique_index` (`subscribtion_id`,`email`)) ENGINE=MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
77
  dbDelta($sql);
78
  }
79
-
80
- if ($this->isTableExists($oldNotificationTableNameV200)) {
81
- $this->saveNotificationDataV200($oldNotificationTableNameV200);
82
- }
83
-
84
- if ($this->isTableExists($oldNotificationTableNameV214)) {
85
- $this->saveNotificationDataV214($oldNotificationTableNameV214);
86
- }
87
  }
88
 
89
- /**
90
- * save old notification data from notification table v200 into new created table and drop old table
91
- */
92
- public function saveNotificationDataV200($oldNotificationTableName) {
93
- $sqlPostNotificationData = "SELECT * FROM `" . $oldNotificationTableName . "` WHERE `post_id` > 0;";
94
- $sqlCommentNotificationData = "SELECT * FROM `" . $oldNotificationTableName . "` WHERE `comment_id` > 0;";
95
- $postNotificationsData = $this->db->get_results($sqlPostNotificationData, ARRAY_A);
96
- $commentNotificationsData = $this->db->get_results($sqlCommentNotificationData, ARRAY_A);
97
- $insertedPostIds = array();
98
- foreach ($postNotificationsData as $pNotificationData) {
99
- $email = $pNotificationData['email'];
100
- $postId = $pNotificationData['post_id'];
101
- $insertedPostIds[] = $postId;
102
- $subscribtionType = "post";
103
- $activationKey = md5($email . uniqid() . time());
104
- $sqlAddOldPostNotification = "INSERT INTO `" . $this->emailNotification . "` (`email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`, `confirm`) VALUES('$email', $postId, $postId, '$subscribtionType', '$activationKey', '1');";
105
- $this->db->query($sqlAddOldPostNotification);
106
- }
107
-
108
- foreach ($commentNotificationsData as $cNotificationData) {
109
- $email = $cNotificationData['email'];
110
- $commentId = $cNotificationData['comment_id'];
111
- $comment = get_comment($commentId);
112
- if (!$this->wc_has_comment_notification($comment->comment_post_ID, $commentId, $email)) {
113
- $subscribtionType = "comment";
114
- $activationKey = md5($email . uniqid() . time());
115
- $sqlAddOldPostNotification = "INSERT INTO `" . $this->emailNotification . "` (`email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`, `confirm`) VALUES('$email', $commentId, $comment->comment_post_ID, '$subscribtionType', '$activationKey', '1');";
116
- $this->db->query($sqlAddOldPostNotification);
117
- }
118
  }
119
-
120
- $sqlDropOldNotificationTable = "DROP TABLE `" . $oldNotificationTableName . "`;";
121
- $this->db->query($sqlDropOldNotificationTable);
122
- }
123
-
124
- /**
125
- * save old notification data from notification table v214 into new created table and drop old table
126
- */
127
- public function saveNotificationDataV214($oldNotificationTableNameV214) {
128
- $sqlPostNotificationData = "INSERT INTO `" . $this->emailNotification . "` (`email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`, `confirm`) SELECT `email`, `subscribtion_id`, `post_id`, `subscribtion_type`, `activation_key`, '1' FROM " . $oldNotificationTableNameV214 . ";";
129
- $this->db->query($sqlPostNotificationData);
130
- $sqlDropOldNotificationTable = "DROP TABLE `" . $oldNotificationTableNameV214 . "`;";
131
- $this->db->query($sqlDropOldNotificationTable);
132
  }
133
 
134
  /**
@@ -240,6 +190,7 @@ class WpdiscuzDBManager implements WpDiscuzConstants {
240
  */
241
  public function getPostParentComments($args) {
242
  $commentParent = $args['is_threaded'] ? 'AND `comment_parent` = 0' : '';
 
243
  $condition = $this->getParentCommentsClauses($args);
244
  $limit = "";
245
  if (!$this->isMySQL57) {
@@ -247,13 +198,13 @@ class WpdiscuzDBManager implements WpDiscuzConstants {
247
  }
248
  if ($args['limit'] == 0) {
249
  $allParentCounts = count($this->getAllParentCommentCount($args['post_id'], $args['is_threaded']));
250
- $sqlComments = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d $condition $commentParent ORDER BY `comment_date_gmt` {$args['order']} LIMIT %d OFFSET %d", $args['post_id'], $allParentCounts, $args['offset']);
251
  } else if ($args['last_parent_id']) {
252
  $operator = ($args['order'] == 'asc') ? '>' : '<';
253
- $sqlComments = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d $condition $commentParent AND `comment_ID` $operator %d ORDER BY `comment_date_gmt` {$args['order']}, comment_ID {$args['order']} $limit", $args['post_id'], $args['last_parent_id']);
254
  } else {
255
- $sqlComments = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d $condition $commentParent ORDER BY `comment_date_gmt` {$args['order']}, comment_ID {$args['order']} $limit", $args['post_id']);
256
- }
257
  $data = $this->db->get_col($sqlComments);
258
  if (isset($args['limit']) && $args['limit'] != 0) {
259
  if ($this->isMySQL57) {
@@ -289,12 +240,13 @@ class WpdiscuzDBManager implements WpDiscuzConstants {
289
  */
290
  public function getPostVotedCommentIds($args) {
291
  $commentParent = $args['is_threaded'] ? 'AND `c`.`comment_parent` = 0' : '';
 
292
  $condition = $this->getParentCommentsClauses($args, '`c`.');
293
  if ($args['limit']) {
294
- $sqlPostVotedCommentIds = $this->db->prepare("SELECT `c`.`comment_ID` FROM `" . $this->dbprefix . "comments` AS `c` LEFT JOIN `" . $this->dbprefix . "commentmeta` AS `cm` ON `c`.`comment_ID` = `cm`.`comment_id` AND `cm`.`meta_key` = '" . self::META_KEY_VOTES . "' WHERE `c`.`comment_post_ID` = %d $condition $commentParent ORDER BY (`cm`.`meta_value`+0) desc, `c`.`comment_date_gmt` {$args['date_order']} LIMIT %d OFFSET %d", $args['post_id'], $args['limit'] + 1, $args['offset']);
295
  } else {
296
  $allParentCounts = count($this->getAllParentCommentCount($args['post_id'], $args['is_threaded']));
297
- $sqlPostVotedCommentIds = $this->db->prepare("SELECT `c`.`comment_ID` FROM `" . $this->dbprefix . "comments` AS `c` LEFT JOIN `" . $this->dbprefix . "commentmeta` AS `cm` ON `c`.`comment_ID` = `cm`.`comment_id` AND `cm`.`meta_key` = '" . self::META_KEY_VOTES . "' WHERE `c`.`comment_post_ID` = %d $condition $commentParent ORDER BY (`cm`.`meta_value`+0) desc, `c`.`comment_date_gmt` {$args['date_order']} LIMIT %d OFFSET %d", $args['post_id'], $allParentCounts, $args['offset']);
298
  }
299
  $data = $this->db->get_col($sqlPostVotedCommentIds);
300
  if (isset($args['limit']) && $args['limit'] != 0 && count($data) > $args['limit']) {
@@ -464,6 +416,19 @@ class WpdiscuzDBManager implements WpDiscuzConstants {
464
  return apply_filters('wpdiscuz_parent_comments_clauses', $s);
465
  }
466
 
 
 
 
 
 
 
 
 
 
 
 
 
 
467
  public function getVotes($commentId) {
468
  $sql = "SELECT IFNULL(SUM(`vote_type`), 0) FROM `" . $this->users_voted . "` WHERE `vote_type` = 1 AND `comment_id` = %d UNION SELECT IFNULL(SUM(`vote_type`), 0) FROM `" . $this->users_voted . "` WHERE `vote_type` = -1 AND `comment_id` = %d";
469
  $sql = $this->db->prepare($sql, $commentId, $commentId);
26
  $this->isMySQL57 = version_compare($this->db->db_version(), '5.7', '>=') ? true : false;
27
  }
28
 
29
+ /**
30
+ * check if table exists in database
31
+ * return true if exists false otherwise
32
+ */
33
+ public function isTableExists($tableName) {
34
+ return $this->db->get_var("SHOW TABLES LIKE '$tableName'");
35
+ }
36
+
37
  /**
38
  * create table in db on activation if not exists
39
  */
49
  dbDelta($sql);
50
  }
51
 
52
+ if (!$this->isTableExists($this->emailNotification)) {
53
+ $sql = "CREATE TABLE `" . $this->emailNotification . "`(`id` INT(11) NOT NULL AUTO_INCREMENT, `email` VARCHAR(255) NOT NULL, `subscribtion_id` INT(11) NOT NULL, `post_id` INT(11) NOT NULL, `subscribtion_type` VARCHAR(255) NOT NULL, `activation_key` VARCHAR(255) NOT NULL, `confirm` TINYINT DEFAULT 0, `subscription_date` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `subscribtion_id` (`subscribtion_id`), KEY `post_id` (`post_id`), KEY `confirm`(`confirm`), UNIQUE KEY `subscribe_unique_index` (`subscribtion_id`,`email`)) ENGINE=MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
54
  dbDelta($sql);
55
  }
 
 
56
 
 
 
 
57
  if (!$this->isTableExists($this->avatarsCache)) {
58
  $sql = "CREATE TABLE `" . $this->avatarsCache . "`(`id` INT(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT 0, `user_email` VARCHAR(255) NOT NULL, `url` VARCHAR(255) NOT NULL, `hash` VARCHAR(255) NOT NULL, `maketime` INT(11) NOT NULL DEFAULT 0, `cached` TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), UNIQUE KEY `user_email` (`user_email`), KEY `url` (`url`), KEY `hash` (`hash`), KEY `maketime` (`maketime`), KEY `cached` (`cached`)) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
59
  dbDelta($sql);
60
  }
61
  }
62
 
 
 
 
 
 
 
 
 
63
  /**
64
  * creates subscription table if not exists
65
  */
66
  public function createEmailNotificationTable() {
67
+ $this->initDB();
68
  require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
 
 
69
  if (!$this->isTableExists($this->emailNotification)) {
70
  $sql = "CREATE TABLE `" . $this->emailNotification . "`(`id` INT(11) NOT NULL AUTO_INCREMENT, `email` VARCHAR(255) NOT NULL, `subscribtion_id` INT(11) NOT NULL, `post_id` INT(11) NOT NULL, `subscribtion_type` VARCHAR(255) NOT NULL, `activation_key` VARCHAR(255) NOT NULL, `confirm` TINYINT DEFAULT 0, `subscription_date` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `subscribtion_id` (`subscribtion_id`), KEY `post_id` (`post_id`), KEY `confirm`(`confirm`), UNIQUE KEY `subscribe_unique_index` (`subscribtion_id`,`email`)) ENGINE=MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
71
  dbDelta($sql);
72
  }
 
 
 
 
 
 
 
 
73
  }
74
 
75
+ public function createAvatarsCacheTable() {
76
+ $this->initDB();
77
+ require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
78
+ if (!$this->isTableExists($this->avatarsCache)) {
79
+ $sql = "CREATE TABLE `" . $this->avatarsCache . "`(`id` INT(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT 0, `user_email` VARCHAR(255) NOT NULL, `url` VARCHAR(255) NOT NULL, `hash` VARCHAR(255) NOT NULL, `maketime` INT(11) NOT NULL DEFAULT 0, `cached` TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), UNIQUE KEY `user_email` (`user_email`), KEY `url` (`url`), KEY `hash` (`hash`), KEY `maketime` (`maketime`), KEY `cached` (`cached`)) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci AUTO_INCREMENT=1;";
80
+ dbDelta($sql);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  }
83
 
84
  /**
190
  */
191
  public function getPostParentComments($args) {
192
  $commentParent = $args['is_threaded'] ? 'AND `comment_parent` = 0' : '';
193
+ $typesNotIn = $this->getNotInCommentTypes($args);
194
  $condition = $this->getParentCommentsClauses($args);
195
  $limit = "";
196
  if (!$this->isMySQL57) {
198
  }
199
  if ($args['limit'] == 0) {
200
  $allParentCounts = count($this->getAllParentCommentCount($args['post_id'], $args['is_threaded']));
201
+ $sqlComments = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d $condition $commentParent $typesNotIn ORDER BY `comment_date_gmt` {$args['order']} LIMIT %d OFFSET %d", $args['post_id'], $allParentCounts, $args['offset']);
202
  } else if ($args['last_parent_id']) {
203
  $operator = ($args['order'] == 'asc') ? '>' : '<';
204
+ $sqlComments = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d $condition $commentParent $typesNotIn AND `comment_ID` $operator %d ORDER BY `comment_date_gmt` {$args['order']}, comment_ID {$args['order']} $limit", $args['post_id'], $args['last_parent_id']);
205
  } else {
206
+ $sqlComments = $this->db->prepare("SELECT `comment_ID` FROM `" . $this->dbprefix . "comments` WHERE `comment_post_ID` = %d $condition $commentParent $typesNotIn ORDER BY `comment_date_gmt` {$args['order']}, comment_ID {$args['order']} $limit", $args['post_id']);
207
+ }
208
  $data = $this->db->get_col($sqlComments);
209
  if (isset($args['limit']) && $args['limit'] != 0) {
210
  if ($this->isMySQL57) {
240
  */
241
  public function getPostVotedCommentIds($args) {
242
  $commentParent = $args['is_threaded'] ? 'AND `c`.`comment_parent` = 0' : '';
243
+ $typesNotIn = $this->getNotInCommentTypes($args, '`c`.');
244
  $condition = $this->getParentCommentsClauses($args, '`c`.');
245
  if ($args['limit']) {
246
+ $sqlPostVotedCommentIds = $this->db->prepare("SELECT `c`.`comment_ID` FROM `" . $this->dbprefix . "comments` AS `c` LEFT JOIN `" . $this->dbprefix . "commentmeta` AS `cm` ON `c`.`comment_ID` = `cm`.`comment_id` AND `cm`.`meta_key` = '" . self::META_KEY_VOTES . "' WHERE `c`.`comment_post_ID` = %d $condition $commentParent $typesNotIn ORDER BY (`cm`.`meta_value`+0) desc, `c`.`comment_date_gmt` {$args['date_order']} LIMIT %d OFFSET %d", $args['post_id'], $args['limit'] + 1, $args['offset']);
247
  } else {
248
  $allParentCounts = count($this->getAllParentCommentCount($args['post_id'], $args['is_threaded']));
249
+ $sqlPostVotedCommentIds = $this->db->prepare("SELECT `c`.`comment_ID` FROM `" . $this->dbprefix . "comments` AS `c` LEFT JOIN `" . $this->dbprefix . "commentmeta` AS `cm` ON `c`.`comment_ID` = `cm`.`comment_id` AND `cm`.`meta_key` = '" . self::META_KEY_VOTES . "' WHERE `c`.`comment_post_ID` = %d $condition $commentParent $typesNotIn ORDER BY (`cm`.`meta_value`+0) desc, `c`.`comment_date_gmt` {$args['date_order']} LIMIT %d OFFSET %d", $args['post_id'], $allParentCounts, $args['offset']);
250
  }
251
  $data = $this->db->get_col($sqlPostVotedCommentIds);
252
  if (isset($args['limit']) && $args['limit'] != 0 && count($data) > $args['limit']) {
416
  return apply_filters('wpdiscuz_parent_comments_clauses', $s);
417
  }
418
 
419
+ private function getNotInCommentTypes($args, $alias = '') {
420
+ $commentTypesNotIn = array();
421
+ $types = '';
422
+ if (isset($args['type__not_in']) && is_array($args['type__not_in'])) {
423
+ foreach ($args['type__not_in'] as $type) {
424
+ $commentTypesNotIn[] = $this->db->prepare('%s', $type);
425
+ }
426
+ $types = implode(',', $commentTypesNotIn);
427
+ }
428
+ $typesNotIn = $types ? "AND $alias`comment_type` NOT IN ($types)" : "";
429
+ return $typesNotIn;
430
+ }
431
+
432
  public function getVotes($commentId) {
433
  $sql = "SELECT IFNULL(SUM(`vote_type`), 0) FROM `" . $this->users_voted . "` WHERE `vote_type` = 1 AND `comment_id` = %d UNION SELECT IFNULL(SUM(`vote_type`), 0) FROM `" . $this->users_voted . "` WHERE `vote_type` = -1 AND `comment_id` = %d";
434
  $sql = $this->db->prepare($sql, $commentId, $commentId);
options/addons/al/content.php ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+
6
+ if (!$isAlExists) {
7
+ ?>
8
+ <div style="width:100%;">
9
+ <h3 style="padding:5px 10px 10px 10px; margin:0px; text-align:right; border-bottom:1px solid #ddd; max-width:60%; margin:0px 0px 20px auto; font-weight:normal;">
10
+ Addon - Advanced Likers Settings
11
+ </h3>
12
+ <p style="border: 1px dotted #07B290; padding: 15px; font-size: 14px; text-align: center; margin: 10px; background: #EFFFF5">
13
+ wpDiscuz Advanced Likers addon allows to see comment likers and voters. Adds user reputation and badges based on received likes.
14
+ This is a demo admin page of the wpDiscuz Advanced Likers addon. You can buy this addon on gVectors Team Store.
15
+ <br>
16
+ <a href="https://gvectors.com/product/wpdiscuz-advanced-likers/" target="_blank"
17
+ style="padding: 6px 15px; background: #07B290; color: #fff; display: inline-block; margin: 15px 5px 5px 5px;">
18
+ Addon Details and Screenshots &raquo;</a>
19
+ </p>
20
+ <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none; opacity: 0.6;">
21
+ <tbody>
22
+ <tr valign="top">
23
+ <th style="width:50%;">
24
+ <span class="wpdiscuz-option-title">
25
+ Display avatars on quick list of likers pop-up </span>
26
+
27
+ </th>
28
+ <td>
29
+ <label>
30
+ <input name="" value="yes" checked="" type="radio"> yes </label>
31
+ &nbsp;&nbsp;&nbsp;
32
+ <label>
33
+ <input name="" value="no" type="radio"> no </label>
34
+
35
+ </td>
36
+ </tr>
37
+ <tr valign="top">
38
+ <th>
39
+ <span class="wpdiscuz-option-title">
40
+ Real time </span>
41
+
42
+ </th>
43
+ <td>
44
+ <label>
45
+ <input name="" checked="" value="yes" type="radio"> yes </label>
46
+ &nbsp;&nbsp;&nbsp;
47
+ <label>
48
+ <input name="" value="no" type="radio"> no </label>
49
+
50
+ </td>
51
+ </tr>
52
+ <tr valign="top">
53
+ <th>
54
+ <span class="wpdiscuz-option-title">
55
+ View all </span>
56
+
57
+ </th>
58
+ <td>
59
+ <label>
60
+ <input class="wv-read-more-yes" name="" checked="" value="yes" type="radio"> yes </label>
61
+ &nbsp;&nbsp;&nbsp;
62
+ <label>
63
+ <input name="" value="no" type="radio"> no </label>
64
+
65
+ </td>
66
+ </tr>
67
+ <tr class="wv-all-get-avatar" valign="top">
68
+ <th>
69
+ <span class="wpdiscuz-option-title">
70
+ Display avatars on full likers list </span>
71
+
72
+ </th>
73
+ <td>
74
+ <label>
75
+ <input name="" class="wv-get-avatars-yes" checked="" value="yes" type="radio"> yes </label>
76
+ &nbsp;&nbsp;&nbsp;
77
+ <label>
78
+ <input name="" value="no" type="radio"> no </label>
79
+
80
+ </td>
81
+ </tr>
82
+ <tr class="wv_avatar_style" style="display: table-row;" valign="top">
83
+ <th>
84
+ <span class="wpdiscuz-option-title">
85
+ Avatar size </span>
86
+
87
+ </th>
88
+ <td>
89
+ <input name="" max="120" min="24" value="64" id="avatar-size" oninput="amount.value=wv_avatar_size.value" type="range">
90
+ <output name="" for="avatar-size">
91
+ 64 </output>
92
+ px &nbsp;&nbsp;&nbsp;
93
+ </td>
94
+ </tr>
95
+ <tr valign="top">
96
+ <th>
97
+ <span class="wpdiscuz-option-title">
98
+ Max number of likers on pop-up window </span>
99
+
100
+ </th>
101
+ <td>
102
+ <input class="wv-counts" max="25" min="2" name="" value="8" type="number">
103
+ </td>
104
+ </tr>
105
+ <tr valign="top">
106
+ <th colspan="2">
107
+ <div style="margin-bottom:15px;">
108
+ <span class="wpdiscuz-option-title">
109
+ Comment Author Rating and Badge </span>
110
+
111
+ </div>
112
+ <style>
113
+ .wv_level_box {
114
+ border: 1px solid #ccc;
115
+ padding: 5px;
116
+ width: 19%;
117
+ margin-right: 1%;
118
+ float: left;
119
+ box-sizing: border-box;
120
+ }
121
+
122
+ .wv_level_box i {
123
+ font-size: 22px;
124
+ }
125
+
126
+ .wv_level_box input[type="text"] {
127
+ width: 100%;
128
+ font-size: 11px;
129
+ }
130
+
131
+ .wv_level_box input[type="number"] {
132
+ width: 100%;
133
+ font-size: 11px;
134
+ box-sizing: border-box;
135
+ }
136
+
137
+ .wv_level_box div {
138
+ padding: 5px;
139
+ border-bottom: 1px dotted #ccc;
140
+ line-height: 25px;
141
+ }
142
+ </style>
143
+ <div style="width:100%;">
144
+ <div class="wv_level_box">
145
+ <div style="text-align:center;"><i class="fa fa-user" aria-hidden="true" style="color:#0CD85D"></i>
146
+ </div>
147
+ <div>
148
+ <input placeholder="Total Votes" name="" value="5" type="number">
149
+ <p style="font-size:12px; color:#999; margin:0px;">Total count of votes</p>
150
+ </div>
151
+ <div><input placeholder="Badge Icon" name="" value="fa-user" type="text"> <label><input name="" value="1" checked="" type="checkbox"> Enable</label>
152
+ </div>
153
+ <div><input placeholder="Custom Label" name="" value="Member" type="text"> <label><input name="" value="1" checked="" type="checkbox"> Enable</label>
154
+ </div>
155
+ </div>
156
+ <div class="wv_level_box">
157
+ <div style="text-align:center;"><i class="fa fa-star" aria-hidden="true" style="color:#E5D600"></i>
158
+ </div>
159
+ <div>
160
+ <input placeholder="Total Votes" name="" value="10" type="number">
161
+ <p style="font-size:12px; color:#999; margin:0px;">Total count of votes</p>
162
+ </div>
163
+ <div><input placeholder="Badge Icon" name="" value="fa-star" type="text"> <label><input name="" value="1" checked="" type="checkbox"> Enable</label>
164
+ </div>
165
+ <div><input placeholder="Custom Label" name="" value="Active Member" type="text"> <label><input name="" value="1" checked="" type="checkbox"> Enable</label>
166
+ </div>
167
+ </div>
168
+ <div class="wv_level_box">
169
+ <div style="text-align:center;"><i class="fa fa-certificate" aria-hidden="true" style="color:#FF812D"></i>
170
+ </div>
171
+ <div>
172
+ <input placeholder="Total Votes" name="" value="50" type="number">
173
+ <p style="font-size:12px; color:#999; margin:0px;">Total count of votes</p>
174
+ </div>
175
+ <div><input placeholder="Badge Icon" name="" value="fa-certificate" type="text"> <label><input name="" value="1" checked="" type="checkbox"> Enable</label>
176
+ </div>
177
+ <div><input placeholder="Custom Label" name="" value="Trusted Member" type="text"> <label><input name="" value="1" checked="" type="checkbox"> Enable</label>
178
+ </div>
179
+ </div>
180
+ <div class="wv_level_box">
181
+ <div style="text-align:center;"><i class="fa fa-shield" aria-hidden="true" style="color:#43A6DF"></i>
182
+ </div>
183
+ <div>
184
+ <input placeholder="Total Votes" name="" value="100" type="number">
185
+ <p style="font-size:12px; color:#999; margin:0px;">Total count of votes</p>
186
+ </div>
187
+ <div><input placeholder="Badge Icon" name="" value="fa-shield" type="text"> <label><input name="" value="1" checked="" type="checkbox"> Enable</label>
188
+ </div>
189
+ <div><input placeholder="Custom Label" name="" value="Noble Member" type="text"> <label><input name="" value="1" checked="" type="checkbox"> Enable</label>
190
+ </div>
191
+ </div>
192
+ <div class="wv_level_box">
193
+ <div style="text-align:center;"><i class="fa fa-trophy" aria-hidden="true" style="color:#E04A47;"></i>
194
+ </div>
195
+ <div>
196
+ <input placeholder="Total Votes" name="" value="500" type="number">
197
+ <p style="font-size:12px; color:#999; margin:0px;">Total count of votes</p>
198
+ </div>
199
+ <div><input placeholder="Badge Icon" name="" value="fa-trophy" type="text"> <label><input name="" value="1" checked="" type="checkbox"> Enable</label>
200
+ </div>
201
+ <div><input placeholder="Custom Label" name="" value="Famed Member" type="text"> <label><input name="" value="1" checked="" type="checkbox"> Enable</label>
202
+ </div>
203
+ </div>
204
+ <div style="clear:both;"></div>
205
+ </div>
206
+
207
+ </th>
208
+ </tr>
209
+ <tr sqope="row">
210
+ <td colspan="2">
211
+ <h3 style="padding:5px 10px 10px 10px; margin:0px;">Background and Colors</h3>
212
+ </td>
213
+ </tr>
214
+ <tr valign="top">
215
+ <th>
216
+ <span class="wpdiscuz-option-title">
217
+ Likers pop-up background color </span>
218
+
219
+ </th>
220
+ <td>
221
+ <input class="wpdiscuz-color-picker regular-text" value="#FDFDFD" id="voters_background_color" name="" placeholder="Example: #00FF00" style="background-color: rgb(253, 253, 253); color: rgb(34, 34, 34);" type="text">
222
+ <!--<label-->
223
+ </td>
224
+ </tr>
225
+ <tr valign="top">
226
+ <th>
227
+ <span class="wpdiscuz-option-title">
228
+ Likers pop-up border color </span>
229
+
230
+ </th>
231
+ <td>
232
+ <input class="wpdiscuz-color-picker regular-text" value="#000" id="voters_border_color" name="" placeholder="Example: #00FF00" style="background-color: rgb(0, 0, 0); color: rgb(221, 221, 221);" type="text">
233
+ </td>
234
+ </tr>
235
+ <!--
236
+ <tr valign="top">
237
+ <th >
238
+ <span class="wpdiscuz-option-title">
239
+ Vote like default color </span>
240
+ </th>
241
+ <td>
242
+ <input type="text" class="wpdiscuz-color-picker regular-text" value="#666" id="voters_background_color" name="" placeholder="Example: #00FF00">
243
+ </td>
244
+ </tr>
245
+ <tr valign="top">
246
+ <th >
247
+ <span class="wpdiscuz-option-title">
248
+ Vote dislike default color </span>
249
+ </th>
250
+ <td>
251
+ <input type="text" class="wpdiscuz-color-picker regular-text" value="#666" id="voters_background_color" name="" placeholder="Example: #00FF00">
252
+ </td>
253
+ </tr>
254
+ -->
255
+ <tr valign="top">
256
+ <th>
257
+ <span class="wpdiscuz-option-title">Like icon color</span>
258
+ </th>
259
+ <td>
260
+ <input class="wpdiscuz-color-picker regular-text" value="#00bc74" id="voters_background_color" name="" placeholder="Example: #00FF00" style="background-color: rgb(0, 188, 116); color: rgb(34, 34, 34);" type="text">
261
+ </td>
262
+ </tr>
263
+ <tr valign="top">
264
+ <th>
265
+ <span class="wpdiscuz-option-title">Dislike icon color</span>
266
+ </th>
267
+ <td>
268
+ <input class="wpdiscuz-color-picker regular-text" value="#ff5959" id="voters_background_color" name="" placeholder="Example: #00FF00" style="background-color: rgb(255, 89, 89); color: rgb(34, 34, 34);" type="text">
269
+ </td>
270
+ </tr>
271
+ <tr valign="top">
272
+ <th>
273
+ <span class="wpdiscuz-option-title">Vote result like color</span>
274
+ </th>
275
+ <td>
276
+ <input class="wpdiscuz-color-picker regular-text" value="#FFF" id="voters_background_color" name="" placeholder="Example: #00FF00" style="background-color: rgb(255, 255, 255); color: rgb(34, 34, 34);" type="text">
277
+ </td>
278
+ </tr>
279
+ <tr valign="top">
280
+ <th>
281
+ <span class="wpdiscuz-option-title">Vote result dislike color</span>
282
+ </th>
283
+ <td>
284
+ <input class="wpdiscuz-color-picker regular-text" value="#FFF" id="voters_background_color" name="" placeholder="Example: #00FF00" style="background-color: rgb(255, 255, 255); color: rgb(34, 34, 34);" type="text">
285
+ </td>
286
+ </tr>
287
+ </tbody>
288
+ </table>
289
+ </div>
290
+ <?php
291
+ }
options/addons/al/index.html ADDED
File without changes
options/addons/al/title.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+ if (!$isAlExists) {
6
+ ?>
7
+ <li><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/demo.png'); ?>" style="vertical-align:bottom;" /> &nbsp; <?php _e('Advanced Likers', 'wpdiscuz'); ?></li>
8
+ <?php
9
+ }
options/addons/cai/content.php ADDED
@@ -0,0 +1,268 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('ABSPATH')) {
4
+ exit();
5
+ }
6
+
7
+ if (!$isCaiExists) {
8
+ ?>
9
+ <style>
10
+ .wcai-options * {
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ .wcai-options td,
15
+ .wcai-options th {
16
+ padding:2px 5px;
17
+ }
18
+
19
+ .wcai-options .wcai-chk-group, .wcai-options .wcai-input-group{
20
+ float: left;
21
+ display: inline-block;
22
+ padding: 5px 0;
23
+ margin-left: 3px;
24
+ overflow: hidden;
25
+ line-height: 20px;
26
+ }
27
+ .wcai-options .wcai-chk-switch {
28
+ display: none;
29
+ margin: 0;
30
+ vertical-align: middle;
31
+ }
32
+ .wcai-options .wcai-chk-switch-label {
33
+ /*margin-left:5px;*/
34
+ white-space:nowrap;
35
+ padding: 3px 6px;
36
+ color: #fff;
37
+ border: 1px solid #aeaeae;
38
+ border-radius: 3px;
39
+ width: 100%;
40
+ text-align: center;
41
+ display: block;
42
+ cursor: pointer;
43
+ }
44
+ .wcai-options .wcai-chk-switch-on {
45
+ background: #00b38f;
46
+ }
47
+ .wcai-options .wcai-chk-switch-on:not(.wcai-actions-disabled):hover {
48
+ background: #00c49c;
49
+ }
50
+ .wcai-options .wcai-chk-switch-off {
51
+ background: #ca3c3c;
52
+ }
53
+ .wcai-options .wcai-chk-switch-off:not(.wcai-actions-disabled):hover {
54
+ background: #d44949;
55
+ }
56
+
57
+ .wcai-options .wcai-input-field {
58
+ margin: 0;
59
+ padding: 3px 5px;
60
+ }
61
+ .wcai-options .w1{width:1%;}.wcai-options .w2{width:2%;}.wcai-options .w3{width:3%;}.wcai-options .w5{width:4%;}.wcai-options .w5{width:5%;}.wcai-options .w6{width:6%;}.wcai-options .w7{width:7%;}.wcai-options .w8{width:8%;}.wcai-options .w9{width:9%;}.wcai-options .w10{width:10%;}.wcai-options .w11{width:11%;}.wcai-options .w12{width:12%;}.wcai-options .w13{width:13%;}.wcai-options .w14{width:14%;}.wcai-options .w15{width:15%;}.wcai-options .w16{width:16%;}.wcai-options .w17{width:17%;}.wcai-options .w18{width:19%;}.wcai-options .w20{width:20%;}.wcai-options .w21{width:21%;}.wcai-options .w22{width:22%;}.wcai-options .w23{width:23%;}.wcai-options .w24{width:24%;}.wcai-options .w25{width:25%;}.wcai-options .w26{width:26%;}.wcai-options .w27{width:27%;}.wcai-options .w28{width:28%;}.wcai-options .w29{width:29%;}.wcai-options .w30{width:30%;}.wcai-options .w31{width:31%;}.wcai-options .w32{width:32%;}.wcai-options .w33{width:33%;}.wcai-options .w34{width:34%;}.wcai-options .w35{width:35%;}.wcai-options .w36{width:36%;}.wcai-options .w37{width:37%;}.wcai-options .w38{width:38%;}.wcai-options .w39{width:39%;}.wcai-options .w40{width:40%;}.wcai-options .w41{width:41%;}.wcai-options .w42{width:42%;}.wcai-options .w43{width:43%;}.wcai-options .w44{width:44%;}.wcai-options .w45{width:45%;}.wcai-options .w46{width:46%;}.wcai-options .w47{width:47%;}.wcai-options .w48{width:48%;}.wcai-options .w49{width:49%;}.wcai-options .w50{width:50%;}.wcai-options .w51{width:51%;}.wcai-options .w52{width:52%;}.wcai-options .w53{width:53%;}.wcai-options .w54{width:54%;}.wcai-options .w55{width:55%;}.wcai-options .w56{width:56%;}.wcai-options .w57{width:57%;}.wcai-options .w58{width:58%;}.wcai-options .w59{width:59%;}.wcai-options .w60{width:60%;}.wcai-options .w61{width:61%;}.wcai-options .w62{width:62%;}.wcai-options .w63{width:63%;}.wcai-options .w64{width:64%;}.wcai-options .w65{width:65%;}.wcai-options .w66{width:66%;}.wcai-options .w67{width:67%;}.wcai-options .w68{width:68%;}.wcai-options .w69{width:69%;}.wcai-options .w70{width:70%;}.wcai-options .w71{width:71%;}.wcai-options .w72{width:72%;}.wcai-options .w73{width:73%;}.wcai-options .w74{width:74%;}.wcai-options .w75{width:75%;}.wcai-options .w76{width:76%;}.wcai-options .w77{width:77%;}.wcai-options .w78{width:78%;}.wcai-options .w79{width:79%;}.wcai-options .w80{width:80%;}.wcai-options .w81{width:81%;}.wcai-options .w82{width:82%;}.wcai-options .w83{width:83%;}.wcai-options .w84{width:84%;}.wcai-options .w85{width:85%;}.wcai-options .w86{width:86%;}.wcai-options .w87{width:87%;}.wcai-options .w88{width:88%;}.wcai-options .w89{width:89%;}.wcai-options .w90{width:90%;}.wcai-options .w91{width:91%;}.wcai-options .w92{width:92%;}.wcai-options .w93{width:93%;}.wcai-options .w94{width:94%;}.wcai-options .w95{width:95%;}.wcai-options .w96{width:96%;}.wcai-options .w97{width:97%;}.wcai-options .w98{width:98%;}.wcai-options .w99{width:99%;}.wcai-options .w100{width:100%;}
62
+ .wcai-options .wcai-description {color: #858585; margin: 2px 0px; font-weight: normal;}
63
+ .wcai-options .wcai-note{color: #c74a4a;}
64
+ .wcai-options .wcai-clearfix{clear: both;}
65
+ .wcai-options .wcai-show{display: block;}
66
+ .wcai-options .wcai-show-tr{display: table-row;}
67
+ .wcai-options .wcai-hide{display: none;}
68
+ </style>
69
+ <div style="width:100%;">
70
+ <h3 style="padding:5px 10px 10px 10px; margin:0px; text-align:right; border-bottom:1px solid #ddd; max-width:60%; margin:0px 0px 20px auto; font-weight:normal;">
71
+ Addon - Comment Author Info
72
+ </h3>
73
+ <p style="border: 1px dotted #07B290; padding: 15px; font-size: 14px; text-align: center; margin: 10px; background: #EFFFF5">
74
+ wpDiscuz Comment Author Info addon displays an extended information about comment author with Profile, Activity, Votes and Subscriptions Tabs on pop-up window.
75
+ This is a demo admin page of the wpDiscuz Comment Author Info addon. You can buy this addon on gVectors Team Store.
76
+ <br>
77
+ <a href="https://gvectors.com/product/wpdiscuz-comment-author-info/" target="_blank"
78
+ style="padding: 6px 15px; background: #07B290; color: #fff; display: inline-block; margin: 15px 5px 5px 5px;">
79
+ Addon Details and Screenshots &raquo;</a>
80
+ </p>
81
+ <table class="widefat wcai-options" style="margin-top:10px; border:none; width:100%; opacity: 0.6">
82
+ <tbody>
83
+ <tr>
84
+ <th class="w48">Comment Author Tabs</th>
85
+ <td>
86
+ <div class="wcai-chk-group w24">
87
+ <input checked="checked" value="profile" name="" id="wcai-profile" class="wcai-chk-switch" type="checkbox">
88
+ <label for="wcai-profile" class="wcai-chk-switch-label wcai-chk-switch-on">Profile</label>
89
+ </div>
90
+ <div class="wcai-chk-group w24">
91
+ <input checked="checked" value="activity" name="" id="wcai-activity" class="wcai-chk-switch" type="checkbox">
92
+ <label for="wcai-activity" class="wcai-chk-switch-label wcai-chk-switch-on">Activity</label>
93
+ </div>
94
+ <div class="wcai-chk-group w24">
95
+ <input checked="checked" value="votes" name="" id="wcai-votes" class="wcai-chk-switch" type="checkbox">
96
+ <label for="wcai-votes" class="wcai-chk-switch-label wcai-chk-switch-on">Votes</label>
97
+ </div>
98
+ <div class="wcai-chk-group w24">
99
+ <input checked="checked" value="subscriptions" name="" id="wcai-subscriptions" class="wcai-chk-switch" type="checkbox">
100
+ <label for="wcai-subscriptions" class="wcai-chk-switch-label wcai-chk-switch-on">Subscriptions</label>
101
+ </div>
102
+ <div class="wcai-clearfix"></div>
103
+ </td>
104
+ </tr>
105
+ <tr>
106
+ <th class="w48">Display comment author information for user roles</th>
107
+ <td>
108
+ <div class="wcai-chk-group w24">
109
+ <input checked="checked" value="administrator" name="" id="wcai-administrator" class="wcai-chk-switch" type="checkbox">
110
+ <label for="wcai-administrator" class="wcai-chk-switch-label wcai-chk-switch-on">Administrator</label>
111
+ </div>
112
+ <div class="wcai-chk-group w24">
113
+ <input checked="checked" value="editor" name="" id="wcai-editor" class="wcai-chk-switch" type="checkbox">
114
+ <label for="wcai-editor" class="wcai-chk-switch-label wcai-chk-switch-on">Editor</label>
115
+ </div>
116
+ <div class="wcai-chk-group w24">
117
+ <input checked="checked" value="author" name="" id="wcai-author" class="wcai-chk-switch" type="checkbox">
118
+ <label for="wcai-author" class="wcai-chk-switch-label wcai-chk-switch-on">Author</label>
119
+ </div>
120
+ <div class="wcai-chk-group w24">
121
+ <input checked="checked" value="contributor" name="" id="wcai-contributor" class="wcai-chk-switch" type="checkbox">
122
+ <label for="wcai-contributor" class="wcai-chk-switch-label wcai-chk-switch-on">Contributor</label>
123
+ </div>
124
+ <div class="wcai-chk-group w24">
125
+ <input checked="checked" value="subscriber" name="" id="wcai-subscriber" class="wcai-chk-switch" type="checkbox">
126
+ <label for="wcai-subscriber" class="wcai-chk-switch-label wcai-chk-switch-on">Subscriber</label>
127
+ </div>
128
+ <div class="wcai-chk-group w24">
129
+ <input value="customer" name="" id="wcai-customer" class="wcai-chk-switch" type="checkbox">
130
+ <label for="wcai-customer" class="wcai-chk-switch-label wcai-chk-switch-off">Customer</label>
131
+ </div>
132
+ <div class="wcai-chk-group w24">
133
+ <input value="shop_manager" name="" id="wcai-shop_manager" class="wcai-chk-switch" type="checkbox">
134
+ <label for="wcai-shop_manager" class="wcai-chk-switch-label wcai-chk-switch-off">Shop manager</label>
135
+ </div>
136
+ <div class="wcai-clearfix"></div>
137
+ </td>
138
+ </tr>
139
+ <tr>
140
+ <th class="w48"><label for="wcai-showForGuests">Display comment author information for guests</label>
141
+ </th>
142
+ <td>
143
+ <div class="wcai-chk-group w24">
144
+ <input checked="checked" value="1" name="" id="wcai-showForGuests" class="wcai-chk-switch" type="checkbox">
145
+ <label for="wcai-showForGuests" class="wcai-chk-switch-label wcai-chk-single wcai-chk-switch-on">Yes</label>
146
+ </div>
147
+ </td>
148
+ </tr>
149
+ <tr>
150
+ <th class="w48"><label for="wcai-shortInfoOnAvatarHover">Display comment author short information on avatar hover</label>
151
+ </th>
152
+ <td>
153
+ <div class="wcai-chk-group w24">
154
+ <input checked="checked" value="1" name="" id="wcai-shortInfoOnAvatarHover" class="wcai-chk-switch" type="checkbox">
155
+ <label for="wcai-shortInfoOnAvatarHover" class="wcai-chk-switch-label wcai-chk-single wcai-chk-switch-on">Yes</label>
156
+ </div>
157
+ </td>
158
+ </tr>
159
+ <tr>
160
+ <th class="w48"><label for="wcai-fullInfoOnUsernameClick">Display comment author full information on username click</label>
161
+ </th>
162
+ <td>
163
+ <div class="wcai-chk-group w24">
164
+ <input checked="checked" value="1" name="" id="wcai-fullInfoOnUsernameClick" class="wcai-chk-switch" type="checkbox">
165
+ <label for="wcai-fullInfoOnUsernameClick" class="wcai-chk-switch-label wcai-chk-single wcai-chk-switch-on">Yes</label>
166
+ </div>
167
+ </td>
168
+ </tr>
169
+ <tr>
170
+ <th class="w48">
171
+ <h3>Profile Information</h3>
172
+ </th>
173
+ <td></td>
174
+ </tr>
175
+ <tr>
176
+ <th class="w48"><label for="wcai-profileShowDisplayName">Display Name</label>
177
+ </th>
178
+ <td>
179
+ <div class="wcai-chk-group w24">
180
+ <input checked="checked" value="1" name="" id="wcai-profileShowDisplayName" class="wcai-chk-switch" type="checkbox">
181
+ <label for="wcai-profileShowDisplayName" class="wcai-chk-switch-label wcai-chk-single wcai-chk-switch-on">Yes</label>
182
+ </div>
183
+ </td>
184
+ </tr>
185
+ <tr>
186
+ <th class="w48">
187
+ <label for="wcai-profileShowNickName">Display Nickname</label>
188
+ </th>
189
+ <td>
190
+ <div class="wcai-chk-group w24">
191
+ <input checked="checked" value="1" name="" id="wcai-profileShowNickName" class="wcai-chk-switch" type="checkbox">
192
+ <label for="wcai-profileShowNickName" class="wcai-chk-switch-label wcai-chk-single wcai-chk-switch-on">Yes</label>
193
+ </div>
194
+ </td>
195
+ </tr>
196
+ <tr>
197
+ <th class="w48"><label for="wcai-profileShowBio">Display Comment Author Biography</label>
198
+ </th>
199
+ <td>
200
+ <div class="wcai-chk-group w24">
201
+ <input checked="checked" value="1" name="" id="wcai-profileShowBio" class="wcai-chk-switch" type="checkbox">
202
+ <label for="wcai-profileShowBio" class="wcai-chk-switch-label wcai-chk-single wcai-chk-switch-on">Yes</label>
203
+ </div>
204
+ </td>
205
+ </tr>
206
+ <tr>
207
+ <th class="w48"><label for="wcai-profileShowWebUrl">Display Website</label>
208
+ </th>
209
+ <td>
210
+ <div class="wcai-chk-group w24">
211
+ <input checked="checked" value="1" name="" id="wcai-profileShowWebUrl" class="wcai-chk-switch" type="checkbox">
212
+ <label for="wcai-profileShowWebUrl" class="wcai-chk-switch-label wcai-chk-single wcai-chk-switch-on">Yes</label>
213
+ </div>
214
+ </td>
215
+ </tr>
216
+ <tr>
217
+ <th class="w48">
218
+ <label for="wcai-profileShowStatistics">Display Comment Statistics</label>
219
+ <p class="howto wcai-description">This information is available for admins only</p>
220
+ </th>
221
+ <td>
222
+ <div class="wcai-chk-group w24">
223
+ <input checked="checked" value="1" name="" id="wcai-profileShowStatistics" class="wcai-chk-switch" type="checkbox">
224
+ <label for="wcai-profileShowStatistics" class="wcai-chk-switch-label wcai-chk-single wcai-chk-switch-on">Yes</label>
225
+ </div>
226
+ </td>
227
+ </tr>
228
+ <tr>
229
+ <th class="w48">
230
+ <label for="wcai-profileShowMycredData">Display MyCRED Information</label>
231
+ <p class="howto wcai-description">User Badges and Rank</p>
232
+ </th>
233
+ <td>
234
+ <div class="wcai-chk-group w24">
235
+ <input checked="checked" value="1" name="" id="wcai-profileShowMycredData" class="wcai-chk-switch" type="checkbox">
236
+ <label for="wcai-profileShowMycredData" class="wcai-chk-switch-label wcai-chk-single wcai-chk-switch-on">Yes</label>
237
+ </div>
238
+ </td>
239
+ </tr>
240
+ <tr>
241
+ <th class="w48"><label for="wcai-perPage">Pagination items per page</label>
242
+ </th>
243
+ <td>
244
+ <div class="wcai-input-group">
245
+ <input value="5" name="" id="wcai-perPage" class="wcai-input-field" type="number">
246
+ </div>
247
+ </td>
248
+ </tr>
249
+ <tr>
250
+ <td colspan="2" style="text-align:right; padding:5px;">
251
+ <div class="wcai-chk-group w10" style="float:right;">
252
+ <input class="wcai-chk-switch" disabled="disabled" type="checkbox">
253
+ <label class="wcai-chk-switch-label wcai-chk-switch-on wcai-actions-disabled">Enabled</label>
254
+ </div>
255
+ <div class="wcai-chk-group w10" style="float:right;">
256
+ <input class="wcai-chk-switch" disabled="disabled" type="checkbox">
257
+ <label class="wcai-chk-switch-label wcai-chk-switch-off wcai-actions-disabled">Disabled</label>
258
+ </div>
259
+ </td>
260
+ </tr>
261
+
262
+
263
+ </tbody>
264
+ </table>
265
+ </div>
266
+ <?php
267
+
268
+ }
options/addons/cai/index.html ADDED
File without changes
options/addons/cai/title.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+ if (!$isCaiExists) {
6
+ ?>
7
+ <li><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/demo.png'); ?>" style="vertical-align:bottom;" /> &nbsp; <?php _e('Comment Author', 'wpdiscuz'); ?></li>
8
+ <?php
9
+ }
options/addons/fem/content.php ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('ABSPATH')) {
4
+ exit();
5
+ }
6
+
7
+ if (!$isFemExists) {
8
+ ?>
9
+ <style>
10
+ .fa-toggle-on {
11
+ color: #07B290;
12
+ }
13
+
14
+ .fa-toggle-off {
15
+ color: #f00;
16
+ }
17
+
18
+ .fa-toggle-off, .fa-toggle-on {
19
+ margin-left: 10px;
20
+ font-size: 28px !important;
21
+ }
22
+ </style>
23
+
24
+ <div style="width:100%;">
25
+ <h3 style="padding:5px 10px 10px 10px; margin:0px; text-align:right; border-bottom:1px solid #ddd; max-width:60%; margin:0px 0px 20px auto; font-weight:normal;">
26
+ Addon - Frontend Moderation Settings
27
+ </h3>
28
+ <p style="border: 1px dotted #07B290; padding: 15px; font-size: 14px; text-align: center; margin: 10px; background: #EFFFF5">
29
+ wpDiscuz Frontend Moderation is an all in one powerful yet simple admin toolkit to moderate comments on front-end.
30
+ This is a demo admin page of the wpDiscuz Frontend Moderation addon. You can buy this addon on gVectors Team Store.
31
+ <br>
32
+ <a href="https://gvectors.com/product/wpdiscuz-frontend-moderation/" target="_blank"
33
+ style="padding: 6px 15px; background: #07B290; color: #fff; display: inline-block; margin: 15px 5px 5px 5px;">
34
+ Addon Details and Screenshots &raquo;</a>
35
+ </p>
36
+ <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none; opacity: 0.6;">
37
+ <tbody>
38
+ <tr valign="top">
39
+ <th style="width:50%;">
40
+ <span class="wpdiscuz-option-title">Allow Users Delete Comment</span>
41
+ </th>
42
+ <td>
43
+ <label>
44
+ <i class="fa fa-toggle-off" title="Off"></i>
45
+ <input style="display:none;" value="yes" id="mod_user_can_delete" name="" type="checkbox">
46
+ </label>
47
+
48
+ </td>
49
+ </tr>
50
+ <tr scope="row">
51
+ <th colspan="2">
52
+ <h3 style="font-weight:normal; margin:0px; padding:10px 0px">Background and Colors</h3>
53
+ </th>
54
+ </tr>
55
+ <tr valign="top">
56
+ <th>
57
+ <span class="wpdiscuz-option-title">Moderation Form Background Color</span>
58
+ </th>
59
+ <td>
60
+ <input class="wpdiscuz-color-picker regular-text" style="padding: 3px 5px; background-color: rgb(255, 255, 255); color: rgb(34, 34, 34);" value="#FFFFFF" id="mod_form_bg_color" name="" placeholder="Example: #00FF00" type="text">
61
+ </td>
62
+ </tr>
63
+ <tr valign="top">
64
+ <th>
65
+ <span class="wpdiscuz-option-title">Moderation Form Border Color</span>
66
+ </th>
67
+ <td>
68
+ <input class="wpdiscuz-color-picker regular-text" style="padding: 3px 5px; background-color: rgb(51, 51, 51); color: rgb(221, 221, 221);" value="#333333" id="mod_form_border_color" name="" placeholder="Example: #00FF00" type="text">
69
+ </td>
70
+ </tr>
71
+ <tr valign="top">
72
+ <th>
73
+ <span class="wpdiscuz-option-title">Moderation Separator Color</span>
74
+ </th>
75
+ <td>
76
+ <input class="wpdiscuz-color-picker regular-text" style="padding: 3px 5px; background-color: rgb(221, 221, 221); color: rgb(34, 34, 34);" value="#DDDDDD" id="mod_text_bottom_line_color" name="" placeholder="Example: #00FF00" type="text">
77
+ </td>
78
+ </tr>
79
+ <tr scope="row">
80
+ <th colspan="2">
81
+ <h3 style="font-weight:normal; margin:0px; padding:10px 0px">Front-end Phrases</h3>
82
+ </th>
83
+ </tr>
84
+ <tr valign="top">
85
+ <th>
86
+ <label for="mod_phrase_moderate"><span class="wpdiscuz-option-title">Moderate</span></label>
87
+ </th>
88
+ <td>
89
+ <input style="padding: 3px 5px; width: 100%;" value="Moderate" id="mod_phrase_moderate" name="" type="text">
90
+ </td>
91
+ </tr>
92
+ <tr valign="top">
93
+ <th>
94
+ <label for="mod_phrase_approve"><span class="wpdiscuz-option-title">Approve</span></label>
95
+ </th>
96
+ <td>
97
+ <input style="padding: 3px 5px; width: 100%;" value="Approve" id="mod_phrase_approve" name="" type="text">
98
+ </td>
99
+ </tr>
100
+ <tr valign="top">
101
+ <th>
102
+ <label for="mod_phrase_unapprove"><span class="wpdiscuz-option-title">Unapprove</span></label>
103
+ </th>
104
+ <td>
105
+ <input style="padding: 3px 5px; width: 100%;" value="Unapprove" id="mod_phrase_unapprove" name="" type="text">
106
+ </td>
107
+ </tr>
108
+ <tr valign="top">
109
+ <th>
110
+ <label for="mod_phrase_trash"><span class="wpdiscuz-option-title">Trash</span></label>
111
+ </th>
112
+ <td>
113
+ <input style="padding: 3px 5px; width: 100%;" value="Trash" id="mod_phrase_trash" name="" type="text">
114
+ </td>
115
+ </tr>
116
+ <tr valign="top">
117
+ <th>
118
+ <label for="mod_phrase_spam"><span class="wpdiscuz-option-title">Spam</span></label>
119
+ </th>
120
+ <td>
121
+ <input style="padding: 3px 5px; width: 100%;" value="Spam" id="mod_phrase_spam" name="" type="text">
122
+ </td>
123
+ </tr>
124
+ <tr valign="top">
125
+ <th>
126
+ <label for="mod_phrase_email"><span class="wpdiscuz-option-title">Email</span></label>
127
+ </th>
128
+ <td>
129
+ <input style="padding: 3px 5px; width: 100%;" value="Email" id="mod_phrase_email" name="" type="text">
130
+ </td>
131
+ </tr>
132
+ <tr valign="top">
133
+ <th>
134
+ <label for="mod_phrase_move"><span class="wpdiscuz-option-title">Move</span></label>
135
+ </th>
136
+ <td>
137
+ <input style="padding: 3px 5px; width: 100%;" value="Move" id="mod_phrase_move" name="" type="text">
138
+ </td>
139
+ </tr>
140
+ <tr valign="top">
141
+ <th>
142
+ <label for="mod_phrase_blacklist"><span class="wpdiscuz-option-title">Blacklist</span></label>
143
+ </th>
144
+ <td>
145
+ <input style="padding: 3px 5px; width: 100%;" value="Blacklist" id="mod_phrase_blacklist" name="" type="text">
146
+ </td>
147
+ </tr>
148
+ <tr valign="top">
149
+ <th>
150
+ <label for="mod_phrase_delete"><span class="wpdiscuz-option-title">Delete</span></label>
151
+ </th>
152
+ <td>
153
+ <input style="padding: 3px 5px; width: 100%;" value="Delete" id="mod_phrase_delete" name="" type="text">
154
+ </td>
155
+ </tr>
156
+ <tr valign="top">
157
+ <th>
158
+ <label for="mod_phrase_restore"><span class="wpdiscuz-option-title">Restore</span></label>
159
+ </th>
160
+ <td>
161
+ <input style="padding: 3px 5px; width: 100%;" value="Restore" id="mod_phrase_restore" name="" type="text">
162
+ </td>
163
+ </tr>
164
+ <tr valign="top">
165
+ <th>
166
+ <label for="mod_phrase_not_spam"><span class="wpdiscuz-option-title">Not Spam</span></label>
167
+ </th>
168
+ <td>
169
+ <input style="padding: 3px 5px; width: 100%;" value="Not Spam" id="mod_phrase_not_spam" name="" type="text">
170
+ </td>
171
+ </tr>
172
+
173
+ </tbody>
174
+ </table>
175
+ </div>
176
+ <?php
177
+
178
+ }
options/addons/fem/index.html ADDED
File without changes
options/addons/fem/title.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+ if (!$isFemExists) {
6
+ ?>
7
+ <li><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/demo.png'); ?>" style="vertical-align:bottom;" /> &nbsp; <?php _e('Frontend Moderation', 'wpdiscuz'); ?></li>
8
+ <?php
9
+ }
options/addons/images/embedded-content.png ADDED
Binary file
options/addons/images/file.png ADDED
Binary file
options/addons/images/html5-audio-player.png ADDED
Binary file
options/addons/images/html5-video-player.png ADDED
Binary file
options/addons/images/html5-youtub-player.png ADDED
Binary file
options/addons/images/image.png ADDED
Binary file
options/addons/images/index.html ADDED
File without changes
options/addons/images/video.png ADDED
Binary file
options/addons/more/content.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+ ?>
6
+ <div style="font-size:14px; padding: 30px;">
7
+ <h3 style="padding:5px 10px 10px 10px; margin:0px; text-align:right; border-bottom:1px solid #ddd; max-width:60%; margin:0px 0px 20px auto; font-weight:normal;">
8
+ wpDiscuz Addons
9
+ </h3>
10
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/emoticons/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-emoticons/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Emoticons</a>
11
+ </div>
12
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/author-info/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-comment-author-info/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Comment Author Info</a>
13
+ </div>
14
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/online-users/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-online-users/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Online Users</a>
15
+ </div>
16
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/private/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-private-comments/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Private Comments</a>
17
+ </div>
18
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/subscriptions/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-subscribe-manager/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Subscription Manager</a>
19
+ </div>
20
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/ads-manager/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-ads-manager/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Ads Manager</a>
21
+ </div>
22
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/user-mention/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-user-comment-mentioning/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">User &amp; Comment Mentioning</a>
23
+ </div>
24
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/likers/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-advanced-likers/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Advanced Likers</a>
25
+ </div>
26
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/report/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-report-flagging/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Report and Flagging</a>
27
+ </div>
28
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/translate/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-comment-translation/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Comment Translate</a>
29
+ </div>
30
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/search/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-comment-search/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Comment Search</a>
31
+ </div>
32
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/widgets/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-widgets/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">wpDiscuz Widgets</a>
33
+ </div>
34
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/frontend-moderation/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-frontend-moderation/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Front-end Moderation</a>
35
+ </div>
36
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/uploader/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-media-uploader/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Media Uploader</a>
37
+ </div>
38
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/recaptcha/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-recaptcha/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Google ReCaptcha</a>
39
+ </div>
40
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/mycred/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/wpdiscuz-mycred/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">myCRED Integration</a>
41
+ </div>
42
+ <div style="display:inline-block; min-width:27%; padding-right:10px; margin-bottom:10px;"><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/addons/censure/header.png') ?>" style="height:40px; width:auto; vertical-align:middle; margin:0px 10px; text-decoration:none;"> <a target="_blank" href="https://gvectors.com/product/comments-censure-pro/" style="color:#444; text-decoration:none;" title="Addon Details and Screenshots">Comment Censure</a>
43
+ </div>
44
+ <div style="clear:both;"></div>
45
+ </div>
options/addons/more/index.html ADDED
File without changes
options/addons/more/title.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+ ?>
6
+ <li><?php _e('More Addons...', 'wpdiscuz'); ?></li>
options/addons/mu/content.php ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+
6
+ if (!$isMuExists) {
7
+ ?>
8
+ <div style="width:100%;">
9
+ <h3 style="padding:5px 10px 10px 10px; margin:0px; text-align:right; border-bottom:1px solid #ddd; max-width:60%; margin:0px 0px 20px auto; font-weight:normal;">
10
+ Addon - Media Uploader Settings
11
+ </h3>
12
+ <p style="border: 1px dotted #07B290; padding: 15px; font-size: 14px; text-align: center; margin: 10px; background: #EFFFF5">
13
+ wpDiscuz Media Uploader is an extended comment attachment system. Allows to upload images, videos, audios and other file types.
14
+ This is a demo admin page of the wpDiscuz Media Uploader addon. You can buy this addon on gVectors Team Store.
15
+ <br>
16
+ <a href="https://gvectors.com/product/wpdiscuz-media-uploader/" target="_blank"
17
+ style="padding: 6px 15px; background: #07B290; color: #fff; display: inline-block; margin: 15px 5px 5px 5px;">
18
+ Addon Details and Screenshots &raquo;</a>
19
+ </p>
20
+ <table class="widefat wpdiscuz-mu" style="margin-top:10px; border:none; width:100%; opacity: 0.6">
21
+ <tbody>
22
+ <tr scope="row">
23
+ <th valign="top" style="width:42%;">Post types supports uploading:</th>
24
+ <td>
25
+ <div style="float:left; display:inline-block; padding:3px 5px 3px 7px; min-width:25%;">
26
+ <input type="checkbox" checked='checked' value="post" name="" id="wmupost" style="margin:0px; vertical-align: middle;"/>
27
+ <label for="wmupost" style="white-space:nowrap; font-size:13px;">post</label>
28
+ </div>
29
+ <div style="float:left; display:inline-block; padding:3px 5px 3px 7px; min-width:25%;">
30
+ <input type="checkbox" checked='checked' value="page" name="" id="wmupage" style="margin:0px; vertical-align: middle;"/>
31
+ <label for="wmupage" style="white-space:nowrap; font-size:13px;">page</label>
32
+ </div>
33
+ <div style="float:left; display:inline-block; padding:3px 5px 3px 7px; min-width:25%;">
34
+ <input type="checkbox" checked='checked' value="attachment" name="" id="wmuattachment" style="margin:0px; vertical-align: middle;"/>
35
+ <label for="wmuattachment" style="white-space:nowrap; font-size:13px;">attachment</label>
36
+ </div>
37
+
38
+ </td>
39
+ </tr>
40
+ <tr scope="row">
41
+ <th valign="top" style="width:42%;">User roles allowed to upload files:</th>
42
+ <td>
43
+ <div style="float:left; display:inline-block; padding:3px 5px 3px 7px; min-width:25%;">
44
+ <input type="checkbox" checked='checked' value="administrator" name="" id="wmuadministrator" style="margin:0px; vertical-align: middle;"/>
45
+ <label for="wmuadministrator" style="white-space:nowrap; font-size:13px;">Administrator</label>
46
+ </div>
47
+ <div style="float:left; display:inline-block; padding:3px 5px 3px 7px; min-width:25%;">
48
+ <input type="checkbox" checked='checked' value="editor" name="" id="wmueditor" style="margin:0px; vertical-align: middle;"/>
49
+ <label for="wmueditor" style="white-space:nowrap; font-size:13px;">Editor</label>
50
+ </div>
51
+ <div style="float:left; display:inline-block; padding:3px 5px 3px 7px; min-width:25%;">
52
+ <input type="checkbox" checked='checked' value="author" name="" id="wmuauthor" style="margin:0px; vertical-align: middle;"/>
53
+ <label for="wmuauthor" style="white-space:nowrap; font-size:13px;">Author</label>
54
+ </div>
55
+ <div style="float:left; display:inline-block; padding:3px 5px 3px 7px; min-width:25%;">
56
+ <input type="checkbox" checked='checked' value="contributor" name="" id="wmucontributor" style="margin:0px; vertical-align: middle;"/>
57
+ <label for="wmucontributor" style="white-space:nowrap; font-size:13px;">Contributor</label>
58
+ </div>
59
+ <div style="float:left; display:inline-block; padding:3px 5px 3px 7px; min-width:25%;">
60
+ <input type="checkbox" checked='checked' value="subscriber" name="" id="wmusubscriber" style="margin:0px; vertical-align: middle;"/>
61
+ <label for="wmusubscriber" style="white-space:nowrap; font-size:13px;">Subscriber</label>
62
+ </div>
63
+ <div style="float:left; display:inline-block; padding:3px 5px 3px 7px; min-width:25%;">
64
+ <input type="checkbox" value="customer" name="" id="wmucustomer" style="margin:0px; vertical-align: middle;"/>
65
+ <label for="wmucustomer" style="white-space:nowrap; font-size:13px;">Customer</label>
66
+ </div>
67
+ <div style="float:left; display:inline-block; padding:3px 5px 3px 7px; min-width:25%;">
68
+ <input type="checkbox" value="shop_manager" name="" id="wmushop_manager" style="margin:0px; vertical-align: middle;"/>
69
+ <label for="wmushop_manager" style="white-space:nowrap; font-size:13px;">Shop manager</label>
70
+ </div>
71
+
72
+ </td>
73
+ </tr>
74
+ <tr scope="row">
75
+ <th><label for="wmuIsShowFilesDashboard">Show uploaded files in dashboard comments</label>
76
+ </th>
77
+ <td><input type="checkbox" checked='checked' value="1" name="" id="wmuIsShowFilesDashboard"/>
78
+ </td>
79
+ </tr>
80
+ <tr scope="row">
81
+ <th><label for="wmuIsGuestAllowed">Allow guests to upload files</label>
82
+ </th>
83
+ <td><input type="checkbox" checked='checked' value="1" name="" id="wmuIsGuestAllowed"/>
84
+ </td>
85
+ </tr>
86
+ <tr scope="row">
87
+ <th><label for="wmuIsImagesAllowed">Enable Image uploader</label>
88
+ </th>
89
+ <td><input type="checkbox" checked='checked' value="1" name="" id="wmuIsImagesAllowed"/> &nbsp; <img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/options/addons/images/image.png') ?>"/>
90
+ </td>
91
+ </tr>
92
+ <tr scope="row">
93
+ <th><label for="wmuIsVideosAllowed">Enable Video and Audio uploader</label>
94
+ </th>
95
+ <td><input type="checkbox" checked='checked' value="1" name="" id="wmuIsVideosAllowed"/> &nbsp; <img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/options/addons/images/video.png') ?>"/>
96
+ </td>
97
+ </tr>
98
+ <tr scope="row">
99
+ <th>
100
+ <label for="wmuIsFilesAllowed">Enable other files uploader</label>
101
+ <p style="font-size:13px; color:#999999; width:98%; padding-left:0px; margin-left:0px;">This uploader allows to attach non-image and non-video files like zip, doc, pdf, txt...</p>
102
+ </th>
103
+ <td><input type="checkbox" checked='checked' value="1" name="" id="wmuIsFilesAllowed"/> &nbsp; <img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/options/addons/images/file.png') ?>"/>
104
+ </td>
105
+ </tr>
106
+ <tr scope="row">
107
+ <th>
108
+ <label for="wmuIsEmbed">Allow media embedding function</label>
109
+ <p style="font-size:13px; color:#999999; width:98%; padding-left:0px; margin-left:0px;">This is the auto-embed function which converts e.g. <strong>YouTube</strong> video URL to Embedded Player and so on...</p>
110
+ </th>
111
+ <td><input type="checkbox" checked='checked' value="1" name="" id="wmuIsEmbed"/> &nbsp;&nbsp; <img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/options/addons/images/html5-youtub-player.png') ?>" style="vertical-align:middle; height:65px;" title="Player Screenshot"/>
112
+ </td>
113
+ </tr>
114
+ <tr scope="row" class="tr-wmuIsEmbedContent">
115
+ <th>
116
+ <label for="wmuIsEmbedContent">Allow content embedding function</label>
117
+ <p style="font-size:13px; color:#999999; width:98%; padding-left:0px; margin-left:0px;">This is the auto-embed function which converts site content</p>
118
+ </th>
119
+ <td><input type="checkbox" value="1" name="" id="wmuIsEmbedContent"/> &nbsp;&nbsp; <img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/options/addons/images/embedded-content.png') ?>" style="vertical-align:middle; height:250px;" title="Embedded Content Screenshot"/>
120
+ </td>
121
+ </tr>
122
+ <tr scope="row">
123
+ <th>
124
+ <label for="wmuIsHtml5Video">Enable HTML5 video player</label>
125
+ <p style="font-size:13px; color:#999999; width:98%; padding-left:0px; margin-left:0px;">Uploaded video files will be added as a download link under comment text. However if file format is .mp4, .webm or .ogg, it'll convert link to HTML5 video player.</p>
126
+ </th>
127
+ <td><input type="checkbox" checked='checked' value="1" name="" id="wmuIsHtml5Video"/> &nbsp; <img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/options/addons/images/html5-video-player.png') ?>" style="vertical-align:middle; height:70px;" title="Player Screenshot"/>
128
+ </td>
129
+ </td>
130
+ </tr>
131
+ <tr scope="row">
132
+ <th><label for="wmuIsHtml5Audio">Enable HTML5 audio player</label>
133
+ </th>
134
+ <td><input type="checkbox" checked='checked' value="1" name="" id="wmuIsHtml5Audio"/> &nbsp; <img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/options/addons/images/html5-audio-player.png') ?>" style="vertical-align:middle;" title="Player Screenshot"/>
135
+ </td>
136
+ </tr>
137
+ <tr scope="row">
138
+ <th><label for="wmuIsLightbox">Enable Lightbox for images</label>
139
+ </th>
140
+ <td><input type="checkbox" checked='checked' value="1" name="" id="wmuIsLightbox"/>
141
+ </td>
142
+ </tr>
143
+ <tr scope="row">
144
+ <th><label>File attachment mode</label>
145
+ </th>
146
+ <td>
147
+ <fieldset>
148
+ <label for="wmuAttachSingle"><input type="radio" value="0" id="wmuAttachSingle" class="wmuAttachSingle wmuAttachMethod" name="" />&nbsp;&nbsp;<span>Single</span></label>
149
+ <label for="wmuAttachMultiple"><input checked='checked' type="radio" value="1" id="wmuAttachMultiple" class="wmuAttachMultiple wmuAttachMethod" name="" />&nbsp;&nbsp;<span>Multiple</span></label>
150
+ </fieldset>
151
+ </td>
152
+ </tr>
153
+ <tr scope="row" class="tr-wmuMaxFileCount">
154
+ <th><label for="wmuMaxFileCount">Max number of files per type</label>
155
+ </th>
156
+ <td><input type="number" value="3" name="" id="wmuMaxFileCount" class="wmu-number"/>
157
+ </td>
158
+ </tr>
159
+ <tr scope="row">
160
+ <th>
161
+ <label for="wmuMaxFileSize">Max allowed files size</label>
162
+ <p style="font-size:13px; color:#999999; width:98%; padding-left:0px; margin-left:0px;">You can not set this value more than "upload_max_filesize" and "post_max_size". If you want to increase server parameters please contact to your hosting service support.</p>
163
+ </th>
164
+ <td>
165
+ <input type="number" value="30" name="" id="wmuMaxFileSize" class="wmu-number"/>
166
+ <p style="padding-top:5px;">
167
+ Server "upload_max_filesize" is 1000M<br/>Server "post_max_size" is 1000M </p>
168
+ </td>
169
+ </tr>
170
+ <tr scope="row">
171
+ <th><label for="wmuVideoWidth">Video player sizes</label>
172
+ </th>
173
+ <td>
174
+ <input type="number" value="320" name="" id="wmuVideoWidth" class="wmu-number"/><span> width (px) </span>
175
+ <input type="number" value="200" name="" id="wmuVideoHeight" class="wmu-number"/><span> height (px) </span>
176
+ </td>
177
+ </tr>
178
+ <tr scope="row">
179
+ <th><label for="wmuEmbedVideoWidth">Embed Video player sizes</label>
180
+ </th>
181
+ <td>
182
+ <input type="number" value="400" name="" id="wmuEmbedVideoWidth" class="wmu-number"/><span> width (px) </span>
183
+ <input type="number" value="300" name="" id="wmuEmbedVideoHeight" class="wmu-number"/><span> height (px) </span>
184
+ </td>
185
+ </tr>
186
+ <tr scope="row">
187
+ <th><label for="wmuSingleImageWidth">Single Image sizes on comment</label>
188
+ </th>
189
+ <td>
190
+ <input type="number" value="320" name="" id="wmuSingleImageWidth" class="wmu-number"/><span> width (px) </span>
191
+ <input type="number" value="200" name="" id="wmuSingleImageHeight" class="wmu-number"/><span> height (px) </span>
192
+ </td>
193
+ </tr>
194
+ <tr scope="row">
195
+ <th><label for="wmuImageWidth">Image sizes on comment</label>
196
+ </th>
197
+ <td>
198
+ <input type="number" value="90" name="" id="wmuImageWidth" class="wmu-number"/><span> width (px) </span>
199
+ <input type="number" value="90" name="" id="wmuImageHeight" class="wmu-number"/><span> height (px) </span>
200
+ </td>
201
+ </tr>
202
+ </tbody>
203
+ </table>
204
+ </div>
205
+ <?php
206
+ }
options/addons/mu/index.html ADDED
File without changes
options/addons/mu/title.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+ if (!$isMuExists) {
6
+ ?>
7
+ <li><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/demo.png'); ?>" style="vertical-align:bottom;" /> &nbsp; <?php _e('Media Uploader', 'wpdiscuz'); ?></li>
8
+ <?php
9
+ }
options/addons/raf/content.php ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('ABSPATH')) {
4
+ exit();
5
+ }
6
+
7
+ if (!$isRafExists) {
8
+ ?>
9
+ <style>
10
+ .flag-inner input[type=text], .flag-inner input[type=email]{height: 30px;width: 95%;padding:3px 5px;}
11
+ .flag-inner input[type=number]{height: 30px;padding:3px 5px;width:80px;}
12
+ .flag-inner textarea{padding:10px;width: 95%;margin-left:10px;}
13
+ .add_new{border: 1px solid rgba(0, 91, 255, 0.34);border-radius: 4px;padding: 5px 10px !important;cursor: pointer;}
14
+ .add_new:hover{background-color: lightgrey;}
15
+ .report_remove{width: 30px;height: 30px; background:url("../images/minus-sign.png") center no-repeat; background-color: white; border: 0 !important;}
16
+ .report_remove:hover{opacity: 0.8;cursor: pointer;}
17
+ .flag-inner p.wpd-info{font-size:13px; line-height:15px; color:#999999; width:95%; padding:0px; margin:0px; font-style:italic; margin-top:5px;}
18
+ .flag-inner label{ vertical-align:top; font-size:14px;}
19
+ </style>
20
+ <div class="flag-inner">
21
+ <h3 style="padding:5px 10px 10px 10px; margin:0px; text-align:right; border-bottom:1px solid #ddd; max-width:60%; margin:0px 0px 20px auto; font-weight:normal;">
22
+ Addon - Report &amp; Flagging
23
+ </h3>
24
+ <p style="border: 1px dotted #07B290; padding: 15px; font-size: 14px; text-align: center; margin: 10px; background: #EFFFF5">
25
+ wpDiscuz Report &amp; Flagging addon is a comment reporting tools. Auto-moderates comments based on number of flags and dislikes.
26
+ This is a demo admin page of the wpDiscuz Report &amp; Flagging addon. You can buy this addon on gVectors Team Store.
27
+ <br>
28
+ <a href="https://gvectors.com/product/wpdiscuz-report-flagging/" target="_blank"
29
+ style="padding: 6px 15px; background: #07B290; color: #fff; display: inline-block; margin: 15px 5px 5px 5px;">
30
+ Addon Details and Screenshots &raquo;</a>
31
+ </p>
32
+ <table style="opacity: 0.6;">
33
+ <tbody>
34
+ <tr valign="top">
35
+ <th scope="row" style="width:55%;">
36
+ <label for="wpdiscuz_show_flag">
37
+ Show flag icon on comments </label>
38
+
39
+ <p class="wpd-info">If this option is disabled, comment auto-moderation will only be based on down votes / dislikes.</p>
40
+ </th>
41
+ <td>
42
+ <input name="" checked="checked" value="1" id="wpdiscuz_show_flag" type="checkbox">
43
+ </td>
44
+ </tr>
45
+ <tr valign="top">
46
+ <th scope="row">
47
+ <label for="wpdiscuz_allow_guest_flag">
48
+ Allow guests to flag and report comments </label>
49
+
50
+ </th>
51
+ <td>
52
+ <input name="" checked="checked" value="1" id="wpdiscuz_allow_guest_flag" type="checkbox">
53
+ </td>
54
+ </tr>
55
+ <tr valign="top">
56
+ <th scope="row">
57
+ <label for="wpdiscuz_allow_user_messag_flag">
58
+ Enable comment reporting pop-up form for registered users </label>
59
+
60
+ <p class="wpd-info">For security reasons comment reporting form is disabled for guests by default. Guests are still able to flag without sending message. However you can enable this for guests using the option below.</p>
61
+ </th>
62
+ <td>
63
+ <input name="" checked="checked" value="1" id="wpdiscuz_allow_user_messag_flag" type="checkbox">
64
+ </td>
65
+ </tr>
66
+ <tr valign="top">
67
+ <th scope="row">
68
+ <label for="wpdiscuz_allow_messag_flag_guest">
69
+ Enable comment reporting pop-up form for guests </label>
70
+
71
+ </th>
72
+ <td>
73
+ <input name="" value="1" id="wpdiscuz_allow_messag_flag_guest" type="checkbox">
74
+ </td>
75
+ </tr>
76
+
77
+ <tr valign="top">
78
+ <th scope="row">
79
+ Enable auto-moderation for flagged/disliked comments:
80
+ <p class="wpd-info">This will automatically Unapprove or Trash comments which reached the maximum number of flags or dislikes set below</p>
81
+ </th>
82
+ <td>
83
+ <input name="" checked="checked" value="unapprove" id="wpdiscuz_unapprove" type="radio"> <label for="wpdiscuz_unapprove"> unapprove </label>
84
+ <input name="" value="trash" id="wpdiscuz_trash" type="radio"> <label for="wpdiscuz_trash"> trash </label>
85
+ </td>
86
+ </tr>
87
+ <tr valign="top">
88
+ <th scope="row">
89
+ <label for="wpdiscuz_flag_count">
90
+ Do auto-moderation if comment is flagged more than </label>
91
+
92
+ </th>
93
+ <td>
94
+ <input name="" value="5" id="wpdiscuz_flag_count" type="number"> <span style="display:inline-block; vertical-align:bottom; font-size:14px; padding:5px;">times</span>
95
+ </td>
96
+ </tr>
97
+ <tr valign="top">
98
+ <th scope="row">
99
+ <label for="wpdiscuz_vote_count">
100
+ Do auto-moderation if comment is down voted more than </label>
101
+
102
+ </th>
103
+ <td>
104
+ <input name="" value="10" id="wpdiscuz_vote_count" type="number"> <span style="display:inline-block; vertical-align:bottom; font-size:14px; padding:5px;">times</span>
105
+ </td>
106
+ </tr>
107
+ <tr valign="top">
108
+ <th scope="row">
109
+ <label for="wpdiscuz_notify_admin">
110
+ Notify admin when comment is auto-moderated:
111
+ </label>
112
+
113
+ </th>
114
+ <td>
115
+ <input name="" checked="checked" value="1" id="wpdiscuz_notify_admin" type="checkbox">
116
+ </td>
117
+ </tr>
118
+ <tr valign="top">
119
+ <th scope="row">
120
+ <label for="wpdiscuz_admin_email">
121
+ Admin Email:
122
+ </label>
123
+
124
+ </th>
125
+ <td>
126
+ <input name="" value="admin@example.com" id="wpdiscuz_admin_email" type="email">
127
+ </td>
128
+ </tr>
129
+ <tr valign="top">
130
+ <th scope="row" colspan="2" style="border-top:3px solid #ddd;">
131
+ <h3 style="padding-bottom:5px; padding-top:20px; font-weight:normal; margin:0px;"> Comment reporting message from reporter to admin</h3>
132
+ <p class="wpd-info"> This message comes from comment reporting pop-up form. It includes reporter message and bad comment category (reason).</p>
133
+ </th>
134
+ </tr>
135
+ <tr valign="top">
136
+ <th scope="row">
137
+ <label for="wpdiscuz_flagged_email_subject">
138
+ Report message subject </label>
139
+
140
+ </th>
141
+ <td>
142
+ <input name="" value="New comment report" id="wpdiscuz_flagged_email_subject" type="text">
143
+ </td>
144
+ </tr>
145
+ <tr valign="top">
146
+ <th scope="row">
147
+ <label for="wpdiscuz_flagged_email_message">
148
+ Report message body </label>
149
+
150
+ <p class="wpd-info">
151
+ <i> [userInfo] - username or user IP (guests)</i><br>
152
+ <i> [reason] - bad comment category</i><br>
153
+ <i> [message] - report message</i><br>
154
+ <i> [postTitle] - post title</i><br>
155
+ <i> [commentInfo] - comment text or URL</i>
156
+ </p>
157
+ </th>
158
+ <td>
159
+ <textarea name="" id="wpdiscuz_flagged_email_message" cols="50" rows="6">&lt;h2&gt;Report details:&lt;/h2&gt;
160
+ &lt;p&gt;Reporter IP | Name: [userInfo]&lt;/p&gt;
161
+ &lt;p&gt;Reason: [reason],&lt;/p&gt;
162
+ &lt;p&gt;Message: [message],&lt;/p&gt;
163
+ &lt;p&gt;Post: [postTitle],&lt;/p&gt;
164
+ &lt;p&gt;Comment URL | Text: [commentInfo]&lt;/p&gt;</textarea>
165
+ </td>
166
+ </tr>
167
+ <tr valign="top">
168
+ <th scope="row" colspan="2" style="border-top:3px solid #ddd;">
169
+ <h3 style="padding-bottom:5px; padding-top:20px; font-weight:normal; margin:0px;"> Auto-moderation notification to admin</h3>
170
+ <p class="wpd-info"> This message will be sent to admin once maximum number of flags or dislikes is reached for certain comment and this comment is auto-moderated (trashed or unapproved)</p>
171
+ </th>
172
+ </tr>
173
+ <tr valign="top">
174
+ <th scope="row">
175
+ <label for="wpdiscuz_moderated_email_subject">
176
+ Auto-moderation message subject </label>
177
+
178
+ <p class="wpd-info">Please do not remove %s variable at end of this phrase. This variable will be changed to auto-moderation mode "flags" or "dislikes".</p>
179
+ </th>
180
+ <td>
181
+ <input name="" value="New comment has reached to the maximum number of %s" id="wpdiscuz_moderated_email_subject" type="text">
182
+ </td>
183
+ </tr>
184
+ <tr valign="top">
185
+ <th scope="row">
186
+ <label for="wpdiscuz_reported_email_message">
187
+ Auto-moderation message body </label>
188
+
189
+ <p class="wpd-info">
190
+ <i> [status] - comment status</i><br>
191
+ <i> [postName] - post URL</i><br>
192
+ <i> [postTitle] - post title</i><br>
193
+ <i> [userLogin] - user login</i><br>
194
+ <i> [userIP] - user IP</i><br>
195
+ <i> [userEmail] - user email</i><br>
196
+ <i> [commentContent] - reported comment content</i>
197
+ </p>
198
+ </th>
199
+ <td>
200
+ <textarea name="" id="wpdiscuz_reported_email_message" cols="50" rows="6">You have a new [status] comment on the post [postTitle].&lt;br&gt;
201
+ [postName]&lt;br&gt;
202
+ &lt;b&gt;Comment details:&lt;/b&gt;&lt;br&gt;
203
+ Author: [userLogin] (IP: [userIP])&lt;br&gt;
204
+ Email: [userEmail]&lt;br&gt;
205
+ URL:&lt;br&gt;
206
+ Comment:
207
+ [commentContent]</textarea>
208
+ </td>
209
+ </tr>
210
+ </tbody>
211
+ </table>
212
+
213
+ </div>
214
+ <?php
215
+
216
+ }
options/addons/raf/index.html ADDED
File without changes
options/addons/raf/title.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+ if (!$isRafExists) {
6
+ ?>
7
+ <li><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/demo.png'); ?>" style="vertical-align:bottom;" /> &nbsp; <?php _e('Report and Flagging', 'wpdiscuz'); ?></li>
8
+ <?php
9
+ }
options/addons/ucm/content.php ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+
6
+ if (!$isUcmExists) {
7
+ ?>
8
+ <div>
9
+ <div class="ucm-inner">
10
+ <h3 style="padding:5px 10px 15px 10px; margin:0px; text-align:right; border-bottom:1px solid #ddd; margin:0px 0px 20px auto; font-weight:normal;max-width:60%;">Addon - User and Comment Mentioning</h3>
11
+ <p style="border: 1px dotted #07B290; padding: 15px; font-size: 14px; text-align: center; margin: 10px; background: #EFFFF5">
12
+ wpDiscuz User &amp; Comment Mentioning addon allows to mention comments and users in comment text using #comment-id and @username tags.
13
+ This is a demo admin page of the wpDiscuz User &amp; Comment Mentioning addon. You can buy this addon on gVectors Team Store.
14
+ <br><a href="https://gvectors.com/product/wpdiscuz-user-comment-mentioning/" target="_blank" style="padding: 6px 15px; background: #07B290; color: #fff; display: inline-block; margin: 15px 5px 5px 5px;">Addon Details and Screenshots &raquo;</a>
15
+ </p>
16
+ <table style="opacity: 0.6;">
17
+ <tr valign="top">
18
+ <th scope="row" style="width:55%;">
19
+ <label for="ucm_at">
20
+ Display <span class="wpdiscuz-button wpdc_at"></span> button on comment form: </label>
21
+
22
+
23
+ </th>
24
+ <td>
25
+ <input type="checkbox" name="" checked='checked' value="1" id="ucm_at"/>
26
+ </td>
27
+ </tr>
28
+ <tr valign="top">
29
+ <th scope="row" style="width:55%;">
30
+ <label for="guestMentioning">Enable guest mentioning:</label>
31
+ </th>
32
+ <td>
33
+ <input type="checkbox" name="" checked='checked' value="1" id="guestMentioning"/>
34
+ </td>
35
+ </tr>
36
+ <tr valign="top">
37
+ <th scope="row" style="width:55%;">
38
+ <label for="displayNicename">
39
+ Display user nicename (names for mentioning) in user search result: </label>
40
+
41
+
42
+ </th>
43
+ <td>
44
+ <input type="checkbox" name="" value="1" id="displayNicename"/>
45
+ </td>
46
+ </tr>
47
+ <tr valign="top">
48
+ <th scope="row" style="width:55%;">
49
+ <label for="ucm_view_avatar_in_comment">
50
+ Display mentioned user avatar with username link:</label>
51
+
52
+ </th>
53
+ <td>
54
+ <input type="checkbox" name="" checked='checked' value="1" id="ucm_view_avatar_in_comment"/>
55
+ </td>
56
+ </tr>
57
+ <tr valign="top">
58
+ <th scope="row" style="width:55%;">
59
+ <label for="ucm_view_avatar_tooltip">
60
+ Display avatar in user pop-up information: </label>
61
+
62
+
63
+ </th>
64
+ <td>
65
+ <input type="checkbox" name="" checked='checked' value="1" id="ucm_view_avatar_tooltip"/>
66
+ </td>
67
+ </tr>
68
+ <tr valign="top">
69
+ <th scope="row" style="width:55%;">
70
+ <label for="ucm_viewid">
71
+ Mentione user by user ID in comment content </label>
72
+
73
+
74
+ </th>
75
+ <td>
76
+ <input type="checkbox" name="" value="1" id="ucm_viewid"/>
77
+ </td>
78
+ </tr>
79
+ <tr valign="top">
80
+ <th scope="row">
81
+ <label for="ucm_text_length">
82
+ Text length in user/comment pop-up information: </label>
83
+
84
+
85
+ </th>
86
+ <td>
87
+ <input type="number" name="" min='0' value="150" id="ucm_text_length"/> <span style="display:inline-block; vertical-align:bottom; font-size:14px; padding:5px;">characters</span>
88
+ </td>
89
+ </tr>
90
+ <tr valign="top">
91
+ <th scope="row">
92
+ <label for="ucm_user_count">
93
+ Maximum number of users in "User Selector" bar: </label>
94
+
95
+
96
+ </th>
97
+ <td>
98
+ <input type="number" name="" min='1' value="8" id="ucm_user_count"/> <span style="display:inline-block; vertical-align:bottom; font-size:14px; padding:5px;">items</span>
99
+ </td>
100
+ </tr>
101
+
102
+ <tr valign="top">
103
+ <th scope="row" colspan="2" style="border-top:3px solid #ddd;">
104
+ <h3 style="padding-bottom:5px; padding-top:20px; font-weight:normal; margin:0px; text-align:right;"> Comment mentioning through #comment-id</h3>
105
+ <strong>Message to mentioned comment author</strong>
106
+ </th>
107
+ </tr>
108
+ <tr valign="top">
109
+ <th scope="row" style="width:55%;">
110
+ <label for="ucm_send_admin">
111
+ Enable Email Notification </label>
112
+
113
+
114
+ </th>
115
+ <td>
116
+ <input type="checkbox" name="" checked='checked' value="1" id="ucm_send_admin"/>
117
+ </td>
118
+ </tr>
119
+ <tr valign="top">
120
+ <th scope="row">
121
+ <label for="author_mail_subject">
122
+ Email Subject </label>
123
+
124
+
125
+ </th>
126
+ <td>
127
+ <input type="text" name="" class="text-inner" value="Your Comment has been mentioned" id="author_mail_subject"/>
128
+ </td>
129
+ </tr>
130
+ <tr valign="top">
131
+ <th scope="row">
132
+ <label for="author_mail_message">
133
+ Email Body </label>
134
+
135
+
136
+ <p class="wpd-info">
137
+ <i> [mentionedUserName] - Mentioned comment author name</i><br/>
138
+ <i> [postTitle] - Post Title</i><br/>
139
+ <i> [authorUserName] - Comment author name</i><br/>
140
+ <i> [commentURL] - Comment URL</i>
141
+ </p>
142
+ </th>
143
+ <td>
144
+ <textarea name="" id="author_mail_message" cols="50" rows="6">Hi [mentionedUserName]!
145
+ Your comment on "[postTitle]" post has been mentioned by [authorUserName].</br>
146
+ </br>
147
+ Comment URL: [commentURL]</textarea>
148
+
149
+
150
+ </td>
151
+ </tr>
152
+ <tr valign="top">
153
+ <th scope="row" colspan="2" style="border-top:3px solid #ddd;">
154
+ <h3 style="padding-bottom:5px; padding-top:20px; font-weight:normal; margin:0px; text-align:right;"> User mentioning through @username</h3>
155
+ <strong>Message to mentioned user</strong>
156
+ </th>
157
+ </tr>
158
+ <tr valign="top">
159
+ <th scope="row" style="width:55%;">
160
+ <label for="ucm_send_user">
161
+ Enable Email Notification </label>
162
+
163
+
164
+ </th>
165
+ <td>
166
+ <input type="checkbox" name="" checked='checked' value="1" id="ucm_send_user"/>
167
+ </td>
168
+ </tr>
169
+ <tr valign="top">
170
+ <th scope="row">
171
+ <label for="user_mail_subject">Email Subject</label>
172
+ </th>
173
+ <td>
174
+ <input type="text" name="" value="You have been mentioned in comment" id="user_mail_subject"/>
175
+ </td>
176
+ </tr>
177
+ <tr valign="top">
178
+ <th scope="row">
179
+ <label for="user_mail_message">
180
+ Email Body </label>
181
+
182
+
183
+ <p class="wpd-info">
184
+ <i> [mentionedUserName] - Mentioned user name</i><br/>
185
+ <i> [postTitle] - Post Title</i><br/>
186
+ <i> [authorUserName] - Comment author name</i><br/>
187
+ <i> [commentURL] - Comment URL</i>
188
+ </p>
189
+ </th>
190
+ <td>
191
+ <textarea name="" id="wpdiscuz_reported_email_message" cols="50" rows="6">Hi [mentionedUserName]!
192
+ You have been mentioned in a comment posted on "[postTitle]" post by [authorUserName].</br>
193
+ </br>
194
+ Comment URL: [commentURL]</textarea>
195
+
196
+
197
+ </td>
198
+ </tr>
199
+ </table>
200
+
201
+ </div>
202
+ </div>
203
+ <?php
204
+ }
options/addons/ucm/index.html ADDED
File without changes
options/addons/ucm/title.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+ if (!$isUcmExists) {
6
+ ?>
7
+ <li><img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/demo.png'); ?>" style="vertical-align:bottom;" /> &nbsp; <?php _e('Mentioning', 'wpdiscuz'); ?></li>
8
+ <?php
9
+ }
options/class.WpdiscuzOptions.php CHANGED
@@ -38,9 +38,9 @@ class WpdiscuzOptions {
38
  $this->optionsSerialized->isGuestCanVote = isset($_POST['wc_is_guest_can_vote']) ? $_POST['wc_is_guest_can_vote'] : 0;
39
  $this->optionsSerialized->isLoadOnlyParentComments = isset($_POST['isLoadOnlyParentComments']) ? $_POST['isLoadOnlyParentComments'] : 0;
40
  $this->optionsSerialized->commentListLoadType = isset($_POST['commentListLoadType']) ? $_POST['commentListLoadType'] : 0;
41
- $this->optionsSerialized->lazyLoadOnPageLoad = isset($_POST['lazyLoadOnPageLoad']) ? $_POST['lazyLoadOnPageLoad'] : 0;
42
  $this->optionsSerialized->votingButtonsShowHide = isset($_POST['wc_voting_buttons_show_hide']) ? $_POST['wc_voting_buttons_show_hide'] : 0;
43
  $this->optionsSerialized->votingButtonsStyle = isset($_POST['votingButtonsStyle']) ? $_POST['votingButtonsStyle'] : 0;
 
44
  $this->optionsSerialized->shareButtons = isset($_POST['wpdiscuz_share_buttons']) ? $_POST['wpdiscuz_share_buttons'] : array();
45
  $this->optionsSerialized->headerTextShowHide = isset($_POST['wc_header_text_show_hide']) ? $_POST['wc_header_text_show_hide'] : 0;
46
  $this->optionsSerialized->storeCommenterData = isset($_POST['storeCommenterData']) && (intval($_POST['storeCommenterData']) || $_POST['storeCommenterData'] == 0) ? $_POST['storeCommenterData'] : -1;
@@ -59,13 +59,13 @@ class WpdiscuzOptions {
59
  $this->optionsSerialized->commentTextSize = isset($_POST['wc_comment_text_size']) ? $_POST['wc_comment_text_size'] : '14px';
60
  $this->optionsSerialized->commentBGColor = isset($_POST['wc_comment_bg_color']) ? $_POST['wc_comment_bg_color'] : '#fefefe';
61
  $this->optionsSerialized->replyBGColor = isset($_POST['wc_reply_bg_color']) ? $_POST['wc_reply_bg_color'] : '#f8f8f8';
62
- $this->optionsSerialized->commentTextColor = isset($_POST['wc_comment_text_color']) ? $_POST['wc_comment_text_color'] : '#555';
63
  $this->optionsSerialized->primaryColor = isset($_POST['wc_comment_username_color']) ? $_POST['wc_comment_username_color'] : '#00B38F';
64
  $this->optionsSerialized->ratingHoverColor = isset($_POST['wc_comment_rating_hover_color']) ? $_POST['wc_comment_rating_hover_color'] : '#FFED85';
65
  $this->optionsSerialized->ratingInactivColor = isset($_POST['wc_comment_rating_inactiv_color']) ? $_POST['wc_comment_rating_inactiv_color'] : '#DDDDDD';
66
  $this->optionsSerialized->ratingActivColor = isset($_POST['wc_comment_rating_activ_color']) ? $_POST['wc_comment_rating_activ_color'] : '#FFD700';
67
  $this->optionsSerialized->blogRoles = isset($_POST['wc_blog_roles']) ? wp_parse_args($_POST['wc_blog_roles'], $this->optionsSerialized->blogRoles) : $this->optionsSerialized->blogRoles;
68
- $this->optionsSerialized->buttonColor = isset($_POST['wc_link_button_color']) ? $_POST['wc_link_button_color'] : array('shc' => '#bbbbbb', 'shb' => '#cccccc', 'vbc' => '#aaaaaa', 'vbb' => '#bbbbbb', 'abc' => '#ffffff', 'abb' => '#888888');
69
  $this->optionsSerialized->inputBorderColor = isset($_POST['wc_input_border_color']) ? $_POST['wc_input_border_color'] : '#d9d9d9';
70
  $this->optionsSerialized->newLoadedCommentBGColor = isset($_POST['wc_new_loaded_comment_bg_color']) ? $_POST['wc_new_loaded_comment_bg_color'] : '#FFFAD6';
71
  $this->optionsSerialized->disableFontAwesome = isset($_POST['disableFontAwesome']) ? $_POST['disableFontAwesome'] : 0;
@@ -82,6 +82,7 @@ class WpdiscuzOptions {
82
  $this->optionsSerialized->commentTextMaxLength = (isset($_POST['wc_comment_text_max_length']) && intval($_POST['wc_comment_text_max_length']) > 0) ? intval($_POST['wc_comment_text_max_length']) : '';
83
  $this->optionsSerialized->commentReadMoreLimit = (isset($_POST['commentWordsLimit']) && intval($_POST['commentWordsLimit']) >= 0) ? intval($_POST['commentWordsLimit']) : 100;
84
  $this->optionsSerialized->showHideCommentLink = isset($_POST['showHideCommentLink']) ? $_POST['showHideCommentLink'] : 0;
 
85
  $this->optionsSerialized->enableImageConversion = isset($_POST['enableImageConversion']) ? $_POST['enableImageConversion'] : 0;
86
  $this->optionsSerialized->commentLinkFilter = isset($_POST['commentLinkFilter']) ? $_POST['commentLinkFilter'] : 1;
87
  $this->optionsSerialized->isCaptchaInSession = isset($_POST['isCaptchaInSession']) ? $_POST['isCaptchaInSession'] : 0;
@@ -93,6 +94,7 @@ class WpdiscuzOptions {
93
  $this->optionsSerialized->isGravatarCacheEnabled = isset($_POST['isGravatarCacheEnabled']) ? $_POST['isGravatarCacheEnabled'] : 0;
94
  $this->optionsSerialized->gravatarCacheMethod = isset($_POST['gravatarCacheMethod']) ? $_POST['gravatarCacheMethod'] : 'cronjob';
95
  $this->optionsSerialized->gravatarCacheTimeout = isset($_POST['gravatarCacheTimeout']) ? $_POST['gravatarCacheTimeout'] : 10;
 
96
  do_action('wpdiscuz_save_options', $_POST);
97
  $this->optionsSerialized->updateOptions();
98
  add_settings_error('wpdiscuz', 'settings_updated', __('Settings updated', 'wpdiscuz'), 'updated');
@@ -116,10 +118,12 @@ class WpdiscuzOptions {
116
  $this->optionsSerialized->phrases['wc_comment_start_text'] = $_POST['wc_comment_start_text'];
117
  $this->optionsSerialized->phrases['wc_comment_join_text'] = $_POST['wc_comment_join_text'];
118
  $this->optionsSerialized->phrases['wc_email_text'] = $_POST['wc_email_text'];
 
119
  $this->optionsSerialized->phrases['wc_notify_of'] = $_POST['wc_notify_of'];
120
  $this->optionsSerialized->phrases['wc_notify_on_new_comment'] = $_POST['wc_notify_on_new_comment'];
121
  $this->optionsSerialized->phrases['wc_notify_on_all_new_reply'] = $_POST['wc_notify_on_all_new_reply'];
122
- $this->optionsSerialized->phrases['wc_notify_on_new_reply'] = $_POST['wc_notify_on_new_reply'];
 
123
  $this->optionsSerialized->phrases['wc_sort_by'] = $_POST['wc_sort_by'];
124
  $this->optionsSerialized->phrases['wc_newest'] = $_POST['wc_newest'];
125
  $this->optionsSerialized->phrases['wc_oldest'] = $_POST['wc_oldest'];
@@ -205,6 +209,11 @@ class WpdiscuzOptions {
205
  $this->optionsSerialized->phrases['wc_comment_approved_email_subject'] = $_POST['wc_comment_approved_email_subject'];
206
  $this->optionsSerialized->phrases['wc_comment_approved_email_message'] = $_POST['wc_comment_approved_email_message'];
207
  $this->optionsSerialized->phrases['wc_roles_cannot_comment_message'] = $_POST['wc_roles_cannot_comment_message'];
 
 
 
 
 
208
  if (class_exists('Prompt_Comment_Form_Handling') && $this->optionsSerialized->usePostmaticForCommentNotification) {
209
  $this->optionsSerialized->phrases['wc_postmatic_subscription_label'] = $_POST['wc_postmatic_subscription_label'];
210
  }
@@ -261,6 +270,7 @@ class WpdiscuzOptions {
261
  'emoticons' => array('version' => '1.1.1', 'requires' => '4.0.0', 'class' => 'wpDiscuzSmile', 'title' => 'Emoticons', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'emoticons' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Brings an ocean of emotions to your comments. It comes with an awesome smile package.', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-emoticons/'),
262
  'author-info' => array('version' => '1.0.0', 'requires' => '4.0.6', 'class' => 'WpdiscuzCommentAuthorInfo', 'title' => 'Comment Author Info', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'author-info' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Extended information about comment author with Profile, Activity, Votes and Subscriptions Tabs on pop-up window.', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-comment-author-info/'),
263
  'online-users' => array('version' => '1.0.0', 'requires' => '4.1.0', 'class' => 'WpdiscuzOnlineUsers', 'title' => 'Online Users', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'online-users' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Real-time online user checking, pop-up notification of new online users and online/offline badges.', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-online-users/'),
 
264
  'subscriptions' => array('version' => '1.0.0', 'requires' => '4.0.4', 'class' => 'wpdSubscribeManager', 'title' => 'Subscription Manager', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'subscriptions' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Total control over comment subscriptions. Full list, monitor, manage, filter, unsubscribe, confirm...', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-subscribe-manager/'),
265
  'ads-manager' => array('version' => '1.0.0', 'requires' => '4.0.0', 'class' => 'WpdiscuzAdsManager', 'title' => 'Ads Manager', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'ads-manager' . WPDISCUZ_DS . 'header.png'), 'desc' => __('A full-fledged tool-kit for advertising in comment section of your website. Separate banner and ad managment.', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-ads-manager/'),
266
  'user-mention' => array('version' => '1.0.0', 'requires' => '4.0.0', 'class' => 'Wpdiscuz_UCM', 'title' => 'User &amp; Comment Mentioning', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'user-mention' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Allows to mention comments and users in comment text using #comment-id and @username tags.', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-user-comment-mentioning/'),
@@ -333,6 +343,7 @@ class WpdiscuzOptions {
333
  public function addonNote() {
334
 
335
  $lastHash = get_option('wpdiscuz-addon-note-dismissed');
 
336
  $lastHashArray = explode(',', $lastHash);
337
  $currentHash = $this->addonHash();
338
  if ($lastHash != $currentHash) {
38
  $this->optionsSerialized->isGuestCanVote = isset($_POST['wc_is_guest_can_vote']) ? $_POST['wc_is_guest_can_vote'] : 0;
39
  $this->optionsSerialized->isLoadOnlyParentComments = isset($_POST['isLoadOnlyParentComments']) ? $_POST['isLoadOnlyParentComments'] : 0;
40
  $this->optionsSerialized->commentListLoadType = isset($_POST['commentListLoadType']) ? $_POST['commentListLoadType'] : 0;
 
41
  $this->optionsSerialized->votingButtonsShowHide = isset($_POST['wc_voting_buttons_show_hide']) ? $_POST['wc_voting_buttons_show_hide'] : 0;
42
  $this->optionsSerialized->votingButtonsStyle = isset($_POST['votingButtonsStyle']) ? $_POST['votingButtonsStyle'] : 0;
43
+ $this->optionsSerialized->votingButtonsIcon = isset($_POST['votingButtonsIcon']) ? $_POST['votingButtonsIcon'] : 'fa-plus|fa-minus';
44
  $this->optionsSerialized->shareButtons = isset($_POST['wpdiscuz_share_buttons']) ? $_POST['wpdiscuz_share_buttons'] : array();
45
  $this->optionsSerialized->headerTextShowHide = isset($_POST['wc_header_text_show_hide']) ? $_POST['wc_header_text_show_hide'] : 0;
46
  $this->optionsSerialized->storeCommenterData = isset($_POST['storeCommenterData']) && (intval($_POST['storeCommenterData']) || $_POST['storeCommenterData'] == 0) ? $_POST['storeCommenterData'] : -1;
59
  $this->optionsSerialized->commentTextSize = isset($_POST['wc_comment_text_size']) ? $_POST['wc_comment_text_size'] : '14px';
60
  $this->optionsSerialized->commentBGColor = isset($_POST['wc_comment_bg_color']) ? $_POST['wc_comment_bg_color'] : '#fefefe';
61
  $this->optionsSerialized->replyBGColor = isset($_POST['wc_reply_bg_color']) ? $_POST['wc_reply_bg_color'] : '#f8f8f8';
62
+ $this->optionsSerialized->commentTextColor = isset($_POST['wc_comment_text_color']) ? $_POST['wc_comment_text_color'] : '#666';
63
  $this->optionsSerialized->primaryColor = isset($_POST['wc_comment_username_color']) ? $_POST['wc_comment_username_color'] : '#00B38F';
64
  $this->optionsSerialized->ratingHoverColor = isset($_POST['wc_comment_rating_hover_color']) ? $_POST['wc_comment_rating_hover_color'] : '#FFED85';
65
  $this->optionsSerialized->ratingInactivColor = isset($_POST['wc_comment_rating_inactiv_color']) ? $_POST['wc_comment_rating_inactiv_color'] : '#DDDDDD';
66
  $this->optionsSerialized->ratingActivColor = isset($_POST['wc_comment_rating_activ_color']) ? $_POST['wc_comment_rating_activ_color'] : '#FFD700';
67
  $this->optionsSerialized->blogRoles = isset($_POST['wc_blog_roles']) ? wp_parse_args($_POST['wc_blog_roles'], $this->optionsSerialized->blogRoles) : $this->optionsSerialized->blogRoles;
68
+ $this->optionsSerialized->buttonColor = isset($_POST['wc_link_button_color']) ? $_POST['wc_link_button_color'] : array('primary_button_bg' => '#555555', 'primary_button_color' => '#FFFFFF', 'secondary_button_color' => '#777777', 'secondary_button_border' => '#dddddd', 'vote_up_link_color' => '#999999', 'vote_down_link_color' => '#999999');
69
  $this->optionsSerialized->inputBorderColor = isset($_POST['wc_input_border_color']) ? $_POST['wc_input_border_color'] : '#d9d9d9';
70
  $this->optionsSerialized->newLoadedCommentBGColor = isset($_POST['wc_new_loaded_comment_bg_color']) ? $_POST['wc_new_loaded_comment_bg_color'] : '#FFFAD6';
71
  $this->optionsSerialized->disableFontAwesome = isset($_POST['disableFontAwesome']) ? $_POST['disableFontAwesome'] : 0;
82
  $this->optionsSerialized->commentTextMaxLength = (isset($_POST['wc_comment_text_max_length']) && intval($_POST['wc_comment_text_max_length']) > 0) ? intval($_POST['wc_comment_text_max_length']) : '';
83
  $this->optionsSerialized->commentReadMoreLimit = (isset($_POST['commentWordsLimit']) && intval($_POST['commentWordsLimit']) >= 0) ? intval($_POST['commentWordsLimit']) : 100;
84
  $this->optionsSerialized->showHideCommentLink = isset($_POST['showHideCommentLink']) ? $_POST['showHideCommentLink'] : 0;
85
+ $this->optionsSerialized->hideCommentDate = isset($_POST['hideCommentDate']) ? $_POST['hideCommentDate'] : 0;
86
  $this->optionsSerialized->enableImageConversion = isset($_POST['enableImageConversion']) ? $_POST['enableImageConversion'] : 0;
87
  $this->optionsSerialized->commentLinkFilter = isset($_POST['commentLinkFilter']) ? $_POST['commentLinkFilter'] : 1;
88
  $this->optionsSerialized->isCaptchaInSession = isset($_POST['isCaptchaInSession']) ? $_POST['isCaptchaInSession'] : 0;
94
  $this->optionsSerialized->isGravatarCacheEnabled = isset($_POST['isGravatarCacheEnabled']) ? $_POST['isGravatarCacheEnabled'] : 0;
95
  $this->optionsSerialized->gravatarCacheMethod = isset($_POST['gravatarCacheMethod']) ? $_POST['gravatarCacheMethod'] : 'cronjob';
96
  $this->optionsSerialized->gravatarCacheTimeout = isset($_POST['gravatarCacheTimeout']) ? $_POST['gravatarCacheTimeout'] : 10;
97
+ $this->optionsSerialized->theme = isset($_POST['theme']) ? $_POST['theme'] : 'wpd-default';
98
  do_action('wpdiscuz_save_options', $_POST);
99
  $this->optionsSerialized->updateOptions();
100
  add_settings_error('wpdiscuz', 'settings_updated', __('Settings updated', 'wpdiscuz'), 'updated');
118
  $this->optionsSerialized->phrases['wc_comment_start_text'] = $_POST['wc_comment_start_text'];
119
  $this->optionsSerialized->phrases['wc_comment_join_text'] = $_POST['wc_comment_join_text'];
120
  $this->optionsSerialized->phrases['wc_email_text'] = $_POST['wc_email_text'];
121
+ $this->optionsSerialized->phrases['wc_subscribe_anchor'] = $_POST['wc_subscribe_anchor'];
122
  $this->optionsSerialized->phrases['wc_notify_of'] = $_POST['wc_notify_of'];
123
  $this->optionsSerialized->phrases['wc_notify_on_new_comment'] = $_POST['wc_notify_on_new_comment'];
124
  $this->optionsSerialized->phrases['wc_notify_on_all_new_reply'] = $_POST['wc_notify_on_all_new_reply'];
125
+ $this->optionsSerialized->phrases['wc_notify_on_new_reply_on'] = $_POST['wc_notify_on_new_reply_on'];
126
+ $this->optionsSerialized->phrases['wc_notify_on_new_reply_off'] = $_POST['wc_notify_on_new_reply_off'];
127
  $this->optionsSerialized->phrases['wc_sort_by'] = $_POST['wc_sort_by'];
128
  $this->optionsSerialized->phrases['wc_newest'] = $_POST['wc_newest'];
129
  $this->optionsSerialized->phrases['wc_oldest'] = $_POST['wc_oldest'];
209
  $this->optionsSerialized->phrases['wc_comment_approved_email_subject'] = $_POST['wc_comment_approved_email_subject'];
210
  $this->optionsSerialized->phrases['wc_comment_approved_email_message'] = $_POST['wc_comment_approved_email_message'];
211
  $this->optionsSerialized->phrases['wc_roles_cannot_comment_message'] = $_POST['wc_roles_cannot_comment_message'];
212
+ $this->optionsSerialized->phrases['wc_stick_main_form_comment_on'] = $_POST['wc_stick_main_form_comment_on'];
213
+ $this->optionsSerialized->phrases['wc_stick_main_form_comment_off'] = $_POST['wc_stick_main_form_comment_off'];
214
+ $this->optionsSerialized->phrases['wc_stick_comment'] = $_POST['wc_stick_comment'];
215
+ $this->optionsSerialized->phrases['wc_unstick_comment'] = $_POST['wc_unstick_comment'];
216
+ $this->optionsSerialized->phrases['wc_sticky_comment_icon_title'] = $_POST['wc_sticky_comment_icon_title'];
217
  if (class_exists('Prompt_Comment_Form_Handling') && $this->optionsSerialized->usePostmaticForCommentNotification) {
218
  $this->optionsSerialized->phrases['wc_postmatic_subscription_label'] = $_POST['wc_postmatic_subscription_label'];
219
  }
270
  'emoticons' => array('version' => '1.1.1', 'requires' => '4.0.0', 'class' => 'wpDiscuzSmile', 'title' => 'Emoticons', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'emoticons' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Brings an ocean of emotions to your comments. It comes with an awesome smile package.', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-emoticons/'),
271
  'author-info' => array('version' => '1.0.0', 'requires' => '4.0.6', 'class' => 'WpdiscuzCommentAuthorInfo', 'title' => 'Comment Author Info', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'author-info' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Extended information about comment author with Profile, Activity, Votes and Subscriptions Tabs on pop-up window.', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-comment-author-info/'),
272
  'online-users' => array('version' => '1.0.0', 'requires' => '4.1.0', 'class' => 'WpdiscuzOnlineUsers', 'title' => 'Online Users', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'online-users' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Real-time online user checking, pop-up notification of new online users and online/offline badges.', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-online-users/'),
273
+ 'private' => array('version' => '1.0.0', 'requires' => '5.0.0', 'class' => 'wpDiscuzPrivateComment', 'title' => 'Private Comments', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'private' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Allows to create private comment threads. Rich management options in dashboard by user roles.', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-private-comments/'),
274
  'subscriptions' => array('version' => '1.0.0', 'requires' => '4.0.4', 'class' => 'wpdSubscribeManager', 'title' => 'Subscription Manager', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'subscriptions' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Total control over comment subscriptions. Full list, monitor, manage, filter, unsubscribe, confirm...', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-subscribe-manager/'),
275
  'ads-manager' => array('version' => '1.0.0', 'requires' => '4.0.0', 'class' => 'WpdiscuzAdsManager', 'title' => 'Ads Manager', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'ads-manager' . WPDISCUZ_DS . 'header.png'), 'desc' => __('A full-fledged tool-kit for advertising in comment section of your website. Separate banner and ad managment.', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-ads-manager/'),
276
  'user-mention' => array('version' => '1.0.0', 'requires' => '4.0.0', 'class' => 'Wpdiscuz_UCM', 'title' => 'User &amp; Comment Mentioning', 'thumb' => plugins_url(WPDISCUZ_DIR_NAME . WPDISCUZ_DS . 'assets' . WPDISCUZ_DS . 'addons' . WPDISCUZ_DS . 'user-mention' . WPDISCUZ_DS . 'header.png'), 'desc' => __('Allows to mention comments and users in comment text using #comment-id and @username tags.', 'wpdiscuz'), 'url' => 'https://gvectors.com/product/wpdiscuz-user-comment-mentioning/'),
343
  public function addonNote() {
344
 
345
  $lastHash = get_option('wpdiscuz-addon-note-dismissed');
346
+ if( !$lastHash ) return false;
347
  $lastHashArray = explode(',', $lastHash);
348
  $currentHash = $this->addonHash();
349
  if ($lastHash != $currentHash) {
options/class.WpdiscuzOptionsSerialized.php CHANGED
@@ -82,14 +82,6 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
82
  */
83
  public $commentListLoadType;
84
 
85
- /**
86
- * Type - Checkbox
87
- * Available Values - Checked/Unchecked
88
- * Description - Load comments only after scrolling down
89
- * Default Value - Unchecked
90
- */
91
- public $lazyLoadOnPageLoad;
92
-
93
  /**
94
  * Type - Checkbox
95
  * Available Values - Checked/Unchecked
@@ -105,6 +97,14 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
105
  * Default Value - total
106
  */
107
  public $votingButtonsStyle;
 
 
 
 
 
 
 
 
108
 
109
  /**
110
  * Type - Checkbox array
@@ -452,6 +452,14 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
452
  */
453
  public $showHideCommentLink;
454
 
 
 
 
 
 
 
 
 
455
  /**
456
  * Type - Checkbox
457
  * Available Values - Checked/Unchecked
@@ -546,9 +554,16 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
546
  * Default Value - 7
547
  */
548
  public $gravatarCacheTimeout;
549
-
550
  public $isFileFunctionsExists;
551
  /* === CACHE === */
 
 
 
 
 
 
 
 
552
 
553
  /**
554
  * wordpress options
@@ -594,10 +609,10 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
594
  $this->redirectPage = isset($options['wpdiscuz_redirect_page']) ? $options['wpdiscuz_redirect_page'] : 0;
595
  $this->isGuestCanVote = isset($options['wc_is_guest_can_vote']) ? $options['wc_is_guest_can_vote'] : 0;
596
  $this->isLoadOnlyParentComments = isset($options['isLoadOnlyParentComments']) ? $options['isLoadOnlyParentComments'] : 0;
597
- $this->commentListLoadType = isset($options['commentListLoadType']) ? $options['commentListLoadType'] : 0;
598
- $this->lazyLoadOnPageLoad = isset($options['lazyLoadOnPageLoad']) ? $options['lazyLoadOnPageLoad'] : 0;
599
  $this->votingButtonsShowHide = isset($options['wc_voting_buttons_show_hide']) ? $options['wc_voting_buttons_show_hide'] : 0;
600
  $this->votingButtonsStyle = isset($options['votingButtonsStyle']) ? $options['votingButtonsStyle'] : 0;
 
601
  $this->shareButtons = isset($options['wpdiscuz_share_buttons']) ? $options['wpdiscuz_share_buttons'] : array('fb', 'twitter', 'google');
602
  $this->headerTextShowHide = isset($options['wc_header_text_show_hide']) ? $options['wc_header_text_show_hide'] : 0;
603
  $this->storeCommenterData = isset($options['storeCommenterData']) ? $options['storeCommenterData'] : -1;
@@ -616,13 +631,13 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
616
  $this->formBGColor = isset($options['wc_form_bg_color']) ? $options['wc_form_bg_color'] : '#F9F9F9';
617
  $this->commentBGColor = isset($options['wc_comment_bg_color']) ? $options['wc_comment_bg_color'] : '#FEFEFE';
618
  $this->replyBGColor = isset($options['wc_reply_bg_color']) ? $options['wc_reply_bg_color'] : '#F8F8F8';
619
- $this->commentTextColor = isset($options['wc_comment_text_color']) ? $options['wc_comment_text_color'] : '#555';
620
  $this->primaryColor = isset($options['wc_comment_username_color']) ? $options['wc_comment_username_color'] : '#00B38F';
621
  $this->ratingHoverColor = isset($options['wc_comment_rating_hover_color']) ? $options['wc_comment_rating_hover_color'] : '#FFED85';
622
  $this->ratingInactivColor = isset($options['wc_comment_rating_inactiv_color']) ? $options['wc_comment_rating_inactiv_color'] : '#DDDDDD';
623
  $this->ratingActivColor = isset($options['wc_comment_rating_activ_color']) ? $options['wc_comment_rating_activ_color'] : '#FFD700';
624
  $this->blogRoles = isset($options['wc_blog_roles']) ? $options['wc_blog_roles'] : array();
625
- $this->buttonColor = isset($options['wc_link_button_color']) ? $options['wc_link_button_color'] : array('shc' => '#bbbbbb', 'shb' => '#cccccc', 'vbc' => '#aaaaaa', 'vbb' => '#bbbbbb', 'abc' => '#ffffff', 'abb' => '#888888');
626
  $this->inputBorderColor = isset($options['wc_input_border_color']) ? $options['wc_input_border_color'] : "#D9D9D9";
627
  $this->newLoadedCommentBGColor = isset($options['wc_new_loaded_comment_bg_color']) ? $options['wc_new_loaded_comment_bg_color'] : '#FFFAD6';
628
  $this->disableFontAwesome = isset($options['disableFontAwesome']) ? $options['disableFontAwesome'] : 0;
@@ -639,6 +654,7 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
639
  $this->commentTextMaxLength = isset($options['wc_comment_text_max_length']) ? $options['wc_comment_text_max_length'] : '';
640
  $this->commentReadMoreLimit = isset($options['commentWordsLimit']) ? $options['commentWordsLimit'] : 100;
641
  $this->showHideCommentLink = isset($options['showHideCommentLink']) ? $options['showHideCommentLink'] : 0;
 
642
  $this->enableImageConversion = isset($options['enableImageConversion']) ? $options['enableImageConversion'] : 1;
643
  $this->commentLinkFilter = isset($options['commentLinkFilter']) ? $options['commentLinkFilter'] : 1;
644
  $this->isCaptchaInSession = isset($options['isCaptchaInSession']) ? $options['isCaptchaInSession'] : 0;
@@ -650,6 +666,7 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
650
  $this->isGravatarCacheEnabled = isset($options['isGravatarCacheEnabled']) ? $options['isGravatarCacheEnabled'] : 0;
651
  $this->gravatarCacheMethod = isset($options['gravatarCacheMethod']) ? $options['gravatarCacheMethod'] : 'cronjob';
652
  $this->gravatarCacheTimeout = isset($options['gravatarCacheTimeout']) ? $options['gravatarCacheTimeout'] : 10;
 
653
  do_action('wpdiscuz_init_options', $this);
654
  }
655
 
@@ -665,10 +682,12 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
665
  'wc_comment_start_text' => __('Start the discussion', 'wpdiscuz'),
666
  'wc_comment_join_text' => __('Join the discussion', 'wpdiscuz'),
667
  'wc_email_text' => __('Email', 'wpdiscuz'),
 
668
  'wc_notify_of' => __('Notify of', 'wpdiscuz'),
669
  'wc_notify_on_new_comment' => __('new follow-up comments', 'wpdiscuz'),
670
  'wc_notify_on_all_new_reply' => __('new replies to my comments', 'wpdiscuz'),
671
- 'wc_notify_on_new_reply' => __('Notify of new replies to this comment', 'wpdiscuz'),
 
672
  'wc_sort_by' => __('Sort by', 'wpdiscuz'),
673
  'wc_newest' => __('newest', 'wpdiscuz'),
674
  'wc_oldest' => __('oldest', 'wpdiscuz'),
@@ -684,7 +703,7 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
684
  'wc_share_vk' => __('Share On VKontakte', 'wpdiscuz'),
685
  'wc_share_ok' => __('Share On Odnoklassniki', 'wpdiscuz'),
686
  'wc_hide_replies_text' => __('Hide Replies', 'wpdiscuz'),
687
- 'wc_show_replies_text' => __('Show Replies', 'wpdiscuz'),
688
  'wc_email_subject' => __('New Comment', 'wpdiscuz'),
689
  'wc_email_message' => __('New comment on the discussion section you\'ve been interested in', 'wpdiscuz'),
690
  'wc_new_reply_email_subject' => __('New Reply', 'wpdiscuz'),
@@ -755,6 +774,11 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
755
  'wc_comment_approved_email_subject' => __('Comment was approved', 'wpdiscuz'),
756
  'wc_comment_approved_email_message' => __('Hi, <br/> Your comment was approved.', 'wpdiscuz'),
757
  'wc_roles_cannot_comment_message' => __('Comments are closed.', 'wpdiscuz'),
 
 
 
 
 
758
  );
759
  }
760
 
@@ -769,10 +793,10 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
769
  'wpdiscuz_redirect_page' => $this->redirectPage,
770
  'wc_is_guest_can_vote' => $this->isGuestCanVote,
771
  'isLoadOnlyParentComments' => $this->isLoadOnlyParentComments,
772
- 'commentListLoadType' => $this->commentListLoadType,
773
- 'lazyLoadOnPageLoad' => $this->lazyLoadOnPageLoad,
774
  'wc_voting_buttons_show_hide' => $this->votingButtonsShowHide,
775
  'votingButtonsStyle' => $this->votingButtonsStyle,
 
776
  'wpdiscuz_share_buttons' => $this->shareButtons,
777
  'wc_header_text_show_hide' => $this->headerTextShowHide,
778
  'storeCommenterData' => $this->storeCommenterData,
@@ -814,6 +838,7 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
814
  'wc_comment_text_max_length' => $this->commentTextMaxLength,
815
  'commentWordsLimit' => $this->commentReadMoreLimit,
816
  'showHideCommentLink' => $this->showHideCommentLink,
 
817
  'enableImageConversion' => $this->enableImageConversion,
818
  'commentLinkFilter' => $this->commentLinkFilter,
819
  'isCaptchaInSession' => $this->isCaptchaInSession,
@@ -825,6 +850,7 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
825
  'isGravatarCacheEnabled' => $this->isGravatarCacheEnabled,
826
  'gravatarCacheMethod' => $this->gravatarCacheMethod,
827
  'gravatarCacheTimeout' => $this->gravatarCacheTimeout,
 
828
  );
829
  return $options;
830
  }
@@ -845,10 +871,10 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
845
  'wc_is_guest_can_vote' => '1',
846
  'commentsLoadType' => '0',
847
  'isLoadOnlyParentComments' => '0',
848
- 'commentListLoadType' => '0',
849
- 'lazyLoadOnPageLoad' => '0',
850
  'wc_voting_buttons_show_hide' => '0',
851
  'votingButtonsStyle' => '0',
 
852
  'wpdiscuz_share_buttons' => $this->shareButtons,
853
  'wc_header_text_show_hide' => '0',
854
  'wc_avatar_show_hide' => '0',
@@ -877,7 +903,7 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
877
  'wc_comment_rating_inactiv_color' => '#DDDDDD',
878
  'wc_comment_rating_activ_color' => '#FFD700',
879
  'wc_blog_roles' => $this->blogRoles,
880
- 'wc_link_button_color' => array('shc' => '#bbbbbb', 'shb' => '#cccccc', 'vbc' => '#aaaaaa', 'vbb' => '#bbbbbb', 'abc' => '#ffffff', 'abb' => '#888888'),
881
  'wc_input_border_color' => '#D9D9D9',
882
  'wc_new_loaded_comment_bg_color' => '#FFFAD6',
883
  'disableFontAwesome' => '0',
@@ -894,6 +920,7 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
894
  'wc_comment_text_max_length' => '',
895
  'commentWordsLimit' => '100',
896
  'showHideCommentLink' => '0',
 
897
  'enableImageConversion' => '1',
898
  'commentLinkFilter' => '1',
899
  'isCaptchaInSession' => '1',
@@ -905,6 +932,7 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
905
  'isGravatarCacheEnabled' => '1',
906
  'gravatarCacheMethod' => 'cronjob',
907
  'gravatarCacheTimeout' => '10',
 
908
  'wcf_google_map_api_key' => '',
909
  );
910
  add_option(self::OPTION_SLUG_OPTIONS, serialize($options));
@@ -950,7 +978,6 @@ class WpdiscuzOptionsSerialized implements WpDiscuzConstants {
950
  $js_options['wc_msg_input_max_length'] = $this->phrases['wc_msg_input_max_length'];
951
  $js_options['is_user_logged_in'] = is_user_logged_in();
952
  $js_options['commentListLoadType'] = $this->commentListLoadType;
953
- $js_options['lazyLoadOnPageLoad'] = $this->lazyLoadOnPageLoad;
954
  $js_options['commentListUpdateType'] = $this->commentListUpdateType;
955
  $js_options['commentListUpdateTimer'] = $this->commentListUpdateTimer;
956
  $js_options['liveUpdateGuests'] = $this->liveUpdateGuests;
82
  */
83
  public $commentListLoadType;
84
 
 
 
 
 
 
 
 
 
85
  /**
86
  * Type - Checkbox
87
  * Available Values - Checked/Unchecked
97
  * Default Value - total
98
  */
99
  public $votingButtonsStyle;
100
+
101
+ /**
102
+ * Type - Radio
103
+ * Available Values - font awesome icons
104
+ * Description - Voting buttons icons
105
+ * Default Value - total
106
+ */
107
+ public $votingButtonsIcon;
108
 
109
  /**
110
  * Type - Checkbox array
452
  */
453
  public $showHideCommentLink;
454
 
455
+ /**
456
+ * Type - Checkbox
457
+ * Available Values - Checked/Unchecked
458
+ * Description - Hide comment date if checked
459
+ * Default Value - Unchecked
460
+ */
461
+ public $hideCommentDate;
462
+
463
  /**
464
  * Type - Checkbox
465
  * Available Values - Checked/Unchecked
554
  * Default Value - 7
555
  */
556
  public $gravatarCacheTimeout;
 
557
  public $isFileFunctionsExists;
558
  /* === CACHE === */
559
+
560
+ /**
561
+ * Type - Radio
562
+ * Available Values - total / separate
563
+ * Description - Total shows sum of positive and negative votes or separate for positive and negative votes
564
+ * Default Value - total
565
+ */
566
+ public $theme;
567
 
568
  /**
569
  * wordpress options
609
  $this->redirectPage = isset($options['wpdiscuz_redirect_page']) ? $options['wpdiscuz_redirect_page'] : 0;
610
  $this->isGuestCanVote = isset($options['wc_is_guest_can_vote']) ? $options['wc_is_guest_can_vote'] : 0;
611
  $this->isLoadOnlyParentComments = isset($options['isLoadOnlyParentComments']) ? $options['isLoadOnlyParentComments'] : 0;
612
+ $this->commentListLoadType = isset($options['commentListLoadType']) ? $options['commentListLoadType'] : 0;
 
613
  $this->votingButtonsShowHide = isset($options['wc_voting_buttons_show_hide']) ? $options['wc_voting_buttons_show_hide'] : 0;
614
  $this->votingButtonsStyle = isset($options['votingButtonsStyle']) ? $options['votingButtonsStyle'] : 0;
615
+ $this->votingButtonsIcon = isset($options['votingButtonsIcon']) ? $options['votingButtonsIcon'] : 'fa-plus|fa-minus';
616
  $this->shareButtons = isset($options['wpdiscuz_share_buttons']) ? $options['wpdiscuz_share_buttons'] : array('fb', 'twitter', 'google');
617
  $this->headerTextShowHide = isset($options['wc_header_text_show_hide']) ? $options['wc_header_text_show_hide'] : 0;
618
  $this->storeCommenterData = isset($options['storeCommenterData']) ? $options['storeCommenterData'] : -1;
631
  $this->formBGColor = isset($options['wc_form_bg_color']) ? $options['wc_form_bg_color'] : '#F9F9F9';
632
  $this->commentBGColor = isset($options['wc_comment_bg_color']) ? $options['wc_comment_bg_color'] : '#FEFEFE';
633
  $this->replyBGColor = isset($options['wc_reply_bg_color']) ? $options['wc_reply_bg_color'] : '#F8F8F8';
634
+ $this->commentTextColor = isset($options['wc_comment_text_color']) ? $options['wc_comment_text_color'] : '#666';
635
  $this->primaryColor = isset($options['wc_comment_username_color']) ? $options['wc_comment_username_color'] : '#00B38F';
636
  $this->ratingHoverColor = isset($options['wc_comment_rating_hover_color']) ? $options['wc_comment_rating_hover_color'] : '#FFED85';
637
  $this->ratingInactivColor = isset($options['wc_comment_rating_inactiv_color']) ? $options['wc_comment_rating_inactiv_color'] : '#DDDDDD';
638
  $this->ratingActivColor = isset($options['wc_comment_rating_activ_color']) ? $options['wc_comment_rating_activ_color'] : '#FFD700';
639
  $this->blogRoles = isset($options['wc_blog_roles']) ? $options['wc_blog_roles'] : array();
640
+ $this->buttonColor = isset($options['wc_link_button_color']) ? $options['wc_link_button_color'] : array( 'primary_button_bg' => '#555555', 'primary_button_color' => '#FFFFFF', 'secondary_button_color' => '#777777', 'secondary_button_border' => '#dddddd', 'vote_up_link_color' => '#999999', 'vote_down_link_color' => '#999999' );
641
  $this->inputBorderColor = isset($options['wc_input_border_color']) ? $options['wc_input_border_color'] : "#D9D9D9";
642
  $this->newLoadedCommentBGColor = isset($options['wc_new_loaded_comment_bg_color']) ? $options['wc_new_loaded_comment_bg_color'] : '#FFFAD6';
643
  $this->disableFontAwesome = isset($options['disableFontAwesome']) ? $options['disableFontAwesome'] : 0;
654
  $this->commentTextMaxLength = isset($options['wc_comment_text_max_length']) ? $options['wc_comment_text_max_length'] : '';
655
  $this->commentReadMoreLimit = isset($options['commentWordsLimit']) ? $options['commentWordsLimit'] : 100;
656
  $this->showHideCommentLink = isset($options['showHideCommentLink']) ? $options['showHideCommentLink'] : 0;
657
+ $this->hideCommentDate = isset($options['hideCommentDate']) ? $options['hideCommentDate'] : 0;
658
  $this->enableImageConversion = isset($options['enableImageConversion']) ? $options['enableImageConversion'] : 1;
659
  $this->commentLinkFilter = isset($options['commentLinkFilter']) ? $options['commentLinkFilter'] : 1;
660
  $this->isCaptchaInSession = isset($options['isCaptchaInSession']) ? $options['isCaptchaInSession'] : 0;
666
  $this->isGravatarCacheEnabled = isset($options['isGravatarCacheEnabled']) ? $options['isGravatarCacheEnabled'] : 0;
667
  $this->gravatarCacheMethod = isset($options['gravatarCacheMethod']) ? $options['gravatarCacheMethod'] : 'cronjob';
668
  $this->gravatarCacheTimeout = isset($options['gravatarCacheTimeout']) ? $options['gravatarCacheTimeout'] : 10;
669
+ $this->theme = isset($options['theme']) ? $options['theme'] : 'wpd-default';
670
  do_action('wpdiscuz_init_options', $this);
671
  }
672
 
682
  'wc_comment_start_text' => __('Start the discussion', 'wpdiscuz'),
683
  'wc_comment_join_text' => __('Join the discussion', 'wpdiscuz'),
684
  'wc_email_text' => __('Email', 'wpdiscuz'),
685
+ 'wc_subscribe_anchor' => __('Subscribe', 'wpdiscuz'),
686
  'wc_notify_of' => __('Notify of', 'wpdiscuz'),
687
  'wc_notify_on_new_comment' => __('new follow-up comments', 'wpdiscuz'),
688
  'wc_notify_on_all_new_reply' => __('new replies to my comments', 'wpdiscuz'),
689
+ 'wc_notify_on_new_reply_on' => __('Notify of new replies to this comment - (on)', 'wpdiscuz'),
690
+ 'wc_notify_on_new_reply_off' => __('Notify of new replies to this comment - (off)', 'wpdiscuz'),
691
  'wc_sort_by' => __('Sort by', 'wpdiscuz'),
692
  'wc_newest' => __('newest', 'wpdiscuz'),
693
  'wc_oldest' => __('oldest', 'wpdiscuz'),
703
  'wc_share_vk' => __('Share On VKontakte', 'wpdiscuz'),
704
  'wc_share_ok' => __('Share On Odnoklassniki', 'wpdiscuz'),
705
  'wc_hide_replies_text' => __('Hide Replies', 'wpdiscuz'),
706
+ 'wc_show_replies_text' => __('View Replies', 'wpdiscuz'),
707
  'wc_email_subject' => __('New Comment', 'wpdiscuz'),
708
  'wc_email_message' => __('New comment on the discussion section you\'ve been interested in', 'wpdiscuz'),
709
  'wc_new_reply_email_subject' => __('New Reply', 'wpdiscuz'),
774
  'wc_comment_approved_email_subject' => __('Comment was approved', 'wpdiscuz'),
775
  'wc_comment_approved_email_message' => __('Hi, <br/> Your comment was approved.', 'wpdiscuz'),
776
  'wc_roles_cannot_comment_message' => __('Comments are closed.', 'wpdiscuz'),
777
+ 'wc_stick_main_form_comment_on' => __('Stick this comment - (on)', 'wpdiscuz'),
778
+ 'wc_stick_main_form_comment_off' => __('Stick this comment - (off)', 'wpdiscuz'),
779
+ 'wc_stick_comment' => __('Stick', 'wpdiscuz'),
780
+ 'wc_unstick_comment' => __('Unstick', 'wpdiscuz'),
781
+ 'wc_sticky_comment_icon_title' => __('Sticky comment thread', 'wpdiscuz'),
782
  );
783
  }
784
 
793
  'wpdiscuz_redirect_page' => $this->redirectPage,
794
  'wc_is_guest_can_vote' => $this->isGuestCanVote,
795
  'isLoadOnlyParentComments' => $this->isLoadOnlyParentComments,
796
+ 'commentListLoadType' => $this->commentListLoadType,
 
797
  'wc_voting_buttons_show_hide' => $this->votingButtonsShowHide,
798
  'votingButtonsStyle' => $this->votingButtonsStyle,
799
+ 'votingButtonsIcon' => $this->votingButtonsIcon,
800
  'wpdiscuz_share_buttons' => $this->shareButtons,
801
  'wc_header_text_show_hide' => $this->headerTextShowHide,
802
  'storeCommenterData' => $this->storeCommenterData,
838
  'wc_comment_text_max_length' => $this->commentTextMaxLength,
839
  'commentWordsLimit' => $this->commentReadMoreLimit,
840
  'showHideCommentLink' => $this->showHideCommentLink,
841
+ 'hideCommentDate' => $this->hideCommentDate,
842
  'enableImageConversion' => $this->enableImageConversion,
843
  'commentLinkFilter' => $this->commentLinkFilter,
844
  'isCaptchaInSession' => $this->isCaptchaInSession,
850
  'isGravatarCacheEnabled' => $this->isGravatarCacheEnabled,
851
  'gravatarCacheMethod' => $this->gravatarCacheMethod,
852
  'gravatarCacheTimeout' => $this->gravatarCacheTimeout,
853
+ 'theme' => $this->theme,
854
  );
855
  return $options;
856
  }
871
  'wc_is_guest_can_vote' => '1',
872
  'commentsLoadType' => '0',
873
  'isLoadOnlyParentComments' => '0',
874
+ 'commentListLoadType' => '0',
 
875
  'wc_voting_buttons_show_hide' => '0',
876
  'votingButtonsStyle' => '0',
877
+ 'votingButtonsIcon' => 'fa-plus|fa-minus',
878
  'wpdiscuz_share_buttons' => $this->shareButtons,
879
  'wc_header_text_show_hide' => '0',
880
  'wc_avatar_show_hide' => '0',
903
  'wc_comment_rating_inactiv_color' => '#DDDDDD',
904
  'wc_comment_rating_activ_color' => '#FFD700',
905
  'wc_blog_roles' => $this->blogRoles,
906
+ 'wc_link_button_color' => array( 'primary_button_bg' => '#555555', 'primary_button_color' => '#FFFFFF', 'secondary_button_color' => '#777777', 'secondary_button_border' => '#dddddd', 'vote_up_link_color' => '#999999', 'vote_down_link_color' => '#999999' ),
907
  'wc_input_border_color' => '#D9D9D9',
908
  'wc_new_loaded_comment_bg_color' => '#FFFAD6',
909
  'disableFontAwesome' => '0',
920
  'wc_comment_text_max_length' => '',
921
  'commentWordsLimit' => '100',
922
  'showHideCommentLink' => '0',
923
+ 'hideCommentDate' => '0',
924
  'enableImageConversion' => '1',
925
  'commentLinkFilter' => '1',
926
  'isCaptchaInSession' => '1',
932
  'isGravatarCacheEnabled' => '1',
933
  'gravatarCacheMethod' => 'cronjob',
934
  'gravatarCacheTimeout' => '10',
935
+ 'theme' => 'wpd-default',
936
  'wcf_google_map_api_key' => '',
937
  );
938
  add_option(self::OPTION_SLUG_OPTIONS, serialize($options));
978
  $js_options['wc_msg_input_max_length'] = $this->phrases['wc_msg_input_max_length'];
979
  $js_options['is_user_logged_in'] = is_user_logged_in();
980
  $js_options['commentListLoadType'] = $this->commentListLoadType;
 
981
  $js_options['commentListUpdateType'] = $this->commentListUpdateType;
982
  $js_options['commentListUpdateTimer'] = $this->commentListUpdateTimer;
983
  $js_options['liveUpdateGuests'] = $this->liveUpdateGuests;
options/html-options.php CHANGED
@@ -5,7 +5,7 @@ if (!defined('ABSPATH')) {
5
  ?>
6
  <div class="wrap wpdiscuz_options_page">
7
  <div style="float:left; width:50px; height:55px; margin:10px 10px 20px 0px;">
8
- <img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/plugin-icon/plugin-icon-48.png'); ?>" style="border:2px solid #fff;"/>
9
  </div>
10
  <h1 style="padding-bottom:20px; padding-top:15px;"><?php _e('wpDiscuz General Settings', 'wpdiscuz'); ?></h1>
11
  <br style="clear:both" />
@@ -16,10 +16,10 @@ if (!defined('ABSPATH')) {
16
  <td valign="top" style="padding:3px;">
17
  <table width="100%" border="0" cellspacing="2">
18
  <tr>
19
- <th style="font-size:16px;"><a href="https://wordpress.org/support/view/plugin-reviews/wpdiscuz?filter=5" target="_blank" title="We'd greatly appreciate your feedback on WordPress.org"><?php _e('Like wpDiscuz?', 'wpdiscuz'); ?></a></th>
20
- <th style="font-size:16px; width:135px; text-align:center;"><a href="http://wpdiscuz.com/wpdiscuz-documentation/" style="color:#008EC2; overflow:hidden; outline:none;" target="_blank"><?php _e('Documentation', 'wpdiscuz'); ?></a></th>
21
- <th style="font-size:16px; width:75px; text-align:center;"><a href="https://gvectors.com/forum/" style="color:#008EC2; overflow:hidden; outline:none;" target="_blank"><?php _e('Support', 'wpdiscuz'); ?></a></th>
22
- <th style="font-size:16px; width:75px; text-align:center;"><a href="http://wpdiscuz.com/addons/" style="color:#008EC2; overflow:hidden; outline:none;" target="_blank"><?php _e('Addons', 'wpdiscuz'); ?></a></th>
23
  </tr>
24
  </table>
25
  </td>
@@ -52,25 +52,27 @@ if (!defined('ABSPATH')) {
52
  <h2>&nbsp;</h2>
53
  <div id="optionsTab">
54
  <ul class="resp-tabs-list options_tab_id">
55
- <li><?php _e('General Settings', 'wpdiscuz'); ?></li>
 
 
56
  <li><?php _e('Live Update', 'wpdiscuz'); ?></li>
57
- <li><?php _e('Show/Hide', 'wpdiscuz'); ?></li>
58
  <li><?php _e('Subscription', 'wpdiscuz'); ?> <?php if (class_exists('Prompt_Comment_Form_Handling')): ?> <?php _e('and Postmatic', 'wpdiscuz'); ?> <?php endif; ?></li>
59
  <li><?php _e('Styling', 'wpdiscuz'); ?></li>
60
  <li><?php _e('Cache', 'wpdiscuz'); ?></li>
61
- <li><?php _e('Social Login', 'wpdiscuz'); ?></li>
62
  <li><?php _e('Integrations', 'wpdiscuz'); ?></li>
63
  <li><?php _e('Addons', 'wpdiscuz'); ?></li>
64
  </ul>
65
  <div class="resp-tabs-container options_tab_id">
66
  <?php
67
  include 'options-layouts/settings-general.php';
 
 
68
  include 'options-layouts/settings-live-update.php';
69
- include 'options-layouts/settings-show-hide.php';
70
  include 'options-layouts/settings-subscription.php';
71
  include 'options-layouts/settings-style.php';
72
  include 'options-layouts/settings-cache.php';
73
- include 'options-layouts/settings-social.php';
74
  include 'options-layouts/settings-integrations.php';
75
  include 'options-layouts/settings-addons.php';
76
  ?>
5
  ?>
6
  <div class="wrap wpdiscuz_options_page">
7
  <div style="float:left; width:50px; height:55px; margin:10px 10px 20px 0px;">
8
+ <img src="<?php echo plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/plugin-icon/plugin-icon-48.png'); ?>" style="border:1px solid #fff;"/>
9
  </div>
10
  <h1 style="padding-bottom:20px; padding-top:15px;"><?php _e('wpDiscuz General Settings', 'wpdiscuz'); ?></h1>
11
  <br style="clear:both" />
16
  <td valign="top" style="padding:3px;">
17
  <table width="100%" border="0" cellspacing="2">
18
  <tr>
19
+ <th style="font-size:16px;"><a href="https://gvectors.com/product-category/wpdiscuz/" target="_blank" title="Find all wpDiscuz Addons on gVectors Team Store"><?php _e('Need More Features?', 'wpdiscuz'); ?></a></th>
20
+ <th style="font-size:16px; width:135px; text-align:center;"><a href="http://wpdiscuz.com/wpdiscuz-documentation/" style="overflow:hidden; outline:none;" target="_blank"><?php _e('Documentation', 'wpdiscuz'); ?></a></th>
21
+ <th style="font-size:16px; width:75px; text-align:center;"><a href="https://gvectors.com/forum/" style="overflow:hidden; outline:none;" target="_blank"><?php _e('Support', 'wpdiscuz'); ?></a></th>
22
+ <th style="font-size:16px; width:75px; text-align:center;"><a href="https://gvectors.com/product-category/wpdiscuz/" style="overflow:hidden; outline:none;" target="_blank"><?php _e('Addons', 'wpdiscuz'); ?></a></th>
23
  </tr>
24
  </table>
25
  </td>
52
  <h2>&nbsp;</h2>
53
  <div id="optionsTab">
54
  <ul class="resp-tabs-list options_tab_id">
55
+ <li><?php _e('General', 'wpdiscuz'); ?></li>
56
+ <li><?php _e('Comment Form', 'wpdiscuz'); ?></li>
57
+ <li><?php _e('Comment List', 'wpdiscuz'); ?></li>
58
  <li><?php _e('Live Update', 'wpdiscuz'); ?></li>
59
+
60
  <li><?php _e('Subscription', 'wpdiscuz'); ?> <?php if (class_exists('Prompt_Comment_Form_Handling')): ?> <?php _e('and Postmatic', 'wpdiscuz'); ?> <?php endif; ?></li>
61
  <li><?php _e('Styling', 'wpdiscuz'); ?></li>
62
  <li><?php _e('Cache', 'wpdiscuz'); ?></li>
 
63
  <li><?php _e('Integrations', 'wpdiscuz'); ?></li>
64
  <li><?php _e('Addons', 'wpdiscuz'); ?></li>
65
  </ul>
66
  <div class="resp-tabs-container options_tab_id">
67
  <?php
68
  include 'options-layouts/settings-general.php';
69
+ include 'options-layouts/settings-form.php';
70
+ include 'options-layouts/settings-list.php';
71
  include 'options-layouts/settings-live-update.php';
 
72
  include 'options-layouts/settings-subscription.php';
73
  include 'options-layouts/settings-style.php';
74
  include 'options-layouts/settings-cache.php';
75
+ //include 'options-layouts/settings-social.php';
76
  include 'options-layouts/settings-integrations.php';
77
  include 'options-layouts/settings-addons.php';
78
  ?>
options/options-layouts/settings-addons.php CHANGED
@@ -2,23 +2,63 @@
2
  if (!defined('ABSPATH')) {
3
  exit();
4
  }
 
 
 
 
 
 
 
5
  ?>
6
  <div>
7
- <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Addons', 'wpdiscuz'); ?></h2>
8
  <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
9
  <tbody>
10
  <tr valign="top">
11
  <th scope="row">
12
 
13
- <p style="padding:10px; font-style:italic;"><?php _e('Here you can find wpDiscuz Addons\' setting options in vertical subTabs with according addon titles. All wpDiscuz addons are listed on wpDiscuz', 'wpdiscuz'); ?> &gt; <a href="<?php echo admin_url('edit-comments.php?page=' . WpdiscuzCore::PAGE_ADDONS) ?>"><?php _e('Addons subMenu', 'wpdiscuz'); ?></a>. <?php _e('We\'ll add new free and paid addons with almost every wpDiscuz release. There will be dozens of very useful addons in near future. Currently wpDiscuz consists of about 70 free features/addons like "Live Update", "First comment redirection", "Comment sorting", "Simple CAPTCHA", "AJAX Pagination", "Lazy Load", "Comment Likes", "Comment Share" and dozens of other addons and there will be more. All new and free addons will be built-in with wpDiscuz plugin and all paid addons will be listed separately on', 'wpdiscuz'); ?> <a href="<?php echo admin_url('edit-comments.php?page=' . WpdiscuzCore::PAGE_ADDONS) ?>"><?php _e('Addons subMenu','wpdiscuz');?></a>.</p>
14
- <hr style="margin-bottom:25px; border-color:#fff;" />
 
 
 
 
 
 
 
 
 
 
15
 
 
16
  <div id="wpdiscuz-addons-options">
17
  <ul class="resp-tabs-list wpdiscuz-addons-options">
18
  <?php do_action('wpdiscuz_addon_tab_title'); ?>
 
 
 
 
 
 
 
 
 
 
 
19
  </ul>
20
  <div class="resp-tabs-container wpdiscuz-addons-options">
21
  <?php do_action('wpdiscuz_addon_tab_content'); ?>
 
 
 
 
 
 
 
 
 
 
 
22
  </div>
23
  </div>
24
  </th>
2
  if (!defined('ABSPATH')) {
3
  exit();
4
  }
5
+ $isMuExists = class_exists('WpdiscuzMediaUploader');
6
+ $isUcmExists = class_exists('WpdiscuzUCM');
7
+ $isAlExists = class_exists('WpdiscuzVoters');
8
+ $isFemExists = class_exists('frontEndModeration');
9
+ $isCaiExists = class_exists('WpdiscuzCommentAuthorInfo');
10
+ $isRafExists = class_exists('wpDiscuzFlagComment');
11
+ $showDemos = get_option(WpDiscuzConstants::OPTION_SLUG_SHOW_DEMO, 1);
12
  ?>
13
  <div>
14
+ <h2 class="wpd-subtitle"><?php _e('Addons', 'wpdiscuz'); ?></h2>
15
  <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
16
  <tbody>
17
  <tr valign="top">
18
  <th scope="row">
19
 
20
+ <p style="padding:10px; font-style:italic;"><?php _e('Here you can find wpDiscuz Addons\' setting options in vertical subTabs with according addon titles. All wpDiscuz addons are listed on wpDiscuz', 'wpdiscuz'); ?> &gt; <a href="<?php echo admin_url('edit-comments.php?page=' . WpdiscuzCore::PAGE_ADDONS) ?>"><?php _e('Addons subMenu', 'wpdiscuz'); ?></a>. <?php _e('We\'ll add new free and paid addons with almost every wpDiscuz release. There will be dozens of very useful addons in near future. Currently wpDiscuz consists of about 70 free features/addons like "Live Update", "First comment redirection", "Comment sorting", "Simple CAPTCHA", "AJAX Pagination", "Lazy Load", "Comment Likes", "Comment Share" and dozens of other addons and there will be more. All new and free addons will be built-in with wpDiscuz plugin and all paid addons will be listed separately on', 'wpdiscuz'); ?> <a href="<?php echo admin_url('edit-comments.php?page=' . WpdiscuzCore::PAGE_ADDONS) ?>"><?php _e('Addons subMenu', 'wpdiscuz'); ?></a>.</p>
21
+
22
+ <div class="wpdxx" style="text-align: right;">
23
+ <div style="display: inline-block; padding: 0px 10px; font-size: 16px; color: #666;">Demo Addons </div>
24
+ <input type="checkbox" name="disable-demo-addons" value="1" id="wpd-disable-addons" <?php checked($showDemos); ?>/>
25
+ <label for="wpd-disable-addons" style="display: inline-block; margin-right: 30px;">&nbsp;</label>
26
+ <?php
27
+ $show = get_option(WpDiscuzConstants::OPTION_SLUG_SHOW_DEMO, 1);
28
+ $disableAddonsUrl = admin_url('admin-post.php/?action=disableAddonsDemo&show=' . intval(!$showDemos));
29
+ ?>
30
+ <input type="hidden" value="<?php echo wp_nonce_url($disableAddonsUrl, 'disableAddonsDemo'); ?>" id="wpd-disable-addons-action" />
31
+ </div>
32
 
33
+ <hr style="margin-bottom:25px; border-color:#fff;" />
34
  <div id="wpdiscuz-addons-options">
35
  <ul class="resp-tabs-list wpdiscuz-addons-options">
36
  <?php do_action('wpdiscuz_addon_tab_title'); ?>
37
+ <?php
38
+ if ($showDemos) {
39
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/mu/title.php';
40
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/ucm/title.php';
41
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/al/title.php';
42
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/fem/title.php';
43
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/cai/title.php';
44
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/raf/title.php';
45
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/more/title.php';
46
+ }
47
+ ?>
48
  </ul>
49
  <div class="resp-tabs-container wpdiscuz-addons-options">
50
  <?php do_action('wpdiscuz_addon_tab_content'); ?>
51
+ <?php
52
+ if ($showDemos) {
53
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/mu/content.php';
54
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/ucm/content.php';
55
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/al/content.php';
56
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/fem/content.php';
57
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/cai/content.php';
58
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/raf/content.php';
59
+ include_once WPDISCUZ_DIR_PATH . '/options/addons/more/content.php';
60
+ }
61
+ ?>
62
  </div>
63
  </div>
64
  </th>
options/options-layouts/settings-cache.php CHANGED
@@ -4,11 +4,11 @@ if (!defined('ABSPATH')) {
4
  }
5
  ?>
6
  <div>
7
- <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Gravatar Cache', 'wpdiscuz'); ?></h2>
8
- <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
9
  <tbody>
10
  <tr valign="top">
11
- <th scope="row">
12
  <label for="isGravatarCacheEnabled"><?php _e('Enable Grvatar caching', 'wpdiscuz'); ?></label>
13
  <?php if (!$this->optionsSerialized->isFileFunctionsExists) { ?>
14
  <p class="desc"><?php _e('It seems on of important functions ("file_get_contents", "file_put_contents") of php is not exists.<br/> Please enable these functions in your server settings to use gravatar caching feature.', 'wpdiscuz'); ?></p>
@@ -16,24 +16,19 @@ if (!defined('ABSPATH')) {
16
  </th>
17
  <td>
18
  <input type="checkbox" <?php checked($this->optionsSerialized->isGravatarCacheEnabled == 1) ?> value="1" name="isGravatarCacheEnabled" id="isGravatarCacheEnabled" />
 
19
  </td>
20
  </tr>
21
  <tr valign="top">
22
  <th scope="row">
23
  <label for="gravatarCacheMethod"><?php _e('Caching method', 'wpdiscuz'); ?></label>
24
  </th>
25
- <td>
26
- <fieldset>
27
- <label for="gravatarCacheMethodRuntime">
28
- <input type="radio" <?php checked($this->optionsSerialized->gravatarCacheMethod == 'runtime') ?> value="runtime" name="gravatarCacheMethod" id="gravatarCacheMethodRuntime" />
29
- <span><?php _e('Runtime', 'wpdiscuz'); ?></span>
30
- </label><br/>
31
- <label for="gravatarCacheMethodCronjob">
32
- <input type="radio" <?php checked($this->optionsSerialized->gravatarCacheMethod == 'cronjob') ?> value="cronjob" name="gravatarCacheMethod" id="gravatarCacheMethodCronjob" />
33
- <span><?php _e('Cron job', 'wpdiscuz'); ?></span>
34
- </label>
35
- </fieldset>
36
- </td>
37
  </tr>
38
  <tr valign="top">
39
  <th scope="row">
@@ -49,8 +44,8 @@ if (!defined('ABSPATH')) {
49
  <?php _e('Purge expired caches', 'wpdiscuz'); ?>
50
  </th>
51
  <td>
52
- <?php $cacheUrl = admin_url('admin-post.php/?action=purgeExpiredGravatarsCaches'); ?>
53
- <a id="wpdiscuz-purge-expired-gravatars-cache" href="<?php echo wp_nonce_url($cacheUrl, 'purgeExpiredGravatarsCaches'); ?>" class="button button-secondary" style="margin-left: 5px;"><?php _e('Purge expired caches', 'wpdiscuz'); ?></a>
54
  </td>
55
  </tr>
56
  <tr>
@@ -58,8 +53,8 @@ if (!defined('ABSPATH')) {
58
  <?php _e('Purge all caches', 'wpdiscuz'); ?>
59
  </th>
60
  <td>
61
- <?php $cacheUrl = admin_url('admin-post.php/?action=purgeGravatarsCaches'); ?>
62
- <a id="wpdiscuz-purge-gravatars-cache" href="<?php echo wp_nonce_url($cacheUrl, 'purgeGravatarsCaches'); ?>" class="button button-secondary" style="margin-left: 5px;"><?php _e('Purge all caches', 'wpdiscuz'); ?></a>
63
  </td>
64
  </tr>
65
  </tbody>
4
  }
5
  ?>
6
  <div>
7
+ <h2 class="wpd-subtitle"><?php _e('Gravatar Cache', 'wpdiscuz'); ?></h2>
8
+ <table class="wp-list-table widefat plugins wpdxb" style="margin-top:10px; border:none;">
9
  <tbody>
10
  <tr valign="top">
11
+ <th scope="row" style="width: 45%;">
12
  <label for="isGravatarCacheEnabled"><?php _e('Enable Grvatar caching', 'wpdiscuz'); ?></label>
13
  <?php if (!$this->optionsSerialized->isFileFunctionsExists) { ?>
14
  <p class="desc"><?php _e('It seems on of important functions ("file_get_contents", "file_put_contents") of php is not exists.<br/> Please enable these functions in your server settings to use gravatar caching feature.', 'wpdiscuz'); ?></p>
16
  </th>
17
  <td>
18
  <input type="checkbox" <?php checked($this->optionsSerialized->isGravatarCacheEnabled == 1) ?> value="1" name="isGravatarCacheEnabled" id="isGravatarCacheEnabled" />
19
+ <label for="isGravatarCacheEnabled"></label>
20
  </td>
21
  </tr>
22
  <tr valign="top">
23
  <th scope="row">
24
  <label for="gravatarCacheMethod"><?php _e('Caching method', 'wpdiscuz'); ?></label>
25
  </th>
26
+ <th>
27
+ <div class="wpd-switch-field">
28
+ <input type="radio" <?php checked($this->optionsSerialized->gravatarCacheMethod == 'runtime') ?> value="runtime" name="gravatarCacheMethod" id="gravatarCacheMethodRuntime" /><label for="gravatarCacheMethodRuntime"><?php _e('Runtime', 'wpdiscuz'); ?></label>
29
+ <input type="radio" <?php checked($this->optionsSerialized->gravatarCacheMethod == 'cronjob') ?> value="cronjob" name="gravatarCacheMethod" id="gravatarCacheMethodCronjob" /><label for="gravatarCacheMethodCronjob"><?php _e('Cron job', 'wpdiscuz'); ?></label>
30
+ </div>
31
+ </th>
 
 
 
 
 
 
32
  </tr>
33
  <tr valign="top">
34
  <th scope="row">
44
  <?php _e('Purge expired caches', 'wpdiscuz'); ?>
45
  </th>
46
  <td>
47
+ <?php $expiredCacheUrl = admin_url('admin-post.php/?action=purgeExpiredGravatarsCaches'); ?>
48
+ <a id="wpdiscuz-purge-expired-gravatars-cache" href="<?php echo wp_nonce_url($expiredCacheUrl, 'purgeExpiredGravatarsCaches'); ?>" class="button button-secondary" style="margin-left: 5px;"><?php _e('Purge expired caches', 'wpdiscuz'); ?></a>
49
  </td>
50
  </tr>
51
  <tr>
53
  <?php _e('Purge all caches', 'wpdiscuz'); ?>
54
  </th>
55
  <td>
56
+ <?php $allCacheUrl = admin_url('admin-post.php/?action=purgeGravatarsCaches'); ?>
57
+ <a id="wpdiscuz-purge-gravatars-cache" href="<?php echo wp_nonce_url($allCacheUrl, 'purgeGravatarsCaches'); ?>" class="button button-secondary" style="margin-left: 5px;"><?php _e('Purge all caches', 'wpdiscuz'); ?></a>
58
  </td>
59
  </tr>
60
  </tbody>
options/options-layouts/settings-customfields.php CHANGED
@@ -4,8 +4,8 @@ if (!defined('ABSPATH')) {
4
  }
5
  ?>
6
  <div>
7
- <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Custom Fields', 'wpdiscuz'); ?></h2>
8
- <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
9
  <tbody>
10
  <tr valign="top">
11
  <th colspan="2">
4
  }
5
  ?>
6
  <div>
7
+ <h2 class="wpd-subtitle"><?php _e('Custom Fields', 'wpdiscuz'); ?></h2>
8
+ <table class="wp-list-table widefat plugins wpdxb" style="margin-top:10px; border:none;">
9
  <tbody>
10
  <tr valign="top">
11
  <th colspan="2">
options/options-layouts/settings-form.php ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+ ?>
6
+ <div>
7
+ <h2 class="wpd-subtitle"><?php _e('Comment Form Settings', 'wpdiscuz'); ?></h2>
8
+ <table class="wp-list-table widefat plugins wpdxb" style="margin-top:10px; border:none;">
9
+ <tbody>
10
+ <tr valign="top">
11
+ <th scope="row" style="width: 50%;">
12
+ <label for="wc_header_text_show_hide"><?php _e('Hide Header Text', 'wpdiscuz'); ?></label>
13
+ <p class="wpd-desc"><?php _e('This option hides "Leave Reply" header text on top of comment form. You can madify this text in Comments > Forms admin page.', 'wpdiscuz'); ?></p>
14
+ </th>
15
+ <td>
16
+ <input type="checkbox" <?php checked($this->optionsSerialized->headerTextShowHide == 1) ?> value="1" name="wc_header_text_show_hide" id="wc_header_text_show_hide" />
17
+ <label for="wc_header_text_show_hide"></label>
18
+ </td>
19
+ </tr>
20
+ <tr valign="top">
21
+ <th scope="row">
22
+ <label for="wc_show_hide_loggedin_username"><?php _e('Show logged-in user name and logout link on top of main form', 'wpdiscuz'); ?></label>
23
+ </th>
24
+ <td>
25
+ <input type="checkbox" <?php checked($this->optionsSerialized->showHideLoggedInUsername == 1) ?> value="1" name="wc_show_hide_loggedin_username" id="wc_show_hide_loggedin_username" />
26
+ <label for="wc_show_hide_loggedin_username"></label>
27
+ </td>
28
+ </tr>
29
+ <tr valign="top">
30
+ <th scope="row">
31
+ <label for="storeCommenterData"><?php _e('Keep guest commenter credentials in browser cookies for x days', 'wpdiscuz'); ?></label>
32
+ <p class="wpd-desc">
33
+ <?php _e('wpDiscuz uses WordPress function to keep guest Name, Email and Website information in cookies to fill according fields of comment form on next commenting time.', 'wpdiscuz'); ?><br />
34
+ <?php _e('Set this option value -1 to make it unlimited.', 'wpdiscuz'); ?><br />
35
+ <?php _e('Set this option value 0 to clear those data when user closes browser.', 'wpdiscuz'); ?>
36
+ </p>
37
+ </th>
38
+ <td><input type="number" value="<?php echo isset($this->optionsSerialized->storeCommenterData) ? $this->optionsSerialized->storeCommenterData : -1; ?>" name="storeCommenterData" id="storeCommenterData" style="width:100px;" /></td>
39
+ </tr>
40
+ <tr valign="top">
41
+ <th scope="row">
42
+ <label><?php _e('Comment author name min length (for guests only)', 'wpdiscuz'); ?></label>
43
+ </th>
44
+ <td>
45
+ <span for="commenterNameMinLength">
46
+ <?php _e('Min', 'wpdiscuz'); ?>: <input type="number" value="<?php echo $this->optionsSerialized->commenterNameMinLength; ?>" name="commenterNameMinLength" id="commenterNameMinLength" style="width:70px;" />
47
+ </span>
48
+ <span for="commenterNameMaxLength">
49
+ &nbsp; <?php _e('Max', 'wpdiscuz'); ?>: <input type="number" value="<?php echo $this->optionsSerialized->commenterNameMaxLength; ?>" name="commenterNameMaxLength" id="commenterNameMaxLength" style="width:70px;" />
50
+ </span>
51
+ </td>
52
+ </tr>
53
+ <tr valign="top">
54
+ <th scope="row">
55
+ <label><?php _e('Comment text length', 'wpdiscuz'); ?></label>
56
+ <p class="wpd-desc"><?php _e('Allows to set minimum and maximum number of chars can be inserted in comment textarea. Leave the max value empty to remove the limit.', 'wpdiscuz'); ?></p>
57
+ </th>
58
+ <td>
59
+ <span for="wc_comment_text_min_length">
60
+ <?php _e('Min', 'wpdiscuz'); ?>: <input type="number" value="<?php echo isset($this->optionsSerialized->commentTextMinLength) ? $this->optionsSerialized->commentTextMinLength : 10; ?>" name="wc_comment_text_min_length" id="wc_comment_text_min_length" style="width:70px;" />
61
+ </span>
62
+ <span for="wc_comment_text_max_length">
63
+ &nbsp; <?php _e('Max', 'wpdiscuz'); ?>: <input type="number" value="<?php echo isset($this->optionsSerialized->commentTextMaxLength) ? $this->optionsSerialized->commentTextMaxLength : ''; ?>" name="wc_comment_text_max_length" id="wc_comment_text_max_length" style="width:70px;" />
64
+ </span>
65
+ </td>
66
+ </tr>
67
+ <?php
68
+ $pathToDir = WPDISCUZ_DIR_PATH . WPDISCUZ_DS . 'utils' . WPDISCUZ_DS . 'temp';
69
+ $isWritable = @is_writable($pathToDir);
70
+ if ($isWritable) {
71
+ $disableCaptcha = '';
72
+ $msg = '';
73
+ } else {
74
+ $disableCaptcha = 'disabled="disabled"';
75
+ $msg = '<p style="display: inline;">' . __('The plugin captcha directory is not writable! Please set writable permissions on "wpdiscuz/utils/temp" directory in order to use the first type of captcha generation', 'wpdiscuz') . '</p>';
76
+ }
77
+ ?>
78
+ <tr valign="top">
79
+ <th scope="row">
80
+ <label><?php _e('Captcha generation type', 'wpdiscuz'); ?></label>
81
+ </th>
82
+ <th>
83
+ <?php $isCaptchaInSession = isset($this->optionsSerialized->isCaptchaInSession) ? $this->optionsSerialized->isCaptchaInSession : 0; ?>
84
+ <div class="wpd-switch-field">
85
+ <input <?php echo $disableCaptcha; ?> type="radio" value="0" <?php checked('0' == $isCaptchaInSession); ?> name="isCaptchaInSession" id="captchaByImageFile" /><label for="captchaByImageFile"><?php _e('File system', 'wpdiscuz') ?></label> &nbsp;
86
+ <input type="radio" value="1" <?php checked('1' == $isCaptchaInSession); ?> name="isCaptchaInSession" id="captchaInSession" /><label for="captchaInSession"><?php _e('WP Session', 'wpdiscuz') ?></label>
87
+ </div>
88
+
89
+ </th>
90
+ </tr>
91
+ <tr valign="top">
92
+ <th scope="row" style="width:55%;">
93
+ <label for="wc_quick_tags"><?php _e('Enable Quicktags', 'wpdiscuz'); ?></label>
94
+ <p class="wpd-desc"><?php _e('Quicktag is a on-click button that inserts HTML in to comment textarea. For example the "b" Quicktag will insert the HTML bold tags < b > < /b >.', 'wpdiscuz'); ?></p>
95
+ </th>
96
+ <td>
97
+ <input type="checkbox" <?php checked($this->optionsSerialized->isQuickTagsEnabled == 1) ?> value="1" name="wc_quick_tags" id="wc_quick_tags" />
98
+ <label for="wc_quick_tags"></label>
99
+ </td>
100
+ </tr>
101
+ <tr valign="top">
102
+ <th scope="row">
103
+ <label for="enableImageConversion"><?php _e('Enable automatic image URL to image HTML conversion', 'wpdiscuz'); ?></label>
104
+ </th>
105
+ <td>
106
+ <input type="checkbox" <?php checked($this->optionsSerialized->enableImageConversion == 1) ?> value="1" name="enableImageConversion" id="enableImageConversion" />
107
+ <label for="enableImageConversion"></label>
108
+ </td>
109
+ </tr>
110
+ <tr valign="top">
111
+ <th scope="row">
112
+ <label><?php _e('Allow comment editing for', 'wpdiscuz'); ?></label>
113
+ </th>
114
+ <td>
115
+ <select id="wc_comment_editable_time" name="wc_comment_editable_time">
116
+ <?php $wc_comment_editable_time = isset($this->optionsSerialized->commentEditableTime) ? $this->optionsSerialized->commentEditableTime : 0; ?>
117
+ <option value="0" <?php selected($wc_comment_editable_time, '0'); ?>><?php _e('Do not allow', 'wpdiscuz'); ?></option>
118
+ <option value="900" <?php selected($wc_comment_editable_time, '900'); ?>>15 <?php _e('Minutes', 'wpdiscuz'); ?></option>
119
+ <option value="1800" <?php selected($wc_comment_editable_time, '1800'); ?>>30 <?php _e('Minutes', 'wpdiscuz'); ?></option>
120
+ <option value="3600" <?php selected($wc_comment_editable_time, '3600'); ?>>1 <?php _e('Hour', 'wpdiscuz'); ?></option>
121
+ <option value="10800" <?php selected($wc_comment_editable_time, '10800'); ?>>3 <?php _e('Hours', 'wpdiscuz'); ?></option>
122
+ <option value="86400" <?php selected($wc_comment_editable_time, '86400'); ?>>24 <?php _e('Hours', 'wpdiscuz'); ?></option>
123
+ <option value="unlimit" <?php selected($wc_comment_editable_time, 'unlimit'); ?>><?php _e('Unlimit', 'wpdiscuz'); ?></option>
124
+ </select>
125
+ </td>
126
+ </tr>
127
+
128
+
129
+
130
+
131
+ </tbody>
132
+ </table>
133
+ </div>
options/options-layouts/settings-general.php CHANGED
@@ -4,106 +4,56 @@ if (!defined('ABSPATH')) {
4
  }
5
  ?>
6
  <div>
7
- <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('General Settings', 'wpdiscuz'); ?></h2>
8
- <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
9
  <tbody>
10
  <tr valign="top">
11
  <th scope="row" style="width:55%;"><label for="isEnableOnHome"><?php _e('Enable wpdiscuz on home page', 'wpdiscuz'); ?></label></th>
12
- <td><input type="checkbox" <?php checked($this->optionsSerialized->isEnableOnHome == 1) ?> value="1" name="isEnableOnHome" id="isEnableOnHome" /></td>
13
- </tr>
14
- <tr valign="top">
15
- <th scope="row" style="width:55%;"><label for="wc_quick_tags"><?php _e('Enable Quicktags', 'wpdiscuz'); ?></label></th>
16
- <td><input type="checkbox" <?php checked($this->optionsSerialized->isQuickTagsEnabled == 1) ?> value="1" name="wc_quick_tags" id="wc_quick_tags" /></td>
17
  </tr>
18
  <tr valign="top">
19
  <th scope="row">
20
  <label for="isUserByEmail"><?php _e('Use guest email to detect registered account', 'wpdiscuz'); ?></label>
21
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;">
22
  <?php _e('Sometimes registered users comment as guest using the same email address. wpDiscuz can detect the account role using guest email and display commenter label correctly.', 'wpdiscuz'); ?>
23
  </p>
24
  </th>
25
- <td><input type="checkbox" <?php checked($this->optionsSerialized->isUserByEmail == 1) ?> value="1" name="isUserByEmail" id="isUserByEmail" /></td>
26
  </tr>
27
  <tr valign="top">
28
- <th scope="row"><label for="isNotifyOnCommentApprove"><?php _e('Notify comment author if comment was approved', 'wpdiscuz'); ?></label></th>
29
- <td><input type="checkbox" <?php checked($this->optionsSerialized->isNotifyOnCommentApprove == 1) ?> value="1" name="isNotifyOnCommentApprove" id="isNotifyOnCommentApprove" /></td>
30
  </tr>
 
31
  <tr valign="top">
32
- <th scope="row">
33
- <?php _e('Comment author name min length (for guests only)', 'wpdiscuz'); ?>
34
- </th>
35
- <td>
36
- <label for="commenterNameMinLength">
37
- <?php _e('Min', 'wpdiscuz'); ?>: <input type="number" value="<?php echo $this->optionsSerialized->commenterNameMinLength; ?>" name="commenterNameMinLength" id="commenterNameMinLength" style="width:70px;" />
38
- </label>
39
- <label for="commenterNameMaxLength">
40
- &nbsp; <?php _e('Max', 'wpdiscuz'); ?>: <input type="number" value="<?php echo $this->optionsSerialized->commenterNameMaxLength; ?>" name="commenterNameMaxLength" id="commenterNameMaxLength" style="width:70px;" />
41
- </label>
42
- </td>
43
- </tr>
44
- <tr valign="top">
45
- <th scope="row">
46
- <label for="storeCommenterData"><?php _e('Keep guest commenter credentials in browser cookies for x days', 'wpdiscuz'); ?></label>
47
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;">
48
- <?php _e('Set this option value -1 to make it unlimited.', 'wpdiscuz'); ?><br />
49
- <?php _e('Set this option value 0 to clear those data when user closes browser.', 'wpdiscuz'); ?>
50
  </p>
51
  </th>
52
- <td><input type="number" value="<?php echo isset($this->optionsSerialized->storeCommenterData) ? $this->optionsSerialized->storeCommenterData : -1; ?>" name="storeCommenterData" id="storeCommenterData" style="width:100px;" /></td>
53
- </tr>
54
- <tr valign="top">
55
- <th scope="row">
56
- <?php _e('Comment text length', 'wpdiscuz'); ?>
57
- </th>
58
  <td>
59
- <label for="wc_comment_text_min_length">
60
- <?php _e('Min', 'wpdiscuz'); ?>: <input type="number" value="<?php echo isset($this->optionsSerialized->commentTextMinLength) ? $this->optionsSerialized->commentTextMinLength : 10; ?>" name="wc_comment_text_min_length" id="wc_comment_text_min_length" style="width:70px;" />
61
- </label>
62
- <label for="wc_comment_text_max_length">
63
- <?php _e('Max', 'wpdiscuz'); ?>: <input type="number" value="<?php echo isset($this->optionsSerialized->commentTextMaxLength) ? $this->optionsSerialized->commentTextMaxLength : ''; ?>" name="wc_comment_text_max_length" id="wc_comment_text_max_length" style="width:70px;" />
64
- </label>
65
- </td>
66
- </tr>
67
- <tr valign="top">
68
- <th scope="row">
69
- <label for="commentWordsLimit"><?php _e('The number of words before breaking comment text and showing "Read more" link', 'wpdiscuz'); ?></label>
70
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;">
71
- <?php _e('Set this option value 0, to turn off comment text breaking function.', 'wpdiscuz'); ?>
72
- </p>
73
- </th>
74
- <td><input type="number" value="<?php echo isset($this->optionsSerialized->commentReadMoreLimit) ? $this->optionsSerialized->commentReadMoreLimit : 100; ?>" name="commentWordsLimit" id="commentWordsLimit" style="width:100px;" /></td>
75
- </tr>
76
- <tr valign="top">
77
- <th scope="row"><?php _e('Comment text size in pixels', 'wpdiscuz'); ?></th>
78
- <td>
79
- <select id="wc_comment_text_size" name="wc_comment_text_size">
80
- <?php $wc_comment_text_size = isset($this->optionsSerialized->commentTextSize) ? $this->optionsSerialized->commentTextSize : '14px'; ?>
81
- <option value="12px" <?php selected($wc_comment_text_size, '12px'); ?>>12px</option>
82
- <option value="13px" <?php selected($wc_comment_text_size, '13px'); ?>>13px</option>
83
- <option value="14px" <?php selected($wc_comment_text_size, '14px'); ?>>14px</option>
84
- <option value="15px" <?php selected($wc_comment_text_size, '15px'); ?>>15px</option>
85
- <option value="16px" <?php selected($wc_comment_text_size, '16px'); ?>>16px</option>
86
- </select>
87
- </td>
88
- </tr>
89
- <tr valign="top">
90
- <th scope="row"><?php _e('Allow comment editing for', 'wpdiscuz'); ?></th>
91
- <td>
92
- <select id="wc_comment_editable_time" name="wc_comment_editable_time">
93
- <?php $wc_comment_editable_time = isset($this->optionsSerialized->commentEditableTime) ? $this->optionsSerialized->commentEditableTime : 0; ?>
94
- <option value="0" <?php selected($wc_comment_editable_time, '0'); ?>><?php _e('Do not allow', 'wpdiscuz'); ?></option>
95
- <option value="900" <?php selected($wc_comment_editable_time, '900'); ?>>15 <?php _e('Minutes', 'wpdiscuz'); ?></option>
96
- <option value="1800" <?php selected($wc_comment_editable_time, '1800'); ?>>30 <?php _e('Minutes', 'wpdiscuz'); ?></option>
97
- <option value="3600" <?php selected($wc_comment_editable_time, '3600'); ?>>1 <?php _e('Hour', 'wpdiscuz'); ?></option>
98
- <option value="10800" <?php selected($wc_comment_editable_time, '10800'); ?>>3 <?php _e('Hours', 'wpdiscuz'); ?></option>
99
- <option value="86400" <?php selected($wc_comment_editable_time, '86400'); ?>>24 <?php _e('Hours', 'wpdiscuz'); ?></option>
100
- <option value="unlimit" <?php selected($wc_comment_editable_time, 'unlimit'); ?>><?php _e('Unlimit', 'wpdiscuz'); ?></option>
101
- </select>
102
  </td>
103
  </tr>
 
104
  <tr valign="top">
105
  <th scope="row">
106
- <?php _e('Redirect first commenter to', 'wpdiscuz'); ?>
107
  </th>
108
  <td>
109
  <?php
@@ -116,59 +66,13 @@ if (!defined('ABSPATH')) {
116
  ?>
117
  </td>
118
  </tr>
119
- <tr valign="top">
120
- <th scope="row"><label for="wc_is_guest_can_vote"><?php _e('Allow guests to vote on comments', 'wpdiscuz'); ?></label></th>
121
- <td><input type="checkbox" <?php checked($this->optionsSerialized->isGuestCanVote == 1) ?> value="1" name="wc_is_guest_can_vote" id="wc_is_guest_can_vote" /></td>
122
- </tr>
123
- <tr valign="top">
124
- <th scope="row">
125
- <label for="isLoadOnlyParentComments"><?php _e('Display only parent comments and <u>view replies &or;</u> button', 'wpdiscuz'); ?></label>
126
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;">
127
- <?php _e('If this option is enabled only parent comment will be displayed. This increases page load speed and keeps pages light. If visitor wants to read replies he/she just need to click on [view replies (12)] button located on all parent comments which have replies.', 'wpdiscuz'); ?>
128
- </p>
129
- </th>
130
- <td><input type="checkbox" <?php checked($this->optionsSerialized->isLoadOnlyParentComments == 1) ?> value="1" name="isLoadOnlyParentComments" id="isLoadOnlyParentComments" /></td>
131
- </tr>
132
- <tr valign="top">
133
- <th scope="row">
134
- <?php _e('Comments loading/pagination type', 'wpdiscuz'); ?>
135
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;">
136
- <?php _e('You can manage the number of comments for [Load more] option in Settings > Discussion page, using "Break comments into pages with [X] top level comments per page" option. To show the default Wordpress comment pagination you should enable the checkbox on bigining of the same option.', 'wpdiscuz'); ?>
137
- </p>
138
- </th>
139
- <td>
140
- <fieldset>
141
- <?php $commentListLoadType = isset($this->optionsSerialized->commentListLoadType) ? $this->optionsSerialized->commentListLoadType : 0; ?>
142
- <label title="<?php _e('[Load more] Button', 'wpdiscuz') ?>">
143
- <input type="radio" value="0" <?php checked('0' == $commentListLoadType); ?> name="commentListLoadType" id="commentListLoadDefault" class="commentListLoadType"/>
144
- <span><?php _e('[Load more] Button', 'wpdiscuz') ?></span>
145
- </label> &nbsp;<br/>
146
- <label title="<?php _e('[Load rest of all comments] Button', 'wpdiscuz') ?>">
147
- <input type="radio" value="1" <?php checked('1' == $commentListLoadType); ?> name="commentListLoadType" id="commentListLoadRest" class="commentListLoadType" />
148
- <span><?php _e('[Load rest of all comments] Button', 'wpdiscuz') ?></span>
149
- </label><br>
150
- <label title="<?php _e('Load all comments', 'wpdiscuz') ?>">
151
- <input type="radio" value="3" <?php checked('3' == $commentListLoadType); ?> name="commentListLoadType" id="commentListLoadAll" class="commentListLoadType" />
152
- <span><?php _e('Load all comments', 'wpdiscuz') ?></span>
153
- </label> &nbsp;<br/>
154
- <label title="<?php _e('Lazy load comments on scrolling', 'wpdiscuz') ?>">
155
- <input type="radio" value="2" <?php checked('2' == $commentListLoadType); ?> name="commentListLoadType" id="commentListLoadLazy" class="commentListLoadType commentListLoadLazy" />
156
- <span><?php _e('Lazy load comments on scrolling', 'wpdiscuz') ?></span>
157
- </label> &nbsp;<br/>
158
- </fieldset>
159
- </td>
160
- </tr>
161
- <tr valign="top" id="row_lazyLoadOnPageLoad">
162
- <th scope="row"><label for="lazyLoadOnPageLoad"><?php _e('Enable first comments loading before scroll position is on comment box', 'wpdiscuz'); ?></label></th>
163
- <td><input type="checkbox" <?php checked($this->optionsSerialized->lazyLoadOnPageLoad == 1) ?> value="1" name="lazyLoadOnPageLoad" id="lazyLoadOnPageLoad" /></td>
164
- </tr>
165
  <tr valign="top">
166
  <th scope="row">
167
  <label for="wc_simple_comment_date"><?php _e('Use WordPress Date/Time format', 'wpdiscuz'); ?></label>
168
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('wpDiscuz shows Human Readable date format. If you check this option it\'ll show the date/time format set in WordPress General Settings.', 'wpdiscuz'); ?></p>
169
  </th>
170
  <td>
171
- <input type="checkbox" <?php checked($this->optionsSerialized->simpleCommentDate == 1) ?> value="1" name="wc_simple_comment_date" id="wc_simple_comment_date" />&nbsp;
172
  <span style="font-size:13px; color:#999999; padding-left:0px; margin-left:0px; line-height:15px">
173
  <?php echo date(get_option('date_format')); ?> / <?php echo date(get_option('time_format')); ?><br />
174
  <?php _e('Current Wordpress date/time format', 'wpdiscuz'); ?>
@@ -178,21 +82,21 @@ if (!defined('ABSPATH')) {
178
  <tr valign="top">
179
  <th scope="row" >
180
  <label for="wc_is_use_po_mo"><?php _e('Use Plugin .PO/.MO files', 'wpdiscuz'); ?></label>
181
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('wpDiscuz phrase system allows you to translate all front-end phrases. However if you have a multi-language website it\'ll not allow you to add more than one language translation. The only way to get it is the plugin translation files (.PO / .MO). If wpDiscuz has the languages you need you should check this option to disable phrase system and it\'ll automatically translate all phrases based on language files according to current language.', 'wpdiscuz'); ?></p>
182
  </th>
183
- <td colspan="3"><input type="checkbox" <?php checked($this->optionsSerialized->isUsePoMo == 1) ?> value="1" name="wc_is_use_po_mo" id="wc_is_use_po_mo" /></td>
184
  </tr>
185
  <tr valign="top">
186
  <th scope="row" >
187
  <label for="wc_show_plugin_powerid_by">
188
  <?php _e('Help wpDiscuz to grow allowing people to recognize which comment plugin you use', 'wpdiscuz'); ?>
189
  </label>
190
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('Please check this option on to help wpDiscuz get more popularity as your thank to the hard work we do for you totally free. This option adds a very small (16x16px) icon under the comment section which will allow your site visitors recognize the name of comment solution you use.', 'wpdiscuz'); ?></p>
191
  </th>
192
- <td colspan="3">
193
  <label for="wc_show_plugin_powerid_by">
194
  <input type="checkbox" <?php checked($this->optionsSerialized->showPluginPoweredByLink == 1) ?> value="1" name="wc_show_plugin_powerid_by" id="wc_show_plugin_powerid_by" />
195
- <span id="wpdiscuz_thank_you" style="color:#006600; font-size:13px;"><?php _e('Thank you!', 'wpdiscuz'); ?></span>
196
  </label>
197
  </td>
198
  </tr>
4
  }
5
  ?>
6
  <div>
7
+ <h2 class="wpd-subtitle"><?php _e('General Settings', 'wpdiscuz'); ?></h2>
8
+ <table class="wp-list-table widefat plugins wpdxb" style="margin-top:10px; border:none;">
9
  <tbody>
10
  <tr valign="top">
11
  <th scope="row" style="width:55%;"><label for="isEnableOnHome"><?php _e('Enable wpdiscuz on home page', 'wpdiscuz'); ?></label></th>
12
+ <td><input type="checkbox" <?php checked($this->optionsSerialized->isEnableOnHome == 1) ?> value="1" name="isEnableOnHome" id="isEnableOnHome" /><label for="isEnableOnHome"></label></td>
 
 
 
 
13
  </tr>
14
  <tr valign="top">
15
  <th scope="row">
16
  <label for="isUserByEmail"><?php _e('Use guest email to detect registered account', 'wpdiscuz'); ?></label>
17
+ <p class="wpd-desc">
18
  <?php _e('Sometimes registered users comment as guest using the same email address. wpDiscuz can detect the account role using guest email and display commenter label correctly.', 'wpdiscuz'); ?>
19
  </p>
20
  </th>
21
+ <td><input type="checkbox" <?php checked($this->optionsSerialized->isUserByEmail == 1) ?> value="1" name="isUserByEmail" id="isUserByEmail" /><label for="isUserByEmail"></label></td>
22
  </tr>
23
  <tr valign="top">
24
+ <th scope="row"><label for="isNotifyOnCommentApprove"><?php _e('Notify comment author once comment is approved', 'wpdiscuz'); ?></label></th>
25
+ <td><input type="checkbox" <?php checked($this->optionsSerialized->isNotifyOnCommentApprove == 1) ?> value="1" name="isNotifyOnCommentApprove" id="isNotifyOnCommentApprove" /><label for="isNotifyOnCommentApprove"></label></td>
26
  </tr>
27
+ <?php if(is_ssl()){?>
28
  <tr valign="top">
29
+ <th scope="row"><?php _e('Secure comment content in HTTPS protocol.', 'wpdiscuz'); ?>
30
+ <p class="wpd-desc">
31
+ <?php _e('This option detects images and other contents with non-https source URLs and fix according to your selected logic.', 'wpdiscuz'); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  </p>
33
  </th>
 
 
 
 
 
 
34
  <td>
35
+ <fieldset class="commentLinkFilter">
36
+ <?php $commentLinkFilter = isset($this->optionsSerialized->commentLinkFilter) ? $this->optionsSerialized->commentLinkFilter : 1; ?>
37
+ <label>
38
+ <input <?php echo $disableCaptcha; ?> type="radio" value="1" <?php checked('1' == $commentLinkFilter); ?> name="commentLinkFilter" id="http-to-link" />
39
+ <span><?php _e('Replace non-https content to simple link URLs', 'wpdiscuz') ?></span>
40
+ </label> &nbsp;<br/>
41
+ <div><?php echo $msg; ?></div>
42
+ <label>
43
+ <input type="radio" value="2" <?php checked('2' == $commentLinkFilter); ?> name="commentLinkFilter" id="http-to-https" />
44
+ <span><?php _e('Just replace http protocols to https (https may not be supported by content provider)', 'wpdiscuz') ?></span>
45
+ </label><br>
46
+ <label>
47
+ <input type="radio" value="3" <?php checked('3' == $commentLinkFilter); ?> name="commentLinkFilter" id="ignore-https" />
48
+ <span><?php _e('Ignore non-https content', 'wpdiscuz') ?></span>
49
+ </label><br>
50
+ </fieldset>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  </td>
52
  </tr>
53
+ <?php }?>
54
  <tr valign="top">
55
  <th scope="row">
56
+ <label><?php _e('Redirect first commenter to', 'wpdiscuz'); ?></label>
57
  </th>
58
  <td>
59
  <?php
66
  ?>
67
  </td>
68
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  <tr valign="top">
70
  <th scope="row">
71
  <label for="wc_simple_comment_date"><?php _e('Use WordPress Date/Time format', 'wpdiscuz'); ?></label>
72
+ <p class="wpd-desc"><?php _e('wpDiscuz shows Human Readable date format. If you check this option it\'ll show the date/time format set in WordPress General Settings.', 'wpdiscuz'); ?></p>
73
  </th>
74
  <td>
75
+ <input type="checkbox" <?php checked($this->optionsSerialized->simpleCommentDate == 1) ?> value="1" name="wc_simple_comment_date" id="wc_simple_comment_date" /><label for="wc_simple_comment_date"></label><br>
76
  <span style="font-size:13px; color:#999999; padding-left:0px; margin-left:0px; line-height:15px">
77
  <?php echo date(get_option('date_format')); ?> / <?php echo date(get_option('time_format')); ?><br />
78
  <?php _e('Current Wordpress date/time format', 'wpdiscuz'); ?>
82
  <tr valign="top">
83
  <th scope="row" >
84
  <label for="wc_is_use_po_mo"><?php _e('Use Plugin .PO/.MO files', 'wpdiscuz'); ?></label>
85
+ <p class="wpd-desc"><?php _e('wpDiscuz phrase system allows you to translate all front-end phrases. However if you have a multi-language website it\'ll not allow you to add more than one language translation. The only way to get it is the plugin translation files (.PO / .MO). If wpDiscuz has the languages you need you should check this option to disable phrase system and it\'ll automatically translate all phrases based on language files according to current language.', 'wpdiscuz'); ?></p>
86
  </th>
87
+ <td colspan="3"><input type="checkbox" <?php checked($this->optionsSerialized->isUsePoMo == 1) ?> value="1" name="wc_is_use_po_mo" id="wc_is_use_po_mo" /><label for="wc_is_use_po_mo"></label></td>
88
  </tr>
89
  <tr valign="top">
90
  <th scope="row" >
91
  <label for="wc_show_plugin_powerid_by">
92
  <?php _e('Help wpDiscuz to grow allowing people to recognize which comment plugin you use', 'wpdiscuz'); ?>
93
  </label>
94
+ <p class="wpd-desc"><?php _e('Please check this option on to help wpDiscuz get more popularity as your thank to the hard work we do for you totally free. This option adds a very small (16x16px) icon under the comment section which will allow your site visitors recognize the name of comment solution you use.', 'wpdiscuz'); ?></p>
95
  </th>
96
+ <th colspan="3">
97
  <label for="wc_show_plugin_powerid_by">
98
  <input type="checkbox" <?php checked($this->optionsSerialized->showPluginPoweredByLink == 1) ?> value="1" name="wc_show_plugin_powerid_by" id="wc_show_plugin_powerid_by" />
99
+ <span id="wpdiscuz_thank_you" style="color:#006600; font-size:13px;"> &nbsp;<?php _e('Thank you!', 'wpdiscuz'); ?></span>
100
  </label>
101
  </td>
102
  </tr>
options/options-layouts/settings-integrations.php CHANGED
@@ -4,7 +4,7 @@ if (!defined('ABSPATH')) {
4
  }
5
  ?>
6
  <div>
7
- <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Integrations', 'wpdiscuz'); ?></h2>
8
  <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;" width="75">
9
  <tbody>
10
  <tr valign="top">
4
  }
5
  ?>
6
  <div>
7
+ <h2 class="wpd-subtitle"><?php _e('Integrations', 'wpdiscuz'); ?></h2>
8
  <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;" width="75">
9
  <tbody>
10
  <tr valign="top">
options/options-layouts/settings-list.php ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+ ?>
6
+ <div>
7
+ <h2 class="wpd-subtitle"><?php _e('Comment List Settings', 'wpdiscuz'); ?></h2>
8
+ <table class="wp-list-table widefat plugins wpdxb" style="margin-top:10px; border:none;">
9
+ <tbody>
10
+ <tr valign="top">
11
+ <th scope="row" style="width: 50%;">
12
+ <label for="isLoadOnlyParentComments"><?php _e('Display only parent comments and <u>view replies &or;</u> button', 'wpdiscuz'); ?></label>
13
+ <p class="wpd-desc">
14
+ <?php _e('If this option is enabled only parent comment will be displayed. This increases page load speed and keeps pages light. If visitor wants to read replies he/she just need to click on [view replies (12)] button located on all parent comments which have replies.', 'wpdiscuz'); ?>
15
+ </p>
16
+ </th>
17
+ <td>
18
+ <input type="checkbox" <?php checked($this->optionsSerialized->isLoadOnlyParentComments == 1) ?> value="1" name="isLoadOnlyParentComments" id="isLoadOnlyParentComments" />
19
+ <label for="isLoadOnlyParentComments"></label>
20
+ </td>
21
+ </tr>
22
+ <tr valign="top">
23
+ <th scope="row">
24
+ <label for="show_sorting_buttons"><?php _e('Show sorting buttons', 'wpdiscuz'); ?></label>
25
+ <p class="wpd-desc"><?php _e('This option enables comment sorting buttons (newest | oldest | most voted). Sorting buttons are not available for the default comments pagination type [1][2][3]... It\'s only active for [Load more] and other AYAX pagination types.', 'wpdiscuz'); ?></p>
26
+ </th>
27
+ <td>
28
+ <input type="checkbox" <?php checked($this->optionsSerialized->showSortingButtons == 1) ?> value="1" name="show_sorting_buttons" id="show_sorting_buttons" />
29
+ <label for="show_sorting_buttons"></label>
30
+ </td>
31
+ </tr>
32
+ <tr valign="top" id="row_mostVotedByDefault">
33
+ <th scope="row">
34
+ <label for="mostVotedByDefault"><?php _e('Set comments ordering to "Most voted" by default ', 'wpdiscuz'); ?></label>
35
+ </th>
36
+ <td>
37
+ <input type="checkbox" <?php checked($this->optionsSerialized->mostVotedByDefault == 1) ?> value="1" name="mostVotedByDefault" id="mostVotedByDefault" />
38
+ <label for="mostVotedByDefault"></label>
39
+ </td>
40
+ </tr>
41
+ <tr valign="top">
42
+ <th scope="row">
43
+ <label><?php _e('Comments loading/pagination type', 'wpdiscuz'); ?></label>
44
+ <p class="wpd-desc">
45
+ <?php _e('You can manage the number of comments for [Load more] option in Settings > Discussion page, using "Break comments into pages with [X] top level comments per page" option. To show the default Wordpress comment pagination you should enable the checkbox on bigining of the same option.', 'wpdiscuz'); ?>
46
+ </p>
47
+ </th>
48
+ <th>
49
+ <fieldset>
50
+ <?php $commentListLoadType = isset($this->optionsSerialized->commentListLoadType) ? $this->optionsSerialized->commentListLoadType : 0; ?>
51
+ <label title="<?php _e('[Load more] Button', 'wpdiscuz') ?>">
52
+ <input type="radio" value="0" <?php checked('0' == $commentListLoadType); ?> name="commentListLoadType" id="commentListLoadDefault" class="commentListLoadType"/>
53
+ <span><?php _e('[Load more] Button', 'wpdiscuz') ?></span>
54
+ </label> &nbsp;<br/>
55
+ <label title="<?php _e('[Load rest of all comments] Button', 'wpdiscuz') ?>">
56
+ <input type="radio" value="1" <?php checked('1' == $commentListLoadType); ?> name="commentListLoadType" id="commentListLoadRest" class="commentListLoadType" />
57
+ <span><?php _e('[Load rest of all comments] Button', 'wpdiscuz') ?></span>
58
+ </label><br>
59
+ <label title="<?php _e('Load all comments', 'wpdiscuz') ?>">
60
+ <input type="radio" value="3" <?php checked('3' == $commentListLoadType); ?> name="commentListLoadType" id="commentListLoadAll" class="commentListLoadType" />
61
+ <span><?php _e('Load all comments', 'wpdiscuz') ?></span>
62
+ </label> &nbsp;<br/>
63
+ <label title="<?php _e('Lazy load comments on scrolling', 'wpdiscuz') ?>">
64
+ <input type="radio" value="2" <?php checked('2' == $commentListLoadType); ?> name="commentListLoadType" id="commentListLoadLazy" class="commentListLoadType commentListLoadLazy" />
65
+ <span><?php _e('Lazy load comments on scrolling', 'wpdiscuz') ?></span>
66
+ </label> &nbsp;<br/>
67
+ </fieldset>
68
+ </th>
69
+ </tr>
70
+ <tr valign="top">
71
+ <th scope="row">
72
+ <label for="commentWordsLimit"><?php _e('The number of words before breaking comment text and showing "Read more" link', 'wpdiscuz'); ?></label>
73
+ <p class="wpd-desc">
74
+ <?php _e('Set this option value 0, to turn off comment text breaking function.', 'wpdiscuz'); ?>
75
+ </p>
76
+ </th>
77
+ <td><input type="number" value="<?php echo isset($this->optionsSerialized->commentReadMoreLimit) ? $this->optionsSerialized->commentReadMoreLimit : 100; ?>" name="commentWordsLimit" id="commentWordsLimit" style="width:100px;" /></td>
78
+ </tr>
79
+ <tr valign="top">
80
+ <th scope="row">
81
+ <label for="show_sorting_buttons"><?php _e('Comment components', 'wpdiscuz'); ?></label>
82
+ </th>
83
+ <th>
84
+ <fieldset>
85
+ <div class="wpd-subopt">
86
+ <input type="checkbox" <?php checked($this->optionsSerialized->showHideCommentLink == 1) ?> value="1" name="showHideCommentLink" id="showHideCommentLink" /> <label for="showHideCommentLink"><?php _e('Hide comment link', 'wpdiscuz'); ?></label>
87
+ </div>
88
+ <div class="wpd-subopt">
89
+ <input type="checkbox" <?php checked($this->optionsSerialized->hideCommentDate == 1) ?> value="1" name="hideCommentDate" id="hideCommentDate" /> <label for="hideCommentDate"><?php _e('Hide comment date', 'wpdiscuz'); ?></label>
90
+ </div>
91
+ <div class="wpd-subopt">
92
+ <input type="checkbox" <?php checked($this->optionsSerialized->authorTitlesShowHide == 1) ?> value="1" name="wc_author_titles_show_hide" id="wc_author_titles_show_hide" /> <label for="wc_author_titles_show_hide"><?php _e('Hide Commenter Labels', 'wpdiscuz'); ?></label>
93
+ </div>
94
+ <div class="wpd-subopt">
95
+ <input type="checkbox" <?php checked($this->optionsSerialized->replyButtonGuestsShowHide == 1) ?> value="1" name="wc_reply_button_guests_show_hide" id="wc_reply_button_guests_show_hide" /> <label for="wc_reply_button_guests_show_hide"><?php _e('Hide Reply button for Guests', 'wpdiscuz'); ?></label>
96
+ </div>
97
+ <div class="wpd-subopt">
98
+ <input type="checkbox" <?php checked($this->optionsSerialized->replyButtonMembersShowHide == 1) ?> value="1" name="wc_reply_button_members_show_hide" id="wc_reply_button_members_show_hide" /> <label for="wc_reply_button_members_show_hide"><?php _e('Hide Reply button for Members', 'wpdiscuz'); ?></label>
99
+ </div>
100
+ <div style="clear: both;"></div>
101
+ </fieldset>
102
+ </th>
103
+ </tr>
104
+ <tr valign="top">
105
+ <th scope="row">
106
+ <label><?php _e('Hide Voting buttons', 'wpdiscuz'); ?></label>
107
+ </th>
108
+ <td>
109
+ <input type="checkbox" <?php checked($this->optionsSerialized->votingButtonsShowHide == 1) ?> value="1" name="wc_voting_buttons_show_hide" id="wc_voting_buttons_show_hide" /> <label for="wc_voting_buttons_show_hide"></label>
110
+ </td>
111
+ </tr>
112
+ <tr valign="top">
113
+ <th scope="row">
114
+ &nbsp;<?php _e('Comment voting buttons icon', 'wpdiscuz'); ?>
115
+ </th>
116
+ <th>
117
+ <div class="wpd-switch-field">
118
+ <input type="radio" <?php checked($this->optionsSerialized->votingButtonsIcon == 'fa-plus|fa-minus') ?> value="fa-plus|fa-minus" name="votingButtonsIcon" id="votingButtonsIconPlusMinus" class="votingButtonsIconPlusMinus" style="vertical-align: bottom;"/>
119
+ <label for="votingButtonsIconPlusMinus" style="min-width:60px;">
120
+ <i class="fa fa-plus"></i> <i class="fa fa-minus"></i></label>
121
+ <input type="radio" <?php checked($this->optionsSerialized->votingButtonsIcon == 'fa-chevron-up|fa-chevron-down') ?> value="fa-chevron-up|fa-chevron-down" name="votingButtonsIcon" id="votingButtonsIconChevronUpDown" class="votingButtonsIconChevronUpDown" style="vertical-align: bottom;"/>
122
+ <label for="votingButtonsIconChevronUpDown" style="min-width:60px;"><i class="fa fa-chevron-up"></i> <i class="fa fa-chevron-down"></i></label>
123
+ <input type="radio" <?php checked($this->optionsSerialized->votingButtonsIcon == 'fa-thumbs-up|fa-thumbs-down') ?> value="fa-thumbs-up|fa-thumbs-down" name="votingButtonsIcon" id="votingButtonsIconThumbsUpDown" class="votingButtonsIconThumbsUpDown" style="vertical-align: bottom;"/>
124
+ <label for="votingButtonsIconThumbsUpDown" style="min-width:60px;"><i class="fa fa-thumbs-up"></i> <i class="fa fa-thumbs-down"></i></label>
125
+ <input type="radio" <?php checked($this->optionsSerialized->votingButtonsIcon == 'fa-smile-o|fa-frown-o') ?> value="fa-smile-o|fa-frown-o" name="votingButtonsIcon" id="votingButtonsIconSmileFrown" class="votingButtonsIconSmileFrown" style="vertical-align: bottom;"/>
126
+ <label for="votingButtonsIconSmileFrown" style="min-width:60px;"><i class="fa fa-smile-o"></i> <i class="fa fa-frown-o"></i></label>
127
+ </div>
128
+ </th>
129
+ </tr>
130
+ <tr valign="top">
131
+ <th scope="row">
132
+ &nbsp;<?php _e('Comment voting statistic mode', 'wpdiscuz'); ?>
133
+ </th>
134
+ <th>
135
+ <div class="wpd-switch-field">
136
+ <input type="radio" <?php checked($this->optionsSerialized->votingButtonsStyle == 0) ?> value="0" name="votingButtonsStyle" id="votingButtonsStyleTotal" class="votingButtonsStyle"/><label for="votingButtonsStyleTotal"><?php _e('total count', 'wpdiscuz'); ?></label> &nbsp;
137
+ <input type="radio" <?php checked($this->optionsSerialized->votingButtonsStyle == 1) ?> value="1" name="votingButtonsStyle" id="votingButtonsStyleSeparate" class="votingButtonsStyle"/><label for="votingButtonsStyleSeparate"><?php _e('separate count', 'wpdiscuz'); ?></label>
138
+ </div>
139
+ </th>
140
+ </tr>
141
+ <tr valign="top">
142
+ <th scope="row" style="padding: 7px 0px;">
143
+ <label style="font-weight: normal; margin: 0px;" for="wc_is_guest_can_vote">&nbsp;&nbsp;<?php _e('Allow guests to vote on comments', 'wpdiscuz'); ?></label>
144
+ </th>
145
+ <td style="padding: 7px 5px;">
146
+ <input type="checkbox" <?php checked($this->optionsSerialized->isGuestCanVote == 1) ?> value="1" name="wc_is_guest_can_vote" id="wc_is_guest_can_vote" />
147
+ <label for="wc_is_guest_can_vote" ></label>
148
+ </td>
149
+ </tr>
150
+ <tr valign="top">
151
+ <th scope="row">
152
+ <label><?php _e('Show Share Buttons', 'wpdiscuz'); ?></label>
153
+ </th>
154
+ <th>
155
+ <?php
156
+ $shareButtons = $this->shareButtons;
157
+ foreach ($shareButtons as $btn) {
158
+ $checked = in_array($btn, $this->optionsSerialized->shareButtons) ? 'checked="checked"' : '';
159
+ ?>
160
+ <label class="wpdiscuz-share-buttons share-button-<?php echo $btn; ?>" for="wc_share_button_<?php echo $btn; ?>" style="display: inline-block;">
161
+ <input type="checkbox" <?php echo $checked ?> value="<?php echo $btn; ?>" name="wpdiscuz_share_buttons[]" id="wc_share_button_<?php echo $btn; ?>" class="wc_share_button" />
162
+ </label>
163
+ <?php
164
+ }
165
+ ?>
166
+ <div style="height: 8px;"></div><fieldset>
167
+ <?php $facbookAppContShow = in_array('fb', $this->optionsSerialized->shareButtons) ? '' : 'style="display:none;"'; ?>
168
+ <label for="facebookAppID" id="wpc-fb-api-cont" <?php echo $facbookAppContShow; ?> style="padding: 0px;">
169
+ <input type="text" value="<?php echo $this->optionsSerialized->facebookAppID; ?>" name="facebookAppID" id="facebookAppID" style="margin: 0px;"/> &nbsp; <?php _e('Facebook Application ID', 'wpdiscuz'); ?>
170
+ </label></fieldset>
171
+ </th>
172
+ </tr>
173
+ <tr valign="top">
174
+ <th scope="row">
175
+ <label><?php _e('Display Ratings', 'wpdiscuz'); ?></label>
176
+ </th>
177
+ <th>
178
+ <fieldset>
179
+ <input type="checkbox" <?php checked(in_array('before', $this->optionsSerialized->displayRatingOnPost)) ?> value="before" name="displayRatingOnPost[]" id="displayRatingOnPostBefore" />
180
+ <label for="displayRatingOnPostBefore"><?php _e('Before Content', 'wpdiscuz'); ?></label> &nbsp;&nbsp;
181
+ <input type="checkbox" <?php checked(in_array('after', $this->optionsSerialized->displayRatingOnPost)) ?> value="after" name="displayRatingOnPost[]" id="displayRatingOnPostAfter" />
182
+ <label for="displayRatingOnPostAfter"><?php _e('After Content', 'wpdiscuz'); ?></label><br>
183
+ <input type="checkbox" <?php checked($this->optionsSerialized->ratingCssOnNoneSingular == 1) ?> value="1" name="ratingCssOnNoneSingular" id="ratingCssOnNoneSingular" /> <label for="ratingCssOnNoneSingular"><?php _e('Display ratings on none singular pages', 'wpdiscuz'); ?></label>
184
+ </fieldset>
185
+ </th>
186
+ </tr>
187
+ <tr valign="top">
188
+ <th scope="row">
189
+ <label for="disableProfileURLs"><?php _e('Disable Profiles URL', 'wpdiscuz'); ?></label>
190
+ </th>
191
+ <td>
192
+ <input type="checkbox" <?php checked($this->optionsSerialized->disableProfileURLs == 1) ?> value="1" name="disableProfileURLs" id="disableProfileURLs" />
193
+ <label for="disableProfileURLs"></label>
194
+ </td>
195
+ </tr>
196
+
197
+ </tbody>
198
+ </table>
199
+ </div>
options/options-layouts/settings-live-update.php CHANGED
@@ -4,57 +4,58 @@ if (!defined('ABSPATH')) {
4
  }
5
  ?>
6
  <div>
7
- <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Live Update', 'wpdiscuz'); ?></h2>
8
- <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
9
  <tbody>
10
  <tr valign="top">
11
  <th scope="row" style="width:55%;">
12
- <?php _e('Live update options', 'wpdiscuz'); ?>
13
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('wpDiscuz 3 live update is very smart and doesn\'t overload your server even if you\'re on Shared hosting plan and even your website is very active. However we recommend to monitor your server resources if you\'re on a Shared hosting plan. There are some very weak hosting plans which may not be able to perform very frequently live update requests. If you found some issue you can set the option below 30 seconds or more.', 'wpdiscuz'); ?></p>
14
- </th>
15
- <td>
16
- <fieldset class="wc_comment_list_update_type">
17
- <?php $wc_comment_list_update_type = isset($this->optionsSerialized->commentListUpdateType) ? $this->optionsSerialized->commentListUpdateType : 1; ?>
18
- <label title="<?php _e('Never update', 'wpdiscuz') ?>">
19
- <input type="radio" value="0" <?php checked('0' == $wc_comment_list_update_type); ?> name="wc_comment_list_update_type" id="wc_comment_list_update_never" />
20
- <span><?php _e('Turn off "Live Update" function', 'wpdiscuz') ?></span>
21
- </label> &nbsp;<br/>
22
- <label title="<?php _e('Show new comment/reply buttons to update manualy', 'wpdiscuz') ?>">
23
- <input type="radio" value="2" <?php checked('2' == $wc_comment_list_update_type); ?> name="wc_comment_list_update_type" id="wc_comment_list_update_new" />
24
- <span><?php _e('Always check for new comments and show update buttons', 'wpdiscuz') ?></span>
25
- </label><br>
26
- <label title="<?php _e('Always update', 'wpdiscuz') ?>">
27
- <input type="radio" value="1" <?php checked('1' == $wc_comment_list_update_type); ?> name="wc_comment_list_update_type" id="wc_comment_list_update_always" />
28
- <span><?php _e('Always check for new comments and update automatically', 'wpdiscuz') ?></span>
29
- </label> &nbsp;<br/>
30
- </fieldset>
31
- </td>
32
- </tr>
33
- <tr valign="top">
34
- <th scope="row">
35
- <label for="wc_live_update_guests"><?php _e('Disable live update for guests', 'wpdiscuz'); ?></label>
36
- </th>
37
- <td>
38
- <input type="checkbox" <?php checked($this->optionsSerialized->liveUpdateGuests == 1) ?> value="1" name="wc_live_update_guests" id="wc_live_update_guests" />
39
- </td>
40
- </tr>
41
- <tr valign="top">
42
- <th scope="row">
43
- <label for="wc_comment_list_update_timer"><?php _e('Update comment list every', 'wpdiscuz'); ?></label>
44
- </th>
45
- <td>
46
- <select id="wc_comment_list_update_timer" name="wc_comment_list_update_timer">
47
- <?php $wc_comment_list_update_timer = isset($this->optionsSerialized->commentListUpdateTimer) ? $this->optionsSerialized->commentListUpdateTimer : 30; ?>
48
- <option value="10" <?php selected($wc_comment_list_update_timer, '10'); ?>>10 <?php _e('Seconds', 'wpdiscuz'); ?></option>
49
- <option value="20" <?php selected($wc_comment_list_update_timer, '20'); ?>>20 <?php _e('Seconds', 'wpdiscuz'); ?></option>
50
- <option value="30" <?php selected($wc_comment_list_update_timer, '30'); ?>>30 <?php _e('Seconds', 'wpdiscuz'); ?></option>
51
- <option value="60" <?php selected($wc_comment_list_update_timer, '60'); ?>>1 <?php _e('Minute', 'wpdiscuz'); ?></option>
52
- <option value="180" <?php selected($wc_comment_list_update_timer, '180'); ?>>3 <?php _e('Minutes', 'wpdiscuz'); ?></option>
53
- <option value="300" <?php selected($wc_comment_list_update_timer, '300'); ?>>5 <?php _e('Minutes', 'wpdiscuz'); ?></option>
54
- <option value="600" <?php selected($wc_comment_list_update_timer, '600'); ?>>10 <?php _e('Minutes', 'wpdiscuz'); ?></option>
55
- </select>
56
- </td>
57
- </tr>
 
58
  </tbody>
59
  </table>
60
  </div>
4
  }
5
  ?>
6
  <div>
7
+ <h2 class="wpd-subtitle"><?php _e('Live Update', 'wpdiscuz'); ?></h2>
8
+ <table class="wp-list-table widefat plugins wpdxb" style="margin-top:10px; border:none;">
9
  <tbody>
10
  <tr valign="top">
11
  <th scope="row" style="width:55%;">
12
+ <label><?php _e('Live update options', 'wpdiscuz'); ?></label>
13
+ <p class="wpd-desc"><?php _e('wpDiscuz 3 live update is very smart and doesn\'t overload your server even if you\'re on Shared hosting plan and even your website is very active. However we recommend to monitor your server resources if you\'re on a Shared hosting plan. There are some very weak hosting plans which may not be able to perform very frequently live update requests. If you found some issue you can set the option below 30 seconds or more.', 'wpdiscuz'); ?></p>
14
+ </th>
15
+ <th>
16
+ <fieldset class="wc_comment_list_update_type">
17
+ <?php $wc_comment_list_update_type = isset($this->optionsSerialized->commentListUpdateType) ? $this->optionsSerialized->commentListUpdateType : 1; ?>
18
+ <label title="<?php _e('Never update', 'wpdiscuz') ?>">
19
+ <input type="radio" value="0" <?php checked('0' == $wc_comment_list_update_type); ?> name="wc_comment_list_update_type" id="wc_comment_list_update_never" />
20
+ <span><?php _e('Turn off "Live Update" function', 'wpdiscuz') ?></span>
21
+ </label> &nbsp;<br/>
22
+ <label title="<?php _e('Show new comment/reply buttons to update manualy', 'wpdiscuz') ?>">
23
+ <input type="radio" value="2" <?php checked('2' == $wc_comment_list_update_type); ?> name="wc_comment_list_update_type" id="wc_comment_list_update_new" />
24
+ <span><?php _e('Always check for new comments and show update buttons', 'wpdiscuz') ?></span>
25
+ </label><br>
26
+ <label title="<?php _e('Always update', 'wpdiscuz') ?>">
27
+ <input type="radio" value="1" <?php checked('1' == $wc_comment_list_update_type); ?> name="wc_comment_list_update_type" id="wc_comment_list_update_always" />
28
+ <span><?php _e('Always check for new comments and update automatically', 'wpdiscuz') ?></span>
29
+ </label> &nbsp;<br/>
30
+ </fieldset>
31
+ </th>
32
+ </tr>
33
+ <tr valign="top">
34
+ <th scope="row">
35
+ <label for="wc_live_update_guests"><?php _e('Disable live update for guests', 'wpdiscuz'); ?></label>
36
+ </th>
37
+ <td>
38
+ <input type="checkbox" <?php checked($this->optionsSerialized->liveUpdateGuests == 1) ?> value="1" name="wc_live_update_guests" id="wc_live_update_guests" />
39
+ <label for="wc_live_update_guests"></label>
40
+ </td>
41
+ </tr>
42
+ <tr valign="top">
43
+ <th scope="row">
44
+ <label for="wc_comment_list_update_timer"><?php _e('Update comment list every', 'wpdiscuz'); ?></label>
45
+ </th>
46
+ <td>
47
+ <select id="wc_comment_list_update_timer" name="wc_comment_list_update_timer">
48
+ <?php $wc_comment_list_update_timer = isset($this->optionsSerialized->commentListUpdateTimer) ? $this->optionsSerialized->commentListUpdateTimer : 30; ?>
49
+ <option value="10" <?php selected($wc_comment_list_update_timer, '10'); ?>>10 <?php _e('Seconds', 'wpdiscuz'); ?></option>
50
+ <option value="20" <?php selected($wc_comment_list_update_timer, '20'); ?>>20 <?php _e('Seconds', 'wpdiscuz'); ?></option>
51
+ <option value="30" <?php selected($wc_comment_list_update_timer, '30'); ?>>30 <?php _e('Seconds', 'wpdiscuz'); ?></option>
52
+ <option value="60" <?php selected($wc_comment_list_update_timer, '60'); ?>>1 <?php _e('Minute', 'wpdiscuz'); ?></option>
53
+ <option value="180" <?php selected($wc_comment_list_update_timer, '180'); ?>>3 <?php _e('Minutes', 'wpdiscuz'); ?></option>
54
+ <option value="300" <?php selected($wc_comment_list_update_timer, '300'); ?>>5 <?php _e('Minutes', 'wpdiscuz'); ?></option>
55
+ <option value="600" <?php selected($wc_comment_list_update_timer, '600'); ?>>10 <?php _e('Minutes', 'wpdiscuz'); ?></option>
56
+ </select>
57
+ </td>
58
+ </tr>
59
  </tbody>
60
  </table>
61
  </div>
options/options-layouts/settings-show-hide.php DELETED
@@ -1,167 +0,0 @@
1
- <?php
2
- if (!defined('ABSPATH')) {
3
- exit();
4
- }
5
- ?>
6
- <div>
7
- <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Show/Hide Components', 'wpdiscuz'); ?></h2>
8
- <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
9
- <tbody>
10
- <tr valign="top">
11
- <th scope="row" style="width:55%"><label for="wc_show_hide_loggedin_username"><?php _e('Show logged-in user name and logout link on top of main form', 'wpdiscuz'); ?></label></th>
12
- <td><input type="checkbox" <?php checked($this->optionsSerialized->showHideLoggedInUsername == 1) ?> value="1" name="wc_show_hide_loggedin_username" id="wc_show_hide_loggedin_username" /></td>
13
- </tr>
14
- <tr valign="top">
15
- <th scope="row"><label for="wc_reply_button_guests_show_hide"><?php _e('Hide Reply button for Guests', 'wpdiscuz'); ?></label></th>
16
- <td><input type="checkbox" <?php checked($this->optionsSerialized->replyButtonGuestsShowHide == 1) ?> value="1" name="wc_reply_button_guests_show_hide" id="wc_reply_button_guests_show_hide" /></td>
17
- </tr>
18
- <tr valign="top">
19
- <th scope="row"><label for="wc_reply_button_members_show_hide"><?php _e('Hide Reply button for Members', 'wpdiscuz'); ?></label></th>
20
- <td><input type="checkbox" <?php checked($this->optionsSerialized->replyButtonMembersShowHide == 1) ?> value="1" name="wc_reply_button_members_show_hide" id="wc_reply_button_members_show_hide" /></td>
21
- </tr>
22
- <tr valign="top">
23
- <th scope="row"><label for="wc_author_titles_show_hide"><?php _e('Hide Commenter Labels', 'wpdiscuz'); ?></label></th>
24
- <td><input type="checkbox" <?php checked($this->optionsSerialized->authorTitlesShowHide == 1) ?> value="1" name="wc_author_titles_show_hide" id="wc_author_titles_show_hide" /></td>
25
- </tr>
26
- <tr valign="top">
27
- <th scope="row"><label for="wc_voting_buttons_show_hide"><?php _e('Hide Voting buttons', 'wpdiscuz'); ?></label></th>
28
- <td><input type="checkbox" <?php checked($this->optionsSerialized->votingButtonsShowHide == 1) ?> value="1" name="wc_voting_buttons_show_hide" id="wc_voting_buttons_show_hide" /></td>
29
- </tr>
30
- <tr valign="top">
31
- <th scope="row"><?php _e('Comment voting statistic mode', 'wpdiscuz'); ?></th>
32
- <td>
33
- <fieldset class="votingButtonsStyleSet">
34
- <label for="votingButtonsStyleTotal">
35
- <input type="radio" <?php checked($this->optionsSerialized->votingButtonsStyle == 0) ?> value="0" name="votingButtonsStyle" id="votingButtonsStyleTotal" class="votingButtonsStyle"/>
36
- <span><?php _e('total count', 'wpdiscuz'); ?></span>
37
- </label><br/>
38
- <label for="votingButtonsStyleSeparate">
39
- <input type="radio" <?php checked($this->optionsSerialized->votingButtonsStyle == 1) ?> value="1" name="votingButtonsStyle" id="votingButtonsStyleSeparate" class="votingButtonsStyle"/>
40
- <span><?php _e('separate count', 'wpdiscuz'); ?></span>
41
- </label><br/>
42
- </fieldset>
43
- </td>
44
- </tr>
45
- <tr valign="top">
46
- <th scope="row"><?php _e('Show Share Buttons', 'wpdiscuz'); ?></th>
47
- <td>
48
- <?php
49
- $shareButtons = $this->shareButtons;
50
- foreach ($shareButtons as $btn) {
51
- $checked = in_array($btn, $this->optionsSerialized->shareButtons) ? 'checked="checked"' : '';
52
- ?>
53
- <label class="wpdiscuz-share-buttons share-button-<?php echo $btn; ?>" for="wc_share_button_<?php echo $btn; ?>">
54
- <input type="checkbox" <?php echo $checked ?> value="<?php echo $btn; ?>" name="wpdiscuz_share_buttons[]" id="wc_share_button_<?php echo $btn; ?>" class="wc_share_button" />
55
- </label>
56
- <?php
57
- }
58
- ?>
59
- </td>
60
- </tr>
61
- <?php $facbookAppContShow = in_array('fb', $this->optionsSerialized->shareButtons) ? '' : 'style="display:none;"';
62
- ?>
63
- <tr valign="top" id="wpc-fb-api-cont" <?php echo $facbookAppContShow;?>>
64
- <th scope="row">
65
- <?php _e('Facebook Application ID', 'wpdiscuz'); ?>
66
- </th>
67
- <td colspan="3">
68
- <label for="facebookAppID">
69
- <input type="text" value="<?php echo $this->optionsSerialized->facebookAppID; ?>" name="facebookAppID" id="facebookAppID" />
70
- </label>
71
- </td>
72
- </tr>
73
- <?php
74
- $pathToDir = WPDISCUZ_DIR_PATH . WPDISCUZ_DS . 'utils' . WPDISCUZ_DS . 'temp';
75
- $isWritable = @is_writable($pathToDir);
76
- if ($isWritable) {
77
- $disableCaptcha = '';
78
- $msg = '';
79
- } else {
80
- $disableCaptcha = 'disabled="disabled"';
81
- $msg = '<p style="display: inline;">' . __('The plugin captcha directory is not writable! Please set writable permissions on "wpdiscuz/utils/temp" directory in order to use the first type of captcha generation', 'wpdiscuz') . '</p>';
82
- }
83
- ?>
84
- <tr valign="top">
85
- <th scope="row"><?php _e('Captcha generation type', 'wpdiscuz'); ?></th>
86
- <td>
87
- <fieldset class="commentListLoadType">
88
- <?php $isCaptchaInSession = isset($this->optionsSerialized->isCaptchaInSession) ? $this->optionsSerialized->isCaptchaInSession : 0; ?>
89
- <label>
90
- <input <?php echo $disableCaptcha; ?> type="radio" value="0" <?php checked('0' == $isCaptchaInSession); ?> name="isCaptchaInSession" id="captchaByImageFile" />
91
- <span><?php _e('use file system', 'wpdiscuz') ?></span>
92
- </label> &nbsp;<br/>
93
- <div><?php echo $msg; ?></div>
94
- <label>
95
- <input type="radio" value="1" <?php checked('1' == $isCaptchaInSession); ?> name="isCaptchaInSession" id="captchaInSession" />
96
- <span><?php _e('use wordpress session', 'wpdiscuz') ?></span>
97
- </label><br>
98
- </fieldset>
99
- </td>
100
- </tr>
101
- <tr valign="top">
102
- <th scope="row"><label for="wc_header_text_show_hide"><?php _e('Hide header text', 'wpdiscuz'); ?></label></th>
103
- <td><input type="checkbox" <?php checked($this->optionsSerialized->headerTextShowHide == 1) ?> value="1" name="wc_header_text_show_hide" id="wc_header_text_show_hide" /></td>
104
- </tr>
105
- <tr valign="top">
106
- <th scope="row"><label for="show_sorting_buttons"><?php _e('Show sorting buttons', 'wpdiscuz'); ?></label></th>
107
- <td><input type="checkbox" <?php checked($this->optionsSerialized->showSortingButtons == 1) ?> value="1" name="show_sorting_buttons" id="show_sorting_buttons" /></td>
108
- </tr>
109
- <tr valign="top" id="row_mostVotedByDefault">
110
- <th scope="row"><label for="mostVotedByDefault"><?php _e('Set comments ordering to "Most voted" by default ', 'wpdiscuz'); ?></label></th>
111
- <td><input type="checkbox" <?php checked($this->optionsSerialized->mostVotedByDefault == 1) ?> value="1" name="mostVotedByDefault" id="mostVotedByDefault" /></td>
112
- </tr>
113
- <tr valign="top">
114
- <th scope="row"><label for="showHideCommentLink"><?php _e('Hide comment link', 'wpdiscuz'); ?></label></th>
115
- <td><input type="checkbox" <?php checked($this->optionsSerialized->showHideCommentLink == 1) ?> value="1" name="showHideCommentLink" id="showHideCommentLink" /></td>
116
- </tr>
117
- <tr valign="top">
118
- <th scope="row"><label for="enableImageConversion"><?php _e('Enable automatic image URL to image HTML conversion', 'wpdiscuz'); ?></label></th>
119
- <td><input type="checkbox" <?php checked($this->optionsSerialized->enableImageConversion == 1) ?> value="1" name="enableImageConversion" id="enableImageConversion" /></td>
120
- </tr>
121
- <?php if(is_ssl()){?>
122
- <tr valign="top">
123
- <th scope="row"><?php _e('Secure comment content in HTTPS protocol.', 'wpdiscuz'); ?>
124
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;">
125
- <?php _e('This option detects images and other contents with non-https source URLs and fix according to your selected logic.', 'wpdiscuz'); ?>
126
- </p>
127
- </th>
128
- <td>
129
- <fieldset class="commentLinkFilter">
130
- <?php $commentLinkFilter = isset($this->optionsSerialized->commentLinkFilter) ? $this->optionsSerialized->commentLinkFilter : 1; ?>
131
- <label>
132
- <input <?php echo $disableCaptcha; ?> type="radio" value="1" <?php checked('1' == $commentLinkFilter); ?> name="commentLinkFilter" id="http-to-link" />
133
- <span><?php _e('Replace non-https content to simple link URLs', 'wpdiscuz') ?></span>
134
- </label> &nbsp;<br/>
135
- <div><?php echo $msg; ?></div>
136
- <label>
137
- <input type="radio" value="2" <?php checked('2' == $commentLinkFilter); ?> name="commentLinkFilter" id="http-to-https" />
138
- <span><?php _e('Just replace http protocols to https (https may not be supported by content provider)', 'wpdiscuz') ?></span>
139
- </label><br>
140
- <label>
141
- <input type="radio" value="3" <?php checked('3' == $commentLinkFilter); ?> name="commentLinkFilter" id="ignore-https" />
142
- <span><?php _e('Ignore non-https content', 'wpdiscuz') ?></span>
143
- </label><br>
144
- </fieldset>
145
- </td>
146
- </tr>
147
- <?php }?>
148
- <tr valign="top">
149
- <th scope="row"><label for="disableProfileURLs"><?php _e('Disable Profiles URL', 'wpdiscuz'); ?></label></th>
150
- <td><input type="checkbox" <?php checked($this->optionsSerialized->disableProfileURLs == 1) ?> value="1" name="disableProfileURLs" id="disableProfileURLs" /></td>
151
- </tr>
152
- <tr valign="top">
153
- <th scope="row"><?php _e('Display Ratings', 'wpdiscuz'); ?></label></th>
154
- <td>
155
- <input type="checkbox" <?php checked(in_array('before', $this->optionsSerialized->displayRatingOnPost)) ?> value="before" name="displayRatingOnPost[]" id="displayRatingOnPostBefore" />
156
- <label for="displayRatingOnPostBefore"><?php _e('Before Content', 'wpdiscuz'); ?></label><br>
157
- <input type="checkbox" <?php checked(in_array('after', $this->optionsSerialized->displayRatingOnPost)) ?> value="after" name="displayRatingOnPost[]" id="displayRatingOnPostAfter" />
158
- <label for="displayRatingOnPostAfter"><?php _e('After Content', 'wpdiscuz'); ?></label>
159
- </td>
160
- </tr>
161
- <tr valign="top">
162
- <th scope="row"><label for="ratingCssOnNoneSingular"><?php _e('Display ratings on none singular pages', 'wpdiscuz'); ?></label></th>
163
- <td><input type="checkbox" <?php checked($this->optionsSerialized->ratingCssOnNoneSingular == 1) ?> value="1" name="ratingCssOnNoneSingular" id="ratingCssOnNoneSingular" /></td>
164
- </tr>
165
- </tbody>
166
- </table>
167
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
options/options-layouts/settings-social.php CHANGED
@@ -121,7 +121,7 @@ if (isset($_GET['wc_social_action'])) {
121
  }
122
  ?>
123
  <div>
124
- <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Social Login', 'wpdiscuz'); ?> </h2>
125
  <p style="padding-bottom:10px; padding-left:10px;"><?php _e('You can use one of these most popular Social Login Plugins to allow your visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, OK and lots of other social network service accounts. All social login buttons will be fully integrated with wpDiscuz comment forms.', 'wpdiscuz'); ?> </p>
126
  <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
127
  <tbody>
121
  }
122
  ?>
123
  <div>
124
+ <h2 class="wpd-subtitle"><?php _e('Social Login', 'wpdiscuz'); ?> </h2>
125
  <p style="padding-bottom:10px; padding-left:10px;"><?php _e('You can use one of these most popular Social Login Plugins to allow your visitors login and comment with Facebook, Twitter, Google+, Wordpress, VK, OK and lots of other social network service accounts. All social login buttons will be fully integrated with wpDiscuz comment forms.', 'wpdiscuz'); ?> </p>
126
  <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
127
  <tbody>
options/options-layouts/settings-style.php CHANGED
@@ -4,12 +4,32 @@ if (!defined('ABSPATH')) {
4
  }
5
  ?>
6
  <div>
7
- <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Background and Colors', 'wpdiscuz'); ?></h2>
8
- <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
9
- <tbody>
10
  <tr valign="top">
11
  <th colspan="2">
12
- <span class="wpdiscuz-option-title"><?php _e('Comment Form Background Color', 'wpdiscuz'); ?></span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  </th>
14
  <td>
15
  <?php $formBGColor = isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#F9F9F9'; ?>
@@ -18,7 +38,7 @@ if (!defined('ABSPATH')) {
18
  </tr>
19
  <tr valign="top">
20
  <th colspan="2">
21
- <span class="wpdiscuz-option-title"><?php _e('Comment Background Color', 'wpdiscuz'); ?></span>
22
  </th>
23
  <td>
24
  <?php $commentBGColor = isset($this->optionsSerialized->commentBGColor) ? $this->optionsSerialized->commentBGColor : '#FEFEFE'; ?>
@@ -27,7 +47,7 @@ if (!defined('ABSPATH')) {
27
  </tr>
28
  <tr valign="top">
29
  <th colspan="2">
30
- <span class="wpdiscuz-option-title"><?php _e('Reply Background Color', 'wpdiscuz'); ?></span>
31
  </th>
32
  <td>
33
  <?php $replyBGColor = isset($this->optionsSerialized->replyBGColor) ? $this->optionsSerialized->replyBGColor : '#F8F8F8'; ?>
@@ -36,34 +56,35 @@ if (!defined('ABSPATH')) {
36
  </tr>
37
  <tr valign="top">
38
  <th colspan="2">
39
- <span class="wpdiscuz-option-title"><?php _e('Comment Text Color', 'wpdiscuz'); ?></span>
40
  </th>
41
  <td>
42
- <?php $commentTextColor = isset($this->optionsSerialized->commentTextColor) ? $this->optionsSerialized->commentTextColor : '#555555'; ?>
43
  <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $commentTextColor; ?>" id="wc_comment_text_color" name="wc_comment_text_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
44
  </td>
45
  </tr>
46
  <tr valign="top">
47
  <th colspan="2">
48
- <span class="wpdiscuz-option-title"><?php _e('Button Color', 'wpdiscuz'); ?></span>
49
  </th>
50
  <td>
51
- <?php
52
- $buttonColor = (isset($this->optionsSerialized->buttonColor['abc']) && $this->optionsSerialized->buttonColor['abc'] ) ? $this->optionsSerialized->buttonColor : array('shc'=> '#bbbbbb', 'shb'=> '#cccccc', 'vbc'=> '#aaaaaa', 'vbb'=> '#bbbbbb', 'abc'=> '#ffffff', 'abb'=> '#888888'); ?>
53
- <h4 style="padding:7px 0px 3px 1px; margin:0px;"><?php _e('Share Buttons', 'wpdiscuz') ?></h5>
54
- <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $buttonColor['shc']; ?>" id="wc_link_button_color" name="wc_link_button_color[shc]" placeholder="<?php _e('Text Color', 'wpdiscuz'); ?>"/>
55
- <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $buttonColor['shb']; ?>" id="wc_link_button_color" name="wc_link_button_color[shb]" placeholder="<?php _e('Border Color', 'wpdiscuz'); ?>"/>
56
- <h4 style="padding:7px 0px 3px 1px; margin:0px;"><?php _e('Vote Buttons', 'wpdiscuz') ?></h5>
57
- <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $buttonColor['vbc']; ?>" id="wc_link_button_color" name="wc_link_button_color[vbc]" placeholder="<?php _e('Text Color', 'wpdiscuz'); ?>"/>
58
- <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $buttonColor['vbb']; ?>" id="wc_link_button_color" name="wc_link_button_color[vbb]" placeholder="<?php _e('Border Color', 'wpdiscuz'); ?>"/>
59
- <h4 style="padding:7px 0px 3px 1px; margin:0px;"><?php _e('Action Buttons', 'wpdiscuz') ?></h5>
60
- <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $buttonColor['abc']; ?>" id="wc_link_button_color" name="wc_link_button_color[abc]" placeholder="<?php _e('Text Color', 'wpdiscuz'); ?>"/>
61
- <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $buttonColor['abb']; ?>" id="wc_link_button_color" name="wc_link_button_color[abb]" placeholder="<?php _e('Border Color', 'wpdiscuz'); ?>"/>
 
62
  </td>
63
  </tr>
64
  <tr valign="top">
65
  <th colspan="2">
66
- <span class="wpdiscuz-option-title"><?php _e('Comment form fields border color', 'wpdiscuz'); ?></span>
67
  </th>
68
  <td>
69
  <?php $inputBorderColor = isset($this->optionsSerialized->inputBorderColor) ? $this->optionsSerialized->inputBorderColor : '#D9D9D9'; ?>
@@ -72,35 +93,27 @@ if (!defined('ABSPATH')) {
72
  </tr>
73
  <tr valign="top">
74
  <th colspan="2">
75
- <span class="wpdiscuz-option-title"><?php _e('New loaded comments\' background color', 'wpdiscuz'); ?></span>
76
  </th>
77
  <td>
78
  <?php $newLoadedCommentBGColor = isset($this->optionsSerialized->newLoadedCommentBGColor) ? $this->optionsSerialized->newLoadedCommentBGColor : '#FEFEFE'; ?>
79
  <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $newLoadedCommentBGColor; ?>" id="wc_new_loaded_comment_bg_color" name="wc_new_loaded_comment_bg_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
80
  </td>
81
  </tr>
 
 
82
  <tr valign="top">
83
  <th colspan="2">
84
- <span class="wpdiscuz-option-title"><?php _e('Primary Color', 'wpdiscuz'); ?></span>
85
- </th>
86
- <td>
87
- <?php $primaryColor = isset($this->optionsSerialized->primaryColor) ? $this->optionsSerialized->primaryColor : '#00B38F'; ?>
88
- <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $primaryColor; ?>" id="wc_comment_username_color" name="wc_comment_username_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
89
- </td>
90
- </tr>
91
-
92
- <tr valign="top">
93
- <th colspan="2">
94
- <span class="wpdiscuz-option-title"><?php _e('Rating Stars Hover Color', 'wpdiscuz'); ?></span>
95
  </th>
96
  <td>
97
  <?php $ratingHoverColor = isset($this->optionsSerialized->ratingHoverColor) ? $this->optionsSerialized->ratingHoverColor : '#FFED85'; ?>
98
  <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $ratingHoverColor; ?>" id="wc_comment_rating_hover_color" name="wc_comment_rating_hover_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
99
  </td>
100
  </tr>
101
- <tr valign="top">
102
  <th colspan="2">
103
- <span class="wpdiscuz-option-title"><?php _e('Rating Stars Inactiv Color', 'wpdiscuz'); ?></span>
104
  </th>
105
  <td>
106
  <?php $ratingInactivColor = isset($this->optionsSerialized->ratingInactivColor) ? $this->optionsSerialized->ratingInactivColor : '#DDDDDD'; ?>
@@ -109,14 +122,14 @@ if (!defined('ABSPATH')) {
109
  </tr>
110
  <tr valign="top">
111
  <th colspan="2">
112
- <span class="wpdiscuz-option-title"><?php _e('Rating Stars Activ Color', 'wpdiscuz'); ?></span>
113
  </th>
114
  <td>
115
  <?php $ratingActivColor = isset($this->optionsSerialized->ratingActivColor) ? $this->optionsSerialized->ratingActivColor : '#FFD700'; ?>
116
  <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $ratingActivColor; ?>" id="wc_comment_rating_activ_color" name="wc_comment_rating_activ_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
117
  </td>
118
  </tr>
119
-
120
  <?php
121
  $blogRoles = $this->optionsSerialized->blogRoles;
122
  foreach ($blogRoles as $roleName => $color) {
@@ -124,7 +137,7 @@ if (!defined('ABSPATH')) {
124
  ?>
125
  <tr valign="top">
126
  <th colspan="2">
127
- <span class="wpdiscuz-option-title"><?php echo '<span style="font-weight:bold;color:' . $blogRoleColor . ';">' . ucfirst(str_replace('_', ' ', $roleName)) . '</span> ' . __('label color', 'wpdiscuz'); ?></span>
128
  </th>
129
  <td>
130
  <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $blogRoleColor; ?>" id="wc_blog_roles_<?php echo $roleName; ?>" name="wc_blog_roles[<?php echo $roleName; ?>]" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
@@ -133,17 +146,33 @@ if (!defined('ABSPATH')) {
133
  <?php
134
  }
135
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  <tr valign="top">
137
  <th scope="row" colspan="2">
138
  <label for="disableFontAwesome"><?php _e('Disable font awesome css loading', 'wpdiscuz'); ?></label>
139
  </th>
140
  <td>
141
- <input type="checkbox" <?php checked($this->optionsSerialized->disableFontAwesome == 1) ?> value="1" name="disableFontAwesome" id="disableFontAwesome" />
 
142
  </td>
143
  </tr>
144
  <tr valign="top">
145
  <th colspan="2">
146
- <span class="wpdiscuz-option-title"><?php _e('Custom CSS Code', 'wpdiscuz'); ?></span>
147
  </th>
148
  <td>
149
  <textarea cols="40" rows="8" class="regular-text" id="wc_custom_css" name="wc_custom_css" placeholder=""><?php echo stripslashes($this->optionsSerialized->customCss); ?></textarea>
4
  }
5
  ?>
6
  <div>
7
+ <h2 class="wpd-subtitle"><?php _e('Background and Colors', 'wpdiscuz'); ?></h2>
8
+ <table class="wp-list-table widefat plugins wpdxb" style="margin-top:10px; border:none;">
9
+ <tbody>
10
  <tr valign="top">
11
  <th colspan="2">
12
+ <label><?php _e('Style', 'wpdiscuz'); ?></label>
13
+ </th>
14
+ <th>
15
+ <div class="wpd-switch-field">
16
+ <input <?php checked($this->optionsSerialized->theme == 'wpd-default'); ?> value="wpd-default" name="theme" id="themeDefault" type="radio"><label for="themeDefault"><?php _e('Default', 'wpdiscuz'); ?></label>
17
+ <input <?php checked($this->optionsSerialized->theme == 'wpd-dark'); ?> value="wpd-dark" name="theme" id="themeDark" type="radio"><label for="themeDark"><?php _e('Dark', 'wpdiscuz'); ?></label>
18
+ </div>
19
+ </th>
20
+ </tr>
21
+ <tr valign="top">
22
+ <th colspan="2">
23
+ <label><?php _e('Primary Color', 'wpdiscuz'); ?></label>
24
+ </th>
25
+ <td>
26
+ <?php $primaryColor = isset($this->optionsSerialized->primaryColor) ? $this->optionsSerialized->primaryColor : '#00B38F'; ?>
27
+ <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $primaryColor; ?>" id="wc_comment_username_color" name="wc_comment_username_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
28
+ </td>
29
+ </tr>
30
+ <tr valign="top">
31
+ <th colspan="2">
32
+ <label><?php _e('Subscription Bar Background Color', 'wpdiscuz'); ?></label>
33
  </th>
34
  <td>
35
  <?php $formBGColor = isset($this->optionsSerialized->formBGColor) ? $this->optionsSerialized->formBGColor : '#F9F9F9'; ?>
38
  </tr>
39
  <tr valign="top">
40
  <th colspan="2">
41
+ <label><?php _e('Comment Background Color', 'wpdiscuz'); ?></label>
42
  </th>
43
  <td>
44
  <?php $commentBGColor = isset($this->optionsSerialized->commentBGColor) ? $this->optionsSerialized->commentBGColor : '#FEFEFE'; ?>
47
  </tr>
48
  <tr valign="top">
49
  <th colspan="2">
50
+ <label><?php _e('Reply Background Color', 'wpdiscuz'); ?></label>
51
  </th>
52
  <td>
53
  <?php $replyBGColor = isset($this->optionsSerialized->replyBGColor) ? $this->optionsSerialized->replyBGColor : '#F8F8F8'; ?>
56
  </tr>
57
  <tr valign="top">
58
  <th colspan="2">
59
+ <label><?php _e('Comment Text Color', 'wpdiscuz'); ?></label>
60
  </th>
61
  <td>
62
+ <?php $commentTextColor = isset($this->optionsSerialized->commentTextColor) ? $this->optionsSerialized->commentTextColor : '#666666'; ?>
63
  <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $commentTextColor; ?>" id="wc_comment_text_color" name="wc_comment_text_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
64
  </td>
65
  </tr>
66
  <tr valign="top">
67
  <th colspan="2">
68
+ <label><?php _e('Button Colors', 'wpdiscuz'); ?></label>
69
  </th>
70
  <td>
71
+ <?php $buttonColor = (isset($this->optionsSerialized->buttonColor['primary_button_bg']) && $this->optionsSerialized->buttonColor['primary_button_bg'] ) ? $this->optionsSerialized->buttonColor : array('primary_button_bg' => '#555555', 'primary_button_color' => '#FFFFFF', 'secondary_button_color' => '#777777', 'secondary_button_border' => '#dddddd', 'vote_up_link_color' => '#999999', 'vote_down_link_color' => '#999999'); ?>
72
+ <h4 style="padding:7px 0px 3px 1px; margin:0px;"><?php _e('Primary Buttons', 'wpdiscuz') ?></h4>
73
+ <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $buttonColor['primary_button_color']; ?>" id="wc_link_button_color" name="wc_link_button_color[primary_button_color]" placeholder="<?php _e('Text Color', 'wpdiscuz'); ?>"/> <?php _e('Text Color', 'wpdiscuz'); ?><br>
74
+ <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $buttonColor['primary_button_bg']; ?>" id="wc_link_button_color" name="wc_link_button_color[primary_button_bg]" placeholder="<?php _e('Background Color', 'wpdiscuz'); ?>"/> <?php _e('Background Color', 'wpdiscuz'); ?>
75
+
76
+ <h4 style="padding:7px 0px 3px 1px; margin:0px;"><?php _e('Secondary Buttons', 'wpdiscuz') ?></h4>
77
+ <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $buttonColor['secondary_button_color']; ?>" id="wc_link_button_color" name="wc_link_button_color[secondary_button_color]" placeholder="<?php _e('Text Color', 'wpdiscuz'); ?>"/> <?php _e('Text Color', 'wpdiscuz'); ?><br>
78
+ <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $buttonColor['secondary_button_border']; ?>" id="wc_link_button_color" name="wc_link_button_color[secondary_button_border]" placeholder="<?php _e('Border Color', 'wpdiscuz'); ?>"/> <?php _e('Border Color', 'wpdiscuz'); ?>
79
+
80
+ <h4 style="padding:7px 0px 3px 1px; margin:0px;"><?php _e('Vote Buttons', 'wpdiscuz') ?></h4>
81
+ <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $buttonColor['vote_up_link_color']; ?>" id="wc_link_button_color" name="wc_link_button_color[vote_up_link_color]" placeholder="<?php _e('Up Vote Color', 'wpdiscuz'); ?>"/> <?php _e('Up Vote Color', 'wpdiscuz'); ?><br>
82
+ <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $buttonColor['vote_down_link_color']; ?>" id="wc_link_button_color" name="wc_link_button_color[vote_down_link_color]" placeholder="<?php _e('Down Vote Color', 'wpdiscuz'); ?>"/> <?php _e('Down Vote Color', 'wpdiscuz'); ?>
83
  </td>
84
  </tr>
85
  <tr valign="top">
86
  <th colspan="2">
87
+ <label><?php _e('Comment form fields border color', 'wpdiscuz'); ?></label>
88
  </th>
89
  <td>
90
  <?php $inputBorderColor = isset($this->optionsSerialized->inputBorderColor) ? $this->optionsSerialized->inputBorderColor : '#D9D9D9'; ?>
93
  </tr>
94
  <tr valign="top">
95
  <th colspan="2">
96
+ <label><?php _e('New loaded comments\' background color', 'wpdiscuz'); ?></label>
97
  </th>
98
  <td>
99
  <?php $newLoadedCommentBGColor = isset($this->optionsSerialized->newLoadedCommentBGColor) ? $this->optionsSerialized->newLoadedCommentBGColor : '#FEFEFE'; ?>
100
  <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $newLoadedCommentBGColor; ?>" id="wc_new_loaded_comment_bg_color" name="wc_new_loaded_comment_bg_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
101
  </td>
102
  </tr>
103
+
104
+
105
  <tr valign="top">
106
  <th colspan="2">
107
+ <label><?php _e('Rating Stars Hover Color', 'wpdiscuz'); ?></label>
 
 
 
 
 
 
 
 
 
 
108
  </th>
109
  <td>
110
  <?php $ratingHoverColor = isset($this->optionsSerialized->ratingHoverColor) ? $this->optionsSerialized->ratingHoverColor : '#FFED85'; ?>
111
  <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $ratingHoverColor; ?>" id="wc_comment_rating_hover_color" name="wc_comment_rating_hover_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
112
  </td>
113
  </tr>
114
+ <tr valign="top">
115
  <th colspan="2">
116
+ <label><?php _e('Rating Stars Inactiv Color', 'wpdiscuz'); ?></label>
117
  </th>
118
  <td>
119
  <?php $ratingInactivColor = isset($this->optionsSerialized->ratingInactivColor) ? $this->optionsSerialized->ratingInactivColor : '#DDDDDD'; ?>
122
  </tr>
123
  <tr valign="top">
124
  <th colspan="2">
125
+ <label><?php _e('Rating Stars Activ Color', 'wpdiscuz'); ?></label>
126
  </th>
127
  <td>
128
  <?php $ratingActivColor = isset($this->optionsSerialized->ratingActivColor) ? $this->optionsSerialized->ratingActivColor : '#FFD700'; ?>
129
  <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $ratingActivColor; ?>" id="wc_comment_rating_activ_color" name="wc_comment_rating_activ_color" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
130
  </td>
131
  </tr>
132
+
133
  <?php
134
  $blogRoles = $this->optionsSerialized->blogRoles;
135
  foreach ($blogRoles as $roleName => $color) {
137
  ?>
138
  <tr valign="top">
139
  <th colspan="2">
140
+ <label><?php echo '<span style="font-weight:bold;color:' . $blogRoleColor . ';">' . ucfirst(str_replace('_', ' ', $roleName)) . '</span> ' . __('label color', 'wpdiscuz'); ?></label>
141
  </th>
142
  <td>
143
  <input type="text" class="wpdiscuz-color-picker regular-text" value="<?php echo $blogRoleColor; ?>" id="wc_blog_roles_<?php echo $roleName; ?>" name="wc_blog_roles[<?php echo $roleName; ?>]" placeholder="<?php _e('Example: #00FF00', 'wpdiscuz'); ?>"/>
146
  <?php
147
  }
148
  ?>
149
+ <tr valign="top" >
150
+ <th scope="row" colspan="2">
151
+ <label><?php _e('Comment text size in pixels', 'wpdiscuz'); ?></label>
152
+ </th>
153
+ <td>
154
+ <select id="wc_comment_text_size" name="wc_comment_text_size">
155
+ <?php $wc_comment_text_size = isset($this->optionsSerialized->commentTextSize) ? $this->optionsSerialized->commentTextSize : '14px'; ?>
156
+ <option value="12px" <?php selected($wc_comment_text_size, '12px'); ?>>12px</option>
157
+ <option value="13px" <?php selected($wc_comment_text_size, '13px'); ?>>13px</option>
158
+ <option value="14px" <?php selected($wc_comment_text_size, '14px'); ?>>14px</option>
159
+ <option value="15px" <?php selected($wc_comment_text_size, '15px'); ?>>15px</option>
160
+ <option value="16px" <?php selected($wc_comment_text_size, '16px'); ?>>16px</option>
161
+ </select>
162
+ </td>
163
+ </tr>
164
  <tr valign="top">
165
  <th scope="row" colspan="2">
166
  <label for="disableFontAwesome"><?php _e('Disable font awesome css loading', 'wpdiscuz'); ?></label>
167
  </th>
168
  <td>
169
+ <input type="checkbox" <?php checked($this->optionsSerialized->disableFontAwesome == 1) ?> value="1" name="disableFontAwesome" id="disableFontAwesome" />
170
+ <label for="disableFontAwesome"></label>
171
  </td>
172
  </tr>
173
  <tr valign="top">
174
  <th colspan="2">
175
+ <label><?php _e('Custom CSS Code', 'wpdiscuz'); ?></label>
176
  </th>
177
  <td>
178
  <textarea cols="40" rows="8" class="regular-text" id="wc_custom_css" name="wc_custom_css" placeholder=""><?php echo stripslashes($this->optionsSerialized->customCss); ?></textarea>
options/options-layouts/settings-subscription.php CHANGED
@@ -4,20 +4,32 @@ if (!defined('ABSPATH')) {
4
  }
5
  ?>
6
  <div>
7
- <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Email Subscription Settings', 'wpdiscuz'); ?> </h2>
8
- <table class="wp-list-table widefat plugins" style="margin-top:10px; border:none;">
9
  <tbody>
10
  <tr valign="top">
11
- <th scope="row" style="width:55%;"><label for="wc_disable_member_confirm" style="line-height:22px;"><span style="line-height:22px;"><?php _e('Disable subscription confirmation for registered users', 'wpdiscuz'); ?></span></label></th>
12
- <td><input type="checkbox" <?php checked($this->optionsSerialized->disableMemberConfirm == 1) ?> value="1" name="wc_disable_member_confirm" id="wc_disable_member_confirm" /></td>
 
 
 
 
 
13
  </tr>
14
  <tr valign="top">
15
- <th scope="row" style="width:55%;"><label for="disableGuestsConfirm" style="line-height:22px;"><span style="line-height:22px;"><?php _e('Disable subscription confirmation for guests', 'wpdiscuz'); ?></span></label></th>
16
- <td><input type="checkbox" <?php checked($this->optionsSerialized->disableGuestsConfirm == 1) ?> value="1" name="disableGuestsConfirm" id="disableGuestsConfirm" /></td>
 
 
 
 
 
17
  </tr>
18
  <tr valign="top">
19
- <th scope="row" style="width:55%;"><?php _e('Show subscription types in dropdown', 'wpdiscuz'); ?></th>
20
- <td>
 
 
21
  <fieldset>
22
  <?php $subscriptionType = isset($this->optionsSerialized->subscriptionType) ? $this->optionsSerialized->subscriptionType : 1; ?>
23
  <label title="<?php _e('Both', 'wpdiscuz') ?>">
@@ -33,33 +45,38 @@ if (!defined('ABSPATH')) {
33
  <span><?php _e('All comments subscription', 'wpdiscuz') ?></span>
34
  </label> &nbsp;<br/>
35
  </fieldset>
36
- </td>
37
  </tr>
38
  <tr valign="top">
39
- <th scope="row" style="width:55%;">
40
- <label for="wc_show_hide_reply_checkbox" style="line-height:22px;"><span style="line-height:22px;"><?php _e('Show "Notify of new replies to this comment"', 'wpdiscuz'); ?></span></label><br />
41
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;">
42
  <?php _e('wpDiscuz is the only comment plugin which allows you to subscribe to certain comment replies. This option is located above [Post Comment] button in comment form. You can disable this subscription way by unchecking this option.', 'wpdiscuz') ?>
43
  </p>
44
  </th>
45
- <td><input type="checkbox" <?php checked($this->optionsSerialized->showHideReplyCheckbox == 1) ?> value="1" name="wc_show_hide_reply_checkbox" id="wc_show_hide_reply_checkbox" /></td>
 
 
 
46
  </tr>
47
  <tr valign="top">
48
- <th scope="row" style="width:55%;">
49
- <label for="isReplyDefaultChecked" style="line-height:22px;"><span style="line-height:22px;"><?php _e('"Notify of new replies to this comment" checked by default', 'wpdiscuz'); ?></span></label><br />
50
  </th>
51
- <td><input type="checkbox" <?php checked($this->optionsSerialized->isReplyDefaultChecked == 1) ?> value="1" name="isReplyDefaultChecked" id="isReplyDefaultChecked" /></td>
 
 
 
52
  </tr>
53
  <?php if (class_exists('Prompt_Comment_Form_Handling')) { ?>
54
  <tr valign="top">
55
- <th scope="row" style="width:55%;">
56
- <?php _e('Use Postmatic for subscriptions and commenting by email', 'wpdiscuz'); ?>
57
- <p style="font-size:13px; color:#999999; width:80%; padding-left:0px; margin-left:0px;"><?php _e('Postmatic allows your users subscribe to comments. Instead of just being notified, they add a reply right from their inbox.', 'wpdiscuz'); ?></p>
58
  </th>
59
- <td>
60
- <label for="wc_use_postmatic_for_comment_notification">
61
- <input type="checkbox" <?php checked($this->optionsSerialized->usePostmaticForCommentNotification == 1) ?> value="1" name="wc_use_postmatic_for_comment_notification" id="wc_use_postmatic_for_comment_notification" />
62
- </label>
63
  </td>
64
  </tr>
65
  <?php } ?>
4
  }
5
  ?>
6
  <div>
7
+ <h2 class="wpd-subtitle"><?php _e('Email Subscription Settings', 'wpdiscuz'); ?> </h2>
8
+ <table class="wp-list-table widefat plugins wpdxb" style="margin-top:10px; border:none;">
9
  <tbody>
10
  <tr valign="top">
11
+ <th scope="row" style="width:50%;">
12
+ <label for="wc_disable_member_confirm"><?php _e('Disable subscription confirmation for registered users', 'wpdiscuz'); ?></label>
13
+ </th>
14
+ <td>
15
+ <input type="checkbox" <?php checked($this->optionsSerialized->disableMemberConfirm == 1) ?> value="1" name="wc_disable_member_confirm" id="wc_disable_member_confirm" />
16
+ <label for="wc_disable_member_confirm"></label>
17
+ </td>
18
  </tr>
19
  <tr valign="top">
20
+ <th scope="row">
21
+ <label for="disableGuestsConfirm"><?php _e('Disable subscription confirmation for guests', 'wpdiscuz'); ?></label>
22
+ </th>
23
+ <td>
24
+ <input type="checkbox" <?php checked($this->optionsSerialized->disableGuestsConfirm == 1) ?> value="1" name="disableGuestsConfirm" id="disableGuestsConfirm" />
25
+ <label for="disableGuestsConfirm"></label>
26
+ </td>
27
  </tr>
28
  <tr valign="top">
29
+ <th scope="row">
30
+ <label><?php _e('Show subscription types in dropdown', 'wpdiscuz'); ?></label>
31
+ </th>
32
+ <th>
33
  <fieldset>
34
  <?php $subscriptionType = isset($this->optionsSerialized->subscriptionType) ? $this->optionsSerialized->subscriptionType : 1; ?>
35
  <label title="<?php _e('Both', 'wpdiscuz') ?>">
45
  <span><?php _e('All comments subscription', 'wpdiscuz') ?></span>
46
  </label> &nbsp;<br/>
47
  </fieldset>
48
+ </th>
49
  </tr>
50
  <tr valign="top">
51
+ <th scope="row">
52
+ <label for="wc_show_hide_reply_checkbox"><?php _e('Show "Notify of new replies to this comment"', 'wpdiscuz'); ?></label>
53
+ <p class="wpd-desc">
54
  <?php _e('wpDiscuz is the only comment plugin which allows you to subscribe to certain comment replies. This option is located above [Post Comment] button in comment form. You can disable this subscription way by unchecking this option.', 'wpdiscuz') ?>
55
  </p>
56
  </th>
57
+ <td>
58
+ <input type="checkbox" <?php checked($this->optionsSerialized->showHideReplyCheckbox == 1) ?> value="1" name="wc_show_hide_reply_checkbox" id="wc_show_hide_reply_checkbox" />
59
+ <label for="wc_show_hide_reply_checkbox"></label>
60
+ </td>
61
  </tr>
62
  <tr valign="top">
63
+ <th scope="row">
64
+ <label for="isReplyDefaultChecked"><?php _e('"Notify of new replies to this comment" checked by default', 'wpdiscuz'); ?></label>
65
  </th>
66
+ <td>
67
+ <input type="checkbox" <?php checked($this->optionsSerialized->isReplyDefaultChecked == 1) ?> value="1" name="isReplyDefaultChecked" id="isReplyDefaultChecked" />
68
+ <label for="isReplyDefaultChecked"></label>
69
+ </td>
70
  </tr>
71
  <?php if (class_exists('Prompt_Comment_Form_Handling')) { ?>
72
  <tr valign="top">
73
+ <th scope="row">
74
+ <label><?php _e('Use Postmatic for subscriptions and commenting by email', 'wpdiscuz'); ?></label>
75
+ <p class="wpd-desc"><?php _e('Postmatic allows your users subscribe to comments. Instead of just being notified, they add a reply right from their inbox.', 'wpdiscuz'); ?></p>
76
  </th>
77
+ <td>
78
+ <input type="checkbox" <?php checked($this->optionsSerialized->usePostmaticForCommentNotification == 1) ?> value="1" name="wc_use_postmatic_for_comment_notification" id="wc_use_postmatic_for_comment_notification" />
79
+ <label for="wc_use_postmatic_for_comment_notification"></label>
 
80
  </td>
81
  </tr>
82
  <?php } ?>
options/phrases-layouts/phrases-comment.php CHANGED
@@ -44,7 +44,7 @@ if (!defined('ABSPATH')) {
44
  <td colspan="3"><input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_hide_replies_text']; ?>" name="wc_hide_replies_text" id="wc_hide_replies_text" /></td>
45
  </tr>
46
  <tr valign="top">
47
- <th scope="row"><label for="wc_show_replies_text"><?php _e('Show Replies', 'wpdiscuz'); ?></label></th>
48
  <td colspan="3"><input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_show_replies_text']; ?>" name="wc_show_replies_text" id="wc_show_replies_text" /></td>
49
  </tr>
50
  <?php
@@ -95,6 +95,26 @@ if (!defined('ABSPATH')) {
95
  <th scope="row"><label for="wc_anonymous"><?php _e('Anonymous commenter name', 'wpdiscuz'); ?></label></th>
96
  <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_anonymous']) ? $this->optionsSerialized->phrases['wc_anonymous'] : __('Anonymous', 'wpdisucz'); ?>" name="wc_anonymous" id="wc_anonymous" /></td>
97
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  </tbody>
99
  </table>
100
  </div>
44
  <td colspan="3"><input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_hide_replies_text']; ?>" name="wc_hide_replies_text" id="wc_hide_replies_text" /></td>
45
  </tr>
46
  <tr valign="top">
47
+ <th scope="row"><label for="wc_show_replies_text"><?php _e('View Replies', 'wpdiscuz'); ?></label></th>
48
  <td colspan="3"><input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_show_replies_text']; ?>" name="wc_show_replies_text" id="wc_show_replies_text" /></td>
49
  </tr>
50
  <?php
95
  <th scope="row"><label for="wc_anonymous"><?php _e('Anonymous commenter name', 'wpdiscuz'); ?></label></th>
96
  <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_anonymous']) ? $this->optionsSerialized->phrases['wc_anonymous'] : __('Anonymous', 'wpdisucz'); ?>" name="wc_anonymous" id="wc_anonymous" /></td>
97
  </tr>
98
+ <tr valign="top">
99
+ <th scope="row"><label for="wc_stick_main_form_comment_on"><?php _e('Stick this comment - (on)', 'wpdiscuz'); ?></label></th>
100
+ <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_stick_main_form_comment_on']) ? $this->optionsSerialized->phrases['wc_stick_main_form_comment_on'] : __('Stick this comment - (on)', 'wpdisucz'); ?>" name="wc_stick_main_form_comment_on" id="wc_stick_main_form_comment_on" /></td>
101
+ </tr>
102
+ <tr valign="top">
103
+ <th scope="row"><label for="wc_stick_main_form_comment_off"><?php _e('Stick this comment - (off)', 'wpdiscuz'); ?></label></th>
104
+ <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_stick_main_form_comment_off']) ? $this->optionsSerialized->phrases['wc_stick_main_form_comment_off'] : __('Stick this comment - (off)', 'wpdisucz'); ?>" name="wc_stick_main_form_comment_off" id="wc_stick_main_form_comment_off" /></td>
105
+ </tr>
106
+ <tr valign="top">
107
+ <th scope="row"><label for="wc_stick_comment"><?php _e('Stick', 'wpdiscuz'); ?></label></th>
108
+ <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_stick_comment']) ? $this->optionsSerialized->phrases['wc_stick_comment'] : __('Stick', 'wpdisucz'); ?>" name="wc_stick_comment" id="wc_stick_comment" /></td>
109
+ </tr>
110
+ <tr valign="top">
111
+ <th scope="row"><label for="wc_unstick_comment"><?php _e('Unstick', 'wpdiscuz'); ?></label></th>
112
+ <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_unstick_comment']) ? $this->optionsSerialized->phrases['wc_unstick_comment'] : __('Unstick', 'wpdisucz'); ?>" name="wc_unstick_comment" id="wc_unstick_comment" /></td>
113
+ </tr>
114
+ <tr valign="top">
115
+ <th scope="row"><label for="wc_sticky_comment_icon_title"><?php _e('Sticky comment icon title', 'wpdiscuz'); ?></label></th>
116
+ <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_sticky_comment_icon_title']) ? $this->optionsSerialized->phrases['wc_sticky_comment_icon_title'] : __('Sticky comment thread', 'wpdisucz'); ?>" name="wc_sticky_comment_icon_title" id="wc_sticky_comment_icon_title" /></td>
117
+ </tr>
118
  </tbody>
119
  </table>
120
  </div>
options/phrases-layouts/phrases-form.php CHANGED
@@ -19,6 +19,10 @@ if (!defined('ABSPATH')) {
19
  <th scope="row"><label for="wc_email_text"><?php _e('Email Field', 'wpdiscuz'); ?></label></th>
20
  <td colspan="3"><input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_email_text']; ?>" name="wc_email_text" id="wc_email_text" /></td>
21
  </tr>
 
 
 
 
22
  <tr valign="top">
23
  <th scope="row"><label for="wc_notify_of"><?php _e('Notify of', 'wpdiscuz'); ?></label></th>
24
  <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_notify_of']) ? $this->optionsSerialized->phrases['wc_notify_of'] : __('Notify of', 'wpdiscuz'); ?>" name="wc_notify_of" id="wc_notify_of" /></td>
@@ -32,8 +36,12 @@ if (!defined('ABSPATH')) {
32
  <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_notify_on_all_new_reply']) ? $this->optionsSerialized->phrases['wc_notify_on_all_new_reply'] : __('new replies to all my comments', 'wpdiscuz'); ?>" name="wc_notify_on_all_new_reply" id="wc_notify_on_all_new_reply" /></td>
33
  </tr>
34
  <tr valign="top">
35
- <th scope="row"><label for="wc_notify_on_new_reply"><?php _e('Notify on new replies (checkbox)', 'wpdiscuz'); ?></label></th>
36
- <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_notify_on_new_reply']) ? $this->optionsSerialized->phrases['wc_notify_on_new_reply'] : __('Notify of new replies to this comment', 'wpdiscuz'); ?>" name="wc_notify_on_new_reply" id="wc_notify_on_new_reply" /></td>
 
 
 
 
37
  </tr>
38
  <tr valign="top">
39
  <th scope="row"><label for="wc_sort_by"><?php _e('Sort by', 'wpdiscuz'); ?></label></th>
19
  <th scope="row"><label for="wc_email_text"><?php _e('Email Field', 'wpdiscuz'); ?></label></th>
20
  <td colspan="3"><input type="text" value="<?php echo $this->optionsSerialized->phrases['wc_email_text']; ?>" name="wc_email_text" id="wc_email_text" /></td>
21
  </tr>
22
+ <tr valign="top">
23
+ <th scope="row"><label for="wc_subscribe_anchor"><?php _e('Subscribe', 'wpdiscuz'); ?></label></th>
24
+ <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_subscribe_anchor']) ? $this->optionsSerialized->phrases['wc_subscribe_anchor'] : __('Subscribe', 'wpdiscuz'); ?>" name="wc_subscribe_anchor" id="wc_subscribe_anchor" /></td>
25
+ </tr>
26
  <tr valign="top">
27
  <th scope="row"><label for="wc_notify_of"><?php _e('Notify of', 'wpdiscuz'); ?></label></th>
28
  <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_notify_of']) ? $this->optionsSerialized->phrases['wc_notify_of'] : __('Notify of', 'wpdiscuz'); ?>" name="wc_notify_of" id="wc_notify_of" /></td>
36
  <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_notify_on_all_new_reply']) ? $this->optionsSerialized->phrases['wc_notify_on_all_new_reply'] : __('new replies to all my comments', 'wpdiscuz'); ?>" name="wc_notify_on_all_new_reply" id="wc_notify_on_all_new_reply" /></td>
37
  </tr>
38
  <tr valign="top">
39
+ <th scope="row"><label for="wc_notify_on_new_reply_on"><?php _e('Notify on new replies (checkbox) - On', 'wpdiscuz'); ?></label></th>
40
+ <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_notify_on_new_reply_on']) ? $this->optionsSerialized->phrases['wc_notify_on_new_reply_on'] : __('Notify of new replies to this comment - (on)', 'wpdiscuz'); ?>" name="wc_notify_on_new_reply_on" id="wc_notify_on_new_reply_on" /></td>
41
+ </tr>
42
+ <tr valign="top">
43
+ <th scope="row"><label for="wc_notify_on_new_reply_off"><?php _e('Notify on new replies (checkbox) - Off', 'wpdiscuz'); ?></label></th>
44
+ <td colspan="3"><input type="text" value="<?php echo isset($this->optionsSerialized->phrases['wc_notify_on_new_reply_off']) ? $this->optionsSerialized->phrases['wc_notify_on_new_reply_off'] : __('Notify of new replies to this comment - (off)', 'wpdiscuz'); ?>" name="wc_notify_on_new_reply_off" id="wc_notify_on_new_reply_off" /></td>
45
  </tr>
46
  <tr valign="top">
47
  <th scope="row"><label for="wc_sort_by"><?php _e('Sort by', 'wpdiscuz'); ?></label></th>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: gVectors Team
3
  Tags: comment, comments, ajax comments, custom comment form, custom comment field
4
  Requires at least: 4.4
5
  Tested up to: 4.9
6
- Stable tag: 4.1.4
7
  Requires PHP: 5.4 and higher
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -35,49 +35,51 @@ Integration with AntiSpam plugins
35
 
36
  = Comments - wpDiscuz "Coming soon" Features: =
37
 
38
- * | New Feature : Sticky comments
 
39
 
40
  = Comments - wpDiscuz Features: =
41
 
42
- * | Adds interactive comment box on posts and other content types
43
- * | Commenting can be allowed/disallowed on posts and other content types
44
- * | Responsive comments form and comment threads design
45
- * | Clean, simple and easy user interface and user experience
46
- * | Live update of new comments with notifier buttons
47
- * | Comment list sorting by newest, oldest and most voted comments
48
- * | Anonymous comments ( name and email can be set as not required )
49
- * | Full integration with Social Network Login plugins (Facebook, Twitter...)
50
- * | Multi-level (nested) comment threads, with maximum levels depth setting option
51
- * | Allows to create a new discussion thread and reply to existing comment
52
- * | Ajax button "Load More Comments" instead of simple comments pagination
53
- * | Lazy load wpDiscuz comments on scrolling
54
- * | Different comment date formats, reflects Wordpress date format settings
55
- * | Logged in users and guests can edit their comments (time-frame can be limited by admin)
56
- * | Automatic URLs to link conversion in comment texts
57
- * | Automatic image source URLs to image (HTML) conversion in comment texts
58
- * | Long comment text breaking function ("Read more" button)
59
- * | Multiple line-breaks (limited by Wordpress comment filter)
60
- * | Comment author notification options with special checkboxes on comment form
61
- * | Subscription activation via additional "Confirm Subscription" email
62
- * | Integration with Postmatic for subscriptions and commenting by email
63
- * | Ability to add comment system on attachment pages if it's allowed by Wordpress
64
- * | Fast and easy comment form with ajax validation and data submitting
65
- * | Fully integrated and compatible with Wordpress
66
- * | Uses Wordpress Comment system with all managing functions and features
67
- * | Secure and Anti-Spam features will not allow spammers to comment
68
- * | Comment voting with positive and negative result
69
- * | Smart voting system with tracking by logged-in user and cookies
70
- * | Post sharing options: Facebook, Twitter and Google+
71
- * | Quick Tags on comment form textarea
72
- * | Custom Comment Forms with custom fields
73
- * | Rating shortcode for posts via comment custom field [wpdrating] with a lot of attributes
74
- * | Option to overwrite comment template and style
75
- * | Highlighting new comments since last visit with different background
76
- * | Notification to comment author when comment was approved
77
- * | Display only parent comments with view replies (x) button
78
- * | Control commenters by roles (allow/restrict access to website comment area)
79
- * | Option to load all comments on first page load
80
- * | Built-in Gravatar caching
 
81
 
82
 
83
  = Add-ons =
@@ -98,6 +100,7 @@ Integration with AntiSpam plugins
98
  * | [wpDiscuz - Advanced Likers](https://gvectors.com/product/wpdiscuz-advanced-likers/)
99
  * | [wpDiscuz - Comments Censure](https://gvectors.com/product/comments-censure-pro/)
100
  * | [wpDiscuz - Online Users](https://gvectors.com/product/wpdiscuz-online-users/)
 
101
 
102
 
103
  This comment system is also available for WooCommerce, Plugin name is WooDiscuz – WooCommerce Comments:
@@ -160,30 +163,53 @@ Nothing will be lost! **Comments - wpDiscuz** will show all old comments.
160
 
161
  == Screenshots ==
162
 
163
- 1. Comment list for non-logged in user | Screenshot #1
164
- 2. Custom comment form and submitted comment with custom fields and rating | Screenshot #2
165
- 3. Custom comment form creator user interface | Screenshot #3
166
- 4. Comment form custom fields | Screenshot #4
167
- 5. Comment form custom fields options | Screenshot #5
168
- 6. Custom comment forms list | Screenshot #6
169
  7. wpDiscuz Settings | Screenshot #7
170
- 8. wpDiscuz Comment form with "Media Uploader", "Emoticons" and "Comment Search" pro addons | Screenshot #8
171
- 9. wpDiscuz Addon List | Screenshot #9
172
 
173
  == Changelog ==
174
 
175
- = Comments - wpDiscuz v4.1.4 =
176
-
177
- * Changed : Loadin bar style
178
- * Fixed Bug : Avatars caching table creation issue
179
-
180
- IMPORTANT:
181
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  - If you have JetPack installed please deactivate Jetpack comments, it affects wpDiscuz
183
  - If you have a Cache Plugin, please delete all caches after wpDiscuz update.
184
  - If you use CDN and found some issue please purge it.
185
  - If your server PHP version is lower than 5.4, [please change it to hogher](https://wordpress.org/support/topic/wpdiscuz-4-requires-php-5-4-and-higher/)
186
 
 
 
 
 
 
 
187
  = Comments - wpDiscuz v4.1.3 =
188
 
189
  * Added : Built-in Gravatar caching
3
  Tags: comment, comments, ajax comments, custom comment form, custom comment field
4
  Requires at least: 4.4
5
  Tested up to: 4.9
6
+ Stable tag: 5.0.0
7
  Requires PHP: 5.4 and higher
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
35
 
36
  = Comments - wpDiscuz "Coming soon" Features: =
37
 
38
+ * New Feature : Social Login
39
+ * New Feature : Follow Users
40
 
41
  = Comments - wpDiscuz Features: =
42
 
43
+ * Adds interactive comment box on posts and other content types
44
+ * Commenting can be allowed/disallowed on posts and other content types
45
+ * Responsive comments form and comment threads design
46
+ * Clean, simple and easy user interface and user experience
47
+ * Live update of new comments with notifier buttons
48
+ * Comment list sorting by newest, oldest and most voted comments
49
+ * Anonymous comments ( name and email can be set as not required )
50
+ * Full integration with Social Network Login plugins (Facebook, Twitter...)
51
+ * Multi-level (nested) comment threads, with maximum levels depth setting option
52
+ * Allows to create a new discussion thread and reply to existing comment
53
+ * Ajax button "Load More Comments" instead of simple comments pagination
54
+ * Lazy load wpDiscuz comments on scrolling
55
+ * Different comment date formats, reflects Wordpress date format settings
56
+ * Logged in users and guests can edit their comments (time-frame can be limited by admin)
57
+ * Automatic URLs to link conversion in comment texts
58
+ * Automatic image source URLs to image (HTML) conversion in comment texts
59
+ * Long comment text breaking function ("Read more" button)
60
+ * Multiple line-breaks (limited by Wordpress comment filter)
61
+ * Comment author notification options with special checkboxes on comment form
62
+ * Subscription activation via additional "Confirm Subscription" email
63
+ * Integration with Postmatic for subscriptions and commenting by email
64
+ * Ability to add comment system on attachment pages if it's allowed by Wordpress
65
+ * Fast and easy comment form with ajax validation and data submitting
66
+ * Fully integrated and compatible with Wordpress
67
+ * Uses Wordpress Comment system with all managing functions and features
68
+ * Secure and Anti-Spam features will not allow spammers to comment
69
+ * Comment voting with positive and negative result
70
+ * Smart voting system with tracking by logged-in user and cookies
71
+ * Post sharing options: Facebook, Twitter and Google+
72
+ * Quick Tags on comment form textarea
73
+ * Custom Comment Forms with custom fields
74
+ * Rating shortcode for posts via comment custom field [wpdrating] with a lot of attributes
75
+ * Option to overwrite comment template and style
76
+ * Highlighting new comments since last visit with different background
77
+ * Notification to comment author when comment was approved
78
+ * Display only parent comments with view replies (x) button
79
+ * Control commenters by roles (allow/restrict access to website comment area)
80
+ * Option to load all comments on first page load
81
+ * Built-in Gravatar caching
82
+ * Sticky Comments
83
 
84
 
85
  = Add-ons =
100
  * | [wpDiscuz - Advanced Likers](https://gvectors.com/product/wpdiscuz-advanced-likers/)
101
  * | [wpDiscuz - Comments Censure](https://gvectors.com/product/comments-censure-pro/)
102
  * | [wpDiscuz - Online Users](https://gvectors.com/product/wpdiscuz-online-users/)
103
+ * | [wpDiscuz - Private Comments](https://gvectors.com/product/wpdiscuz-private-comments/)
104
 
105
 
106
  This comment system is also available for WooCommerce, Plugin name is WooDiscuz – WooCommerce Comments:
163
 
164
  == Screenshots ==
165
 
166
+ 1. wpDiscuz Comments - Default Style | Screenshot #1
167
+ 2. wpDiscuz Comments - Dark Style | Screenshot #2
168
+ 3. wpDiscuz Comments - Reply Form | Screenshot #3
169
+ 4. wpDiscuz Comments - Sticky Comment | Screenshot #4
170
+ 5. Custom comment form and submitted comment with custom fields and rating | Screenshot #5
171
+ 6. Custom comment form creator user interface | Screenshot #6
172
  7. wpDiscuz Settings | Screenshot #7
 
 
173
 
174
  == Changelog ==
175
 
176
+ = Comments - wpDiscuz v5.0.0 =
177
+
178
+ * Added : New Look and Feel
179
+ * Added : Redesigned Comment List and Comment Form
180
+ * Added : Better responsive design
181
+ * Added : Default and Dark styles (Settings > Styling admin page)
182
+ * Added : Admin settings and options page is redesigned, re-grouped.
183
+ * Added : Sticky comment threads
184
+ * Added : New filter to see sticky comments in backend
185
+ * Added : Option to change voting buttons (arrows, likes, =/- ans smiles)
186
+ * Added : Option to hide comment date
187
+ * Changed : Loading bar new style
188
+ * Changed : Hide loading bar on live update requests
189
+ * New Addon: [wpDiscuz Private Comments](https://gvectors.com/product/wpdiscuz-private-comments/)
190
+ * Fixed Bug : "+" symbol in comment author name
191
+ * Fixed Bug : Issues on Microsoft Edge browser
192
+ * Fixed Bug : Missing Reply button on some comments
193
+ * Fixed Bug : View/Hide replies translation issue
194
+ * Fixed Bug : WP User Avatar plugin conflict
195
+ * Fixed Bug : Replies are not showing after page refresh
196
+
197
+
198
+ IMPORTANT!!!
199
+
200
+ - Please update all addons once the wpDiscuz is updated to 5 version. Old addons are not compatible with wpDiscuz 5.
201
+ - If you have customized wpDiscuz CSS or comment walker php file in WordPress theme folder please remove those. wpDiscuz 5.0.0 version doesn't support old template files.
202
  - If you have JetPack installed please deactivate Jetpack comments, it affects wpDiscuz
203
  - If you have a Cache Plugin, please delete all caches after wpDiscuz update.
204
  - If you use CDN and found some issue please purge it.
205
  - If your server PHP version is lower than 5.4, [please change it to hogher](https://wordpress.org/support/topic/wpdiscuz-4-requires-php-5-4-and-higher/)
206
 
207
+
208
+ = Comments - wpDiscuz v4.1.4 =
209
+
210
+ * Changed : Loadin bar style
211
+ * Fixed Bug : Avatars caching table creation issue
212
+
213
  = Comments - wpDiscuz v4.1.3 =
214
 
215
  * Added : Built-in Gravatar caching
templates/comment/class.WpdiscuzWalker.php CHANGED
@@ -29,7 +29,12 @@ class WpdiscuzWalker extends Walker_Comment implements WpDiscuzConstants {
29
  $depth = isset($args['addComment']) ? $args['addComment'] : $depth;
30
  $uniqueId = $comment->comment_ID . '_' . $comment->comment_parent;
31
  $commentContent = $comment->comment_content;
32
- $commentWrapperClass = '';
 
 
 
 
 
33
  $commentContent = apply_filters('wpdiscuz_before_comment_text', $commentContent, $comment);
34
  if ($this->optionsSerialized->enableImageConversion) {
35
  $commentContent = $this->helper->makeClickable($commentContent);
@@ -58,9 +63,9 @@ class WpdiscuzWalker extends Walker_Comment implements WpDiscuzConstants {
58
  $rootComment = $this->optimizationHelper->getCommentRoot($comment->comment_parent);
59
  }
60
  if (isset($args['new_loaded_class'])) {
61
- $commentWrapperClass .= $args['new_loaded_class'] . ' ';
62
  if ($args['isSingle']) {
63
- $commentWrapperClass .= ' wpdiscuz_single ';
64
  } else {
65
  $depth = $this->optimizationHelper->getCommentDepth($comment->comment_ID);
66
  }
@@ -78,7 +83,7 @@ class WpdiscuzWalker extends Walker_Comment implements WpDiscuzConstants {
78
 
79
  $commentTime = strtotime($comment->comment_date);
80
  if ($lastVisitForPost && $commentTime > $lastVisitForPost && $storedCookieEmail != $comment->comment_author_email) {
81
- $commentWrapperClass .= ' wc-new-loaded-comment ';
82
  }
83
  }
84
 
@@ -134,20 +139,23 @@ class WpdiscuzWalker extends Walker_Comment implements WpDiscuzConstants {
134
  $author_title = $this->optionsSerialized->phrases['wc_blog_role_guest'];
135
  }
136
 
137
- if ($this->optionsSerialized->simpleCommentDate) {
138
- $dateFormat = $this->optionsSerialized->wordpressDateFormat;
139
- $timeFormat = $this->optionsSerialized->wordpressTimeFormat;
140
- $posted_date = get_comment_date($dateFormat . ' ' . $timeFormat, $comment->comment_ID);
141
- } else {
142
- $posted_date = $this->helper->dateDiff(time(), strtotime($comment->comment_date_gmt), 2);
 
 
 
143
  }
144
 
145
  $replyText = $this->optionsSerialized->phrases['wc_reply_text'];
146
  $shareText = $this->optionsSerialized->phrases['wc_share_text'];
147
  if (isset($rootComment) && $rootComment->comment_approved != 1) {
148
- $commentWrapperClass .= ' wc-comment ';
149
  } else {
150
- $commentWrapperClass .= ($comment->comment_parent && $this->optionsSerialized->wordpressThreadComments) ? ' wc-comment wc-reply ' : ' wc-comment ';
151
  }
152
 
153
  $authorName = apply_filters('wpdiscuz_comment_author', $authorName, $comment);
@@ -163,7 +171,7 @@ class WpdiscuzWalker extends Walker_Comment implements WpDiscuzConstants {
163
  $authorAvatar = $this->optionsSerialized->wordpressShowAvatars ? get_avatar($authorAvatarField, $gravatarSize, '', $authorName, $gravatarArgs) : '';
164
  $trackOrPingback = $comment->comment_type == 'pingback' || $comment->comment_type == 'trackback' ? true : false;
165
  if ($trackOrPingback) {
166
- $authorAvatar = '<img class="avatar avatar-64 photo" width="64" height="64" src="' . plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/trackback.png') . '" alt="trackback">';
167
  }
168
 
169
  if ($profileUrl && !$this->optionsSerialized->disableProfileURLs) {
@@ -192,14 +200,20 @@ class WpdiscuzWalker extends Walker_Comment implements WpDiscuzConstants {
192
  }
193
 
194
  $hasChildren = isset($args['wpdiscuz_root_comment_' . $comment->comment_ID]) ? $args['wpdiscuz_root_comment_' . $comment->comment_ID] : '';
195
- $commentWrapperClass .= $hasChildren;
 
 
 
 
 
 
196
 
197
  $commentContentClass = '';
198
  // begin printing comment template
199
- $output .= '<div id="wc-comm-' . $uniqueId . '" class="' . $commentWrapperClass . ' ' . $authorClass . ' wc_comment_level-' . $depth . '">';
200
  if ($this->optionsSerialized->wordpressShowAvatars) {
201
  $commentLeftClass = apply_filters('wpdiscuz_comment_left_class', '');
202
- $output .= '<div class="wc-comment-left ' . $commentLeftClass . '">' . $commentAuthorAvatar;
203
  if (!$this->optionsSerialized->authorTitlesShowHide && !$trackOrPingback) {
204
  $author_title = apply_filters('wpdiscuz_author_title', $author_title, $comment);
205
  $output .= '<div class="' . $authorClass . ' wc-comment-label">' . '<span>' . $author_title . '</span>' . '</div>';
@@ -217,6 +231,11 @@ class WpdiscuzWalker extends Walker_Comment implements WpDiscuzConstants {
217
  $output .= '<div class="wc-comment-author ' . $uNameClasses . '">' . $authorName . $afterCommentAuthorName . '</div>';
218
 
219
  $output .= '<div class="wc-comment-link">';
 
 
 
 
 
220
  if ($this->optionsSerialized->shareButtons) {
221
  $output .= '<i class="fa fa-share-alt wc-share-link wpf-cta" aria-hidden="true" title="' . $shareText . '" ></i>';
222
  $commentLinkLength = strlen($commentLink);
@@ -248,6 +267,7 @@ class WpdiscuzWalker extends Walker_Comment implements WpDiscuzConstants {
248
  $output .= '</div>';
249
  $output .= '<div class="wpdiscuz_clear"></div>';
250
  $output .= '</div>';
 
251
  $output .= apply_filters('wpdiscuz_comment_text', '<div class="wc-comment-text">' . $commentContent . '</div>', $comment, $args);
252
  $output = apply_filters('wpdiscuz_after_comment_text', $output, $comment);
253
  if (isset($args['comment_status']) && is_array($args['comment_status']) && in_array($comment->comment_approved, $args['comment_status'])) {
@@ -264,13 +284,13 @@ class WpdiscuzWalker extends Walker_Comment implements WpDiscuzConstants {
264
  $dislike = isset($votesArr[1]) ? intval($votesArr[1]) : 0;
265
  }
266
  $output .= '<span class="wc-vote-link wc-up wc-separate ' . $voteClass . '">';
267
- $voteFaUpImg = '<i class="fa fa-thumbs-up fa-flip-horizontal wc-vote-img-up"></i><span>' . $voteUp . '</span>';
268
  $output .= apply_filters('wpdiscuz_vote_up_icon', $voteFaUpImg, $comment, $currentUser);
269
  $output .= '</span>';
270
  $output .= '<span class="wc-vote-result wc-vote-result-like' . (($like) ? ' wc-positive' : '') . '">' . $like . '</span>';
271
  $output .= '<span class="wc-vote-result wc-vote-result-dislike' . (($dislike) ? ' wc-negative' : '') . '">' . $dislike . '</span>';
272
  $output .= '<span class="wc-vote-link wc-down wc-separate' . $voteClass . '">';
273
- $voteFaDownImg = '<i class="fa fa-thumbs-down wc-vote-img-down"></i><span>' . $voteDown . '</span>';
274
  $output .= apply_filters('wpdiscuz_vote_down_icon', $voteFaDownImg, $comment, $currentUser);
275
  $output .= '</span>';
276
  $output = apply_filters('wpdiscuz_voters', $output, $uniqueId, $comment, $user, $currentUser);
@@ -278,12 +298,12 @@ class WpdiscuzWalker extends Walker_Comment implements WpDiscuzConstants {
278
  $voteCount = get_comment_meta($comment->comment_ID, WpdiscuzCore::META_KEY_VOTES, true);
279
  $output = apply_filters('wpdiscuz_voters', $output, $uniqueId, $comment, $user, $currentUser);
280
  $output .= '<span class="wc-vote-link wc-up ' . $voteClass . '">';
281
- $voteFaUpImg = '<i class="fa fa-thumbs-up fa-flip-horizontal wc-vote-img-up"></i><span>' . $voteUp . '</span>';
282
  $output .= apply_filters('wpdiscuz_vote_up_icon', $voteFaUpImg, $comment, $currentUser);
283
  $output .= '</span>';
284
  $output .= '<span class="wc-vote-result">' . intval($voteCount) . '</span>';
285
  $output .= '<span class="wc-vote-link wc-down ' . $voteClass . '">';
286
- $voteFaDownImg = '<i class="fa fa-thumbs-down wc-vote-img-down"></i><span>' . $voteDown . '</span>';
287
  $output .= apply_filters('wpdiscuz_vote_down_icon', $voteFaDownImg, $comment, $currentUser);
288
  $output .= '</span>&nbsp;';
289
  }
@@ -324,21 +344,25 @@ class WpdiscuzWalker extends Walker_Comment implements WpDiscuzConstants {
324
 
325
  $output = apply_filters('wpdiscuz_comment_buttons', $output, $comment, $user, $currentUser);
326
 
 
 
 
 
327
  $output .= '</div>';
328
  $output .= '<div class="wc-footer-right">';
329
 
330
- $output .= '<div class="wc-comment-date"><i class="fa fa-clock-o" aria-hidden="true"></i>' . $posted_date . '</div>';
331
-
 
332
  if ($depth < $this->optionsSerialized->wordpressThreadCommentsDepth && $this->optionsSerialized->wordpressThreadComments) {
333
  $chevron = '';
334
  $output .= '<div class="wc-toggle">';
335
  if ($hasChildren) {
336
- $childCount = isset($args['wpdiscuz_child_count_' . $comment->comment_ID]) ? $args['wpdiscuz_child_count_' . $comment->comment_ID] : 0;
337
  $hideChildCountClass = isset($args['wpdiscuz_hide_child_count_' . $comment->comment_ID]) ? $args['wpdiscuz_hide_child_count_' . $comment->comment_ID] : '';
338
- if ($childCount) {
339
- $showRepliesLink = isset($args['showRepliesLink_' . $comment->comment_ID]) ? $args['showRepliesLink_' . $comment->comment_ID] : '';
340
- $chevron = '<a href="' . $showRepliesLink . '" style="color:#999;" title="' . $this->optionsSerialized->phrases['wc_show_replies_text'] . '">';
341
- $chevron .= '<span class="wcsep">|</span> <span class="wpdiscuz-children ' . $hideChildCountClass . '"><span class="wpdiscuz-children-button-text">' . __('view replies', 'wpdiscuz') . '</span> (<span class="wpdiscuz-children-count">' . $childCount . '</span>)</span> ';
342
  $chevron .= '<i class="fa fa-chevron-down wpdiscuz-show-replies"></i>';
343
  $chevron .= '</a>';
344
  } else {
29
  $depth = isset($args['addComment']) ? $args['addComment'] : $depth;
30
  $uniqueId = $comment->comment_ID . '_' . $comment->comment_parent;
31
  $commentContent = $comment->comment_content;
32
+ $commentWrapperClass = array();
33
+ $isSticky = $comment->comment_type == self::WPDISCUZ_STICKY_COMMENT;
34
+ if ($isSticky) {
35
+ $commentWrapperClass[] = 'wc-sticky-comment';
36
+ }
37
+
38
  $commentContent = apply_filters('wpdiscuz_before_comment_text', $commentContent, $comment);
39
  if ($this->optionsSerialized->enableImageConversion) {
40
  $commentContent = $this->helper->makeClickable($commentContent);
63
  $rootComment = $this->optimizationHelper->getCommentRoot($comment->comment_parent);
64
  }
65
  if (isset($args['new_loaded_class'])) {
66
+ $commentWrapperClass[] = $args['new_loaded_class'];
67
  if ($args['isSingle']) {
68
+ $commentWrapperClass[] = 'wpdiscuz_single';
69
  } else {
70
  $depth = $this->optimizationHelper->getCommentDepth($comment->comment_ID);
71
  }
83
 
84
  $commentTime = strtotime($comment->comment_date);
85
  if ($lastVisitForPost && $commentTime > $lastVisitForPost && $storedCookieEmail != $comment->comment_author_email) {
86
+ $commentWrapperClass[] = 'wc-new-loaded-comment';
87
  }
88
  }
89
 
139
  $author_title = $this->optionsSerialized->phrases['wc_blog_role_guest'];
140
  }
141
 
142
+ $postedDate = '';
143
+ if (!$this->optionsSerialized->hideCommentDate) {
144
+ if ($this->optionsSerialized->simpleCommentDate) {
145
+ $dateFormat = $this->optionsSerialized->wordpressDateFormat;
146
+ $timeFormat = $this->optionsSerialized->wordpressTimeFormat;
147
+ $postedDate = get_comment_date($dateFormat . ' ' . $timeFormat, $comment->comment_ID);
148
+ } else {
149
+ $postedDate = $this->helper->dateDiff(time(), strtotime($comment->comment_date_gmt), 1);
150
+ }
151
  }
152
 
153
  $replyText = $this->optionsSerialized->phrases['wc_reply_text'];
154
  $shareText = $this->optionsSerialized->phrases['wc_share_text'];
155
  if (isset($rootComment) && $rootComment->comment_approved != 1) {
156
+ $commentWrapperClass[] = 'wc-comment';
157
  } else {
158
+ $commentWrapperClass[] = ($comment->comment_parent && $this->optionsSerialized->wordpressThreadComments) ? 'wc-comment wc-reply' : 'wc-comment';
159
  }
160
 
161
  $authorName = apply_filters('wpdiscuz_comment_author', $authorName, $comment);
171
  $authorAvatar = $this->optionsSerialized->wordpressShowAvatars ? get_avatar($authorAvatarField, $gravatarSize, '', $authorName, $gravatarArgs) : '';
172
  $trackOrPingback = $comment->comment_type == 'pingback' || $comment->comment_type == 'trackback' ? true : false;
173
  if ($trackOrPingback) {
174
+ $authorAvatar = '<img class="avatar avatar-' . $gravatarSize . ' photo" width="' . $gravatarSize . '" height="' . $gravatarSize . '" src="' . plugins_url(WPDISCUZ_DIR_NAME . '/assets/img/trackback.png') . '" alt="trackback">';
175
  }
176
 
177
  if ($profileUrl && !$this->optionsSerialized->disableProfileURLs) {
200
  }
201
 
202
  $hasChildren = isset($args['wpdiscuz_root_comment_' . $comment->comment_ID]) ? $args['wpdiscuz_root_comment_' . $comment->comment_ID] : '';
203
+ if ($hasChildren) {
204
+ $commentWrapperClass[] = $hasChildren;
205
+ }
206
+ $commentWrapperClass[] = $authorClass;
207
+ $commentWrapperClass[] = 'wc_comment_level-' . $depth;
208
+ $commentWrapperClass = apply_filters('wpdiscuz_comment_wrap_classes', $commentWrapperClass, $comment);
209
+ $wrapperClass = implode(' ', $commentWrapperClass);
210
 
211
  $commentContentClass = '';
212
  // begin printing comment template
213
+ $output .= '<div id="wc-comm-' . $uniqueId . '" class="' . $wrapperClass . '">';
214
  if ($this->optionsSerialized->wordpressShowAvatars) {
215
  $commentLeftClass = apply_filters('wpdiscuz_comment_left_class', '');
216
+ $output .= '<div class="wc-comment-left ' . $commentLeftClass . '"><div class="wpd-xborder"></div>' . $commentAuthorAvatar;
217
  if (!$this->optionsSerialized->authorTitlesShowHide && !$trackOrPingback) {
218
  $author_title = apply_filters('wpdiscuz_author_title', $author_title, $comment);
219
  $output .= '<div class="' . $authorClass . ' wc-comment-label">' . '<span>' . $author_title . '</span>' . '</div>';
231
  $output .= '<div class="wc-comment-author ' . $uNameClasses . '">' . $authorName . $afterCommentAuthorName . '</div>';
232
 
233
  $output .= '<div class="wc-comment-link">';
234
+ if ($isSticky) {
235
+ $output .= '<i class="fa fa-thumb-tack wpd-sticky" aria-hidden="true" title="' . $this->optionsSerialized->phrases['wc_sticky_comment_icon_title'] . '"></i>';
236
+ }
237
+
238
+ $output .= apply_filters('wpdiscuz_comment_type_icon', '', $comment, $user, $currentUser);
239
  if ($this->optionsSerialized->shareButtons) {
240
  $output .= '<i class="fa fa-share-alt wc-share-link wpf-cta" aria-hidden="true" title="' . $shareText . '" ></i>';
241
  $commentLinkLength = strlen($commentLink);
267
  $output .= '</div>';
268
  $output .= '<div class="wpdiscuz_clear"></div>';
269
  $output .= '</div>';
270
+
271
  $output .= apply_filters('wpdiscuz_comment_text', '<div class="wc-comment-text">' . $commentContent . '</div>', $comment, $args);
272
  $output = apply_filters('wpdiscuz_after_comment_text', $output, $comment);
273
  if (isset($args['comment_status']) && is_array($args['comment_status']) && in_array($comment->comment_approved, $args['comment_status'])) {
284
  $dislike = isset($votesArr[1]) ? intval($votesArr[1]) : 0;
285
  }
286
  $output .= '<span class="wc-vote-link wc-up wc-separate ' . $voteClass . '">';
287
+ $voteFaUpImg = '<i class="fa ' . $args['voting_icons']['like'] . ' wc-vote-img-up"></i><span>' . $voteUp . '</span>';
288
  $output .= apply_filters('wpdiscuz_vote_up_icon', $voteFaUpImg, $comment, $currentUser);
289
  $output .= '</span>';
290
  $output .= '<span class="wc-vote-result wc-vote-result-like' . (($like) ? ' wc-positive' : '') . '">' . $like . '</span>';
291
  $output .= '<span class="wc-vote-result wc-vote-result-dislike' . (($dislike) ? ' wc-negative' : '') . '">' . $dislike . '</span>';
292
  $output .= '<span class="wc-vote-link wc-down wc-separate' . $voteClass . '">';
293
+ $voteFaDownImg = '<i class="fa ' . $args['voting_icons']['dislike'] . ' wc-vote-img-down"></i><span>' . $voteDown . '</span>';
294
  $output .= apply_filters('wpdiscuz_vote_down_icon', $voteFaDownImg, $comment, $currentUser);
295
  $output .= '</span>';
296
  $output = apply_filters('wpdiscuz_voters', $output, $uniqueId, $comment, $user, $currentUser);
298
  $voteCount = get_comment_meta($comment->comment_ID, WpdiscuzCore::META_KEY_VOTES, true);
299
  $output = apply_filters('wpdiscuz_voters', $output, $uniqueId, $comment, $user, $currentUser);
300
  $output .= '<span class="wc-vote-link wc-up ' . $voteClass . '">';
301
+ $voteFaUpImg = '<i class="fa ' . $args['voting_icons']['like'] . ' wc-vote-img-up"></i><span>' . $voteUp . '</span>';
302
  $output .= apply_filters('wpdiscuz_vote_up_icon', $voteFaUpImg, $comment, $currentUser);
303
  $output .= '</span>';
304
  $output .= '<span class="wc-vote-result">' . intval($voteCount) . '</span>';
305
  $output .= '<span class="wc-vote-link wc-down ' . $voteClass . '">';
306
+ $voteFaDownImg = '<i class="fa ' . $args['voting_icons']['dislike'] . ' wc-vote-img-down"></i><span>' . $voteDown . '</span>';
307
  $output .= apply_filters('wpdiscuz_vote_down_icon', $voteFaDownImg, $comment, $currentUser);
308
  $output .= '</span>&nbsp;';
309
  }
344
 
345
  $output = apply_filters('wpdiscuz_comment_buttons', $output, $comment, $user, $currentUser);
346
 
347
+ if (current_user_can('moderate_comments') && !$comment->comment_parent) {
348
+ $stickText = $isSticky ? $this->optionsSerialized->phrases['wc_unstick_comment'] : $this->optionsSerialized->phrases['wc_stick_comment'];
349
+ $output .= '<span class="wc_stick_btn wc-cta-button"><i class="fa fa-thumb-tack"></i><span class="wc_stick_text">' . $stickText . '</span></span>';
350
+ }
351
  $output .= '</div>';
352
  $output .= '<div class="wc-footer-right">';
353
 
354
+ if (!$this->optionsSerialized->hideCommentDate) {
355
+ $output .= '<div class="wc-comment-date"><i class="fa fa-clock-o" aria-hidden="true"></i>' . $postedDate . '</div>';
356
+ }
357
  if ($depth < $this->optionsSerialized->wordpressThreadCommentsDepth && $this->optionsSerialized->wordpressThreadComments) {
358
  $chevron = '';
359
  $output .= '<div class="wc-toggle">';
360
  if ($hasChildren) {
361
+ $countChildren = isset($args['wpdiscuz_child_count_' . $comment->comment_ID]) ? $args['wpdiscuz_child_count_' . $comment->comment_ID] : 0;
362
  $hideChildCountClass = isset($args['wpdiscuz_hide_child_count_' . $comment->comment_ID]) ? $args['wpdiscuz_hide_child_count_' . $comment->comment_ID] : '';
363
+ if ($countChildren) {
364
+ $chevron = '<a href="#" title="' . $this->optionsSerialized->phrases['wc_show_replies_text'] . '">';
365
+ $chevron .= '<span class="wcsep">|</span> <span class="wpdiscuz-children ' . $hideChildCountClass . '"><span class="wpdiscuz-children-button-text">' . $this->optionsSerialized->phrases['wc_show_replies_text'] . '</span> (<span class="wpdiscuz-children-count">' . $countChildren . '</span>)</span> ';
 
366
  $chevron .= '<i class="fa fa-chevron-down wpdiscuz-show-replies"></i>';
367
  $chevron .= '</a>';
368
  } else {
templates/comment/comment-form.php CHANGED
@@ -2,8 +2,8 @@
2
  if (!defined('ABSPATH')) {
3
  exit();
4
  }
5
- global $wpdiscuz, $post;
6
-
7
  if (!function_exists('wpdiscuz_close_divs')) {
8
 
9
  function wpdiscuz_close_divs($html) {
@@ -31,9 +31,16 @@ if (!post_password_required($post->ID)) {
31
  $header_text .= ' ' . $wpdiscuz->optionsSerialized->phrases['wc_header_on_text'];
32
  $header_text .= ' "' . get_the_title($post) . '"';
33
 
34
- $wpCommClasses = $currentUser && $currentUser->ID ? 'wpdiscuz_auth' : 'wpdiscuz_unauth';
35
- $wpCommClasses .= $wpdiscuz->optionsSerialized->wordpressShowAvatars ? '' : ' wpdiscuz_no_avatar';
 
 
 
 
 
36
 
 
 
37
  $ob_stat = ini_get('output_buffering');
38
  if ($ob_stat || $ob_stat === '' || $ob_stat == '0') {
39
  $wc_ob_allowed = true;
@@ -70,7 +77,7 @@ if (!post_password_required($post->ID)) {
70
  if ($_GET['subscriptionSuccess'] == -1) {
71
  $subscriptionMsg = __('Unable to send an email', 'wpdiscuz');
72
  } elseif (!$_GET['subscriptionSuccess']) {
73
- $subscriptionMsg = __('Subscription not successed', 'wpdiscuz');
74
  } else {
75
  if (isset($_GET['subscriptionID']) && ($subscriptionID = trim($_GET['subscriptionID']))) {
76
  $noNeedMemberConfirm = ($currentUser->ID && $wpdiscuz->optionsSerialized->disableMemberConfirm);
@@ -97,6 +104,7 @@ if (!post_password_required($post->ID)) {
97
  $wpdiscuz->helper->superSocializerFix();
98
  $form = $wpdiscuz->wpdiscuzForm->getForm($post->ID);
99
  $formCustomCss = $form->getCustomCSS();
 
100
  if ($formCustomCss) {
101
  echo '<style type="text/css">' . $formCustomCss . '</style>';
102
  }
@@ -142,59 +150,6 @@ if (!post_password_required($post->ID)) {
142
  </div>
143
  <?php
144
  $isPostmaticActive = !class_exists('Prompt_Comment_Form_Handling') || (class_exists('Prompt_Comment_Form_Handling') && !$wpdiscuz->optionsSerialized->usePostmaticForCommentNotification);
145
- if ($form->isShowSubscriptionBar() && $isPostmaticActive) {
146
- $wpdiscuz->subscriptionData = $wpdiscuz->dbManager->hasSubscription($post->ID, $currentUser->user_email);
147
- $subscriptionType = null;
148
- if ($wpdiscuz->subscriptionData) {
149
- $isConfirmed = $wpdiscuz->subscriptionData['confirm'];
150
- $subscriptionType = $wpdiscuz->subscriptionData['type'];
151
- if ($subscriptionType == WpdiscuzCore::SUBSCRIPTION_POST || $subscriptionType == WpdiscuzCore::SUBSCRIPTION_ALL_COMMENT) {
152
- $unsubscribeLink = $wpdiscuz->dbManager->unsubscribeLink($post->ID, $currentUser->user_email);
153
- }
154
- }
155
- ?>
156
- <div class="wpdiscuz-subscribe-bar">
157
- <?php
158
- if ($subscriptionType != WpdiscuzCore::SUBSCRIPTION_POST) {
159
- ?>
160
- <form action="<?php echo admin_url('admin-ajax.php') . '?action=addSubscription'; ?>" method="post" id="wpdiscuz-subscribe-form">
161
- <div class="wpdiscuz-subscribe-form-intro"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_of']; ?> </div>
162
- <div class="wpdiscuz-subscribe-form-option" style="width:<?php echo (!$currentUser->ID) ? '40%' : '65%'; ?>;">
163
- <select class="wpdiscuz_select" name="wpdiscuzSubscriptionType" >
164
- <?php if ($wpdiscuz->optionsSerialized->subscriptionType != 3) { ?>
165
- <option value="<?php echo WpdiscuzCore::SUBSCRIPTION_POST; ?>"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_on_new_comment']; ?></option>
166
- <?php } ?>
167
- <?php if ($wpdiscuz->optionsSerialized->subscriptionType != 2) { ?>
168
- <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>
169
- <?php } ?>
170
- </select>
171
- </div>
172
- <?php if (!$currentUser->ID) { ?>
173
- <div class="wpdiscuz-item wpdiscuz-subscribe-form-email">
174
- <input class="email" type="email" name="wpdiscuzSubscriptionEmail" required="required" value="" placeholder="<?php echo $wpdiscuz->optionsSerialized->phrases['wc_email_text']; ?>"/>
175
- </div>
176
- <?php } ?>
177
- <div class="wpdiscuz-subscribe-form-button">
178
- <input id="wpdiscuz_subscription_button" type="submit" value="<?php echo $wpdiscuz->optionsSerialized->phrases['wc_form_subscription_submit']; ?>" name="wpdiscuz_subscription_button" />
179
- </div>
180
- <?php wp_nonce_field('wpdiscuz_subscribe_form_nonce_action', 'wpdiscuz_subscribe_form_nonce'); ?>
181
- <input type="hidden" value="<?php echo $post->ID; ?>" name="wpdiscuzSubscriptionPostId" />
182
- </form>
183
- <?php } ?>
184
- <div class="wpdiscuz_clear"></div>
185
- <?php
186
- if (isset($unsubscribeLink)) {
187
- $subscribeMessage = $isConfirmed ? $wpdiscuz->optionsSerialized->phrases['wc_unsubscribe'] : $wpdiscuz->optionsSerialized->phrases['wc_ignore_subscription'];
188
- if ($subscriptionType == 'all_comment')
189
- $introText = $wpdiscuz->optionsSerialized->phrases['wc_subscribed_to'] . ' ' . $wpdiscuz->optionsSerialized->phrases['wc_notify_on_all_new_reply'];
190
- elseif ($subscriptionType == 'post')
191
- $introText = $wpdiscuz->optionsSerialized->phrases['wc_subscribed_to'] . ' ' . $wpdiscuz->optionsSerialized->phrases['wc_notify_on_new_comment'];
192
- echo '<div class="wpdiscuz_subscribe_status">' . $introText . " | <a href='$unsubscribeLink'>" . $subscribeMessage . "</a></div>";
193
- }
194
- ?>
195
- </div>
196
- <?php
197
- }
198
  $wpdiscuz->wpdiscuzForm->renderFrontForm($commentsCount, $currentUser);
199
  do_action('comment_form_after');
200
  do_action('wpdiscuz_comment_form_after', $post, $currentUser, $commentsCount);
@@ -208,22 +163,86 @@ if (!post_password_required($post->ID)) {
208
  <?php } ?>
209
  <?php
210
  do_action('comment_form_closed');
211
- do_action('wpdiscuz_comment_form_closed', $post, $currentUser, $commentsCount);
212
  ?>
213
  <div id="wpcomm" class="<?php echo $wpCommClasses; ?>" style="border:none;">
214
  <?php } ?>
215
- <?php do_action('wpdiscuz_before_comments', $post, $currentUser, $commentsCount); ?>
216
- <?php if ($commentsCount && $wpdiscuz->optionsSerialized->showSortingButtons && !$wpdiscuz->optionsSerialized->wordpressIsPaginate) { ?>
217
- <div class="wpdiscuz-front-actions">
218
- <div class="wpdiscuz-sort-buttons" style="font-size:14px;"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_sort_by']; ?>: &nbsp;
219
- <span class="wpdiscuz-sort-button wpdiscuz-date-sort-desc"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_newest']; ?></span> |
 
 
 
 
 
 
 
220
  <span class="wpdiscuz-sort-button wpdiscuz-date-sort-asc"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_oldest']; ?></span>
221
  <?php if (!$wpdiscuz->optionsSerialized->votingButtonsShowHide) { ?>
222
- | <span class="wpdiscuz-sort-button wpdiscuz-vote-sort-up"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_most_voted']; ?></span>
223
  <?php } ?>
224
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
  </div>
226
- <?php } ?>
 
 
227
 
228
  <?php if ($wpdiscuz->optionsSerialized->commentListUpdateType == 2) { ?>
229
  <div class="wc_new_comment_and_replies">
@@ -245,11 +264,11 @@ if (!post_password_required($post->ID)) {
245
  if ($wpdiscuz->optionsSerialized->showSortingButtons && $wpdiscuz->optionsSerialized->mostVotedByDefault && !$wpdiscuz->optionsSerialized->votingButtonsShowHide) {
246
  $args['orderby'] = 'by_vote';
247
  }
248
-
249
  if (isset($_COOKIE[WpDiscuzCore::COOKIE_LAST_VISIT])) {
250
  $args[WpDiscuzCore::COOKIE_LAST_VISIT] = $_COOKIE[WpDiscuzCore::COOKIE_LAST_VISIT];
251
  }
252
-
253
  $commentData = $wpdiscuz->getWPComments($args);
254
  echo $commentData['comment_list'];
255
  ?>
@@ -287,6 +306,6 @@ if (!post_password_required($post->ID)) {
287
  <?php } ?>
288
  </div>
289
  </div>
290
- <div id="wpdiscuz-loading-bar" class="wpdiscuz-loading-bar <?php echo ($currentUser->ID) ? 'wpdiscuz-loading-bar-auth' : 'wpdiscuz-loading-bar-unauth'; ?>"></div>
291
  <?php
292
  }
2
  if (!defined('ABSPATH')) {
3
  exit();
4
  }
5
+ global $post;
6
+ $wpdiscuz = wpDiscuz();
7
  if (!function_exists('wpdiscuz_close_divs')) {
8
 
9
  function wpdiscuz_close_divs($html) {
31
  $header_text .= ' ' . $wpdiscuz->optionsSerialized->phrases['wc_header_on_text'];
32
  $header_text .= ' "' . get_the_title($post) . '"';
33
 
34
+ $wpCommClasses = array();
35
+ $wpCommClasses[] = $currentUser && $currentUser->ID ? 'wpdiscuz_auth' : 'wpdiscuz_unauth';
36
+ $wpCommClasses[] = $wpdiscuz->optionsSerialized->theme;
37
+
38
+ if (!$wpdiscuz->optionsSerialized->wordpressShowAvatars) {
39
+ $wpCommClasses[] = 'wpdiscuz_no_avatar';
40
+ }
41
 
42
+ $wpCommClasses = apply_filters('wpdiscuz_container_classes', $wpCommClasses);
43
+ $wpCommClasses = implode(' ', $wpCommClasses);
44
  $ob_stat = ini_get('output_buffering');
45
  if ($ob_stat || $ob_stat === '' || $ob_stat == '0') {
46
  $wc_ob_allowed = true;
77
  if ($_GET['subscriptionSuccess'] == -1) {
78
  $subscriptionMsg = __('Unable to send an email', 'wpdiscuz');
79
  } elseif (!$_GET['subscriptionSuccess']) {
80
+ $subscriptionMsg = __('Subscription Fault', 'wpdiscuz');
81
  } else {
82
  if (isset($_GET['subscriptionID']) && ($subscriptionID = trim($_GET['subscriptionID']))) {
83
  $noNeedMemberConfirm = ($currentUser->ID && $wpdiscuz->optionsSerialized->disableMemberConfirm);
104
  $wpdiscuz->helper->superSocializerFix();
105
  $form = $wpdiscuz->wpdiscuzForm->getForm($post->ID);
106
  $formCustomCss = $form->getCustomCSS();
107
+ $isShowSubscribeBar = $form->isShowSubscriptionBar();
108
  if ($formCustomCss) {
109
  echo '<style type="text/css">' . $formCustomCss . '</style>';
110
  }
150
  </div>
151
  <?php
152
  $isPostmaticActive = !class_exists('Prompt_Comment_Form_Handling') || (class_exists('Prompt_Comment_Form_Handling') && !$wpdiscuz->optionsSerialized->usePostmaticForCommentNotification);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  $wpdiscuz->wpdiscuzForm->renderFrontForm($commentsCount, $currentUser);
154
  do_action('comment_form_after');
155
  do_action('wpdiscuz_comment_form_after', $post, $currentUser, $commentsCount);
163
  <?php } ?>
164
  <?php
165
  do_action('comment_form_closed');
166
+ do_action('wpdiscuz_comment_form_closed', $post, $currentUser, $commentsCount);
167
  ?>
168
  <div id="wpcomm" class="<?php echo $wpCommClasses; ?>" style="border:none;">
169
  <?php } ?>
170
+ <?php do_action('wpdiscuz_before_comments', $post, $currentUser, $commentsCount); ?>
171
+
172
+ <div class="wpdiscuz-front-actions">
173
+ <?php if ($isShowSubscribeBar) { ?>
174
+ <div class="wpdiscuz-sbs-wrap">
175
+ <span><i class="fa fa-envelope-o" aria-hidden="true"></i>&nbsp; <?php echo $wpdiscuz->optionsSerialized->phrases['wc_subscribe_anchor']; ?> &nbsp;<i class="fa fa-caret-down" aria-hidden="true"></i></span>
176
+ </div>
177
+ <?php } ?>
178
+ <?php if ($commentsCount && $wpdiscuz->optionsSerialized->showSortingButtons && !$wpdiscuz->optionsSerialized->wordpressIsPaginate) { ?>
179
+ <div class="wpdiscuz-sort-buttons" style="font-size:14px; color: #777;">
180
+ <i class="fa fa-caret-up" aria-hidden="true"></i>
181
+ <span class="wpdiscuz-sort-button wpdiscuz-date-sort-desc"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_newest']; ?></span> <i class="fa fa-caret-up" aria-hidden="true"></i>
182
  <span class="wpdiscuz-sort-button wpdiscuz-date-sort-asc"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_oldest']; ?></span>
183
  <?php if (!$wpdiscuz->optionsSerialized->votingButtonsShowHide) { ?>
184
+ <i class="fa fa-caret-up" aria-hidden="true"></i> <span class="wpdiscuz-sort-button wpdiscuz-vote-sort-up"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_most_voted']; ?></span>
185
  <?php } ?>
186
  </div>
187
+ <?php } ?>
188
+ <div class="clearfix"></div>
189
+ </div>
190
+
191
+ <?php
192
+ if ($isShowSubscribeBar && $isPostmaticActive) {
193
+ $wpdiscuz->subscriptionData = $wpdiscuz->dbManager->hasSubscription($post->ID, $currentUser->user_email);
194
+ $subscriptionType = null;
195
+ if ($wpdiscuz->subscriptionData) {
196
+ $isConfirmed = $wpdiscuz->subscriptionData['confirm'];
197
+ $subscriptionType = $wpdiscuz->subscriptionData['type'];
198
+ if ($subscriptionType == WpdiscuzCore::SUBSCRIPTION_POST || $subscriptionType == WpdiscuzCore::SUBSCRIPTION_ALL_COMMENT) {
199
+ $unsubscribeLink = $wpdiscuz->dbManager->unsubscribeLink($post->ID, $currentUser->user_email);
200
+ }
201
+ }
202
+ ?>
203
+ <div class="wpdiscuz-subscribe-bar wpdiscuz-hidden">
204
+ <?php
205
+ if ($subscriptionType != WpdiscuzCore::SUBSCRIPTION_POST) {
206
+ ?>
207
+ <form action="<?php echo admin_url('admin-ajax.php') . '?action=addSubscription'; ?>" method="post" id="wpdiscuz-subscribe-form">
208
+ <div class="wpdiscuz-subscribe-form-intro"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_of']; ?> </div>
209
+ <div class="wpdiscuz-subscribe-form-option" style="width:<?php echo (!$currentUser->ID) ? '40%' : '65%'; ?>;">
210
+ <select class="wpdiscuz_select" name="wpdiscuzSubscriptionType" >
211
+ <?php if ($wpdiscuz->optionsSerialized->subscriptionType != 3) { ?>
212
+ <option value="<?php echo WpdiscuzCore::SUBSCRIPTION_POST; ?>"><?php echo $wpdiscuz->optionsSerialized->phrases['wc_notify_on_new_comment']; ?></option>
213
+ <?php } ?>
214
+ <?php if ($wpdiscuz->optionsSerialized->subscriptionType != 2) { ?>
215
+ <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>
216
+ <?php } ?>
217
+ </select>
218
+ </div>
219
+ <?php if (!$currentUser->ID) { ?>
220
+ <div class="wpdiscuz-item wpdiscuz-subscribe-form-email">
221
+ <input class="email" type="email" name="wpdiscuzSubscriptionEmail" required="required" value="" placeholder="<?php echo $wpdiscuz->optionsSerialized->phrases['wc_email_text']; ?>"/>
222
+ </div>
223
+ <?php } ?>
224
+ <div class="wpdiscuz-subscribe-form-button">
225
+ <input id="wpdiscuz_subscription_button" type="submit" value="<?php echo $wpdiscuz->optionsSerialized->phrases['wc_form_subscription_submit']; ?>" name="wpdiscuz_subscription_button" />
226
+ </div>
227
+ <?php wp_nonce_field('wpdiscuz_subscribe_form_nonce_action', 'wpdiscuz_subscribe_form_nonce'); ?>
228
+ <input type="hidden" value="<?php echo $post->ID; ?>" name="wpdiscuzSubscriptionPostId" />
229
+ </form>
230
+ <?php } ?>
231
+ <div class="wpdiscuz_clear"></div>
232
+ <?php
233
+ if (isset($unsubscribeLink)) {
234
+ $subscribeMessage = $isConfirmed ? $wpdiscuz->optionsSerialized->phrases['wc_unsubscribe'] : $wpdiscuz->optionsSerialized->phrases['wc_ignore_subscription'];
235
+ if ($subscriptionType == 'all_comment')
236
+ $introText = $wpdiscuz->optionsSerialized->phrases['wc_subscribed_to'] . ' ' . $wpdiscuz->optionsSerialized->phrases['wc_notify_on_all_new_reply'];
237
+ elseif ($subscriptionType == 'post')
238
+ $introText = $wpdiscuz->optionsSerialized->phrases['wc_subscribed_to'] . ' ' . $wpdiscuz->optionsSerialized->phrases['wc_notify_on_new_comment'];
239
+ echo '<div class="wpdiscuz_subscribe_status">' . $introText . " | <a href='$unsubscribeLink'>" . $subscribeMessage . "</a></div>";
240
+ }
241
+ ?>
242
  </div>
243
+ <?php
244
+ }
245
+ ?>
246
 
247
  <?php if ($wpdiscuz->optionsSerialized->commentListUpdateType == 2) { ?>
248
  <div class="wc_new_comment_and_replies">
264
  if ($wpdiscuz->optionsSerialized->showSortingButtons && $wpdiscuz->optionsSerialized->mostVotedByDefault && !$wpdiscuz->optionsSerialized->votingButtonsShowHide) {
265
  $args['orderby'] = 'by_vote';
266
  }
267
+
268
  if (isset($_COOKIE[WpDiscuzCore::COOKIE_LAST_VISIT])) {
269
  $args[WpDiscuzCore::COOKIE_LAST_VISIT] = $_COOKIE[WpDiscuzCore::COOKIE_LAST_VISIT];
270
  }
271
+
272
  $commentData = $wpdiscuz->getWPComments($args);
273
  echo $commentData['comment_list'];
274
  ?>
306
  <?php } ?>
307
  </div>
308
  </div>
309
+ <div id="wpdiscuz-loading-bar" class="wpdiscuz-loading-bar <?php echo ($currentUser->ID) ? 'wpdiscuz-loading-bar-auth' : 'wpdiscuz-loading-bar-unauth'; ?>"></div>
310
  <?php
311
  }
utils/class.WpdiscuzCache.php CHANGED
@@ -1,171 +1,188 @@
1
- <?php
2
-
3
- if (!defined('ABSPATH')) {
4
- exit();
5
- }
6
-
7
- class WpdiscuzCache implements WpDiscuzConstants {
8
-
9
- public $gravatars;
10
- public $wpUploadDir;
11
- private $avBaseDir;
12
- private $currentTime;
13
- private $timeout;
14
- private $optionsSerialized;
15
- private $helper;
16
- private $dbManager;
17
-
18
- public function __construct($optionsSerialized, $helper, $dbManager) {
19
- $this->optionsSerialized = $optionsSerialized;
20
- $this->helper = $helper;
21
- $this->dbManager = $dbManager;
22
- $this->gravatars = array();
23
- $this->wpUploadDir = wp_upload_dir();
24
- $this->avBaseDir = $this->wpUploadDir['basedir'] . self::GRAVATARS_CACHE_DIR;
25
- $this->currentTime = current_time('timestamp');
26
- $this->timeout = $this->optionsSerialized->gravatarCacheTimeout * DAY_IN_SECONDS;
27
- wp_mkdir_p($this->avBaseDir);
28
- add_filter('pre_get_avatar', array(&$this, 'preGetGravatar'), 10, 3);
29
- if ($this->optionsSerialized->gravatarCacheMethod == 'runtime') {
30
- add_filter('get_avatar_url', array(&$this, 'gravatarsRunTime'), 10, 3);
31
- } else {
32
- add_filter('get_avatar_url', array(&$this, 'gravatarsCronJob'), 10, 3);
33
- }
34
- add_action('admin_post_purgeExpiredGravatarsCaches', array(&$this, 'purgeExpiredCaches'));
35
- add_action('admin_post_purgeGravatarsCaches', array(&$this, 'purgeCaches'));
36
- }
37
-
38
- public function preGetGravatar($avatar, $idOrEmail, $args) {
39
- if ($idOrEmail && $args &&
40
- isset($args['wpdiscuz_gravatar_field']) &&
41
- $args['wpdiscuz_gravatar_field'] != ''
42
- ) {
43
- $cacheFileUrl = $this->wpUploadDir['baseurl'] . self::GRAVATARS_CACHE_DIR;
44
- $md5FileName = md5($args['wpdiscuz_gravatar_field']);
45
- $fileNameHash = $md5FileName . '.gif';
46
- $fileDirHash = $this->avBaseDir . $fileNameHash;
47
- if (file_exists($fileDirHash)) {
48
- $fileUrlHash = $cacheFileUrl . $fileNameHash;
49
- $url = $fileUrlHash;
50
- $url2x = $fileUrlHash;
51
- $class = array('avatar', 'avatar-' . (int) $args['size'], 'photo');
52
- if ($args['force_default']) {
53
- $class[] = 'avatar-default';
54
- }
55
-
56
- if ($args['class']) {
57
- if (is_array($args['class'])) {
58
- $class = array_merge($class, $args['class']);
59
- } else {
60
- $class[] = $args['class'];
61
- }
62
- }
63
-
64
- $avatar = sprintf(
65
- "<img alt='%s' src='%s' srcset='%s' class='%s' height='%d' width='%d' %s/>", esc_attr($args['alt']), esc_url($url), esc_attr("$url2x 2x"), esc_attr(join(' ', $class)), (int) $args['height'], (int) $args['width'], $args['extra_attr']
66
- );
67
- }
68
- }
69
- return $avatar;
70
- }
71
-
72
- public function gravatarsRunTime($url, $idOrEmail, $args) {
73
- if ($url && $idOrEmail && $args &&
74
- isset($args['wpdiscuz_gravatar_field']) &&
75
- isset($args['size']) &&
76
- isset($args['wpdiscuz_gravatar_size']) &&
77
- $args['wpdiscuz_gravatar_field'] != '' &&
78
- $args['size'] == $args['wpdiscuz_gravatar_size'] &&
79
- $fileData = @file_get_contents($url)
80
- ) {
81
- $md5FileName = md5($args['wpdiscuz_gravatar_field']);
82
- $fileNameHash = $md5FileName . '.gif';
83
- $cacheFile = $this->avBaseDir . $fileNameHash;
84
- if (@file_put_contents($cacheFile, $fileData)) {
85
- $url = $this->avBaseDir . $fileNameHash;
86
- $this->gravatars[$md5FileName] = array(
87
- 'user_id' => intval($args['wpdiscuz_gravatar_user_id']),
88
- 'user_email' => trim($args['wpdiscuz_gravatar_user_email']),
89
- 'url' => trim($url),
90
- 'hash' => trim($md5FileName),
91
- 'cached' => 1
92
- );
93
- }
94
- }
95
- return $url;
96
- }
97
-
98
- public function gravatarsCronJob($url, $idOrEmail, $args) {
99
- if ($url && $idOrEmail && $args &&
100
- isset($args['wpdiscuz_gravatar_field']) &&
101
- isset($args['size']) &&
102
- isset($args['wpdiscuz_gravatar_size']) &&
103
- $args['wpdiscuz_gravatar_field'] != '' &&
104
- $args['size'] == $args['wpdiscuz_gravatar_size']
105
- ) {
106
- $md5FileName = md5($args['wpdiscuz_gravatar_field']);
107
- $this->gravatars[$md5FileName] = array(
108
- 'user_id' => intval($args['wpdiscuz_gravatar_user_id']),
109
- 'user_email' => trim($args['wpdiscuz_gravatar_user_email']),
110
- 'url' => trim($url),
111
- 'hash' => trim($md5FileName),
112
- 'cached' => 0
113
- );
114
- }
115
- return $url;
116
- }
117
-
118
- public function cacheGravatars() {
119
- $gravatars = $this->dbManager->getGravatars();
120
- if ($gravatars) {
121
- $cachedIds = array();
122
- foreach ($gravatars as $gravatar) {
123
- $id = $gravatar['id'];
124
- $url = $gravatar['url'];
125
- $hash = $gravatar['hash'];
126
- if ($fileData = @file_get_contents($url)) {
127
- $cacheFile = $this->avBaseDir . $hash . '.gif';
128
- if (@file_put_contents($cacheFile, $fileData)) {
129
- $cachedIds[] = $id;
130
- }
131
- }
132
- }
133
- $this->dbManager->updateGravatarsStatus($cachedIds);
134
- }
135
- }
136
-
137
- public function purgeExpiredCaches() {
138
- if (current_user_can('manage_options') && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'purgeExpiredGravatarsCaches')) {
139
- $timeFrame = $this->optionsSerialized->gravatarCacheTimeout * DAY_IN_SECONDS;
140
- $expiredGravatars = $this->dbManager->getExpiredGravatars($timeFrame);
141
- if ($expiredGravatars) {
142
- $files = function_exists('scandir') ? scandir($this->avBaseDir) : false;
143
- if ($files) {
144
- foreach ($files as $file) {
145
- if (in_array($file, $expiredGravatars)) {
146
- @unlink($this->avBaseDir . $file);
147
- }
148
- }
149
- }
150
- $this->dbManager->deleteExpiredGravatars($timeFrame);
151
- }
152
- }
153
- wp_redirect(admin_url('edit-comments.php?page=' . WpdiscuzCore::PAGE_SETTINGS));
154
- }
155
-
156
- public function purgeCaches() {
157
- if (current_user_can('manage_options') && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'purgeGravatarsCaches')) {
158
- $files = function_exists('scandir') ? scandir($this->avBaseDir) : false;
159
- if ($files) {
160
- foreach ($files as $file) {
161
- if ($file != '.' && $file != '..' && $file != '.htaccess') {
162
- @unlink($this->avBaseDir . $file);
163
- }
164
- }
165
- }
166
- $this->dbManager->deleteGravatars();
167
- }
168
- wp_redirect(admin_url('edit-comments.php?page=' . WpdiscuzCore::PAGE_SETTINGS));
169
- }
170
-
171
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('ABSPATH')) {
4
+ exit();
5
+ }
6
+
7
+ class WpdiscuzCache implements WpDiscuzConstants {
8
+
9
+ public $gravatars;
10
+ public $wpUploadDir;
11
+ public $doGravatarsCache;
12
+ private $avBaseDir;
13
+ private $currentTime;
14
+ private $timeout;
15
+ private $optionsSerialized;
16
+ private $helper;
17
+ private $dbManager;
18
+
19
+ public function __construct($optionsSerialized, $helper, $dbManager) {
20
+ $this->optionsSerialized = $optionsSerialized;
21
+ $this->helper = $helper;
22
+ $this->dbManager = $dbManager;
23
+ $this->gravatars = array();
24
+ $this->wpUploadDir = wp_upload_dir();
25
+ $this->avBaseDir = $this->wpUploadDir['basedir'] . self::GRAVATARS_CACHE_DIR;
26
+ $this->currentTime = current_time('timestamp');
27
+ $this->timeout = $this->optionsSerialized->gravatarCacheTimeout * DAY_IN_SECONDS;
28
+ $this->doGravatarsCache = $this->optionsSerialized->isGravatarCacheEnabled && $this->optionsSerialized->isFileFunctionsExists;
29
+ if ($this->doGravatarsCache) {
30
+ wp_mkdir_p($this->avBaseDir);
31
+ add_filter('pre_get_avatar', array(&$this, 'preGetGravatar'), 10, 3);
32
+ add_filter('get_avatar', array(&$this, 'getAvatar'), 10, 6);
33
+ if ($this->optionsSerialized->gravatarCacheMethod == 'runtime') {
34
+ add_filter('get_avatar_url', array(&$this, 'gravatarsRunTime'), 10, 3);
35
+ } else {
36
+ add_filter('get_avatar_url', array(&$this, 'gravatarsCronJob'), 10, 3);
37
+ }
38
+ }
39
+ add_action('admin_post_purgeExpiredGravatarsCaches', array(&$this, 'purgeExpiredGravatarsCaches'));
40
+ add_action('admin_post_purgeGravatarsCaches', array(&$this, 'purgeGravatarsCaches'));
41
+ }
42
+
43
+ public function preGetGravatar($avatar, $idOrEmail, $args) {
44
+ $avatar = $this->getAvatarHtml($avatar, $idOrEmail, $args);
45
+ return $avatar;
46
+ }
47
+
48
+ public function getAvatar($avatar, $idOrEmail, $size, $default, $alt, $args) {
49
+ if (strpos($avatar, self::GRAVATARS_CACHE_DIR) === false) {
50
+ $avatar = $this->getAvatarHtml($avatar, $idOrEmail, $args);
51
+ }
52
+ return $avatar;
53
+ }
54
+
55
+ private function getAvatarHtml($avatar, $idOrEmail, $args) {
56
+ if ($idOrEmail && $args &&
57
+ isset($args['wpdiscuz_gravatar_field']) &&
58
+ $args['wpdiscuz_gravatar_field'] != ''
59
+ ) {
60
+ $cacheFileUrl = $this->wpUploadDir['baseurl'] . self::GRAVATARS_CACHE_DIR;
61
+ $md5FileName = is_object($args['wpdiscuz_gravatar_field']) && isset($args['wpdiscuz_gravatar_field']->comment_author_email) ? md5($args['wpdiscuz_gravatar_field']->comment_author_email) : md5($args['wpdiscuz_gravatar_field']);
62
+ $fileNameHash = $md5FileName . '.gif';
63
+ $fileDirHash = $this->avBaseDir . $fileNameHash;
64
+ if (file_exists($fileDirHash)) {
65
+ $fileUrlHash = $cacheFileUrl . $fileNameHash;
66
+ $url = $fileUrlHash;
67
+ $url2x = $fileUrlHash;
68
+ $class = array('avatar', 'avatar-' . (int) $args['size'], 'photo');
69
+ if ($args['force_default']) {
70
+ $class[] = 'avatar-default';
71
+ }
72
+
73
+ if ($args['class']) {
74
+ if (is_array($args['class'])) {
75
+ $class = array_merge($class, $args['class']);
76
+ } else {
77
+ $class[] = $args['class'];
78
+ }
79
+ }
80
+
81
+ $avatar = sprintf(
82
+ "<img alt='%s' src='%s' srcset='%s' class='%s' height='%d' width='%d' %s/>", esc_attr($args['alt']), esc_url($url), esc_attr("$url2x 2x"), esc_attr(join(' ', $class)), (int) $args['height'], (int) $args['width'], $args['extra_attr']
83
+ );
84
+ }
85
+ }
86
+ return $avatar;
87
+ }
88
+
89
+ public function gravatarsRunTime($url, $idOrEmail, $args) {
90
+ if ($url && $idOrEmail && $args &&
91
+ isset($args['wpdiscuz_gravatar_field']) &&
92
+ isset($args['size']) &&
93
+ isset($args['wpdiscuz_gravatar_size']) &&
94
+ $args['wpdiscuz_gravatar_field'] != '' &&
95
+ $args['size'] == $args['wpdiscuz_gravatar_size'] &&
96
+ $fileData = @file_get_contents($url)
97
+ ) {
98
+ $md5FileName = md5($args['wpdiscuz_gravatar_field']);
99
+ $fileNameHash = $md5FileName . '.gif';
100
+ $cacheFile = $this->avBaseDir . $fileNameHash;
101
+ if (@file_put_contents($cacheFile, $fileData)) {
102
+ $url = $this->avBaseDir . $fileNameHash;
103
+ $this->gravatars[$md5FileName] = array(
104
+ 'user_id' => intval($args['wpdiscuz_gravatar_user_id']),
105
+ 'user_email' => trim($args['wpdiscuz_gravatar_user_email']),
106
+ 'url' => trim($url),
107
+ 'hash' => trim($md5FileName),
108
+ 'cached' => 1
109
+ );
110
+ }
111
+ }
112
+ return $url;
113
+ }
114
+
115
+ public function gravatarsCronJob($url, $idOrEmail, $args) {
116
+ if ($url && $idOrEmail && $args &&
117
+ isset($args['wpdiscuz_gravatar_field']) &&
118
+ isset($args['size']) &&
119
+ isset($args['wpdiscuz_gravatar_size']) &&
120
+ $args['wpdiscuz_gravatar_field'] != '' &&
121
+ $args['size'] == $args['wpdiscuz_gravatar_size']
122
+ ) {
123
+ $md5FileName = md5($args['wpdiscuz_gravatar_field']);
124
+ $this->gravatars[$md5FileName] = array(
125
+ 'user_id' => intval($args['wpdiscuz_gravatar_user_id']),
126
+ 'user_email' => trim($args['wpdiscuz_gravatar_user_email']),
127
+ 'url' => trim($url),
128
+ 'hash' => trim($md5FileName),
129
+ 'cached' => 0
130
+ );
131
+ }
132
+ return $url;
133
+ }
134
+
135
+ public function cacheGravatars() {
136
+ $gravatars = $this->dbManager->getGravatars();
137
+ if ($gravatars) {
138
+ $cachedIds = array();
139
+ foreach ($gravatars as $gravatar) {
140
+ $id = $gravatar['id'];
141
+ $url = $gravatar['url'];
142
+ $hash = $gravatar['hash'];
143
+ if ($fileData = @file_get_contents($url)) {
144
+ $cacheFile = $this->avBaseDir . $hash . '.gif';
145
+ if (@file_put_contents($cacheFile, $fileData)) {
146
+ $cachedIds[] = $id;
147
+ }
148
+ }
149
+ }
150
+ $this->dbManager->updateGravatarsStatus($cachedIds);
151
+ }
152
+ }
153
+
154
+ public function purgeExpiredGravatarsCaches() {
155
+ if (current_user_can('manage_options') && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'purgeExpiredGravatarsCaches')) {
156
+ $timeFrame = $this->optionsSerialized->gravatarCacheTimeout * DAY_IN_SECONDS;
157
+ $expiredGravatars = $this->dbManager->getExpiredGravatars($timeFrame);
158
+ if ($expiredGravatars) {
159
+ $files = function_exists('scandir') ? scandir($this->avBaseDir) : false;
160
+ if ($files) {
161
+ foreach ($files as $file) {
162
+ if (in_array($file, $expiredGravatars)) {
163
+ @unlink($this->avBaseDir . $file);
164
+ }
165
+ }
166
+ }
167
+ $this->dbManager->deleteExpiredGravatars($timeFrame);
168
+ }
169
+ }
170
+ wp_redirect(admin_url('edit-comments.php?page=' . WpdiscuzCore::PAGE_SETTINGS));
171
+ }
172
+
173
+ public function purgeGravatarsCaches() {
174
+ if (current_user_can('manage_options') && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'purgeGravatarsCaches')) {
175
+ $files = function_exists('scandir') ? scandir($this->avBaseDir) : false;
176
+ if ($files) {
177
+ foreach ($files as $file) {
178
+ if ($file != '.' && $file != '..' && $file != '.htaccess') {
179
+ @unlink($this->avBaseDir . $file);
180
+ }
181
+ }
182
+ }
183
+ $this->dbManager->deleteGravatars();
184
+ }
185
+ wp_redirect(admin_url('edit-comments.php?page=' . WpdiscuzCore::PAGE_SETTINGS));
186
+ }
187
+
188
+ }
utils/class.WpdiscuzEmailHelper.php CHANGED
@@ -85,21 +85,23 @@ class WpdiscuzEmailHelper {
85
  return;
86
  }
87
  }
88
-
89
- $wc_new_comment_content = $comment->comment_content;
90
- $permalink = get_comment_link($wc_new_comment_id);
91
- $unsubscribe_url = !$wp_rewrite->using_permalinks() ? get_permalink($comment->comment_post_ID) . "&" : get_permalink($comment->comment_post_ID) . "?";
92
- $unsubscribe_url .= "subscribeAnchor&wpdiscuzSubscribeID=" . $email_data['id'] . "&key=" . $email_data['activation_key'] . '&#wc_unsubscribe_message';
93
- $message .= "<br/><br/><a href='$permalink'>$permalink</a>";
94
- $message .= "<br/><br/>$wc_new_comment_content";
95
- $message .= "<br/><br/><a href='$unsubscribe_url'>" . $this->optionsSerialized->phrases['wc_unsubscribe'] . "</a>";
96
- $headers = array();
97
- $content_type = apply_filters('wp_mail_content_type', 'text/html');
98
- $from_name = apply_filters('wp_mail_from_name', get_option('blogname'));
99
- $from_email = apply_filters('wp_mail_from', get_option('admin_email'));
100
- $headers[] = "Content-Type: $content_type; charset=UTF-8";
101
- $headers[] = "From: " . $from_name . " <" . $from_email . "> \r\n";
102
- wp_mail($email_data['email'], $subject, $message, $headers);
 
 
103
  }
104
 
105
  /**
85
  return;
86
  }
87
  }
88
+ $sendMail = apply_filters('wpdiscuz_email_notification', true, $email_data, $comment);
89
+ if ($sendMail) {
90
+ $wc_new_comment_content = $comment->comment_content;
91
+ $permalink = get_comment_link($wc_new_comment_id);
92
+ $unsubscribe_url = !$wp_rewrite->using_permalinks() ? get_permalink($comment->comment_post_ID) . "&" : get_permalink($comment->comment_post_ID) . "?";
93
+ $unsubscribe_url .= "subscribeAnchor&wpdiscuzSubscribeID=" . $email_data['id'] . "&key=" . $email_data['activation_key'] . '&#wc_unsubscribe_message';
94
+ $message .= "<br/><br/><a href='$permalink'>$permalink</a>";
95
+ $message .= "<br/><br/>$wc_new_comment_content";
96
+ $message .= "<br/><br/><a href='$unsubscribe_url'>" . $this->optionsSerialized->phrases['wc_unsubscribe'] . "</a>";
97
+ $headers = array();
98
+ $content_type = apply_filters('wp_mail_content_type', 'text/html');
99
+ $from_name = apply_filters('wp_mail_from_name', get_option('blogname'));
100
+ $from_email = apply_filters('wp_mail_from', get_option('admin_email'));
101
+ $headers[] = "Content-Type: $content_type; charset=UTF-8";
102
+ $headers[] = "From: " . $from_name . " <" . $from_email . "> \r\n";
103
+ wp_mail($email_data['email'], $subject, $message, $headers);
104
+ }
105
  }
106
 
107
  /**
utils/class.WpdiscuzHelper.php CHANGED
@@ -3,7 +3,7 @@ if (!defined('ABSPATH')) {
3
  exit();
4
  }
5
 
6
- class WpdiscuzHelper {
7
 
8
  public static $datetime = 'datetime';
9
  public static $year = 'wc_year_text';
@@ -442,5 +442,32 @@ class WpdiscuzHelper {
442
  return ($storedCookieEmail == $comment->comment_author_email && $currentIP == $comment->comment_author_IP) || ($currentUser && $currentUser->ID && $currentUser->ID == $comment->user_id);
443
  }
444
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
445
  }
446
 
3
  exit();
4
  }
5
 
6
+ class WpdiscuzHelper implements WpDiscuzConstants {
7
 
8
  public static $datetime = 'datetime';
9
  public static $year = 'wc_year_text';
442
  return ($storedCookieEmail == $comment->comment_author_email && $currentIP == $comment->comment_author_IP) || ($currentUser && $currentUser->ID && $currentUser->ID == $comment->user_id);
443
  }
444
 
445
+ public function addCommentTypes($args) {
446
+ $args[self::WPDISCUZ_STICKY_COMMENT] = __('Sticky', 'woodiscuz');
447
+ return $args;
448
+ }
449
+
450
+ public function commentRowStickAction($actions, $comment) {
451
+ if (!$comment->comment_parent) {
452
+ $stickText = $comment->comment_type == self::WPDISCUZ_STICKY_COMMENT ? $this->optionsSerialized->phrases['wc_unstick_comment'] : $this->optionsSerialized->phrases['wc_stick_comment'];
453
+ $actions['stick'] = '<a data-comment="' . $comment->comment_ID . '" data-post="' . $comment->comment_post_ID . '" class="wc_stick_btn" href="#"> <i class="fa fa-thumb-tack"></i> <span class="wc_stick_text">' . $stickText . '</span></a>';
454
+ }
455
+ return $actions;
456
+ }
457
+
458
+ public function wpdDeactivationReasonModal() {
459
+ ob_start();
460
+ include_once 'deactivation-reason-modal.php';
461
+ $html = ob_get_clean();
462
+ echo $html;
463
+ }
464
+
465
+ public function disableAddonsDemo() {
466
+ if (current_user_can('manage_options') && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'disableAddonsDemo') && isset($_GET['show'])) {
467
+ update_option(self::OPTION_SLUG_SHOW_DEMO, intval($_GET['show']));
468
+ wp_redirect(admin_url('edit-comments.php?page=' . WpdiscuzCore::PAGE_SETTINGS));
469
+ }
470
+ }
471
+
472
  }
473
 
utils/class.WpdiscuzHelperAjax.php ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('ABSPATH')) {
4
+ exit();
5
+ }
6
+
7
+ class WpdiscuzHelperAjax implements WpDiscuzConstants {
8
+
9
+ private $optionsSerialized;
10
+ private $dbManager;
11
+
12
+ public function __construct($optionsSerialized, $dbManager) {
13
+ $this->optionsSerialized = $optionsSerialized;
14
+ $this->dbManager = $dbManager;
15
+ add_action('wp_ajax_wpdiscuzStickComment', array(&$this, 'stickComment'));
16
+ add_action('wp_ajax_wpdDeactivate', array(&$this, 'wpdDeactivate'));
17
+ add_filter('wp_update_comment_data', array(&$this, 'commentDataArr'), 10, 3);
18
+ }
19
+
20
+ public function stickComment() {
21
+ $response = array('code' => 0, 'data' => '');
22
+ $postId = isset($_POST['postId']) ? intval($_POST['postId']) : 0;
23
+ $commentId = isset($_POST['commentId']) ? intval($_POST['commentId']) : 0;
24
+ if ($postId && $commentId) {
25
+ $comment = get_comment($commentId);
26
+ if (current_user_can('moderate_comments') && $comment && isset($comment->comment_ID) && $comment->comment_ID && !$comment->comment_parent) {
27
+ $commentarr = array('comment_ID' => $commentId);
28
+ if ($comment->comment_type == self::WPDISCUZ_STICKY_COMMENT) {
29
+ $commentarr['comment_type'] = '';
30
+ $response['data'] = $this->optionsSerialized->phrases['wc_stick_comment'];
31
+ } else {
32
+ $commentarr['comment_type'] = self::WPDISCUZ_STICKY_COMMENT;
33
+ $response['data'] = $this->optionsSerialized->phrases['wc_unstick_comment'];
34
+ }
35
+ $commentarr['wpdiscuz_comment_update'] = true;
36
+ if (wp_update_comment(wp_slash($commentarr))) {
37
+ $response['code'] = 1;
38
+ }
39
+ }
40
+ }
41
+ wp_die(json_encode($response));
42
+ }
43
+
44
+ public function wpdDeactivate() {
45
+ $response = array('code' => 0);
46
+ $json = filter_input(INPUT_POST, 'deactivateData');
47
+ if ($json) {
48
+ parse_str($json, $data);
49
+ if (isset($data['never_show']) && ($v = intval($data['never_show']))) {
50
+ update_option(self::OPTION_SLUG_DEACTIVATION, $v);
51
+ $response['code'] = 'dismiss_and_deactivate';
52
+ } else if (isset($data['deactivation_reason']) && ($reason = trim($data['deactivation_reason']))) {
53
+ $to = 'feedback@wpdiscuz.com';
54
+ $subject = '[wpDiscuz Feedback] - ' . $reason;
55
+ $headers = array();
56
+ $contentType = apply_filters('wp_mail_content_type', 'text/html');
57
+ $fromName = apply_filters('wp_mail_from_name', get_option('blogname'));
58
+ $siteUrl = get_site_url();
59
+ $parsedUrl = parse_url($siteUrl);
60
+ $domain = isset($parsedUrl['host']) ? $parsedUrl['host'] : '';
61
+ $fromEmail = apply_filters('wp_mail_from', 'no-reply@' . $domain);
62
+ $headers[] = "Content-Type: $contentType; charset=UTF-8";
63
+ $headers[] = "From: " . $fromName . " <" . $fromEmail . "> \r\n";
64
+ $message = "<strong>Deactivation reason:</strong> " . $reason . "\r\n" . "<br/>";
65
+ if (isset($data['deactivation_reason_desc']) && ($reasonDesc = trim($data['deactivation_reason_desc']))) {
66
+ $message .= "<strong>Deactivation reason description:</strong> " . $reasonDesc . "\r\n" . "<br/>";
67
+ }
68
+ $sent = wp_mail($to, $subject, $message, $headers);
69
+ $response['code'] = 'send_and_deactivate';
70
+ }
71
+ }
72
+ wp_die(json_encode($response));
73
+ }
74
+
75
+ public function commentDataArr($data, $comment, $commentarr) {
76
+ if (isset($data['wpdiscuz_comment_update']) && $data['wpdiscuz_comment_update']) {
77
+ $data['comment_date'] = $comment->comment_date;
78
+ $data['comment_date_gmt'] = $comment->comment_date_gmt;
79
+ }
80
+ return $data;
81
+ }
82
+
83
+ }
utils/deactivation-reason-modal.php ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit();
4
+ }
5
+ ?>
6
+ <a id='wpdDeactivationReasonAnchor' style='display:none;' rel='#wpdDeactivationReason' data-wpd-lity>&nbsp;</a>
7
+ <div id='wpdDeactivationReason' style='overflow:auto;background:#FDFDF6;padding:20px;width:600px;max-width:100%;border-radius:6px' class='lity-hide'>
8
+ <div class="wpd-deactivation-reason-wrap">
9
+ <form method="post" action="" class="wpd-deactivation-reason-form">
10
+ <h2 class="wpd-deactivation-reason-modal-title"><?php _e('Plugin Usage Feedback', 'wpdiscuz'); ?></h2>
11
+ <div class="wpd-deactivation-reason-desc">
12
+ <p class="wpdiscuz-desc">
13
+ <strong><?php _e('Please let us know why you are deactivating. Choosing one of the options below you will help us make it better for you and for other users.', 'wpdiscuz'); ?></strong>
14
+ </p>
15
+ </div>
16
+ <div class="wpd-deactivation-reasons">
17
+ <div class="wpd-deactivation-reason-item">
18
+ <input type="radio" value="I'll reactivate it later" name="deactivation_reason" id="reactivate_later" class="wpd-deactivation-reason"/>
19
+ <label for="reactivate_later"><?php _e('I\'ll reactivate it later', 'wpdiscuz'); ?></label>
20
+ </div>
21
+ <div class="wpd-deactivation-reason-item">
22
+ <input type="radio" value="The plugin is not working" name="deactivation_reason" id="not_working" class="wpd-deactivation-reason"/>
23
+ <label for="not_working"><?php _e('The plugin is not working', 'wpdiscuz'); ?></label>
24
+ </div>
25
+ <div class="wpd-deactivation-reason-item">
26
+ <input type="radio" value="It's not what I was looking for" name="deactivation_reason" id="not_what_i_looking_for" class="wpd-deactivation-reason"/>
27
+ <label for="not_what_i_looking_for"><?php _e('It\'s not what I was looking for', 'wpdiscuz'); ?></label>
28
+ </div>
29
+ <div class="wpd-deactivation-reason-item">
30
+ <input type="radio" value="I couldn't understand how to make it work" name="deactivation_reason" id="how_to_make_it_work" class="wpd-deactivation-reason"/>
31
+ <label for="how_to_make_it_work"><?php _e('I couldn\'t understand how to make it work', 'wpdiscuz'); ?></label>
32
+ </div>
33
+ <div class="wpd-deactivation-reason-item">
34
+ <input type="radio" value="The plugin is great, but I need specific features" name="deactivation_reason" id="need_specific_features" class="wpd-deactivation-reason"/>
35
+ <label for="need_specific_features"><?php _e('The plugin is great, but I need specific features', 'wpdiscuz'); ?></label>
36
+ </div>
37
+ <div class="wpd-deactivation-reason-item">
38
+ <input type="radio" value="I didn't like plugin design" name="deactivation_reason" id="did_not_like_design" class="wpd-deactivation-reason"/>
39
+ <label for="did_not_like_design"><?php _e('I didn\'t like plugin design', 'wpdiscuz'); ?></label>
40
+ </div>
41
+ <div class="wpd-deactivation-reason-item">
42
+ <input type="radio" value="The plugin works very slow" name="deactivation_reason" id="works_very_slow" class="wpd-deactivation-reason"/>
43
+ <label for="works_very_slow"><?php _e('The plugin works very slow', 'wpdiscuz'); ?></label>
44
+ </div>
45
+ <div class="wpd-deactivation-reason-item">
46
+ <input type="radio" value="I found a better plugin" name="deactivation_reason" id="found_better" class="wpd-deactivation-reason"/>
47
+ <label for="found_better"><?php _e('I found a better plugin', 'wpdiscuz'); ?></label>
48
+ </div>
49
+ <div class="wpd-deactivation-reason-item">
50
+ <input type="radio" value="Other" name="deactivation_reason" id="other" class="wpd-deactivation-reason"/>
51
+ <label for="other"><?php _e('Other', 'wpdiscuz'); ?></label>
52
+ </div>
53
+ <div class="wpd-deactivation-reason-item wpd-deactivation-reason-other wpd-deactivation-reason-text-info">
54
+ <textarea id="other_desc" name="deactivation_reason_desc" rows="3"></textarea>
55
+ </div>
56
+ </div>
57
+ <div class="wpd-deactivation-reasons-actions">
58
+ <button type="button" class="button button-secondary wpd-dismiss wpd-deactivate"><?php _e('Dismiss and never show again', 'wpdiscuz'); ?></button>
59
+ <button type="button" class="button button-primary wpd-submit wpd-deactivate"><?php _e('Submit &amp; Deactivate'); ?><i class="fa fa-pulse fa-spinner wpd-loading wpdiscuz-hidden"></i></button>
60
+ </div>
61
+ </form>
62
+ <h2 class="wpdiscuz-thankyou wpdiscuz-hidden"><?php _e('Thank you for your feedback!', 'wpdiscuz'); ?></h2>
63
+ </div>
64
+ </div>
utils/functions.php CHANGED
@@ -12,3 +12,7 @@ if (file_exists($wpdiscuzWalkerThemePath)) {
12
  } else {
13
  include_once apply_filters('wpdiscuz_walker_include', WPDISCUZ_DIR_PATH . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'comment' . DIRECTORY_SEPARATOR . 'class.WpdiscuzWalker.php');
14
  }
 
 
 
 
12
  } else {
13
  include_once apply_filters('wpdiscuz_walker_include', WPDISCUZ_DIR_PATH . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'comment' . DIRECTORY_SEPARATOR . 'class.WpdiscuzWalker.php');
14
  }
15
+
16
+ function wpDiscuz(){
17
+ return WpdiscuzCore::getInstance();
18
+ }
utils/interface.WpDiscuzConstants.php CHANGED
@@ -8,6 +8,8 @@ interface WpDiscuzConstants {
8
  /* === OPTIONS SLUGS === */
9
  const OPTION_SLUG_OPTIONS = 'wc_options';
10
  const OPTION_SLUG_VERSION = 'wc_plugin_version';
 
 
11
  /* === OPTIONS SLUGS === */
12
  const PAGE_SETTINGS = 'wpdiscuz_options_page';
13
  const PAGE_PHRASES = 'wpdiscuz_phrases_page';
@@ -25,14 +27,16 @@ interface WpDiscuzConstants {
25
  const ACTION_CAPTCHA_NONCE = 'wpdiscuz_captcha_nonce_action';
26
  /* === TRANSIENT KEYS === */
27
  const TRS_POSTS_AUTHORS = 'wpdiscuz_posts_authors';
28
- /* === COOKIES === */
29
  const COOKIE_LAST_VISIT = 'wpdiscuz_last_visit';
30
- /* === CACHE === */
31
  const GRAVATARS_CACHE_DIR = '/wpdiscuz/cache/gravatars/';
32
  const GRAVATARS_CACHE_ADD_RECURRENCE = 3;
33
- const GRAVATARS_CACHE_ADD_KEY_RECURRENCE = 'wpdiscu_cache_add_every_3h';
34
  const GRAVATARS_CACHE_ADD_ACTION = 'wpdiscuz_gravatars_cache_add';
35
  const GRAVATARS_CACHE_DELETE_RECURRENCE = 48;
36
- const GRAVATARS_CACHE_DELETE_KEY_RECURRENCE = 'wpdiscu_cache_delete_every_48h';
37
  const GRAVATARS_CACHE_DELETE_ACTION = 'wpdiscuz_gravatars_cache_delete';
 
 
38
  }
8
  /* === OPTIONS SLUGS === */
9
  const OPTION_SLUG_OPTIONS = 'wc_options';
10
  const OPTION_SLUG_VERSION = 'wc_plugin_version';
11
+ const OPTION_SLUG_DEACTIVATION = 'wc_deactivation_modal_never_show';
12
+ const OPTION_SLUG_SHOW_DEMO = 'wc_show_addons_demo';
13
  /* === OPTIONS SLUGS === */
14
  const PAGE_SETTINGS = 'wpdiscuz_options_page';
15
  const PAGE_PHRASES = 'wpdiscuz_phrases_page';
27
  const ACTION_CAPTCHA_NONCE = 'wpdiscuz_captcha_nonce_action';
28
  /* === TRANSIENT KEYS === */
29
  const TRS_POSTS_AUTHORS = 'wpdiscuz_posts_authors';
30
+ /* === COOKIES === */
31
  const COOKIE_LAST_VISIT = 'wpdiscuz_last_visit';
32
+ /* === CACHE === */
33
  const GRAVATARS_CACHE_DIR = '/wpdiscuz/cache/gravatars/';
34
  const GRAVATARS_CACHE_ADD_RECURRENCE = 3;
35
+ const GRAVATARS_CACHE_ADD_KEY_RECURRENCE = 'wpdiscuz_cache_add_every_3h';
36
  const GRAVATARS_CACHE_ADD_ACTION = 'wpdiscuz_gravatars_cache_add';
37
  const GRAVATARS_CACHE_DELETE_RECURRENCE = 48;
38
+ const GRAVATARS_CACHE_DELETE_KEY_RECURRENCE = 'wpdiscuz_cache_delete_every_48h';
39
  const GRAVATARS_CACHE_DELETE_ACTION = 'wpdiscuz_gravatars_cache_delete';
40
+ /* === STICKY COMMENTS === */
41
+ const WPDISCUZ_STICKY_COMMENT = 'wpdiscuz_sticky';
42
  }