WP ULike - Version 4.6.2

Version Description

  • Improved: bbPress button display on main topic.
  • Improved: css conflicts with buddypress.
  • Fixed: myCred author points issue.
  • Fixed: Minor bug fixes.
Download this release

Release Info

Developer alimir
Plugin Icon 128x128 WP ULike
Version 4.6.2
Comparing to
See all releases

Code changes from version 4.6.1 to 4.6.2

admin/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WP ULike - v4.6.1
2
  * https://wpulike.com
3
  * TechnoWich 2022;
4
  */
1
+ /*! WP ULike - v4.6.2
2
  * https://wpulike.com
3
  * TechnoWich 2022;
4
  */
assets/css/wp-ulike.css CHANGED
@@ -11,26 +11,30 @@
11
  margin: 0;
12
  padding: 10px 0;
13
  }
14
- .wpulike .wp_ulike_btn {
 
 
 
 
15
  margin: 0;
16
  position: relative;
17
  display: inline-block;
18
  vertical-align: middle;
19
  border-radius: .25em;
20
  box-shadow: none;
21
- padding: 15px 25px;
22
  border: none;
23
  text-align: center;
24
- transition-property: none;
25
  cursor: pointer;
26
  }
27
- .wpulike .wp_ulike_btn:hover, .wpulike .wp_ulike_btn:active, .wpulike .wp_ulike_btn:focus {
28
  outline: none;
29
  }
30
- .wpulike .wp_ulike_btn::-moz-focus-inner {
31
  border: 0;
32
  }
33
- .wpulike .wp_ulike_btn[disabled=disabled]:hover, .wpulike .wp_ulike_btn[disabled=disabled]:active, .wpulike .wp_ulike_btn[disabled=disabled]:focus, .wpulike .wp_ulike_btn:disabled:hover, .wpulike .wp_ulike_btn:disabled:active, .wpulike .wp_ulike_btn:disabled:focus {
34
  outline: none;
35
  background-color: initial;
36
  }
@@ -41,10 +45,6 @@
41
  padding: 0 10px;
42
  min-width: 50px;
43
  }
44
- .wpulike .wp_ulike_general_class {
45
- display: inline-flex;
46
- align-items: center;
47
- }
48
  .wpulike .wp_ulike_is_loading .wp_ulike_btn {
49
  background-image: url(../img/svg/loader.svg);
50
  background-repeat: no-repeat;
@@ -53,7 +53,7 @@
53
  .wpulike .wp_ulike_is_loading .wp_ulike_btn span {
54
  visibility: hidden;
55
  }
56
- .wpulike .wp_ulike_is_loading .wp_ulike_btn.wp_ulike_put_image:after {
57
  content: none;
58
  }
59
  .wpulike.wpulike-hide-counter .count-box {
@@ -63,6 +63,26 @@
63
  display: none;
64
  }
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  .wp_ulike_click_is_disabled {
67
  pointer-events: none;
68
  cursor: default;
@@ -75,18 +95,18 @@
75
  /**
76
  * Default template
77
  */
78
- .wpulike-default .wp_ulike_btn {
79
  color: #616161;
80
  background-color: #e0e0e0;
81
  min-height: 30px;
82
  min-width: 50px;
83
  }
84
- .wpulike-default .wp_ulike_btn:hover, .wpulike-default .wp_ulike_btn:focus {
85
  color: #616161;
86
  background-color: #e0e0e0;
87
  text-decoration: none;
88
  }
89
- .wpulike-default .wp_ulike_btn[disabled=disabled]:hover, .wpulike-default .wp_ulike_btn[disabled=disabled]:active, .wpulike-default .wp_ulike_btn[disabled=disabled]:focus, .wpulike-default .wp_ulike_btn:disabled:hover, .wpulike-default .wp_ulike_btn:disabled:active, .wpulike-default .wp_ulike_btn:disabled:focus {
90
  background-color: #e0e0e0;
91
  }
92
  .wpulike-default .wp_ulike_is_liked .wp_ulike_btn {
@@ -137,32 +157,21 @@
137
  margin: 0;
138
  }
139
 
140
- #buddypress #activity-stream .activity-meta .wpulike,
141
- #buddypress #activity-stream .activity-comments .wpulike {
142
- display: flex;
143
- align-items: center;
144
- padding: 0;
145
- }
146
- #buddypress #activity-stream .activity-meta .wpulike-default .wp_ulike_btn,
147
- #buddypress #activity-stream .activity-comments .wpulike-default .wp_ulike_btn {
148
  border-radius: 0;
149
  background-color: #ffffff;
150
  box-shadow: 0 0 0 1px #bdbdbd inset;
151
  font-size: initial;
152
- padding: initial;
153
  }
154
- #buddypress #activity-stream .wp_ulike_likers_wrapper li,
155
- #buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker {
156
- border: none;
157
- padding: 0;
158
- }
159
- #buddypress #activity-stream .wp_ulike_likers_wrapper li a,
160
- #buddypress #activity-stream .wp_ulike_likers_wrapper li img,
161
- #buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker a,
162
- #buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker img {
163
- float: none;
164
- padding: 0;
165
- margin: 0;
166
  }
167
 
168
  /**
@@ -179,10 +188,11 @@
179
  font-weight: 600;
180
  color: #757575;
181
  }
182
- .wpulike-heart .wp_ulike_btn {
183
  background: transparent;
 
184
  }
185
- .wpulike-heart .wp_ulike_btn:hover, .wpulike-heart .wp_ulike_btn:focus {
186
  color: #757575;
187
  background-color: transparent;
188
  text-decoration: none;
@@ -198,6 +208,7 @@
198
  content: '';
199
  display: block;
200
  background: url(../img/svg/love.svg) no-repeat;
 
201
  background-size: contain;
202
  width: 20px;
203
  height: 20px;
@@ -221,24 +232,38 @@
221
  padding: 0 5px;
222
  }
223
 
224
- #buddypress #activity-stream .wpulike-heart .wp_ulike_btn {
225
- background: transparent;
 
 
226
  border: 0;
227
  font-size: initial;
228
- padding: initial;
229
  }
230
- #buddypress #activity-stream .wpulike-heart .wp_ulike_put_image {
 
 
231
  padding: 10px 15px;
232
  }
233
- #buddypress #activity-stream .wpulike-heart .wp_ulike_general_class {
 
 
 
 
 
 
 
 
234
  border-radius: 0;
235
- padding: 0.2em 0.5em;
236
  margin-bottom: 0;
237
  }
238
- #buddypress #activity-stream .activity-meta,
239
- #buddypress #activity-stream .acomment-options {
240
- display: flex;
241
- align-items: center;
 
 
242
  }
243
 
244
  /**
@@ -249,14 +274,14 @@
249
  padding: 0 14px;
250
  font-size: 16px;
251
  }
252
- .wpulike-robeen .wp_ulike_is_loading .wp_ulike_btn {
253
  background-image: initial;
254
  padding: 0;
255
  }
256
- .wpulike-robeen .wp_ulike_is_loading .wp_ulike_btn.wp_ulike_put_image:after {
257
  content: '';
258
  }
259
- .wpulike-robeen .wp_ulike_btn {
260
  width: 30px;
261
  height: 30px;
262
  overflow: hidden;
@@ -264,10 +289,10 @@
264
  border: 0;
265
  background: transparent;
266
  }
267
- .wpulike-robeen .wp_ulike_btn:hover, .wpulike-robeen .wp_ulike_btn:focus {
268
  background-color: transparent;
269
  }
270
- .wpulike-robeen .wp_ulike_btn:after {
271
  content: '';
272
  background: url(../img/icons/twitter-heart.png) no-repeat;
273
  background-position: 0 0;
@@ -280,10 +305,10 @@
280
  top: 50%;
281
  transform: translateX(-50%) translateY(-50%);
282
  }
283
- .wpulike-robeen .wp_ulike_btn.wp_ulike_btn_is_active {
284
  overflow: visible;
285
  }
286
- .wpulike-robeen .wp_ulike_btn.wp_ulike_btn_is_active:after {
287
  transition-duration: 1s;
288
  background-position: -2800px 0;
289
  }
@@ -302,10 +327,7 @@
302
  /**
303
  * Animated heart template
304
  */
305
- .wpulike-animated-heart .wp_ulike_is_loading .wp_ulike_btn {
306
- background-image: none;
307
- }
308
- .wpulike-animated-heart .wp_ulike_btn {
309
  position: relative;
310
  border-radius: 50em;
311
  background-color: #ffffff;
@@ -315,28 +337,35 @@
315
  width: 50px;
316
  height: 50px;
317
  }
318
- .wpulike-animated-heart .wp_ulike_btn:hover, .wpulike-animated-heart .wp_ulike_btn:focus {
319
  background-color: #ffffff;
320
  background-image: none;
321
  }
322
- .wpulike-animated-heart .wp_ulike_btn[disabled=disabled]:hover, .wpulike-animated-heart .wp_ulike_btn[disabled=disabled]:active, .wpulike-animated-heart .wp_ulike_btn[disabled=disabled]:focus, .wpulike-animated-heart .wp_ulike_btn:disabled:hover, .wpulike-animated-heart .wp_ulike_btn:disabled:active, .wpulike-animated-heart .wp_ulike_btn:disabled:focus {
323
  background-color: #ffffff;
324
  }
325
- .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active {
326
  background-color: #ff6f63;
327
  }
328
- .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:hover, .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:active, .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:focus, .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active:disabled:hover, .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active:disabled:active, .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active:disabled:focus {
329
  background-color: #ff6f63;
330
  }
331
- .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart {
332
  fill: #ffffff;
333
  }
334
- .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart-pop {
335
  animation-direction: normal;
336
  }
337
- .wpulike-animated-heart .wp_ulike_btn:active {
338
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
339
  }
 
 
 
 
 
 
 
340
  .wpulike-animated-heart .wpulike-svg-heart {
341
  width: 20px;
342
  fill: #ff6f63;
@@ -407,13 +436,18 @@
407
  vertical-align: middle;
408
  }
409
 
410
- #buddypress #activity-stream .wpulike-animated-heart .wp_ulike_btn {
 
 
411
  background: inherit;
412
  border: 0;
413
  width: 40px;
414
  height: 40px;
 
415
  }
416
- #buddypress #activity-stream .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active {
 
 
417
  background-color: #ff6f63;
418
  }
419
 
11
  margin: 0;
12
  padding: 10px 0;
13
  }
14
+ .wpulike .wp_ulike_general_class {
15
+ display: inline-flex;
16
+ align-items: center;
17
+ }
18
+ .wpulike button.wp_ulike_btn {
19
  margin: 0;
20
  position: relative;
21
  display: inline-block;
22
  vertical-align: middle;
23
  border-radius: .25em;
24
  box-shadow: none;
25
+ padding: 1em;
26
  border: none;
27
  text-align: center;
28
+ transition: none;
29
  cursor: pointer;
30
  }
31
+ .wpulike button.wp_ulike_btn:hover, .wpulike button.wp_ulike_btn:active, .wpulike button.wp_ulike_btn:focus {
32
  outline: none;
33
  }
34
+ .wpulike button.wp_ulike_btn::-moz-focus-inner {
35
  border: 0;
36
  }
37
+ .wpulike button.wp_ulike_btn[disabled=disabled]:hover, .wpulike button.wp_ulike_btn[disabled=disabled]:active, .wpulike button.wp_ulike_btn[disabled=disabled]:focus, .wpulike button.wp_ulike_btn:disabled:hover, .wpulike button.wp_ulike_btn:disabled:active, .wpulike button.wp_ulike_btn:disabled:focus {
38
  outline: none;
39
  background-color: initial;
40
  }
45
  padding: 0 10px;
46
  min-width: 50px;
47
  }
 
 
 
 
48
  .wpulike .wp_ulike_is_loading .wp_ulike_btn {
49
  background-image: url(../img/svg/loader.svg);
50
  background-repeat: no-repeat;
53
  .wpulike .wp_ulike_is_loading .wp_ulike_btn span {
54
  visibility: hidden;
55
  }
56
+ .wpulike .wp_ulike_is_loading .wp_ulike_btn.wp_ulike_put_image::after {
57
  content: none;
58
  }
59
  .wpulike.wpulike-hide-counter .count-box {
63
  display: none;
64
  }
65
 
66
+ #buddypress #activity-stream .activity-meta .wpulike,
67
+ #buddypress #activity-stream .activity-comments .wpulike,
68
+ #buddypress #activity-stream .activity-inner .wpulike {
69
+ display: inline-block;
70
+ vertical-align: super;
71
+ }
72
+ #buddypress #activity-stream .wp_ulike_likers_wrapper li,
73
+ #buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker {
74
+ border: none;
75
+ padding: 0;
76
+ }
77
+ #buddypress #activity-stream .wp_ulike_likers_wrapper li a,
78
+ #buddypress #activity-stream .wp_ulike_likers_wrapper li img,
79
+ #buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker a,
80
+ #buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker img {
81
+ float: none;
82
+ padding: 0;
83
+ margin: 0;
84
+ }
85
+
86
  .wp_ulike_click_is_disabled {
87
  pointer-events: none;
88
  cursor: default;
95
  /**
96
  * Default template
97
  */
98
+ .wpulike-default button.wp_ulike_btn {
99
  color: #616161;
100
  background-color: #e0e0e0;
101
  min-height: 30px;
102
  min-width: 50px;
103
  }
104
+ .wpulike-default button.wp_ulike_btn:hover, .wpulike-default button.wp_ulike_btn:focus {
105
  color: #616161;
106
  background-color: #e0e0e0;
107
  text-decoration: none;
108
  }
109
+ .wpulike-default button.wp_ulike_btn[disabled=disabled]:hover, .wpulike-default button.wp_ulike_btn[disabled=disabled]:active, .wpulike-default button.wp_ulike_btn[disabled=disabled]:focus, .wpulike-default button.wp_ulike_btn:disabled:hover, .wpulike-default button.wp_ulike_btn:disabled:active, .wpulike-default button.wp_ulike_btn:disabled:focus {
110
  background-color: #e0e0e0;
111
  }
112
  .wpulike-default .wp_ulike_is_liked .wp_ulike_btn {
157
  margin: 0;
158
  }
159
 
160
+ #buddypress #activity-stream .activity-meta .wpulike-default button.wp_ulike_btn,
161
+ #buddypress #activity-stream .activity-comments .wpulike-default button.wp_ulike_btn,
162
+ #buddypress #activity-stream .activity-inner .wpulike-default button.wp_ulike_btn {
 
 
 
 
 
163
  border-radius: 0;
164
  background-color: #ffffff;
165
  box-shadow: 0 0 0 1px #bdbdbd inset;
166
  font-size: initial;
167
+ padding: 1em;
168
  }
169
+ #buddypress #activity-stream .activity-meta .wpulike-default .wp_ulike_is_loading button.wp_ulike_btn,
170
+ #buddypress #activity-stream .activity-comments .wpulike-default .wp_ulike_is_loading button.wp_ulike_btn,
171
+ #buddypress #activity-stream .activity-inner .wpulike-default .wp_ulike_is_loading button.wp_ulike_btn {
172
+ background-image: url(../img/svg/loader.svg);
173
+ background-repeat: no-repeat;
174
+ background-position: center center;
 
 
 
 
 
 
175
  }
176
 
177
  /**
188
  font-weight: 600;
189
  color: #757575;
190
  }
191
+ .wpulike-heart button.wp_ulike_btn {
192
  background: transparent;
193
+ padding: 15px;
194
  }
195
+ .wpulike-heart button.wp_ulike_btn:hover, .wpulike-heart button.wp_ulike_btn:focus {
196
  color: #757575;
197
  background-color: transparent;
198
  text-decoration: none;
208
  content: '';
209
  display: block;
210
  background: url(../img/svg/love.svg) no-repeat;
211
+ background-position: center center;
212
  background-size: contain;
213
  width: 20px;
214
  height: 20px;
232
  padding: 0 5px;
233
  }
234
 
235
+ #buddypress #activity-stream .activity-meta .wpulike-heart .wp_ulike_btn,
236
+ #buddypress #activity-stream .activity-comments .wpulike-heart .wp_ulike_btn,
237
+ #buddypress #activity-stream .activity-inner .wpulike-heart .wp_ulike_btn {
238
+ background-color: transparent;
239
  border: 0;
240
  font-size: initial;
241
+ padding: 1em;
242
  }
243
+ #buddypress #activity-stream .activity-meta .wpulike-heart .wp_ulike_put_image,
244
+ #buddypress #activity-stream .activity-comments .wpulike-heart .wp_ulike_put_image,
245
+ #buddypress #activity-stream .activity-inner .wpulike-heart .wp_ulike_put_image {
246
  padding: 10px 15px;
247
  }
248
+ #buddypress #activity-stream .activity-meta .wpulike-heart .wp_ulike_put_image:after,
249
+ #buddypress #activity-stream .activity-comments .wpulike-heart .wp_ulike_put_image:after,
250
+ #buddypress #activity-stream .activity-inner .wpulike-heart .wp_ulike_put_image:after {
251
+ width: 17px;
252
+ height: 17px;
253
+ }
254
+ #buddypress #activity-stream .activity-meta .wpulike-heart .wp_ulike_general_class,
255
+ #buddypress #activity-stream .activity-comments .wpulike-heart .wp_ulike_general_class,
256
+ #buddypress #activity-stream .activity-inner .wpulike-heart .wp_ulike_general_class {
257
  border-radius: 0;
258
+ padding: 0.1em 0.3em;
259
  margin-bottom: 0;
260
  }
261
+ #buddypress #activity-stream .activity-meta .wpulike-heart .wp_ulike_is_loading .wp_ulike_btn,
262
+ #buddypress #activity-stream .activity-comments .wpulike-heart .wp_ulike_is_loading .wp_ulike_btn,
263
+ #buddypress #activity-stream .activity-inner .wpulike-heart .wp_ulike_is_loading .wp_ulike_btn {
264
+ background-image: url(../img/svg/loader.svg);
265
+ background-repeat: no-repeat;
266
+ background-position: center center;
267
  }
268
 
269
  /**
274
  padding: 0 14px;
275
  font-size: 16px;
276
  }
277
+ .wpulike-robeen .wp_ulike_is_loading button.wp_ulike_btn {
278
  background-image: initial;
279
  padding: 0;
280
  }
281
+ .wpulike-robeen .wp_ulike_is_loading button.wp_ulike_btn.wp_ulike_put_image:after {
282
  content: '';
283
  }
284
+ .wpulike-robeen button.wp_ulike_btn {
285
  width: 30px;
286
  height: 30px;
287
  overflow: hidden;
289
  border: 0;
290
  background: transparent;
291
  }
292
+ .wpulike-robeen button.wp_ulike_btn:hover, .wpulike-robeen button.wp_ulike_btn:focus {
293
  background-color: transparent;
294
  }
295
+ .wpulike-robeen button.wp_ulike_btn:after {
296
  content: '';
297
  background: url(../img/icons/twitter-heart.png) no-repeat;
298
  background-position: 0 0;
305
  top: 50%;
306
  transform: translateX(-50%) translateY(-50%);
307
  }
308
+ .wpulike-robeen button.wp_ulike_btn.wp_ulike_btn_is_active {
309
  overflow: visible;
310
  }
311
+ .wpulike-robeen button.wp_ulike_btn.wp_ulike_btn_is_active:after {
312
  transition-duration: 1s;
313
  background-position: -2800px 0;
314
  }
327
  /**
328
  * Animated heart template
329
  */
330
+ .wpulike-animated-heart button.wp_ulike_btn {
 
 
 
331
  position: relative;
332
  border-radius: 50em;
333
  background-color: #ffffff;
337
  width: 50px;
338
  height: 50px;
339
  }
340
+ .wpulike-animated-heart button.wp_ulike_btn:hover, .wpulike-animated-heart button.wp_ulike_btn:focus {
341
  background-color: #ffffff;
342
  background-image: none;
343
  }
344
+ .wpulike-animated-heart button.wp_ulike_btn[disabled=disabled]:hover, .wpulike-animated-heart button.wp_ulike_btn[disabled=disabled]:active, .wpulike-animated-heart button.wp_ulike_btn[disabled=disabled]:focus, .wpulike-animated-heart button.wp_ulike_btn:disabled:hover, .wpulike-animated-heart button.wp_ulike_btn:disabled:active, .wpulike-animated-heart button.wp_ulike_btn:disabled:focus {
345
  background-color: #ffffff;
346
  }
347
+ .wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active {
348
  background-color: #ff6f63;
349
  }
350
+ .wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:hover, .wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:active, .wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:focus, .wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active:disabled:hover, .wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active:disabled:active, .wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active:disabled:focus {
351
  background-color: #ff6f63;
352
  }
353
+ .wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart {
354
  fill: #ffffff;
355
  }
356
+ .wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart-pop {
357
  animation-direction: normal;
358
  }
359
+ .wpulike-animated-heart button.wp_ulike_btn:active {
360
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
361
  }
362
+ .wpulike-animated-heart .wp_ulike_is_loading button.wp_ulike_btn {
363
+ background-image: initial;
364
+ padding: 0;
365
+ }
366
+ .wpulike-animated-heart .wp_ulike_is_loading button.wp_ulike_btn.wp_ulike_put_image:after {
367
+ content: '';
368
+ }
369
  .wpulike-animated-heart .wpulike-svg-heart {
370
  width: 20px;
371
  fill: #ff6f63;
436
  vertical-align: middle;
437
  }
438
 
439
+ #buddypress #activity-stream .activity-meta .wpulike-animated-heart .wp_ulike_btn,
440
+ #buddypress #activity-stream .activity-comments .wpulike-animated-heart .wp_ulike_btn,
441
+ #buddypress #activity-stream .activity-inner .wpulike-animated-heart .wp_ulike_btn {
442
  background: inherit;
443
  border: 0;
444
  width: 40px;
445
  height: 40px;
446
+ border-radius: 50em;
447
  }
448
+ #buddypress #activity-stream .activity-meta .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active,
449
+ #buddypress #activity-stream .activity-comments .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active,
450
+ #buddypress #activity-stream .activity-inner .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active {
451
  background-color: #ff6f63;
452
  }
453
 
assets/css/wp-ulike.min.css CHANGED
@@ -3,4 +3,4 @@
3
  * WP ULike
4
  * @author Alimir [https://wordpress.org/plugins/wp-ulike/]
5
  ===============================================================
6
- */.wpulike{display:block;position:relative;line-height:normal;margin:0;padding:10px 0}.wpulike .wp_ulike_btn{margin:0;position:relative;display:inline-block;vertical-align:middle;border-radius:.25em;box-shadow:none;padding:15px 25px;border:none;text-align:center;transition-property:none;cursor:pointer}.wpulike .wp_ulike_btn:active,.wpulike .wp_ulike_btn:focus,.wpulike .wp_ulike_btn:hover{outline:0}.wpulike .wp_ulike_btn::-moz-focus-inner{border:0}.wpulike .wp_ulike_btn:disabled:active,.wpulike .wp_ulike_btn:disabled:focus,.wpulike .wp_ulike_btn:disabled:hover,.wpulike .wp_ulike_btn[disabled=disabled]:active,.wpulike .wp_ulike_btn[disabled=disabled]:focus,.wpulike .wp_ulike_btn[disabled=disabled]:hover{outline:0;background-color:initial}.wpulike .wp_ulike_put_text{font-size:14px;font-weight:600;line-height:28px;padding:0 10px;min-width:50px}.wpulike .wp_ulike_general_class{display:inline-flex;align-items:center}.wpulike .wp_ulike_is_loading .wp_ulike_btn{background-image:url(../img/svg/loader.svg);background-repeat:no-repeat;background-position:center center}.wpulike .wp_ulike_is_loading .wp_ulike_btn span{visibility:hidden}.wpulike .wp_ulike_is_loading .wp_ulike_btn.wp_ulike_put_image:after{content:none}.wpulike.wpulike-hide-counter .count-box{display:none}.wpulike .count-box:empty{display:none}.wp_ulike_click_is_disabled{pointer-events:none;cursor:default}.wp_ulike_hide_me{visibility:hidden}.wpulike-default .wp_ulike_btn{color:#616161;background-color:#e0e0e0;min-height:30px;min-width:50px}.wpulike-default .wp_ulike_btn:focus,.wpulike-default .wp_ulike_btn:hover{color:#616161;background-color:#e0e0e0;text-decoration:none}.wpulike-default .wp_ulike_btn:disabled:active,.wpulike-default .wp_ulike_btn:disabled:focus,.wpulike-default .wp_ulike_btn:disabled:hover,.wpulike-default .wp_ulike_btn[disabled=disabled]:active,.wpulike-default .wp_ulike_btn[disabled=disabled]:focus,.wpulike-default .wp_ulike_btn[disabled=disabled]:hover{background-color:#e0e0e0}.wpulike-default .wp_ulike_is_liked .wp_ulike_btn{color:#757575}.wpulike-default .wp_ulike_put_image:after{content:'';display:block;background:url(../img/svg/like.svg) no-repeat;background-size:contain;width:16px;height:16px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-default .wp_ulike_put_image.wp_ulike_btn_is_active:after{filter:invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%)}.wpulike-default .count-box{position:relative;border-radius:.25em;font-size:12px;text-decoration:none;background-color:#fff;margin-left:8px;line-height:28px;display:inline-block;padding:0 10px;box-shadow:0 0 0 1px #bdbdbd inset;color:#616161;vertical-align:middle;text-align:center}.wpulike-default .count-box:before{content:'';position:absolute;border:1px solid transparent;background:#fff;border-bottom-color:#bdbdbd;left:-5px;top:50%;border-left-color:#bdbdbd;transform:rotate(45deg) translatey(-50%);width:5px;height:5px;margin:0}#buddypress #activity-stream .activity-comments .wpulike,#buddypress #activity-stream .activity-meta .wpulike{display:flex;align-items:center;padding:0}#buddypress #activity-stream .activity-comments .wpulike-default .wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-default .wp_ulike_btn{border-radius:0;background-color:#fff;box-shadow:0 0 0 1px #bdbdbd inset;font-size:initial;padding:initial}#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker,#buddypress #activity-stream .wp_ulike_likers_wrapper li{border:none;padding:0}#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker a,#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker img,#buddypress #activity-stream .wp_ulike_likers_wrapper li a,#buddypress #activity-stream .wp_ulike_likers_wrapper li img{float:none;padding:0;margin:0}.wpulike-heart .wp_ulike_general_class{box-shadow:0 0 0 1px #bdbdbd inset;border-radius:.25em;padding:5px}.wpulike-heart .wp_ulike_put_text{padding:0 5px;text-transform:uppercase;font-weight:600;color:#757575}.wpulike-heart .wp_ulike_btn{background:0 0}.wpulike-heart .wp_ulike_btn:focus,.wpulike-heart .wp_ulike_btn:hover{color:#757575;background-color:transparent;text-decoration:none}.wpulike-heart .wp_ulike_put_image{background:0 0;padding:15px}.wpulike-heart .wp_ulike_put_image:disabled:active,.wpulike-heart .wp_ulike_put_image:disabled:focus,.wpulike-heart .wp_ulike_put_image:disabled:hover,.wpulike-heart .wp_ulike_put_image[disabled=disabled]:active,.wpulike-heart .wp_ulike_put_image[disabled=disabled]:focus,.wpulike-heart .wp_ulike_put_image[disabled=disabled]:hover{padding:15px}.wpulike-heart .wp_ulike_put_image:after{content:'';display:block;background:url(../img/svg/love.svg) no-repeat;background-size:contain;width:20px;height:20px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-heart .wp_ulike_put_image.wp_ulike_btn_is_active:after{filter:invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%)}.wpulike-heart .count-box{font-size:14px;text-decoration:none;line-height:28px;display:inline-block;color:#616161;text-align:center;font-weight:600;vertical-align:middle;padding:0 5px}#buddypress #activity-stream .wpulike-heart .wp_ulike_btn{background:0 0;border:0;font-size:initial;padding:initial}#buddypress #activity-stream .wpulike-heart .wp_ulike_put_image{padding:10px 15px}#buddypress #activity-stream .wpulike-heart .wp_ulike_general_class{border-radius:0;padding:.2em .5em;margin-bottom:0}#buddypress #activity-stream .acomment-options,#buddypress #activity-stream .activity-meta{display:flex;align-items:center}.wpulike-robeen .count-box{font-weight:600;padding:0 14px;font-size:16px}.wpulike-robeen .wp_ulike_is_loading .wp_ulike_btn{background-image:initial;padding:0}.wpulike-robeen .wp_ulike_is_loading .wp_ulike_btn.wp_ulike_put_image:after{content:''}.wpulike-robeen .wp_ulike_btn{width:30px;height:30px;overflow:hidden;padding:0;border:0;background:0 0}.wpulike-robeen .wp_ulike_btn:focus,.wpulike-robeen .wp_ulike_btn:hover{background-color:transparent}.wpulike-robeen .wp_ulike_btn:after{content:'';background:url(../img/icons/twitter-heart.png) no-repeat;background-position:0 0;transition:background-position 1s steps(28);transition-duration:0s;width:100px;height:100px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-robeen .wp_ulike_btn.wp_ulike_btn_is_active{overflow:visible}.wpulike-robeen .wp_ulike_btn.wp_ulike_btn_is_active:after{transition-duration:1s;background-position:-2800px 0}#buddypress #activity-stream .activity-comments .wpulike-robeen .wp_ulike_btn,#buddypress #activity-stream .activity-inner .wpulike-robeen .wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-robeen .wp_ulike_btn{background:0 0;border:0;width:30px;height:30px;border:0;padding:0}.wpulike-animated-heart .wp_ulike_is_loading .wp_ulike_btn{background-image:none}.wpulike-animated-heart .wp_ulike_btn{position:relative;border-radius:50em;background-color:#fff;padding:0;box-shadow:0 5px 30px rgba(255,111,99,.4);border:0;width:50px;height:50px}.wpulike-animated-heart .wp_ulike_btn:focus,.wpulike-animated-heart .wp_ulike_btn:hover{background-color:#fff;background-image:none}.wpulike-animated-heart .wp_ulike_btn:disabled:active,.wpulike-animated-heart .wp_ulike_btn:disabled:focus,.wpulike-animated-heart .wp_ulike_btn:disabled:hover,.wpulike-animated-heart .wp_ulike_btn[disabled=disabled]:active,.wpulike-animated-heart .wp_ulike_btn[disabled=disabled]:focus,.wpulike-animated-heart .wp_ulike_btn[disabled=disabled]:hover{background-color:#fff}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active{background-color:#ff6f63}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active:disabled:active,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active:disabled:focus,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active:disabled:hover,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:active,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:focus,.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:hover{background-color:#ff6f63}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart{fill:#ffffff}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart-pop{animation-direction:normal}.wpulike-animated-heart .wp_ulike_btn:active{box-shadow:0 0 4px 0 rgba(0,0,0,.25)}.wpulike-animated-heart .wpulike-svg-heart{width:20px;fill:#ff6f63;transition:fill .5s,transform .5s;pointer-events:none;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-animated-heart .wpulike-svg-heart-pop{position:absolute;width:30%;fill:#ff6f63;opacity:0;left:0;animation:popHearts 1s ease forwards reverse}.wpulike-animated-heart .wpulike-svg-heart-pop.one{left:1%;transform:rotate(-10deg);animation-delay:.45s}.wpulike-animated-heart .wpulike-svg-heart-pop.two{left:15%;transform:rotate(8deg);animation-delay:.25s}.wpulike-animated-heart .wpulike-svg-heart-pop.three{left:30%;transform:rotate(-5deg);animation-delay:0s}.wpulike-animated-heart .wpulike-svg-heart-pop.four{left:50%;transform:rotate(-8deg);animation-delay:.3s}.wpulike-animated-heart .wpulike-svg-heart-pop.five{left:60%;transform:rotate(-10deg);animation-delay:.9s}.wpulike-animated-heart .wpulike-svg-heart-pop.six{left:70%;transform:rotate(-8deg);animation-delay:.2s}.wpulike-animated-heart .wpulike-svg-heart-pop.seven{left:85%;transform:rotate(6deg);animation-delay:.35s}.wpulike-animated-heart .wpulike-svg-heart-pop.eight{left:90%;transform:rotate(-4deg);animation-delay:.5s}.wpulike-animated-heart .wpulike-svg-heart-pop.nine{left:95%;transform:rotate(8deg);animation-delay:.2s}.wpulike-animated-heart .count-box{margin:0 15px;color:#ff6f63;display:inline-block;vertical-align:middle}#buddypress #activity-stream .wpulike-animated-heart .wp_ulike_btn{background:inherit;border:0;width:40px;height:40px}#buddypress #activity-stream .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active{background-color:#ff6f63}@keyframes popHearts{0%{left:calc(50% - 7px);top:10px}20%{opacity:1}80%{top:-20px}100%{opacity:0}}.wp_ulike_likers_wrapper{margin:10px 0;flex:0 0 100%}.wp_ulike_likers_wrapper:empty{display:none}.wp_ulike_likers_wrapper .tiles,.wp_ulike_likers_wrapper .wp-ulike-likers-list{display:flex;align-items:center;flex-wrap:wrap;margin:0;padding:0}.wp_ulike_likers_wrapper .tiles .wp-ulike-liker,.wp_ulike_likers_wrapper .tiles li,.wp_ulike_likers_wrapper .wp-ulike-likers-list .wp-ulike-liker,.wp_ulike_likers_wrapper .wp-ulike-likers-list li{padding:3px;margin:0;list-style:none;display:block}.wp_ulike_likers_wrapper .tiles .wp-ulike-liker a>img,.wp_ulike_likers_wrapper .tiles li a>img,.wp_ulike_likers_wrapper .wp-ulike-likers-list .wp-ulike-liker a>img,.wp_ulike_likers_wrapper .wp-ulike-likers-list li a>img{border-radius:5px;display:block;border:0;box-shadow:none;position:relative}.ulf-tooltip .wp_ulike_likers_wrapper{margin:0}.most_liked_users{list-style-type:none!important;position:relative!important;margin:10px 0!important;padding:0!important}.most_liked_users li{display:inline-table!important;cursor:pointer!important;margin:0 2px!important}.most_liked_users li img{display:block!important;float:none!important}.most_liked_users li.inactive{visibility:hidden!important;opacity:0!important}.commentlist .tiles .avatar,.commentlist .wp-ulike-liker .avatar{left:0!important}.wp_ulike_thumbnail{vertical-align:middle;margin:0 10px 0 0}.most_liked_comment .avatar{vertical-align:middle;margin:0 10px 0 0}.wp_ulike_style_simple .wp_counter_span:before{content:"("}.wp_ulike_style_simple .wp_counter_span:after{content:")"}.wp_ulike_style_love .wp_counter_span{float:right;display:inline-block;background:#f1f1f1 url(../img/icons/heart.png) 5px center no-repeat;color:#333;font-size:9px;line-height:17px;font-weight:400;margin:2px 0 0 2px;vertical-align:middle;border-radius:10px;padding:0 5px 0 23px;z-index:26}.wpulike-notification{position:fixed;z-index:999999;pointer-events:none;right:20px;bottom:20px}.wpulike-notification *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.wpulike-notification .wpulike-message{position:relative;pointer-events:auto;word-wrap:break-word;overflow:hidden;margin:0 0 6px;padding:14px 15px 14px 65px;width:290px;border-radius:3px;background-color:#007bc3;color:#fff;animation:wpUlikeNotifitcationsAnimation .2s backwards;box-shadow:0 3px 5px rgba(0,0,0,.08);font-size:.9rem;font-weight:500;line-height:normal}.wpulike-notification .wpulike-message:hover{opacity:.9;cursor:pointer}.wpulike-notification .wpulike-message:before{content:"";background-position:center center;background-repeat:no-repeat;background-image:url(../img/svg/info.svg);background-size:25px;position:absolute;left:0;width:50px;top:0;height:100%;background-color:rgba(0,0,0,.06)}.wpulike-notification .wpulike-message.wpulike-success{background-color:#20a779}.wpulike-notification .wpulike-message.wpulike-success:before{background-image:url(../img/svg/success.svg)}.wpulike-notification .wpulike-message.wpulike-error{background-color:#ec4d2c}.wpulike-notification .wpulike-message.wpulike-error:before{background-image:url(../img/svg/error.svg)}.wpulike-notification .wpulike-message.wpulike-warning{background-color:#f0a82f}.wpulike-notification .wpulike-message.wpulike-warning:before{background-image:url(../img/svg/warning.svg)}@keyframes wpUlikeNotifitcationsAnimation{from{opacity:0;transform:translateY(100%)}to{opacity:.8;transform:translateY(0)}}@media screen and (max-width:768px){.wpulike-notification .wpulike-message{padding:11px 11px 11px 55px;font-size:13px}.wpulike-notification .wpulike-message:before{background-size:25px;width:45px}}@media screen and (max-width:320px){.wpulike-notification{left:10px;right:10px}.wpulike-notification .wpulike-message{padding:9px 9px 9px 45px;font-size:12px;width:100%}.wpulike-notification .wpulike-message:before{background-size:15px;width:35px}}.ulf-tooltip{max-width:360px;position:absolute;z-index:999999;background:#444;border-radius:5px;padding:10px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;top:0;left:0}.ulf-centered{position:fixed;top:50%;left:50%}.ulf-content{margin:5px 20px 5px 10px;font-size:1em;line-height:1.6em;text-align:center;color:#fff;font-weight:800}.ulf-arrow{border:15px solid rgba(232,232,232,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;margin-left:-15px}.ulf-arrow-top{border-bottom-color:#444;bottom:100%;left:50%;top:auto;right:auto}.ulf-arrow-bottom{border-top-color:#444;top:100%;left:50%;bottom:auto;right:auto}.ulf-arrow-left{border-right-color:#444;border-width:15px;left:-14px;right:auto;bottom:auto;top:50%;margin-top:-15px}.ulf-arrow-right{border-left-color:#444;right:-29px;left:auto;bottom:auto;border-width:15px;top:50%;margin-top:-15px}.ulf-arrow-hug-left{left:30px;right:auto}.ulf-arrow-hug-right{right:30px;left:auto}.ulf-arrow-hug-left.ulf-arrow-super-hug{left:15px;right:auto}.ulf-arrow-hug-right.ulf-arrow-super-hug{right:1px;left:auto}.ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{top:-30px}.ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{top:auto;bottom:-30px}.ulf-tiny .ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny .ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-21px}.ulf-black-theme .ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-black-theme .ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{top:-27px}.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-28px}.ulf-white-theme{background:#fff;border:2px solid #e4e4e4}.ulf-white-theme .ulf-content{color:#333}.ulf-white-theme .ulf-arrow-top{border-bottom-color:#e4e4e4}.ulf-white-theme .ulf-arrow-bottom{border-top-color:#e4e4e4}.ulf-white-theme .ulf-arrow-left{border-right-color:#e4e4e4}.ulf-white-theme .ulf-arrow-right{border-left-color:#e4e4e4}.ulf-large{font-size:18px}.ulf-medium{font-size:14px}.ulf-small{font-size:12px;padding:5px}.ulf-small .ulf-content{margin:2px 8px;line-height:1.9em}.ulf-tiny{padding:2px 5px;font-size:10px}.ulf-tiny .ulf-content{margin:3px}.ulf-tiny .ulf-button{margin:0 3px}.ulf-tiny .ulf-arrow{border-width:10px;margin-left:-10px}.ulf-tiny .ulf-arrow-left{left:-10px;margin-top:-10px}.ulf-tiny .ulf-arrow-right{right:-20px;margin-top:-10px}.ulf-tiny .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny .ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug{left:11px}.ulf-tiny .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug,.ulf-tiny .ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{right:1px}.ulf-tiny.ulf-white-theme .ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny.ulf-white-theme .ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{top:-18px}.ulf-tiny.ulf-white-theme .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny.ulf-white-theme .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-21px}.ulf-tiny.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-18px}/*!>>>>>>>>>>>>>>>>>>>>>>> #RTL <<<<<<<<<<<<<<<<<<<<<<<<<<< */.rtl .wpulike-default .count-box{margin-right:8px;margin-left:inherit}.rtl .wpulike-default .count-box:before{right:-1px;left:auto;border-color:#bdbdbd #bdbdbd transparent transparent}.rtl .commentlist .tiles .avatar{left:inherit!important;right:0!important}.rtl .wp_ulike_thumbnail{margin:0 0 0 10px}.rtl .most_liked_comment .avatar{margin:0 0 0 10px}.rtl .wp_ulike_style_love .wp_counter_span{float:left;background:#f1f1f1 url(../img/icons/heart.png) no-repeat scroll 85% center;margin:2px 2px 0 0;padding:0 23px 0 5px}.rtl .wpulike-notification{left:20px;right:inherit}.rtl .wpulike-notification .wpulike-message{padding:14px 65px 14px 15px}.rtl .wpulike-notification .wpulike-message:before{left:auto;right:0}@media screen and (max-width:768px){.rtl .wpulike-notification .wpulike-message{padding:11px 55px 11px 11px}}@media screen and (max-width:320px){.rtl .wpulike-notification{left:10px;right:10px}.rtl .wpulike-notification .wpulike-message{padding:9px 45px 9px 9px}}
3
  * WP ULike
4
  * @author Alimir [https://wordpress.org/plugins/wp-ulike/]
5
  ===============================================================
6
+ */.wpulike{display:block;position:relative;line-height:normal;margin:0;padding:10px 0}.wpulike .wp_ulike_general_class{display:inline-flex;align-items:center}.wpulike button.wp_ulike_btn{margin:0;position:relative;display:inline-block;vertical-align:middle;border-radius:.25em;box-shadow:none;padding:1em;border:none;text-align:center;transition:none;cursor:pointer}.wpulike button.wp_ulike_btn:active,.wpulike button.wp_ulike_btn:focus,.wpulike button.wp_ulike_btn:hover{outline:0}.wpulike button.wp_ulike_btn::-moz-focus-inner{border:0}.wpulike button.wp_ulike_btn:disabled:active,.wpulike button.wp_ulike_btn:disabled:focus,.wpulike button.wp_ulike_btn:disabled:hover,.wpulike button.wp_ulike_btn[disabled=disabled]:active,.wpulike button.wp_ulike_btn[disabled=disabled]:focus,.wpulike button.wp_ulike_btn[disabled=disabled]:hover{outline:0;background-color:initial}.wpulike .wp_ulike_put_text{font-size:14px;font-weight:600;line-height:28px;padding:0 10px;min-width:50px}.wpulike .wp_ulike_is_loading .wp_ulike_btn{background-image:url(../img/svg/loader.svg);background-repeat:no-repeat;background-position:center center}.wpulike .wp_ulike_is_loading .wp_ulike_btn span{visibility:hidden}.wpulike .wp_ulike_is_loading .wp_ulike_btn.wp_ulike_put_image::after{content:none}.wpulike.wpulike-hide-counter .count-box{display:none}.wpulike .count-box:empty{display:none}#buddypress #activity-stream .activity-comments .wpulike,#buddypress #activity-stream .activity-inner .wpulike,#buddypress #activity-stream .activity-meta .wpulike{display:inline-block;vertical-align:super}#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker,#buddypress #activity-stream .wp_ulike_likers_wrapper li{border:none;padding:0}#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker a,#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker img,#buddypress #activity-stream .wp_ulike_likers_wrapper li a,#buddypress #activity-stream .wp_ulike_likers_wrapper li img{float:none;padding:0;margin:0}.wp_ulike_click_is_disabled{pointer-events:none;cursor:default}.wp_ulike_hide_me{visibility:hidden}.wpulike-default button.wp_ulike_btn{color:#616161;background-color:#e0e0e0;min-height:30px;min-width:50px}.wpulike-default button.wp_ulike_btn:focus,.wpulike-default button.wp_ulike_btn:hover{color:#616161;background-color:#e0e0e0;text-decoration:none}.wpulike-default button.wp_ulike_btn:disabled:active,.wpulike-default button.wp_ulike_btn:disabled:focus,.wpulike-default button.wp_ulike_btn:disabled:hover,.wpulike-default button.wp_ulike_btn[disabled=disabled]:active,.wpulike-default button.wp_ulike_btn[disabled=disabled]:focus,.wpulike-default button.wp_ulike_btn[disabled=disabled]:hover{background-color:#e0e0e0}.wpulike-default .wp_ulike_is_liked .wp_ulike_btn{color:#757575}.wpulike-default .wp_ulike_put_image:after{content:'';display:block;background:url(../img/svg/like.svg) no-repeat;background-size:contain;width:16px;height:16px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-default .wp_ulike_put_image.wp_ulike_btn_is_active:after{filter:invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%)}.wpulike-default .count-box{position:relative;border-radius:.25em;font-size:12px;text-decoration:none;background-color:#fff;margin-left:8px;line-height:28px;display:inline-block;padding:0 10px;box-shadow:0 0 0 1px #bdbdbd inset;color:#616161;vertical-align:middle;text-align:center}.wpulike-default .count-box:before{content:'';position:absolute;border:1px solid transparent;background:#fff;border-bottom-color:#bdbdbd;left:-5px;top:50%;border-left-color:#bdbdbd;transform:rotate(45deg) translatey(-50%);width:5px;height:5px;margin:0}#buddypress #activity-stream .activity-comments .wpulike-default button.wp_ulike_btn,#buddypress #activity-stream .activity-inner .wpulike-default button.wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-default button.wp_ulike_btn{border-radius:0;background-color:#fff;box-shadow:0 0 0 1px #bdbdbd inset;font-size:initial;padding:1em}#buddypress #activity-stream .activity-comments .wpulike-default .wp_ulike_is_loading button.wp_ulike_btn,#buddypress #activity-stream .activity-inner .wpulike-default .wp_ulike_is_loading button.wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-default .wp_ulike_is_loading button.wp_ulike_btn{background-image:url(../img/svg/loader.svg);background-repeat:no-repeat;background-position:center center}.wpulike-heart .wp_ulike_general_class{box-shadow:0 0 0 1px #bdbdbd inset;border-radius:.25em;padding:5px}.wpulike-heart .wp_ulike_put_text{padding:0 5px;text-transform:uppercase;font-weight:600;color:#757575}.wpulike-heart button.wp_ulike_btn{background:0 0;padding:15px}.wpulike-heart button.wp_ulike_btn:focus,.wpulike-heart button.wp_ulike_btn:hover{color:#757575;background-color:transparent;text-decoration:none}.wpulike-heart .wp_ulike_put_image{background:0 0;padding:15px}.wpulike-heart .wp_ulike_put_image:disabled:active,.wpulike-heart .wp_ulike_put_image:disabled:focus,.wpulike-heart .wp_ulike_put_image:disabled:hover,.wpulike-heart .wp_ulike_put_image[disabled=disabled]:active,.wpulike-heart .wp_ulike_put_image[disabled=disabled]:focus,.wpulike-heart .wp_ulike_put_image[disabled=disabled]:hover{padding:15px}.wpulike-heart .wp_ulike_put_image:after{content:'';display:block;background:url(../img/svg/love.svg) no-repeat;background-position:center center;background-size:contain;width:20px;height:20px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-heart .wp_ulike_put_image.wp_ulike_btn_is_active:after{filter:invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%)}.wpulike-heart .count-box{font-size:14px;text-decoration:none;line-height:28px;display:inline-block;color:#616161;text-align:center;font-weight:600;vertical-align:middle;padding:0 5px}#buddypress #activity-stream .activity-comments .wpulike-heart .wp_ulike_btn,#buddypress #activity-stream .activity-inner .wpulike-heart .wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-heart .wp_ulike_btn{background-color:transparent;border:0;font-size:initial;padding:1em}#buddypress #activity-stream .activity-comments .wpulike-heart .wp_ulike_put_image,#buddypress #activity-stream .activity-inner .wpulike-heart .wp_ulike_put_image,#buddypress #activity-stream .activity-meta .wpulike-heart .wp_ulike_put_image{padding:10px 15px}#buddypress #activity-stream .activity-comments .wpulike-heart .wp_ulike_put_image:after,#buddypress #activity-stream .activity-inner .wpulike-heart .wp_ulike_put_image:after,#buddypress #activity-stream .activity-meta .wpulike-heart .wp_ulike_put_image:after{width:17px;height:17px}#buddypress #activity-stream .activity-comments .wpulike-heart .wp_ulike_general_class,#buddypress #activity-stream .activity-inner .wpulike-heart .wp_ulike_general_class,#buddypress #activity-stream .activity-meta .wpulike-heart .wp_ulike_general_class{border-radius:0;padding:.1em .3em;margin-bottom:0}#buddypress #activity-stream .activity-comments .wpulike-heart .wp_ulike_is_loading .wp_ulike_btn,#buddypress #activity-stream .activity-inner .wpulike-heart .wp_ulike_is_loading .wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-heart .wp_ulike_is_loading .wp_ulike_btn{background-image:url(../img/svg/loader.svg);background-repeat:no-repeat;background-position:center center}.wpulike-robeen .count-box{font-weight:600;padding:0 14px;font-size:16px}.wpulike-robeen .wp_ulike_is_loading button.wp_ulike_btn{background-image:initial;padding:0}.wpulike-robeen .wp_ulike_is_loading button.wp_ulike_btn.wp_ulike_put_image:after{content:''}.wpulike-robeen button.wp_ulike_btn{width:30px;height:30px;overflow:hidden;padding:0;border:0;background:0 0}.wpulike-robeen button.wp_ulike_btn:focus,.wpulike-robeen button.wp_ulike_btn:hover{background-color:transparent}.wpulike-robeen button.wp_ulike_btn:after{content:'';background:url(../img/icons/twitter-heart.png) no-repeat;background-position:0 0;transition:background-position 1s steps(28);transition-duration:0s;width:100px;height:100px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-robeen button.wp_ulike_btn.wp_ulike_btn_is_active{overflow:visible}.wpulike-robeen button.wp_ulike_btn.wp_ulike_btn_is_active:after{transition-duration:1s;background-position:-2800px 0}#buddypress #activity-stream .activity-comments .wpulike-robeen .wp_ulike_btn,#buddypress #activity-stream .activity-inner .wpulike-robeen .wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-robeen .wp_ulike_btn{background:0 0;border:0;width:30px;height:30px;border:0;padding:0}.wpulike-animated-heart button.wp_ulike_btn{position:relative;border-radius:50em;background-color:#fff;padding:0;box-shadow:0 5px 30px rgba(255,111,99,.4);border:0;width:50px;height:50px}.wpulike-animated-heart button.wp_ulike_btn:focus,.wpulike-animated-heart button.wp_ulike_btn:hover{background-color:#fff;background-image:none}.wpulike-animated-heart button.wp_ulike_btn:disabled:active,.wpulike-animated-heart button.wp_ulike_btn:disabled:focus,.wpulike-animated-heart button.wp_ulike_btn:disabled:hover,.wpulike-animated-heart button.wp_ulike_btn[disabled=disabled]:active,.wpulike-animated-heart button.wp_ulike_btn[disabled=disabled]:focus,.wpulike-animated-heart button.wp_ulike_btn[disabled=disabled]:hover{background-color:#fff}.wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active{background-color:#ff6f63}.wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active:disabled:active,.wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active:disabled:focus,.wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active:disabled:hover,.wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:active,.wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:focus,.wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active[disabled=disabled]:hover{background-color:#ff6f63}.wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart{fill:#ffffff}.wpulike-animated-heart button.wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart-pop{animation-direction:normal}.wpulike-animated-heart button.wp_ulike_btn:active{box-shadow:0 0 4px 0 rgba(0,0,0,.25)}.wpulike-animated-heart .wp_ulike_is_loading button.wp_ulike_btn{background-image:initial;padding:0}.wpulike-animated-heart .wp_ulike_is_loading button.wp_ulike_btn.wp_ulike_put_image:after{content:''}.wpulike-animated-heart .wpulike-svg-heart{width:20px;fill:#ff6f63;transition:fill .5s,transform .5s;pointer-events:none;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-animated-heart .wpulike-svg-heart-pop{position:absolute;width:30%;fill:#ff6f63;opacity:0;left:0;animation:popHearts 1s ease forwards reverse}.wpulike-animated-heart .wpulike-svg-heart-pop.one{left:1%;transform:rotate(-10deg);animation-delay:.45s}.wpulike-animated-heart .wpulike-svg-heart-pop.two{left:15%;transform:rotate(8deg);animation-delay:.25s}.wpulike-animated-heart .wpulike-svg-heart-pop.three{left:30%;transform:rotate(-5deg);animation-delay:0s}.wpulike-animated-heart .wpulike-svg-heart-pop.four{left:50%;transform:rotate(-8deg);animation-delay:.3s}.wpulike-animated-heart .wpulike-svg-heart-pop.five{left:60%;transform:rotate(-10deg);animation-delay:.9s}.wpulike-animated-heart .wpulike-svg-heart-pop.six{left:70%;transform:rotate(-8deg);animation-delay:.2s}.wpulike-animated-heart .wpulike-svg-heart-pop.seven{left:85%;transform:rotate(6deg);animation-delay:.35s}.wpulike-animated-heart .wpulike-svg-heart-pop.eight{left:90%;transform:rotate(-4deg);animation-delay:.5s}.wpulike-animated-heart .wpulike-svg-heart-pop.nine{left:95%;transform:rotate(8deg);animation-delay:.2s}.wpulike-animated-heart .count-box{margin:0 15px;color:#ff6f63;display:inline-block;vertical-align:middle}#buddypress #activity-stream .activity-comments .wpulike-animated-heart .wp_ulike_btn,#buddypress #activity-stream .activity-inner .wpulike-animated-heart .wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-animated-heart .wp_ulike_btn{background:inherit;border:0;width:40px;height:40px;border-radius:50em}#buddypress #activity-stream .activity-comments .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active,#buddypress #activity-stream .activity-inner .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active,#buddypress #activity-stream .activity-meta .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active{background-color:#ff6f63}@keyframes popHearts{0%{left:calc(50% - 7px);top:10px}20%{opacity:1}80%{top:-20px}100%{opacity:0}}.wp_ulike_likers_wrapper{margin:10px 0;flex:0 0 100%}.wp_ulike_likers_wrapper:empty{display:none}.wp_ulike_likers_wrapper .tiles,.wp_ulike_likers_wrapper .wp-ulike-likers-list{display:flex;align-items:center;flex-wrap:wrap;margin:0;padding:0}.wp_ulike_likers_wrapper .tiles .wp-ulike-liker,.wp_ulike_likers_wrapper .tiles li,.wp_ulike_likers_wrapper .wp-ulike-likers-list .wp-ulike-liker,.wp_ulike_likers_wrapper .wp-ulike-likers-list li{padding:3px;margin:0;list-style:none;display:block}.wp_ulike_likers_wrapper .tiles .wp-ulike-liker a>img,.wp_ulike_likers_wrapper .tiles li a>img,.wp_ulike_likers_wrapper .wp-ulike-likers-list .wp-ulike-liker a>img,.wp_ulike_likers_wrapper .wp-ulike-likers-list li a>img{border-radius:5px;display:block;border:0;box-shadow:none;position:relative}.ulf-tooltip .wp_ulike_likers_wrapper{margin:0}.most_liked_users{list-style-type:none!important;position:relative!important;margin:10px 0!important;padding:0!important}.most_liked_users li{display:inline-table!important;cursor:pointer!important;margin:0 2px!important}.most_liked_users li img{display:block!important;float:none!important}.most_liked_users li.inactive{visibility:hidden!important;opacity:0!important}.commentlist .tiles .avatar,.commentlist .wp-ulike-liker .avatar{left:0!important}.wp_ulike_thumbnail{vertical-align:middle;margin:0 10px 0 0}.most_liked_comment .avatar{vertical-align:middle;margin:0 10px 0 0}.wp_ulike_style_simple .wp_counter_span:before{content:"("}.wp_ulike_style_simple .wp_counter_span:after{content:")"}.wp_ulike_style_love .wp_counter_span{float:right;display:inline-block;background:#f1f1f1 url(../img/icons/heart.png) 5px center no-repeat;color:#333;font-size:9px;line-height:17px;font-weight:400;margin:2px 0 0 2px;vertical-align:middle;border-radius:10px;padding:0 5px 0 23px;z-index:26}.wpulike-notification{position:fixed;z-index:999999;pointer-events:none;right:20px;bottom:20px}.wpulike-notification *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.wpulike-notification .wpulike-message{position:relative;pointer-events:auto;word-wrap:break-word;overflow:hidden;margin:0 0 6px;padding:14px 15px 14px 65px;width:290px;border-radius:3px;background-color:#007bc3;color:#fff;animation:wpUlikeNotifitcationsAnimation .2s backwards;box-shadow:0 3px 5px rgba(0,0,0,.08);font-size:.9rem;font-weight:500;line-height:normal}.wpulike-notification .wpulike-message:hover{opacity:.9;cursor:pointer}.wpulike-notification .wpulike-message:before{content:"";background-position:center center;background-repeat:no-repeat;background-image:url(../img/svg/info.svg);background-size:25px;position:absolute;left:0;width:50px;top:0;height:100%;background-color:rgba(0,0,0,.06)}.wpulike-notification .wpulike-message.wpulike-success{background-color:#20a779}.wpulike-notification .wpulike-message.wpulike-success:before{background-image:url(../img/svg/success.svg)}.wpulike-notification .wpulike-message.wpulike-error{background-color:#ec4d2c}.wpulike-notification .wpulike-message.wpulike-error:before{background-image:url(../img/svg/error.svg)}.wpulike-notification .wpulike-message.wpulike-warning{background-color:#f0a82f}.wpulike-notification .wpulike-message.wpulike-warning:before{background-image:url(../img/svg/warning.svg)}@keyframes wpUlikeNotifitcationsAnimation{from{opacity:0;transform:translateY(100%)}to{opacity:.8;transform:translateY(0)}}@media screen and (max-width:768px){.wpulike-notification .wpulike-message{padding:11px 11px 11px 55px;font-size:13px}.wpulike-notification .wpulike-message:before{background-size:25px;width:45px}}@media screen and (max-width:320px){.wpulike-notification{left:10px;right:10px}.wpulike-notification .wpulike-message{padding:9px 9px 9px 45px;font-size:12px;width:100%}.wpulike-notification .wpulike-message:before{background-size:15px;width:35px}}.ulf-tooltip{max-width:360px;position:absolute;z-index:999999;background:#444;border-radius:5px;padding:10px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;top:0;left:0}.ulf-centered{position:fixed;top:50%;left:50%}.ulf-content{margin:5px 20px 5px 10px;font-size:1em;line-height:1.6em;text-align:center;color:#fff;font-weight:800}.ulf-arrow{border:15px solid rgba(232,232,232,0);content:" ";height:0;width:0;position:absolute;pointer-events:none;margin-left:-15px}.ulf-arrow-top{border-bottom-color:#444;bottom:100%;left:50%;top:auto;right:auto}.ulf-arrow-bottom{border-top-color:#444;top:100%;left:50%;bottom:auto;right:auto}.ulf-arrow-left{border-right-color:#444;border-width:15px;left:-14px;right:auto;bottom:auto;top:50%;margin-top:-15px}.ulf-arrow-right{border-left-color:#444;right:-29px;left:auto;bottom:auto;border-width:15px;top:50%;margin-top:-15px}.ulf-arrow-hug-left{left:30px;right:auto}.ulf-arrow-hug-right{right:30px;left:auto}.ulf-arrow-hug-left.ulf-arrow-super-hug{left:15px;right:auto}.ulf-arrow-hug-right.ulf-arrow-super-hug{right:1px;left:auto}.ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{top:-30px}.ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{top:auto;bottom:-30px}.ulf-tiny .ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny .ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-21px}.ulf-black-theme .ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-black-theme .ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{top:-27px}.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-28px}.ulf-white-theme{background:#fff;border:2px solid #e4e4e4}.ulf-white-theme .ulf-content{color:#333}.ulf-white-theme .ulf-arrow-top{border-bottom-color:#e4e4e4}.ulf-white-theme .ulf-arrow-bottom{border-top-color:#e4e4e4}.ulf-white-theme .ulf-arrow-left{border-right-color:#e4e4e4}.ulf-white-theme .ulf-arrow-right{border-left-color:#e4e4e4}.ulf-large{font-size:18px}.ulf-medium{font-size:14px}.ulf-small{font-size:12px;padding:5px}.ulf-small .ulf-content{margin:2px 8px;line-height:1.9em}.ulf-tiny{padding:2px 5px;font-size:10px}.ulf-tiny .ulf-content{margin:3px}.ulf-tiny .ulf-button{margin:0 3px}.ulf-tiny .ulf-arrow{border-width:10px;margin-left:-10px}.ulf-tiny .ulf-arrow-left{left:-10px;margin-top:-10px}.ulf-tiny .ulf-arrow-right{right:-20px;margin-top:-10px}.ulf-tiny .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny .ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug{left:11px}.ulf-tiny .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug,.ulf-tiny .ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{right:1px}.ulf-tiny.ulf-white-theme .ulf-arrow-top.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny.ulf-white-theme .ulf-arrow-top.ulf-arrow-hug-right.ulf-arrow-super-hug{top:-18px}.ulf-tiny.ulf-white-theme .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny.ulf-white-theme .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-21px}.ulf-tiny.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-left.ulf-arrow-super-hug,.ulf-tiny.ulf-black-theme .ulf-arrow-bottom.ulf-arrow-hug-right.ulf-arrow-super-hug{bottom:-18px}/*!>>>>>>>>>>>>>>>>>>>>>>> #RTL <<<<<<<<<<<<<<<<<<<<<<<<<<< */.rtl .wpulike-default .count-box{margin-right:8px;margin-left:inherit}.rtl .wpulike-default .count-box:before{right:-1px;left:auto;border-color:#bdbdbd #bdbdbd transparent transparent}.rtl .commentlist .tiles .avatar{left:inherit!important;right:0!important}.rtl .wp_ulike_thumbnail{margin:0 0 0 10px}.rtl .most_liked_comment .avatar{margin:0 0 0 10px}.rtl .wp_ulike_style_love .wp_counter_span{float:left;background:#f1f1f1 url(../img/icons/heart.png) no-repeat scroll 85% center;margin:2px 2px 0 0;padding:0 23px 0 5px}.rtl .wpulike-notification{left:20px;right:inherit}.rtl .wpulike-notification .wpulike-message{padding:14px 65px 14px 15px}.rtl .wpulike-notification .wpulike-message:before{left:auto;right:0}@media screen and (max-width:768px){.rtl .wpulike-notification .wpulike-message{padding:11px 55px 11px 11px}}@media screen and (max-width:320px){.rtl .wpulike-notification{left:10px;right:10px}.rtl .wpulike-notification .wpulike-message{padding:9px 45px 9px 9px}}
assets/js/wp-ulike.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WP ULike - v4.6.1
2
  * https://wpulike.com
3
  * TechnoWich 2022;
4
  */
1
+ /*! WP ULike - v4.6.2
2
  * https://wpulike.com
3
  * TechnoWich 2022;
4
  */
assets/js/wp-ulike.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WP ULike - v4.6.1
2
  * https://wpulike.com
3
  * TechnoWich 2022;
4
  */
1
+ /*! WP ULike - v4.6.2
2
  * https://wpulike.com
3
  * TechnoWich 2022;
4
  */
includes/classes/class-wp-ulike-mycred.php CHANGED
@@ -112,7 +112,7 @@ if ( class_exists( 'myCRED_Hook' ) ) :
112
  // If not over limit
113
  if ( ! $this->over_hook_limit( 'get_like', 'wp_get_like', $author_id ) ) {
114
  // Make sure this is unique event
115
- if ( ! $this->core->has_entry( 'wp_get_like', $id, $author_id ) ) {
116
  // Execute
117
  $this->core->add_creds(
118
  'wp_get_like',
@@ -168,7 +168,7 @@ if ( class_exists( 'myCRED_Hook' ) ) :
168
  // If not over limit
169
  if ( ! $this->over_hook_limit( 'get_unlike', 'wp_get_unlike', $author_id ) ) {
170
  // Make sure this is unique event
171
- if ( ! $this->core->has_entry( 'wp_get_unlike', $id, $author_id ) ) {
172
  // Execute
173
  $this->core->add_creds(
174
  'wp_get_unlike',
@@ -237,119 +237,155 @@ if ( class_exists( 'myCRED_Hook' ) ) :
237
  $prefs = $this->prefs;
238
 
239
  ?>
240
- <div class="hook-instance">
241
- <h3><?php _e( 'Points for Liking content', WP_ULIKE_SLUG ); ?></h3>
242
- <div class="row">
243
- <div class="col-lg-2 col-md-6 col-sm-6 col-xs-12">
244
- <div class="form-group">
245
- <label for="<?php echo $this->field_id( array( 'add_like' => 'creds' ) ); ?>"><?php _e( 'Points', WP_ULIKE_SLUG ); ?></label>
246
- <input type="text" name="<?php echo $this->field_name( array( 'add_like' => 'creds' ) ); ?>" id="<?php echo $this->field_id( array( 'add_like' => 'creds' ) ); ?>" value="<?php echo $this->core->number( $prefs['add_like']['creds'] ); ?>" class="form-control" />
247
- <span class="description"><?php _e( 'Use zero to disable.', WP_ULIKE_SLUG ); ?></span>
248
- </div>
249
- </div>
250
- <div class="col-lg-2 col-md-6 col-sm-12 col-xs-12">
251
- <div class="form-group">
252
- <label for="<?php echo $this->field_id( array( 'add_like', 'limit' ) ); ?>"><?php _e( 'Limit', WP_ULIKE_SLUG ); ?></label>
253
- <?php echo $this->hook_limit_setting( $this->field_name( array( 'add_like', 'limit' ) ), $this->field_id( array( 'add_like', 'limit' ) ), $prefs['add_like']['limit'] ); ?>
254
- </div>
255
- </div>
256
- <div class="col-lg-8 col-md-6 col-sm-12 col-xs-12">
257
- <div class="form-group">
258
- <label for="<?php echo $this->field_id( array( 'add_like' => 'log' ) ); ?>"><?php _e( 'Log template', WP_ULIKE_SLUG ); ?></label>
259
- <input type="text" name="<?php echo $this->field_name( array( 'add_like' => 'log' ) ); ?>" id="<?php echo $this->field_id( array( 'add_like' => 'log' ) ); ?>" placeholder="<?php _e( 'required', WP_ULIKE_SLUG ); ?>" value="<?php echo esc_attr( $prefs['add_like']['log'] ); ?>" class="form-control" />
260
- <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
261
- </div>
262
- </div>
263
- </div>
264
- </div>
265
- <div class="hook-instance">
266
- <h3><?php _e( 'Points for Author Who Get Liked', WP_ULIKE_SLUG ); ?></h3>
267
- <div class="row">
268
- <div class="col-lg-2 col-md-6 col-sm-6 col-xs-12">
269
- <div class="form-group">
270
- <label for="<?php echo $this->field_id( array( 'get_like' => 'creds' ) ); ?>"><?php _e( 'Points', WP_ULIKE_SLUG ); ?></label>
271
- <input type="text" name="<?php echo $this->field_name( array( 'get_like' => 'creds' ) ); ?>" id="<?php echo $this->field_id( array( 'get_like' => 'creds' ) ); ?>" value="<?php echo $this->core->number( $prefs['get_like']['creds'] ); ?>" class="form-control" />
272
- <span class="description"><?php _e( 'Use zero to disable.', WP_ULIKE_SLUG ); ?></span>
273
- </div>
274
- </div>
275
- <div class="col-lg-2 col-md-6 col-sm-12 col-xs-12">
276
- <div class="form-group">
277
- <label for="<?php echo $this->field_id( array( 'get_like', 'limit' ) ); ?>"><?php _e( 'Limit', WP_ULIKE_SLUG ); ?></label>
278
- <?php echo $this->hook_limit_setting( $this->field_name( array( 'get_like', 'limit' ) ), $this->field_id( array( 'get_like', 'limit' ) ), $prefs['get_like']['limit'] ); ?>
279
- </div>
280
- </div>
281
- <div class="col-lg-8 col-md-6 col-sm-12 col-xs-12">
282
- <div class="form-group">
283
- <label for="<?php echo $this->field_id( array( 'get_like' => 'log' ) ); ?>"><?php _e( 'Log template', WP_ULIKE_SLUG ); ?></label>
284
- <input type="text" name="<?php echo $this->field_name( array( 'get_like' => 'log' ) ); ?>" id="<?php echo $this->field_id( array( 'get_like' => 'log' ) ); ?>" placeholder="<?php _e( 'required', WP_ULIKE_SLUG ); ?>" value="<?php echo esc_attr( $prefs['get_like']['log'] ); ?>" class="form-control" />
285
- <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
286
- </div>
287
- </div>
288
- </div>
289
- </div>
290
- <div class="hook-instance">
291
- <h3><?php _e( 'Points for unliking content', WP_ULIKE_SLUG ); ?></h3>
292
- <div class="row">
293
- <div class="col-lg-2 col-md-6 col-sm-6 col-xs-12">
294
- <div class="form-group">
295
- <label for="<?php echo $this->field_id( array( 'add_unlike' => 'creds' ) ); ?>"><?php _e( 'Points', WP_ULIKE_SLUG ); ?></label>
296
- <input type="text" name="<?php echo $this->field_name( array( 'add_unlike' => 'creds' ) ); ?>" id="<?php echo $this->field_id( array( 'add_unlike' => 'creds' ) ); ?>" value="<?php echo $this->core->number( $prefs['add_unlike']['creds'] ); ?>" class="form-control" />
297
- <span class="description"><?php _e( 'Use zero to disable.', WP_ULIKE_SLUG ); ?></span>
298
- </div>
299
- </div>
300
- <div class="col-lg-2 col-md-6 col-sm-12 col-xs-12">
301
- <div class="form-group">
302
- <label for="<?php echo $this->field_id( array( 'add_unlike', 'limit' ) ); ?>"><?php _e( 'Limit', WP_ULIKE_SLUG ); ?></label>
303
- <?php echo $this->hook_limit_setting( $this->field_name( array( 'add_unlike', 'limit' ) ), $this->field_id( array( 'add_unlike', 'limit' ) ), $prefs['add_unlike']['limit'] ); ?>
304
- </div>
305
- </div>
306
- <div class="col-lg-8 col-md-6 col-sm-12 col-xs-12">
307
- <div class="form-group">
308
- <label for="<?php echo $this->field_id( array( 'add_unlike' => 'log' ) ); ?>"><?php _e( 'Log template', WP_ULIKE_SLUG ); ?></label>
309
- <input type="text" name="<?php echo $this->field_name( array( 'add_unlike' => 'log' ) ); ?>" id="<?php echo $this->field_id( array( 'add_unlike' => 'log' ) ); ?>" placeholder="<?php _e( 'required', WP_ULIKE_SLUG ); ?>" value="<?php echo esc_attr( $prefs['add_unlike']['log'] ); ?>" class="form-control" />
310
- <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
311
- </div>
312
- </div>
313
- </div>
314
- </div>
315
- <div class="hook-instance">
316
- <h3><?php _e( 'Points for Author Who Get Unliked', WP_ULIKE_SLUG ); ?></h3>
317
- <div class="row">
318
- <div class="col-lg-2 col-md-6 col-sm-6 col-xs-12">
319
- <div class="form-group">
320
- <label for="<?php echo $this->field_id( array( 'get_unlike' => 'creds' ) ); ?>"><?php _e( 'Points', WP_ULIKE_SLUG ); ?></label>
321
- <input type="text" name="<?php echo $this->field_name( array( 'get_unlike' => 'creds' ) ); ?>" id="<?php echo $this->field_id( array( 'get_unlike' => 'creds' ) ); ?>" value="<?php echo $this->core->number( $prefs['get_unlike']['creds'] ); ?>" class="form-control" />
322
- <span class="description"><?php _e( 'Use zero to disable.', WP_ULIKE_SLUG ); ?></span>
323
- </div>
324
- </div>
325
- <div class="col-lg-2 col-md-6 col-sm-12 col-xs-12">
326
- <div class="form-group">
327
- <label for="<?php echo $this->field_id( array( 'get_unlike', 'limit' ) ); ?>"><?php _e( 'Limit', WP_ULIKE_SLUG ); ?></label>
328
- <?php echo $this->hook_limit_setting( $this->field_name( array( 'get_unlike', 'limit' ) ), $this->field_id( array( 'get_unlike', 'limit' ) ), $prefs['get_unlike']['limit'] ); ?>
329
- </div>
330
- </div>
331
- <div class="col-lg-8 col-md-6 col-sm-12 col-xs-12">
332
- <div class="form-group">
333
- <label for="<?php echo $this->field_id( array( 'get_unlike' => 'log' ) ); ?>"><?php _e( 'Log template', WP_ULIKE_SLUG ); ?></label>
334
- <input type="text" name="<?php echo $this->field_name( array( 'get_unlike' => 'log' ) ); ?>" id="<?php echo $this->field_id( array( 'get_unlike' => 'log' ) ); ?>" placeholder="<?php _e( 'required', WP_ULIKE_SLUG ); ?>" value="<?php echo esc_attr( $prefs['get_unlike']['log'] ); ?>" class="form-control" />
335
- <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
336
- </div>
337
- </div>
338
- </div>
339
- </div>
340
- <div class="hook-instance">
341
- <h3><?php _e( 'Limits', WP_ULIKE_SLUG ); ?></h3>
342
- <div class="row">
343
- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
344
- <div class="form-group">
345
- <div class="checkbox">
346
- <label for="<?php echo $this->field_id( array( 'limits' => 'self_reply' ) ); ?>"><input type="checkbox" name="<?php echo $this->field_name( array( 'limits' => 'self_reply' ) ); ?>" id="<?php echo $this->field_id( array( 'limits' => 'self_reply' ) ); ?>" <?php checked( $prefs['limits']['self_reply'], 1 ); ?> value="1" /> <?php echo $this->core->template_tags_general( __( '%plural% is to be awarded even when item authors Like/Unlike their own item.', WP_ULIKE_SLUG ) ); ?></label>
347
- </div>
348
- </div>
349
- </div>
350
- </div>
351
- </div>
352
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
353
  }
354
 
355
  /**
112
  // If not over limit
113
  if ( ! $this->over_hook_limit( 'get_like', 'wp_get_like', $author_id ) ) {
114
  // Make sure this is unique event
115
+ if ( ! $this->core->has_entry( 'wp_get_like', $id, $author_id, array( 'ref_type' => $key, 'by' => $user_id ) ) ) {
116
  // Execute
117
  $this->core->add_creds(
118
  'wp_get_like',
168
  // If not over limit
169
  if ( ! $this->over_hook_limit( 'get_unlike', 'wp_get_unlike', $author_id ) ) {
170
  // Make sure this is unique event
171
+ if ( ! $this->core->has_entry( 'wp_get_unlike', $id, $author_id, array( 'ref_type' => $key, 'by' => $user_id ) ) ) {
172
  // Execute
173
  $this->core->add_creds(
174
  'wp_get_unlike',
237
  $prefs = $this->prefs;
238
 
239
  ?>
240
+ <div class="hook-instance">
241
+ <h3><?php _e( 'Points for Liking content', WP_ULIKE_SLUG ); ?></h3>
242
+ <div class="row">
243
+ <div class="col-lg-2 col-md-6 col-sm-6 col-xs-12">
244
+ <div class="form-group">
245
+ <label
246
+ for="<?php echo $this->field_id( array( 'add_like' => 'creds' ) ); ?>"><?php _e( 'Points', WP_ULIKE_SLUG ); ?></label>
247
+ <input type="text" name="<?php echo $this->field_name( array( 'add_like' => 'creds' ) ); ?>"
248
+ id="<?php echo $this->field_id( array( 'add_like' => 'creds' ) ); ?>"
249
+ value="<?php echo $this->core->number( $prefs['add_like']['creds'] ); ?>" class="form-control" />
250
+ <span class="description"><?php _e( 'Use zero to disable.', WP_ULIKE_SLUG ); ?></span>
251
+ </div>
252
+ </div>
253
+ <div class="col-lg-2 col-md-6 col-sm-12 col-xs-12">
254
+ <div class="form-group">
255
+ <label
256
+ for="<?php echo $this->field_id( array( 'add_like', 'limit' ) ); ?>"><?php _e( 'Limit', WP_ULIKE_SLUG ); ?></label>
257
+ <?php echo $this->hook_limit_setting( $this->field_name( array( 'add_like', 'limit' ) ), $this->field_id( array( 'add_like', 'limit' ) ), $prefs['add_like']['limit'] ); ?>
258
+ </div>
259
+ </div>
260
+ <div class="col-lg-8 col-md-6 col-sm-12 col-xs-12">
261
+ <div class="form-group">
262
+ <label
263
+ for="<?php echo $this->field_id( array( 'add_like' => 'log' ) ); ?>"><?php _e( 'Log template', WP_ULIKE_SLUG ); ?></label>
264
+ <input type="text" name="<?php echo $this->field_name( array( 'add_like' => 'log' ) ); ?>"
265
+ id="<?php echo $this->field_id( array( 'add_like' => 'log' ) ); ?>"
266
+ placeholder="<?php _e( 'required', WP_ULIKE_SLUG ); ?>"
267
+ value="<?php echo esc_attr( $prefs['add_like']['log'] ); ?>" class="form-control" />
268
+ <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
269
+ </div>
270
+ </div>
271
+ </div>
272
+ </div>
273
+ <div class="hook-instance">
274
+ <h3><?php _e( 'Points for Author Who Get Liked', WP_ULIKE_SLUG ); ?></h3>
275
+ <div class="row">
276
+ <div class="col-lg-2 col-md-6 col-sm-6 col-xs-12">
277
+ <div class="form-group">
278
+ <label
279
+ for="<?php echo $this->field_id( array( 'get_like' => 'creds' ) ); ?>"><?php _e( 'Points', WP_ULIKE_SLUG ); ?></label>
280
+ <input type="text" name="<?php echo $this->field_name( array( 'get_like' => 'creds' ) ); ?>"
281
+ id="<?php echo $this->field_id( array( 'get_like' => 'creds' ) ); ?>"
282
+ value="<?php echo $this->core->number( $prefs['get_like']['creds'] ); ?>" class="form-control" />
283
+ <span class="description"><?php _e( 'Use zero to disable.', WP_ULIKE_SLUG ); ?></span>
284
+ </div>
285
+ </div>
286
+ <div class="col-lg-2 col-md-6 col-sm-12 col-xs-12">
287
+ <div class="form-group">
288
+ <label
289
+ for="<?php echo $this->field_id( array( 'get_like', 'limit' ) ); ?>"><?php _e( 'Limit', WP_ULIKE_SLUG ); ?></label>
290
+ <?php echo $this->hook_limit_setting( $this->field_name( array( 'get_like', 'limit' ) ), $this->field_id( array( 'get_like', 'limit' ) ), $prefs['get_like']['limit'] ); ?>
291
+ </div>
292
+ </div>
293
+ <div class="col-lg-8 col-md-6 col-sm-12 col-xs-12">
294
+ <div class="form-group">
295
+ <label
296
+ for="<?php echo $this->field_id( array( 'get_like' => 'log' ) ); ?>"><?php _e( 'Log template', WP_ULIKE_SLUG ); ?></label>
297
+ <input type="text" name="<?php echo $this->field_name( array( 'get_like' => 'log' ) ); ?>"
298
+ id="<?php echo $this->field_id( array( 'get_like' => 'log' ) ); ?>"
299
+ placeholder="<?php _e( 'required', WP_ULIKE_SLUG ); ?>"
300
+ value="<?php echo esc_attr( $prefs['get_like']['log'] ); ?>" class="form-control" />
301
+ <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
302
+ </div>
303
+ </div>
304
+ </div>
305
+ </div>
306
+ <div class="hook-instance">
307
+ <h3><?php _e( 'Points for unliking content', WP_ULIKE_SLUG ); ?></h3>
308
+ <div class="row">
309
+ <div class="col-lg-2 col-md-6 col-sm-6 col-xs-12">
310
+ <div class="form-group">
311
+ <label
312
+ for="<?php echo $this->field_id( array( 'add_unlike' => 'creds' ) ); ?>"><?php _e( 'Points', WP_ULIKE_SLUG ); ?></label>
313
+ <input type="text" name="<?php echo $this->field_name( array( 'add_unlike' => 'creds' ) ); ?>"
314
+ id="<?php echo $this->field_id( array( 'add_unlike' => 'creds' ) ); ?>"
315
+ value="<?php echo $this->core->number( $prefs['add_unlike']['creds'] ); ?>" class="form-control" />
316
+ <span class="description"><?php _e( 'Use zero to disable.', WP_ULIKE_SLUG ); ?></span>
317
+ </div>
318
+ </div>
319
+ <div class="col-lg-2 col-md-6 col-sm-12 col-xs-12">
320
+ <div class="form-group">
321
+ <label
322
+ for="<?php echo $this->field_id( array( 'add_unlike', 'limit' ) ); ?>"><?php _e( 'Limit', WP_ULIKE_SLUG ); ?></label>
323
+ <?php echo $this->hook_limit_setting( $this->field_name( array( 'add_unlike', 'limit' ) ), $this->field_id( array( 'add_unlike', 'limit' ) ), $prefs['add_unlike']['limit'] ); ?>
324
+ </div>
325
+ </div>
326
+ <div class="col-lg-8 col-md-6 col-sm-12 col-xs-12">
327
+ <div class="form-group">
328
+ <label
329
+ for="<?php echo $this->field_id( array( 'add_unlike' => 'log' ) ); ?>"><?php _e( 'Log template', WP_ULIKE_SLUG ); ?></label>
330
+ <input type="text" name="<?php echo $this->field_name( array( 'add_unlike' => 'log' ) ); ?>"
331
+ id="<?php echo $this->field_id( array( 'add_unlike' => 'log' ) ); ?>"
332
+ placeholder="<?php _e( 'required', WP_ULIKE_SLUG ); ?>"
333
+ value="<?php echo esc_attr( $prefs['add_unlike']['log'] ); ?>" class="form-control" />
334
+ <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
335
+ </div>
336
+ </div>
337
+ </div>
338
+ </div>
339
+ <div class="hook-instance">
340
+ <h3><?php _e( 'Points for Author Who Get Unliked', WP_ULIKE_SLUG ); ?></h3>
341
+ <div class="row">
342
+ <div class="col-lg-2 col-md-6 col-sm-6 col-xs-12">
343
+ <div class="form-group">
344
+ <label
345
+ for="<?php echo $this->field_id( array( 'get_unlike' => 'creds' ) ); ?>"><?php _e( 'Points', WP_ULIKE_SLUG ); ?></label>
346
+ <input type="text" name="<?php echo $this->field_name( array( 'get_unlike' => 'creds' ) ); ?>"
347
+ id="<?php echo $this->field_id( array( 'get_unlike' => 'creds' ) ); ?>"
348
+ value="<?php echo $this->core->number( $prefs['get_unlike']['creds'] ); ?>" class="form-control" />
349
+ <span class="description"><?php _e( 'Use zero to disable.', WP_ULIKE_SLUG ); ?></span>
350
+ </div>
351
+ </div>
352
+ <div class="col-lg-2 col-md-6 col-sm-12 col-xs-12">
353
+ <div class="form-group">
354
+ <label
355
+ for="<?php echo $this->field_id( array( 'get_unlike', 'limit' ) ); ?>"><?php _e( 'Limit', WP_ULIKE_SLUG ); ?></label>
356
+ <?php echo $this->hook_limit_setting( $this->field_name( array( 'get_unlike', 'limit' ) ), $this->field_id( array( 'get_unlike', 'limit' ) ), $prefs['get_unlike']['limit'] ); ?>
357
+ </div>
358
+ </div>
359
+ <div class="col-lg-8 col-md-6 col-sm-12 col-xs-12">
360
+ <div class="form-group">
361
+ <label
362
+ for="<?php echo $this->field_id( array( 'get_unlike' => 'log' ) ); ?>"><?php _e( 'Log template', WP_ULIKE_SLUG ); ?></label>
363
+ <input type="text" name="<?php echo $this->field_name( array( 'get_unlike' => 'log' ) ); ?>"
364
+ id="<?php echo $this->field_id( array( 'get_unlike' => 'log' ) ); ?>"
365
+ placeholder="<?php _e( 'required', WP_ULIKE_SLUG ); ?>"
366
+ value="<?php echo esc_attr( $prefs['get_unlike']['log'] ); ?>" class="form-control" />
367
+ <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
368
+ </div>
369
+ </div>
370
+ </div>
371
+ </div>
372
+ <div class="hook-instance">
373
+ <h3><?php _e( 'Limits', WP_ULIKE_SLUG ); ?></h3>
374
+ <div class="row">
375
+ <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
376
+ <div class="form-group">
377
+ <div class="checkbox">
378
+ <label for="<?php echo $this->field_id( array( 'limits' => 'self_reply' ) ); ?>"><input
379
+ type="checkbox" name="<?php echo $this->field_name( array( 'limits' => 'self_reply' ) ); ?>"
380
+ id="<?php echo $this->field_id( array( 'limits' => 'self_reply' ) ); ?>"
381
+ <?php checked( $prefs['limits']['self_reply'], 1 ); ?> value="1" />
382
+ <?php echo $this->core->template_tags_general( __( '%plural% is to be awarded even when item authors Like/Unlike their own item.', WP_ULIKE_SLUG ) ); ?></label>
383
+ </div>
384
+ </div>
385
+ </div>
386
+ </div>
387
+ </div>
388
+ <?php
389
  }
390
 
391
  /**
includes/functions/general.php CHANGED
@@ -460,7 +460,7 @@ if( ! function_exists( 'wp_ulike_get_custom_style' ) ){
460
  }
461
 
462
  if( $btn_style != '' ){
463
- $return_style .= '.wpulike-default .wp_ulike_btn, .wpulike-default .wp_ulike_btn:hover, #bbpress-forums .wpulike-default .wp_ulike_btn, #bbpress-forums .wpulike-default .wp_ulike_btn:hover{'.$btn_style.'}.wpulike-heart .wp_ulike_general_class{'.$btn_style.'}';
464
  }
465
 
466
  // Counter Style
@@ -488,7 +488,7 @@ if( ! function_exists( 'wp_ulike_get_custom_style' ) ){
488
 
489
  // Custom Spinner
490
  if( '' != ( $custom_spinner = wp_ulike_get_option( 'custom_spinner' ) ) ) {
491
- $return_style .= '.wpulike .wp_ulike_is_loading .wp_ulike_btn, #buddypress .activity-content .wpulike .wp_ulike_is_loading .wp_ulike_btn, #bbpress-forums .bbp-reply-content .wpulike .wp_ulike_is_loading .wp_ulike_btn {background-image: url('.$custom_spinner.') !important;}';
492
  }
493
 
494
  // Custom Styles
460
  }
461
 
462
  if( $btn_style != '' ){
463
+ $return_style .= '.wpulike-default button.wp_ulike_btn, .wpulike-default button.wp_ulike_btn:hover, #bbpress-forums .wpulike-default button.wp_ulike_btn, #bbpress-forums .wpulike-default button.wp_ulike_btn:hover{'.$btn_style.'}.wpulike-heart .wp_ulike_general_class{'.$btn_style.'}';
464
  }
465
 
466
  // Counter Style
488
 
489
  // Custom Spinner
490
  if( '' != ( $custom_spinner = wp_ulike_get_option( 'custom_spinner' ) ) ) {
491
+ $return_style .= '.wpulike .wp_ulike_is_loading button.wp_ulike_btn, #buddypress .activity-content .wpulike .wp_ulike_is_loading button.wp_ulike_btn, #bbpress-forums .bbp-reply-content .wpulike .wp_ulike_is_loading button.wp_ulike_btn {background-image: url('.$custom_spinner.') !important;}';
492
  }
493
 
494
  // Custom Styles
includes/functions/utilities.php CHANGED
@@ -391,56 +391,4 @@ if( ! function_exists('wp_ulike_maybe_define_constant') ){
391
  define( $name, $value );
392
  }
393
  }
394
- }
395
-
396
- if( ! function_exists('wp_ulike_string_util_starts_with') ){
397
- /**
398
- * Checks to see whether or not a string starts with another.
399
- *
400
- * @param string $string The string we want to check.
401
- * @param string $starts_with The string we're looking for at the start of $string.
402
- * @param bool $case_sensitive Indicates whether the comparison should be case-sensitive.
403
- *
404
- * @return bool True if the $string starts with $starts_with, false otherwise.
405
- */
406
- function wp_ulike_string_util_starts_with( string $string, string $starts_with, bool $case_sensitive = true ): bool {
407
- $len = strlen( $starts_with );
408
- if ( $len > strlen( $string ) ) {
409
- return false;
410
- }
411
-
412
- $string = substr( $string, 0, $len );
413
-
414
- if ( $case_sensitive ) {
415
- return strcmp( $string, $starts_with ) === 0;
416
- }
417
-
418
- return strcasecmp( $string, $starts_with ) === 0;
419
- }
420
- }
421
-
422
- if( ! function_exists('wp_ulike_string_util_ends_with') ){
423
- /**
424
- * Checks to see whether or not a string ends with another.
425
- *
426
- * @param string $string The string we want to check.
427
- * @param string $ends_with The string we're looking for at the end of $string.
428
- * @param bool $case_sensitive Indicates whether the comparison should be case-sensitive.
429
- *
430
- * @return bool True if the $string ends with $ends_with, false otherwise.
431
- */
432
- function wp_ulike_string_util_ends_with( string $string, string $ends_with, bool $case_sensitive = true ): bool {
433
- $len = strlen( $ends_with );
434
- if ( $len > strlen( $string ) ) {
435
- return false;
436
- }
437
-
438
- $string = substr( $string, -$len );
439
-
440
- if ( $case_sensitive ) {
441
- return strcmp( $string, $ends_with ) === 0;
442
- }
443
-
444
- return strcasecmp( $string, $ends_with ) === 0;
445
- }
446
  }
391
  define( $name, $value );
392
  }
393
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
394
  }
includes/hooks/third-party.php CHANGED
@@ -27,6 +27,13 @@ if( ! function_exists( 'wp_ulike_put_buddypress' ) ){
27
  $options = wp_ulike_get_option( 'buddypress_group' );
28
  $action = current_action();
29
 
 
 
 
 
 
 
 
30
  if ( wp_ulike_setting_repo::isAutoDisplayOn('activity') ) {
31
 
32
  switch ( $action ) {
@@ -498,7 +505,14 @@ if( ! function_exists( 'wp_ulike_put_bbpress' ) ){
498
  * @return filter on bbpPress hooks
499
  */
500
  function wp_ulike_put_bbpress() {
501
- if ( wp_ulike_setting_repo::isAutoDisplayOn('topic')) {
 
 
 
 
 
 
 
502
  $action = current_action();
503
  $position = wp_ulike_get_option( 'bbpress_group|auto_display_position', 'bottom' );
504
 
@@ -528,7 +542,50 @@ if( ! function_exists( 'wp_ulike_put_bbpress' ) ){
528
  add_action( 'bbp_theme_after_reply_content', 'wp_ulike_put_bbpress', 15 );
529
  add_action( 'bbp_theme_before_topic_content', 'wp_ulike_put_bbpress', 15 );
530
  add_action( 'bbp_theme_after_topic_content', 'wp_ulike_put_bbpress', 15 );
 
531
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
532
  }
533
 
534
  /*******************************************************
27
  $options = wp_ulike_get_option( 'buddypress_group' );
28
  $action = current_action();
29
 
30
+ /**
31
+ * Don't implement on admin section
32
+ */
33
+ if( WpUlikeInit::is_admin_backend() && ! WpUlikeInit::is_ajax() ){
34
+ return;
35
+ }
36
+
37
  if ( wp_ulike_setting_repo::isAutoDisplayOn('activity') ) {
38
 
39
  switch ( $action ) {
505
  * @return filter on bbpPress hooks
506
  */
507
  function wp_ulike_put_bbpress() {
508
+ /**
509
+ * Don't implement on admin section
510
+ */
511
+ if( WpUlikeInit::is_admin_backend() && ! WpUlikeInit::is_ajax() ){
512
+ return;
513
+ }
514
+
515
+ if ( wp_ulike_setting_repo::isAutoDisplayOn('topic') ) {
516
  $action = current_action();
517
  $position = wp_ulike_get_option( 'bbpress_group|auto_display_position', 'bottom' );
518
 
542
  add_action( 'bbp_theme_after_reply_content', 'wp_ulike_put_bbpress', 15 );
543
  add_action( 'bbp_theme_before_topic_content', 'wp_ulike_put_bbpress', 15 );
544
  add_action( 'bbp_theme_after_topic_content', 'wp_ulike_put_bbpress', 15 );
545
+ }
546
 
547
+ if( ! function_exists( 'wp_ulike_put_bbpress_topic_content' ) ){
548
+ /**
549
+ * display like button in bbpress topic
550
+ *
551
+ * @param string $content
552
+ * @param integer $topic_id
553
+ * @return string
554
+ */
555
+ function wp_ulike_put_bbpress_topic_content( $content, $topic_id ) {
556
+ // Stack variable
557
+ $output = $content;
558
+
559
+ /**
560
+ * Don't implement on admin section
561
+ */
562
+ if( WpUlikeInit::is_admin_backend() && ! WpUlikeInit::is_ajax() ){
563
+ return $content;
564
+ }
565
+
566
+ if ( wp_ulike_setting_repo::isAutoDisplayOn('topic') ) {
567
+ // Get button
568
+ $button = wp_ulike_bbpress('put', array(
569
+ 'id' => $topic_id
570
+ ));
571
+ switch ( wp_ulike_get_option( 'bbpress_group|auto_display_position', 'bottom' ) ) {
572
+ case 'top':
573
+ $output = $button . $content;
574
+ break;
575
+
576
+ case 'top_bottom':
577
+ $output = $button . $content . $button;
578
+ break;
579
+
580
+ default:
581
+ $output = $content . $button;
582
+ break;
583
+ }
584
+ }
585
+
586
+ return $output;
587
+ }
588
+ add_filter( 'bbp_get_topic_content', 'wp_ulike_put_bbpress_topic_content', 15, 2 );
589
  }
590
 
591
  /*******************************************************
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: like, marketing, elementor, user profile, rating, favorite, statistics, bu
6
  Requires PHP: 5.6
7
  Requires at least: 5.0
8
  Tested up to: 5.9.3
9
- Stable tag: 4.6.1
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -140,6 +140,12 @@ Yes, WP ULike is compatible with Apache, Nginx, Microsoft IIS et LiteSpeed web s
140
 
141
  == Changelog ==
142
 
 
 
 
 
 
 
143
  = 4.6.1 =
144
  * Updated: Options panel framework.
145
  * Fixed: BuddyPress notification error.
6
  Requires PHP: 5.6
7
  Requires at least: 5.0
8
  Tested up to: 5.9.3
9
+ Stable tag: 4.6.2
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
140
 
141
  == Changelog ==
142
 
143
+ = 4.6.2 =
144
+ * Improved: bbPress button display on main topic.
145
+ * Improved: css conflicts with buddypress.
146
+ * Fixed: myCred author points issue.
147
+ * Fixed: Minor bug fixes.
148
+
149
  = 4.6.1 =
150
  * Updated: Options panel framework.
151
  * Fixed: BuddyPress notification error.
wp-ulike.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP ULike
4
  * Plugin URI: https://wpulike.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
5
  * Description: Receiving feedback is crucial as a content creator, but unfortunately, the pieces of content you can collect it on are limited by default. However, with the help of the WP ULike plugin, it is possible to cast voting to any type of content you may have on your website. With outstanding and eye-catching widgets, you can have Like and Dislike Button on all of your content would it be a post, comment, BuddyPress activity, bbPress topics, WooCommerce products, you name it. Now you can feel your users Love for each part of your work.
6
- * Version: 4.6.1
7
  * Author: TechnoWich
8
  * Author URI: https://technowich.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
9
  * Text Domain: wp-ulike
@@ -27,7 +27,7 @@ if ( ! defined( 'ABSPATH' ) ) {
27
 
28
  // Do not change these values
29
  define( 'WP_ULIKE_PLUGIN_URI' , 'https://wpulike.com/' );
30
- define( 'WP_ULIKE_VERSION' , '4.6.1' );
31
  define( 'WP_ULIKE_DB_VERSION' , '2.3' );
32
  define( 'WP_ULIKE_SLUG' , 'wp-ulike' );
33
  define( 'WP_ULIKE_NAME' , __( 'WP ULike', WP_ULIKE_SLUG ) );
3
  * Plugin Name: WP ULike
4
  * Plugin URI: https://wpulike.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
5
  * Description: Receiving feedback is crucial as a content creator, but unfortunately, the pieces of content you can collect it on are limited by default. However, with the help of the WP ULike plugin, it is possible to cast voting to any type of content you may have on your website. With outstanding and eye-catching widgets, you can have Like and Dislike Button on all of your content would it be a post, comment, BuddyPress activity, bbPress topics, WooCommerce products, you name it. Now you can feel your users Love for each part of your work.
6
+ * Version: 4.6.2
7
  * Author: TechnoWich
8
  * Author URI: https://technowich.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
9
  * Text Domain: wp-ulike
27
 
28
  // Do not change these values
29
  define( 'WP_ULIKE_PLUGIN_URI' , 'https://wpulike.com/' );
30
+ define( 'WP_ULIKE_VERSION' , '4.6.2' );
31
  define( 'WP_ULIKE_DB_VERSION' , '2.3' );
32
  define( 'WP_ULIKE_SLUG' , 'wp-ulike' );
33
  define( 'WP_ULIKE_NAME' , __( 'WP ULike', WP_ULIKE_SLUG ) );