WP ULike - Version 2.4

Version Description

  • Added: Buddypress comments support in activity stream.
  • Added: Widget period option. (All, Year, Month, Week, Yesterday, Today).
  • Fixed: Small bug with bbPress replys.
  • Fixed: bbPress ulike widget bug with reply title.
  • Fixed: Activities widget problem in multisite mode.
  • Fixed: Custom style settings for RTL mode.
  • Fixed: Buddypress widget options. (such as title trim and content permalink)
  • Changed: Languages text domain from 'alimir' to 'wp-ulike'. (Important for translators)
  • Changed: Widget functions input to array.
  • Removed: 'wp_ulike_get_version' function and replced it with WP_ULIKE_VERSION constant.
  • Removed: wp-ulike-rtl.css file and mixed it with wp-ulike.css
  • Updated: French Language File.
  • Updated: Persian Language File.
  • Updated: About Page Information.
Download this release

Release Info

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

Code changes from version 2.3 to 2.4

Files changed (82) hide show
  1. admin/about.php +110 -108
  2. admin/admin.php +14 -14
  3. admin/classes/class-settings.php +42 -42
  4. admin/classes/class-widget.php +249 -141
  5. admin/classes/tmp/settings.php +193 -186
  6. admin/logs.php +60 -60
  7. admin/stats.php +49 -49
  8. assets/css/wp-ulike-rtl.css +0 -551
  9. assets/css/wp-ulike-rtl.min.css +0 -8
  10. assets/css/wp-ulike.css +79 -32
  11. assets/css/wp-ulike.min.css +3 -3
  12. assets/img/icons/remove-rtl.png +0 -0
  13. assets/img/icons/remove.png +0 -0
  14. assets/js/wp-ulike-scripts.js +9 -11
  15. assets/js/wp-ulike-scripts.min.js +6 -2
  16. inc/classes/class-mycred.php +6 -6
  17. inc/classes/class-ulike.php +1 -1
  18. inc/wp-functions.php +21 -17
  19. inc/wp-script.php +4 -8
  20. inc/wp-strings.php +31 -31
  21. inc/wp-ulike.php +18 -9
  22. lang/alimir-fa_IR.mo +0 -0
  23. lang/alimir-fr_FR.mo +0 -0
  24. lang/alimir.pot +0 -1291
  25. lang/{alimir-NO.mo → wp-ulike-NO.mo} +0 -0
  26. lang/{alimir-NO.po → wp-ulike-NO.po} +0 -0
  27. lang/{alimir-ar.mo → wp-ulike-ar.mo} +0 -0
  28. lang/{alimir-ar.po → wp-ulike-ar.po} +0 -0
  29. lang/{alimir-cs_CZ.mo → wp-ulike-cs_CZ.mo} +0 -0
  30. lang/{alimir-cs_CZ.po → wp-ulike-cs_CZ.po} +0 -0
  31. lang/{alimir-de_DE.mo → wp-ulike-de_DE.mo} +0 -0
  32. lang/{alimir-de_DE.po → wp-ulike-de_DE.po} +0 -0
  33. lang/{alimir-el.mo → wp-ulike-el.mo} +0 -0
  34. lang/{alimir-el.po → wp-ulike-el.po} +0 -0
  35. lang/{alimir-en_US.mo → wp-ulike-en_US.mo} +0 -0
  36. lang/{alimir-en_US.po → wp-ulike-en_US.po} +0 -0
  37. lang/{alimir-es_ES.mo → wp-ulike-es_ES.mo} +0 -0
  38. lang/{alimir-es_ES.po → wp-ulike-es_ES.po} +0 -0
  39. lang/wp-ulike-fa_IR.mo +0 -0
  40. lang/{alimir-fa_IR.po → wp-ulike-fa_IR.po} +750 -712
  41. lang/{alimir-fi.mo → wp-ulike-fi.mo} +0 -0
  42. lang/{alimir-fi.po → wp-ulike-fi.po} +0 -0
  43. lang/wp-ulike-fr_FR.mo +0 -0
  44. lang/{alimir-fr_FR.po → wp-ulike-fr_FR.po} +109 -152
  45. lang/{alimir-he_IL.mo → wp-ulike-he_IL.mo} +0 -0
  46. lang/{alimir-he_IL.po → wp-ulike-he_IL.po} +0 -0
  47. lang/{alimir-hu_HU.mo → wp-ulike-hu_HU.mo} +0 -0
  48. lang/{alimir-hu_HU.po → wp-ulike-hu_HU.po} +0 -0
  49. lang/{alimir-id_ID.mo → wp-ulike-id_ID.mo} +0 -0
  50. lang/{alimir-id_ID.po → wp-ulike-id_ID.po} +0 -0
  51. lang/{alimir-it_IT.mo → wp-ulike-it_IT.mo} +0 -0
  52. lang/{alimir-it_IT.po → wp-ulike-it_IT.po} +0 -0
  53. lang/{alimir-ja.mo → wp-ulike-ja.mo} +0 -0
  54. lang/{alimir-ja.po → wp-ulike-ja.po} +0 -0
  55. lang/{alimir-km.mo → wp-ulike-km.mo} +0 -0
  56. lang/{alimir-km.po → wp-ulike-km.po} +0 -0
  57. lang/{alimir-lt_LT.mo → wp-ulike-lt_LT.mo} +0 -0
  58. lang/{alimir-lt_LT.po → wp-ulike-lt_LT.po} +0 -0
  59. lang/{alimir-nl_NL.mo → wp-ulike-nl_NL.mo} +0 -0
  60. lang/{alimir-nl_NL.po → wp-ulike-nl_NL.po} +0 -0
  61. lang/{alimir-pl_PL.mo → wp-ulike-pl_PL.mo} +0 -0
  62. lang/{alimir-pl_PL.po → wp-ulike-pl_PL.po} +0 -0
  63. lang/{alimir-pt_BR.mo → wp-ulike-pt_BR.mo} +0 -0
  64. lang/{alimir-pt_BR.po → wp-ulike-pt_BR.po} +0 -0
  65. lang/{alimir-pt_PT.mo → wp-ulike-pt_PT.mo} +0 -0
  66. lang/{alimir-pt_PT.po → wp-ulike-pt_PT.po} +0 -0
  67. lang/{alimir-ro_RO.mo → wp-ulike-ro_RO.mo} +0 -0
  68. lang/{alimir-ro_RO.po → wp-ulike-ro_RO.po} +0 -0
  69. lang/{alimir-ru_RU.mo → wp-ulike-ru_RU.mo} +0 -0
  70. lang/{alimir-ru_RU.po → wp-ulike-ru_RU.po} +0 -0
  71. lang/{alimir-sk_SK.mo → wp-ulike-sk_SK.mo} +0 -0
  72. lang/{alimir-sk_SK.po → wp-ulike-sk_SK.po} +0 -0
  73. lang/{alimir-sv_SE.mo → wp-ulike-sv_SE.mo} +0 -0
  74. lang/{alimir-sv_SE.po → wp-ulike-sv_SE.po} +0 -0
  75. lang/{alimir-tr_TR.mo → wp-ulike-tr_TR.mo} +0 -0
  76. lang/{alimir-tr_TR.po → wp-ulike-tr_TR.po} +0 -0
  77. lang/{alimir-zh_CN.mo → wp-ulike-zh_CN.mo} +0 -0
  78. lang/{alimir-zh_CN.po → wp-ulike-zh_CN.po} +0 -0
  79. lang/{alimir-zh_TW.mo → wp-ulike-zh_TW.mo} +0 -0
  80. lang/{alimir-zh_TW.po → wp-ulike-zh_TW.po} +0 -0
  81. readme.txt +44 -12
  82. wp-ulike.php +11 -21
admin/about.php CHANGED
@@ -104,132 +104,134 @@
104
 
105
  <div class="wrap about-wrap">
106
 
107
- <h1><?php echo _e('Welcome to WP ULike','alimir') . ' ' . wp_ulike_get_version(); ?></h1>
108
 
109
- <div class="about-text"><?php echo _e('Thank you for choosing WP ULike! This version is our leanest and most powerful version yet.', 'alimir') ; ?><br />
110
- <a target="_blank" href="http://preview.alimir.ir/developer/wp-ulike/"> <?php _e('Visit our homepage','alimir'); ?></a>
111
  </div>
112
- <div class="ulike-badge"><?php echo _e('Version','alimir') . ' ' . wp_ulike_get_version(); ?></div>
113
-
114
  <h2 class="nav-tab-wrapper">
115
- <a class="nav-tab <?php if(!isset($_GET["credit"])) echo 'nav-tab-active'; ?>" href="admin.php?page=wp-ulike-about"><?php echo _e('Getting Started','alimir'); ?></a>
116
- <a class="nav-tab <?php if(isset($_GET["credit"])) echo 'nav-tab-active'; ?>" href="admin.php?page=wp-ulike-about&credit=true"><?php echo _e('Credits','alimir'); ?></a>
117
- <a target="_blank" class="nav-tab" href="https://wordpress.org/support/plugin/wp-ulike"><?php echo _e('Support','alimir'); ?></a>
118
- <a target="_blank" class="nav-tab" href="https://wordpress.org/plugins/wp-ulike/faq/"><?php echo _e('FAQ','alimir'); ?></a>
119
- <a target="_blank" class="nav-tab" href="https://wordpress.org/support/view/plugin-reviews/wp-ulike"><?php echo _e('Reviews','alimir'); ?></a>
120
  </h2>
121
 
122
  <?php if(!isset($_GET["credit"])): ?>
123
 
124
- <div class="changelog headline-feature">
125
- <h2><?php echo _e('Introducing WP ULike','alimir'); ?></h2>
126
- <div class="featured-image">
127
- <img src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/wp-ulike-intro.png">
128
- </div>
129
-
130
- <div class="feature-section">
131
- <div class="col">
132
- <h3><?php echo _e('About WP ULike','alimir'); ?></h3>
133
- <p><?php echo _e('WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments AND buddypress activities. Its very simple to use and supports many options.','alimir'); ?></p>
134
- </div>
135
- <div class="col">
136
- <img src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/wp-ulike-thumb.png">
137
- </div>
138
- </div>
139
-
140
- <div class="clear"></div>
141
- </div>
142
-
143
- <hr />
144
- <div class="changelog feature-list finer-points">
145
- <h2>The Finer Points</h2>
146
-
147
- <div class="feature-section col two-col">
148
-
149
- <div>
150
- <svg viewBox="-10 -10 52 52">
151
- <g filter="">
152
- <use xlink:href="#like"></use>
153
- </g>
154
- </svg>
155
- <h4><?php echo _e('WP Ulike Extension','alimir'); ?></h4>
156
- <p><?php echo _e('Right now, WP ULike support wordpress posts / comments, BuddyPress activities & bbPress Topics.','alimir'); ?></p>
157
- </div>
158
 
159
- <div class="last-feature">
160
- <svg viewBox="-10 -10 52 52">
161
- <g filter="">
162
- <use xlink:href="#globe"></use>
163
- </g>
164
- </svg>
165
- <h4><?php echo _e('Added More Than 20 Language Files','alimir'); ?></h4>
166
- <p><?php echo _e('WP ULike is already translated into +20 languages, with more always in progress.','alimir'); ?></p>
167
- </div>
168
-
169
- <div>
170
- <svg viewBox="-10 -10 52 52">
171
- <g filter="">
172
- <use xlink:href="#happy-smiley"></use>
173
- </g>
174
- </svg>
175
- <h4><?php echo _e('User Profile Links','alimir'); ?></h4>
176
- <p><?php echo _e('Since WP ULike 2.3, We have synced the likers profile with BuddyPress & UltimateMember plugins.','alimir'); ?></p>
177
- </div>
178
 
179
- <div class="last-feature">
180
- <svg viewBox="-10 -10 52 52">
181
- <g filter="">
182
- <use xlink:href="#heart"></use>
183
- </g>
184
- </svg>
185
- <h4><?php echo _e('New Themes And Styles','alimir'); ?></h4>
186
- <p><?php echo _e('Since WP ULike 2.3, We have made some new styles and themes and you can customize them by your taste.','alimir'); ?></p>
187
- </div>
188
-
189
- <div>
190
- <svg viewBox="-10 -10 52 52">
191
- <g filter="">
192
- <use xlink:href="#prize"></use>
193
- </g>
194
- </svg>
195
- <h4><?php echo _e('myCRED Points Support','alimir'); ?></h4>
196
- <p><?php echo _e('myCRED is an adaptive points management system that lets you award / charge your users for interacting with your WordPress.','alimir'); ?></p>
197
- </div>
198
-
199
- <div class="last-feature">
200
- <svg viewBox="-10 -10 52 52">
201
- <g filter="">
202
- <use xlink:href="#tag"></use>
203
- </g>
204
- </svg>
205
- <h4><?php echo _e('Likers World Map','alimir'); ?></h4>
206
- <p><?php echo _e('Since WP ULike 2.3, We have made a new ability that you can track your likers by their country in the world map & Top Liker widget.','alimir'); ?></p>
207
- </div>
208
-
209
- </div>
210
- </div>
211
-
212
- <hr />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
 
214
  <div class="changelog feature-list">
215
  <div class="return-to-dashboard">
216
- <a href="http://localhost/wp-english/wp-admin/"><?php echo _e('WP ULike Statistics','alimir'); ?> &rarr; <?php echo _e('Home','alimir'); ?></a> <?php echo _e('OR','alimir'); ?> <a href="http://localhost/wp-english/wp-admin/"><?php echo _e('WP ULike Settings','alimir'); ?></a>
217
  </div>
218
  </div>
219
 
220
  <?php else: ?>
221
 
222
- <p class="about-description"><?php echo _e('WP ULike is created by many love and time. Enjoy it :)','alimir'); ?></p>
223
- <h4 class="wp-people-group"><?php echo _e('Project Leaders','alimir'); ?></h4>
224
  <ul class="wp-people-group">
225
  <li class="wp-person" id="wp-person-alimirzaei">
226
- <a href="http://about.alimir.ir"><?php echo get_avatar( 'info@alimir.ir', 64 ); ?></a>
227
- <a class="web" href="https://profiles.wordpress.org/alimir/">Ali Mirzaei</a>
228
- <span class="title"><?php echo _e('Project Lead & Developer','alimir'); ?></span>
229
  </li>
230
  </ul>
231
 
232
- <h4 class="wp-people-group"><?php _e('Translations','alimir'); ?></h4>
233
  <ul>
234
  <li>English (United States)</li>
235
  <li>Persian (Iran)</li>
@@ -268,9 +270,9 @@
268
  <li>English (United Kingdom)</li>
269
  </ul>
270
 
271
- <p class="about-description"><?php _e('Would you like to help translate the plugin into more languages?','alimir'); ?> <a target="_blank" href="https://www.transifex.com/projects/p/wp-ulike/" title"WP-Translations">[<?php _e('Join our WP-Translations Community','alimir'); ?>]</a></p>
272
 
273
- <h4 class="wp-people-group"><?php echo _e('Other Plugins','alimir'); ?></h4>
274
  <ul class="wp-people-group">
275
  <li class="wp-person" id="wp-person-alimirzaei">
276
  <a target="_blank" href="https://wordpress.org/plugins/blue-login-style"><img class="gravatar" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/blue-login-themes.jpg" alt="Blue Login Themes" /></a>
@@ -289,8 +291,8 @@
289
  </li>
290
  </ul>
291
 
292
- <h4 class="wp-people-group"><?php _e('Like this plugin?','alimir'); ?></h4>
293
- <div class="boxstyle"><p><strong><?php _e('Show your support by Rating 5 Star in <a href="http://wordpress.org/plugins/wp-ulike"> Plugin Directory reviews</a>','alimir'); ?></strong></p></div>
294
 
295
  <?php endif; ?>
296
 
104
 
105
  <div class="wrap about-wrap">
106
 
107
+ <h1><?php echo _e('Welcome to WP ULike',WP_ULIKE_SLUG) . ' ' . WP_ULIKE_VERSION; ?></h1>
108
 
109
+ <div class="about-text"><?php echo _e('Thank you for choosing WP ULike! This version is our leanest and most powerful version yet.', WP_ULIKE_SLUG) ; ?><br />
110
+ <a target="_blank" href="http://preview.alimir.ir/developer/wp-ulike/"> <?php _e('Visit our homepage',WP_ULIKE_SLUG); ?></a>
111
  </div>
112
+ <div class="ulike-badge"><?php echo _e('Version',WP_ULIKE_SLUG) . ' ' . WP_ULIKE_VERSION; ?></div>
 
113
  <h2 class="nav-tab-wrapper">
114
+ <a class="nav-tab <?php if(!isset($_GET["credit"])) echo 'nav-tab-active'; ?>" href="admin.php?page=wp-ulike-about"><?php echo _e('Getting Started',WP_ULIKE_SLUG); ?></a>
115
+ <a class="nav-tab <?php if(isset($_GET["credit"])) echo 'nav-tab-active'; ?>" href="admin.php?page=wp-ulike-about&credit=true"><?php echo _e('Credits',WP_ULIKE_SLUG); ?></a>
116
+ <a target="_blank" class="nav-tab" href="https://wordpress.org/support/plugin/wp-ulike"><?php echo _e('Support',WP_ULIKE_SLUG); ?></a>
117
+ <a target="_blank" class="nav-tab" href="https://wordpress.org/plugins/wp-ulike/faq/"><?php echo _e('FAQ',WP_ULIKE_SLUG); ?></a>
118
+ <a target="_blank" class="nav-tab" href="https://wordpress.org/support/view/plugin-reviews/wp-ulike"><?php echo _e('Reviews',WP_ULIKE_SLUG); ?></a>
119
  </h2>
120
 
121
  <?php if(!isset($_GET["credit"])): ?>
122
 
123
+ <div class="changelog headline-feature">
124
+ <h2><?php echo _e('Introducing WP ULike',WP_ULIKE_SLUG); ?></h2>
125
+ <div class="featured-image">
126
+ <img src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/wp-ulike-intro.png">
127
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
 
129
+ <div class="feature-section">
130
+ <div class="col">
131
+ <h3><?php echo _e('About WP ULike',WP_ULIKE_SLUG); ?></h3>
132
+ <span style="text-align:center">
133
+ <?php $args = array(
134
+ 'rating' => 5,
135
+ 'type' => 'rating',
136
+ 'number' => 43,
137
+ );
138
+ wp_star_rating( $args ); ?>
139
+ </span>
140
+ <p><?php echo _e('WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments AND buddypress activities. Its very simple to use and supports many options.',WP_ULIKE_SLUG); ?></p>
141
+ </div>
142
+ </div>
 
 
 
 
 
143
 
144
+ <div class="clear"></div>
145
+ </div>
146
+
147
+ <div class="feature-section three-col">
148
+ <div class="col">
149
+ <div class="svg-container">
150
+ <svg viewBox="-10 -10 52 52">
151
+ <g filter="">
152
+ <use xlink:href="#like"></use>
153
+ </g>
154
+ </svg>
155
+ </div>
156
+ <h3><?php echo _e('WP Ulike Extension',WP_ULIKE_SLUG); ?></h3>
157
+ <p><?php echo _e('Right now, WP ULike support wordpress posts / comments, BuddyPress activities & bbPress Topics.',WP_ULIKE_SLUG); ?></p>
158
+ </div>
159
+ <div class="col">
160
+ <div class="svg-container">
161
+ <svg viewBox="-10 -10 52 52">
162
+ <g filter="">
163
+ <use xlink:href="#globe"></use>
164
+ </g>
165
+ </svg>
166
+ </div>
167
+ <h3><?php echo _e('Added More Than 20 Language Files',WP_ULIKE_SLUG); ?></h3>
168
+ <p><?php echo _e('WP ULike is already translated into +20 languages, with more always in progress.',WP_ULIKE_SLUG); ?></p>
169
+ </div>
170
+ <div class="col">
171
+ <div class="svg-container">
172
+ <svg viewBox="-10 -10 52 52">
173
+ <g filter="">
174
+ <use xlink:href="#happy-smiley"></use>
175
+ </g>
176
+ </svg>
177
+ </div>
178
+ <h3><?php echo _e('User Profile Links',WP_ULIKE_SLUG); ?></h3>
179
+ <p><?php echo _e('Since WP ULike 2.3, We have synced the likers profile with BuddyPress & UltimateMember plugins.',WP_ULIKE_SLUG); ?></p>
180
+ </div>
181
+ <div class="col">
182
+ <div class="svg-container">
183
+ <svg viewBox="-10 -10 52 52">
184
+ <g filter="">
185
+ <use xlink:href="#heart"></use>
186
+ </g>
187
+ </svg>
188
+ </div>
189
+ <h3><?php echo _e('New Themes And Styles',WP_ULIKE_SLUG); ?></h3>
190
+ <p><?php echo _e('Since WP ULike 2.3, We have made some new styles and themes and you can customize them by your taste.',WP_ULIKE_SLUG); ?></p>
191
+ </div>
192
+ <div class="col">
193
+ <div class="svg-container">
194
+ <svg viewBox="-10 -10 52 52">
195
+ <g filter="">
196
+ <use xlink:href="#prize"></use>
197
+ </g>
198
+ </svg>
199
+ </div>
200
+ <h3><?php echo _e('myCRED Points Support',WP_ULIKE_SLUG); ?></h3>
201
+ <p><?php echo _e('myCRED is an adaptive points management system that lets you award / charge your users for interacting with your WordPress.',WP_ULIKE_SLUG); ?></p>
202
+ </div>
203
+ <div class="col">
204
+ <div class="svg-container">
205
+ <svg viewBox="-10 -10 52 52">
206
+ <g filter="">
207
+ <use xlink:href="#tag"></use>
208
+ </g>
209
+ </svg>
210
+ </div>
211
+ <h3><?php echo _e('Likers World Map',WP_ULIKE_SLUG); ?></h3>
212
+ <p><?php echo _e('Since WP ULike 2.3, We have made a new ability that you can track your likers by their country in the world map & Top Liker widget.',WP_ULIKE_SLUG); ?></p>
213
+ </div>
214
+ </div>
215
 
216
  <div class="changelog feature-list">
217
  <div class="return-to-dashboard">
218
+ <a href="admin.php?page=wp-ulike-statistics"><?php echo _e('WP ULike Statistics',WP_ULIKE_SLUG); ?> &rarr; <?php echo _e('Home',WP_ULIKE_SLUG); ?></a> <?php echo _e('OR',WP_ULIKE_SLUG); ?> <a href="admin.php?page=wp-ulike-settings"><?php echo _e('WP ULike Settings',WP_ULIKE_SLUG); ?></a>
219
  </div>
220
  </div>
221
 
222
  <?php else: ?>
223
 
224
+ <p class="about-description"><?php echo _e('WP ULike is created by many love and time. Enjoy it :)',WP_ULIKE_SLUG); ?></p>
225
+ <h4 class="wp-people-group"><?php echo _e('Project Leaders',WP_ULIKE_SLUG); ?></h4>
226
  <ul class="wp-people-group">
227
  <li class="wp-person" id="wp-person-alimirzaei">
228
+ <a href="https://profiles.wordpress.org/alimir/"><?php echo get_avatar( 'info@alimir.ir', 64 ); ?></a>
229
+ <a class="web" target="_blank" href="https://ir.linkedin.com/in/alimirir/">Ali Mirzaei</a>
230
+ <span class="title"><?php echo _e('Project Lead & Developer',WP_ULIKE_SLUG); ?></span>
231
  </li>
232
  </ul>
233
 
234
+ <h4 class="wp-people-group"><?php _e('Translations',WP_ULIKE_SLUG); ?></h4>
235
  <ul>
236
  <li>English (United States)</li>
237
  <li>Persian (Iran)</li>
270
  <li>English (United Kingdom)</li>
271
  </ul>
272
 
273
+ <p class="about-description"><?php _e('Would you like to help translate the plugin into more languages?',WP_ULIKE_SLUG); ?> <a target="_blank" href="https://www.transifex.com/projects/p/wp-ulike/" title"WP-Translations">[<?php _e('Join our WP-Translations Community',WP_ULIKE_SLUG); ?>]</a></p>
274
 
275
+ <h4 class="wp-people-group"><?php echo _e('Other Plugins',WP_ULIKE_SLUG); ?></h4>
276
  <ul class="wp-people-group">
277
  <li class="wp-person" id="wp-person-alimirzaei">
278
  <a target="_blank" href="https://wordpress.org/plugins/blue-login-style"><img class="gravatar" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/blue-login-themes.jpg" alt="Blue Login Themes" /></a>
291
  </li>
292
  </ul>
293
 
294
+ <h4 class="wp-people-group"><?php _e('Like this plugin?',WP_ULIKE_SLUG); ?></h4>
295
+ <div class="boxstyle"><p><strong><?php _e('Show your support by Rating 5 Star in <a href="http://wordpress.org/plugins/wp-ulike"> Plugin Directory reviews</a>',WP_ULIKE_SLUG); ?></strong></p></div>
296
 
297
  <?php endif; ?>
298
 
admin/admin.php CHANGED
@@ -36,7 +36,7 @@
36
  * @return String
37
  */
38
  function wp_ulike_copyright( $text ) {
39
- return sprintf( __( ' Thank you for choosing <a href="%s" title="Wordpress ULike" target="_blank">WP ULike</a>. Created by <a href="%s" title="Wordpress ULike" target="_blank">Ali Mirzaei</a>' ), 'http://wordpress.org/plugins/wp-ulike/', 'http://about.alimir.ir' );
40
  }
41
 
42
  /*******************************************************
@@ -69,10 +69,10 @@
69
  //activate general setting panel
70
  $wp_ulike_setting = wp_ulike_create_settings_page(
71
  'wp-ulike-settings',
72
- __( 'WP ULike Settings', 'alimir' ),
73
  array(
74
  'parent' => false,
75
- 'title' => __( 'WP ULike', 'alimir' ),
76
  'icon_url' => 'dashicons-smiley'
77
  ),
78
  array(
@@ -80,7 +80,7 @@
80
  ),
81
  array(
82
  'tabs' => true,
83
- 'updated' => __('Settings saved.','alimir')
84
  )
85
  );
86
 
@@ -110,9 +110,9 @@
110
  }
111
 
112
  if ($wpdb->query("TRUNCATE TABLE $logs_table") === FALSE) {
113
- wp_send_json_error( __( 'Failed! An Error Has Occurred While Deleting All ULike Logs/Data', 'alimir' ) );
114
  } else {
115
- wp_send_json_success( __( 'Success! All ULike Logs/Data Have Been Deleted', 'alimir' ) );
116
  }
117
  }
118
 
@@ -138,9 +138,9 @@
138
  $do_action = $wpdb->delete($meta_table, array( 'meta_key' => $meta_key ));
139
 
140
  if ($do_action === FALSE) {
141
- wp_send_json_error( __( 'Failed! An Error Has Occurred While Deleting All ULike Logs/Data', 'alimir' ));
142
  } else {
143
- wp_send_json_success( __( 'Success! All ULike Logs/Data Have Been Deleted', 'alimir' ) );
144
  }
145
  }
146
 
@@ -156,25 +156,25 @@
156
  function wp_ulike_admin_menu() {
157
 
158
  //Post Like Logs Menu
159
- $posts_screen = add_submenu_page(null, __( 'Post Likes Logs', 'alimir' ), __( 'Post Likes Logs', 'alimir' ), 'manage_options', 'wp-ulike-post-logs', 'wp_ulike_post_likes_logs');
160
  add_action("load-$posts_screen",'wp_ulike_logs_per_page');
161
 
162
  //Comment Like Logs Menu
163
- $comments_screen = add_submenu_page(null, __( 'Comment Likes Logs', 'alimir' ), __( 'Comment Likes Logs', 'alimir' ), 'manage_options','wp-ulike-comment-logs', 'wp_ulike_comment_likes_logs');
164
  add_action("load-$comments_screen",'wp_ulike_logs_per_page');
165
 
166
  //Activity Like Logs Menu
167
- $activities_screen = add_submenu_page(null, __( 'Activity Likes Logs', 'alimir' ), __( 'Activity Likes Logs', 'alimir' ), 'manage_options', 'wp-ulike-bp-logs', 'wp_ulike_buddypress_likes_logs');
168
  add_action("load-$activities_screen",'wp_ulike_logs_per_page');
169
 
170
  //Activity Like Logs Menu
171
- $topics_screen = add_submenu_page(null, __( 'Topics Likes Logs', 'alimir' ), __( 'Topics Likes Logs', 'alimir' ), 'manage_options', 'wp-ulike-bbpress-logs', 'wp_ulike_bbpress_likes_logs');
172
  add_action("load-$topics_screen",'wp_ulike_logs_per_page');
173
 
174
  //Statistics Menu
175
- $statistics_screen = add_submenu_page('wp-ulike-settings', __( 'WP ULike Statistics', 'alimir' ), __( 'WP ULike Statistics', 'alimir' ), 'manage_options', 'wp-ulike-statistics', 'wp_ulike_statistics');
176
  add_action("load-$statistics_screen",'wp_ulike_statistics_register_option');
177
 
178
  //WP ULike About Menu
179
- add_submenu_page('wp-ulike-settings', __( 'About WP ULike', 'alimir' ), __( 'About WP ULike', 'alimir' ), 'manage_options', 'wp-ulike-about', 'wp_ulike_about_page');
180
  }
36
  * @return String
37
  */
38
  function wp_ulike_copyright( $text ) {
39
+ return sprintf( __( ' Thank you for choosing <a href="%s" title="Wordpress ULike" target="_blank">WP ULike</a>. Created by <a href="%s" title="Wordpress ULike" target="_blank">Ali Mirzaei</a>' ), 'http://wordpress.org/plugins/wp-ulike/', 'https://ir.linkedin.com/in/alimirir' );
40
  }
41
 
42
  /*******************************************************
69
  //activate general setting panel
70
  $wp_ulike_setting = wp_ulike_create_settings_page(
71
  'wp-ulike-settings',
72
+ __( 'WP ULike Settings', WP_ULIKE_SLUG ),
73
  array(
74
  'parent' => false,
75
+ 'title' => __( 'WP ULike', WP_ULIKE_SLUG ),
76
  'icon_url' => 'dashicons-smiley'
77
  ),
78
  array(
80
  ),
81
  array(
82
  'tabs' => true,
83
+ 'updated' => __('Settings saved.',WP_ULIKE_SLUG)
84
  )
85
  );
86
 
110
  }
111
 
112
  if ($wpdb->query("TRUNCATE TABLE $logs_table") === FALSE) {
113
+ wp_send_json_error( __( 'Failed! An Error Has Occurred While Deleting All ULike Logs/Data', WP_ULIKE_SLUG ) );
114
  } else {
115
+ wp_send_json_success( __( 'Success! All ULike Logs/Data Have Been Deleted', WP_ULIKE_SLUG ) );
116
  }
117
  }
118
 
138
  $do_action = $wpdb->delete($meta_table, array( 'meta_key' => $meta_key ));
139
 
140
  if ($do_action === FALSE) {
141
+ wp_send_json_error( __( 'Failed! An Error Has Occurred While Deleting All ULike Logs/Data', WP_ULIKE_SLUG ));
142
  } else {
143
+ wp_send_json_success( __( 'Success! All ULike Logs/Data Have Been Deleted', WP_ULIKE_SLUG ) );
144
  }
145
  }
146
 
156
  function wp_ulike_admin_menu() {
157
 
158
  //Post Like Logs Menu
159
+ $posts_screen = add_submenu_page(null, __( 'Post Likes Logs', WP_ULIKE_SLUG ), __( 'Post Likes Logs', WP_ULIKE_SLUG ), 'manage_options', 'wp-ulike-post-logs', 'wp_ulike_post_likes_logs');
160
  add_action("load-$posts_screen",'wp_ulike_logs_per_page');
161
 
162
  //Comment Like Logs Menu
163
+ $comments_screen = add_submenu_page(null, __( 'Comment Likes Logs', WP_ULIKE_SLUG ), __( 'Comment Likes Logs', WP_ULIKE_SLUG ), 'manage_options','wp-ulike-comment-logs', 'wp_ulike_comment_likes_logs');
164
  add_action("load-$comments_screen",'wp_ulike_logs_per_page');
165
 
166
  //Activity Like Logs Menu
167
+ $activities_screen = add_submenu_page(null, __( 'Activity Likes Logs', WP_ULIKE_SLUG ), __( 'Activity Likes Logs', WP_ULIKE_SLUG ), 'manage_options', 'wp-ulike-bp-logs', 'wp_ulike_buddypress_likes_logs');
168
  add_action("load-$activities_screen",'wp_ulike_logs_per_page');
169
 
170
  //Activity Like Logs Menu
171
+ $topics_screen = add_submenu_page(null, __( 'Topics Likes Logs', WP_ULIKE_SLUG ), __( 'Topics Likes Logs', WP_ULIKE_SLUG ), 'manage_options', 'wp-ulike-bbpress-logs', 'wp_ulike_bbpress_likes_logs');
172
  add_action("load-$topics_screen",'wp_ulike_logs_per_page');
173
 
174
  //Statistics Menu
175
+ $statistics_screen = add_submenu_page('wp-ulike-settings', __( 'WP ULike Statistics', WP_ULIKE_SLUG ), __( 'WP ULike Statistics', WP_ULIKE_SLUG ), 'manage_options', 'wp-ulike-statistics', 'wp_ulike_statistics');
176
  add_action("load-$statistics_screen",'wp_ulike_statistics_register_option');
177
 
178
  //WP ULike About Menu
179
+ add_submenu_page('wp-ulike-settings', __( 'About WP ULike', WP_ULIKE_SLUG ), __( 'About WP ULike', WP_ULIKE_SLUG ), 'manage_options', 'wp-ulike-about', 'wp_ulike_about_page');
180
  }
admin/classes/class-settings.php CHANGED
@@ -14,7 +14,7 @@ class wp_ulike_settings {
14
  public function __construct( $page = 'custom_settings', $title = null, $menu = array(), $settings = array(), $args = array() )
15
  {
16
  $this->page = $page;
17
- $this->title = $title ? $title : __( 'Custom Settings', 'alimir' );
18
  $this->menu = is_array( $menu ) ? array_merge( array(
19
  'parent' => 'themes.php',
20
  'title' => $this->title,
@@ -25,8 +25,8 @@ class wp_ulike_settings {
25
  $this->apply_settings( $settings );
26
  $this->args = array_merge( array(
27
  'description' => null,
28
- 'submit' => __( 'Save Settings', 'alimir' ),
29
- 'reset' => __( 'Reset Settings', 'alimir' ),
30
  'tabs' => false,
31
  'updated' => null
32
  ), $args );
@@ -41,34 +41,34 @@ class wp_ulike_settings {
41
  $this->admin_screen = WP_Screen::get($current_screen);
42
  $this->admin_screen->add_help_tab(
43
  array(
44
- 'title' => __('Similar Settings','alimir'),
45
  'id' => 'overview_tab',
46
- 'content' => '<p>' . __('WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments AND buddypress activities. Its very simple to use and supports many options.', 'alimir') . '</p>'.
47
 
48
- '<p>'.'<strong>'.__( 'Logging Method','alimir').' : </strong></p>'.
49
  '<ul>'.
50
- '<li>'.__('If you select <strong>"Do Not Log"</strong> method: Any data logs can\'t save, There is no limitation in the like/dislike, unlike/undislike capacity do not work', 'alimir').'</li>'.
51
- '<li>'.__('If you select <strong>"Logged By Cookie"</strong> method: Any data logs can\'t save, The like/dislike condition will be limited by SetCookie, unlike/undislike capacity do not work', 'alimir').'</li>'.
52
- '<li>'.__('If you select <strong>"Logged By IP"</strong> method: Data logs will save for all users, the convey of like/dislike condition will check by user IP', 'alimir').'</li>'.
53
- '<li>'.__('If you select <strong>"Logged By Cookie & IP"</strong> method: Data logs will save for all users, the convey of like/dislike condition will check by user IP & SetCookie', 'alimir').'</li>'.
54
- '<li>'.__('If you select <strong>"Logged By Username"</strong> method: data logs only is saved for registered users, the convey of like/dislike condition will check by username, There is no permission for guest users to unlike/undislike', 'alimir').'</li>
55
  </ul>'.
56
 
57
- '<p>'.'<strong>'.__( 'Template Variables','alimir').' : </strong></p>'.
58
  '<ul>'.
59
- '<li>'.'<code>%START_WHILE%</code> : ' . __('Start the loop of logs','alimir') .' <span style="color:red">('.__( 'required','alimir').')</span></li>'.
60
- '<li>'.'<code>%END_WHILE%</code> : ' . __('End of the while loop','alimir') .' <span style="color:red">('.__( 'required','alimir').')</span></li>'.
61
- '<li>'.'<code>%USER_NAME%</code> : ' . __('Display the liker name','alimir') .'</li>'.
62
- '<li>'.'<code>%USER_AVATAR%</code> : ' . __('Display the liker avatar (By Gravatar)','alimir') .'</li>'.
63
- '<li>'.'<code>%BP_PROFILE_URL%</code> : ' . __('Display the BuddyPress user profile url','alimir') .'</li>'.
64
- '<li>'.'<code>%UM_PROFILE_URL%</code> : ' . __('Display the UltimateMemebr user profile url','alimir') .'</li><hr>'.
65
- '<li>'.'<code>%POST_LIKER%</code> : ' . __('Display the liker name','alimir') .'</li>'.
66
- '<li>'.'<code>%POST_PERMALINK%</code> : ' . __('Display the permalink','alimir') .'</li>'.
67
- '<li>'.'<code>%POST_COUNT%</code> : ' . __('Display the likes count number','alimir') .'</li>'.
68
- '<li>'.'<code>%POST_TITLE%</code> : ' . __('Display the post title','alimir') .'</li><hr>'.
69
- '<li>'.'<code>%COMMENT_LIKER%</code> : ' . __('Display the liker name','alimir') .'</li>'.
70
- '<li>'.'<code>%COMMENT_AUTHOR%</code> : ' . __('Display the comment author name','alimir') .'</li>'.
71
- '<li>'.'<code>%COMMENT_COUNT%</code> : ' . __('Display the likes count number','alimir') .'</li>'.
72
  '</ul>'
73
  ,
74
  'callback' => false
@@ -76,39 +76,39 @@ class wp_ulike_settings {
76
  );
77
  $this->admin_screen->add_help_tab(
78
  array(
79
- 'title' => __( 'Posts','alimir'),
80
  'id' => 'posts_tab',
81
- 'content' => '<p>'.'<strong>'.__('Automatic display', 'alimir').' : </strong></p><ul><li>'.__('If you disable this option, you have to put manually this code on wordpress while loop', 'alimir') . '<br /><code dir="ltr">&lt;?php if(function_exists(\'wp_ulike\')) wp_ulike(\'get\'); ?&gt;</code>'.'</li></ul>'.'<p>'.'<strong>'.__('Users Like Box Template', 'alimir') . ' - ' . __('Default Template:', 'alimir') .' </strong></p><ul><li><code>&lt;p style="margin-top:5px"&gt; '.__('Users who have LIKED this post:','alimir').'&lt;/p&gt; &lt;ul class="tiles"&gt;%START_WHILE%&lt;li&gt;&lt;a href="%BP_PROFILE_URL%" class="user-tooltip" title="%USER_NAME%"&gt;%USER_AVATAR%&lt;/a&gt;&lt;/li&gt;%END_WHILE%&lt;/ul&gt;</code>'.'</li></ul>',
82
 
83
  'callback' => false
84
  )
85
  );
86
  $this->admin_screen->add_help_tab(
87
  array(
88
- 'title' => __( 'Comments','alimir'),
89
  'id' => 'comments_tab',
90
- 'content' => '<p>'.'<strong>'.__('Automatic display', 'alimir').' : </strong></p><ul><li>'.__('If you disable this option, you have to put manually this code on comments text', 'alimir') . '<br /><code dir="ltr">&lt;?php if(function_exists(\'wp_ulike_comments\')) wp_ulike_comments(\'get\'); ?&gt;</code>'.'</li></ul>' . '<p>'.'<strong>'.__('Users Like Box Template', 'alimir') . ' - ' . __('Default Template:', 'alimir') .' </strong></p><ul><li><code>&lt;p style="margin-top:5px"&gt; '.__('Users who have LIKED this comment:','alimir').'&lt;/p&gt; &lt;ul class="tiles"&gt;%START_WHILE%&lt;li&gt;&lt;a href="%BP_PROFILE_URL%" class="user-tooltip" title="%USER_NAME%"&gt;%USER_AVATAR%&lt;/a&gt;&lt;/li&gt;%END_WHILE%&lt;/ul&gt;</code>'.'</li></ul>',
91
  'callback' => false
92
  )
93
  );
94
  $this->admin_screen->add_help_tab(
95
  array(
96
- 'title' => __( 'BuddyPress','alimir'),
97
  'id' => 'bp_tab',
98
- 'content' => '<p>'.'<strong>'.__('Automatic display', 'alimir').' : </strong></p><ul><li>'.__('If you disable this option, you have to put manually this code on buddypres activities content', 'alimir') . '<br /><code dir="ltr">&lt;?php if(function_exists(\'wp_ulike_buddypress\')) wp_ulike_buddypress(\'get\'); ?&gt;</code>'.'</li></ul>' . '<p>'.'<strong>'.__('Users Like Box Template', 'alimir') . ' - ' . __('Default Template:', 'alimir') .' </strong></p><ul><li><code>&lt;p style="margin-top:5px"&gt; '.__('Users who have liked this activity:','alimir').'&lt;/p&gt; &lt;ul class="tiles"&gt;%START_WHILE%&lt;li&gt;&lt;a href="%BP_PROFILE_URL%" class="user-tooltip" title="%USER_NAME%"&gt;%USER_AVATAR%&lt;/a&gt;&lt;/li&gt;%END_WHILE%&lt;/ul&gt;</code>'.'</li></ul>'.'<p>'.'<strong>'.__('Post Activity Text', 'alimir') . ' - ' . __('Default Template:', 'alimir') .' </strong></p><ul><li><code>&lt;strong&gt;%POST_LIKER%&lt;/strong&gt; liked &lt;a href="%POST_PERMALINK%" title="%POST_TITLE%"&gt;%POST_TITLE%&lt;/a&gt;. (So far, This post has &lt;span class="badge"&gt;%POST_COUNT%&lt;/span&gt; likes)</code>'.'</li></ul>' . '<p>'.'<strong>'.__('Comment Activity Text', 'alimir') . ' - ' . __('Default Template:', 'alimir') .' </strong></p><ul><li><code>&lt;strong&gt;%COMMENT_LIKER%&lt;/strong&gt; liked &lt;strong&gt;%COMMENT_AUTHOR%&lt;/strong&gt; comment. (So far, %COMMENT_AUTHOR% has &lt;span class="badge"&gt;%COMMENT_COUNT%&lt;/span&gt; likes for this comment)</code>'.'</li></ul>',
99
  'callback' => false
100
  )
101
  );
102
  $this->admin_screen->add_help_tab(
103
  array(
104
- 'title' => __( 'bbPress','alimir'),
105
  'id' => 'bb_tab',
106
- 'content' => '<p>'.'<strong>'.__('Automatic display', 'alimir').' : </strong></p><ul><li>'.__('If you disable this option, you have to put manually this code on buddypres activities content', 'alimir') . '<br /><code dir="ltr">&lt;?php if(function_exists(\'wp_ulike_bbpress\')) wp_ulike_bbpress(\'get\'); ?&gt;</code>'.'</li></ul>' . '<p>'.'<strong>'.__('Users Like Box Template', 'alimir') . ' - ' . __('Default Template:', 'alimir') .' </strong></p><ul><li><code>&lt;p style="margin-top:5px"&gt; '.__('Users who have liked this activity:','alimir').'&lt;/p&gt; &lt;ul class="tiles"&gt;%START_WHILE%&lt;li&gt;&lt;a href="%BP_PROFILE_URL%" class="user-tooltip" title="%USER_NAME%"&gt;%USER_AVATAR%&lt;/a&gt;&lt;/li&gt;%END_WHILE%&lt;/ul&gt;</code>'.'</li></ul>',
107
  'callback' => false
108
  )
109
  );
110
  $this->admin_screen->set_help_sidebar(
111
- '<p><strong>'.__('For more information:').'</strong></p><p><a href="https://wordpress.org/plugins/wp-ulike/faq/" target="_blank">'.__('FAQ','alimir').'</a></p><p><a href="https://wordpress.org/support/plugin/wp-ulike" target="_blank">'.__('Support','alimir').'</a></p>'
112
  );
113
  }
114
 
@@ -167,7 +167,7 @@ class wp_ulike_settings {
167
  foreach ( $this->settings as $setting => $section ) {
168
  $_POST[$setting] = array_merge( $_POST[$setting], $this->get_defaults( $setting ) );
169
  }
170
- add_settings_error( $this->page, 'settings_reset', __( 'Default settings have been reset.', 'alimir' ), 'updated' );
171
  }
172
 
173
  public function admin_menu()
@@ -244,7 +244,7 @@ class wp_ulike_settings {
244
  <?php }
245
  submit_button( $this->args['submit'], 'large primary' );
246
  if ( $this->args['reset'] ) {
247
- submit_button( $this->args['reset'], 'small', "{$this->page}_reset", true, array( 'onclick' => "return confirm('" . __( 'Do you really want to reset all these settings to their default values ?', 'alimir' ) . "');" ) );
248
  }
249
  }
250
  ?>
@@ -309,7 +309,7 @@ class wp_ulike_settings {
309
  break;
310
 
311
  case 'radio':
312
- if ( ! $options ) { _e( 'No options defined.', 'alimir' ); }
313
  echo "<fieldset id='{$id}'>";
314
  foreach ( $options as $v => $label ) {
315
  $check = checked( $v, $value, false );
@@ -320,7 +320,7 @@ class wp_ulike_settings {
320
  break;
321
 
322
  case 'select':
323
- if ( ! $options ) { _e( 'No options defined.', 'alimir' ); }
324
  echo "<select {$attrs} id='{$id}'>";
325
  foreach ( $options as $v => $label ) {
326
  $select = selected( $v, $value, false );
@@ -331,8 +331,8 @@ class wp_ulike_settings {
331
 
332
  case 'media':
333
  echo "<fieldset class='wm-settings-media' id='{$id}'><input {$attrs} type='hidden' value='{$value}' />";
334
- echo "<p><a class='button button-large wm-select-media' title='{$label}'>" . sprintf( __( 'Select %s', 'alimir' ), $label ) . "</a> ";
335
- echo "<a class='button button-small wm-remove-media' title='{$label}'>" . sprintf( __( 'Remove %s', 'alimir' ), $label ) . "</a></p>";
336
  if ( $value ) {
337
  echo wpautop( wp_get_attachment_image( $value, 'medium' ) );
338
  }
@@ -344,7 +344,7 @@ class wp_ulike_settings {
344
  break;
345
 
346
  case 'multi':
347
- if ( ! $options ) { _e( 'No options defined.', 'alimir' ); }
348
  echo "<fieldset id='{$id}'>";
349
  foreach ( $options as $n => $label ) {
350
  $a = preg_replace( "/name\=\'(.+)\'/", "name='$1[{$n}]'", $attrs );
@@ -356,7 +356,7 @@ class wp_ulike_settings {
356
  break;
357
 
358
  case 'action':
359
- if ( ! $action ) { _e( 'No action defined.', 'alimir' ); }
360
  echo "<p class='wm-settings-action'><input {$attrs} id='{$id}' type='button' class='button button-large' value='{$label}' /></p>{$desc}";
361
  break;
362
 
14
  public function __construct( $page = 'custom_settings', $title = null, $menu = array(), $settings = array(), $args = array() )
15
  {
16
  $this->page = $page;
17
+ $this->title = $title ? $title : __( 'Custom Settings', WP_ULIKE_SLUG );
18
  $this->menu = is_array( $menu ) ? array_merge( array(
19
  'parent' => 'themes.php',
20
  'title' => $this->title,
25
  $this->apply_settings( $settings );
26
  $this->args = array_merge( array(
27
  'description' => null,
28
+ 'submit' => __( 'Save Settings', WP_ULIKE_SLUG ),
29
+ 'reset' => __( 'Reset Settings', WP_ULIKE_SLUG ),
30
  'tabs' => false,
31
  'updated' => null
32
  ), $args );
41
  $this->admin_screen = WP_Screen::get($current_screen);
42
  $this->admin_screen->add_help_tab(
43
  array(
44
+ 'title' => __('Similar Settings',WP_ULIKE_SLUG),
45
  'id' => 'overview_tab',
46
+ 'content' => '<p>' . __('WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments AND buddypress activities. Its very simple to use and supports many options.', WP_ULIKE_SLUG) . '</p>'.
47
 
48
+ '<p>'.'<strong>'.__( 'Logging Method',WP_ULIKE_SLUG).' : </strong></p>'.
49
  '<ul>'.
50
+ '<li>'.__('If you select <strong>"Do Not Log"</strong> method: Any data logs can\'t save, There is no limitation in the like/dislike, unlike/undislike capacity do not work', WP_ULIKE_SLUG).'</li>'.
51
+ '<li>'.__('If you select <strong>"Logged By Cookie"</strong> method: Any data logs can\'t save, The like/dislike condition will be limited by SetCookie, unlike/undislike capacity do not work', WP_ULIKE_SLUG).'</li>'.
52
+ '<li>'.__('If you select <strong>"Logged By IP"</strong> method: Data logs will save for all users, the convey of like/dislike condition will check by user IP', WP_ULIKE_SLUG).'</li>'.
53
+ '<li>'.__('If you select <strong>"Logged By Cookie & IP"</strong> method: Data logs will save for all users, the convey of like/dislike condition will check by user IP & SetCookie', WP_ULIKE_SLUG).'</li>'.
54
+ '<li>'.__('If you select <strong>"Logged By Username"</strong> method: data logs only is saved for registered users, the convey of like/dislike condition will check by username, There is no permission for guest users to unlike/undislike', WP_ULIKE_SLUG).'</li>
55
  </ul>'.
56
 
57
+ '<p>'.'<strong>'.__( 'Template Variables',WP_ULIKE_SLUG).' : </strong></p>'.
58
  '<ul>'.
59
+ '<li>'.'<code>%START_WHILE%</code> : ' . __('Start the loop of logs',WP_ULIKE_SLUG) .' <span style="color:red">('.__( 'required',WP_ULIKE_SLUG).')</span></li>'.
60
+ '<li>'.'<code>%END_WHILE%</code> : ' . __('End of the while loop',WP_ULIKE_SLUG) .' <span style="color:red">('.__( 'required',WP_ULIKE_SLUG).')</span></li>'.
61
+ '<li>'.'<code>%USER_NAME%</code> : ' . __('Display the liker name',WP_ULIKE_SLUG) .'</li>'.
62
+ '<li>'.'<code>%USER_AVATAR%</code> : ' . __('Display the liker avatar (By Gravatar)',WP_ULIKE_SLUG) .'</li>'.
63
+ '<li>'.'<code>%BP_PROFILE_URL%</code> : ' . __('Display the BuddyPress user profile url',WP_ULIKE_SLUG) .'</li>'.
64
+ '<li>'.'<code>%UM_PROFILE_URL%</code> : ' . __('Display the UltimateMemebr user profile url',WP_ULIKE_SLUG) .'</li><hr>'.
65
+ '<li>'.'<code>%POST_LIKER%</code> : ' . __('Display the liker name',WP_ULIKE_SLUG) .'</li>'.
66
+ '<li>'.'<code>%POST_PERMALINK%</code> : ' . __('Display the permalink',WP_ULIKE_SLUG) .'</li>'.
67
+ '<li>'.'<code>%POST_COUNT%</code> : ' . __('Display the likes count number',WP_ULIKE_SLUG) .'</li>'.
68
+ '<li>'.'<code>%POST_TITLE%</code> : ' . __('Display the post title',WP_ULIKE_SLUG) .'</li><hr>'.
69
+ '<li>'.'<code>%COMMENT_LIKER%</code> : ' . __('Display the liker name',WP_ULIKE_SLUG) .'</li>'.
70
+ '<li>'.'<code>%COMMENT_AUTHOR%</code> : ' . __('Display the comment author name',WP_ULIKE_SLUG) .'</li>'.
71
+ '<li>'.'<code>%COMMENT_COUNT%</code> : ' . __('Display the likes count number',WP_ULIKE_SLUG) .'</li>'.
72
  '</ul>'
73
  ,
74
  'callback' => false
76
  );
77
  $this->admin_screen->add_help_tab(
78
  array(
79
+ 'title' => __( 'Posts',WP_ULIKE_SLUG),
80
  'id' => 'posts_tab',
81
+ 'content' => '<p>'.'<strong>'.__('Automatic display', WP_ULIKE_SLUG).' : </strong></p><ul><li>'.__('If you disable this option, you have to put manually this code on wordpress while loop', WP_ULIKE_SLUG) . '<br /><code dir="ltr">&lt;?php if(function_exists(\'wp_ulike\')) wp_ulike(\'get\'); ?&gt;</code>'.'</li></ul>'.'<p>'.'<strong>'.__('Users Like Box Template', WP_ULIKE_SLUG) . ' - ' . __('Default Template:', WP_ULIKE_SLUG) .' </strong></p><ul><li><code>&lt;p style="margin-top:5px"&gt; '.__('Users who have LIKED this post:',WP_ULIKE_SLUG).'&lt;/p&gt; &lt;ul class="tiles"&gt;%START_WHILE%&lt;li&gt;&lt;a href="%BP_PROFILE_URL%" class="user-tooltip" title="%USER_NAME%"&gt;%USER_AVATAR%&lt;/a&gt;&lt;/li&gt;%END_WHILE%&lt;/ul&gt;</code>'.'</li></ul>',
82
 
83
  'callback' => false
84
  )
85
  );
86
  $this->admin_screen->add_help_tab(
87
  array(
88
+ 'title' => __( 'Comments',WP_ULIKE_SLUG),
89
  'id' => 'comments_tab',
90
+ 'content' => '<p>'.'<strong>'.__('Automatic display', WP_ULIKE_SLUG).' : </strong></p><ul><li>'.__('If you disable this option, you have to put manually this code on comments text', WP_ULIKE_SLUG) . '<br /><code dir="ltr">&lt;?php if(function_exists(\'wp_ulike_comments\')) wp_ulike_comments(\'get\'); ?&gt;</code>'.'</li></ul>' . '<p>'.'<strong>'.__('Users Like Box Template', WP_ULIKE_SLUG) . ' - ' . __('Default Template:', WP_ULIKE_SLUG) .' </strong></p><ul><li><code>&lt;p style="margin-top:5px"&gt; '.__('Users who have LIKED this comment:',WP_ULIKE_SLUG).'&lt;/p&gt; &lt;ul class="tiles"&gt;%START_WHILE%&lt;li&gt;&lt;a href="%BP_PROFILE_URL%" class="user-tooltip" title="%USER_NAME%"&gt;%USER_AVATAR%&lt;/a&gt;&lt;/li&gt;%END_WHILE%&lt;/ul&gt;</code>'.'</li></ul>',
91
  'callback' => false
92
  )
93
  );
94
  $this->admin_screen->add_help_tab(
95
  array(
96
+ 'title' => __( 'BuddyPress',WP_ULIKE_SLUG),
97
  'id' => 'bp_tab',
98
+ 'content' => '<p>'.'<strong>'.__('Automatic display', WP_ULIKE_SLUG).' : </strong></p><ul><li>'.__('If you disable this option, you have to put manually this code on buddypres activities content', WP_ULIKE_SLUG) . '<br /><code dir="ltr">&lt;?php if(function_exists(\'wp_ulike_buddypress\')) wp_ulike_buddypress(\'get\'); ?&gt;</code>'.'</li></ul>' . '<p>'.'<strong>'.__('Users Like Box Template', WP_ULIKE_SLUG) . ' - ' . __('Default Template:', WP_ULIKE_SLUG) .' </strong></p><ul><li><code>&lt;p style="margin-top:5px"&gt; '.__('Users who have liked this activity:',WP_ULIKE_SLUG).'&lt;/p&gt; &lt;ul class="tiles"&gt;%START_WHILE%&lt;li&gt;&lt;a href="%BP_PROFILE_URL%" class="user-tooltip" title="%USER_NAME%"&gt;%USER_AVATAR%&lt;/a&gt;&lt;/li&gt;%END_WHILE%&lt;/ul&gt;</code>'.'</li></ul>'.'<p>'.'<strong>'.__('Post Activity Text', WP_ULIKE_SLUG) . ' - ' . __('Default Template:', WP_ULIKE_SLUG) .' </strong></p><ul><li><code>&lt;strong&gt;%POST_LIKER%&lt;/strong&gt; liked &lt;a href="%POST_PERMALINK%" title="%POST_TITLE%"&gt;%POST_TITLE%&lt;/a&gt;. (So far, This post has &lt;span class="badge"&gt;%POST_COUNT%&lt;/span&gt; likes)</code>'.'</li></ul>' . '<p>'.'<strong>'.__('Comment Activity Text', WP_ULIKE_SLUG) . ' - ' . __('Default Template:', WP_ULIKE_SLUG) .' </strong></p><ul><li><code>&lt;strong&gt;%COMMENT_LIKER%&lt;/strong&gt; liked &lt;strong&gt;%COMMENT_AUTHOR%&lt;/strong&gt; comment. (So far, %COMMENT_AUTHOR% has &lt;span class="badge"&gt;%COMMENT_COUNT%&lt;/span&gt; likes for this comment)</code>'.'</li></ul>',
99
  'callback' => false
100
  )
101
  );
102
  $this->admin_screen->add_help_tab(
103
  array(
104
+ 'title' => __( 'bbPress',WP_ULIKE_SLUG),
105
  'id' => 'bb_tab',
106
+ 'content' => '<p>'.'<strong>'.__('Automatic display', WP_ULIKE_SLUG).' : </strong></p><ul><li>'.__('If you disable this option, you have to put manually this code on buddypres activities content', WP_ULIKE_SLUG) . '<br /><code dir="ltr">&lt;?php if(function_exists(\'wp_ulike_bbpress\')) wp_ulike_bbpress(\'get\'); ?&gt;</code>'.'</li></ul>' . '<p>'.'<strong>'.__('Users Like Box Template', WP_ULIKE_SLUG) . ' - ' . __('Default Template:', WP_ULIKE_SLUG) .' </strong></p><ul><li><code>&lt;p style="margin-top:5px"&gt; '.__('Users who have liked this activity:',WP_ULIKE_SLUG).'&lt;/p&gt; &lt;ul class="tiles"&gt;%START_WHILE%&lt;li&gt;&lt;a href="%BP_PROFILE_URL%" class="user-tooltip" title="%USER_NAME%"&gt;%USER_AVATAR%&lt;/a&gt;&lt;/li&gt;%END_WHILE%&lt;/ul&gt;</code>'.'</li></ul>',
107
  'callback' => false
108
  )
109
  );
110
  $this->admin_screen->set_help_sidebar(
111
+ '<p><strong>'.__('For more information:').'</strong></p><p><a href="https://wordpress.org/plugins/wp-ulike/faq/" target="_blank">'.__('FAQ',WP_ULIKE_SLUG).'</a></p><p><a href="https://wordpress.org/support/plugin/wp-ulike" target="_blank">'.__('Support',WP_ULIKE_SLUG).'</a></p>'
112
  );
113
  }
114
 
167
  foreach ( $this->settings as $setting => $section ) {
168
  $_POST[$setting] = array_merge( $_POST[$setting], $this->get_defaults( $setting ) );
169
  }
170
+ add_settings_error( $this->page, 'settings_reset', __( 'Default settings have been reset.', WP_ULIKE_SLUG ), 'updated' );
171
  }
172
 
173
  public function admin_menu()
244
  <?php }
245
  submit_button( $this->args['submit'], 'large primary' );
246
  if ( $this->args['reset'] ) {
247
+ submit_button( $this->args['reset'], 'small', "{$this->page}_reset", true, array( 'onclick' => "return confirm('" . __( 'Do you really want to reset all these settings to their default values ?', WP_ULIKE_SLUG ) . "');" ) );
248
  }
249
  }
250
  ?>
309
  break;
310
 
311
  case 'radio':
312
+ if ( ! $options ) { _e( 'No options defined.', WP_ULIKE_SLUG ); }
313
  echo "<fieldset id='{$id}'>";
314
  foreach ( $options as $v => $label ) {
315
  $check = checked( $v, $value, false );
320
  break;
321
 
322
  case 'select':
323
+ if ( ! $options ) { _e( 'No options defined.', WP_ULIKE_SLUG ); }
324
  echo "<select {$attrs} id='{$id}'>";
325
  foreach ( $options as $v => $label ) {
326
  $select = selected( $v, $value, false );
331
 
332
  case 'media':
333
  echo "<fieldset class='wm-settings-media' id='{$id}'><input {$attrs} type='hidden' value='{$value}' />";
334
+ echo "<p><a class='button button-large wm-select-media' title='{$label}'>" . sprintf( __( 'Select %s', WP_ULIKE_SLUG ), $label ) . "</a> ";
335
+ echo "<a class='button button-small wm-remove-media' title='{$label}'>" . sprintf( __( 'Remove %s', WP_ULIKE_SLUG ), $label ) . "</a></p>";
336
  if ( $value ) {
337
  echo wpautop( wp_get_attachment_image( $value, 'medium' ) );
338
  }
344
  break;
345
 
346
  case 'multi':
347
+ if ( ! $options ) { _e( 'No options defined.', WP_ULIKE_SLUG ); }
348
  echo "<fieldset id='{$id}'>";
349
  foreach ( $options as $n => $label ) {
350
  $a = preg_replace( "/name\=\'(.+)\'/", "name='$1[{$n}]'", $attrs );
356
  break;
357
 
358
  case 'action':
359
+ if ( ! $action ) { _e( 'No action defined.', WP_ULIKE_SLUG ); }
360
  echo "<p class='wm-settings-action'><input {$attrs} id='{$id}' type='button' class='button button-large' value='{$label}' /></p>{$desc}";
361
  break;
362
 
admin/classes/class-widget.php CHANGED
@@ -8,8 +8,8 @@ class wp_ulike_widget extends WP_Widget {
8
  function __construct() {
9
  parent::__construct(
10
  'wp_ulike',
11
- __('WP Ulike Widget', 'alimir'),
12
- array( 'description' => __( 'An advanced widget that gives you all most liked records with different types', 'alimir' ))
13
  );
14
  }
15
 
@@ -19,15 +19,27 @@ class wp_ulike_widget extends WP_Widget {
19
  * @author Alimir
20
  * @since 1.1
21
  * @updated 2.3
 
22
  * @return String
23
  */
24
- public function most_liked_posts($numberOf, $before, $after, $show_count, $show_thumb, $trim, $sizeOf) {
25
  global $wpdb;
26
-
27
- $request = "SELECT ID, post_title, meta_value FROM ".$wpdb->prefix."posts, ".$wpdb->prefix."postmeta";
28
- $request .= " WHERE ".$wpdb->prefix."posts.ID = ".$wpdb->prefix."postmeta.post_id";
29
- $request .= " AND post_status='publish' AND meta_key='_liked'";
30
- $request .= " ORDER BY ".$wpdb->prefix."postmeta.meta_value+0 DESC LIMIT $numberOf";
 
 
 
 
 
 
 
 
 
 
 
31
  $posts = $wpdb->get_results($request);
32
 
33
  foreach ($posts as $post) {
@@ -35,13 +47,58 @@ class wp_ulike_widget extends WP_Widget {
35
  $permalink = get_permalink($post->ID);
36
  $post_count = $post->meta_value;
37
 
38
- echo $before;
39
- echo $show_thumb == '1' ? $this->get_post_thumbnail($post->ID, $sizeOf) : '';
40
- echo '<a href="' . $permalink . '" title="' . $post_title.'" rel="nofollow">'. wp_trim_words( $post_title, $num_words = $trim, $more = null ) . '</a>';
41
- echo $show_count == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($post_count).'</span>' : '';
42
- echo $after;
43
  }
44
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
 
46
  /**
47
  * Last Posts Liked By Current User
@@ -49,16 +106,19 @@ class wp_ulike_widget extends WP_Widget {
49
  * @author Alimir
50
  * @since 2.0
51
  * @updated 2.3
 
52
  * @return String
53
  */
54
- public function last_posts_liked_by_current_user($numberOf, $before, $after, $show_count, $show_thumb, $trim, $sizeOf) {
55
  global $wpdb,$user_ID,$wp_user_IP;
56
 
57
  $request = "SELECT U.post_id, P.meta_value AS counter
58
- FROM ".$wpdb->prefix."ulike AS U, ".$wpdb->prefix."postmeta AS P
59
- WHERE (U.ip LIKE '$wp_user_IP' OR U.user_id = $user_ID) AND U.post_id = P.post_id AND meta_key='_liked'
 
 
60
  GROUP BY U.post_id
61
- ORDER BY MAX(U.date_time) DESC LIMIT $numberOf
62
  ";
63
  $likes = $wpdb->get_results($request);
64
 
@@ -67,17 +127,17 @@ class wp_ulike_widget extends WP_Widget {
67
  $permalink = get_permalink($like->post_id);
68
  $post_title = get_the_title($like->post_id);
69
  $post_count = $like->counter;
70
- echo $before;
71
- echo $show_thumb == '1' ? $this->get_post_thumbnail($like->post_id, $sizeOf) : '';
72
- echo '<a href="' . $permalink . '" title="' . $post_title.'" rel="nofollow">' . wp_trim_words( $post_title, $num_words = $trim, $more = null ) . '</a>';
73
- echo $show_count == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($post_count).'</span>' : '';
74
- echo $after;
75
  }
76
  }
77
  else{
78
- echo $before;
79
- echo __('you haven\'t liked any post yet!','alimir');
80
- echo $after;
81
  }
82
 
83
  }
@@ -87,100 +147,83 @@ class wp_ulike_widget extends WP_Widget {
87
  *
88
  * @author Alimir
89
  * @since 2.3
 
90
  * @return String
91
  */
92
- public function most_liked_topics($numberOf, $before, $after, $show_count, $trim, $sizeOf) {
93
  global $wpdb;
94
-
95
- $request = "SELECT ID, post_title, meta_value FROM ".$wpdb->prefix."posts, ".$wpdb->prefix."postmeta";
96
- $request .= " WHERE ".$wpdb->prefix."posts.ID = ".$wpdb->prefix."postmeta.post_id";
97
- $request .= " AND post_status='publish' AND meta_key='_topicliked'";
98
- $request .= " ORDER BY ".$wpdb->prefix."postmeta.meta_value+0 DESC LIMIT $numberOf";
99
- $posts = $wpdb->get_results($request);
 
 
 
 
 
 
 
 
 
 
 
100
 
101
  foreach ($posts as $post) {
102
- $post_title = stripslashes($post->post_title);
103
- $permalink = get_permalink($post->ID);
104
- $post_count = $post->meta_value;
105
 
106
- echo $before;
107
- echo '<a href="' . $permalink . '" title="' . $post_title.'" rel="nofollow">'. wp_trim_words( $post_title, $num_words = $trim, $more = null ) . '</a>';
108
- echo $show_count == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($post_count).'</span>' : '';
109
- echo $after;
110
  }
111
  }
112
-
113
- /**
114
- * Get The Post Thumbnail
115
- *
116
- * @author Alimir
117
- * @since 2.3
118
- * @return String
119
- */
120
- public function get_post_thumbnail($id,$sizeOf){
121
- $thumbnail = get_the_post_thumbnail( $id, array( $sizeOf, $sizeOf), array( 'class' => 'wp_ulike_thumbnail' ) );
122
- if($thumbnail != '')
123
- return $thumbnail;
124
- else
125
- return '<img src="'.plugin_dir_url( __FILE__ ).'/img/no-thumbnail.png" class="wp_ulike_thumbnail" alt="no-thumbnail" width="'.$sizeOf.'"/>';
126
- }
127
-
128
- /**
129
- * Most Liked Comments Function
130
- *
131
- * @author Alimir
132
- * @since 1.9
133
- * @updated 2.3
134
- * @return String
135
- */
136
- public function most_liked_comments($numberOf, $before, $after, $show_count, $show_thumb, $trim, $sizeOf) {
137
- global $wpdb;
138
-
139
- $request = "SELECT * FROM ".$wpdb->prefix."comments, ".$wpdb->prefix."commentmeta";
140
- $request .= " WHERE ".$wpdb->prefix."comments.comment_ID = ".$wpdb->prefix."commentmeta.comment_id";
141
- $request .= " AND comment_approved='1' AND meta_key='_commentliked'";
142
- $request .= " ORDER BY ".$wpdb->prefix."commentmeta.meta_value+0 DESC LIMIT $numberOf";
143
- $comments = $wpdb->get_results($request);
144
-
145
- foreach ($comments as $comment) {
146
- $comment_author = stripslashes($comment->comment_author);
147
- $post_permalink = get_permalink($comment->comment_post_ID);
148
- $post_title = get_the_title($comment->comment_post_ID);
149
- $comment_permalink = get_permalink($comment->comment_ID);
150
- $comment_likes_count = $comment->meta_value;
151
-
152
- echo $before;
153
- echo $show_thumb == '1' ? get_avatar( $comment->comment_author_email, $sizeOf ) : '';
154
- echo '<span class="comment-author-link">' . $comment_author . '</span> ' . __('on','alimir');
155
- echo ' <a href="' . $post_permalink . '#comment-' . $comment->comment_ID . '" title="' . $post_title.'" rel="nofollow">' . wp_trim_words( $post_title, $num_words = $trim, $more = null ) . '</a>';
156
- echo $show_count == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($comment_likes_count).'</span>' : '';
157
- echo $after;
158
- }
159
- }
160
 
161
  /**
162
  * Most Liked Activities Function
163
  *
164
  * @author Alimir
165
  * @since 2.0
 
166
  * @return String
167
  */
168
- public function most_liked_activities($numberOf, $before, $after, $show_count) {
169
  global $wpdb;
170
-
171
- $request = "SELECT * FROM ".$wpdb->prefix."bp_activity, ".$wpdb->prefix."bp_activity_meta";
172
- $request .= " WHERE ".$wpdb->prefix."bp_activity.id = ".$wpdb->prefix."bp_activity_meta.activity_id";
173
- $request .= " AND meta_key='_activityliked'";
174
- $request .= " ORDER BY ".$wpdb->prefix."bp_activity_meta.meta_value+0 DESC LIMIT $numberOf";
175
- $activities = $wpdb->get_results($request);
 
 
 
 
 
 
 
 
 
 
 
 
 
176
 
177
  foreach ($activities as $activity) {
178
- $activity_permalink = bp_activity_get_permalink( $activity->activity_id );
179
- $activity_action = $activity->action;
 
 
180
 
181
- echo $before;
182
- echo $activity_action;
183
- echo $after;
 
 
 
184
  }
185
  }
186
 
@@ -190,9 +233,10 @@ class wp_ulike_widget extends WP_Widget {
190
  * @author Alimir
191
  * @since 1.2
192
  * @updated 2.3
 
193
  * @return String
194
  */
195
- public function most_liked_users($numberOf, $before, $after, $show_count,$profile_url, $sizeOf) {
196
  global $wpdb;
197
 
198
  $request = "SELECT T.user_id, SUM(T.CountUser) AS SumUser
@@ -200,25 +244,29 @@ class wp_ulike_widget extends WP_Widget {
200
  SELECT user_id, count(user_id) AS CountUser
201
  FROM ".$wpdb->prefix."ulike
202
  WHERE user_id BETWEEN 1 AND 999999
 
203
  GROUP BY user_id
204
  UNION ALL
205
  SELECT user_id, count(user_id) AS CountUser
206
  FROM ".$wpdb->prefix."ulike_activities
207
  WHERE user_id BETWEEN 1 AND 999999
 
208
  GROUP BY user_id
209
  UNION ALL
210
  SELECT user_id, count(user_id) AS CountUser
211
  FROM ".$wpdb->prefix."ulike_comments
212
  WHERE user_id BETWEEN 1 AND 999999
 
213
  GROUP BY user_id
214
  UNION ALL
215
  SELECT user_id, count(user_id) AS CountUser
216
  FROM ".$wpdb->prefix."ulike_forums
217
  WHERE user_id BETWEEN 1 AND 999999
 
218
  GROUP BY user_id
219
  ) AS T
220
  GROUP BY T.user_id
221
- ORDER BY SumUser DESC LIMIT $numberOf
222
  ";
223
  $likes = $wpdb->get_results($request);
224
 
@@ -227,22 +275,62 @@ class wp_ulike_widget extends WP_Widget {
227
  $get_user_info = get_userdata($get_user_id);
228
  $get_likes_count = $like->SumUser;
229
  $return_profile_url = '#';
230
- $echo_likes_count = $show_count == '1' ? ' ('.$get_likes_count . ' ' . __('Like','alimir').')' : '';
231
 
232
- if($profile_url == 'bp' && function_exists('bp_core_get_user_domain')){
233
  $return_profile_url = bp_core_get_user_domain($like->user_id);
234
  }
235
- else if($profile_url == 'um' && function_exists('um_fetch_user')){
236
  um_fetch_user($like->user_id);
237
  $return_profile_url = um_user_profile_url();
238
  }
239
 
240
  if($get_user_info != ''){
241
- echo $before . '<a href="'.$return_profile_url.'" class="user-tooltip" title="'.$get_user_info->display_name . $echo_likes_count.'">'.get_avatar( $get_user_info->user_email, $sizeOf, '' , 'avatar').'</a>';
242
- echo $after;
 
243
  }
244
  }
245
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
 
247
  /**
248
  * Display Widget
@@ -250,35 +338,42 @@ class wp_ulike_widget extends WP_Widget {
250
  * @author Alimir
251
  * @since 1.1
252
  * @updated 2.3
 
253
  * @return String
254
  */
255
  public function widget( $args, $instance ) {
256
  $title = apply_filters('widget_title', $instance['title'] );
257
- $numberOf = $instance['count'];
258
- $type = $instance['type'];
259
- $sizeOf = $instance['size'];
260
- $style = $instance['style'];
261
- $trim = $instance['trim'];
262
- $profile_url= $instance['profile_url'];
263
- $show_count = (isset($instance['show_count']) == true ) ? 1 : 0;
264
- $show_thumb = (isset($instance['show_thumb']) == true ) ? 1 : 0;
 
 
 
 
 
 
265
 
266
  echo $args['before_widget'];
267
  if ( ! empty( $title ) )
268
  echo $args['before_title'] . $title . $args['after_title'];
269
  echo '<ul class="most_liked_'.$type.' wp_ulike_style_'.$style.'">';
270
  if($type == "post")
271
- echo $this->most_liked_posts($numberOf, '<li>', '</li>', $show_count, $show_thumb, $trim, $sizeOf);
272
  else if($type == "comment")
273
- echo $this->most_liked_comments($numberOf, '<li>', '</li>', $show_count, $show_thumb, $trim, $sizeOf);
274
  else if($type == "activity")
275
- echo $this->most_liked_activities($numberOf, '<li>', '</li>', $show_count);
276
  else if($type == "topic")
277
- echo $this->most_liked_topics($numberOf, '<li>', '</li>', $show_count, $trim, $sizeOf);
278
  else if($type == "users")
279
- echo $this->most_liked_users($numberOf, '<li>', '</li>', $show_count, $profile_url, $sizeOf);
280
  else if($type == "last_posts_liked")
281
- echo $this->last_posts_liked_by_current_user($numberOf, '<li>', '</li>', $show_count, $show_thumb, $trim, $sizeOf);
282
  echo '</ul>';
283
  echo $args['after_widget'];
284
  }
@@ -293,68 +388,80 @@ class wp_ulike_widget extends WP_Widget {
293
  */
294
  public function form( $instance ) {
295
  //Set up some default widget settings.
296
- $defaults = array( 'title' => __('Most Liked', 'alimir'), 'count' => 10, 'size' => 32, 'trim' => 10, 'profile_url' => 'bp', 'show_count' => false, 'show_thumb' => false, 'type' => 'post', 'style' => 'simple' );
297
  $instance = wp_parse_args( (array) $instance, $defaults );
298
  ?>
299
  <p>
300
- <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title:', 'alimir'); ?></label>
301
  <input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" style="width:100%;" />
302
  </p>
303
 
304
  <p>
305
- <label for="<?php echo $this->get_field_id( 'type' ); ?>"><?php _e('Type:', 'alimir'); ?></label>
306
  <select name="<?php echo $this->get_field_name( 'type' ); ?>" style="width:100%;">
307
- <option value="post" <?php selected( $instance['type'], "post" ); ?>><?php echo _e('Most Liked Posts', 'alimir'); ?></option>
308
- <option value="comment" <?php selected( $instance['type'], "comment" ); ?>><?php echo _e('Most Liked Comments', 'alimir'); ?></option>
309
- <option value="activity" <?php selected( $instance['type'], "activity" ); ?>><?php echo _e('Most Liked Activities', 'alimir'); ?></option>
310
- <option value="topic" <?php selected( $instance['type'], "topic" ); ?>><?php echo _e('Most Liked Topics', 'alimir'); ?></option>
311
- <option value="users" <?php selected( $instance['type'], "users" ); ?>><?php echo _e('Most Liked Users', 'alimir'); ?></option>
312
- <option value="last_posts_liked" <?php selected( $instance['type'], "last_posts_liked" ); ?>><?php echo _e('Last Posts Liked By User', 'alimir'); ?></option>
313
  </select>
314
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
315
 
316
  <p>
317
- <label for="<?php echo $this->get_field_id( 'style' ); ?>"><?php _e('Style:', 'alimir'); ?></label>
318
  <select name="<?php echo $this->get_field_name( 'style' ); ?>" style="width:100%;">
319
- <option value="simple" <?php selected( $instance['style'], "simple" ); ?>><?php echo _e('Simple', 'alimir'); ?></option>
320
- <option value="love" <?php selected( $instance['style'], "love" ); ?>><?php echo _e('Heart', 'alimir'); ?></option>
321
  </select>
322
  </p>
323
 
324
  <p>
325
- <label for="<?php echo $this->get_field_id( 'trim' ); ?>"><?php _e('Title Trim (Length):', 'alimir'); ?></label>
326
  <input type="range" min="1" max="20" class="input-range" id="<?php echo $this->get_field_name( 'trim' ); ?>" name="<?php echo $this->get_field_name( 'trim' ); ?>" value="<?php echo $instance['trim']; ?>" style="width:100%;" />
327
  <span class="range-value" style="display: block; margin-top:5px; text-align:center; font-size:18px;"><?php echo $instance['trim']; ?></span>
328
  </p>
329
 
330
  <p>
331
- <label for="<?php echo $this->get_field_id( 'count' ); ?>"><?php _e('Number of items to show:', 'alimir'); ?></label>
332
  <input type="range" min="1" max="100" class="input-range" id="<?php echo $this->get_field_id( 'count' ); ?>" name="<?php echo $this->get_field_name( 'count' ); ?>" value="<?php echo $instance['count']; ?>" style="width:100%;" />
333
  <span class="range-value" style="display: block; margin-top:5px; text-align:center; font-size:18px;"><?php echo $instance['count']; ?></span>
334
  </p>
335
 
336
  <p>
337
- <label for="<?php echo $this->get_field_id( 'size' ); ?>"><?php _e('Thumbnail/Avatar size:', 'alimir'); ?><small> (min. 8)</small></label>
338
  <input type="range" min="8" max="512" step="2" class="input-range" id="<?php echo $this->get_field_id( 'size' ); ?>" name="<?php echo $this->get_field_name( 'size' ); ?>" value="<?php echo $instance['size']; ?>" style="width:100%;" />
339
  <span class="range-value" style="display: block; margin-top:5px; text-align:center; font-size:18px;"><?php echo $instance['size']; ?></span>
340
  </p>
341
 
342
  <p>
343
- <label for="<?php echo $this->get_field_id( 'profile_url' ); ?>"><?php _e('Profile URL:', 'alimir'); ?></label>
344
  <select name="<?php echo $this->get_field_name( 'profile_url' ); ?>" style="width:100%;">
345
- <option value="bp" <?php selected( $instance['profile_url'], "bp" ); ?>><?php echo _e('BuddyPress', 'alimir'); ?></option>
346
- <option value="um" <?php selected( $instance['profile_url'], "um" ); ?>><?php echo _e('UltimateMember', 'alimir'); ?></option>
347
  </select>
348
  </p>
349
 
350
  <p>
351
  <input class="checkbox" type="checkbox" id="<?php echo $this->get_field_id( 'show_count' ); ?>" name="<?php echo $this->get_field_name( 'show_count' ); ?>" <?php if($instance['show_count'] == true) echo 'checked="checked"'; ?> />
352
- <label for="<?php echo $this->get_field_id( 'show_count' ); ?>"><?php _e('Activate Like Counter', 'alimir'); ?></label>
353
  </p>
354
 
355
  <p>
356
  <input class="checkbox" type="checkbox" id="<?php echo $this->get_field_id( 'show_thumb' ); ?>" name="<?php echo $this->get_field_name( 'show_thumb' ); ?>" <?php if($instance['show_thumb'] == true) echo 'checked="checked"'; ?> />
357
- <label for="<?php echo $this->get_field_id( 'show_thumb' ); ?>"><?php _e('Activate Thumbnail/Avatar', 'alimir'); ?></label>
358
  </p>
359
 
360
  <script>
@@ -382,6 +489,7 @@ class wp_ulike_widget extends WP_Widget {
382
  $instance['title'] = strip_tags( $new_instance['title'] );
383
  $instance['count'] = strip_tags( $new_instance['count'] );
384
  $instance['type'] = strip_tags( $new_instance['type'] );
 
385
  $instance['style'] = strip_tags( $new_instance['style'] );
386
  $instance['size'] = strip_tags( $new_instance['size'] );
387
  $instance['trim'] = strip_tags( $new_instance['trim'] );
8
  function __construct() {
9
  parent::__construct(
10
  'wp_ulike',
11
+ __('WP Ulike Widget', WP_ULIKE_SLUG),
12
+ array( 'description' => __( 'An advanced widget that gives you all most liked records with different types', WP_ULIKE_SLUG ))
13
  );
14
  }
15
 
19
  * @author Alimir
20
  * @since 1.1
21
  * @updated 2.3
22
+ * @updated 2.4
23
  * @return String
24
  */
25
+ public function most_liked_posts(array $settings) {
26
  global $wpdb;
27
+
28
+ $request = "SELECT posts.ID, posts.post_title, posts.post_content, meta.meta_value
29
+ FROM
30
+ ".$wpdb->prefix."posts AS posts,
31
+ ".$wpdb->prefix."postmeta AS meta,
32
+ ".$wpdb->prefix."ulike AS likes
33
+ WHERE
34
+ posts.ID = meta.post_ID
35
+ AND meta.post_ID = likes.post_id
36
+ AND posts.post_status = 'publish'
37
+ AND meta.meta_key = '_liked'
38
+ ".$this->period($settings['period'])."
39
+ GROUP BY posts.ID
40
+ ORDER BY CAST( meta.meta_value AS SIGNED ) DESC LIMIT ".$settings['numberOf']."
41
+ ";
42
+
43
  $posts = $wpdb->get_results($request);
44
 
45
  foreach ($posts as $post) {
47
  $permalink = get_permalink($post->ID);
48
  $post_count = $post->meta_value;
49
 
50
+ echo $settings['before_item'];
51
+ echo $settings['show_thumb'] == '1' ? $this->get_post_thumbnail($post->ID, $settings['sizeOf']) : '';
52
+ echo '<a href="' . $permalink . '" title="' . $post_title.'" rel="nofollow">'. wp_trim_words( $post_title, $num_words = $settings['trim'], $more = null ) . '</a>';
53
+ echo $settings['show_count'] == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($post_count).'</span>' : '';
54
+ echo $settings['after_item'];
55
  }
56
  }
57
+
58
+ /**
59
+ * Most Liked Comments Function
60
+ *
61
+ * @author Alimir
62
+ * @since 1.9
63
+ * @updated 2.3
64
+ * @updated 2.4
65
+ * @return String
66
+ */
67
+ public function most_liked_comments(array $settings) {
68
+ global $wpdb;
69
+
70
+ $request = "SELECT *
71
+ FROM
72
+ ".$wpdb->prefix."comments AS comments,
73
+ ".$wpdb->prefix."commentmeta AS meta,
74
+ ".$wpdb->prefix."ulike_comments AS likes
75
+ WHERE
76
+ comments.comment_ID = meta.comment_id
77
+ AND meta.comment_id = likes.comment_id
78
+ AND comments.comment_approved = '1'
79
+ AND meta.meta_key = '_commentliked'
80
+ ".$this->period($settings['period'])."
81
+ GROUP BY comments.comment_ID
82
+ ORDER BY CAST( meta.meta_value AS SIGNED ) DESC LIMIT ".$settings['numberOf']."
83
+ ";
84
+
85
+ $comments = $wpdb->get_results($request);
86
+
87
+ foreach ($comments as $comment) {
88
+ $comment_author = stripslashes($comment->comment_author);
89
+ $post_permalink = get_permalink($comment->comment_post_ID);
90
+ $post_title = get_the_title($comment->comment_post_ID);
91
+ $comment_permalink = get_permalink($comment->comment_ID);
92
+ $comment_likes_count = $comment->meta_value;
93
+
94
+ echo $settings['before_item'];
95
+ echo $settings['show_thumb'] == '1' ? get_avatar( $comment->comment_author_email, $settings['sizeOf'] ) : '';
96
+ echo '<span class="comment-author-link">' . $comment_author . '</span> ' . __('on',WP_ULIKE_SLUG);
97
+ echo ' <a href="' . $post_permalink . '#comment-' . $comment->comment_ID . '" title="' . $post_title.'" rel="nofollow">' . wp_trim_words( $post_title, $num_words = $settings['trim'], $more = null ) . '</a>';
98
+ echo $settings['show_count'] == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($comment_likes_count).'</span>' : '';
99
+ echo $settings['after_item'];
100
+ }
101
+ }
102
 
103
  /**
104
  * Last Posts Liked By Current User
106
  * @author Alimir
107
  * @since 2.0
108
  * @updated 2.3
109
+ * @updated 2.4
110
  * @return String
111
  */
112
+ public function last_posts_liked_by_current_user(array $settings) {
113
  global $wpdb,$user_ID,$wp_user_IP;
114
 
115
  $request = "SELECT U.post_id, P.meta_value AS counter
116
+ FROM ".$wpdb->prefix."ulike AS U,
117
+ ".$wpdb->prefix."postmeta AS P
118
+ WHERE (U.ip LIKE '$wp_user_IP' OR U.user_id = $user_ID)
119
+ AND U.post_id = P.post_id AND meta_key='_liked'
120
  GROUP BY U.post_id
121
+ ORDER BY MAX(U.date_time) DESC LIMIT ".$settings['numberOf']."
122
  ";
123
  $likes = $wpdb->get_results($request);
124
 
127
  $permalink = get_permalink($like->post_id);
128
  $post_title = get_the_title($like->post_id);
129
  $post_count = $like->counter;
130
+ echo $settings['before_item'];
131
+ echo $settings['show_thumb'] == '1' ? $this->get_post_thumbnail($like->post_id, $settings['sizeOf']) : '';
132
+ echo '<a href="' . $permalink . '" title="' . $post_title.'" rel="nofollow">' . wp_trim_words( $post_title, $num_words = $settings['trim'], $more = null ) . '</a>';
133
+ echo $settings['show_count'] == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($post_count).'</span>' : '';
134
+ echo $settings['after_item'];
135
  }
136
  }
137
  else{
138
+ echo $settings['before_item'];
139
+ echo __('you haven\'t liked any post yet!',WP_ULIKE_SLUG);
140
+ echo $settings['after_item'];
141
  }
142
 
143
  }
147
  *
148
  * @author Alimir
149
  * @since 2.3
150
+ * @updated 2.4
151
  * @return String
152
  */
153
+ public function most_liked_topics(array $settings) {
154
  global $wpdb;
155
+
156
+ $request = "SELECT posts.ID, posts.post_title, posts.post_content, meta.meta_value
157
+ FROM
158
+ ".$wpdb->prefix."posts AS posts,
159
+ ".$wpdb->prefix."postmeta AS meta,
160
+ ".$wpdb->prefix."ulike_forums AS likes
161
+ WHERE
162
+ posts.ID = meta.post_ID
163
+ AND meta.post_ID = likes.topic_id
164
+ AND posts.post_status = 'publish'
165
+ AND meta.meta_key = '_topicliked'
166
+ ".$this->period($settings['period'])."
167
+ GROUP BY posts.ID
168
+ ORDER BY CAST( meta.meta_value AS SIGNED ) DESC LIMIT ".$settings['numberOf']."
169
+ ";
170
+
171
+ $posts = $wpdb->get_results($request);
172
 
173
  foreach ($posts as $post) {
174
+ $post_title = empty($post->post_title) ? $post->post_content : stripslashes($post->post_title);
175
+ $permalink = get_permalink($post->ID);
176
+ $post_count = $post->meta_value;
177
 
178
+ echo $settings['before_item'];
179
+ echo '<a href="' . $permalink . '" title="' . $post_title.'" rel="nofollow">'. wp_trim_words( $post_title, $num_words = $settings['trim'], $more = null ) . '</a>';
180
+ echo $settings['show_count'] == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($post_count).'</span>' : '';
181
+ echo $settings['after_item'];
182
  }
183
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
 
185
  /**
186
  * Most Liked Activities Function
187
  *
188
  * @author Alimir
189
  * @since 2.0
190
+ * @updated 2.4
191
  * @return String
192
  */
193
+ public function most_liked_activities(array $settings) {
194
  global $wpdb;
195
+
196
+ if ( is_multisite() )
197
+ $bp_prefix = 'base_prefix';
198
+ else
199
+ $bp_prefix = 'prefix';
200
+
201
+ $request = "SELECT * FROM
202
+ ".$wpdb->$bp_prefix."bp_activity AS posts,
203
+ ".$wpdb->$bp_prefix."bp_activity_meta AS meta,
204
+ ".$wpdb->prefix."ulike_activities AS likes
205
+ WHERE posts.id = meta.activity_id
206
+ AND meta.activity_id = likes.activity_id
207
+ AND meta.meta_key = '_activityliked'
208
+ ".$this->period($settings['period'])."
209
+ GROUP BY posts.id
210
+ ORDER BY CAST( meta.meta_value AS SIGNED ) DESC LIMIT ".$settings['numberOf']."
211
+ ";
212
+
213
+ $activities = $wpdb->get_results($request);
214
 
215
  foreach ($activities as $activity) {
216
+ $activity_permalink = bp_activity_get_permalink( $activity->activity_id );
217
+ $activity_action = $activity->content;
218
+ if (empty($activity_action))
219
+ $activity_action = $activity->action;
220
 
221
+ echo $settings['before_item'];
222
+ //echo strip_tags($activity_action);
223
+ echo '<a href="' . $activity_permalink . '" rel="nofollow">';
224
+ echo wp_trim_words( $activity_action, $num_words = $settings['trim'], $more = null );
225
+ echo '</a>';
226
+ echo $settings['after_item'];
227
  }
228
  }
229
 
233
  * @author Alimir
234
  * @since 1.2
235
  * @updated 2.3
236
+ * @updated 2.4
237
  * @return String
238
  */
239
+ public function most_liked_users(array $settings) {
240
  global $wpdb;
241
 
242
  $request = "SELECT T.user_id, SUM(T.CountUser) AS SumUser
244
  SELECT user_id, count(user_id) AS CountUser
245
  FROM ".$wpdb->prefix."ulike
246
  WHERE user_id BETWEEN 1 AND 999999
247
+ ".$this->period($settings['period'])."
248
  GROUP BY user_id
249
  UNION ALL
250
  SELECT user_id, count(user_id) AS CountUser
251
  FROM ".$wpdb->prefix."ulike_activities
252
  WHERE user_id BETWEEN 1 AND 999999
253
+ ".$this->period($settings['period'])."
254
  GROUP BY user_id
255
  UNION ALL
256
  SELECT user_id, count(user_id) AS CountUser
257
  FROM ".$wpdb->prefix."ulike_comments
258
  WHERE user_id BETWEEN 1 AND 999999
259
+ ".$this->period($settings['period'])."
260
  GROUP BY user_id
261
  UNION ALL
262
  SELECT user_id, count(user_id) AS CountUser
263
  FROM ".$wpdb->prefix."ulike_forums
264
  WHERE user_id BETWEEN 1 AND 999999
265
+ ".$this->period($settings['period'])."
266
  GROUP BY user_id
267
  ) AS T
268
  GROUP BY T.user_id
269
+ ORDER BY SumUser DESC LIMIT ".$settings['numberOf']."
270
  ";
271
  $likes = $wpdb->get_results($request);
272
 
275
  $get_user_info = get_userdata($get_user_id);
276
  $get_likes_count = $like->SumUser;
277
  $return_profile_url = '#';
278
+ $echo_likes_count = $settings['show_count'] == '1' ? ' ('.$get_likes_count . ' ' . __('Like',WP_ULIKE_SLUG).')' : '';
279
 
280
+ if($settings['profile_url'] == 'bp' && function_exists('bp_core_get_user_domain')){
281
  $return_profile_url = bp_core_get_user_domain($like->user_id);
282
  }
283
+ else if($settings['profile_url'] == 'um' && function_exists('um_fetch_user')){
284
  um_fetch_user($like->user_id);
285
  $return_profile_url = um_user_profile_url();
286
  }
287
 
288
  if($get_user_info != ''){
289
+ echo $settings['before_item'];
290
+ echo '<a href="'.$return_profile_url.'" class="user-tooltip" title="'.$get_user_info->display_name . $echo_likes_count.'">'.get_avatar( $get_user_info->user_email, $settings['sizeOf'], '' , 'avatar').'</a>';
291
+ echo $settings['after_item'];
292
  }
293
  }
294
+ }
295
+
296
+ /**
297
+ * Get The Post Thumbnail
298
+ *
299
+ * @author Alimir
300
+ * @since 2.3
301
+ * @return String
302
+ */
303
+ public function get_post_thumbnail($id,$sizeOf){
304
+ $thumbnail = get_the_post_thumbnail( $id, array( $sizeOf, $sizeOf), array( 'class' => 'wp_ulike_thumbnail' ) );
305
+ if($thumbnail != '')
306
+ return $thumbnail;
307
+ else
308
+ return '<img src="'.plugin_dir_url( __FILE__ ).'/img/no-thumbnail.png" class="wp_ulike_thumbnail" alt="no-thumbnail" width="'.$sizeOf.'"/>';
309
+ }
310
+
311
+ /**
312
+ * Set Period
313
+ *
314
+ * @author Alimir
315
+ * @since 2.4
316
+ * @return String
317
+ */
318
+ public function period($period){
319
+ switch ($period) {
320
+ case "today":
321
+ return "AND DATE(date_time) = DATE(NOW())";
322
+ case "yesterday":
323
+ return "AND DATE(date_time) = DATE(subdate(current_date, 1))";
324
+ case "week":
325
+ return "AND week(DATE(date_time)) = week(DATE(NOW()))";
326
+ case "month":
327
+ return "AND month(DATE(date_time)) = month(DATE(NOW()))";
328
+ case "year":
329
+ return "AND year(DATE(date_time)) = year(DATE(NOW()))";
330
+ default:
331
+ return "";
332
+ }
333
+ }
334
 
335
  /**
336
  * Display Widget
338
  * @author Alimir
339
  * @since 1.1
340
  * @updated 2.3
341
+ * @updated 2.4
342
  * @return String
343
  */
344
  public function widget( $args, $instance ) {
345
  $title = apply_filters('widget_title', $instance['title'] );
346
+ $type = $instance['type'];
347
+ $style = $instance['style'];
348
+
349
+ $settings = array(
350
+ "numberOf" => $instance['count'],
351
+ "period" => $instance['period'],
352
+ "sizeOf" => $instance['size'],
353
+ "trim" => $instance['trim'],
354
+ "profile_url" => $instance['profile_url'],
355
+ "show_count" => (isset($instance['show_count']) == true ) ? 1 : 0,
356
+ "show_thumb" => (isset($instance['show_thumb']) == true ) ? 1 : 0,
357
+ "before_item" => '<li>',
358
+ "after_item" => '</li>'
359
+ );
360
 
361
  echo $args['before_widget'];
362
  if ( ! empty( $title ) )
363
  echo $args['before_title'] . $title . $args['after_title'];
364
  echo '<ul class="most_liked_'.$type.' wp_ulike_style_'.$style.'">';
365
  if($type == "post")
366
+ echo $this->most_liked_posts($settings);
367
  else if($type == "comment")
368
+ echo $this->most_liked_comments($settings);
369
  else if($type == "activity")
370
+ echo $this->most_liked_activities($settings);
371
  else if($type == "topic")
372
+ echo $this->most_liked_topics($settings);
373
  else if($type == "users")
374
+ echo $this->most_liked_users($settings);
375
  else if($type == "last_posts_liked")
376
+ echo $this->last_posts_liked_by_current_user($settings);
377
  echo '</ul>';
378
  echo $args['after_widget'];
379
  }
388
  */
389
  public function form( $instance ) {
390
  //Set up some default widget settings.
391
+ $defaults = array( 'title' => __('Most Liked', WP_ULIKE_SLUG), 'count' => 10, 'size' => 32, 'trim' => 10, 'profile_url' => 'bp', 'show_count' => false, 'show_thumb' => false, 'type' => 'post', 'style' => 'simple', 'period' => 'all' );
392
  $instance = wp_parse_args( (array) $instance, $defaults );
393
  ?>
394
  <p>
395
+ <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title:', WP_ULIKE_SLUG); ?></label>
396
  <input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" style="width:100%;" />
397
  </p>
398
 
399
  <p>
400
+ <label for="<?php echo $this->get_field_id( 'type' ); ?>"><?php _e('Type:', WP_ULIKE_SLUG); ?></label>
401
  <select name="<?php echo $this->get_field_name( 'type' ); ?>" style="width:100%;">
402
+ <option value="post" <?php selected( $instance['type'], "post" ); ?>><?php echo _e('Most Liked Posts', WP_ULIKE_SLUG); ?></option>
403
+ <option value="comment" <?php selected( $instance['type'], "comment" ); ?>><?php echo _e('Most Liked Comments', WP_ULIKE_SLUG); ?></option>
404
+ <option value="activity" <?php selected( $instance['type'], "activity" ); ?>><?php echo _e('Most Liked Activities', WP_ULIKE_SLUG); ?></option>
405
+ <option value="topic" <?php selected( $instance['type'], "topic" ); ?>><?php echo _e('Most Liked Topics', WP_ULIKE_SLUG); ?></option>
406
+ <option value="users" <?php selected( $instance['type'], "users" ); ?>><?php echo _e('Most Liked Users', WP_ULIKE_SLUG); ?></option>
407
+ <option value="last_posts_liked" <?php selected( $instance['type'], "last_posts_liked" ); ?>><?php echo _e('Last Posts Liked By User', WP_ULIKE_SLUG); ?></option>
408
  </select>
409
  </p>
410
+
411
+ <p>
412
+ <label for="<?php echo $this->get_field_id( 'period' ); ?>"><?php _e('Period:', WP_ULIKE_SLUG); ?></label>
413
+ <select name="<?php echo $this->get_field_name( 'period' ); ?>" style="width:100%;">
414
+ <option value="all" <?php selected( $instance['period'], "all" ); ?>><?php echo _e('All The Times', WP_ULIKE_SLUG); ?></option>
415
+ <option value="year" <?php selected( $instance['period'], "year" ); ?>><?php echo _e('Year', WP_ULIKE_SLUG); ?></option>
416
+ <option value="month" <?php selected( $instance['period'], "month" ); ?>><?php echo _e('Month', WP_ULIKE_SLUG); ?></option>
417
+ <option value="week" <?php selected( $instance['period'], "week" ); ?>><?php echo _e('Week', WP_ULIKE_SLUG); ?></option>
418
+ <option value="yesterday" <?php selected( $instance['period'], "yesterday" ); ?>><?php echo _e('Yesterday', WP_ULIKE_SLUG); ?></option>
419
+ <option value="today" <?php selected( $instance['period'], "today" ); ?>><?php echo _e('Today', WP_ULIKE_SLUG); ?></option>
420
+ </select>
421
+ </p>
422
 
423
  <p>
424
+ <label for="<?php echo $this->get_field_id( 'style' ); ?>"><?php _e('Style:', WP_ULIKE_SLUG); ?></label>
425
  <select name="<?php echo $this->get_field_name( 'style' ); ?>" style="width:100%;">
426
+ <option value="simple" <?php selected( $instance['style'], "simple" ); ?>><?php echo _e('Simple', WP_ULIKE_SLUG); ?></option>
427
+ <option value="love" <?php selected( $instance['style'], "love" ); ?>><?php echo _e('Heart', WP_ULIKE_SLUG); ?></option>
428
  </select>
429
  </p>
430
 
431
  <p>
432
+ <label for="<?php echo $this->get_field_id( 'trim' ); ?>"><?php _e('Title Trim (Length):', WP_ULIKE_SLUG); ?></label>
433
  <input type="range" min="1" max="20" class="input-range" id="<?php echo $this->get_field_name( 'trim' ); ?>" name="<?php echo $this->get_field_name( 'trim' ); ?>" value="<?php echo $instance['trim']; ?>" style="width:100%;" />
434
  <span class="range-value" style="display: block; margin-top:5px; text-align:center; font-size:18px;"><?php echo $instance['trim']; ?></span>
435
  </p>
436
 
437
  <p>
438
+ <label for="<?php echo $this->get_field_id( 'count' ); ?>"><?php _e('Number of items to show:', WP_ULIKE_SLUG); ?></label>
439
  <input type="range" min="1" max="100" class="input-range" id="<?php echo $this->get_field_id( 'count' ); ?>" name="<?php echo $this->get_field_name( 'count' ); ?>" value="<?php echo $instance['count']; ?>" style="width:100%;" />
440
  <span class="range-value" style="display: block; margin-top:5px; text-align:center; font-size:18px;"><?php echo $instance['count']; ?></span>
441
  </p>
442
 
443
  <p>
444
+ <label for="<?php echo $this->get_field_id( 'size' ); ?>"><?php _e('Thumbnail/Avatar size:', WP_ULIKE_SLUG); ?><small> (min. 8)</small></label>
445
  <input type="range" min="8" max="512" step="2" class="input-range" id="<?php echo $this->get_field_id( 'size' ); ?>" name="<?php echo $this->get_field_name( 'size' ); ?>" value="<?php echo $instance['size']; ?>" style="width:100%;" />
446
  <span class="range-value" style="display: block; margin-top:5px; text-align:center; font-size:18px;"><?php echo $instance['size']; ?></span>
447
  </p>
448
 
449
  <p>
450
+ <label for="<?php echo $this->get_field_id( 'profile_url' ); ?>"><?php _e('Profile URL:', WP_ULIKE_SLUG); ?></label>
451
  <select name="<?php echo $this->get_field_name( 'profile_url' ); ?>" style="width:100%;">
452
+ <option value="bp" <?php selected( $instance['profile_url'], "bp" ); ?>><?php echo _e('BuddyPress', WP_ULIKE_SLUG); ?></option>
453
+ <option value="um" <?php selected( $instance['profile_url'], "um" ); ?>><?php echo _e('UltimateMember', WP_ULIKE_SLUG); ?></option>
454
  </select>
455
  </p>
456
 
457
  <p>
458
  <input class="checkbox" type="checkbox" id="<?php echo $this->get_field_id( 'show_count' ); ?>" name="<?php echo $this->get_field_name( 'show_count' ); ?>" <?php if($instance['show_count'] == true) echo 'checked="checked"'; ?> />
459
+ <label for="<?php echo $this->get_field_id( 'show_count' ); ?>"><?php _e('Activate Like Counter', WP_ULIKE_SLUG); ?></label>
460
  </p>
461
 
462
  <p>
463
  <input class="checkbox" type="checkbox" id="<?php echo $this->get_field_id( 'show_thumb' ); ?>" name="<?php echo $this->get_field_name( 'show_thumb' ); ?>" <?php if($instance['show_thumb'] == true) echo 'checked="checked"'; ?> />
464
+ <label for="<?php echo $this->get_field_id( 'show_thumb' ); ?>"><?php _e('Activate Thumbnail/Avatar', WP_ULIKE_SLUG); ?></label>
465
  </p>
466
 
467
  <script>
489
  $instance['title'] = strip_tags( $new_instance['title'] );
490
  $instance['count'] = strip_tags( $new_instance['count'] );
491
  $instance['type'] = strip_tags( $new_instance['type'] );
492
+ $instance['period'] = strip_tags( $new_instance['period'] );
493
  $instance['style'] = strip_tags( $new_instance['style'] );
494
  $instance['size'] = strip_tags( $new_instance['size'] );
495
  $instance['trim'] = strip_tags( $new_instance['trim'] );
admin/classes/tmp/settings.php CHANGED
@@ -8,58 +8,58 @@
8
  *******************************************************/
9
 
10
  $wp_ulike_general = array(
11
- 'title' => '<i class="dashicons-before dashicons-admin-settings"></i>' . ' ' . __( 'General','alimir'),
12
  'fields' => array(
13
  'button_type' => array(
14
  'type' => 'radio',
15
- 'label' => __( 'Button Type', 'alimir'),
16
  'default' => 'image',
17
  'options' => array(
18
- 'image' => __( 'Icon', 'alimir'),
19
- 'text' => __( 'Text', 'alimir')
20
  )
21
  ),
22
  'button_text' => array(
23
- 'default' => __('Like','alimir'),
24
- 'label' => __( 'Button Text', 'alimir') . ' (' . __('Like', 'alimir') .')',
25
  ),
26
  'button_text_u' => array(
27
- 'default' => __('Unlike','alimir'),
28
- 'label' => __( 'Button Text', 'alimir') . ' (' . __('Unlike', 'alimir') .')',
29
  ),
30
  'button_url' => array(
31
  'type' => 'media',
32
- 'label' => __( 'Button Icon', 'alimir') . ' (' . __('Like', 'alimir') .')',
33
- 'description' => __( 'Best size: 16x16','alimir')
34
  ),
35
  'button_url_u' => array(
36
  'type' => 'media',
37
- 'label' => __( 'Button Icon', 'alimir') . ' (' . __('Unlike', 'alimir') .')',
38
- 'description' => __( 'Best size: 16x16','alimir')
39
  ),
40
  'permission_text' => array(
41
- 'default' => __('You have not permission to unlike','alimir'),
42
- 'label' => __( 'Permission Text', 'alimir')
43
  ),
44
  'login_type' => array(
45
  'type' => 'radio',
46
- 'label' => __( 'Users Login Type','alimir'),
47
  'default' => 'alert',
48
  'options' => array(
49
- 'alert' => __('Alert Box', 'alimir'),
50
- 'button' => __('Like Button', 'alimir')
51
  )
52
  ),
53
  'login_text' => array(
54
- 'default' => __('You Should Login To Submit Your Like','alimir'),
55
- 'label' => __( 'Users Login Text', 'alimir')
56
  ),
57
  'format_number' => array(
58
  'type' => 'checkbox',
59
  'default' => 0,
60
- 'label' => __('Format Number', 'alimir'),
61
- 'checkboxlabel' => __('Activate', 'alimir'),
62
- 'description' => __('Convert numbers of Likes with string (kilobyte) format.', 'alimir') . '<strong> (WHEN? likes>=1000)</strong>'
63
  )
64
  )
65
  );//end wp_ulike_general
@@ -69,102 +69,102 @@
69
  *******************************************************/
70
 
71
  $wp_ulike_posts = array(
72
- 'title' => '<i class="dashicons-before dashicons-admin-post"></i>' . ' ' . __( 'Posts','alimir'),
73
  'fields' => array(
74
  'theme' => array(
75
  'type' => 'select',
76
  'default' => 'default',
77
- 'label' => __( 'Themes','alimir'),
78
  'options' => array(
79
- 'wpulike-default' => __('Default', 'alimir'),
80
- 'wpulike-heart' => __('Heart', 'alimir')
81
  )
82
  ),
83
  'auto_display' => array(
84
  'type' => 'checkbox',
85
  'default' => 1,
86
- 'label' => __('Automatic display', 'alimir'),
87
- 'checkboxlabel' => __('Activate', 'alimir')
88
  ),
89
  'auto_display_position' => array(
90
  'type' => 'radio',
91
- 'label' => __( 'Auto Display Position','alimir'),
92
  'default' => 'bottom',
93
  'options' => array(
94
- 'top' => __('Top of Content', 'alimir'),
95
- 'bottom' => __('Bottom of Content', 'alimir'),
96
- 'top_bottom' => __('Top and Bottom', 'alimir')
97
  )
98
  ),
99
  'auto_display_filter' => array(
100
  'type' => 'multi',
101
- 'label' => __( 'Auto Display Filter','alimir' ),
102
  'options' => array(
103
- 'home' => __('Home', 'alimir'),
104
- 'single' => __('Single Posts', 'alimir'),
105
- 'page' => __('Pages', 'alimir'),
106
- 'archive' => __('Archives', 'alimir'),
107
- 'category' => __('Categories', 'alimir'),
108
- 'search' => __('Search Results', 'alimir'),
109
- 'tag' => __('Tags', 'alimir'),
110
- 'author' => __('Author Page', 'alimir')
111
  ),
112
- 'description' => __('You can filter theses pages on auto display option.', 'alimir')
113
  ),
114
  'only_registered_users' => array(
115
  'type' => 'checkbox',
116
  'default' => 0,
117
- 'label' => __('Only registered Users', 'alimir'),
118
- 'checkboxlabel' => __('Activate', 'alimir'),
119
- 'description' => __('<strong>Only</strong> registered users have permission to like posts.', 'alimir')
120
  ),
121
  'logging_method' => array(
122
  'type' => 'select',
123
  'default' => 'by_username',
124
- 'label' => __( 'Logging Method','alimir'),
125
  'options' => array(
126
- 'do_not_log' => __('Do Not Log', 'alimir'),
127
- 'by_cookie' => __('Logged By Cookie', 'alimir'),
128
- 'by_ip' => __('Logged By IP', 'alimir'),
129
- 'by_cookie_ip'=> __('Logged By Cookie & IP', 'alimir'),
130
- 'by_username' => __('Logged By Username', 'alimir')
131
  )
132
  ),
133
  'users_liked_box' => array(
134
  'type' => 'checkbox',
135
  'default' => 1,
136
- 'label' => __('Show Liked Users Box', 'alimir'),
137
- 'checkboxlabel' => __('Activate', 'alimir'),
138
- 'description' => __('Active this option to show liked users avatars in the bottom of button like.', 'alimir')
139
  ),
140
  'users_liked_box_avatar_size' => array(
141
  'type' => 'number',
142
  'default' => 32,
143
- 'label' => __( 'Size of Gravatars', 'alimir'),
144
- 'description' => __('Size of Gravatars to return (max is 512)', 'alimir')
145
  ),
146
  'number_of_users' => array(
147
  'type' => 'number',
148
  'default' => 10,
149
- 'label' => __( 'Number Of The Users', 'alimir'),
150
- 'description' => __('The number of users to show in the users liked box', 'alimir')
151
  ),
152
  'users_liked_box_template' => array(
153
  'type' => 'textarea',
154
- 'default' => '<br /><p style="margin-top:5px"> '.__('Users who have LIKED this post:','alimir').'</p> <ul class="tiles">%START_WHILE%<li><a class="user-tooltip" title="%USER_NAME%">%USER_AVATAR%</a></li>%END_WHILE%</ul>',
155
- 'label' => __('Users Like Box Template', 'alimir'),
156
- 'description' => __('Allowed Variables:', 'alimir') . ' <code>%USER_AVATAR%</code> , <code>%BP_PROFILE_URL%</code> , <code>%UM_PROFILE_URL%</code> , <code>%USER_NAME%</code> , <code>%START_WHILE%</code> , <code>%END_WHILE%</code>'
157
  ),
158
  'delete_logs' => array(
159
  'type' => 'action',
160
- 'label' => __( 'Delete All Logs', 'alimir' ),
161
- 'description' => __( 'You Are About To Delete All Likes Logs. This Action Is Not Reversible.', 'alimir'),
162
  'action' => 'wp_ulike_delete_all_logs'
163
  ),
164
  'delete_data' => array(
165
  'type' => 'action',
166
- 'label' => __( 'Delete All Data', 'alimir' ),
167
- 'description' => __( 'You Are About To Delete All Likes Data. This Action Is Not Reversible.', 'alimir'),
168
  'action' => 'wp_ulike_delete_all_data'
169
  )
170
  )
@@ -175,87 +175,87 @@
175
  *******************************************************/
176
 
177
  $wp_ulike_comments = array(
178
- 'title' => '<i class="dashicons-before dashicons-admin-comments"></i>' . ' ' . __( 'Comments','alimir'),
179
  'fields' => array(
180
  'theme' => array(
181
  'type' => 'select',
182
  'default' => 'default',
183
- 'label' => __( 'Themes','alimir'),
184
  'options' => array(
185
- 'wpulike-default' => __('Default', 'alimir'),
186
- 'wpulike-heart' => __('Heart', 'alimir')
187
  )
188
  ),
189
  'auto_display' => array(
190
  'type' => 'checkbox',
191
  'default' => 1,
192
- 'label' => __('Automatic display', 'alimir'),
193
- 'checkboxlabel' => __('Activate', 'alimir')
194
  ),
195
  'auto_display_position' => array(
196
  'type' => 'radio',
197
- 'label' => __( 'Auto Display Position','alimir'),
198
  'default' => 'bottom',
199
  'options' => array(
200
- 'top' => __('Top of Content', 'alimir'),
201
- 'bottom' => __('Bottom of Content', 'alimir'),
202
- 'top_bottom' => __('Top and Bottom', 'alimir')
203
  )
204
  ),
205
  'only_registered_users' => array(
206
  'type' => 'checkbox',
207
  'default' => 0,
208
- 'label' => __('Only registered Users', 'alimir'),
209
- 'checkboxlabel' => __('Activate', 'alimir'),
210
- 'description' => __('<strong>Only</strong> registered users have permission to like comments.', 'alimir')
211
  ),
212
  'logging_method' => array(
213
  'type' => 'select',
214
  'default' => 'by_username',
215
- 'label' => __( 'Logging Method','alimir'),
216
  'options' => array(
217
- 'do_not_log' => __('Do Not Log', 'alimir'),
218
- 'by_cookie' => __('Logged By Cookie', 'alimir'),
219
- 'by_ip' => __('Logged By IP', 'alimir'),
220
- 'by_cookie_ip'=> __('Logged By Cookie & IP', 'alimir'),
221
- 'by_username' => __('Logged By Username', 'alimir')
222
  )
223
  ),
224
  'users_liked_box' => array(
225
  'type' => 'checkbox',
226
  'default' => 1,
227
- 'label' => __('Show Liked Users Box', 'alimir'),
228
- 'checkboxlabel' => __('Activate', 'alimir'),
229
- 'description' => __('Active this option to show liked users avatars in the bottom of button like.', 'alimir')
230
  ),
231
  'users_liked_box_avatar_size' => array(
232
  'type' => 'number',
233
  'default' => 32,
234
- 'label' => __( 'Size of Gravatars', 'alimir'),
235
- 'description' => __('Size of Gravatars to return (max is 512)', 'alimir')
236
  ),
237
  'number_of_users' => array(
238
  'type' => 'number',
239
  'default' => 10,
240
- 'label' => __( 'Number Of The Users', 'alimir'),
241
- 'description' => __('The number of users to show in the users liked box', 'alimir')
242
  ),
243
  'users_liked_box_template' => array(
244
  'type' => 'textarea',
245
- 'default' => '<br /><p style="margin-top:5px"> '.__('Users who have LIKED this comment:','alimir').'</p> <ul class="tiles">%START_WHILE%<li><a class="user-tooltip" title="%USER_NAME%">%USER_AVATAR%</a></li>%END_WHILE%</ul>',
246
- 'label' => __('Users Like Box Template', 'alimir'),
247
- 'description' => __('Allowed Variables:', 'alimir') . ' <code>%USER_AVATAR%</code> , <code>%BP_PROFILE_URL%</code> , <code>%UM_PROFILE_URL%</code> , <code>%USER_NAME%</code> , <code>%START_WHILE%</code> , <code>%END_WHILE%</code>'
248
  ),
249
  'delete_logs' => array(
250
  'type' => 'action',
251
- 'label' => __( 'Delete All Logs', 'alimir' ),
252
- 'description' => __( 'You Are About To Delete All Likes Logs. This Action Is Not Reversible.', 'alimir'),
253
  'action' => 'wp_ulike_delete_all_logs'
254
  ),
255
  'delete_data' => array(
256
  'type' => 'action',
257
- 'label' => __( 'Delete All Data', 'alimir' ),
258
- 'description' => __( 'You Are About To Delete All Likes Data. This Action Is Not Reversible.', 'alimir'),
259
  'action' => 'wp_ulike_delete_all_data'
260
  )
261
  )
@@ -266,52 +266,52 @@
266
  *******************************************************/
267
 
268
  $wp_ulike_customize = array(
269
- 'title' => '<i class="dashicons-before dashicons-art"></i>' . ' ' . __( 'Customize','alimir'),
270
  'fields' => array(
271
  'custom_style' => array(
272
  'type' => 'checkbox',
273
  'default' => 0,
274
- 'label' => __('Custom Style', 'alimir'),
275
- 'checkboxlabel' => __('Activate', 'alimir'),
276
  'attributes' => array(
277
  'class' => 'wp_ulike_custom_style_activation'
278
  ),
279
- 'description' => __('Active this option to see the custom style settings.', 'alimir')
280
  ),
281
  'btn_bg' => array(
282
  'type' => 'color',
283
- 'label' => __('Button style', 'alimir'),
284
- 'description' => __('Background', 'alimir')
285
  ),
286
  'btn_border' => array(
287
  'type' => 'color',
288
- 'description' => __('Border Color', 'alimir')
289
  ),
290
  'btn_color' => array(
291
  'type' => 'color',
292
- 'description' => __('Text Color', 'alimir')
293
  ),
294
  'counter_bg' => array(
295
  'type' => 'color',
296
- 'label' => __( 'Counter Style', 'alimir'),
297
- 'description' => __('Background', 'alimir')
298
  ),
299
  'counter_border' => array(
300
  'type' => 'color',
301
- 'description' => __('Border Color', 'alimir')
302
  ),
303
  'counter_color' => array(
304
  'type' => 'color',
305
- 'description' => __('Text Color', 'alimir')
306
  ),
307
  'loading_animation' => array(
308
  'type' => 'media',
309
- 'label' => __( 'Loading Animation', 'alimir') . ' (.GIF)',
310
- 'description' => __( 'Best size: 16x16','alimir')
311
  ),
312
  'custom_css' => array(
313
  'type' => 'textarea',
314
- 'label' => __('Custom CSS', 'alimir'),
315
  )
316
  )
317
  );//end wp_ulike_customize
@@ -323,105 +323,112 @@
323
  $wp_ulike_buddypress = array();
324
  if ( function_exists('is_buddypress') ) {
325
  $wp_ulike_buddypress = array(
326
- 'title' => '<i class="dashicons-before dashicons-buddypress"></i>' . ' ' . __( 'BuddyPress','alimir'),
327
  'fields' => array(
328
  'theme' => array(
329
  'type' => 'select',
330
  'default' => 'default',
331
- 'label' => __( 'Themes','alimir'),
332
  'options' => array(
333
- 'wpulike-default' => __('Default', 'alimir'),
334
- 'wpulike-heart' => __('Heart', 'alimir')
335
  )
336
- ),
337
  'auto_display' => array(
338
  'type' => 'checkbox',
339
  'default' => 0,
340
- 'label' => __('Automatic display', 'alimir'),
341
- 'checkboxlabel' => __('Activate', 'alimir')
342
  ),
343
  'auto_display_position' => array(
344
  'type' => 'radio',
345
- 'label' => __( 'Auto Display Position','alimir'),
346
  'default' => 'bottom',
347
  'options' => array(
348
- 'content' => __('Activity Content', 'alimir'),
349
- 'meta' => __('Activity Meta', 'alimir')
350
  )
351
- ),
 
 
 
 
 
 
 
352
  'only_registered_users' => array(
353
  'type' => 'checkbox',
354
  'default' => 0,
355
- 'label' => __('Only registered Users', 'alimir'),
356
- 'checkboxlabel' => __('Activate', 'alimir'),
357
- 'description' => __('<strong>Only</strong> registered users have permission to like activities.', 'alimir')
358
  ),
359
  'logging_method' => array(
360
  'type' => 'select',
361
  'default' => 'by_cookie_ip',
362
- 'label' => __( 'Logging Method','alimir'),
363
  'options' => array(
364
- 'do_not_log' => __('Do Not Log', 'alimir'),
365
- 'by_cookie' => __('Logged By Cookie', 'alimir'),
366
- 'by_ip' => __('Logged By IP', 'alimir'),
367
- 'by_cookie_ip'=> __('Logged By Cookie & IP', 'alimir'),
368
- 'by_username' => __('Logged By Username', 'alimir')
369
  )
370
  ),
371
  'users_liked_box' => array(
372
  'type' => 'checkbox',
373
  'default' => 1,
374
- 'label' => __('Show Liked Users Box', 'alimir'),
375
- 'checkboxlabel' => __('Activate', 'alimir'),
376
- 'description' => __('Active this option to show liked users avatars in the bottom of button like.', 'alimir')
377
  ),
378
  'users_liked_box_avatar_size' => array(
379
  'type' => 'number',
380
  'default' => 32,
381
- 'label' => __( 'Size of Gravatars', 'alimir'),
382
- 'description' => __('Size of Gravatars to return (max is 512)', 'alimir')
383
  ),
384
  'number_of_users' => array(
385
  'type' => 'number',
386
  'default' => 10,
387
- 'label' => __( 'Number Of The Users', 'alimir'),
388
- 'description' => __('The number of users to show in the users liked box', 'alimir')
389
  ),
390
  'users_liked_box_template' => array(
391
  'type' => 'textarea',
392
- 'default' => '<br /><p style="margin-top:5px"> '.__('Users who have liked this activity:','alimir').'</p> <ul class="tiles">%START_WHILE%<li><a class="user-tooltip" title="%USER_NAME%">%USER_AVATAR%</a></li>%END_WHILE%</ul>',
393
- 'label' => __('Users Like Box Template', 'alimir'),
394
- 'description' => __('Allowed Variables:', 'alimir') . ' <code>%USER_AVATAR%</code> , <code>%BP_PROFILE_URL%</code> , <code>%UM_PROFILE_URL%</code> , <code>%USER_NAME%</code> , <code>%START_WHILE%</code> , <code>%END_WHILE%</code>'
395
  ),
396
  'new_likes_activity' => array(
397
  'type' => 'checkbox',
398
  'default' => 0,
399
- 'label' => __('BuddyPress Activity', 'alimir'),
400
- 'checkboxlabel' => __('Activate', 'alimir'),
401
- 'description' => __('insert new likes in buddyPress activity page', 'alimir')
402
  ),
403
  'bp_post_activity_add_header' => array(
404
  'type' => 'textarea',
405
  'default' => '<strong>%POST_LIKER%</strong> liked <a href="%POST_PERMALINK%" title="%POST_TITLE%">%POST_TITLE%</a>. (So far, This post has <span class="badge">%POST_COUNT%</span> likes)',
406
- 'label' => __('Post Activity Text', 'alimir'),
407
- 'description' => __('Allowed Variables:', 'alimir') . ' <code>%POST_LIKER%</code> , <code>%POST_PERMALINK%</code> , <code>%POST_COUNT%</code> , <code>%POST_TITLE%</code>'
408
  ),
409
  'bp_comment_activity_add_header' => array(
410
  'type' => 'textarea',
411
  'default' => '<strong>%COMMENT_LIKER%</strong> liked <strong>%COMMENT_AUTHOR%</strong> comment. (So far, %COMMENT_AUTHOR% has <span class="badge">%COMMENT_COUNT%</span> likes for this comment)',
412
- 'label' => __('Comment Activity Text', 'alimir'),
413
- 'description' => __('Allowed Variables:', 'alimir') . ' <code>%COMMENT_LIKER%</code> , <code>%COMMENT_AUTHOR%</code> , <code>%COMMENT_COUNT%</code>'
414
  ),
415
  'delete_logs' => array(
416
  'type' => 'action',
417
- 'label' => __( 'Delete All Logs', 'alimir' ),
418
- 'description' => __( 'You Are About To Delete All Likes Logs. This Action Is Not Reversible.', 'alimir'),
419
  'action' => 'wp_ulike_delete_all_logs'
420
  ),
421
  'delete_data' => array(
422
  'type' => 'action',
423
- 'label' => __( 'Delete All Data', 'alimir' ),
424
- 'description' => __( 'You Are About To Delete All Likes Data. This Action Is Not Reversible.', 'alimir'),
425
  'action' => 'wp_ulike_delete_all_data'
426
  )
427
  )
@@ -435,86 +442,86 @@
435
  $wp_ulike_bbpress = array();
436
  if (function_exists('is_bbpress')){
437
  $wp_ulike_bbpress = array(
438
- 'title' => '<i class="dashicons-before dashicons-bbpress"></i>' . ' ' . __( 'bbPress','alimir'),
439
  'fields' => array(
440
  'theme' => array(
441
  'type' => 'select',
442
  'default' => 'default',
443
- 'label' => __( 'Themes','alimir'),
444
  'options' => array(
445
- 'wpulike-default' => __('Default', 'alimir'),
446
- 'wpulike-heart' => __('Heart', 'alimir')
447
  )
448
  ),
449
  'auto_display' => array(
450
  'type' => 'checkbox',
451
  'default' => 0,
452
- 'label' => __('Automatic display', 'alimir'),
453
- 'checkboxlabel' => __('Activate', 'alimir')
454
  ),
455
  'auto_display_position' => array(
456
  'type' => 'radio',
457
- 'label' => __( 'Auto Display Position','alimir'),
458
  'default' => 'bottom',
459
  'options' => array(
460
- 'top' => __('Top of Content', 'alimir'),
461
- 'bottom' => __('Bottom of Content', 'alimir')
462
  )
463
  ),
464
  'only_registered_users' => array(
465
  'type' => 'checkbox',
466
  'default' => 0,
467
- 'label' => __('Only registered Users', 'alimir'),
468
- 'checkboxlabel' => __('Activate', 'alimir'),
469
- 'description' => __('<strong>Only</strong> registered users have permission to like Topics.', 'alimir')
470
  ),
471
  'logging_method' => array(
472
  'type' => 'select',
473
  'default' => 'by_cookie_ip',
474
- 'label' => __( 'Logging Method','alimir'),
475
  'options' => array(
476
- 'do_not_log' => __('Do Not Log', 'alimir'),
477
- 'by_cookie' => __('Logged By Cookie', 'alimir'),
478
- 'by_ip' => __('Logged By IP', 'alimir'),
479
- 'by_cookie_ip'=> __('Logged By Cookie & IP', 'alimir'),
480
- 'by_username' => __('Logged By Username', 'alimir')
481
  )
482
  ),
483
  'users_liked_box' => array(
484
  'type' => 'checkbox',
485
  'default' => 1,
486
- 'label' => __('Show Liked Users Box', 'alimir'),
487
- 'checkboxlabel' => __('Activate', 'alimir'),
488
- 'description' => __('Active this option to show liked users avatars in the bottom of button like.', 'alimir')
489
  ),
490
  'users_liked_box_avatar_size' => array(
491
  'type' => 'number',
492
  'default' => 32,
493
- 'label' => __( 'Size of Gravatars', 'alimir'),
494
- 'description' => __('Size of Gravatars to return (max is 512)', 'alimir')
495
  ),
496
  'number_of_users' => array(
497
  'type' => 'number',
498
  'default' => 10,
499
- 'label' => __( 'Number Of The Users', 'alimir'),
500
- 'description' => __('The number of users to show in the users liked box', 'alimir')
501
  ),
502
  'users_liked_box_template' => array(
503
  'type' => 'textarea',
504
- 'default' => '<br /><p style="margin-top:5px"> '.__('Users who have liked this topic:','alimir').'</p> <ul class="tiles">%START_WHILE%<li><a class="user-tooltip" title="%USER_NAME%">%USER_AVATAR%</a></li>%END_WHILE%</ul>',
505
- 'label' => __('Users Like Box Template', 'alimir'),
506
- 'description' => __('Allowed Variables:', 'alimir') . ' <code>%USER_AVATAR%</code> , <code>%BP_PROFILE_URL%</code> , <code>%UM_PROFILE_URL%</code> , <code>%USER_NAME%</code> , <code>%START_WHILE%</code> , <code>%END_WHILE%</code>'
507
  ),
508
  'delete_logs' => array(
509
  'type' => 'action',
510
- 'label' => __( 'Delete All Logs', 'alimir' ),
511
- 'description' => __( 'You Are About To Delete All Likes Logs. This Action Is Not Reversible.', 'alimir'),
512
  'action' => 'wp_ulike_delete_all_logs'
513
  ),
514
  'delete_data' => array(
515
  'type' => 'action',
516
- 'label' => __( 'Delete All Data', 'alimir' ),
517
- 'description' => __( 'You Are About To Delete All Likes Data. This Action Is Not Reversible.', 'alimir'),
518
  'action' => 'wp_ulike_delete_all_data'
519
  )
520
  )
8
  *******************************************************/
9
 
10
  $wp_ulike_general = array(
11
+ 'title' => '<i class="dashicons-before dashicons-admin-settings"></i>' . ' ' . __( 'General',WP_ULIKE_SLUG),
12
  'fields' => array(
13
  'button_type' => array(
14
  'type' => 'radio',
15
+ 'label' => __( 'Button Type', WP_ULIKE_SLUG),
16
  'default' => 'image',
17
  'options' => array(
18
+ 'image' => __( 'Icon', WP_ULIKE_SLUG),
19
+ 'text' => __( 'Text', WP_ULIKE_SLUG)
20
  )
21
  ),
22
  'button_text' => array(
23
+ 'default' => __('Like',WP_ULIKE_SLUG),
24
+ 'label' => __( 'Button Text', WP_ULIKE_SLUG) . ' (' . __('Like', WP_ULIKE_SLUG) .')',
25
  ),
26
  'button_text_u' => array(
27
+ 'default' => __('Unlike',WP_ULIKE_SLUG),
28
+ 'label' => __( 'Button Text', WP_ULIKE_SLUG) . ' (' . __('Unlike', WP_ULIKE_SLUG) .')',
29
  ),
30
  'button_url' => array(
31
  'type' => 'media',
32
+ 'label' => __( 'Button Icon', WP_ULIKE_SLUG) . ' (' . __('Like', WP_ULIKE_SLUG) .')',
33
+ 'description' => __( 'Best size: 16x16',WP_ULIKE_SLUG)
34
  ),
35
  'button_url_u' => array(
36
  'type' => 'media',
37
+ 'label' => __( 'Button Icon', WP_ULIKE_SLUG) . ' (' . __('Unlike', WP_ULIKE_SLUG) .')',
38
+ 'description' => __( 'Best size: 16x16',WP_ULIKE_SLUG)
39
  ),
40
  'permission_text' => array(
41
+ 'default' => __('You have not permission to unlike',WP_ULIKE_SLUG),
42
+ 'label' => __( 'Permission Text', WP_ULIKE_SLUG)
43
  ),
44
  'login_type' => array(
45
  'type' => 'radio',
46
+ 'label' => __( 'Users Login Type',WP_ULIKE_SLUG),
47
  'default' => 'alert',
48
  'options' => array(
49
+ 'alert' => __('Alert Box', WP_ULIKE_SLUG),
50
+ 'button' => __('Like Button', WP_ULIKE_SLUG)
51
  )
52
  ),
53
  'login_text' => array(
54
+ 'default' => __('You Should Login To Submit Your Like',WP_ULIKE_SLUG),
55
+ 'label' => __( 'Users Login Text', WP_ULIKE_SLUG)
56
  ),
57
  'format_number' => array(
58
  'type' => 'checkbox',
59
  'default' => 0,
60
+ 'label' => __('Format Number', WP_ULIKE_SLUG),
61
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG),
62
+ 'description' => __('Convert numbers of Likes with string (kilobyte) format.', WP_ULIKE_SLUG) . '<strong> (WHEN? likes>=1000)</strong>'
63
  )
64
  )
65
  );//end wp_ulike_general
69
  *******************************************************/
70
 
71
  $wp_ulike_posts = array(
72
+ 'title' => '<i class="dashicons-before dashicons-admin-post"></i>' . ' ' . __( 'Posts',WP_ULIKE_SLUG),
73
  'fields' => array(
74
  'theme' => array(
75
  'type' => 'select',
76
  'default' => 'default',
77
+ 'label' => __( 'Themes',WP_ULIKE_SLUG),
78
  'options' => array(
79
+ 'wpulike-default' => __('Default', WP_ULIKE_SLUG),
80
+ 'wpulike-heart' => __('Heart', WP_ULIKE_SLUG)
81
  )
82
  ),
83
  'auto_display' => array(
84
  'type' => 'checkbox',
85
  'default' => 1,
86
+ 'label' => __('Automatic display', WP_ULIKE_SLUG),
87
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG)
88
  ),
89
  'auto_display_position' => array(
90
  'type' => 'radio',
91
+ 'label' => __( 'Auto Display Position',WP_ULIKE_SLUG),
92
  'default' => 'bottom',
93
  'options' => array(
94
+ 'top' => __('Top of Content', WP_ULIKE_SLUG),
95
+ 'bottom' => __('Bottom of Content', WP_ULIKE_SLUG),
96
+ 'top_bottom' => __('Top and Bottom', WP_ULIKE_SLUG)
97
  )
98
  ),
99
  'auto_display_filter' => array(
100
  'type' => 'multi',
101
+ 'label' => __( 'Auto Display Filter',WP_ULIKE_SLUG ),
102
  'options' => array(
103
+ 'home' => __('Home', WP_ULIKE_SLUG),
104
+ 'single' => __('Single Posts', WP_ULIKE_SLUG),
105
+ 'page' => __('Pages', WP_ULIKE_SLUG),
106
+ 'archive' => __('Archives', WP_ULIKE_SLUG),
107
+ 'category' => __('Categories', WP_ULIKE_SLUG),
108
+ 'search' => __('Search Results', WP_ULIKE_SLUG),
109
+ 'tag' => __('Tags', WP_ULIKE_SLUG),
110
+ 'author' => __('Author Page', WP_ULIKE_SLUG)
111
  ),
112
+ 'description' => __('You can filter theses pages on auto display option.', WP_ULIKE_SLUG)
113
  ),
114
  'only_registered_users' => array(
115
  'type' => 'checkbox',
116
  'default' => 0,
117
+ 'label' => __('Only registered Users', WP_ULIKE_SLUG),
118
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG),
119
+ 'description' => __('<strong>Only</strong> registered users have permission to like posts.', WP_ULIKE_SLUG)
120
  ),
121
  'logging_method' => array(
122
  'type' => 'select',
123
  'default' => 'by_username',
124
+ 'label' => __( 'Logging Method',WP_ULIKE_SLUG),
125
  'options' => array(
126
+ 'do_not_log' => __('Do Not Log', WP_ULIKE_SLUG),
127
+ 'by_cookie' => __('Logged By Cookie', WP_ULIKE_SLUG),
128
+ 'by_ip' => __('Logged By IP', WP_ULIKE_SLUG),
129
+ 'by_cookie_ip'=> __('Logged By Cookie & IP', WP_ULIKE_SLUG),
130
+ 'by_username' => __('Logged By Username', WP_ULIKE_SLUG)
131
  )
132
  ),
133
  'users_liked_box' => array(
134
  'type' => 'checkbox',
135
  'default' => 1,
136
+ 'label' => __('Show Liked Users Box', WP_ULIKE_SLUG),
137
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG),
138
+ 'description' => __('Active this option to show liked users avatars in the bottom of button like.', WP_ULIKE_SLUG)
139
  ),
140
  'users_liked_box_avatar_size' => array(
141
  'type' => 'number',
142
  'default' => 32,
143
+ 'label' => __( 'Size of Gravatars', WP_ULIKE_SLUG),
144
+ 'description' => __('Size of Gravatars to return (max is 512)', WP_ULIKE_SLUG)
145
  ),
146
  'number_of_users' => array(
147
  'type' => 'number',
148
  'default' => 10,
149
+ 'label' => __( 'Number Of The Users', WP_ULIKE_SLUG),
150
+ 'description' => __('The number of users to show in the users liked box', WP_ULIKE_SLUG)
151
  ),
152
  'users_liked_box_template' => array(
153
  'type' => 'textarea',
154
+ 'default' => '<br /><p style="margin-top:5px"> '.__('Users who have LIKED this post:',WP_ULIKE_SLUG).'</p> <ul class="tiles">%START_WHILE%<li><a class="user-tooltip" title="%USER_NAME%">%USER_AVATAR%</a></li>%END_WHILE%</ul>',
155
+ 'label' => __('Users Like Box Template', WP_ULIKE_SLUG),
156
+ 'description' => __('Allowed Variables:', WP_ULIKE_SLUG) . ' <code>%USER_AVATAR%</code> , <code>%BP_PROFILE_URL%</code> , <code>%UM_PROFILE_URL%</code> , <code>%USER_NAME%</code> , <code>%START_WHILE%</code> , <code>%END_WHILE%</code>'
157
  ),
158
  'delete_logs' => array(
159
  'type' => 'action',
160
+ 'label' => __( 'Delete All Logs', WP_ULIKE_SLUG ),
161
+ 'description' => __( 'You Are About To Delete All Likes Logs. This Action Is Not Reversible.', WP_ULIKE_SLUG),
162
  'action' => 'wp_ulike_delete_all_logs'
163
  ),
164
  'delete_data' => array(
165
  'type' => 'action',
166
+ 'label' => __( 'Delete All Data', WP_ULIKE_SLUG ),
167
+ 'description' => __( 'You Are About To Delete All Likes Data. This Action Is Not Reversible.', WP_ULIKE_SLUG),
168
  'action' => 'wp_ulike_delete_all_data'
169
  )
170
  )
175
  *******************************************************/
176
 
177
  $wp_ulike_comments = array(
178
+ 'title' => '<i class="dashicons-before dashicons-admin-comments"></i>' . ' ' . __( 'Comments',WP_ULIKE_SLUG),
179
  'fields' => array(
180
  'theme' => array(
181
  'type' => 'select',
182
  'default' => 'default',
183
+ 'label' => __( 'Themes',WP_ULIKE_SLUG),
184
  'options' => array(
185
+ 'wpulike-default' => __('Default', WP_ULIKE_SLUG),
186
+ 'wpulike-heart' => __('Heart', WP_ULIKE_SLUG)
187
  )
188
  ),
189
  'auto_display' => array(
190
  'type' => 'checkbox',
191
  'default' => 1,
192
+ 'label' => __('Automatic display', WP_ULIKE_SLUG),
193
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG)
194
  ),
195
  'auto_display_position' => array(
196
  'type' => 'radio',
197
+ 'label' => __( 'Auto Display Position',WP_ULIKE_SLUG),
198
  'default' => 'bottom',
199
  'options' => array(
200
+ 'top' => __('Top of Content', WP_ULIKE_SLUG),
201
+ 'bottom' => __('Bottom of Content', WP_ULIKE_SLUG),
202
+ 'top_bottom' => __('Top and Bottom', WP_ULIKE_SLUG)
203
  )
204
  ),
205
  'only_registered_users' => array(
206
  'type' => 'checkbox',
207
  'default' => 0,
208
+ 'label' => __('Only registered Users', WP_ULIKE_SLUG),
209
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG),
210
+ 'description' => __('<strong>Only</strong> registered users have permission to like comments.', WP_ULIKE_SLUG)
211
  ),
212
  'logging_method' => array(
213
  'type' => 'select',
214
  'default' => 'by_username',
215
+ 'label' => __( 'Logging Method',WP_ULIKE_SLUG),
216
  'options' => array(
217
+ 'do_not_log' => __('Do Not Log', WP_ULIKE_SLUG),
218
+ 'by_cookie' => __('Logged By Cookie', WP_ULIKE_SLUG),
219
+ 'by_ip' => __('Logged By IP', WP_ULIKE_SLUG),
220
+ 'by_cookie_ip'=> __('Logged By Cookie & IP', WP_ULIKE_SLUG),
221
+ 'by_username' => __('Logged By Username', WP_ULIKE_SLUG)
222
  )
223
  ),
224
  'users_liked_box' => array(
225
  'type' => 'checkbox',
226
  'default' => 1,
227
+ 'label' => __('Show Liked Users Box', WP_ULIKE_SLUG),
228
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG),
229
+ 'description' => __('Active this option to show liked users avatars in the bottom of button like.', WP_ULIKE_SLUG)
230
  ),
231
  'users_liked_box_avatar_size' => array(
232
  'type' => 'number',
233
  'default' => 32,
234
+ 'label' => __( 'Size of Gravatars', WP_ULIKE_SLUG),
235
+ 'description' => __('Size of Gravatars to return (max is 512)', WP_ULIKE_SLUG)
236
  ),
237
  'number_of_users' => array(
238
  'type' => 'number',
239
  'default' => 10,
240
+ 'label' => __( 'Number Of The Users', WP_ULIKE_SLUG),
241
+ 'description' => __('The number of users to show in the users liked box', WP_ULIKE_SLUG)
242
  ),
243
  'users_liked_box_template' => array(
244
  'type' => 'textarea',
245
+ 'default' => '<br /><p style="margin-top:5px"> '.__('Users who have LIKED this comment:',WP_ULIKE_SLUG).'</p> <ul class="tiles">%START_WHILE%<li><a class="user-tooltip" title="%USER_NAME%">%USER_AVATAR%</a></li>%END_WHILE%</ul>',
246
+ 'label' => __('Users Like Box Template', WP_ULIKE_SLUG),
247
+ 'description' => __('Allowed Variables:', WP_ULIKE_SLUG) . ' <code>%USER_AVATAR%</code> , <code>%BP_PROFILE_URL%</code> , <code>%UM_PROFILE_URL%</code> , <code>%USER_NAME%</code> , <code>%START_WHILE%</code> , <code>%END_WHILE%</code>'
248
  ),
249
  'delete_logs' => array(
250
  'type' => 'action',
251
+ 'label' => __( 'Delete All Logs', WP_ULIKE_SLUG ),
252
+ 'description' => __( 'You Are About To Delete All Likes Logs. This Action Is Not Reversible.', WP_ULIKE_SLUG),
253
  'action' => 'wp_ulike_delete_all_logs'
254
  ),
255
  'delete_data' => array(
256
  'type' => 'action',
257
+ 'label' => __( 'Delete All Data', WP_ULIKE_SLUG ),
258
+ 'description' => __( 'You Are About To Delete All Likes Data. This Action Is Not Reversible.', WP_ULIKE_SLUG),
259
  'action' => 'wp_ulike_delete_all_data'
260
  )
261
  )
266
  *******************************************************/
267
 
268
  $wp_ulike_customize = array(
269
+ 'title' => '<i class="dashicons-before dashicons-art"></i>' . ' ' . __( 'Customize',WP_ULIKE_SLUG),
270
  'fields' => array(
271
  'custom_style' => array(
272
  'type' => 'checkbox',
273
  'default' => 0,
274
+ 'label' => __('Custom Style', WP_ULIKE_SLUG),
275
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG),
276
  'attributes' => array(
277
  'class' => 'wp_ulike_custom_style_activation'
278
  ),
279
+ 'description' => __('Active this option to see the custom style settings.', WP_ULIKE_SLUG)
280
  ),
281
  'btn_bg' => array(
282
  'type' => 'color',
283
+ 'label' => __('Button style', WP_ULIKE_SLUG),
284
+ 'description' => __('Background', WP_ULIKE_SLUG)
285
  ),
286
  'btn_border' => array(
287
  'type' => 'color',
288
+ 'description' => __('Border Color', WP_ULIKE_SLUG)
289
  ),
290
  'btn_color' => array(
291
  'type' => 'color',
292
+ 'description' => __('Text Color', WP_ULIKE_SLUG)
293
  ),
294
  'counter_bg' => array(
295
  'type' => 'color',
296
+ 'label' => __( 'Counter Style', WP_ULIKE_SLUG),
297
+ 'description' => __('Background', WP_ULIKE_SLUG)
298
  ),
299
  'counter_border' => array(
300
  'type' => 'color',
301
+ 'description' => __('Border Color', WP_ULIKE_SLUG)
302
  ),
303
  'counter_color' => array(
304
  'type' => 'color',
305
+ 'description' => __('Text Color', WP_ULIKE_SLUG)
306
  ),
307
  'loading_animation' => array(
308
  'type' => 'media',
309
+ 'label' => __( 'Loading Animation', WP_ULIKE_SLUG) . ' (.GIF)',
310
+ 'description' => __( 'Best size: 16x16',WP_ULIKE_SLUG)
311
  ),
312
  'custom_css' => array(
313
  'type' => 'textarea',
314
+ 'label' => __('Custom CSS', WP_ULIKE_SLUG),
315
  )
316
  )
317
  );//end wp_ulike_customize
323
  $wp_ulike_buddypress = array();
324
  if ( function_exists('is_buddypress') ) {
325
  $wp_ulike_buddypress = array(
326
+ 'title' => '<i class="dashicons-before dashicons-buddypress"></i>' . ' ' . __( 'BuddyPress',WP_ULIKE_SLUG),
327
  'fields' => array(
328
  'theme' => array(
329
  'type' => 'select',
330
  'default' => 'default',
331
+ 'label' => __( 'Themes',WP_ULIKE_SLUG),
332
  'options' => array(
333
+ 'wpulike-default' => __('Default', WP_ULIKE_SLUG),
334
+ 'wpulike-heart' => __('Heart', WP_ULIKE_SLUG)
335
  )
336
+ ),
337
  'auto_display' => array(
338
  'type' => 'checkbox',
339
  'default' => 0,
340
+ 'label' => __('Automatic display', WP_ULIKE_SLUG),
341
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG)
342
  ),
343
  'auto_display_position' => array(
344
  'type' => 'radio',
345
+ 'label' => __( 'Auto Display Position',WP_ULIKE_SLUG),
346
  'default' => 'bottom',
347
  'options' => array(
348
+ 'content' => __('Activity Content', WP_ULIKE_SLUG),
349
+ 'meta' => __('Activity Meta', WP_ULIKE_SLUG)
350
  )
351
+ ),
352
+ 'activity_comment'=> array(
353
+ 'type' => 'checkbox',
354
+ 'default' => 1,
355
+ 'label' => __('Activity Comment', WP_ULIKE_SLUG),
356
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG),
357
+ 'description' => __('Add the possibility to like Buddypress comments in the activity stream', WP_ULIKE_SLUG)
358
+ ),
359
  'only_registered_users' => array(
360
  'type' => 'checkbox',
361
  'default' => 0,
362
+ 'label' => __('Only registered Users', WP_ULIKE_SLUG),
363
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG),
364
+ 'description' => __('<strong>Only</strong> registered users have permission to like activities.', WP_ULIKE_SLUG)
365
  ),
366
  'logging_method' => array(
367
  'type' => 'select',
368
  'default' => 'by_cookie_ip',
369
+ 'label' => __( 'Logging Method',WP_ULIKE_SLUG),
370
  'options' => array(
371
+ 'do_not_log' => __('Do Not Log', WP_ULIKE_SLUG),
372
+ 'by_cookie' => __('Logged By Cookie', WP_ULIKE_SLUG),
373
+ 'by_ip' => __('Logged By IP', WP_ULIKE_SLUG),
374
+ 'by_cookie_ip'=> __('Logged By Cookie & IP', WP_ULIKE_SLUG),
375
+ 'by_username' => __('Logged By Username', WP_ULIKE_SLUG)
376
  )
377
  ),
378
  'users_liked_box' => array(
379
  'type' => 'checkbox',
380
  'default' => 1,
381
+ 'label' => __('Show Liked Users Box', WP_ULIKE_SLUG),
382
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG),
383
+ 'description' => __('Active this option to show liked users avatars in the bottom of button like.', WP_ULIKE_SLUG)
384
  ),
385
  'users_liked_box_avatar_size' => array(
386
  'type' => 'number',
387
  'default' => 32,
388
+ 'label' => __( 'Size of Gravatars', WP_ULIKE_SLUG),
389
+ 'description' => __('Size of Gravatars to return (max is 512)', WP_ULIKE_SLUG)
390
  ),
391
  'number_of_users' => array(
392
  'type' => 'number',
393
  'default' => 10,
394
+ 'label' => __( 'Number Of The Users', WP_ULIKE_SLUG),
395
+ 'description' => __('The number of users to show in the users liked box', WP_ULIKE_SLUG)
396
  ),
397
  'users_liked_box_template' => array(
398
  'type' => 'textarea',
399
+ 'default' => '<br /><p style="margin-top:5px"> '.__('Users who have liked this activity:',WP_ULIKE_SLUG).'</p> <ul class="tiles">%START_WHILE%<li><a class="user-tooltip" title="%USER_NAME%">%USER_AVATAR%</a></li>%END_WHILE%</ul>',
400
+ 'label' => __('Users Like Box Template', WP_ULIKE_SLUG),
401
+ 'description' => __('Allowed Variables:', WP_ULIKE_SLUG) . ' <code>%USER_AVATAR%</code> , <code>%BP_PROFILE_URL%</code> , <code>%UM_PROFILE_URL%</code> , <code>%USER_NAME%</code> , <code>%START_WHILE%</code> , <code>%END_WHILE%</code>'
402
  ),
403
  'new_likes_activity' => array(
404
  'type' => 'checkbox',
405
  'default' => 0,
406
+ 'label' => __('BuddyPress Activity', WP_ULIKE_SLUG),
407
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG),
408
+ 'description' => __('insert new likes in buddyPress activity page', WP_ULIKE_SLUG)
409
  ),
410
  'bp_post_activity_add_header' => array(
411
  'type' => 'textarea',
412
  'default' => '<strong>%POST_LIKER%</strong> liked <a href="%POST_PERMALINK%" title="%POST_TITLE%">%POST_TITLE%</a>. (So far, This post has <span class="badge">%POST_COUNT%</span> likes)',
413
+ 'label' => __('Post Activity Text', WP_ULIKE_SLUG),
414
+ 'description' => __('Allowed Variables:', WP_ULIKE_SLUG) . ' <code>%POST_LIKER%</code> , <code>%POST_PERMALINK%</code> , <code>%POST_COUNT%</code> , <code>%POST_TITLE%</code>'
415
  ),
416
  'bp_comment_activity_add_header' => array(
417
  'type' => 'textarea',
418
  'default' => '<strong>%COMMENT_LIKER%</strong> liked <strong>%COMMENT_AUTHOR%</strong> comment. (So far, %COMMENT_AUTHOR% has <span class="badge">%COMMENT_COUNT%</span> likes for this comment)',
419
+ 'label' => __('Comment Activity Text', WP_ULIKE_SLUG),
420
+ 'description' => __('Allowed Variables:', WP_ULIKE_SLUG) . ' <code>%COMMENT_LIKER%</code> , <code>%COMMENT_AUTHOR%</code> , <code>%COMMENT_COUNT%</code>'
421
  ),
422
  'delete_logs' => array(
423
  'type' => 'action',
424
+ 'label' => __( 'Delete All Logs', WP_ULIKE_SLUG ),
425
+ 'description' => __( 'You Are About To Delete All Likes Logs. This Action Is Not Reversible.', WP_ULIKE_SLUG),
426
  'action' => 'wp_ulike_delete_all_logs'
427
  ),
428
  'delete_data' => array(
429
  'type' => 'action',
430
+ 'label' => __( 'Delete All Data', WP_ULIKE_SLUG ),
431
+ 'description' => __( 'You Are About To Delete All Likes Data. This Action Is Not Reversible.', WP_ULIKE_SLUG),
432
  'action' => 'wp_ulike_delete_all_data'
433
  )
434
  )
442
  $wp_ulike_bbpress = array();
443
  if (function_exists('is_bbpress')){
444
  $wp_ulike_bbpress = array(
445
+ 'title' => '<i class="dashicons-before dashicons-bbpress"></i>' . ' ' . __( 'bbPress',WP_ULIKE_SLUG),
446
  'fields' => array(
447
  'theme' => array(
448
  'type' => 'select',
449
  'default' => 'default',
450
+ 'label' => __( 'Themes',WP_ULIKE_SLUG),
451
  'options' => array(
452
+ 'wpulike-default' => __('Default', WP_ULIKE_SLUG),
453
+ 'wpulike-heart' => __('Heart', WP_ULIKE_SLUG)
454
  )
455
  ),
456
  'auto_display' => array(
457
  'type' => 'checkbox',
458
  'default' => 0,
459
+ 'label' => __('Automatic display', WP_ULIKE_SLUG),
460
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG)
461
  ),
462
  'auto_display_position' => array(
463
  'type' => 'radio',
464
+ 'label' => __( 'Auto Display Position',WP_ULIKE_SLUG),
465
  'default' => 'bottom',
466
  'options' => array(
467
+ 'top' => __('Top of Content', WP_ULIKE_SLUG),
468
+ 'bottom' => __('Bottom of Content', WP_ULIKE_SLUG)
469
  )
470
  ),
471
  'only_registered_users' => array(
472
  'type' => 'checkbox',
473
  'default' => 0,
474
+ 'label' => __('Only registered Users', WP_ULIKE_SLUG),
475
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG),
476
+ 'description' => __('<strong>Only</strong> registered users have permission to like Topics.', WP_ULIKE_SLUG)
477
  ),
478
  'logging_method' => array(
479
  'type' => 'select',
480
  'default' => 'by_cookie_ip',
481
+ 'label' => __( 'Logging Method',WP_ULIKE_SLUG),
482
  'options' => array(
483
+ 'do_not_log' => __('Do Not Log', WP_ULIKE_SLUG),
484
+ 'by_cookie' => __('Logged By Cookie', WP_ULIKE_SLUG),
485
+ 'by_ip' => __('Logged By IP', WP_ULIKE_SLUG),
486
+ 'by_cookie_ip'=> __('Logged By Cookie & IP', WP_ULIKE_SLUG),
487
+ 'by_username' => __('Logged By Username', WP_ULIKE_SLUG)
488
  )
489
  ),
490
  'users_liked_box' => array(
491
  'type' => 'checkbox',
492
  'default' => 1,
493
+ 'label' => __('Show Liked Users Box', WP_ULIKE_SLUG),
494
+ 'checkboxlabel' => __('Activate', WP_ULIKE_SLUG),
495
+ 'description' => __('Active this option to show liked users avatars in the bottom of button like.', WP_ULIKE_SLUG)
496
  ),
497
  'users_liked_box_avatar_size' => array(
498
  'type' => 'number',
499
  'default' => 32,
500
+ 'label' => __( 'Size of Gravatars', WP_ULIKE_SLUG),
501
+ 'description' => __('Size of Gravatars to return (max is 512)', WP_ULIKE_SLUG)
502
  ),
503
  'number_of_users' => array(
504
  'type' => 'number',
505
  'default' => 10,
506
+ 'label' => __( 'Number Of The Users', WP_ULIKE_SLUG),
507
+ 'description' => __('The number of users to show in the users liked box', WP_ULIKE_SLUG)
508
  ),
509
  'users_liked_box_template' => array(
510
  'type' => 'textarea',
511
+ 'default' => '<br /><p style="margin-top:5px"> '.__('Users who have liked this topic:',WP_ULIKE_SLUG).'</p> <ul class="tiles">%START_WHILE%<li><a class="user-tooltip" title="%USER_NAME%">%USER_AVATAR%</a></li>%END_WHILE%</ul>',
512
+ 'label' => __('Users Like Box Template', WP_ULIKE_SLUG),
513
+ 'description' => __('Allowed Variables:', WP_ULIKE_SLUG) . ' <code>%USER_AVATAR%</code> , <code>%BP_PROFILE_URL%</code> , <code>%UM_PROFILE_URL%</code> , <code>%USER_NAME%</code> , <code>%START_WHILE%</code> , <code>%END_WHILE%</code>'
514
  ),
515
  'delete_logs' => array(
516
  'type' => 'action',
517
+ 'label' => __( 'Delete All Logs', WP_ULIKE_SLUG ),
518
+ 'description' => __( 'You Are About To Delete All Likes Logs. This Action Is Not Reversible.', WP_ULIKE_SLUG),
519
  'action' => 'wp_ulike_delete_all_logs'
520
  ),
521
  'delete_data' => array(
522
  'type' => 'action',
523
+ 'label' => __( 'Delete All Data', WP_ULIKE_SLUG ),
524
+ 'description' => __( 'You Are About To Delete All Likes Data. This Action Is Not Reversible.', WP_ULIKE_SLUG),
525
  'action' => 'wp_ulike_delete_all_data'
526
  )
527
  )
admin/logs.php CHANGED
@@ -14,7 +14,7 @@
14
  function wp_ulike_logs_per_page() {
15
  $option = 'per_page';
16
  $args = array(
17
- 'label' => __('Logs','alimir'),
18
  'default' => 20,
19
  'option' => 'wp_ulike_logs_per_page'
20
  );
@@ -77,7 +77,7 @@
77
  //localize script
78
  wp_localize_script( 'wp_ulike_logs', 'wp_ulike_logs', array(
79
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
80
- 'message' => __('Are you sure to remove this item?!','alimir')
81
  ));
82
 
83
  }
@@ -135,25 +135,25 @@
135
 
136
  ?>
137
  <div class="wrap">
138
- <h2><?php _e('WP ULike Logs', 'alimir'); ?></h2>
139
- <h3><?php _e('Post Likes Logs', 'alimir'); ?></h3>
140
  <div class="tablenav">
141
  <div class='tablenav-pages'>
142
- <span class="displaying-num"><?php echo $items . ' ' . __('Logs','alimir'); ?></span>
143
  <?php echo $p->show(); // Echo out the list of paging. ?>
144
  </div>
145
  </div>
146
  <table class="widefat">
147
  <thead>
148
  <tr>
149
- <th width="2%"><?php _e('ID', 'alimir'); ?></th>
150
- <th width="10%"><?php _e('Username', 'alimir'); ?></th>
151
- <th><?php _e('Status', 'alimir'); ?></th>
152
- <th width="6%"><?php _e('Post ID', 'alimir'); ?></th>
153
- <th><?php _e('Post Title', 'alimir'); ?></th>
154
- <th width="20%"><?php _e('Date / Time', 'alimir'); ?></th>
155
- <th><?php _e('IP', 'alimir'); ?></th>
156
- <th><?php _e('Actions', 'alimir'); ?></th>
157
  </tr>
158
  </thead>
159
  <tbody class="wp_ulike_logs">
@@ -171,7 +171,7 @@
171
  if($user_info)
172
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
173
  else
174
- echo '<em> #'. __('Guest User','alimir') .'</em>';
175
  ?>
176
  </td>
177
  <td>
@@ -209,14 +209,14 @@
209
  </table>
210
  <div class="tablenav">
211
  <div class='tablenav-pages'>
212
- <span class="displaying-num"><?php echo $items . ' ' . __('Logs','alimir'); ?></span>
213
  <?php echo $p->show(); // Echo out the list of paging. ?>
214
  </div>
215
  </div>
216
  </div>
217
  <?php
218
  } else {
219
- echo "<div class='error'><p>" . __('<strong>ERROR:</strong> No Record Found. (This problem is created because you don\'t have any data on this table)','alimir') . "</p></div>";
220
  }
221
  }
222
 
@@ -256,26 +256,26 @@
256
  $get_ulike_logs = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix."ulike_comments ORDER BY id DESC ".$limit."");
257
  ?>
258
  <div class="wrap">
259
- <h2><?php _e('WP ULike Logs', 'alimir'); ?></h2>
260
- <h3><?php _e('Comment Likes Logs', 'alimir'); ?></h3>
261
  <div class="tablenav">
262
  <div class='tablenav-pages'>
263
- <span class="displaying-num"><?php echo $items . ' ' . __('Logs','alimir'); ?></span>
264
  <?php echo $p->show(); // Echo out the list of paging. ?>
265
  </div>
266
  </div>
267
  <table class="widefat">
268
  <thead>
269
  <tr>
270
- <th width="2%"><?php _e('ID', 'alimir'); ?></th>
271
- <th width="10%"><?php _e('Username', 'alimir'); ?></th>
272
- <th width="5%"><?php _e('Status', 'alimir'); ?></th>
273
- <th width="6%"><?php _e('Comment ID', 'alimir'); ?></th>
274
- <th><?php _e('Comment Author', 'alimir'); ?></th>
275
- <th><?php _e('Comment Text', 'alimir'); ?></th>
276
- <th width="20%"><?php _e('Date / Time', 'alimir'); ?></th>
277
- <th><?php _e('IP', 'alimir'); ?></th>
278
- <th><?php _e('Actions', 'alimir'); ?></th>
279
  </tr>
280
  </thead>
281
  <tbody>
@@ -293,7 +293,7 @@
293
  if($user_info)
294
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
295
  else
296
- echo '<em> #'. __('Guest User','alimir') .'</em>';
297
  ?>
298
  </td>
299
  <td>
@@ -334,7 +334,7 @@
334
  </table>
335
  <div class="tablenav">
336
  <div class='tablenav-pages'>
337
- <span class="displaying-num"><?php echo $items . ' ' . __('Logs','alimir'); ?></span>
338
  <?php echo $p->show(); // Echo out the list of paging. ?>
339
  </div>
340
  </div>
@@ -342,7 +342,7 @@
342
 
343
  <?php
344
  } else {
345
- echo "<div class='error'><p>" . __('<strong>ERROR:</strong> No Record Found. (This problem is created because you don\'t have any data on this table)','alimir') . "</p></div>";
346
  }
347
  }
348
 
@@ -383,25 +383,25 @@
383
 
384
  ?>
385
  <div class="wrap">
386
- <h2><?php _e('WP ULike Logs', 'alimir'); ?></h2>
387
- <h3><?php _e('Activity Likes Logs', 'alimir'); ?></h3>
388
  <div class="tablenav">
389
  <div class='tablenav-pages'>
390
- <span class="displaying-num"><?php echo $items . ' ' . __('Logs','alimir'); ?></span>
391
  <?php echo $p->show(); // Echo out the list of paging. ?>
392
  </div>
393
  </div>
394
  <table class="widefat">
395
  <thead>
396
  <tr>
397
- <th width="3%"><?php _e('ID', 'alimir'); ?></th>
398
- <th width="13%"><?php _e('Username', 'alimir'); ?></th>
399
- <th><?php _e('Status', 'alimir'); ?></th>
400
- <th width="6%"><?php _e('Activity ID', 'alimir'); ?></th>
401
- <th><?php _e('Permalink', 'alimir'); ?></th>
402
- <th><?php _e('Date / Time', 'alimir'); ?></th>
403
- <th><?php _e('IP', 'alimir'); ?></th>
404
- <th><?php _e('Actions', 'alimir'); ?></th>
405
  </tr>
406
  </thead>
407
  <tbody>
@@ -419,7 +419,7 @@
419
  if($user_info)
420
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
421
  else
422
- echo '<em> #'. __('Guest User','alimir') .'</em>';
423
  ?>
424
  </td>
425
  <td>
@@ -435,7 +435,7 @@
435
  <?php echo $get_ulike_log->activity_id; ?>
436
  </td>
437
  <td>
438
- <?php printf( __( '<a href="%1$s">Activity Permalink</a>', 'alimir' ), bp_activity_get_permalink( $get_ulike_log->activity_id ) ); ?>
439
  </td>
440
  <td>
441
  <?php
@@ -457,7 +457,7 @@
457
  </table>
458
  <div class="tablenav">
459
  <div class='tablenav-pages'>
460
- <span class="displaying-num"><?php echo $items . ' ' . __('Logs','alimir'); ?></span>
461
  <?php echo $p->show(); // Echo out the list of paging. ?>
462
  </div>
463
  </div>
@@ -465,7 +465,7 @@
465
 
466
  <?php
467
  } else {
468
- echo "<div class='error'><p>" . __('<strong>ERROR:</strong> No Record Found. (This problem is created because you don\'t have any data on this table)','alimir') . "</p></div>";
469
  }
470
  }
471
 
@@ -505,25 +505,25 @@
505
 
506
  ?>
507
  <div class="wrap">
508
- <h2><?php _e('WP ULike Logs', 'alimir'); ?></h2>
509
- <h3><?php _e('Topics Likes Logs', 'alimir'); ?></h3>
510
  <div class="tablenav">
511
  <div class='tablenav-pages'>
512
- <span class="displaying-num"><?php echo $items . ' ' . __('Logs','alimir'); ?></span>
513
  <?php echo $p->show(); // Echo out the list of paging. ?>
514
  </div>
515
  </div>
516
  <table class="widefat">
517
  <thead>
518
  <tr>
519
- <th width="2%"><?php _e('ID', 'alimir'); ?></th>
520
- <th width="10%"><?php _e('Username', 'alimir'); ?></th>
521
- <th><?php _e('Status', 'alimir'); ?></th>
522
- <th width="6%"><?php _e('Topic ID', 'alimir'); ?></th>
523
- <th><?php _e('Topic Title', 'alimir'); ?></th>
524
- <th width="20%"><?php _e('Date / Time', 'alimir'); ?></th>
525
- <th><?php _e('IP', 'alimir'); ?></th>
526
- <th><?php _e('Actions', 'alimir'); ?></th>
527
  </tr>
528
  </thead>
529
  <tbody class="wp_ulike_logs">
@@ -541,7 +541,7 @@
541
  if($user_info)
542
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
543
  else
544
- echo '<em> #'. __('Guest User','alimir') .'</em>';
545
  ?>
546
  </td>
547
  <td>
@@ -579,7 +579,7 @@
579
  </table>
580
  <div class="tablenav">
581
  <div class='tablenav-pages'>
582
- <span class="displaying-num"><?php echo $items . ' ' . __('Logs','alimir'); ?></span>
583
  <?php echo $p->show(); // Echo out the list of paging. ?>
584
  </div>
585
  </div>
@@ -587,7 +587,7 @@
587
 
588
  <?php
589
  } else {
590
- echo "<div class='error'><p>" . __('<strong>ERROR:</strong> No Record Found. (This problem is created because you don\'t have any data on this table)','alimir') . "</p></div>";
591
  }
592
  }
593
 
14
  function wp_ulike_logs_per_page() {
15
  $option = 'per_page';
16
  $args = array(
17
+ 'label' => __('Logs',WP_ULIKE_SLUG),
18
  'default' => 20,
19
  'option' => 'wp_ulike_logs_per_page'
20
  );
77
  //localize script
78
  wp_localize_script( 'wp_ulike_logs', 'wp_ulike_logs', array(
79
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
80
+ 'message' => __('Are you sure to remove this item?!',WP_ULIKE_SLUG)
81
  ));
82
 
83
  }
135
 
136
  ?>
137
  <div class="wrap">
138
+ <h2><?php _e('WP ULike Logs', WP_ULIKE_SLUG); ?></h2>
139
+ <h3><?php _e('Post Likes Logs', WP_ULIKE_SLUG); ?></h3>
140
  <div class="tablenav">
141
  <div class='tablenav-pages'>
142
+ <span class="displaying-num"><?php echo $items . ' ' . __('Logs',WP_ULIKE_SLUG); ?></span>
143
  <?php echo $p->show(); // Echo out the list of paging. ?>
144
  </div>
145
  </div>
146
  <table class="widefat">
147
  <thead>
148
  <tr>
149
+ <th width="2%"><?php _e('ID', WP_ULIKE_SLUG); ?></th>
150
+ <th width="10%"><?php _e('Username', WP_ULIKE_SLUG); ?></th>
151
+ <th><?php _e('Status', WP_ULIKE_SLUG); ?></th>
152
+ <th width="6%"><?php _e('Post ID', WP_ULIKE_SLUG); ?></th>
153
+ <th><?php _e('Post Title', WP_ULIKE_SLUG); ?></th>
154
+ <th width="20%"><?php _e('Date / Time', WP_ULIKE_SLUG); ?></th>
155
+ <th><?php _e('IP', WP_ULIKE_SLUG); ?></th>
156
+ <th><?php _e('Actions', WP_ULIKE_SLUG); ?></th>
157
  </tr>
158
  </thead>
159
  <tbody class="wp_ulike_logs">
171
  if($user_info)
172
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
173
  else
174
+ echo '<em> #'. __('Guest User',WP_ULIKE_SLUG) .'</em>';
175
  ?>
176
  </td>
177
  <td>
209
  </table>
210
  <div class="tablenav">
211
  <div class='tablenav-pages'>
212
+ <span class="displaying-num"><?php echo $items . ' ' . __('Logs',WP_ULIKE_SLUG); ?></span>
213
  <?php echo $p->show(); // Echo out the list of paging. ?>
214
  </div>
215
  </div>
216
  </div>
217
  <?php
218
  } else {
219
+ echo "<div class='error'><p>" . __('<strong>ERROR:</strong> No Record Found. (This problem is created because you don\'t have any data on this table)',WP_ULIKE_SLUG) . "</p></div>";
220
  }
221
  }
222
 
256
  $get_ulike_logs = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix."ulike_comments ORDER BY id DESC ".$limit."");
257
  ?>
258
  <div class="wrap">
259
+ <h2><?php _e('WP ULike Logs', WP_ULIKE_SLUG); ?></h2>
260
+ <h3><?php _e('Comment Likes Logs', WP_ULIKE_SLUG); ?></h3>
261
  <div class="tablenav">
262
  <div class='tablenav-pages'>
263
+ <span class="displaying-num"><?php echo $items . ' ' . __('Logs',WP_ULIKE_SLUG); ?></span>
264
  <?php echo $p->show(); // Echo out the list of paging. ?>
265
  </div>
266
  </div>
267
  <table class="widefat">
268
  <thead>
269
  <tr>
270
+ <th width="2%"><?php _e('ID', WP_ULIKE_SLUG); ?></th>
271
+ <th width="10%"><?php _e('Username', WP_ULIKE_SLUG); ?></th>
272
+ <th width="5%"><?php _e('Status', WP_ULIKE_SLUG); ?></th>
273
+ <th width="6%"><?php _e('Comment ID', WP_ULIKE_SLUG); ?></th>
274
+ <th><?php _e('Comment Author', WP_ULIKE_SLUG); ?></th>
275
+ <th><?php _e('Comment Text', WP_ULIKE_SLUG); ?></th>
276
+ <th width="20%"><?php _e('Date / Time', WP_ULIKE_SLUG); ?></th>
277
+ <th><?php _e('IP', WP_ULIKE_SLUG); ?></th>
278
+ <th><?php _e('Actions', WP_ULIKE_SLUG); ?></th>
279
  </tr>
280
  </thead>
281
  <tbody>
293
  if($user_info)
294
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
295
  else
296
+ echo '<em> #'. __('Guest User',WP_ULIKE_SLUG) .'</em>';
297
  ?>
298
  </td>
299
  <td>
334
  </table>
335
  <div class="tablenav">
336
  <div class='tablenav-pages'>
337
+ <span class="displaying-num"><?php echo $items . ' ' . __('Logs',WP_ULIKE_SLUG); ?></span>
338
  <?php echo $p->show(); // Echo out the list of paging. ?>
339
  </div>
340
  </div>
342
 
343
  <?php
344
  } else {
345
+ echo "<div class='error'><p>" . __('<strong>ERROR:</strong> No Record Found. (This problem is created because you don\'t have any data on this table)',WP_ULIKE_SLUG) . "</p></div>";
346
  }
347
  }
348
 
383
 
384
  ?>
385
  <div class="wrap">
386
+ <h2><?php _e('WP ULike Logs', WP_ULIKE_SLUG); ?></h2>
387
+ <h3><?php _e('Activity Likes Logs', WP_ULIKE_SLUG); ?></h3>
388
  <div class="tablenav">
389
  <div class='tablenav-pages'>
390
+ <span class="displaying-num"><?php echo $items . ' ' . __('Logs',WP_ULIKE_SLUG); ?></span>
391
  <?php echo $p->show(); // Echo out the list of paging. ?>
392
  </div>
393
  </div>
394
  <table class="widefat">
395
  <thead>
396
  <tr>
397
+ <th width="3%"><?php _e('ID', WP_ULIKE_SLUG); ?></th>
398
+ <th width="13%"><?php _e('Username', WP_ULIKE_SLUG); ?></th>
399
+ <th><?php _e('Status', WP_ULIKE_SLUG); ?></th>
400
+ <th width="6%"><?php _e('Activity ID', WP_ULIKE_SLUG); ?></th>
401
+ <th><?php _e('Permalink', WP_ULIKE_SLUG); ?></th>
402
+ <th><?php _e('Date / Time', WP_ULIKE_SLUG); ?></th>
403
+ <th><?php _e('IP', WP_ULIKE_SLUG); ?></th>
404
+ <th><?php _e('Actions', WP_ULIKE_SLUG); ?></th>
405
  </tr>
406
  </thead>
407
  <tbody>
419
  if($user_info)
420
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
421
  else
422
+ echo '<em> #'. __('Guest User',WP_ULIKE_SLUG) .'</em>';
423
  ?>
424
  </td>
425
  <td>
435
  <?php echo $get_ulike_log->activity_id; ?>
436
  </td>
437
  <td>
438
+ <?php printf( __( '<a href="%1$s">Activity Permalink</a>', WP_ULIKE_SLUG ), bp_activity_get_permalink( $get_ulike_log->activity_id ) ); ?>
439
  </td>
440
  <td>
441
  <?php
457
  </table>
458
  <div class="tablenav">
459
  <div class='tablenav-pages'>
460
+ <span class="displaying-num"><?php echo $items . ' ' . __('Logs',WP_ULIKE_SLUG); ?></span>
461
  <?php echo $p->show(); // Echo out the list of paging. ?>
462
  </div>
463
  </div>
465
 
466
  <?php
467
  } else {
468
+ echo "<div class='error'><p>" . __('<strong>ERROR:</strong> No Record Found. (This problem is created because you don\'t have any data on this table)',WP_ULIKE_SLUG) . "</p></div>";
469
  }
470
  }
471
 
505
 
506
  ?>
507
  <div class="wrap">
508
+ <h2><?php _e('WP ULike Logs', WP_ULIKE_SLUG); ?></h2>
509
+ <h3><?php _e('Topics Likes Logs', WP_ULIKE_SLUG); ?></h3>
510
  <div class="tablenav">
511
  <div class='tablenav-pages'>
512
+ <span class="displaying-num"><?php echo $items . ' ' . __('Logs',WP_ULIKE_SLUG); ?></span>
513
  <?php echo $p->show(); // Echo out the list of paging. ?>
514
  </div>
515
  </div>
516
  <table class="widefat">
517
  <thead>
518
  <tr>
519
+ <th width="2%"><?php _e('ID', WP_ULIKE_SLUG); ?></th>
520
+ <th width="10%"><?php _e('Username', WP_ULIKE_SLUG); ?></th>
521
+ <th><?php _e('Status', WP_ULIKE_SLUG); ?></th>
522
+ <th width="6%"><?php _e('Topic ID', WP_ULIKE_SLUG); ?></th>
523
+ <th><?php _e('Topic Title', WP_ULIKE_SLUG); ?></th>
524
+ <th width="20%"><?php _e('Date / Time', WP_ULIKE_SLUG); ?></th>
525
+ <th><?php _e('IP', WP_ULIKE_SLUG); ?></th>
526
+ <th><?php _e('Actions', WP_ULIKE_SLUG); ?></th>
527
  </tr>
528
  </thead>
529
  <tbody class="wp_ulike_logs">
541
  if($user_info)
542
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
543
  else
544
+ echo '<em> #'. __('Guest User',WP_ULIKE_SLUG) .'</em>';
545
  ?>
546
  </td>
547
  <td>
579
  </table>
580
  <div class="tablenav">
581
  <div class='tablenav-pages'>
582
+ <span class="displaying-num"><?php echo $items . ' ' . __('Logs',WP_ULIKE_SLUG); ?></span>
583
  <?php echo $p->show(); // Echo out the list of paging. ?>
584
  </div>
585
  </div>
587
 
588
  <?php
589
  } else {
590
+ echo "<div class='error'><p>" . __('<strong>ERROR:</strong> No Record Found. (This problem is created because you don\'t have any data on this table)',WP_ULIKE_SLUG) . "</p></div>";
591
  }
592
  }
593
 
admin/stats.php CHANGED
@@ -20,38 +20,38 @@
20
  $get_option = get_option( 'wp_ulike_statistics_screen' );
21
 
22
  echo '<div class="wrap">';
23
- echo '<h2>' . __( 'WP ULike Statistics', 'alimir' ) . '</h2>';
24
 
25
  /*******************************************************
26
  Welcome Panel
27
  *******************************************************/
28
  if($get_option['welcome_panel'] == 1){
29
  echo '<div id="welcome-panel" class="welcome-panel"><div class="welcome-panel-content">';
30
- echo '<h3>' . __('Welcome to WP ULike Statistics!','alimir') . '</h3>';
31
- echo '<p class="about-description">' . __('We have provided some useful statistics tools in this page:','alimir') . '</p>';
32
  echo '<div class="welcome-panel-column-container">';
33
  echo '
34
  <div class="welcome-panel-column">
35
  <h4>'.__('Get Started').'</h4>
36
- <a class="button button-primary button-hero" href="admin.php?page=wp-ulike-about">'.__( 'About WP ULike', 'alimir' ).'</a>
37
- <p class="hide-if-no-customize">'.__('or','alimir').', <a href="http://preview.alimir.ir/developer/wp-ulike/">'.__( 'Visit our homepage', 'alimir' ).'</a></p>
38
  </div>
39
  <div class="welcome-panel-column">
40
- <h4>'.__('Other Tools','alimir').'</h4>
41
  <ul>
42
- <li><a target="_blank" href="admin.php?page=wp-ulike-post-logs" class="welcome-icon welcome-view-site">'.__('Post Likes Logs','alimir').'</a></li>
43
- <li><a target="_blank" href="admin.php?page=wp-ulike-comment-logs" class="welcome-icon welcome-view-site">'.__('Comment Likes Logs','alimir').'</a></li>
44
- <li><a target="_blank" href="admin.php?page=wp-ulike-bp-logs" class="welcome-icon welcome-view-site">'.__('Activity Likes Logs','alimir').'</a></li>
45
- <li><a target="_blank" href="admin.php?page=wp-ulike-bbpress-logs" class="welcome-icon welcome-view-site">'.__('Topics Likes Logs','alimir').'</a></li>
46
  </ul>
47
  </div>
48
  <div class="welcome-panel-column welcome-panel-last">
49
  <h4>'.__('Documentation').'</h4>
50
  <ul>
51
- <li><a target="_blank" href="https://wordpress.org/support/plugin/wp-ulike" class="welcome-icon welcome-learn-more">'.__('Support','alimir').'</a></li>
52
- <li><a target="_blank" href="https://wordpress.org/plugins/wp-ulike/faq/" class="welcome-icon welcome-learn-more">'.__('FAQ','alimir').'</a></li>
53
- <li><a target="_blank" href="http://preview.alimir.ir/contact/" class="welcome-icon welcome-learn-more">'.__('Contact','alimir').'</a></li>
54
- <li><a target="_blank" href="https://github.com/Alimir/wp-ulike" class="welcome-icon welcome-learn-more">'.__('GitHub Repository','alimir').'</a></li>
55
  </ul>
56
  </div>
57
  ';
@@ -77,7 +77,7 @@
77
  "table" => "postmeta",
78
  "key" => "_liked",
79
  "dashicons" => "dashicons-admin-post",
80
- "title" => __('Posts Likes Summary','alimir')
81
  ),
82
  "comments" => array(
83
  "id" => "comments_likes_stats",
@@ -85,7 +85,7 @@
85
  "table" => "commentmeta",
86
  "key" => "_commentliked",
87
  "dashicons" => "dashicons-admin-comments",
88
- "title" => __('Comments Likes Summary','alimir')
89
  ),
90
  "activities" => array(
91
  "id" => "activities_likes_stats",
@@ -93,7 +93,7 @@
93
  "table" => "bp_activity_meta",
94
  "key" => "_activityliked",
95
  "dashicons" => "dashicons-groups",
96
- "title" => __('Activities Likes Summary','alimir')
97
  ),
98
  "topics" => array(
99
  "id" => "topics_likes_stats",
@@ -101,7 +101,7 @@
101
  "table" => "postmeta",
102
  "key" => "_topicliked",
103
  "dashicons" => "dashicons-admin-post",
104
- "title" => __('Topics Likes Summary','alimir')
105
  )
106
  );
107
 
@@ -111,7 +111,7 @@
111
  echo'
112
  <div style="display: block;" class="postbox">
113
  <div class="handlediv" title="Click to toggle"><br></div>
114
- <h3 class="hndle"><span><i class="dashicons dashicons-chart-bar"></i> '.__('Summary','alimir').'</span></h3>
115
  <div class="inside">';
116
 
117
  foreach ($SummaryArr as $SummaryVal) {
@@ -123,7 +123,7 @@
123
  if($SummaryVal["id"] == 'posts_likes_stats'){
124
  echo'
125
  <tr>
126
- <th><i class="dashicons dashicons-pressthis"></i> '.__('Total Likes','alimir').':</th>
127
  <th colspan="2" id="th-colspan"><span>'.$total_likes.'</span></th>
128
  </tr>';
129
  }
@@ -135,27 +135,27 @@
135
  </tr>
136
 
137
  <tr>
138
- <th><i class="dashicons dashicons-star-filled"></i> '. __('Today','alimir') .':</th>
139
  <th class="th-center"><span>'. $wp_ulike_stats->get_data_date($SummaryVal["type"],'today').'</span></th>
140
  </tr>
141
 
142
  <tr>
143
- <th><i class="dashicons dashicons-star-empty"></i> '. __('Yesterday','alimir') .':</th>
144
  <th class="th-center"><span>'. $wp_ulike_stats->get_data_date($SummaryVal["type"],'yesterday').'</span></th>
145
  </tr>
146
 
147
  <tr>
148
- <th><i class="dashicons dashicons-calendar"></i> '. __('Week','alimir') .':</th>
149
  <th class="th-center"><span>'. $wp_ulike_stats->get_data_date($SummaryVal["type"],'week').'</span></th>
150
  </tr>
151
 
152
  <tr>
153
- <th><i class="dashicons dashicons-flag"></i> '. __('Month','alimir') .':</th>
154
  <th class="th-center"><span>'. $wp_ulike_stats->get_data_date($SummaryVal["type"],'month').'</span></th>
155
  </tr>
156
 
157
  <tr>
158
- <th><i class="dashicons dashicons-chart-area"></i> '. __('Total','alimir') .':</th>
159
  <th class="th-center"><span>'. $wp_ulike_stats->get_all_data_date($SummaryVal["table"],$SummaryVal["key"]).'</span></th>
160
  </tr>';
161
 
@@ -172,7 +172,7 @@
172
  echo '
173
  <div id="world_map" class="postbox">
174
  <div class="handlediv" title="Click to toggle"><br></div>
175
- <h3 class="hndle"><span><i class="dashicons dashicons-location-alt"></i> '.__('Likers World Map','alimir') . '</span></h3>
176
  <div class="inside">
177
  <div class="main">
178
  <div>
@@ -189,20 +189,20 @@
189
  echo'
190
  <div class="postbox">
191
  <div class="handlediv" title="Click to toggle"><br></div>
192
- <h3 class="hndle"><span><i class="dashicons dashicons-awards"></i> '.__('Top Likers','alimir') . '</span></h3>
193
  <div class="inside">';
194
 
195
  foreach ($get_top_likers as $top_liker) {
196
  $get_top_user_id = stripslashes($top_liker->user_id);
197
  $get_top_user_info = get_userdata($get_top_user_id);
198
- $final_user_name = __('Guest User','alimir');
199
  if($get_top_user_info != '')
200
  $final_user_name = $get_top_user_info->display_name;
201
  echo'
202
  <div class="log-latest">
203
  <div class="log-item">
204
  <div class="log-page-title">'. $top_users_counter++ . ' - ' .$final_user_name.'</div>
205
- <div class="right-div badge"><strong>'.$top_liker->SumUser.'</strong> '.__('Like','alimir') . '</div>
206
  <div class="left-div"><i class="dashicons dashicons-location"></i> <em dir="ltr">'.$top_liker->ip.'</em> | '.getCountryFromIP($top_liker->ip, "NamE").'</div>
207
  </div>
208
  </div>
@@ -224,26 +224,26 @@
224
  $ChartsArr = array(
225
  "posts" => array(
226
  "id" => "posts_likes_stats",
227
- "view_logs" => ' <a style="text-decoration:none;" href="?page=wp-ulike-post-logs" target="_blank"><i class="dashicons dashicons-visibility"></i> '. __('View Logs','alimir') .'</a>',
228
- "title" => __('Posts Likes Stats','alimir') . ' - ' . sprintf(__('In The Last %s Days','alimir'), $get_option['days_number']),
229
  "chart" => "chart1"
230
  ),
231
  "comments" => array(
232
  "id" => "comments_likes_stats",
233
- "view_logs" => ' <a style="text-decoration:none;" href="?page=wp-ulike-comment-logs" target="_blank"><i class="dashicons dashicons-visibility"></i> '. __('View Logs','alimir') .'</a>',
234
- "title" => __('Comments Likes Stats','alimir') . ' - ' . sprintf(__('In The Last %s Days','alimir'), $get_option['days_number']),
235
  "chart" => "chart2"
236
  ),
237
  "activities" => array(
238
  "id" => "activities_likes_stats",
239
- "view_logs" => ' <a style="text-decoration:none;" href="?page=wp-ulike-bp-logs" target="_blank"><i class="dashicons dashicons-visibility"></i> '. __('View Logs','alimir') .'</a>',
240
- "title" => __('Activities Likes Stats','alimir') . ' - ' . sprintf(__('In The Last %s Days','alimir'), $get_option['days_number']),
241
  "chart" => "chart3"
242
  ),
243
  "topics" => array(
244
  "id" => "topics_likes_stats",
245
- "view_logs" => ' <a style="text-decoration:none;" href="?page=wp-ulike-bbpress-logs" target="_blank"><i class="dashicons dashicons-visibility"></i> '. __('View Logs','alimir') .'</a>',
246
- "title" => __('Topics Likes Stats','alimir') . ' - ' . sprintf(__('In The Last %s Days','alimir'), $get_option['days_number']),
247
  "chart" => "chart4"
248
  )
249
  );
@@ -274,7 +274,7 @@
274
  echo '
275
  <div id="piechart_stats" class="postbox">
276
  <div class="handlediv" title="Click to toggle"><br></div>
277
- <h3 class="hndle"><span><i class="dashicons dashicons-chart-pie"></i> '.__('Likes Percent','alimir') . ' - ' . sprintf(__('In The Last %s Days','alimir'), $get_option['days_number']).' </span></h3>
278
  <div class="inside">
279
  <div class="main">
280
  <div>
@@ -340,19 +340,19 @@
340
  <form name="wp_ulike_statistics_screen_form" method="post">
341
  <h5><?php echo _e('Show on screen'); ?></h5>
342
  <div class="metabox-prefs">
343
- <label><input class="hide-postbox-tog" name="wp_ulike_welcome" type="checkbox" value="1" <?php checked( '1', $get_option['welcome_panel'] ); ?>><?php echo _e('Welcome','alimir'); ?></label>
344
- <label><input class="hide-postbox-tog" name="wp_ulike_summary_stats" type="checkbox" value="1" <?php checked( '1', $get_option['summary_like_stats'] ); ?>><?php echo _e('Summary','alimir'); ?></label>
345
- <label><input class="hide-postbox-tog" name="wp_ulike_posts_stats" type="checkbox" value="1" <?php checked( '1', $get_option['posts_likes_stats'] ); ?>><?php echo _e('Posts Likes Stats','alimir'); ?></label>
346
- <label><input class="hide-postbox-tog" name="wp_ulike_comments_stats" type="checkbox" value="1" <?php checked( '1', $get_option['comments_likes_stats'] ); ?>><?php echo _e('Comments Likes Stats','alimir'); ?></label>
347
- <label><input class="hide-postbox-tog" name="wp_ulike_activities_stats" type="checkbox" value="1" <?php checked( '1', $get_option['activities_likes_stats'] ); ?>><?php echo _e('Activities Likes Stats','alimir'); ?></label>
348
- <label><input class="hide-postbox-tog" name="wp_ulike_topics_stats" type="checkbox" value="1" <?php checked( '1', $get_option['topics_likes_stats'] ); ?>><?php echo _e('Topics Likes Stats','alimir'); ?></label>
349
- <label><input class="hide-postbox-tog" name="wp_ulike_piechart_stats" type="checkbox" value="1" <?php checked( '1', $get_option['piechart_stats'] ); ?>><?php echo _e('Likes Percent','alimir'); ?></label>
350
- <label><input class="hide-postbox-tog" name="wp_ulike_likers_map" type="checkbox" value="1" <?php checked( '1', $get_option['likers_map'] ); ?>><?php echo _e('Likers World Map','alimir'); ?></label>
351
- <label><input class="hide-postbox-tog" name="wp_ulike_top_likers" type="checkbox" value="1" <?php checked( '1', $get_option['top_likers'] ); ?>><?php echo _e('Top Likers','alimir'); ?></label>
352
  <br class="clear">
353
  <input step="1" min="5" max="60" class="screen-per-page" name="wp_ulike_days_number" maxlength="3" value="<?php echo $get_option['days_number']; ?>" type="number">
354
- <label><?php echo _e('Days','alimir'); ?></label>
355
- <input name="screen-options-apply" class="button button-primary" value="<?php echo _e('Save Settings','alimir'); ?>" type="submit">
356
  <?php wp_nonce_field( 'wp_ulike_statistics_nonce_field', 'wp_ulike_statistics_screen' ); ?>
357
  </div>
358
  </form>
20
  $get_option = get_option( 'wp_ulike_statistics_screen' );
21
 
22
  echo '<div class="wrap">';
23
+ echo '<h2>' . __( 'WP ULike Statistics', WP_ULIKE_SLUG ) . '</h2>';
24
 
25
  /*******************************************************
26
  Welcome Panel
27
  *******************************************************/
28
  if($get_option['welcome_panel'] == 1){
29
  echo '<div id="welcome-panel" class="welcome-panel"><div class="welcome-panel-content">';
30
+ echo '<h3>' . __('Welcome to WP ULike Statistics!',WP_ULIKE_SLUG) . '</h3>';
31
+ echo '<p class="about-description">' . __('We have provided some useful statistics tools in this page:',WP_ULIKE_SLUG) . '</p>';
32
  echo '<div class="welcome-panel-column-container">';
33
  echo '
34
  <div class="welcome-panel-column">
35
  <h4>'.__('Get Started').'</h4>
36
+ <a class="button button-primary button-hero" href="admin.php?page=wp-ulike-about">'.__( 'About WP ULike', WP_ULIKE_SLUG ).'</a>
37
+ <p class="hide-if-no-customize">'.__('or',WP_ULIKE_SLUG).', <a href="http://preview.alimir.ir/developer/wp-ulike/">'.__( 'Visit our homepage', WP_ULIKE_SLUG ).'</a></p>
38
  </div>
39
  <div class="welcome-panel-column">
40
+ <h4>'.__('Other Tools',WP_ULIKE_SLUG).'</h4>
41
  <ul>
42
+ <li><a target="_blank" href="admin.php?page=wp-ulike-post-logs" class="welcome-icon welcome-view-site">'.__('Post Likes Logs',WP_ULIKE_SLUG).'</a></li>
43
+ <li><a target="_blank" href="admin.php?page=wp-ulike-comment-logs" class="welcome-icon welcome-view-site">'.__('Comment Likes Logs',WP_ULIKE_SLUG).'</a></li>
44
+ <li><a target="_blank" href="admin.php?page=wp-ulike-bp-logs" class="welcome-icon welcome-view-site">'.__('Activity Likes Logs',WP_ULIKE_SLUG).'</a></li>
45
+ <li><a target="_blank" href="admin.php?page=wp-ulike-bbpress-logs" class="welcome-icon welcome-view-site">'.__('Topics Likes Logs',WP_ULIKE_SLUG).'</a></li>
46
  </ul>
47
  </div>
48
  <div class="welcome-panel-column welcome-panel-last">
49
  <h4>'.__('Documentation').'</h4>
50
  <ul>
51
+ <li><a target="_blank" href="https://wordpress.org/support/plugin/wp-ulike" class="welcome-icon welcome-learn-more">'.__('Support',WP_ULIKE_SLUG).'</a></li>
52
+ <li><a target="_blank" href="https://wordpress.org/plugins/wp-ulike/faq/" class="welcome-icon welcome-learn-more">'.__('FAQ',WP_ULIKE_SLUG).'</a></li>
53
+ <li><a target="_blank" href="http://preview.alimir.ir/contact/" class="welcome-icon welcome-learn-more">'.__('Contact',WP_ULIKE_SLUG).'</a></li>
54
+ <li><a target="_blank" href="https://github.com/Alimir/wp-ulike" class="welcome-icon welcome-learn-more">'.__('GitHub Repository',WP_ULIKE_SLUG).'</a></li>
55
  </ul>
56
  </div>
57
  ';
77
  "table" => "postmeta",
78
  "key" => "_liked",
79
  "dashicons" => "dashicons-admin-post",
80
+ "title" => __('Posts Likes Summary',WP_ULIKE_SLUG)
81
  ),
82
  "comments" => array(
83
  "id" => "comments_likes_stats",
85
  "table" => "commentmeta",
86
  "key" => "_commentliked",
87
  "dashicons" => "dashicons-admin-comments",
88
+ "title" => __('Comments Likes Summary',WP_ULIKE_SLUG)
89
  ),
90
  "activities" => array(
91
  "id" => "activities_likes_stats",
93
  "table" => "bp_activity_meta",
94
  "key" => "_activityliked",
95
  "dashicons" => "dashicons-groups",
96
+ "title" => __('Activities Likes Summary',WP_ULIKE_SLUG)
97
  ),
98
  "topics" => array(
99
  "id" => "topics_likes_stats",
101
  "table" => "postmeta",
102
  "key" => "_topicliked",
103
  "dashicons" => "dashicons-admin-post",
104
+ "title" => __('Topics Likes Summary',WP_ULIKE_SLUG)
105
  )
106
  );
107
 
111
  echo'
112
  <div style="display: block;" class="postbox">
113
  <div class="handlediv" title="Click to toggle"><br></div>
114
+ <h3 class="hndle"><span><i class="dashicons dashicons-chart-bar"></i> '.__('Summary',WP_ULIKE_SLUG).'</span></h3>
115
  <div class="inside">';
116
 
117
  foreach ($SummaryArr as $SummaryVal) {
123
  if($SummaryVal["id"] == 'posts_likes_stats'){
124
  echo'
125
  <tr>
126
+ <th><i class="dashicons dashicons-pressthis"></i> '.__('Total Likes',WP_ULIKE_SLUG).':</th>
127
  <th colspan="2" id="th-colspan"><span>'.$total_likes.'</span></th>
128
  </tr>';
129
  }
135
  </tr>
136
 
137
  <tr>
138
+ <th><i class="dashicons dashicons-star-filled"></i> '. __('Today',WP_ULIKE_SLUG) .':</th>
139
  <th class="th-center"><span>'. $wp_ulike_stats->get_data_date($SummaryVal["type"],'today').'</span></th>
140
  </tr>
141
 
142
  <tr>
143
+ <th><i class="dashicons dashicons-star-empty"></i> '. __('Yesterday',WP_ULIKE_SLUG) .':</th>
144
  <th class="th-center"><span>'. $wp_ulike_stats->get_data_date($SummaryVal["type"],'yesterday').'</span></th>
145
  </tr>
146
 
147
  <tr>
148
+ <th><i class="dashicons dashicons-calendar"></i> '. __('Week',WP_ULIKE_SLUG) .':</th>
149
  <th class="th-center"><span>'. $wp_ulike_stats->get_data_date($SummaryVal["type"],'week').'</span></th>
150
  </tr>
151
 
152
  <tr>
153
+ <th><i class="dashicons dashicons-flag"></i> '. __('Month',WP_ULIKE_SLUG) .':</th>
154
  <th class="th-center"><span>'. $wp_ulike_stats->get_data_date($SummaryVal["type"],'month').'</span></th>
155
  </tr>
156
 
157
  <tr>
158
+ <th><i class="dashicons dashicons-chart-area"></i> '. __('Total',WP_ULIKE_SLUG) .':</th>
159
  <th class="th-center"><span>'. $wp_ulike_stats->get_all_data_date($SummaryVal["table"],$SummaryVal["key"]).'</span></th>
160
  </tr>';
161
 
172
  echo '
173
  <div id="world_map" class="postbox">
174
  <div class="handlediv" title="Click to toggle"><br></div>
175
+ <h3 class="hndle"><span><i class="dashicons dashicons-location-alt"></i> '.__('Likers World Map',WP_ULIKE_SLUG) . '</span></h3>
176
  <div class="inside">
177
  <div class="main">
178
  <div>
189
  echo'
190
  <div class="postbox">
191
  <div class="handlediv" title="Click to toggle"><br></div>
192
+ <h3 class="hndle"><span><i class="dashicons dashicons-awards"></i> '.__('Top Likers',WP_ULIKE_SLUG) . '</span></h3>
193
  <div class="inside">';
194
 
195
  foreach ($get_top_likers as $top_liker) {
196
  $get_top_user_id = stripslashes($top_liker->user_id);
197
  $get_top_user_info = get_userdata($get_top_user_id);
198
+ $final_user_name = __('Guest User',WP_ULIKE_SLUG);
199
  if($get_top_user_info != '')
200
  $final_user_name = $get_top_user_info->display_name;
201
  echo'
202
  <div class="log-latest">
203
  <div class="log-item">
204
  <div class="log-page-title">'. $top_users_counter++ . ' - ' .$final_user_name.'</div>
205
+ <div class="right-div badge"><strong>'.$top_liker->SumUser.'</strong> '.__('Like',WP_ULIKE_SLUG) . '</div>
206
  <div class="left-div"><i class="dashicons dashicons-location"></i> <em dir="ltr">'.$top_liker->ip.'</em> | '.getCountryFromIP($top_liker->ip, "NamE").'</div>
207
  </div>
208
  </div>
224
  $ChartsArr = array(
225
  "posts" => array(
226
  "id" => "posts_likes_stats",
227
+ "view_logs" => ' <a style="text-decoration:none;" href="?page=wp-ulike-post-logs" target="_blank"><i class="dashicons dashicons-visibility"></i> '. __('View Logs',WP_ULIKE_SLUG) .'</a>',
228
+ "title" => __('Posts Likes Stats',WP_ULIKE_SLUG) . ' - ' . sprintf(__('In The Last %s Days',WP_ULIKE_SLUG), $get_option['days_number']),
229
  "chart" => "chart1"
230
  ),
231
  "comments" => array(
232
  "id" => "comments_likes_stats",
233
+ "view_logs" => ' <a style="text-decoration:none;" href="?page=wp-ulike-comment-logs" target="_blank"><i class="dashicons dashicons-visibility"></i> '. __('View Logs',WP_ULIKE_SLUG) .'</a>',
234
+ "title" => __('Comments Likes Stats',WP_ULIKE_SLUG) . ' - ' . sprintf(__('In The Last %s Days',WP_ULIKE_SLUG), $get_option['days_number']),
235
  "chart" => "chart2"
236
  ),
237
  "activities" => array(
238
  "id" => "activities_likes_stats",
239
+ "view_logs" => ' <a style="text-decoration:none;" href="?page=wp-ulike-bp-logs" target="_blank"><i class="dashicons dashicons-visibility"></i> '. __('View Logs',WP_ULIKE_SLUG) .'</a>',
240
+ "title" => __('Activities Likes Stats',WP_ULIKE_SLUG) . ' - ' . sprintf(__('In The Last %s Days',WP_ULIKE_SLUG), $get_option['days_number']),
241
  "chart" => "chart3"
242
  ),
243
  "topics" => array(
244
  "id" => "topics_likes_stats",
245
+ "view_logs" => ' <a style="text-decoration:none;" href="?page=wp-ulike-bbpress-logs" target="_blank"><i class="dashicons dashicons-visibility"></i> '. __('View Logs',WP_ULIKE_SLUG) .'</a>',
246
+ "title" => __('Topics Likes Stats',WP_ULIKE_SLUG) . ' - ' . sprintf(__('In The Last %s Days',WP_ULIKE_SLUG), $get_option['days_number']),
247
  "chart" => "chart4"
248
  )
249
  );
274
  echo '
275
  <div id="piechart_stats" class="postbox">
276
  <div class="handlediv" title="Click to toggle"><br></div>
277
+ <h3 class="hndle"><span><i class="dashicons dashicons-chart-pie"></i> '.__('Likes Percent',WP_ULIKE_SLUG) . ' - ' . sprintf(__('In The Last %s Days',WP_ULIKE_SLUG), $get_option['days_number']).' </span></h3>
278
  <div class="inside">
279
  <div class="main">
280
  <div>
340
  <form name="wp_ulike_statistics_screen_form" method="post">
341
  <h5><?php echo _e('Show on screen'); ?></h5>
342
  <div class="metabox-prefs">
343
+ <label><input class="hide-postbox-tog" name="wp_ulike_welcome" type="checkbox" value="1" <?php checked( '1', $get_option['welcome_panel'] ); ?>><?php echo _e('Welcome',WP_ULIKE_SLUG); ?></label>
344
+ <label><input class="hide-postbox-tog" name="wp_ulike_summary_stats" type="checkbox" value="1" <?php checked( '1', $get_option['summary_like_stats'] ); ?>><?php echo _e('Summary',WP_ULIKE_SLUG); ?></label>
345
+ <label><input class="hide-postbox-tog" name="wp_ulike_posts_stats" type="checkbox" value="1" <?php checked( '1', $get_option['posts_likes_stats'] ); ?>><?php echo _e('Posts Likes Stats',WP_ULIKE_SLUG); ?></label>
346
+ <label><input class="hide-postbox-tog" name="wp_ulike_comments_stats" type="checkbox" value="1" <?php checked( '1', $get_option['comments_likes_stats'] ); ?>><?php echo _e('Comments Likes Stats',WP_ULIKE_SLUG); ?></label>
347
+ <label><input class="hide-postbox-tog" name="wp_ulike_activities_stats" type="checkbox" value="1" <?php checked( '1', $get_option['activities_likes_stats'] ); ?>><?php echo _e('Activities Likes Stats',WP_ULIKE_SLUG); ?></label>
348
+ <label><input class="hide-postbox-tog" name="wp_ulike_topics_stats" type="checkbox" value="1" <?php checked( '1', $get_option['topics_likes_stats'] ); ?>><?php echo _e('Topics Likes Stats',WP_ULIKE_SLUG); ?></label>
349
+ <label><input class="hide-postbox-tog" name="wp_ulike_piechart_stats" type="checkbox" value="1" <?php checked( '1', $get_option['piechart_stats'] ); ?>><?php echo _e('Likes Percent',WP_ULIKE_SLUG); ?></label>
350
+ <label><input class="hide-postbox-tog" name="wp_ulike_likers_map" type="checkbox" value="1" <?php checked( '1', $get_option['likers_map'] ); ?>><?php echo _e('Likers World Map',WP_ULIKE_SLUG); ?></label>
351
+ <label><input class="hide-postbox-tog" name="wp_ulike_top_likers" type="checkbox" value="1" <?php checked( '1', $get_option['top_likers'] ); ?>><?php echo _e('Top Likers',WP_ULIKE_SLUG); ?></label>
352
  <br class="clear">
353
  <input step="1" min="5" max="60" class="screen-per-page" name="wp_ulike_days_number" maxlength="3" value="<?php echo $get_option['days_number']; ?>" type="number">
354
+ <label><?php echo _e('Days',WP_ULIKE_SLUG); ?></label>
355
+ <input name="screen-options-apply" class="button button-primary" value="<?php echo _e('Save Settings',WP_ULIKE_SLUG); ?>" type="submit">
356
  <?php wp_nonce_field( 'wp_ulike_statistics_nonce_field', 'wp_ulike_statistics_screen' ); ?>
357
  </div>
358
  </form>
assets/css/wp-ulike-rtl.css DELETED
@@ -1,551 +0,0 @@
1
- /**
2
- * WP ULike Plugin 2.3
3
- *
4
- * http://wordpress.org/plugins/wp-ulike/
5
- * https://github.com/Alimir/wp-ulike
6
- *
7
- */
8
-
9
- /*------------------------- WP ULike Default Styles -------------------------*/
10
-
11
- .wpulike {
12
- display: inline-block;
13
- position: relative;
14
- vertical-align: middle;
15
- line-height: 1;
16
- margin:5px 0;
17
- }
18
- .wpulike .counter a {
19
- margin: 0;
20
- display: inline-block;
21
- border-radius: .25em;
22
- border: 1px solid #d3d3d3;
23
- vertical-align: middle;
24
- line-height: 1em;
25
- padding: .25em .5em;
26
- font-size: .75em;
27
- cursor: pointer;
28
- max-height:25px;
29
-
30
- color: #777;
31
- background: #dfdfdf;
32
- box-shadow: 1px 1px 0 rgba(255,255,255,0.5) inset;
33
- text-shadow: 0 1px 0 rgba(255,255,255,0.5);
34
- text-decoration: none;
35
- }
36
-
37
- .wpulike .counter a{
38
- -webkit-transition: .25s;
39
- -moz-transition: .25s;
40
- -ms-transition: .25s;
41
- -o-transition: .25s;
42
- transition: .25s;
43
- }
44
-
45
- .wpulike .counter a:focus{
46
- outline: none;
47
- border-color: #999;
48
- }
49
-
50
- .wpulike .counter a:hover,
51
- .wpulike .counter a:active {
52
- text-decoration: none;
53
- color: #EEE;
54
- text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.3);
55
- background-color: #bdc3c7;
56
- border-color: #95a5a6;
57
- }
58
-
59
- .wpulike .counter a.image, .wpulike .counter a.image-unlike {
60
- background-image: url(../img/icons/add.png);
61
- background-repeat:no-repeat;
62
- background-position:center center;
63
- padding:10px 20px;
64
- }
65
- .wpulike .counter a.image-unlike{
66
- background-image: url(../img/icons/remove.png);
67
- }
68
-
69
- .wpulike .counter a.loading {
70
- background-image: url(../img/icons/loading.GIF);
71
- background-repeat:no-repeat;
72
- background-position:center center;
73
- padding:10px 20px;
74
- }
75
-
76
- .wpulike .count-box {
77
- position: relative;
78
- display: inline-block;
79
- border: 1px solid #898F9C;
80
- border-radius: .25em;
81
- vertical-align: middle;
82
-
83
- color: #333;
84
- font-size: .75em;
85
- text-align: center;
86
- text-decoration: none;
87
- background-color: #fff;
88
- -webkit-box-sizing: border-box;
89
- -moz-box-sizing: border-box;
90
- box-sizing: border-box;
91
- padding: .25em .5em;
92
- margin-right: .5em;
93
- line-height: 1em;
94
- min-width: 2.25em;
95
- }
96
-
97
- .wpulike .count-box:before {
98
- content: '';
99
- width: .25em;
100
- height: .25em;
101
- position: absolute;
102
- border: 1px solid transparent;
103
- background: #fff;
104
- border-bottom-color: #898F9C;
105
- right: -.2125em;
106
- top: 50%;
107
- margin-top: -.2em;
108
- border-right-color: #898F9C;
109
-
110
- -webkit-transform: rotate(45deg);
111
- -moz-transform: rotate(45deg);
112
- -ms-transform: rotate(45deg);
113
- -o-transform: rotate(45deg);
114
- transform: rotate(45deg);
115
- filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476, sizingMethod='auto expand');
116
- }
117
-
118
- /*------------------------- WP ULike Extension Styles -------------------------*/
119
-
120
- .sr-only {
121
- position: absolute;
122
- width: 1px;
123
- height: 1px;
124
- margin: -1px;
125
- padding: 0;
126
- overflow: hidden;
127
- clip: rect(0, 0, 0, 0);
128
- border: 0;
129
- }
130
- .sr-only-focusable:active,
131
- .sr-only-focusable:focus {
132
- position: static;
133
- width: auto;
134
- height: auto;
135
- margin: 0;
136
- overflow: visible;
137
- clip: auto;
138
- }
139
- .alert {
140
- padding: 15px;
141
- margin-bottom: 20px;
142
- border: 1px solid transparent;
143
- border-radius: 4px;
144
- }
145
- .alert h4 {
146
- margin-top: 0;
147
- color: inherit;
148
- }
149
- .alert .alert-link {
150
- font-weight: bold;
151
- }
152
- .alert > p,
153
- .alert > ul {
154
- margin-bottom: 0;
155
- }
156
- .alert > p + p {
157
- margin-top: 5px;
158
- }
159
- .alert-dismissable,
160
- .alert-dismissible {
161
- padding-left: 35px;
162
- }
163
- .alert-dismissable .close,
164
- .alert-dismissible .close {
165
- position: relative;
166
- top: -2px;
167
- left: -21px;
168
- color: inherit;
169
- }
170
- .alert-success {
171
- background-color: #dff0d8;
172
- border-color: #d6e9c6;
173
- color: #3c763d;
174
- }
175
- .alert-success hr {
176
- border-top-color: #c9e2b3;
177
- }
178
- .alert-success .alert-link {
179
- color: #2b542c;
180
- }
181
- .alert-info {
182
- background-color: #d9edf7;
183
- border-color: #bce8f1;
184
- color: #31708f;
185
- }
186
- .alert-info hr {
187
- border-top-color: #a6e1ec;
188
- }
189
- .alert-info .alert-link {
190
- color: #245269;
191
- }
192
- .alert-warning {
193
- background-color: #fcf8e3;
194
- border-color: #faebcc;
195
- color: #8a6d3b;
196
- }
197
- .alert-warning hr {
198
- border-top-color: #f7e1b5;
199
- }
200
- .alert-warning .alert-link {
201
- color: #66512c;
202
- }
203
- .alert-danger {
204
- background-color: #f2dede;
205
- border-color: #ebccd1;
206
- color: #a94442;
207
- }
208
- .alert-danger hr {
209
- border-top-color: #e4b9c0;
210
- }
211
- .alert-danger .alert-link {
212
- color: #843534;
213
- }
214
- .close {
215
- float: left;
216
- font-size: 21px;
217
- font-weight: bold;
218
- line-height: 1;
219
- color: #000000;
220
- text-shadow: 0 1px 0 #ffffff;
221
- opacity: 0.2;
222
- filter: alpha(opacity=20);
223
- }
224
- .close:hover,
225
- .close:focus {
226
- color: #000000;
227
- text-decoration: none;
228
- cursor: pointer;
229
- opacity: 0.5;
230
- filter: alpha(opacity=50);
231
- }
232
- button.close {
233
- padding: 0;
234
- cursor: pointer;
235
- background: transparent;
236
- border: 0;
237
- -webkit-appearance: none;
238
- }
239
- .fade {
240
- opacity:0;
241
- -webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;
242
- transition:opacity .15s linear
243
- }
244
- .fade.in {
245
- opacity:1
246
- }
247
-
248
- .tooltip {
249
- position: absolute;
250
- z-index: 1030;
251
- display: block;
252
- font-size: 11px;
253
- line-height: 1.4;
254
- opacity: 0;
255
- filter: alpha(opacity=0);
256
- visibility: visible;
257
- }
258
-
259
- .tooltip.in {
260
- opacity: 0.8;
261
- filter: alpha(opacity=80);
262
- }
263
-
264
- .tooltip.top {
265
- padding: 5px 0;
266
- margin-top: -3px;
267
- }
268
-
269
- .tooltip.right {
270
- padding: 0 5px;
271
- margin-left: 3px;
272
- }
273
-
274
- .tooltip.bottom {
275
- padding: 5px 0;
276
- margin-top: 3px;
277
- }
278
-
279
- .tooltip.left {
280
- padding: 0 5px;
281
- margin-left: -3px;
282
- }
283
-
284
- .tooltip-inner {
285
- max-width: 200px;
286
- padding: 8px;
287
- color: #ffffff;
288
- text-align: center;
289
- text-decoration: none;
290
- background-color: #000000;
291
- -webkit-border-radius: 4px;
292
- -moz-border-radius: 4px;
293
- border-radius: 4px;
294
- }
295
-
296
- .tooltip-arrow {
297
- position: absolute;
298
- width: 0;
299
- height: 0;
300
- border-color: transparent;
301
- border-style: solid;
302
- }
303
-
304
- .tooltip.top .tooltip-arrow {
305
- bottom: 0;
306
- left: 50%;
307
- margin-left: -5px;
308
- border-top-color: #000000;
309
- border-width: 5px 5px 0;
310
- }
311
-
312
- .tooltip.right .tooltip-arrow {
313
- top: 50%;
314
- left: 0;
315
- margin-top: -5px;
316
- border-right-color: #000000;
317
- border-width: 5px 5px 5px 0;
318
- }
319
-
320
- .tooltip.left .tooltip-arrow {
321
- top: 50%;
322
- right: 0;
323
- margin-top: -5px;
324
- border-left-color: #000000;
325
- border-width: 5px 0 5px 5px;
326
- }
327
-
328
- .tooltip.bottom .tooltip-arrow {
329
- top: 0;
330
- left: 50%;
331
- margin-left: -5px;
332
- border-bottom-color: #000000;
333
- border-width: 0 5px 5px;
334
- }
335
-
336
- .badge {
337
- display: inline-block;
338
- min-width: 10px;
339
- padding: 3px 7px;
340
- font-size: 12px;
341
- font-weight: 700;
342
- line-height: 1;
343
- color: #FFF;
344
- text-align: center;
345
- white-space: nowrap;
346
- vertical-align: baseline;
347
- background-color: #777;
348
- border-radius: 10px;
349
- }
350
-
351
- /*------------------------- WP ULike Widget & Likers Styles -------------------------*/
352
-
353
- .tiles,.most_liked_users {
354
- list-style-type: none !important;
355
- position: relative !important;
356
- margin: 10px 0 !important;
357
- padding: 0 !important;
358
- }
359
- .tiles li,.most_liked_users li{
360
- display:inline-table;
361
- cursor: pointer;
362
- }
363
- .most_liked_users li{
364
- margin:0 2px;
365
- }
366
-
367
- .tiles li.inactive,.most_liked_users li.inactive {
368
- visibility: hidden;
369
- opacity: 0;
370
- }
371
-
372
- .tiles li img ,.most_liked_users li img {
373
- display: block !important;
374
- float: none !important;
375
- }
376
-
377
- .commentlist .tiles .avatar{
378
- right:0 !important;
379
- }
380
-
381
- .wp_ulike_thumbnail,.most_liked_comment .avatar{
382
- vertical-align: middle;
383
- margin: 0 0 0 10px;
384
- }
385
-
386
- .wp_ulike_style_simple .wp_counter_span:before{
387
- content: "(";
388
- }
389
- .wp_ulike_style_simple .wp_counter_span:after{
390
- content: ")";
391
- }
392
- .wp_ulike_style_love .wp_counter_span{
393
- float:left;
394
- display: inline-block;
395
- background: #f1f1f1 url(../img/icons/heart.png) 5px center no-repeat;
396
- color: #333;
397
- font-size: 9px;
398
- line-height: 17px;
399
- font-weight: normal;
400
- margin: 2px 2px 0 0;
401
- vertical-align: middle;
402
- border-radius: 10px;
403
- padding:0 5px 0 23px;
404
- z-index: 26;
405
- }
406
-
407
- /*------------------------- WP ULike BuddyPress & bbPress Styles -------------------------*/
408
-
409
- #buddypress .activity ul.item-list li{
410
- position:initial;
411
- }
412
-
413
- #buddypress div.activity-meta .tiles li a{
414
- padding:0;
415
- }
416
-
417
- #buddypress .activity-content .wpulike .count-box, #bbpress-forums .bbp-reply-content .wpulike .count-box {
418
- font-size: small;
419
- padding: .3em .5em;
420
- }
421
-
422
- #buddypress .activity-content .wpulike .counter a{
423
- border-radius:0;
424
- }
425
-
426
- #buddypress .activity-content .wpulike .counter a.image.button, #buddypress .activity-content .wpulike .counter a.image-unlike.button{
427
- background-image: url(../img/icons/add.png);
428
- background-repeat:no-repeat;
429
- background-position:center center;
430
- padding: 11px 20px !important;
431
- }
432
- #buddypress .activity-content .wpulike .counter a.image-unlike.button{
433
- background-image: url(../img/icons/remove.png);
434
- }
435
-
436
- #buddypress .activity-content .wpulike .counter a.loading {
437
- background-color:transparent;
438
- background-image: url(../img/icons/loading.GIF);
439
- background-repeat:no-repeat;
440
- background-position:center center;
441
- padding: 11px 20px !important;
442
- }
443
-
444
- #bbpress-forums .bbp-reply-content .wpulike .counter a.text,#bbpress-forums .bbp-reply-content .wpulike .counter a.image,#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike .counter a.loading{
445
- margin: 0;
446
- display: inline-block;
447
- border-radius: .25em;
448
- border: 1px solid #d3d3d3;
449
- line-height: 1em;
450
- padding: 0.5em 1em;
451
- font-size: 1em;
452
- cursor: pointer;
453
- vertical-align: middle;
454
-
455
- color: #777;
456
- background: #dfdfdf;
457
- box-shadow: 1px 1px 0 rgba(255,255,255,0.5) inset;
458
- text-shadow: 0 1px 0 rgba(255,255,255,0.5);
459
- text-decoration: none;
460
- }
461
-
462
- #bbpress-forums .bbp-reply-content .wpulike .counter a.image,#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike{
463
- background-image: url(../img/icons/add.png);
464
- background-repeat:no-repeat;
465
- background-position:center center;
466
- padding: 1em 1.8em;
467
- }
468
-
469
- #bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike{
470
- background-image: url(../img/icons/remove.png);
471
- }
472
-
473
- #bbpress-forums .bbp-reply-content .wpulike .counter a.loading{
474
- background-image: url(../img/icons/loading.GIF);
475
- background-repeat:no-repeat;
476
- background-position:center center;
477
- padding: 1em 1.8em;
478
- }
479
-
480
- /*------------------------- WP ULike Heart Template -------------------------*/
481
-
482
- .wpulike-heart .counter{
483
- border: 1px solid #E0E0E0;
484
- background: url(../img/bg/button-love.png) no-repeat center right;
485
- border-radius:5px;
486
- padding: 2px;
487
- max-height:30px;
488
- }
489
-
490
- .wpulike-heart .counter a,#buddypress .wpulike-heart .counter a,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.text,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading{
491
- border: none;
492
- font-weight:bold;
493
- box-shadow: none;
494
- background:transparent;
495
- border-left:1px solid #d3d3d3;
496
- border-radius:0;
497
- }
498
-
499
- .wpulike-heart .counter a:hover,
500
- .wpulike-heart .counter a:active {
501
- background-color: transparent;
502
- box-shadow: none;
503
- color:#ef0000;
504
- }
505
-
506
- .wpulike-heart .counter a.image, .wpulike-heart .counter a.image-unlike,#buddypress .activity-content .wpulike-heart .counter a.image.button, #buddypress .activity-content .wpulike-heart .counter a.image-unlike.button,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike {
507
- border: none;
508
- box-shadow: none;
509
- background-image: url(../img/icons/add-heart-16.png);
510
- background-repeat:no-repeat;
511
- background-position:center center;
512
- background-color:transparent;
513
- padding:11px 16px !important;
514
- border-left:1px solid #E0E0E0;
515
- }
516
-
517
- .wpulike-heart .counter a.image-unlike,#buddypress .activity-content .wpulike-heart .counter a.image-unlike.button,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike {
518
- background-image: url(../img/icons/remove-heart-16.png);
519
- }
520
-
521
- .wpulike-heart .counter a.image:hover {
522
- background-image: url(../img/icons/add-heart-hover.png) !important;
523
- }
524
-
525
- .wpulike-heart .counter a.image-unlike:hover {
526
- background-image: url(../img/icons/remove-heart-hover.png) !important;
527
- }
528
-
529
- .wpulike-heart .counter a.loading,#buddypress .activity-content .wpulike-heart .counter a.loading,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading {
530
- animation:none;
531
- background-image: url(../img/icons/loading.GIF);
532
- background-repeat:no-repeat;
533
- background-position:center center;
534
- padding:11px 15px !important;
535
- border-left:1px solid #E0E0E0;
536
- }
537
-
538
- .wpulike-heart .count-box {
539
- border: none;
540
- vertical-align: middle;
541
- background-color: transparent;
542
- padding: .25em .5em .25em;
543
- margin-right: 0;
544
- color:#525252;
545
- font-size:.8em;
546
- }
547
-
548
- .wpulike-heart .count-box:before {
549
- border: none;
550
- background:transparent;
551
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/wp-ulike-rtl.min.css DELETED
@@ -1,8 +0,0 @@
1
- /**
2
- * WP ULike Plugin 2.3
3
- *
4
- * http://wordpress.org/plugins/wp-ulike/
5
- * https://github.com/Alimir/wp-ulike
6
- *
7
- */
8
- .wpulike{display:inline-block;position:relative;vertical-align:middle;line-height:1;margin:5px 0}.wpulike .counter a{margin:0;display:inline-block;border-radius:.25em;border:1px solid #d3d3d3;vertical-align:middle;line-height:1em;padding:.25em .5em;font-size:.75em;cursor:pointer;max-height:25px;color:#777;background:#dfdfdf;box-shadow:1px 1px 0 rgba(255,255,255,.5) inset;text-shadow:0 1px 0 rgba(255,255,255,.5);text-decoration:none;-webkit-transition:.25s;-moz-transition:.25s;-ms-transition:.25s;-o-transition:.25s;transition:.25s}.wpulike .counter a:focus{outline:0;border-color:#999}.wpulike .counter a:active,.wpulike .counter a:hover{text-decoration:none;color:#EEE;text-shadow:0 1px 0 rgba(0,0,0,.3);background-color:#bdc3c7;border-color:#95a5a6}.wpulike .counter a.image,.wpulike .counter a.image-unlike{background-image:url(../img/icons/add.png);background-repeat:no-repeat;background-position:center center;padding:10px 20px}.wpulike .counter a.image-unlike{background-image:url(../img/icons/remove.png)}.wpulike .counter a.loading{background-image:url(../img/icons/loading.gif);background-repeat:no-repeat;background-position:center center;padding:10px 20px}.wpulike .count-box{position:relative;display:inline-block;border:1px solid #898F9C;border-radius:.25em;vertical-align:middle;color:#333;font-size:.75em;text-align:center;text-decoration:none;background-color:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:.25em .5em;margin-right:.5em;line-height:1em;min-width:2.25em}.wpulike .count-box:before{content:'';width:.25em;height:.25em;position:absolute;border:1px solid transparent;background:#fff;border-bottom-color:#898F9C;right:-.2125em;top:50%;margin-top:-.2em;border-right-color:#898F9C;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);filter:progid:DXImageTransform.Microsoft.Matrix(M11=.7071067811865476, M12=-.7071067811865475, M21=.7071067811865475, M22=.7071067811865476, sizingMethod='auto expand')}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-left:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;left:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}.close{float:left;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.tooltip{position:absolute;z-index:1030;display:block;font-size:11px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.8;filter:alpha(opacity=80)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#FFF;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#777;border-radius:10px}.most_liked_users,.tiles{list-style-type:none!important;position:relative!important;margin:10px 0!important;padding:0!important}.most_liked_users li,.tiles li{display:inline-table;cursor:pointer}.most_liked_users li{margin:0 2px}.most_liked_users li.inactive,.tiles li.inactive{visibility:hidden;opacity:0}.most_liked_users li img,.tiles li img{display:block!important;float:none!important}.commentlist .tiles .avatar{right:0!important}.most_liked_comment .avatar,.wp_ulike_thumbnail{vertical-align:middle;margin:0 0 0 10px}.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:left;display:inline-block;background:url(../img/icons/heart.png) 5px center no-repeat #f1f1f1;color:#333;font-size:9px;line-height:17px;font-weight:400;margin:2px 2px 0 0;vertical-align:middle;border-radius:10px;padding:0 5px 0 23px;z-index:26}#buddypress .activity ul.item-list li{position:initial}#buddypress div.activity-meta .tiles li a{padding:0}#bbpress-forums .bbp-reply-content .wpulike .count-box,#buddypress .activity-content .wpulike .count-box{font-size:small;padding:.3em .5em}#buddypress .activity-content .wpulike .counter a{border-radius:0}#buddypress .activity-content .wpulike .counter a.image-unlike.button,#buddypress .activity-content .wpulike .counter a.image.button{background-image:url(../img/icons/add.png);background-repeat:no-repeat;background-position:center center;padding:11px 20px!important}#buddypress .activity-content .wpulike .counter a.image-unlike.button{background-image:url(../img/icons/remove.png)}#buddypress .activity-content .wpulike .counter a.loading{background-color:transparent;background-image:url(../img/icons/loading.gif);background-repeat:no-repeat;background-position:center center;padding:11px 20px!important}#bbpress-forums .bbp-reply-content .wpulike .counter a.image,#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike .counter a.loading,#bbpress-forums .bbp-reply-content .wpulike .counter a.text{margin:0;display:inline-block;border-radius:.25em;border:1px solid #d3d3d3;line-height:1em;padding:.5em 1em;font-size:1em;cursor:pointer;vertical-align:middle;color:#777;background:#dfdfdf;box-shadow:1px 1px 0 rgba(255,255,255,.5) inset;text-shadow:0 1px 0 rgba(255,255,255,.5);text-decoration:none}#bbpress-forums .bbp-reply-content .wpulike .counter a.image,#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike{background-image:url(../img/icons/add.png);background-repeat:no-repeat;background-position:center center;padding:1em 1.8em}#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike{background-image:url(../img/icons/remove.png)}#bbpress-forums .bbp-reply-content .wpulike .counter a.loading{background-image:url(../img/icons/loading.gif);background-repeat:no-repeat;background-position:center center;padding:1em 1.8em}.wpulike-heart .counter{border:1px solid #E0E0E0;background:url(../img/bg/button-love.png) center right no-repeat;border-radius:5px;padding:2px;max-height:30px}#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.text,#buddypress .wpulike-heart .counter a,.wpulike-heart .counter a{border:none;font-weight:700;box-shadow:none;background:0 0;border-left:1px solid #d3d3d3;border-radius:0}.wpulike-heart .counter a:active,.wpulike-heart .counter a:hover{background-color:transparent;box-shadow:none;color:#ef0000}#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike,#buddypress .activity-content .wpulike-heart .counter a.image-unlike.button,#buddypress .activity-content .wpulike-heart .counter a.image.button,.wpulike-heart .counter a.image,.wpulike-heart .counter a.image-unlike{border:none;box-shadow:none;background-image:url(../img/icons/add-heart-16.png);background-repeat:no-repeat;background-position:center center;background-color:transparent;padding:11px 16px!important;border-left:1px solid #E0E0E0}#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike,#buddypress .activity-content .wpulike-heart .counter a.image-unlike.button,.wpulike-heart .counter a.image-unlike{background-image:url(../img/icons/remove-heart-16.png)}.wpulike-heart .counter a.image:hover{background-image:url(../img/icons/add-heart-hover.png)!important}.wpulike-heart .counter a.image-unlike:hover{background-image:url(../img/icons/remove-heart-hover.png)!important}#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading,#buddypress .activity-content .wpulike-heart .counter a.loading,.wpulike-heart .counter a.loading{animation:none;background-image:url(../img/icons/loading.gif);background-repeat:no-repeat;background-position:center center;padding:11px 15px!important;border-left:1px solid #E0E0E0}.wpulike-heart .count-box{border:none;vertical-align:middle;background-color:transparent;padding:.25em .5em;margin-right:0;color:#525252;font-size:.8em}.wpulike-heart .count-box:before{border:none;background:0 0}
 
 
 
 
 
 
 
 
assets/css/wp-ulike.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * WP ULike Plugin 2.3
3
  *
4
  * http://wordpress.org/plugins/wp-ulike/
5
  * https://github.com/Alimir/wp-ulike
@@ -13,7 +13,7 @@
13
  position: relative;
14
  vertical-align: middle;
15
  line-height: 1;
16
- margin:5px 0;
17
  }
18
  .wpulike .counter a {
19
  margin: 0;
@@ -67,7 +67,7 @@
67
  }
68
 
69
  .wpulike .counter a.loading {
70
- background-image: url(../img/icons/loading.GIF);
71
  background-repeat:no-repeat;
72
  background-position:center center;
73
  padding:10px 20px;
@@ -419,26 +419,12 @@ button.close {
419
  padding: .3em .5em;
420
  }
421
 
422
- #buddypress .activity-content .wpulike .counter a{
423
- border-radius:0;
424
  }
425
 
426
- #buddypress .activity-content .wpulike .counter a.image.button, #buddypress .activity-content .wpulike .counter a.image-unlike.button{
427
- background-image: url(../img/icons/add.png);
428
- background-repeat:no-repeat;
429
- background-position:center center;
430
- padding: 11px 20px !important;
431
- }
432
- #buddypress .activity-content .wpulike .counter a.image-unlike.button{
433
- background-image: url(../img/icons/remove.png);
434
- }
435
-
436
- #buddypress .activity-content .wpulike .counter a.loading {
437
- background-color:transparent;
438
- background-image: url(../img/icons/loading.GIF);
439
- background-repeat:no-repeat;
440
- background-position:center center;
441
- padding: 11px 20px !important;
442
  }
443
 
444
  #bbpress-forums .bbp-reply-content .wpulike .counter a.text,#bbpress-forums .bbp-reply-content .wpulike .counter a.image,#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike .counter a.loading{
@@ -471,7 +457,7 @@ button.close {
471
  }
472
 
473
  #bbpress-forums .bbp-reply-content .wpulike .counter a.loading{
474
- background-image: url(../img/icons/loading.GIF);
475
  background-repeat:no-repeat;
476
  background-position:center center;
477
  padding: 1em 1.8em;
@@ -503,19 +489,18 @@ button.close {
503
  color:#ef0000;
504
  }
505
 
506
- .wpulike-heart .counter a.image, .wpulike-heart .counter a.image-unlike,#buddypress .activity-content .wpulike-heart .counter a.image.button, #buddypress .activity-content .wpulike-heart .counter a.image-unlike.button,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike {
507
  border: none;
508
  box-shadow: none;
509
- background-image: url(../img/icons/add-heart-16.png);
510
- background-repeat:no-repeat;
511
- background-position:center center;
512
- background-color:transparent;
513
  padding:11px 16px !important;
514
  border-right:1px solid #E0E0E0;
515
  }
516
 
517
- .wpulike-heart .counter a.image-unlike,#buddypress .activity-content .wpulike-heart .counter a.image-unlike.button,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike {
518
- background-image: url(../img/icons/remove-heart-16.png);
519
  }
520
 
521
  .wpulike-heart .counter a.image:hover {
@@ -528,9 +513,9 @@ button.close {
528
 
529
  .wpulike-heart .counter a.loading,#buddypress .activity-content .wpulike-heart .counter a.loading,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading {
530
  animation:none;
531
- background-image: url(../img/icons/loading.GIF);
532
- background-repeat:no-repeat;
533
- background-position:center center;
534
  padding:11px 15px !important;
535
  border-right:1px solid #E0E0E0;
536
  }
@@ -548,4 +533,66 @@ button.close {
548
  .wpulike-heart .count-box:before {
549
  border: none;
550
  background:transparent;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
551
  }
1
  /**
2
+ * WP ULike Plugin 2.4
3
  *
4
  * http://wordpress.org/plugins/wp-ulike/
5
  * https://github.com/Alimir/wp-ulike
13
  position: relative;
14
  vertical-align: middle;
15
  line-height: 1;
16
+ margin:0;
17
  }
18
  .wpulike .counter a {
19
  margin: 0;
67
  }
68
 
69
  .wpulike .counter a.loading {
70
+ background-image: url(../img/icons/loading.gif);
71
  background-repeat:no-repeat;
72
  background-position:center center;
73
  padding:10px 20px;
419
  padding: .3em .5em;
420
  }
421
 
422
+ #buddypress div.activity-meta .wpulike .counter a {
423
+ padding: 12px 20px !important;
424
  }
425
 
426
+ #buddypress div.activity-meta .wpulike .counter a.text {
427
+ padding: 7px 20px !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
428
  }
429
 
430
  #bbpress-forums .bbp-reply-content .wpulike .counter a.text,#bbpress-forums .bbp-reply-content .wpulike .counter a.image,#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike .counter a.loading{
457
  }
458
 
459
  #bbpress-forums .bbp-reply-content .wpulike .counter a.loading{
460
+ background-image: url(../img/icons/loading.gif);
461
  background-repeat:no-repeat;
462
  background-position:center center;
463
  padding: 1em 1.8em;
489
  color:#ef0000;
490
  }
491
 
492
+ .wpulike-heart .counter a.image, .wpulike-heart .counter a.image-unlike,#buddypress .activity-content .wpulike-heart .counter a.image, #buddypress .activity-content .wpulike-heart .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike {
493
  border: none;
494
  box-shadow: none;
495
+ background-image: url(../img/icons/add-heart-16.png) !important;
496
+ background-repeat:no-repeat !important;
497
+ background-position:center center !important;
 
498
  padding:11px 16px !important;
499
  border-right:1px solid #E0E0E0;
500
  }
501
 
502
+ .wpulike-heart .counter a.image-unlike,#buddypress .activity-content .wpulike-heart .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike {
503
+ background-image: url(../img/icons/remove-heart-16.png) !important;
504
  }
505
 
506
  .wpulike-heart .counter a.image:hover {
513
 
514
  .wpulike-heart .counter a.loading,#buddypress .activity-content .wpulike-heart .counter a.loading,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading {
515
  animation:none;
516
+ background-image: url(../img/icons/loading.gif) !important;
517
+ background-repeat:no-repeat !important;
518
+ background-position:center center !important;
519
  padding:11px 15px !important;
520
  border-right:1px solid #E0E0E0;
521
  }
533
  .wpulike-heart .count-box:before {
534
  border: none;
535
  background:transparent;
536
+ }
537
+
538
+ /*------------------------- WP ULike RTL support -------------------------*/
539
+
540
+ .rtl .wpulike .count-box {
541
+ margin-right: .5em;
542
+ margin-left: inherit;
543
+ }
544
+
545
+ .rtl .wpulike .count-box:before {
546
+ right: -.2125em;
547
+ left:inherit;
548
+ border-top-color: #898F9C;
549
+ border-right-color: #898F9C;
550
+ border-left-color: transparent;
551
+ border-bottom-color: transparent;
552
+ }
553
+
554
+ .rtl .wpulike-heart .counter a,.rtl #buddypress .wpulike-heart .counter a,.rtl #bbpress-forums .bbp-reply-content .wpulike-heart .counter a.text,.rtl #bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,.rtl #bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike,.rtl #bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading{
555
+ border-left:1px solid #d3d3d3;
556
+ border-right: 0;
557
+ }
558
+
559
+ .rtl .wpulike-heart .counter a.image,.rtl .wpulike-heart .counter a.image-unlike,.rtl #buddypress .activity-content .wpulike-heart .counter a.image, .rtl #buddypress .activity-content .wpulike-heart .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,.rtl #bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike,.rtl .wpulike-heart .counter a.loading,.rtl #buddypress .activity-content .wpulike-heart .counter a.loading,.rtl #bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading {
560
+ border-left:1px solid #E0E0E0;
561
+ border-right: 0;
562
+ }
563
+
564
+ .rtl .wpulike-heart .count-box {
565
+ margin-right: 0;
566
+ margin-left: inherit;
567
+ }
568
+
569
+ .rtl .alert-dismissable,
570
+ .rtl .alert-dismissible {
571
+ padding-right: 0;
572
+ padding-left: 35px;
573
+ }
574
+ .rtl .alert-dismissable .close,
575
+ .rtl .alert-dismissible .close {
576
+ right: inherit;
577
+ left: -21px;
578
+ }
579
+
580
+ .rtl .close {
581
+ float: left;
582
+ }
583
+
584
+ .rtl .commentlist .tiles .avatar{
585
+ left:inherit!important;
586
+ right:0 !important;
587
+ }
588
+
589
+ .rtl .wp_ulike_thumbnail,.rtl .most_liked_comment .avatar{
590
+ margin: 0 0 0 10px;
591
+ }
592
+
593
+ .rtl .wp_ulike_style_love .wp_counter_span{
594
+ float: left;
595
+ background: #F1F1F1 url("../img/icons/heart.png") no-repeat scroll 85% center;
596
+ margin: 2px 2px 0px 0px;
597
+ padding: 0px 23px 0px 5px;
598
  }
assets/css/wp-ulike.min.css CHANGED
@@ -1,9 +1,9 @@
1
  /**
2
- * WP ULike Plugin 2.3
3
  *
4
  * http://wordpress.org/plugins/wp-ulike/
5
  * https://github.com/Alimir/wp-ulike
6
  *
7
  */
8
-
9
- .wpulike{display:inline-block;position:relative;vertical-align:middle;line-height:1;margin:5px 0}.wpulike .counter a{margin:0;display:inline-block;border-radius:.25em;border:1px solid #d3d3d3;vertical-align:middle;line-height:1em;padding:.25em .5em;font-size:.75em;cursor:pointer;max-height:25px;color:#777;background:#dfdfdf;box-shadow:1px 1px 0 rgba(255,255,255,.5) inset;text-shadow:0 1px 0 rgba(255,255,255,.5);text-decoration:none;-webkit-transition:.25s;-moz-transition:.25s;-ms-transition:.25s;-o-transition:.25s;transition:.25s}.wpulike .counter a:focus{outline:0;border-color:#999}.wpulike .counter a:active,.wpulike .counter a:hover{text-decoration:none;color:#EEE;text-shadow:0 1px 0 rgba(0,0,0,.3);background-color:#bdc3c7;border-color:#95a5a6}.wpulike .counter a.image,.wpulike .counter a.image-unlike{background-image:url(../img/icons/add.png);background-repeat:no-repeat;background-position:center center;padding:10px 20px}.wpulike .counter a.image-unlike{background-image:url(../img/icons/remove.png)}.wpulike .counter a.loading{background-image:url(../img/icons/loading.gif);background-repeat:no-repeat;background-position:center center;padding:10px 20px}.wpulike .count-box{position:relative;display:inline-block;border:1px solid #898F9C;border-radius:.25em;vertical-align:middle;color:#333;font-size:.75em;text-align:center;text-decoration:none;background-color:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:.25em .5em;margin-left:.5em;line-height:1em;min-width:2.25em}.wpulike .count-box:before{content:'';width:.25em;height:.25em;position:absolute;border:1px solid transparent;background:#fff;border-bottom-color:#898F9C;left:-.2125em;top:50%;margin-top:-.2em;border-left-color:#898F9C;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);filter:progid:DXImageTransform.Microsoft.Matrix(M11=.7071067811865476, M12=-.7071067811865475, M21=.7071067811865475, M22=.7071067811865476, sizingMethod='auto expand')}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.tooltip{position:absolute;z-index:1030;display:block;font-size:11px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.8;filter:alpha(opacity=80)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#FFF;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#777;border-radius:10px}.most_liked_users,.tiles{list-style-type:none!important;position:relative!important;margin:10px 0!important;padding:0!important}.most_liked_users li,.tiles li{display:inline-table!important;cursor:pointer!important}.most_liked_users li{margin:0 2px!important}.most_liked_users li.inactive,.tiles li.inactive{visibility:hidden!important;opacity:0!important}.most_liked_users li img,.tiles li img{display:block!important;float:none!important}.commentlist .tiles .avatar{left:0!important}.most_liked_comment .avatar,.wp_ulike_thumbnail{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:url(../img/icons/heart.png) 5px center no-repeat #f1f1f1;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}#buddypress .activity ul.item-list li{position:initial}#buddypress div.activity-meta .tiles li a{padding:0}#bbpress-forums .bbp-reply-content .wpulike .count-box,#buddypress .activity-content .wpulike .count-box{font-size:small;padding:.3em .5em}#buddypress .activity-content .wpulike .counter a{border-radius:0}#buddypress .activity-content .wpulike .counter a.image-unlike.button,#buddypress .activity-content .wpulike .counter a.image.button{background-image:url(../img/icons/add.png);background-repeat:no-repeat;background-position:center center;padding:11px 20px!important}#buddypress .activity-content .wpulike .counter a.image-unlike.button{background-image:url(../img/icons/remove.png)}#buddypress .activity-content .wpulike .counter a.loading{background-color:transparent;background-image:url(../img/icons/loading.gif);background-repeat:no-repeat;background-position:center center;padding:11px 20px!important}#bbpress-forums .bbp-reply-content .wpulike .counter a.image,#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike .counter a.loading,#bbpress-forums .bbp-reply-content .wpulike .counter a.text{margin:0;display:inline-block;border-radius:.25em;border:1px solid #d3d3d3;line-height:1em;padding:.5em 1em;font-size:1em;cursor:pointer;vertical-align:middle;color:#777;background:#dfdfdf;box-shadow:1px 1px 0 rgba(255,255,255,.5) inset;text-shadow:0 1px 0 rgba(255,255,255,.5);text-decoration:none}#bbpress-forums .bbp-reply-content .wpulike .counter a.image,#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike{background-image:url(../img/icons/add.png);background-repeat:no-repeat;background-position:center center;padding:1em 1.8em}#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike{background-image:url(../img/icons/remove.png)}#bbpress-forums .bbp-reply-content .wpulike .counter a.loading{background-image:url(../img/icons/loading.gif);background-repeat:no-repeat;background-position:center center;padding:1em 1.8em}.wpulike-heart .counter{border:1px solid #E0E0E0;background:url(../img/bg/button-love.png) center right no-repeat;border-radius:5px;padding:2px;max-height:30px}#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.text,#buddypress .wpulike-heart .counter a,.wpulike-heart .counter a{border:none;font-weight:700;box-shadow:none;background:0 0;border-right:1px solid #d3d3d3;border-radius:0}.wpulike-heart .counter a:active,.wpulike-heart .counter a:hover{background-color:transparent;box-shadow:none;color:#ef0000}#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike,#buddypress .activity-content .wpulike-heart .counter a.image-unlike.button,#buddypress .activity-content .wpulike-heart .counter a.image.button,.wpulike-heart .counter a.image,.wpulike-heart .counter a.image-unlike{border:none;box-shadow:none;background-image:url(../img/icons/add-heart-16.png);background-repeat:no-repeat;background-position:center center;background-color:transparent;padding:11px 16px!important;border-right:1px solid #E0E0E0}#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike,#buddypress .activity-content .wpulike-heart .counter a.image-unlike.button,.wpulike-heart .counter a.image-unlike{background-image:url(../img/icons/remove-heart-16.png)}.wpulike-heart .counter a.image:hover{background-image:url(../img/icons/add-heart-hover.png)!important}.wpulike-heart .counter a.image-unlike:hover{background-image:url(../img/icons/remove-heart-hover.png)!important}#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading,#buddypress .activity-content .wpulike-heart .counter a.loading,.wpulike-heart .counter a.loading{animation:none;background-image:url(../img/icons/loading.gif);background-repeat:no-repeat;background-position:center center;padding:11px 15px!important;border-right:1px solid #E0E0E0}.wpulike-heart .count-box{border:none;vertical-align:middle;background-color:transparent;padding:.25em .5em;margin-left:0;color:#525252;font-size:.8em}.wpulike-heart .count-box:before{border:none;background:0 0}
1
  /**
2
+ * WP ULike Plugin 2.4
3
  *
4
  * http://wordpress.org/plugins/wp-ulike/
5
  * https://github.com/Alimir/wp-ulike
6
  *
7
  */
8
+
9
+ .wpulike{display:inline-block;position:relative;vertical-align:middle;line-height:1;margin:0}.wpulike .counter a{margin:0;display:inline-block;border-radius:.25em;border:1px solid #d3d3d3;vertical-align:middle;line-height:1em;padding:.25em .5em;font-size:.75em;cursor:pointer;max-height:25px;color:#777;background:#dfdfdf;box-shadow:1px 1px 0 rgba(255,255,255,0.5) inset;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-decoration:none;-webkit-transition:.25s;-moz-transition:.25s;-ms-transition:.25s;-o-transition:.25s;transition:.25s}.wpulike .counter a:focus{outline:none;border-color:#999}.wpulike .counter a:hover,.wpulike .counter a:active{text-decoration:none;color:#EEE;text-shadow:0 1px 0 rgba(0,0,0,0.3);background-color:#bdc3c7;border-color:#95a5a6}.wpulike .counter a.image,.wpulike .counter a.image-unlike{background-image:url(../img/icons/add.png);background-repeat:no-repeat;background-position:center center;padding:10px 20px}.wpulike .counter a.image-unlike{background-image:url(../img/icons/remove.png)}.wpulike .counter a.loading{background-image:url(../img/icons/loading.gif);background-repeat:no-repeat;background-position:center center;padding:10px 20px}.wpulike .count-box{position:relative;display:inline-block;border:1px solid #898F9C;border-radius:.25em;vertical-align:middle;color:#333;font-size:.75em;text-align:center;text-decoration:none;background-color:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:.25em .5em;margin-left:.5em;line-height:1em;min-width:2.25em}.wpulike .count-box:before{content:'';width:.25em;height:.25em;position:absolute;border:1px solid transparent;background:#fff;border-bottom-color:#898F9C;left:-.2125em;top:50%;margin-top:-.2em;border-left-color:#898F9C;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.7071067811865476,M12=-0.7071067811865475,M21=0.7071067811865475,M22=0.7071067811865476,sizingMethod='auto expand')}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert > p,.alert > ul{margin-bottom:0}.alert > p + p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.tooltip{position:absolute;z-index:1030;display:block;font-size:11px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.8;filter:alpha(opacity=80)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#FFF;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#777;border-radius:10px}.tiles,.most_liked_users{list-style-type:none!important;position:relative!important;margin:10px 0!important;padding:0!important}.tiles li,.most_liked_users li{display:inline-table!important;cursor:pointer!important}.most_liked_users li{margin:0 2px!important}.tiles li.inactive,.most_liked_users li.inactive{visibility:hidden!important;opacity:0!important}.tiles li img,.most_liked_users li img{display:block!important;float:none!important}.commentlist .tiles .avatar{left:0!important}.wp_ulike_thumbnail,.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}#buddypress .activity ul.item-list li{position:initial}#buddypress div.activity-meta .tiles li a{padding:0}#buddypress .activity-content .wpulike .count-box,#bbpress-forums .bbp-reply-content .wpulike .count-box{font-size:small;padding:.3em .5em}#buddypress div.activity-meta .wpulike .counter a{padding:12px 20px!important}#buddypress div.activity-meta .wpulike .counter a.text{padding:7px 20px!important}#bbpress-forums .bbp-reply-content .wpulike .counter a.text,#bbpress-forums .bbp-reply-content .wpulike .counter a.image,#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike .counter a.loading{margin:0;display:inline-block;border-radius:.25em;border:1px solid #d3d3d3;line-height:1em;padding:.5em 1em;font-size:1em;cursor:pointer;vertical-align:middle;color:#777;background:#dfdfdf;box-shadow:1px 1px 0 rgba(255,255,255,0.5) inset;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-decoration:none}#bbpress-forums .bbp-reply-content .wpulike .counter a.image,#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike{background-image:url(../img/icons/add.png);background-repeat:no-repeat;background-position:center center;padding:1em 1.8em}#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike{background-image:url(../img/icons/remove.png)}#bbpress-forums .bbp-reply-content .wpulike .counter a.loading{background-image:url(../img/icons/loading.gif);background-repeat:no-repeat;background-position:center center;padding:1em 1.8em}.wpulike-heart .counter{border:1px solid #E0E0E0;background:url(../img/bg/button-love.png) no-repeat center right;border-radius:5px;padding:2px;max-height:30px}.wpulike-heart .counter a,#buddypress .wpulike-heart .counter a,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.text,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading{border:none;font-weight:700;box-shadow:none;background:transparent;border-right:1px solid #d3d3d3;border-radius:0}.wpulike-heart .counter a:hover,.wpulike-heart .counter a:active{background-color:transparent;box-shadow:none;color:#ef0000}.wpulike-heart .counter a.image,.wpulike-heart .counter a.image-unlike,#buddypress .activity-content .wpulike-heart .counter a.image,#buddypress .activity-content .wpulike-heart .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike{border:none;box-shadow:none;background-image:url(../img/icons/add-heart-16.png)!important;background-repeat:no-repeat!important;background-position:center center!important;padding:11px 16px!important;border-right:1px solid #E0E0E0}.wpulike-heart .counter a.image-unlike,#buddypress .activity-content .wpulike-heart .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike{background-image:url(../img/icons/remove-heart-16.png)!important}.wpulike-heart .counter a.image:hover{background-image:url(../img/icons/add-heart-hover.png)!important}.wpulike-heart .counter a.image-unlike:hover{background-image:url(../img/icons/remove-heart-hover.png)!important}.wpulike-heart .counter a.loading,#buddypress .activity-content .wpulike-heart .counter a.loading,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading{animation:none;background-image:url(../img/icons/loading.gif)!important;background-repeat:no-repeat!important;background-position:center center!important;padding:11px 15px!important;border-right:1px solid #E0E0E0}.wpulike-heart .count-box{border:none;vertical-align:middle;background-color:transparent;padding:.25em .5em;margin-left:0;color:#525252;font-size:.8em}.wpulike-heart .count-box:before{border:none;background:transparent}.rtl .wpulike .count-box{margin-right:.5em;margin-left:inherit}.rtl .wpulike .count-box:before{right:-.2125em;left:inherit;border-color:#898F9C #898F9C transparent transparent}.rtl .wpulike-heart .counter a,.rtl #buddypress .wpulike-heart .counter a,.rtl #bbpress-forums .bbp-reply-content .wpulike-heart .counter a.text,.rtl #bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,.rtl #bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike,.rtl #bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading{border-left:1px solid #d3d3d3;border-right:0}.rtl .wpulike-heart .counter a.image,.rtl .wpulike-heart .counter a.image-unlike,.rtl #buddypress .activity-content .wpulike-heart .counter a.image,.rtl #buddypress .activity-content .wpulike-heart .counter a.image-unlike,#bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image,.rtl #bbpress-forums .bbp-reply-content .wpulike-heart .counter a.image-unlike,.rtl .wpulike-heart .counter a.loading,.rtl #buddypress .activity-content .wpulike-heart .counter a.loading,.rtl #bbpress-forums .bbp-reply-content .wpulike-heart .counter a.loading{border-left:1px solid #E0E0E0;border-right:0}.rtl .wpulike-heart .count-box{margin-right:0;margin-left:inherit}.rtl .alert-dismissable,.rtl .alert-dismissible{padding-right:0;padding-left:35px}.rtl .alert-dismissable .close,.rtl .alert-dismissible .close{right:inherit;left:-21px}.rtl .close{float:left}.rtl .commentlist .tiles .avatar{left:inherit!important;right:0!important}.rtl .wp_ulike_thumbnail,.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}
assets/img/icons/remove-rtl.png CHANGED
Binary file
assets/img/icons/remove.png CHANGED
Binary file
assets/js/wp-ulike-scripts.js CHANGED
@@ -1,13 +1,11 @@
1
  /**
2
- * WP ULike Plugin 2.3
3
  *
4
  * http://wordpress.org/plugins/wp-ulike/
5
  * https://github.com/Alimir/wp-ulike
6
  *
7
  */
8
  jQuery(document).ready(function($) {
9
- //add button class in buddypress ulike button.
10
- $('.activity-content .wpulike .counter a').addClass("button");
11
 
12
  //start WP ULike process
13
  $(document).on('click', '.wp_ulike_btn',function(e) {
@@ -33,31 +31,31 @@ jQuery(document).ready(function($) {
33
  success: function(data) {
34
  if(status == 1){
35
  if(ulike_obj.button_type == 'image'){
36
- p_class.html("<a data-ulike-id='"+id+"' data-ulike-type='"+type+"' data-ulike-status='2' class='wp_ulike_btn image-unlike button'></a><span class='count-box'>"+data+"</span>");
37
  } else {
38
- p_class.html("<a data-ulike-id='"+id+"' data-ulike-type='"+type+"' data-ulike-status='2' class='wp_ulike_btn text button'>" + ulike_obj.button_text_u + "</a><span class='count-box'>"+data+"</span>");
39
  }
40
  }
41
  if(status == 2){
42
  if(ulike_obj.button_type == 'image'){
43
- p_class.html("<a data-ulike-id='"+id+"' data-ulike-type='"+type+"' data-ulike-status='1' class='wp_ulike_btn image button'></a><span class='count-box'>"+data+"</span>");
44
  } else {
45
- p_class.html("<a data-ulike-id='"+id+"' data-ulike-type='"+type+"' data-ulike-status='1' class='wp_ulike_btn text button'>" + ulike_obj.button_text + "</a><span class='count-box'>"+data+"</span>");
46
  }
47
  }
48
  if(status == 3){
49
  if(ulike_obj.button_type == 'image'){
50
- p_class.html("<a class='image-unlike button user-tooltip' title='Already Voted'></a><span class='count-box'>"+data+"</span>");
51
  } else {
52
- p_class.html("<a class='text button user-tooltip' title='Already Voted'>" + ulike_obj.button_text_u + "</a><span class='count-box'>"+data+"</span>");
53
  }
54
  }
55
  if(status == 4){
56
  if(ulike_obj.button_type == 'image'){
57
- p_class.html("<a class='image button' title='You Liked This'></a><span class='count-box'>"+data+"</span>");
58
  }
59
  else{
60
- p_class.html("<a class='text button' title='You Liked This'>" + ulike_obj.button_text + "</a><span class='count-box'>"+data+"</span>");
61
  }
62
  }
63
  }
1
  /**
2
+ * WP ULike Plugin 2.4
3
  *
4
  * http://wordpress.org/plugins/wp-ulike/
5
  * https://github.com/Alimir/wp-ulike
6
  *
7
  */
8
  jQuery(document).ready(function($) {
 
 
9
 
10
  //start WP ULike process
11
  $(document).on('click', '.wp_ulike_btn',function(e) {
31
  success: function(data) {
32
  if(status == 1){
33
  if(ulike_obj.button_type == 'image'){
34
+ p_class.html("<a data-ulike-id='"+id+"' data-ulike-type='"+type+"' data-ulike-status='2' class='wp_ulike_btn image-unlike'></a><span class='count-box'>"+data+"</span>");
35
  } else {
36
+ p_class.html("<a data-ulike-id='"+id+"' data-ulike-type='"+type+"' data-ulike-status='2' class='wp_ulike_btn text'>" + ulike_obj.button_text_u + "</a><span class='count-box'>"+data+"</span>");
37
  }
38
  }
39
  if(status == 2){
40
  if(ulike_obj.button_type == 'image'){
41
+ p_class.html("<a data-ulike-id='"+id+"' data-ulike-type='"+type+"' data-ulike-status='1' class='wp_ulike_btn image'></a><span class='count-box'>"+data+"</span>");
42
  } else {
43
+ p_class.html("<a data-ulike-id='"+id+"' data-ulike-type='"+type+"' data-ulike-status='1' class='wp_ulike_btn text'>" + ulike_obj.button_text + "</a><span class='count-box'>"+data+"</span>");
44
  }
45
  }
46
  if(status == 3){
47
  if(ulike_obj.button_type == 'image'){
48
+ p_class.html("<a class='image-unlike user-tooltip' title='Already Voted'></a><span class='count-box'>"+data+"</span>");
49
  } else {
50
+ p_class.html("<a class='text user-tooltip' title='Already Voted'>" + ulike_obj.button_text_u + "</a><span class='count-box'>"+data+"</span>");
51
  }
52
  }
53
  if(status == 4){
54
  if(ulike_obj.button_type == 'image'){
55
+ p_class.html("<a class='image' title='You Liked This'></a><span class='count-box'>"+data+"</span>");
56
  }
57
  else{
58
+ p_class.html("<a class='text' title='You Liked This'>" + ulike_obj.button_text + "</a><span class='count-box'>"+data+"</span>");
59
  }
60
  }
61
  }
assets/js/wp-ulike-scripts.min.js CHANGED
@@ -1,8 +1,12 @@
1
  /**
2
- * WP ULike Plugin 2.3
3
  *
4
  * http://wordpress.org/plugins/wp-ulike/
5
  * https://github.com/Alimir/wp-ulike
6
  *
7
  */
8
- jQuery(document).ready(function(t){t(".activity-content .wpulike .counter a").addClass("button"),t(document).on("click",".wp_ulike_btn",function(a){var e=t(this).data("ulike-type"),s=t(this).data("ulike-status"),u=t(this).data("ulike-id"),l=(t(this).data("ulike-class"),t(a.target).closest("a").parent());""!=u&&jQuery.ajax({type:"POST",url:ulike_obj.ajaxurl,data:{action:"wp_ulike_process",id:u,type:e},beforeSend:function(){l.html('<a class="loading"></a><span class="count-box">...</span>')},success:function(t){1==s&&l.html("image"==ulike_obj.button_type?"<a data-ulike-id='"+u+"' data-ulike-type='"+e+"' data-ulike-status='2' class='wp_ulike_btn image-unlike button'></a><span class='count-box'>"+t+"</span>":"<a data-ulike-id='"+u+"' data-ulike-type='"+e+"' data-ulike-status='2' class='wp_ulike_btn text button'>"+ulike_obj.button_text_u+"</a><span class='count-box'>"+t+"</span>"),2==s&&l.html("image"==ulike_obj.button_type?"<a data-ulike-id='"+u+"' data-ulike-type='"+e+"' data-ulike-status='1' class='wp_ulike_btn image button'></a><span class='count-box'>"+t+"</span>":"<a data-ulike-id='"+u+"' data-ulike-type='"+e+"' data-ulike-status='1' class='wp_ulike_btn text button'>"+ulike_obj.button_text+"</a><span class='count-box'>"+t+"</span>"),3==s&&l.html("image"==ulike_obj.button_type?"<a class='image-unlike button user-tooltip' title='Already Voted'></a><span class='count-box'>"+t+"</span>":"<a class='text button user-tooltip' title='Already Voted'>"+ulike_obj.button_text_u+"</a><span class='count-box'>"+t+"</span>"),4==s&&l.html("image"==ulike_obj.button_type?"<a class='image button' title='You Liked This'></a><span class='count-box'>"+t+"</span>":"<a class='text button' title='You Liked This'>"+ulike_obj.button_text+"</a><span class='count-box'>"+t+"</span>")}})})});
 
 
 
 
1
  /**
2
+ * WP ULike Plugin 2.4
3
  *
4
  * http://wordpress.org/plugins/wp-ulike/
5
  * https://github.com/Alimir/wp-ulike
6
  *
7
  */
8
+ jQuery(document).ready(function($){$(document).on('click','.wp_ulike_btn',function(e){var type=$(this).data('ulike-type');var status=$(this).data('ulike-status');var id=$(this).data('ulike-id');var uclass=$(this).data('ulike-class');var p_class=$(e.target).closest("a").parent();if(id!=''){jQuery.ajax({type:'POST',url:ulike_obj.ajaxurl,data:{action:'wp_ulike_process',id:id,type:type},beforeSend:function(){p_class.html('<a class="loading"></a><span class="count-box">...</span>');},success:function(data){if(status==1){if(ulike_obj.button_type=='image'){p_class.html("<a data-ulike-id='"+id+"' data-ulike-type='"+type+"' data-ulike-status='2' class='wp_ulike_btn image-unlike'></a><span class='count-box'>"+data+"</span>");}else{p_class.html("<a data-ulike-id='"+id+"' data-ulike-type='"+type+"' data-ulike-status='2' class='wp_ulike_btn text'>"+ulike_obj.button_text_u+"</a><span class='count-box'>"+data+"</span>");}}
9
+ if(status==2){if(ulike_obj.button_type=='image'){p_class.html("<a data-ulike-id='"+id+"' data-ulike-type='"+type+"' data-ulike-status='1' class='wp_ulike_btn image'></a><span class='count-box'>"+data+"</span>");}else{p_class.html("<a data-ulike-id='"+id+"' data-ulike-type='"+type+"' data-ulike-status='1' class='wp_ulike_btn text'>"+ulike_obj.button_text+"</a><span class='count-box'>"+data+"</span>");}}
10
+ if(status==3){if(ulike_obj.button_type=='image'){p_class.html("<a class='image-unlike user-tooltip' title='Already Voted'></a><span class='count-box'>"+data+"</span>");}else{p_class.html("<a class='text user-tooltip' title='Already Voted'>"+ulike_obj.button_text_u+"</a><span class='count-box'>"+data+"</span>");}}
11
+ if(status==4){if(ulike_obj.button_type=='image'){p_class.html("<a class='image' title='You Liked This'></a><span class='count-box'>"+data+"</span>");}
12
+ else{p_class.html("<a class='text' title='You Liked This'>"+ulike_obj.button_text+"</a><span class='count-box'>"+data+"</span>");}}}});}});});
inc/classes/class-mycred.php CHANGED
@@ -199,14 +199,14 @@ if ( class_exists( 'myCRED_Hook' ) ) :
199
  $prefs = $this->prefs;
200
 
201
  ?>
202
- <label class="subheader"><?php echo _e( 'Points for Liking content', 'alimir' ); ?></label>
203
  <ol>
204
  <li>
205
  <div class="h2"><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'] ); ?>" size="8" /></div>
206
  </li>
207
  <li class="empty"></li>
208
  <li>
209
- <label for="<?php echo $this->field_id( array( 'add_like' => 'limit' ) ); ?>"><?php _e( 'Limit', 'alimir' ); ?></label>
210
  <?php echo $this->hook_limit_setting( $this->field_name( array( 'add_like' => 'limit' ) ), $this->field_id( array( 'add_like' => 'limit' ) ), $prefs['add_like']['limit'] ); ?>
211
  </li>
212
  <li class="empty"></li>
@@ -216,14 +216,14 @@ if ( class_exists( 'myCRED_Hook' ) ) :
216
  <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
217
  </li>
218
  </ol>
219
- <label class="subheader"><?php _e( 'Points for Author Who Get Liked', 'alimir' ); ?></label>
220
  <ol>
221
  <li>
222
  <div class="h2"><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'] ); ?>" size="8" /></div>
223
  </li>
224
  <li class="empty"></li>
225
  <li>
226
- <label for="<?php echo $this->field_id( array( 'get_like' => 'limit' ) ); ?>"><?php _e( 'Limit', 'alimir' ); ?></label>
227
  <?php echo $this->hook_limit_setting( $this->field_name( array( 'get_like' => 'limit' ) ), $this->field_id( array( 'get_like' => 'limit' ) ), $prefs['get_like']['limit'] ); ?>
228
  </li>
229
  <li class="empty"></li>
@@ -233,7 +233,7 @@ if ( class_exists( 'myCRED_Hook' ) ) :
233
  <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
234
  </li>
235
  </ol>
236
- <label class="subheader"><?php echo _e( 'Points for unliking content', 'alimir' ); ?></label>
237
  <ol>
238
  <li>
239
  <div class="h2"><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'] ); ?>" size="8" /></div>
@@ -245,7 +245,7 @@ if ( class_exists( 'myCRED_Hook' ) ) :
245
  <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
246
  </li>
247
  </ol>
248
- <label class="subheader"><?php _e( 'Points for Author Who Get Unliked', 'alimir' ); ?></label>
249
  <ol>
250
  <li>
251
  <div class="h2"><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'] ); ?>" size="8" /></div>
199
  $prefs = $this->prefs;
200
 
201
  ?>
202
+ <label class="subheader"><?php echo _e( 'Points for Liking content', WP_ULIKE_SLUG ); ?></label>
203
  <ol>
204
  <li>
205
  <div class="h2"><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'] ); ?>" size="8" /></div>
206
  </li>
207
  <li class="empty"></li>
208
  <li>
209
+ <label for="<?php echo $this->field_id( array( 'add_like' => 'limit' ) ); ?>"><?php _e( 'Limit', WP_ULIKE_SLUG ); ?></label>
210
  <?php echo $this->hook_limit_setting( $this->field_name( array( 'add_like' => 'limit' ) ), $this->field_id( array( 'add_like' => 'limit' ) ), $prefs['add_like']['limit'] ); ?>
211
  </li>
212
  <li class="empty"></li>
216
  <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
217
  </li>
218
  </ol>
219
+ <label class="subheader"><?php _e( 'Points for Author Who Get Liked', WP_ULIKE_SLUG ); ?></label>
220
  <ol>
221
  <li>
222
  <div class="h2"><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'] ); ?>" size="8" /></div>
223
  </li>
224
  <li class="empty"></li>
225
  <li>
226
+ <label for="<?php echo $this->field_id( array( 'get_like' => 'limit' ) ); ?>"><?php _e( 'Limit', WP_ULIKE_SLUG ); ?></label>
227
  <?php echo $this->hook_limit_setting( $this->field_name( array( 'get_like' => 'limit' ) ), $this->field_id( array( 'get_like' => 'limit' ) ), $prefs['get_like']['limit'] ); ?>
228
  </li>
229
  <li class="empty"></li>
233
  <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
234
  </li>
235
  </ol>
236
+ <label class="subheader"><?php echo _e( 'Points for unliking content', WP_ULIKE_SLUG ); ?></label>
237
  <ol>
238
  <li>
239
  <div class="h2"><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'] ); ?>" size="8" /></div>
245
  <span class="description"><?php echo $this->available_template_tags( array( 'general' ) ); ?></span>
246
  </li>
247
  </ol>
248
+ <label class="subheader"><?php _e( 'Points for Author Who Get Unliked', WP_ULIKE_SLUG ); ?></label>
249
  <ol>
250
  <li>
251
  <div class="h2"><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'] ); ?>" size="8" /></div>
inc/classes/class-ulike.php CHANGED
@@ -420,7 +420,7 @@ if ( ! class_exists( 'wp_ulike' ) ) {
420
  if(wp_ulike_get_setting( $setting_key, 'users_liked_box') == '1' && !$get_users == ''){
421
  $get_template = wp_ulike_get_setting( $setting_key, 'users_liked_box_template' );
422
  if($get_template == '')
423
- $get_template = '<br /><p style="margin-top:5px"> '.__('Users who have LIKED this post:','alimir').'</p> <ul class="tiles"> %START_WHILE% <li><a class="user-tooltip" title="%USER_NAME%">%USER_AVATAR%</a></li> %END_WHILE%</ul>';
424
  $inner_template = $this->get_template_between($get_template,"%START_WHILE%","%END_WHILE%");
425
  foreach ( $get_users as $get_user )
426
  {
420
  if(wp_ulike_get_setting( $setting_key, 'users_liked_box') == '1' && !$get_users == ''){
421
  $get_template = wp_ulike_get_setting( $setting_key, 'users_liked_box_template' );
422
  if($get_template == '')
423
+ $get_template = '<br /><p style="margin-top:5px"> '.__('Users who have LIKED this post:',WP_ULIKE_SLUG).'</p> <ul class="tiles"> %START_WHILE% <li><a class="user-tooltip" title="%USER_NAME%">%USER_AVATAR%</a></li> %END_WHILE%</ul>';
424
  $inner_template = $this->get_template_between($get_template,"%START_WHILE%","%END_WHILE%");
425
  foreach ( $get_users as $get_user )
426
  {
inc/wp-functions.php CHANGED
@@ -142,6 +142,7 @@
142
  * @param String $content
143
  * @since 1.7
144
  * @updated 2.1
 
145
  * @return filter on "bp_get_activity_action"
146
  */
147
  if (wp_ulike_get_setting( 'wp_ulike_buddypress', 'auto_display' ) == '1') {
@@ -149,10 +150,14 @@
149
  echo wp_ulike_buddypress('put');
150
  }
151
 
152
- if (wp_ulike_get_setting( 'wp_ulike_buddypress', 'auto_display_position' ) == 'meta')
153
  add_action( 'bp_activity_entry_meta', 'wp_ulike_put_buddypress' );
 
154
  else
155
  add_action( 'bp_activity_entry_content', 'wp_ulike_put_buddypress' );
 
 
 
156
 
157
  }
158
 
@@ -169,7 +174,7 @@
169
  bp_activity_set_action(
170
  $bp->activity->id,
171
  'wp_like_group',
172
- __( 'WP ULike Activity', 'alimir' )
173
  );
174
  }
175
 
@@ -299,8 +304,8 @@
299
  add_filter( 'mycred_setup_hooks', 'wp_ulike_register_myCRED_hook' );
300
  function wp_ulike_register_myCRED_hook( $installed ) {
301
  $installed['wp_ulike'] = array(
302
- 'title' => __( 'WP ULike', 'alimir' ),
303
- 'description' => __( 'This hook award / deducts points from users who Like/Unlike any content of WordPress, bbPress, BuddyPress & ...', 'alimir' ),
304
  'callback' => array( 'wp_ulike_myCRED' )
305
  );
306
  return $installed;
@@ -308,10 +313,10 @@
308
 
309
  add_filter( 'mycred_all_references', 'wp_ulike_myCRED_references' );
310
  function wp_ulike_myCRED_references( $hooks ) {
311
- $hooks['wp_add_like'] = __( 'Liking Content', 'alimir' );
312
- $hooks['wp_get_like'] = __( 'Liked Content', 'alimir' );
313
- $hooks['wp_add_unlike'] = __( 'Unliking Content', 'alimir' );
314
- $hooks['wp_get_unlike'] = __( 'Unliked Content', 'alimir' );
315
  return $hooks;
316
  }
317
  }
@@ -333,12 +338,12 @@
333
  function wp_ulike_add_custom_profile_tab( $tabs ) {
334
 
335
  $tabs['wp-ulike-posts'] = array(
336
- 'name' => __('Recent Posts Liked','alimir'),
337
  'icon' => 'um-faicon-thumbs-up',
338
  );
339
 
340
  $tabs['wp-ulike-comments'] = array(
341
- 'name' => __('Recent Comments Liked','alimir'),
342
  'icon' => 'um-faicon-thumbs-o-up',
343
  );
344
 
@@ -367,7 +372,7 @@
367
  $user_logs = $wp_ulike_class->get_current_user_likes($args);
368
 
369
  if($user_logs != null){
370
- echo '<div class="um-profile-note"><span>'. __('Recent Posts Liked','alimir').'</span></div>';
371
  foreach ($user_logs as $user_log) {
372
  $get_post = get_post(stripslashes($user_log->post_id));
373
  $get_date = $user_log->date_time;
@@ -383,7 +388,7 @@
383
  </div>';
384
  echo '</div>';
385
  }
386
- } else echo '<div style="display: block;" class="um-profile-note"><i class="um-faicon-frown-o"></i><span>'. __('This user has not made any likes.','alimir').'</span></div>';
387
  }
388
 
389
  /**
@@ -407,7 +412,7 @@
407
  $user_logs = $wp_ulike_class->get_current_user_likes($args);
408
 
409
  if($user_logs != null){
410
- echo '<div class="um-profile-note"><span>'. __('Recent Comments Liked','alimir').'</span></div>';
411
  foreach ($user_logs as $user_log) {
412
  $comment = get_comment(stripslashes($user_log->comment_id));
413
  $get_date = $user_log->date_time;
@@ -424,7 +429,7 @@
424
  </div>';
425
  echo '</div>';
426
  }
427
- } else echo '<div style="display: block;" class="um-profile-note"><i class="um-faicon-frown-o"></i><span>'. __('This user has not made any likes.','alimir').'</span></div>';
428
  }
429
  }
430
 
@@ -468,6 +473,7 @@
468
  * @author Alimir
469
  * @since 1.3
470
  * @updated 2.3
 
471
  * @return Void (Print new CSS styles)
472
  */
473
  function wp_ulike_get_custom_style(){
@@ -521,13 +527,11 @@
521
  }
522
  if($counter_border != ''){
523
  $counter_style .= "border-color:$counter_border; ";
 
524
  }
525
  if($counter_color != ''){
526
  $counter_style .= "color:$counter_color;";
527
  }
528
- if($counter_color != ''){
529
- $before_style .= "border-color:transparent; border-bottom-color:$counter_border; border-left-color:$counter_border;";
530
- }
531
 
532
  }
533
 
142
  * @param String $content
143
  * @since 1.7
144
  * @updated 2.1
145
+ * @updated 2.4
146
  * @return filter on "bp_get_activity_action"
147
  */
148
  if (wp_ulike_get_setting( 'wp_ulike_buddypress', 'auto_display' ) == '1') {
150
  echo wp_ulike_buddypress('put');
151
  }
152
 
153
+ if (wp_ulike_get_setting( 'wp_ulike_buddypress', 'auto_display_position' ) == 'meta'){
154
  add_action( 'bp_activity_entry_meta', 'wp_ulike_put_buddypress' );
155
+ }
156
  else
157
  add_action( 'bp_activity_entry_content', 'wp_ulike_put_buddypress' );
158
+
159
+ if (wp_ulike_get_setting( 'wp_ulike_buddypress', 'activity_comment' ) == '1')
160
+ add_action( 'bp_activity_comment_options', 'wp_ulike_put_buddypress' );
161
 
162
  }
163
 
174
  bp_activity_set_action(
175
  $bp->activity->id,
176
  'wp_like_group',
177
+ __( 'WP ULike Activity', WP_ULIKE_SLUG )
178
  );
179
  }
180
 
304
  add_filter( 'mycred_setup_hooks', 'wp_ulike_register_myCRED_hook' );
305
  function wp_ulike_register_myCRED_hook( $installed ) {
306
  $installed['wp_ulike'] = array(
307
+ 'title' => __( 'WP ULike', WP_ULIKE_SLUG ),
308
+ 'description' => __( 'This hook award / deducts points from users who Like/Unlike any content of WordPress, bbPress, BuddyPress & ...', WP_ULIKE_SLUG ),
309
  'callback' => array( 'wp_ulike_myCRED' )
310
  );
311
  return $installed;
313
 
314
  add_filter( 'mycred_all_references', 'wp_ulike_myCRED_references' );
315
  function wp_ulike_myCRED_references( $hooks ) {
316
+ $hooks['wp_add_like'] = __( 'Liking Content', WP_ULIKE_SLUG );
317
+ $hooks['wp_get_like'] = __( 'Liked Content', WP_ULIKE_SLUG );
318
+ $hooks['wp_add_unlike'] = __( 'Unliking Content', WP_ULIKE_SLUG );
319
+ $hooks['wp_get_unlike'] = __( 'Unliked Content', WP_ULIKE_SLUG );
320
  return $hooks;
321
  }
322
  }
338
  function wp_ulike_add_custom_profile_tab( $tabs ) {
339
 
340
  $tabs['wp-ulike-posts'] = array(
341
+ 'name' => __('Recent Posts Liked',WP_ULIKE_SLUG),
342
  'icon' => 'um-faicon-thumbs-up',
343
  );
344
 
345
  $tabs['wp-ulike-comments'] = array(
346
+ 'name' => __('Recent Comments Liked',WP_ULIKE_SLUG),
347
  'icon' => 'um-faicon-thumbs-o-up',
348
  );
349
 
372
  $user_logs = $wp_ulike_class->get_current_user_likes($args);
373
 
374
  if($user_logs != null){
375
+ echo '<div class="um-profile-note"><span>'. __('Recent Posts Liked',WP_ULIKE_SLUG).'</span></div>';
376
  foreach ($user_logs as $user_log) {
377
  $get_post = get_post(stripslashes($user_log->post_id));
378
  $get_date = $user_log->date_time;
388
  </div>';
389
  echo '</div>';
390
  }
391
+ } else echo '<div style="display: block;" class="um-profile-note"><i class="um-faicon-frown-o"></i><span>'. __('This user has not made any likes.',WP_ULIKE_SLUG).'</span></div>';
392
  }
393
 
394
  /**
412
  $user_logs = $wp_ulike_class->get_current_user_likes($args);
413
 
414
  if($user_logs != null){
415
+ echo '<div class="um-profile-note"><span>'. __('Recent Comments Liked',WP_ULIKE_SLUG).'</span></div>';
416
  foreach ($user_logs as $user_log) {
417
  $comment = get_comment(stripslashes($user_log->comment_id));
418
  $get_date = $user_log->date_time;
429
  </div>';
430
  echo '</div>';
431
  }
432
+ } else echo '<div style="display: block;" class="um-profile-note"><i class="um-faicon-frown-o"></i><span>'. __('This user has not made any likes.',WP_ULIKE_SLUG).'</span></div>';
433
  }
434
  }
435
 
473
  * @author Alimir
474
  * @since 1.3
475
  * @updated 2.3
476
+ * @updated 2.4
477
  * @return Void (Print new CSS styles)
478
  */
479
  function wp_ulike_get_custom_style(){
527
  }
528
  if($counter_border != ''){
529
  $counter_style .= "border-color:$counter_border; ";
530
+ $before_style = "border-color:transparent; border-bottom-color:$counter_border; border-left-color:$counter_border;";
531
  }
532
  if($counter_color != ''){
533
  $counter_style .= "color:$counter_color;";
534
  }
 
 
 
535
 
536
  }
537
 
inc/wp-script.php CHANGED
@@ -16,7 +16,7 @@
16
  //enqueue JQuery script
17
  wp_enqueue_script( 'jquery' );
18
  //Add ulike script file with special functions.
19
- wp_enqueue_script('wp_ulike', plugins_url('assets/js/wp-ulike-scripts.min.js', dirname(__FILE__)), array('jquery'), '1.2.1');
20
  //Add ulike plugin file, such as: tooltip, transaction, ...
21
  wp_enqueue_script('wp_ulike_plugins', plugins_url('assets/js/wp-ulike-plugins.js', dirname(__FILE__)), array('jquery'), '1.0.0', true);
22
  //localize script
@@ -32,22 +32,18 @@
32
  }
33
 
34
  /**
35
- * Add Plugin styles for RTL & LTR languages + Custom Style Support
36
  *
37
  * @author Alimir
38
  * @since 1.0
39
  * @updated 2.3
 
40
  * @return Void (Enqueue CSS styles)
41
  */
42
  add_action('wp_enqueue_scripts', 'wp_ulike_enqueue_style');
43
 
44
  function wp_ulike_enqueue_style() {
45
- if(!is_rtl()){
46
- wp_enqueue_style( 'wp-ulike', plugins_url('assets/css/wp-ulike.min.css', dirname(__FILE__)) );
47
- }
48
- else{
49
- wp_enqueue_style( 'wp-ulike', plugins_url('assets/css/wp-ulike-rtl.min.css', dirname(__FILE__)) );
50
- }
51
  //add your custom style from setting panel.
52
  wp_add_inline_style( 'wp-ulike', wp_ulike_get_custom_style() );
53
  }
16
  //enqueue JQuery script
17
  wp_enqueue_script( 'jquery' );
18
  //Add ulike script file with special functions.
19
+ wp_enqueue_script('wp_ulike', plugins_url('assets/js/wp-ulike-scripts.min.js', dirname(__FILE__)), array('jquery'), '1.2.2');
20
  //Add ulike plugin file, such as: tooltip, transaction, ...
21
  wp_enqueue_script('wp_ulike_plugins', plugins_url('assets/js/wp-ulike-plugins.js', dirname(__FILE__)), array('jquery'), '1.0.0', true);
22
  //localize script
32
  }
33
 
34
  /**
35
+ * Add Plugin CSS styles + Custom Style Support
36
  *
37
  * @author Alimir
38
  * @since 1.0
39
  * @updated 2.3
40
+ * @updated 2.4
41
  * @return Void (Enqueue CSS styles)
42
  */
43
  add_action('wp_enqueue_scripts', 'wp_ulike_enqueue_style');
44
 
45
  function wp_ulike_enqueue_style() {
46
+ wp_enqueue_style( 'wp-ulike', plugins_url('assets/css/wp-ulike.min.css', dirname(__FILE__)) );
 
 
 
 
 
47
  //add your custom style from setting panel.
48
  wp_add_inline_style( 'wp-ulike', wp_ulike_get_custom_style() );
49
  }
inc/wp-strings.php CHANGED
@@ -1,34 +1,34 @@
1
  <?php
2
  $wp_ulike_string = array(
3
- "8" => __('Allow To Like', 'alimir'),
4
- "9" => __('Guests Only', 'alimir'),
5
- "10" => __('Registered Users Only', 'alimir'),
6
- "11" => __('Registered Users And Guests', 'alimir'),
7
- "12" => __('Who Is Allowed To Like?', 'alimir'),
8
- "13" => __('Filter Options:', 'alimir'),
9
- "14" => __('Sort Options:', 'alimir'),
10
- "21" => __('Themes', 'alimir'),
11
- "22" => __('Dislike', 'alimir'),
12
- "23" => __('Dislike Support', 'alimir'),
13
- "24" => __('Text After Dislike', 'alimir'),
14
- "25" => __('Show Counter', 'alimir'),
15
- "26" => __('Show tooltips', 'alimir'),
16
- "30" => __('Alignment', 'alimir'),
17
- "31" => __('Left', 'alimir'),
18
- "32" => __('Center', 'alimir'),
19
- "33" => __('Right', 'alimir'),
20
- "35" => __('Cookie Life time', 'alimir'),
21
- "36" => __('BuddyPress Notifications', 'alimir'),
22
- "37" => __('Liker Attempts', 'alimir'),
23
- "38" => __('Liked Users Box Style', 'alimir'),
24
- "39" => __('Tooltip', 'alimir'),
25
- "40" => __('Default', 'alimir'),
26
- "41" => __('Most Liked Posts', 'alimir'),
27
- "42" => __('Most Liked Comments', 'alimir'),
28
- "43" => __('Most Liked Users', 'alimir'),
29
- "44" => __('Total Users Liked', 'alimir'),
30
- "45" => __('Total Posts Liked', 'alimir'),
31
- "46" => __('Total Comments Liked', 'alimir'),
32
- "47" => __('Upvote', 'alimir'),
33
- "48" => __('Downvote', 'alimir')
34
  );
1
  <?php
2
  $wp_ulike_string = array(
3
+ "8" => __('Allow To Like', WP_ULIKE_SLUG),
4
+ "9" => __('Guests Only', WP_ULIKE_SLUG),
5
+ "10" => __('Registered Users Only', WP_ULIKE_SLUG),
6
+ "11" => __('Registered Users And Guests', WP_ULIKE_SLUG),
7
+ "12" => __('Who Is Allowed To Like?', WP_ULIKE_SLUG),
8
+ "13" => __('Filter Options:', WP_ULIKE_SLUG),
9
+ "14" => __('Sort Options:', WP_ULIKE_SLUG),
10
+ "21" => __('Themes', WP_ULIKE_SLUG),
11
+ "22" => __('Dislike', WP_ULIKE_SLUG),
12
+ "23" => __('Dislike Support', WP_ULIKE_SLUG),
13
+ "24" => __('Text After Dislike', WP_ULIKE_SLUG),
14
+ "25" => __('Show Counter', WP_ULIKE_SLUG),
15
+ "26" => __('Show tooltips', WP_ULIKE_SLUG),
16
+ "30" => __('Alignment', WP_ULIKE_SLUG),
17
+ "31" => __('Left', WP_ULIKE_SLUG),
18
+ "32" => __('Center', WP_ULIKE_SLUG),
19
+ "33" => __('Right', WP_ULIKE_SLUG),
20
+ "35" => __('Cookie Life time', WP_ULIKE_SLUG),
21
+ "36" => __('BuddyPress Notifications', WP_ULIKE_SLUG),
22
+ "37" => __('Liker Attempts', WP_ULIKE_SLUG),
23
+ "38" => __('Liked Users Box Style', WP_ULIKE_SLUG),
24
+ "39" => __('Tooltip', WP_ULIKE_SLUG),
25
+ "40" => __('Default', WP_ULIKE_SLUG),
26
+ "41" => __('Most Liked Posts', WP_ULIKE_SLUG),
27
+ "42" => __('Most Liked Comments', WP_ULIKE_SLUG),
28
+ "43" => __('Most Liked Users', WP_ULIKE_SLUG),
29
+ "44" => __('Total Users Liked', WP_ULIKE_SLUG),
30
+ "45" => __('Total Posts Liked', WP_ULIKE_SLUG),
31
+ "46" => __('Total Comments Liked', WP_ULIKE_SLUG),
32
+ "47" => __('Upvote', WP_ULIKE_SLUG),
33
+ "48" => __('Downvote', WP_ULIKE_SLUG)
34
  );
inc/wp-ulike.php CHANGED
@@ -67,7 +67,7 @@
67
  }
68
  }
69
  else
70
- return '<p class="alert alert-info fade in" role="alert"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>'.__('You need to login in order to like this post: ','alimir').'<a href="'.wp_login_url( get_permalink() ).'"> '.__('click here','alimir').' </a></p>';
71
  }//end only_registered_users condition
72
 
73
  }
@@ -139,7 +139,7 @@
139
  }
140
  }
141
  else
142
- return '<p class="alert alert-info fade in" role="alert"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>'.__('You need to login in order to like this comment: ','alimir').'<a href="'.wp_login_url( get_permalink() ).'"> '.__('click here','alimir').' </a></p>';
143
  }//end only_registered_users condition
144
 
145
  }
@@ -150,13 +150,18 @@
150
  * @author Alimir
151
  * @since 1.7
152
  * @updated 2.3
 
153
  * @return String
154
  */
155
  function wp_ulike_buddypress($arg) {
156
  //global variables
157
  global $wp_ulike_class,$wp_user_IP;
158
-
159
- $activityID = bp_get_activity_id();
 
 
 
 
160
  $bp_get_meta = bp_activity_get_meta($activityID, '_activityliked');
161
  $get_like = $bp_get_meta != '' ? $bp_get_meta : 0;
162
  $return_userID = $wp_ulike_class->get_reutrn_id();
@@ -216,7 +221,7 @@
216
  }
217
  }
218
  else
219
- return '<p class="alert alert-info fade in" role="alert"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>'.__('You need to login in order to like this activity: ','alimir').'<a href="'.wp_login_url( get_permalink() ).'"> '.__('click here','alimir').' </a></p>';
220
  }//end only_registered_users condition
221
 
222
  }
@@ -227,13 +232,17 @@
227
  * @author Alimir
228
  * @since 2.2
229
  * @updated 2.3
 
230
  * @return String
231
  */
232
  function wp_ulike_bbpress($arg) {
233
  //global variables
234
  global $post,$wp_ulike_class,$wp_user_IP;
235
-
236
- $post_ID = $post->ID;
 
 
 
237
  $get_post_meta = get_post_meta($post_ID, '_topicliked', true);
238
  $get_like = $get_post_meta != '' ? $get_post_meta : 0;
239
  $return_userID = $wp_ulike_class->get_reutrn_id();
@@ -288,7 +297,7 @@
288
  }
289
  }
290
  else
291
- return '<p class="alert alert-info fade in" role="alert"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>'.__('You need to login in order to like this post: ','alimir').'<a href="'.wp_login_url( get_permalink() ).'"> '.__('click here','alimir').' </a></p>';
292
  }//end only_registered_users condition
293
 
294
  }
@@ -340,7 +349,7 @@
340
  $cookie_name = 'topic-liked-';
341
  }
342
  else{
343
- wp_die(__('Error: This Method Is Not Exist!','alimir'));
344
  }
345
 
346
 
67
  }
68
  }
69
  else
70
+ return '<p class="alert alert-info fade in" role="alert"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>'.__('You need to login in order to like this post: ',WP_ULIKE_SLUG).'<a href="'.wp_login_url( get_permalink() ).'"> '.__('click here',WP_ULIKE_SLUG).' </a></p>';
71
  }//end only_registered_users condition
72
 
73
  }
139
  }
140
  }
141
  else
142
+ return '<p class="alert alert-info fade in" role="alert"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>'.__('You need to login in order to like this comment: ',WP_ULIKE_SLUG).'<a href="'.wp_login_url( get_permalink() ).'"> '.__('click here',WP_ULIKE_SLUG).' </a></p>';
143
  }//end only_registered_users condition
144
 
145
  }
150
  * @author Alimir
151
  * @since 1.7
152
  * @updated 2.3
153
+ * @updated 2.4
154
  * @return String
155
  */
156
  function wp_ulike_buddypress($arg) {
157
  //global variables
158
  global $wp_ulike_class,$wp_user_IP;
159
+
160
+ if ( bp_get_activity_comment_id() != null )
161
+ $activityID = bp_get_activity_comment_id();
162
+ else
163
+ $activityID = bp_get_activity_id();
164
+
165
  $bp_get_meta = bp_activity_get_meta($activityID, '_activityliked');
166
  $get_like = $bp_get_meta != '' ? $bp_get_meta : 0;
167
  $return_userID = $wp_ulike_class->get_reutrn_id();
221
  }
222
  }
223
  else
224
+ return '<p class="alert alert-info fade in" role="alert"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>'.__('You need to login in order to like this activity: ',WP_ULIKE_SLUG).'<a href="'.wp_login_url( get_permalink() ).'"> '.__('click here',WP_ULIKE_SLUG).' </a></p>';
225
  }//end only_registered_users condition
226
 
227
  }
232
  * @author Alimir
233
  * @since 2.2
234
  * @updated 2.3
235
+ * @updated 2.4
236
  * @return String
237
  */
238
  function wp_ulike_bbpress($arg) {
239
  //global variables
240
  global $post,$wp_ulike_class,$wp_user_IP;
241
+
242
+ //Thanks to @Yehonal for this commit
243
+ $replyID = bbp_get_reply_id();
244
+ $post_ID = !$replyId ? $post->ID : $replyID;
245
+
246
  $get_post_meta = get_post_meta($post_ID, '_topicliked', true);
247
  $get_like = $get_post_meta != '' ? $get_post_meta : 0;
248
  $return_userID = $wp_ulike_class->get_reutrn_id();
297
  }
298
  }
299
  else
300
+ return '<p class="alert alert-info fade in" role="alert"><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>'.__('You need to login in order to like this post: ',WP_ULIKE_SLUG).'<a href="'.wp_login_url( get_permalink() ).'"> '.__('click here',WP_ULIKE_SLUG).' </a></p>';
301
  }//end only_registered_users condition
302
 
303
  }
349
  $cookie_name = 'topic-liked-';
350
  }
351
  else{
352
+ wp_die(__('Error: This Method Is Not Exist!',WP_ULIKE_SLUG));
353
  }
354
 
355
 
lang/alimir-fa_IR.mo DELETED
Binary file
lang/alimir-fr_FR.mo DELETED
Binary file
lang/alimir.pot DELETED
@@ -1,1291 +0,0 @@
1
- # Copyright (C) 2015 WP ULike
2
- # This file is distributed under the same license as the WP ULike package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: WP ULike 2.3\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-ulike\n"
7
- "POT-Creation-Date: 2015-05-21 11:36+0330\n"
8
- "PO-Revision-Date: 2015-05-21 11:40+0330\n"
9
- "Last-Translator: Alimir <info@alimir.ir>\n"
10
- "Language-Team: \n"
11
- "Language: en_US\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: Poedit 1.6.10\n"
16
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
- "X-Poedit-Basepath: .\n"
18
- "X-Poedit-KeywordsList: __;_e\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
- "X-Poedit-SearchPath-1: ..\n"
21
-
22
- #: ../admin/about.php:107
23
- msgid "Welcome to WP ULike"
24
- msgstr ""
25
-
26
- #: ../admin/about.php:109
27
- msgid ""
28
- "Thank you for choosing WP ULike! This version is our leanest and most "
29
- "powerful version yet."
30
- msgstr ""
31
-
32
- #: ../admin/about.php:110 ../admin/stats.php:37
33
- msgid "Visit our homepage"
34
- msgstr ""
35
-
36
- #: ../admin/about.php:112
37
- msgid "Version"
38
- msgstr ""
39
-
40
- #: ../admin/about.php:115
41
- msgid "Getting Started"
42
- msgstr ""
43
-
44
- #: ../admin/about.php:116
45
- msgid "Credits"
46
- msgstr ""
47
-
48
- #: ../admin/about.php:117 ../admin/classes/class-settings.php:111
49
- #: ../admin/stats.php:51
50
- msgid "Support"
51
- msgstr ""
52
-
53
- #: ../admin/about.php:118 ../admin/classes/class-settings.php:111
54
- #: ../admin/stats.php:52
55
- msgid "FAQ"
56
- msgstr ""
57
-
58
- #: ../admin/about.php:119
59
- msgid "Reviews"
60
- msgstr ""
61
-
62
- #: ../admin/about.php:125
63
- msgid "Introducing WP ULike"
64
- msgstr ""
65
-
66
- #: ../admin/about.php:132 ../admin/admin.php:179 ../admin/stats.php:36
67
- msgid "About WP ULike"
68
- msgstr ""
69
-
70
- #: ../admin/about.php:133 ../admin/classes/class-settings.php:46
71
- msgid ""
72
- "WP ULike plugin allows to integrate a beautiful Ajax Like Button into your "
73
- "wordPress website to allow your visitors to like and unlike pages, posts, "
74
- "comments AND buddypress activities. Its very simple to use and supports many "
75
- "options."
76
- msgstr ""
77
-
78
- #: ../admin/about.php:155
79
- msgid "WP Ulike Extension"
80
- msgstr ""
81
-
82
- #: ../admin/about.php:156
83
- msgid ""
84
- "Right now, WP ULike support wordpress posts / comments, BuddyPress "
85
- "activities & bbPress Topics."
86
- msgstr ""
87
-
88
- #: ../admin/about.php:165
89
- msgid "Added More Than 20 Language Files"
90
- msgstr ""
91
-
92
- #: ../admin/about.php:166
93
- msgid ""
94
- "WP ULike is already translated into +20 languages, with more always in "
95
- "progress."
96
- msgstr ""
97
-
98
- #: ../admin/about.php:175
99
- msgid "User Profile Links"
100
- msgstr ""
101
-
102
- #: ../admin/about.php:176
103
- msgid ""
104
- "Since WP ULike 2.3, We have synced the likers profile with BuddyPress & "
105
- "UltimateMember plugins."
106
- msgstr ""
107
-
108
- #: ../admin/about.php:185
109
- msgid "New Themes And Styles"
110
- msgstr ""
111
-
112
- #: ../admin/about.php:186
113
- msgid ""
114
- "Since WP ULike 2.3, We have made some new styles and themes and you can "
115
- "customize them by your taste."
116
- msgstr ""
117
-
118
- #: ../admin/about.php:195
119
- msgid "myCRED Points Support"
120
- msgstr ""
121
-
122
- #: ../admin/about.php:196
123
- msgid ""
124
- "myCRED is an adaptive points management system that lets you award / charge "
125
- "your users for interacting with your WordPress."
126
- msgstr ""
127
-
128
- #: ../admin/about.php:205 ../admin/stats.php:175 ../admin/stats.php:350
129
- msgid "Likers World Map"
130
- msgstr ""
131
-
132
- #: ../admin/about.php:206
133
- msgid ""
134
- "Since WP ULike 2.3, We have made a new ability that you can track your "
135
- "likers by their country in the world map & Top Liker widget."
136
- msgstr ""
137
-
138
- #: ../admin/about.php:216 ../admin/admin.php:175 ../admin/stats.php:23
139
- msgid "WP ULike Statistics"
140
- msgstr ""
141
-
142
- #: ../admin/about.php:216 ../admin/classes/tmp/settings.php:103
143
- msgid "Home"
144
- msgstr ""
145
-
146
- #: ../admin/about.php:216
147
- msgid "OR"
148
- msgstr ""
149
-
150
- #: ../admin/about.php:216 ../admin/admin.php:72
151
- msgid "WP ULike Settings"
152
- msgstr ""
153
-
154
- #: ../admin/about.php:222
155
- msgid "WP ULike is created by many love and time. Enjoy it :)"
156
- msgstr ""
157
-
158
- #: ../admin/about.php:223
159
- msgid "Project Leaders"
160
- msgstr ""
161
-
162
- #: ../admin/about.php:228
163
- msgid "Project Lead & Developer"
164
- msgstr ""
165
-
166
- #: ../admin/about.php:232
167
- msgid "Translations"
168
- msgstr ""
169
-
170
- #: ../admin/about.php:271
171
- msgid "Would you like to help translate the plugin into more languages?"
172
- msgstr ""
173
-
174
- #: ../admin/about.php:271
175
- msgid "Join our WP-Translations Community"
176
- msgstr ""
177
-
178
- #: ../admin/about.php:273
179
- msgid "Other Plugins"
180
- msgstr ""
181
-
182
- #: ../admin/about.php:292
183
- msgid "Like this plugin?"
184
- msgstr ""
185
-
186
- #: ../admin/about.php:293
187
- msgid ""
188
- "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
189
- "wp-ulike\"> Plugin Directory reviews</a>"
190
- msgstr ""
191
-
192
- #: ../admin/admin.php:39
193
- #, php-format
194
- msgid ""
195
- " Thank you for choosing <a href=\"%s\" title=\"Wordpress ULike\" target="
196
- "\"_blank\">WP ULike</a>. Created by <a href=\"%s\" title=\"Wordpress ULike\" "
197
- "target=\"_blank\">Ali Mirzaei</a>"
198
- msgstr ""
199
-
200
- #: ../admin/admin.php:75 ../inc/wp-functions.php:302
201
- msgid "WP ULike"
202
- msgstr ""
203
-
204
- #: ../admin/admin.php:83
205
- msgid "Settings saved."
206
- msgstr ""
207
-
208
- #: ../admin/admin.php:113 ../admin/admin.php:141
209
- msgid "Failed! An Error Has Occurred While Deleting All ULike Logs/Data"
210
- msgstr ""
211
-
212
- #: ../admin/admin.php:115 ../admin/admin.php:143
213
- msgid "Success! All ULike Logs/Data Have Been Deleted"
214
- msgstr ""
215
-
216
- #: ../admin/admin.php:159 ../admin/logs.php:139 ../admin/stats.php:42
217
- msgid "Post Likes Logs"
218
- msgstr ""
219
-
220
- #: ../admin/admin.php:163 ../admin/logs.php:260 ../admin/stats.php:43
221
- msgid "Comment Likes Logs"
222
- msgstr ""
223
-
224
- #: ../admin/admin.php:167 ../admin/logs.php:387 ../admin/stats.php:44
225
- msgid "Activity Likes Logs"
226
- msgstr ""
227
-
228
- #: ../admin/admin.php:171 ../admin/logs.php:509 ../admin/stats.php:45
229
- msgid "Topics Likes Logs"
230
- msgstr ""
231
-
232
- #: ../admin/classes/class-settings.php:17
233
- msgid "Custom Settings"
234
- msgstr ""
235
-
236
- #: ../admin/classes/class-settings.php:28 ../admin/stats.php:355
237
- msgid "Save Settings"
238
- msgstr ""
239
-
240
- #: ../admin/classes/class-settings.php:29
241
- msgid "Reset Settings"
242
- msgstr ""
243
-
244
- #: ../admin/classes/class-settings.php:44
245
- msgid "Similar Settings"
246
- msgstr ""
247
-
248
- #: ../admin/classes/class-settings.php:48
249
- #: ../admin/classes/tmp/settings.php:124 ../admin/classes/tmp/settings.php:215
250
- #: ../admin/classes/tmp/settings.php:362 ../admin/classes/tmp/settings.php:474
251
- msgid "Logging Method"
252
- msgstr ""
253
-
254
- #: ../admin/classes/class-settings.php:50
255
- msgid ""
256
- "If you select <strong>\"Do Not Log\"</strong> method: Any data logs can't "
257
- "save, There is no limitation in the like/dislike, unlike/undislike capacity "
258
- "do not work"
259
- msgstr ""
260
-
261
- #: ../admin/classes/class-settings.php:51
262
- msgid ""
263
- "If you select <strong>\"Logged By Cookie\"</strong> method: Any data logs "
264
- "can't save, The like/dislike condition will be limited by SetCookie, unlike/"
265
- "undislike capacity do not work"
266
- msgstr ""
267
-
268
- #: ../admin/classes/class-settings.php:52
269
- msgid ""
270
- "If you select <strong>\"Logged By IP\"</strong> method: Data logs will save "
271
- "for all users, the convey of like/dislike condition will check by user IP"
272
- msgstr ""
273
-
274
- #: ../admin/classes/class-settings.php:53
275
- msgid ""
276
- "If you select <strong>\"Logged By Cookie & IP\"</strong> method: Data logs "
277
- "will save for all users, the convey of like/dislike condition will check by "
278
- "user IP & SetCookie"
279
- msgstr ""
280
-
281
- #: ../admin/classes/class-settings.php:54
282
- msgid ""
283
- "If you select <strong>\"Logged By Username\"</strong> method: data logs only "
284
- "is saved for registered users, the convey of like/dislike condition will "
285
- "check by username, There is no permission for guest users to unlike/undislike"
286
- msgstr ""
287
-
288
- #: ../admin/classes/class-settings.php:57
289
- msgid "Template Variables"
290
- msgstr ""
291
-
292
- #: ../admin/classes/class-settings.php:59
293
- msgid "Start the loop of logs"
294
- msgstr ""
295
-
296
- #: ../admin/classes/class-settings.php:59
297
- #: ../admin/classes/class-settings.php:60
298
- msgid "required"
299
- msgstr ""
300
-
301
- #: ../admin/classes/class-settings.php:60
302
- msgid "End of the while loop"
303
- msgstr ""
304
-
305
- #: ../admin/classes/class-settings.php:61
306
- #: ../admin/classes/class-settings.php:65
307
- #: ../admin/classes/class-settings.php:69
308
- msgid "Display the liker name"
309
- msgstr ""
310
-
311
- #: ../admin/classes/class-settings.php:62
312
- msgid "Display the liker avatar (By Gravatar)"
313
- msgstr ""
314
-
315
- #: ../admin/classes/class-settings.php:63
316
- msgid "Display the BuddyPress user profile url"
317
- msgstr ""
318
-
319
- #: ../admin/classes/class-settings.php:64
320
- msgid "Display the UltimateMemebr user profile url"
321
- msgstr ""
322
-
323
- #: ../admin/classes/class-settings.php:66
324
- msgid "Display the permalink"
325
- msgstr ""
326
-
327
- #: ../admin/classes/class-settings.php:67
328
- #: ../admin/classes/class-settings.php:71
329
- msgid "Display the likes count number"
330
- msgstr ""
331
-
332
- #: ../admin/classes/class-settings.php:68
333
- msgid "Display the post title"
334
- msgstr ""
335
-
336
- #: ../admin/classes/class-settings.php:70
337
- msgid "Display the comment author name"
338
- msgstr ""
339
-
340
- #: ../admin/classes/class-settings.php:79 ../admin/classes/tmp/settings.php:72
341
- msgid "Posts"
342
- msgstr ""
343
-
344
- #: ../admin/classes/class-settings.php:81
345
- #: ../admin/classes/class-settings.php:90
346
- #: ../admin/classes/class-settings.php:98
347
- #: ../admin/classes/class-settings.php:106
348
- #: ../admin/classes/tmp/settings.php:86 ../admin/classes/tmp/settings.php:192
349
- #: ../admin/classes/tmp/settings.php:340 ../admin/classes/tmp/settings.php:452
350
- msgid "Automatic display"
351
- msgstr ""
352
-
353
- #: ../admin/classes/class-settings.php:81
354
- msgid ""
355
- "If you disable this option, you have to put manually this code on wordpress "
356
- "while loop"
357
- msgstr ""
358
-
359
- #: ../admin/classes/class-settings.php:81
360
- #: ../admin/classes/class-settings.php:90
361
- #: ../admin/classes/class-settings.php:98
362
- #: ../admin/classes/class-settings.php:106
363
- #: ../admin/classes/tmp/settings.php:155 ../admin/classes/tmp/settings.php:246
364
- #: ../admin/classes/tmp/settings.php:393 ../admin/classes/tmp/settings.php:505
365
- msgid "Users Like Box Template"
366
- msgstr ""
367
-
368
- #: ../admin/classes/class-settings.php:81
369
- #: ../admin/classes/class-settings.php:90
370
- #: ../admin/classes/class-settings.php:98
371
- #: ../admin/classes/class-settings.php:106
372
- msgid "Default Template:"
373
- msgstr ""
374
-
375
- #: ../admin/classes/class-settings.php:81
376
- #: ../admin/classes/tmp/settings.php:154 ../inc/classes/class-ulike.php:423
377
- msgid "Users who have LIKED this post:"
378
- msgstr ""
379
-
380
- #: ../admin/classes/class-settings.php:88
381
- #: ../admin/classes/tmp/settings.php:178
382
- msgid "Comments"
383
- msgstr ""
384
-
385
- #: ../admin/classes/class-settings.php:90
386
- msgid ""
387
- "If you disable this option, you have to put manually this code on comments "
388
- "text"
389
- msgstr ""
390
-
391
- #: ../admin/classes/class-settings.php:90
392
- #: ../admin/classes/tmp/settings.php:245
393
- msgid "Users who have LIKED this comment:"
394
- msgstr ""
395
-
396
- #: ../admin/classes/class-settings.php:96
397
- #: ../admin/classes/class-widget.php:314 ../admin/classes/tmp/settings.php:326
398
- msgid "BuddyPress"
399
- msgstr ""
400
-
401
- #: ../admin/classes/class-settings.php:98
402
- #: ../admin/classes/class-settings.php:106
403
- msgid ""
404
- "If you disable this option, you have to put manually this code on buddypres "
405
- "activities content"
406
- msgstr ""
407
-
408
- #: ../admin/classes/class-settings.php:98
409
- #: ../admin/classes/class-settings.php:106
410
- #: ../admin/classes/tmp/settings.php:392
411
- msgid "Users who have liked this activity:"
412
- msgstr ""
413
-
414
- #: ../admin/classes/class-settings.php:98
415
- #: ../admin/classes/tmp/settings.php:406
416
- msgid "Post Activity Text"
417
- msgstr ""
418
-
419
- #: ../admin/classes/class-settings.php:98
420
- #: ../admin/classes/tmp/settings.php:412
421
- msgid "Comment Activity Text"
422
- msgstr ""
423
-
424
- #: ../admin/classes/class-settings.php:104
425
- #: ../admin/classes/tmp/settings.php:438
426
- msgid "bbPress"
427
- msgstr ""
428
-
429
- #: ../admin/classes/class-settings.php:111
430
- msgid "For more information:"
431
- msgstr ""
432
-
433
- #: ../admin/classes/class-settings.php:170
434
- msgid "Default settings have been reset."
435
- msgstr ""
436
-
437
- #: ../admin/classes/class-settings.php:247
438
- msgid ""
439
- "Do you really want to reset all these settings to their default values ?"
440
- msgstr ""
441
-
442
- #: ../admin/classes/class-settings.php:312
443
- #: ../admin/classes/class-settings.php:323
444
- #: ../admin/classes/class-settings.php:347
445
- msgid "No options defined."
446
- msgstr ""
447
-
448
- #: ../admin/classes/class-settings.php:334
449
- #, php-format
450
- msgid "Select %s"
451
- msgstr ""
452
-
453
- #: ../admin/classes/class-settings.php:335
454
- #, php-format
455
- msgid "Remove %s"
456
- msgstr ""
457
-
458
- #: ../admin/classes/class-settings.php:359
459
- msgid "No action defined."
460
- msgstr ""
461
-
462
- #: ../admin/classes/class-widget.php:11
463
- msgid "WP Ulike Widget"
464
- msgstr ""
465
-
466
- #: ../admin/classes/class-widget.php:12
467
- msgid ""
468
- "An advanced widget that gives you all most liked records with different types"
469
- msgstr ""
470
-
471
- #: ../admin/classes/class-widget.php:79
472
- msgid "you haven't liked any post yet!"
473
- msgstr ""
474
-
475
- #: ../admin/classes/class-widget.php:126
476
- msgid "on"
477
- msgstr ""
478
-
479
- #: ../admin/classes/class-widget.php:202 ../admin/classes/tmp/settings.php:23
480
- #: ../admin/classes/tmp/settings.php:24 ../admin/classes/tmp/settings.php:32
481
- #: ../admin/stats.php:205
482
- msgid "Like"
483
- msgstr ""
484
-
485
- #: ../admin/classes/class-widget.php:266
486
- msgid "Most Liked"
487
- msgstr ""
488
-
489
- #: ../admin/classes/class-widget.php:270
490
- msgid "Title:"
491
- msgstr ""
492
-
493
- #: ../admin/classes/class-widget.php:275
494
- msgid "Type:"
495
- msgstr ""
496
-
497
- #: ../admin/classes/class-widget.php:277 ../inc/wp-strings.php:26
498
- msgid "Most Liked Posts"
499
- msgstr ""
500
-
501
- #: ../admin/classes/class-widget.php:278 ../inc/wp-strings.php:27
502
- msgid "Most Liked Comments"
503
- msgstr ""
504
-
505
- #: ../admin/classes/class-widget.php:279
506
- msgid "Most Liked Activities"
507
- msgstr ""
508
-
509
- #: ../admin/classes/class-widget.php:280 ../inc/wp-strings.php:28
510
- msgid "Most Liked Users"
511
- msgstr ""
512
-
513
- #: ../admin/classes/class-widget.php:281
514
- msgid "Last Posts Liked By User"
515
- msgstr ""
516
-
517
- #: ../admin/classes/class-widget.php:286
518
- msgid "Style:"
519
- msgstr ""
520
-
521
- #: ../admin/classes/class-widget.php:288
522
- msgid "Simple"
523
- msgstr ""
524
-
525
- #: ../admin/classes/class-widget.php:289 ../admin/classes/tmp/settings.php:80
526
- #: ../admin/classes/tmp/settings.php:186 ../admin/classes/tmp/settings.php:334
527
- #: ../admin/classes/tmp/settings.php:446
528
- msgid "Heart"
529
- msgstr ""
530
-
531
- #: ../admin/classes/class-widget.php:294
532
- msgid "Title Trim (Length):"
533
- msgstr ""
534
-
535
- #: ../admin/classes/class-widget.php:300
536
- msgid "Number of items to show:"
537
- msgstr ""
538
-
539
- #: ../admin/classes/class-widget.php:306
540
- msgid "Thumbnail/Avatar size:"
541
- msgstr ""
542
-
543
- #: ../admin/classes/class-widget.php:312
544
- msgid "Profile URL:"
545
- msgstr ""
546
-
547
- #: ../admin/classes/class-widget.php:315
548
- msgid "UltimateMember"
549
- msgstr ""
550
-
551
- #: ../admin/classes/class-widget.php:321
552
- msgid "Activate Like Counter"
553
- msgstr ""
554
-
555
- #: ../admin/classes/class-widget.php:326
556
- msgid "Activate Thumbnail/Avatar"
557
- msgstr ""
558
-
559
- #: ../admin/classes/tmp/settings.php:11
560
- msgid "General"
561
- msgstr ""
562
-
563
- #: ../admin/classes/tmp/settings.php:15
564
- msgid "Button Type"
565
- msgstr ""
566
-
567
- #: ../admin/classes/tmp/settings.php:18
568
- msgid "Icon"
569
- msgstr ""
570
-
571
- #: ../admin/classes/tmp/settings.php:19
572
- msgid "Text"
573
- msgstr ""
574
-
575
- #: ../admin/classes/tmp/settings.php:24 ../admin/classes/tmp/settings.php:28
576
- msgid "Button Text"
577
- msgstr ""
578
-
579
- #: ../admin/classes/tmp/settings.php:27 ../admin/classes/tmp/settings.php:28
580
- #: ../admin/classes/tmp/settings.php:37
581
- msgid "Unlike"
582
- msgstr ""
583
-
584
- #: ../admin/classes/tmp/settings.php:32 ../admin/classes/tmp/settings.php:37
585
- msgid "Button Icon"
586
- msgstr ""
587
-
588
- #: ../admin/classes/tmp/settings.php:33 ../admin/classes/tmp/settings.php:38
589
- #: ../admin/classes/tmp/settings.php:310
590
- msgid "Best size: 16x16"
591
- msgstr ""
592
-
593
- #: ../admin/classes/tmp/settings.php:41
594
- msgid "You have not permission to unlike"
595
- msgstr ""
596
-
597
- #: ../admin/classes/tmp/settings.php:42
598
- msgid "Permission Text"
599
- msgstr ""
600
-
601
- #: ../admin/classes/tmp/settings.php:46
602
- msgid "Users Login Type"
603
- msgstr ""
604
-
605
- #: ../admin/classes/tmp/settings.php:49
606
- msgid "Alert Box"
607
- msgstr ""
608
-
609
- #: ../admin/classes/tmp/settings.php:50
610
- msgid "Like Button"
611
- msgstr ""
612
-
613
- #: ../admin/classes/tmp/settings.php:54
614
- msgid "You Should Login To Submit Your Like"
615
- msgstr ""
616
-
617
- #: ../admin/classes/tmp/settings.php:55
618
- msgid "Users Login Text"
619
- msgstr ""
620
-
621
- #: ../admin/classes/tmp/settings.php:60
622
- msgid "Format Number"
623
- msgstr ""
624
-
625
- #: ../admin/classes/tmp/settings.php:61 ../admin/classes/tmp/settings.php:87
626
- #: ../admin/classes/tmp/settings.php:118 ../admin/classes/tmp/settings.php:137
627
- #: ../admin/classes/tmp/settings.php:193 ../admin/classes/tmp/settings.php:209
628
- #: ../admin/classes/tmp/settings.php:228 ../admin/classes/tmp/settings.php:275
629
- #: ../admin/classes/tmp/settings.php:341 ../admin/classes/tmp/settings.php:356
630
- #: ../admin/classes/tmp/settings.php:375 ../admin/classes/tmp/settings.php:400
631
- #: ../admin/classes/tmp/settings.php:453 ../admin/classes/tmp/settings.php:468
632
- #: ../admin/classes/tmp/settings.php:487
633
- msgid "Activate"
634
- msgstr ""
635
-
636
- #: ../admin/classes/tmp/settings.php:62
637
- msgid "Convert numbers of Likes with string (kilobyte) format."
638
- msgstr ""
639
-
640
- #: ../admin/classes/tmp/settings.php:77 ../admin/classes/tmp/settings.php:183
641
- #: ../admin/classes/tmp/settings.php:331 ../admin/classes/tmp/settings.php:443
642
- #: ../inc/wp-strings.php:10
643
- msgid "Themes"
644
- msgstr ""
645
-
646
- #: ../admin/classes/tmp/settings.php:79 ../admin/classes/tmp/settings.php:185
647
- #: ../admin/classes/tmp/settings.php:333 ../admin/classes/tmp/settings.php:445
648
- #: ../inc/wp-strings.php:25
649
- msgid "Default"
650
- msgstr ""
651
-
652
- #: ../admin/classes/tmp/settings.php:91 ../admin/classes/tmp/settings.php:197
653
- #: ../admin/classes/tmp/settings.php:345 ../admin/classes/tmp/settings.php:457
654
- msgid "Auto Display Position"
655
- msgstr ""
656
-
657
- #: ../admin/classes/tmp/settings.php:94 ../admin/classes/tmp/settings.php:200
658
- #: ../admin/classes/tmp/settings.php:460
659
- msgid "Top of Content"
660
- msgstr ""
661
-
662
- #: ../admin/classes/tmp/settings.php:95 ../admin/classes/tmp/settings.php:201
663
- #: ../admin/classes/tmp/settings.php:461
664
- msgid "Bottom of Content"
665
- msgstr ""
666
-
667
- #: ../admin/classes/tmp/settings.php:96 ../admin/classes/tmp/settings.php:202
668
- msgid "Top and Bottom"
669
- msgstr ""
670
-
671
- #: ../admin/classes/tmp/settings.php:101
672
- msgid "Auto Display Filter"
673
- msgstr ""
674
-
675
- #: ../admin/classes/tmp/settings.php:104
676
- msgid "Single Posts"
677
- msgstr ""
678
-
679
- #: ../admin/classes/tmp/settings.php:105
680
- msgid "Pages"
681
- msgstr ""
682
-
683
- #: ../admin/classes/tmp/settings.php:106
684
- msgid "Archives"
685
- msgstr ""
686
-
687
- #: ../admin/classes/tmp/settings.php:107
688
- msgid "Categories"
689
- msgstr ""
690
-
691
- #: ../admin/classes/tmp/settings.php:108
692
- msgid "Search Results"
693
- msgstr ""
694
-
695
- #: ../admin/classes/tmp/settings.php:109
696
- msgid "Tags"
697
- msgstr ""
698
-
699
- #: ../admin/classes/tmp/settings.php:110
700
- msgid "Author Page"
701
- msgstr ""
702
-
703
- #: ../admin/classes/tmp/settings.php:112
704
- msgid "You can filter theses pages on auto display option."
705
- msgstr ""
706
-
707
- #: ../admin/classes/tmp/settings.php:117 ../admin/classes/tmp/settings.php:208
708
- #: ../admin/classes/tmp/settings.php:355 ../admin/classes/tmp/settings.php:467
709
- msgid "Only registered Users"
710
- msgstr ""
711
-
712
- #: ../admin/classes/tmp/settings.php:119
713
- msgid "<strong>Only</strong> registered users have permission to like posts."
714
- msgstr ""
715
-
716
- #: ../admin/classes/tmp/settings.php:126 ../admin/classes/tmp/settings.php:217
717
- #: ../admin/classes/tmp/settings.php:364 ../admin/classes/tmp/settings.php:476
718
- msgid "Do Not Log"
719
- msgstr ""
720
-
721
- #: ../admin/classes/tmp/settings.php:127 ../admin/classes/tmp/settings.php:218
722
- #: ../admin/classes/tmp/settings.php:365 ../admin/classes/tmp/settings.php:477
723
- msgid "Logged By Cookie"
724
- msgstr ""
725
-
726
- #: ../admin/classes/tmp/settings.php:128 ../admin/classes/tmp/settings.php:219
727
- #: ../admin/classes/tmp/settings.php:366 ../admin/classes/tmp/settings.php:478
728
- msgid "Logged By IP"
729
- msgstr ""
730
-
731
- #: ../admin/classes/tmp/settings.php:129 ../admin/classes/tmp/settings.php:220
732
- #: ../admin/classes/tmp/settings.php:367 ../admin/classes/tmp/settings.php:479
733
- msgid "Logged By Cookie & IP"
734
- msgstr ""
735
-
736
- #: ../admin/classes/tmp/settings.php:130 ../admin/classes/tmp/settings.php:221
737
- #: ../admin/classes/tmp/settings.php:368 ../admin/classes/tmp/settings.php:480
738
- msgid "Logged By Username"
739
- msgstr ""
740
-
741
- #: ../admin/classes/tmp/settings.php:136 ../admin/classes/tmp/settings.php:227
742
- #: ../admin/classes/tmp/settings.php:374 ../admin/classes/tmp/settings.php:486
743
- msgid "Show Liked Users Box"
744
- msgstr ""
745
-
746
- #: ../admin/classes/tmp/settings.php:138 ../admin/classes/tmp/settings.php:229
747
- #: ../admin/classes/tmp/settings.php:376 ../admin/classes/tmp/settings.php:488
748
- msgid ""
749
- "Active this option to show liked users avatars in the bottom of button like."
750
- msgstr ""
751
-
752
- #: ../admin/classes/tmp/settings.php:143 ../admin/classes/tmp/settings.php:234
753
- #: ../admin/classes/tmp/settings.php:381 ../admin/classes/tmp/settings.php:493
754
- msgid "Size of Gravatars"
755
- msgstr ""
756
-
757
- #: ../admin/classes/tmp/settings.php:144 ../admin/classes/tmp/settings.php:235
758
- #: ../admin/classes/tmp/settings.php:382 ../admin/classes/tmp/settings.php:494
759
- msgid "Size of Gravatars to return (max is 512)"
760
- msgstr ""
761
-
762
- #: ../admin/classes/tmp/settings.php:149 ../admin/classes/tmp/settings.php:240
763
- #: ../admin/classes/tmp/settings.php:387 ../admin/classes/tmp/settings.php:499
764
- msgid "Number Of The Users"
765
- msgstr ""
766
-
767
- #: ../admin/classes/tmp/settings.php:150 ../admin/classes/tmp/settings.php:241
768
- #: ../admin/classes/tmp/settings.php:388 ../admin/classes/tmp/settings.php:500
769
- msgid "The number of users to show in the users liked box"
770
- msgstr ""
771
-
772
- #: ../admin/classes/tmp/settings.php:156 ../admin/classes/tmp/settings.php:247
773
- #: ../admin/classes/tmp/settings.php:394 ../admin/classes/tmp/settings.php:407
774
- #: ../admin/classes/tmp/settings.php:413 ../admin/classes/tmp/settings.php:506
775
- msgid "Allowed Variables:"
776
- msgstr ""
777
-
778
- #: ../admin/classes/tmp/settings.php:160 ../admin/classes/tmp/settings.php:251
779
- #: ../admin/classes/tmp/settings.php:417 ../admin/classes/tmp/settings.php:510
780
- msgid "Delete All Logs"
781
- msgstr ""
782
-
783
- #: ../admin/classes/tmp/settings.php:161 ../admin/classes/tmp/settings.php:252
784
- #: ../admin/classes/tmp/settings.php:418 ../admin/classes/tmp/settings.php:511
785
- msgid "You Are About To Delete All Likes Logs. This Action Is Not Reversible."
786
- msgstr ""
787
-
788
- #: ../admin/classes/tmp/settings.php:166 ../admin/classes/tmp/settings.php:257
789
- #: ../admin/classes/tmp/settings.php:423 ../admin/classes/tmp/settings.php:516
790
- msgid "Delete All Data"
791
- msgstr ""
792
-
793
- #: ../admin/classes/tmp/settings.php:167 ../admin/classes/tmp/settings.php:258
794
- #: ../admin/classes/tmp/settings.php:424 ../admin/classes/tmp/settings.php:517
795
- msgid "You Are About To Delete All Likes Data. This Action Is Not Reversible."
796
- msgstr ""
797
-
798
- #: ../admin/classes/tmp/settings.php:210
799
- msgid ""
800
- "<strong>Only</strong> registered users have permission to like comments."
801
- msgstr ""
802
-
803
- #: ../admin/classes/tmp/settings.php:269
804
- msgid "Customize"
805
- msgstr ""
806
-
807
- #: ../admin/classes/tmp/settings.php:274
808
- msgid "Custom Style"
809
- msgstr ""
810
-
811
- #: ../admin/classes/tmp/settings.php:279
812
- msgid "Active this option to see the custom style settings."
813
- msgstr ""
814
-
815
- #: ../admin/classes/tmp/settings.php:283
816
- msgid "Button style"
817
- msgstr ""
818
-
819
- #: ../admin/classes/tmp/settings.php:284 ../admin/classes/tmp/settings.php:297
820
- msgid "Background"
821
- msgstr ""
822
-
823
- #: ../admin/classes/tmp/settings.php:288 ../admin/classes/tmp/settings.php:301
824
- msgid "Border Color"
825
- msgstr ""
826
-
827
- #: ../admin/classes/tmp/settings.php:292 ../admin/classes/tmp/settings.php:305
828
- msgid "Text Color"
829
- msgstr ""
830
-
831
- #: ../admin/classes/tmp/settings.php:296
832
- msgid "Counter Style"
833
- msgstr ""
834
-
835
- #: ../admin/classes/tmp/settings.php:309
836
- msgid "Loading Animation"
837
- msgstr ""
838
-
839
- #: ../admin/classes/tmp/settings.php:314
840
- msgid "Custom CSS"
841
- msgstr ""
842
-
843
- #: ../admin/classes/tmp/settings.php:348
844
- msgid "Activity Content"
845
- msgstr ""
846
-
847
- #: ../admin/classes/tmp/settings.php:349
848
- msgid "Activity Meta"
849
- msgstr ""
850
-
851
- #: ../admin/classes/tmp/settings.php:357
852
- msgid ""
853
- "<strong>Only</strong> registered users have permission to like activities."
854
- msgstr ""
855
-
856
- #: ../admin/classes/tmp/settings.php:399
857
- msgid "BuddyPress Activity"
858
- msgstr ""
859
-
860
- #: ../admin/classes/tmp/settings.php:401
861
- msgid "insert new likes in buddyPress activity page"
862
- msgstr ""
863
-
864
- #: ../admin/classes/tmp/settings.php:469
865
- msgid "<strong>Only</strong> registered users have permission to like Topics."
866
- msgstr ""
867
-
868
- #: ../admin/classes/tmp/settings.php:504
869
- msgid "Users who have liked this topic:"
870
- msgstr ""
871
-
872
- #: ../admin/logs.php:17 ../admin/logs.php:142 ../admin/logs.php:212
873
- #: ../admin/logs.php:263 ../admin/logs.php:337 ../admin/logs.php:390
874
- #: ../admin/logs.php:460 ../admin/logs.php:512 ../admin/logs.php:582
875
- msgid "Logs"
876
- msgstr ""
877
-
878
- #: ../admin/logs.php:80
879
- msgid "Are you sure to remove this item?!"
880
- msgstr ""
881
-
882
- #: ../admin/logs.php:138 ../admin/logs.php:259 ../admin/logs.php:386
883
- #: ../admin/logs.php:508
884
- msgid "WP ULike Logs"
885
- msgstr ""
886
-
887
- #: ../admin/logs.php:149 ../admin/logs.php:270 ../admin/logs.php:397
888
- #: ../admin/logs.php:519
889
- msgid "ID"
890
- msgstr ""
891
-
892
- #: ../admin/logs.php:150 ../admin/logs.php:271 ../admin/logs.php:398
893
- #: ../admin/logs.php:520
894
- msgid "Username"
895
- msgstr ""
896
-
897
- #: ../admin/logs.php:151 ../admin/logs.php:272 ../admin/logs.php:399
898
- #: ../admin/logs.php:521
899
- msgid "Status"
900
- msgstr ""
901
-
902
- #: ../admin/logs.php:152
903
- msgid "Post ID"
904
- msgstr ""
905
-
906
- #: ../admin/logs.php:153
907
- msgid "Post Title"
908
- msgstr ""
909
-
910
- #: ../admin/logs.php:154 ../admin/logs.php:276 ../admin/logs.php:402
911
- #: ../admin/logs.php:524
912
- msgid "Date / Time"
913
- msgstr ""
914
-
915
- #: ../admin/logs.php:155 ../admin/logs.php:277 ../admin/logs.php:403
916
- #: ../admin/logs.php:525
917
- msgid "IP"
918
- msgstr ""
919
-
920
- #: ../admin/logs.php:156 ../admin/logs.php:278 ../admin/logs.php:404
921
- #: ../admin/logs.php:526
922
- msgid "Actions"
923
- msgstr ""
924
-
925
- #: ../admin/logs.php:174 ../admin/logs.php:296 ../admin/logs.php:422
926
- #: ../admin/logs.php:544 ../admin/stats.php:198
927
- msgid "Guest User"
928
- msgstr ""
929
-
930
- #: ../admin/logs.php:219 ../admin/logs.php:345 ../admin/logs.php:468
931
- #: ../admin/logs.php:590
932
- msgid ""
933
- "<strong>ERROR:</strong> No Record Found. (This problem is created because "
934
- "you don't have any data on this table)"
935
- msgstr ""
936
-
937
- #: ../admin/logs.php:273
938
- msgid "Comment ID"
939
- msgstr ""
940
-
941
- #: ../admin/logs.php:274
942
- msgid "Comment Author"
943
- msgstr ""
944
-
945
- #: ../admin/logs.php:275
946
- msgid "Comment Text"
947
- msgstr ""
948
-
949
- #: ../admin/logs.php:400
950
- msgid "Activity ID"
951
- msgstr ""
952
-
953
- #: ../admin/logs.php:401
954
- msgid "Permalink"
955
- msgstr ""
956
-
957
- #: ../admin/logs.php:438
958
- #, php-format
959
- msgid "<a href=\"%1$s\">Activity Permalink</a>"
960
- msgstr ""
961
-
962
- #: ../admin/logs.php:522
963
- msgid "Topic ID"
964
- msgstr ""
965
-
966
- #: ../admin/logs.php:523
967
- msgid "Topic Title"
968
- msgstr ""
969
-
970
- #: ../admin/stats.php:30
971
- msgid "Welcome to WP ULike Statistics!"
972
- msgstr ""
973
-
974
- #: ../admin/stats.php:31
975
- msgid "We have provided some useful statistics tools in this page:"
976
- msgstr ""
977
-
978
- #: ../admin/stats.php:35
979
- msgid "Get Started"
980
- msgstr ""
981
-
982
- #: ../admin/stats.php:37
983
- msgid "or"
984
- msgstr ""
985
-
986
- #: ../admin/stats.php:40
987
- msgid "Other Tools"
988
- msgstr ""
989
-
990
- #: ../admin/stats.php:49
991
- msgid "Documentation"
992
- msgstr ""
993
-
994
- #: ../admin/stats.php:53
995
- msgid "Contact"
996
- msgstr ""
997
-
998
- #: ../admin/stats.php:54
999
- msgid "GitHub Repository"
1000
- msgstr ""
1001
-
1002
- #: ../admin/stats.php:80
1003
- msgid "Posts Likes Summary"
1004
- msgstr ""
1005
-
1006
- #: ../admin/stats.php:88
1007
- msgid "Comments Likes Summary"
1008
- msgstr ""
1009
-
1010
- #: ../admin/stats.php:96
1011
- msgid "Activities Likes Summary"
1012
- msgstr ""
1013
-
1014
- #: ../admin/stats.php:104
1015
- msgid "Topics Likes Summary"
1016
- msgstr ""
1017
-
1018
- #: ../admin/stats.php:114 ../admin/stats.php:344
1019
- msgid "Summary"
1020
- msgstr ""
1021
-
1022
- #: ../admin/stats.php:126
1023
- msgid "Total Likes"
1024
- msgstr ""
1025
-
1026
- #: ../admin/stats.php:138
1027
- msgid "Today"
1028
- msgstr ""
1029
-
1030
- #: ../admin/stats.php:143
1031
- msgid "Yesterday"
1032
- msgstr ""
1033
-
1034
- #: ../admin/stats.php:148
1035
- msgid "Week"
1036
- msgstr ""
1037
-
1038
- #: ../admin/stats.php:153
1039
- msgid "Month"
1040
- msgstr ""
1041
-
1042
- #: ../admin/stats.php:158
1043
- msgid "Total"
1044
- msgstr ""
1045
-
1046
- #: ../admin/stats.php:192 ../admin/stats.php:351
1047
- msgid "Top Likers"
1048
- msgstr ""
1049
-
1050
- #: ../admin/stats.php:227 ../admin/stats.php:233 ../admin/stats.php:239
1051
- #: ../admin/stats.php:245
1052
- msgid "View Logs"
1053
- msgstr ""
1054
-
1055
- #: ../admin/stats.php:228 ../admin/stats.php:345
1056
- msgid "Posts Likes Stats"
1057
- msgstr ""
1058
-
1059
- #: ../admin/stats.php:228 ../admin/stats.php:234 ../admin/stats.php:240
1060
- #: ../admin/stats.php:246 ../admin/stats.php:277
1061
- #, php-format
1062
- msgid "In The Last %s Days"
1063
- msgstr ""
1064
-
1065
- #: ../admin/stats.php:234 ../admin/stats.php:346
1066
- msgid "Comments Likes Stats"
1067
- msgstr ""
1068
-
1069
- #: ../admin/stats.php:240 ../admin/stats.php:347
1070
- msgid "Activities Likes Stats"
1071
- msgstr ""
1072
-
1073
- #: ../admin/stats.php:246 ../admin/stats.php:348
1074
- msgid "Topics Likes Stats"
1075
- msgstr ""
1076
-
1077
- #: ../admin/stats.php:277 ../admin/stats.php:349
1078
- msgid "Likes Percent"
1079
- msgstr ""
1080
-
1081
- #: ../admin/stats.php:341
1082
- msgid "Show on screen"
1083
- msgstr ""
1084
-
1085
- #: ../admin/stats.php:343
1086
- msgid "Welcome"
1087
- msgstr ""
1088
-
1089
- #: ../admin/stats.php:354
1090
- msgid "Days"
1091
- msgstr ""
1092
-
1093
- #: ../inc/classes/class-mycred.php:202
1094
- msgid "Points for Liking content"
1095
- msgstr ""
1096
-
1097
- #: ../inc/classes/class-mycred.php:209 ../inc/classes/class-mycred.php:226
1098
- msgid "Limit"
1099
- msgstr ""
1100
-
1101
- #: ../inc/classes/class-mycred.php:214 ../inc/classes/class-mycred.php:231
1102
- #: ../inc/classes/class-mycred.php:243 ../inc/classes/class-mycred.php:255
1103
- msgid "Log template"
1104
- msgstr ""
1105
-
1106
- #: ../inc/classes/class-mycred.php:219
1107
- msgid "Points for Author Who Get Liked"
1108
- msgstr ""
1109
-
1110
- #: ../inc/classes/class-mycred.php:236
1111
- msgid "Points for unliking content"
1112
- msgstr ""
1113
-
1114
- #: ../inc/classes/class-mycred.php:248
1115
- msgid "Points for Author Who Get Unliked"
1116
- msgstr ""
1117
-
1118
- #: ../inc/wp-functions.php:172
1119
- msgid "WP ULike Activity"
1120
- msgstr ""
1121
-
1122
- #: ../inc/wp-functions.php:303
1123
- msgid ""
1124
- "This hook award / deducts points from users who Like/Unlike any content of "
1125
- "WordPress, bbPress, BuddyPress & ..."
1126
- msgstr ""
1127
-
1128
- #: ../inc/wp-functions.php:311
1129
- msgid "Liking Content"
1130
- msgstr ""
1131
-
1132
- #: ../inc/wp-functions.php:312
1133
- msgid "Liked Content"
1134
- msgstr ""
1135
-
1136
- #: ../inc/wp-functions.php:313
1137
- msgid "Unliking Content"
1138
- msgstr ""
1139
-
1140
- #: ../inc/wp-functions.php:314
1141
- msgid "Unliked Content"
1142
- msgstr ""
1143
-
1144
- #: ../inc/wp-functions.php:336 ../inc/wp-functions.php:370
1145
- msgid "Recent Posts Liked"
1146
- msgstr ""
1147
-
1148
- #: ../inc/wp-functions.php:341 ../inc/wp-functions.php:410
1149
- msgid "Recent Comments Liked"
1150
- msgstr ""
1151
-
1152
- #: ../inc/wp-functions.php:386 ../inc/wp-functions.php:427
1153
- msgid "This user has not made any likes."
1154
- msgstr ""
1155
-
1156
- #: ../inc/wp-strings.php:3
1157
- msgid "Allow To Like"
1158
- msgstr ""
1159
-
1160
- #: ../inc/wp-strings.php:4
1161
- msgid "Guests Only"
1162
- msgstr ""
1163
-
1164
- #: ../inc/wp-strings.php:5
1165
- msgid "Registered Users Only"
1166
- msgstr ""
1167
-
1168
- #: ../inc/wp-strings.php:6
1169
- msgid "Registered Users And Guests"
1170
- msgstr ""
1171
-
1172
- #: ../inc/wp-strings.php:7
1173
- msgid "Who Is Allowed To Like?"
1174
- msgstr ""
1175
-
1176
- #: ../inc/wp-strings.php:8
1177
- msgid "Filter Options:"
1178
- msgstr ""
1179
-
1180
- #: ../inc/wp-strings.php:9
1181
- msgid "Sort Options:"
1182
- msgstr ""
1183
-
1184
- #: ../inc/wp-strings.php:11
1185
- msgid "Dislike"
1186
- msgstr ""
1187
-
1188
- #: ../inc/wp-strings.php:12
1189
- msgid "Dislike Support"
1190
- msgstr ""
1191
-
1192
- #: ../inc/wp-strings.php:13
1193
- msgid "Text After Dislike"
1194
- msgstr ""
1195
-
1196
- #: ../inc/wp-strings.php:14
1197
- msgid "Show Counter"
1198
- msgstr ""
1199
-
1200
- #: ../inc/wp-strings.php:15
1201
- msgid "Show tooltips"
1202
- msgstr ""
1203
-
1204
- #: ../inc/wp-strings.php:16
1205
- msgid "Alignment"
1206
- msgstr ""
1207
-
1208
- #: ../inc/wp-strings.php:17
1209
- msgid "Left"
1210
- msgstr ""
1211
-
1212
- #: ../inc/wp-strings.php:18
1213
- msgid "Center"
1214
- msgstr ""
1215
-
1216
- #: ../inc/wp-strings.php:19
1217
- msgid "Right"
1218
- msgstr ""
1219
-
1220
- #: ../inc/wp-strings.php:20
1221
- msgid "Cookie Life time"
1222
- msgstr ""
1223
-
1224
- #: ../inc/wp-strings.php:21
1225
- msgid "BuddyPress Notifications"
1226
- msgstr ""
1227
-
1228
- #: ../inc/wp-strings.php:22
1229
- msgid "Liker Attempts"
1230
- msgstr ""
1231
-
1232
- #: ../inc/wp-strings.php:23
1233
- msgid "Liked Users Box Style"
1234
- msgstr ""
1235
-
1236
- #: ../inc/wp-strings.php:24
1237
- msgid "Tooltip"
1238
- msgstr ""
1239
-
1240
- #: ../inc/wp-strings.php:29
1241
- msgid "Total Users Liked"
1242
- msgstr ""
1243
-
1244
- #: ../inc/wp-strings.php:30
1245
- msgid "Total Posts Liked"
1246
- msgstr ""
1247
-
1248
- #: ../inc/wp-strings.php:31
1249
- msgid "Total Comments Liked"
1250
- msgstr ""
1251
-
1252
- #: ../inc/wp-strings.php:32
1253
- msgid "Upvote"
1254
- msgstr ""
1255
-
1256
- #: ../inc/wp-strings.php:33
1257
- msgid "Downvote"
1258
- msgstr ""
1259
-
1260
- #: ../inc/wp-ulike.php:70 ../inc/wp-ulike.php:291
1261
- msgid "You need to login in order to like this post: "
1262
- msgstr ""
1263
-
1264
- #: ../inc/wp-ulike.php:70 ../inc/wp-ulike.php:142 ../inc/wp-ulike.php:219
1265
- #: ../inc/wp-ulike.php:291
1266
- msgid "click here"
1267
- msgstr ""
1268
-
1269
- #: ../inc/wp-ulike.php:142
1270
- msgid "You need to login in order to like this comment: "
1271
- msgstr ""
1272
-
1273
- #: ../inc/wp-ulike.php:219
1274
- msgid "You need to login in order to like this activity: "
1275
- msgstr ""
1276
-
1277
- #: ../inc/wp-ulike.php:343
1278
- msgid "Error: This Method Is Not Exist!"
1279
- msgstr ""
1280
-
1281
- #: ../wp-ulike.php:124
1282
- msgid "Settings"
1283
- msgstr ""
1284
-
1285
- #: ../wp-ulike.php:125
1286
- msgid "Statistics"
1287
- msgstr ""
1288
-
1289
- #: ../wp-ulike.php:126
1290
- msgid "About"
1291
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/{alimir-NO.mo → wp-ulike-NO.mo} RENAMED
File without changes
lang/{alimir-NO.po → wp-ulike-NO.po} RENAMED
File without changes
lang/{alimir-ar.mo → wp-ulike-ar.mo} RENAMED
File without changes
lang/{alimir-ar.po → wp-ulike-ar.po} RENAMED
File without changes
lang/{alimir-cs_CZ.mo → wp-ulike-cs_CZ.mo} RENAMED
File without changes
lang/{alimir-cs_CZ.po → wp-ulike-cs_CZ.po} RENAMED
File without changes
lang/{alimir-de_DE.mo → wp-ulike-de_DE.mo} RENAMED
File without changes
lang/{alimir-de_DE.po → wp-ulike-de_DE.po} RENAMED
File without changes
lang/{alimir-el.mo → wp-ulike-el.mo} RENAMED
File without changes
lang/{alimir-el.po → wp-ulike-el.po} RENAMED
File without changes
lang/{alimir-en_US.mo → wp-ulike-en_US.mo} RENAMED
File without changes
lang/{alimir-en_US.po → wp-ulike-en_US.po} RENAMED
File without changes
lang/{alimir-es_ES.mo → wp-ulike-es_ES.mo} RENAMED
File without changes
lang/{alimir-es_ES.po → wp-ulike-es_ES.po} RENAMED
File without changes
lang/wp-ulike-fa_IR.mo ADDED
Binary file
lang/{alimir-fa_IR.po → wp-ulike-fa_IR.po} RENAMED
@@ -1,21 +1,33 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
- "POT-Creation-Date: 2015-05-21 11:28+0330\n"
5
- "PO-Revision-Date: 2015-05-21 11:29+0330\n"
6
- "Last-Translator: Alimir <info@alimir.ir>\n"
7
  "Language-Team: alimir.ir <info@alimir.ir>\n"
8
  "Language: fa_IR\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.10\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPath-1: ..\n"
18
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  #: ../admin/about.php:107
20
  msgid "Welcome to WP ULike"
21
  msgstr "به وردپرس یولایک خوش آمدید"
@@ -36,37 +48,37 @@ msgstr "مشاهده صفحه افزونه"
36
  msgid "Version"
37
  msgstr "نسخه"
38
 
39
- #: ../admin/about.php:115
40
  msgid "Getting Started"
41
  msgstr "شروع "
42
 
43
- #: ../admin/about.php:116
44
  msgid "Credits"
45
  msgstr "دست‌اندرکاران"
46
 
47
- #: ../admin/about.php:117 ../admin/classes/class-settings.php:111
48
- #: ../admin/stats.php:51
49
  msgid "Support"
50
  msgstr "پشتیبانی"
51
 
52
- #: ../admin/about.php:118 ../admin/classes/class-settings.php:111
53
- #: ../admin/stats.php:52
54
  msgid "FAQ"
55
  msgstr "سؤالات متداول"
56
 
57
- #: ../admin/about.php:119
58
  msgid "Reviews"
59
  msgstr "امتیازدهی"
60
 
61
- #: ../admin/about.php:125
62
  msgid "Introducing WP ULike"
63
  msgstr "معرفی وردپرس یولاک"
64
 
65
- #: ../admin/about.php:132 ../admin/admin.php:179 ../admin/stats.php:36
66
  msgid "About WP ULike"
67
  msgstr "درباره وردپرس یولایک"
68
 
69
- #: ../admin/about.php:133 ../admin/classes/class-settings.php:46
70
  msgid ""
71
  "WP ULike plugin allows to integrate a beautiful Ajax Like Button into your "
72
  "wordPress website to allow your visitors to like and unlike pages, posts, "
@@ -80,119 +92,133 @@ msgstr ""
80
  "سفارشی سازی استایل ها و… تمامی قابلیت های یک سیستم خوب و حرفه ای رو در "
81
  "اختیار شما قرار میده."
82
 
83
- #: ../admin/about.php:155
84
  msgid "WP Ulike Extension"
85
  msgstr "گسترش وردپرس یولایک"
86
 
87
- #: ../admin/about.php:156
88
  msgid ""
89
  "Right now, WP ULike support wordpress posts / comments, BuddyPress "
90
  "activities & bbPress Topics."
91
  msgstr ""
 
 
92
 
93
- #: ../admin/about.php:165
94
  msgid "Added More Than 20 Language Files"
95
  msgstr "افزودن بیش از 20 فایل زبان جدید"
96
 
97
- #: ../admin/about.php:166
98
  msgid ""
99
  "WP ULike is already translated into +20 languages, with more always in "
100
  "progress."
101
  msgstr ""
 
 
102
 
103
- #: ../admin/about.php:175
104
  msgid "User Profile Links"
105
  msgstr "لینک به حساب های کاربری"
106
 
107
- #: ../admin/about.php:176
108
  msgid ""
109
  "Since WP ULike 2.3, We have synced the likers profile with BuddyPress & "
110
  "UltimateMember plugins."
111
  msgstr ""
 
 
 
112
 
113
- #: ../admin/about.php:185
114
  msgid "New Themes And Styles"
115
  msgstr "قالب ها و استایل های جدید"
116
 
117
- #: ../admin/about.php:186
118
  msgid ""
119
  "Since WP ULike 2.3, We have made some new styles and themes and you can "
120
  "customize them by your taste."
121
  msgstr ""
 
 
122
 
123
- #: ../admin/about.php:195
124
  msgid "myCRED Points Support"
125
  msgstr "پشتیبانی کامل از امتیازات myCRED"
126
 
127
- #: ../admin/about.php:196
128
  msgid ""
129
  "myCRED is an adaptive points management system that lets you award / charge "
130
  "your users for interacting with your WordPress."
131
  msgstr ""
 
 
 
132
 
133
- #: ../admin/about.php:205 ../admin/stats.php:175 ../admin/stats.php:350
134
  msgid "Likers World Map"
135
  msgstr "نقشه جهانی لایک کنندگان"
136
 
137
- #: ../admin/about.php:206
138
  msgid ""
139
  "Since WP ULike 2.3, We have made a new ability that you can track your "
140
  "likers by their country in the world map & Top Liker widget."
141
  msgstr ""
 
 
142
 
143
- #: ../admin/about.php:216 ../admin/admin.php:175 ../admin/stats.php:23
144
  msgid "WP ULike Statistics"
145
  msgstr "آماره وردپرس یولایک"
146
 
147
- #: ../admin/about.php:216 ../admin/classes/tmp/settings.php:103
148
  msgid "Home"
149
  msgstr "خانه"
150
 
151
- #: ../admin/about.php:216
152
  msgid "OR"
153
  msgstr "یا"
154
 
155
- #: ../admin/about.php:216 ../admin/admin.php:72
156
  msgid "WP ULike Settings"
157
  msgstr "تنظیمات وردپرس یولایک"
158
 
159
- #: ../admin/about.php:222
160
  msgid "WP ULike is created by many love and time. Enjoy it :)"
161
  msgstr ""
162
  "وردپرس یولایک با صرف کلی علاقه و زمان ساخته شده است. امیدواریم که از آن لذت "
163
  "ببرید :)"
164
 
165
- #: ../admin/about.php:223
166
  msgid "Project Leaders"
167
  msgstr "سازندگان اصلی"
168
 
169
- #: ../admin/about.php:228
170
  msgid "Project Lead & Developer"
171
  msgstr "راهبر پروژه، توسعه دهنده ارشد"
172
 
173
- #: ../admin/about.php:232
174
  msgid "Translations"
175
  msgstr "ترجمه ها"
176
 
177
- #: ../admin/about.php:271
178
  msgid "Would you like to help translate the plugin into more languages?"
179
  msgstr ""
180
  "آیا علاقه ای دارید که در ترجمه این افزونه به زبانهای دیگر با ما همکاری "
181
  "کنید؟!؟ "
182
 
183
- #: ../admin/about.php:271
184
  msgid "Join our WP-Translations Community"
185
  msgstr "به شبکه مترجمان ما بپیوندید"
186
 
187
- #: ../admin/about.php:273
188
  msgid "Other Plugins"
189
  msgstr "سایر افزونه ها"
190
 
191
- #: ../admin/about.php:292
192
  msgid "Like this plugin?"
193
  msgstr "این پلاگین چندتا لایک داره؟!؟ :)"
194
 
195
- #: ../admin/about.php:293
196
  msgid ""
197
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
198
  "wp-ulike\"> Plugin Directory reviews</a>"
@@ -200,185 +226,529 @@ msgstr ""
200
  "حمایتتون رو از این افزونه، با امتیاز 5 ستاره در <a href=\"http://wordpress."
201
  "org/plugins/wp-ulike\">مخزن وردپرس</a> مشخص کنید..."
202
 
203
- #: ../admin/admin.php:39
204
- #, php-format
205
- msgid ""
206
- " Thank you for choosing <a href=\"%s\" title=\"Wordpress ULike\" target="
207
- "\"_blank\">WP ULike</a>. Created by <a href=\"%s\" title=\"Wordpress ULike\" "
208
- "target=\"_blank\">Ali Mirzaei</a>"
209
- msgstr ""
210
- " ممنون از اينکه <a href=\"%s\" title=\"Wordpress ULike\" target=\"_blank"
211
- "\">وردپرس يولايک را</a> انتخاب کرده ايد. طراحي و کدنويسي توسط <a href=\"%s\" "
212
- "title=\"Wordpress ULike\" target=\"_blank\">علي ميرزائي</a>"
213
-
214
- #: ../admin/admin.php:75 ../inc/wp-functions.php:302
215
- msgid "WP ULike"
216
- msgstr "وردپرس یولایک"
217
-
218
- #: ../admin/admin.php:83
219
- msgid "Settings saved."
220
- msgstr "تنظیمات ذخیره شد"
221
 
222
- #: ../admin/admin.php:113 ../admin/admin.php:141
223
- msgid "Failed! An Error Has Occurred While Deleting All ULike Logs/Data"
224
- msgstr "خطا! مشکلی در عملیات حذف وقایع/داده ها وجود دارد"
225
 
226
- #: ../admin/admin.php:115 ../admin/admin.php:143
227
- msgid "Success! All ULike Logs/Data Have Been Deleted"
228
- msgstr "هووورا! همه وقایع/داده ها با موفقیت حذف شدند"
 
229
 
230
- #: ../admin/admin.php:159 ../admin/logs.php:139 ../admin/stats.php:42
231
  msgid "Post Likes Logs"
232
  msgstr "وقایع لایک در نوشتارها"
233
 
234
- #: ../admin/admin.php:163 ../admin/logs.php:260 ../admin/stats.php:43
235
- msgid "Comment Likes Logs"
236
- msgstr "وقایع لایک در دیدگاه ها"
237
-
238
- #: ../admin/admin.php:167 ../admin/logs.php:387 ../admin/stats.php:44
239
- msgid "Activity Likes Logs"
240
- msgstr "وقایع لایک در فعالیت ها"
241
 
242
- #: ../admin/admin.php:171 ../admin/logs.php:509 ../admin/stats.php:45
243
- msgid "Topics Likes Logs"
244
- msgstr "وقایع لایک در تاپیک ها"
 
245
 
246
- #: ../admin/classes/class-settings.php:17
247
- msgid "Custom Settings"
248
- msgstr "تنظیمات سفارشی"
 
249
 
250
- #: ../admin/classes/class-settings.php:28 ../admin/stats.php:355
251
- msgid "Save Settings"
252
- msgstr "ذخیره تغییرات"
253
 
254
- #: ../admin/classes/class-settings.php:29
255
- msgid "Reset Settings"
256
- msgstr "بازیابی تنظیمات"
257
 
258
- #: ../admin/classes/class-settings.php:44
259
- msgid "Similar Settings"
260
- msgstr "تنظیمات مشابه"
 
261
 
262
- #: ../admin/classes/class-settings.php:48
263
- #: ../admin/classes/tmp/settings.php:124 ../admin/classes/tmp/settings.php:215
264
- #: ../admin/classes/tmp/settings.php:362 ../admin/classes/tmp/settings.php:474
265
- msgid "Logging Method"
266
- msgstr "روش وقایع نگاری"
267
 
268
- #: ../admin/classes/class-settings.php:50
269
- msgid ""
270
- "If you select <strong>\"Do Not Log\"</strong> method: Any data logs can't "
271
- "save, There is no limitation in the like/dislike, unlike/undislike capacity "
272
- "do not work"
273
- msgstr ""
274
- "اگر گزینه <strong>\"بدون وقایع نگاری\"</strong> را انتخاب کنید: هیچ اطلاعات "
275
- "وقایعی ذخیره نمی شود، هیچ شرط محدود کننده ای برای لایک/دیسلایک بررسی نمی "
276
- "شود، قابلیت لغو لایک/دیسلایک وجود نخواهد داشت"
277
 
278
- #: ../admin/classes/class-settings.php:51
279
- msgid ""
280
- "If you select <strong>\"Logged By Cookie\"</strong> method: Any data logs "
281
- "can't save, The like/dislike condition will be limited by SetCookie, unlike/"
282
- "undislike capacity do not work"
283
- msgstr ""
284
- "اگر گزینه <strong>\"با کوکی\"</strong> را انتخاب کنید: هیچ اطلاعات وقایعی "
285
- "ذخیره نمی شود، شرط بررسی لایک/دیسلایک توسط کوکی محدود می شود، قابلیت لغو "
286
- "لایک/دیسلایک وجود نخواهد داشت"
287
 
288
- #: ../admin/classes/class-settings.php:52
 
289
  msgid ""
290
- "If you select <strong>\"Logged By IP\"</strong> method: Data logs will save "
291
- "for all users, the convey of like/dislike condition will check by user IP"
292
  msgstr ""
293
- "اگر گزینه <strong>\"با آی پی\"</strong> را انتخاب کنید: اطلاعات وقایع همه ی "
294
- "کاربران ذخیره می شود، شرط بررسی لایک/دیسلایک فقط توسط آی پی انجام میگیرد"
295
 
296
- #: ../admin/classes/class-settings.php:53
297
- msgid ""
298
- "If you select <strong>\"Logged By Cookie & IP\"</strong> method: Data logs "
299
- "will save for all users, the convey of like/dislike condition will check by "
300
- "user IP & SetCookie"
301
- msgstr ""
302
- "اگر گزینه <strong>\"با کوکی و آی پی\"</strong> را انتخاب کنید: اطلاعات وقایع "
303
- "همه ی کاربران ذخیره می شود، شرط بررسی لایک/دیسلایک توسط کوکی و آی پی انجام "
304
- "میگیرد"
305
 
306
- #: ../admin/classes/class-settings.php:54
307
- msgid ""
308
- "If you select <strong>\"Logged By Username\"</strong> method: data logs only "
309
- "is saved for registered users, the convey of like/dislike condition will "
310
- "check by username, There is no permission for guest users to unlike/undislike"
311
- msgstr ""
312
- "اگر گزینه <strong>\"با نام کاربری\"</strong> را انتخاب کنید: اطلاعات وقایع "
313
- "تنها برای کابران عضو ذخیره می شود، شرط بررسی لایک/دیسلایک توسط نام کاربری "
314
- "انجام میگیرد، کاربران مهمان اجازه لغو لایک/دیسلایک را نخواهند داشت"
315
 
316
- #: ../admin/classes/class-settings.php:57
317
- msgid "Template Variables"
318
- msgstr "تمپلیت متغیرها"
319
 
320
- #: ../admin/classes/class-settings.php:59
321
- msgid "Start the loop of logs"
322
- msgstr "شروع حلقه وقایع"
323
 
324
- #: ../admin/classes/class-settings.php:59
325
- #: ../admin/classes/class-settings.php:60
326
- msgid "required"
327
- msgstr "لازم"
328
 
329
- #: ../admin/classes/class-settings.php:60
330
- msgid "End of the while loop"
331
- msgstr "پایان حلقه وقایع"
332
 
333
- #: ../admin/classes/class-settings.php:61
334
- #: ../admin/classes/class-settings.php:65
335
- #: ../admin/classes/class-settings.php:69
336
- msgid "Display the liker name"
337
- msgstr "نمایش نام کاربر لایک کرده"
338
 
339
- #: ../admin/classes/class-settings.php:62
340
- msgid "Display the liker avatar (By Gravatar)"
341
- msgstr "نمایش آواتار کاربر لایک کرده (توسط Gravatar)"
 
342
 
343
- #: ../admin/classes/class-settings.php:63
344
- msgid "Display the BuddyPress user profile url"
345
- msgstr "نمایش پیوند مربوط به پروفایل های بادی پرس"
346
 
347
- #: ../admin/classes/class-settings.php:64
348
- msgid "Display the UltimateMemebr user profile url"
349
- msgstr "نمایش پیوند مربوط به پروفایل های افزونه UltimateMemebr"
350
 
351
- #: ../admin/classes/class-settings.php:66
352
- msgid "Display the permalink"
353
- msgstr "نمایش پیوند ارجاعی"
354
 
355
- #: ../admin/classes/class-settings.php:67
356
- #: ../admin/classes/class-settings.php:71
357
- msgid "Display the likes count number"
358
- msgstr "نمایش شمارنده تعداد لایک ها"
359
 
360
- #: ../admin/classes/class-settings.php:68
361
- msgid "Display the post title"
362
- msgstr "نمایش عنوان نوشته"
 
363
 
364
- #: ../admin/classes/class-settings.php:70
365
- msgid "Display the comment author name"
366
- msgstr "نمایش نام نویسنده دیدگاه"
367
 
368
- #: ../admin/classes/class-settings.php:79 ../admin/classes/tmp/settings.php:72
369
- msgid "Posts"
370
- msgstr "نوشته ها"
371
 
372
- #: ../admin/classes/class-settings.php:81
373
- #: ../admin/classes/class-settings.php:90
374
- #: ../admin/classes/class-settings.php:98
375
- #: ../admin/classes/class-settings.php:106
376
- #: ../admin/classes/tmp/settings.php:86 ../admin/classes/tmp/settings.php:192
377
- #: ../admin/classes/tmp/settings.php:340 ../admin/classes/tmp/settings.php:452
378
- msgid "Automatic display"
379
- msgstr "نمایش خودکار"
380
 
381
- #: ../admin/classes/class-settings.php:81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
  msgid ""
383
  "If you disable this option, you have to put manually this code on wordpress "
384
  "while loop"
@@ -391,7 +761,7 @@ msgstr ""
391
  #: ../admin/classes/class-settings.php:98
392
  #: ../admin/classes/class-settings.php:106
393
  #: ../admin/classes/tmp/settings.php:155 ../admin/classes/tmp/settings.php:246
394
- #: ../admin/classes/tmp/settings.php:393 ../admin/classes/tmp/settings.php:505
395
  msgid "Users Like Box Template"
396
  msgstr "قالب جعبه لایک کاربران"
397
 
@@ -425,11 +795,6 @@ msgstr ""
425
  msgid "Users who have LIKED this comment:"
426
  msgstr "کاربرانی که این دیدگاه را پسندیده اند:"
427
 
428
- #: ../admin/classes/class-settings.php:96
429
- #: ../admin/classes/class-widget.php:314 ../admin/classes/tmp/settings.php:326
430
- msgid "BuddyPress"
431
- msgstr "بادی پرس"
432
-
433
  #: ../admin/classes/class-settings.php:98
434
  #: ../admin/classes/class-settings.php:106
435
  msgid ""
@@ -441,22 +806,22 @@ msgstr ""
441
 
442
  #: ../admin/classes/class-settings.php:98
443
  #: ../admin/classes/class-settings.php:106
444
- #: ../admin/classes/tmp/settings.php:392
445
  msgid "Users who have liked this activity:"
446
  msgstr "کاربرانی که این فعالیت را پسندیده اند:"
447
 
448
  #: ../admin/classes/class-settings.php:98
449
- #: ../admin/classes/tmp/settings.php:406
450
  msgid "Post Activity Text"
451
  msgstr "متن فعالیت مطالب"
452
 
453
  #: ../admin/classes/class-settings.php:98
454
- #: ../admin/classes/tmp/settings.php:412
455
  msgid "Comment Activity Text"
456
  msgstr "متن فعالیت دیدگاه ها"
457
 
458
  #: ../admin/classes/class-settings.php:104
459
- #: ../admin/classes/tmp/settings.php:438
460
  msgid "bbPress"
461
  msgstr "بی بی پرس"
462
 
@@ -479,117 +844,19 @@ msgstr "آیا از بازیابی تنظیمات پیشفرض مطمئن هست
479
  msgid "No options defined."
480
  msgstr "هیچ تنظیماتی تعریف نشده است."
481
 
482
- #: ../admin/classes/class-settings.php:334
483
- #, php-format
484
- msgid "Select %s"
485
- msgstr "انتخاب %s"
486
-
487
- #: ../admin/classes/class-settings.php:335
488
- #, php-format
489
- msgid "Remove %s"
490
- msgstr "حذف %s"
491
-
492
- #: ../admin/classes/class-settings.php:359
493
- msgid "No action defined."
494
- msgstr "هیچ کاری تعریف نشده است."
495
-
496
- #: ../admin/classes/class-widget.php:11
497
- msgid "WP Ulike Widget"
498
- msgstr "ابزارک یولایک"
499
-
500
- #: ../admin/classes/class-widget.php:12
501
- msgid ""
502
- "An advanced widget that gives you all most liked records with different types"
503
- msgstr ""
504
- "یک ابزارک ساده و کاربردی برای نمایش بیشترین لایک شده ها در چندین نوع مختلف"
505
-
506
- #: ../admin/classes/class-widget.php:79
507
- msgid "you haven't liked any post yet!"
508
- msgstr "شما هنوز هیچ نوشته ای را لایک نکرده اید! :("
509
-
510
- #: ../admin/classes/class-widget.php:126
511
- msgid "on"
512
- msgstr "در"
513
-
514
- #: ../admin/classes/class-widget.php:202 ../admin/classes/tmp/settings.php:23
515
- #: ../admin/classes/tmp/settings.php:24 ../admin/classes/tmp/settings.php:32
516
- #: ../admin/stats.php:205
517
- msgid "Like"
518
- msgstr "لایک"
519
-
520
- #: ../admin/classes/class-widget.php:266
521
- msgid "Most Liked"
522
- msgstr "بیشترین لایک شده ها"
523
-
524
- #: ../admin/classes/class-widget.php:270
525
- msgid "Title:"
526
- msgstr "عنوان:"
527
-
528
- #: ../admin/classes/class-widget.php:275
529
- msgid "Type:"
530
- msgstr "نوع:"
531
-
532
- #: ../admin/classes/class-widget.php:277 ../inc/wp-strings.php:26
533
- msgid "Most Liked Posts"
534
- msgstr "پرلایک ترین مطالب"
535
-
536
- #: ../admin/classes/class-widget.php:278 ../inc/wp-strings.php:27
537
- msgid "Most Liked Comments"
538
- msgstr "پرلایک ترین دیدگاه ها"
539
-
540
- #: ../admin/classes/class-widget.php:279
541
- msgid "Most Liked Activities"
542
- msgstr "پرلایک ترین فعالیت ها"
543
-
544
- #: ../admin/classes/class-widget.php:280 ../inc/wp-strings.php:28
545
- msgid "Most Liked Users"
546
- msgstr "پرلایک ترین کاربران"
547
-
548
- #: ../admin/classes/class-widget.php:281
549
- msgid "Last Posts Liked By User"
550
- msgstr "آخرین مطالب لایک شده توسط کاربر"
551
-
552
- #: ../admin/classes/class-widget.php:286
553
- msgid "Style:"
554
- msgstr "قالب:"
555
-
556
- #: ../admin/classes/class-widget.php:288
557
- msgid "Simple"
558
- msgstr "ساده"
559
-
560
- #: ../admin/classes/class-widget.php:289 ../admin/classes/tmp/settings.php:80
561
- #: ../admin/classes/tmp/settings.php:186 ../admin/classes/tmp/settings.php:334
562
- #: ../admin/classes/tmp/settings.php:446
563
- msgid "Heart"
564
- msgstr "قلب"
565
-
566
- #: ../admin/classes/class-widget.php:294
567
- msgid "Title Trim (Length):"
568
- msgstr "برش عنوان (طول):"
569
-
570
- #: ../admin/classes/class-widget.php:300
571
- msgid "Number of items to show:"
572
- msgstr "تعداد آیتم ها:"
573
-
574
- #: ../admin/classes/class-widget.php:306
575
- msgid "Thumbnail/Avatar size:"
576
- msgstr "سایز تصویرشاخص/آواتار:"
577
-
578
- #: ../admin/classes/class-widget.php:312
579
- msgid "Profile URL:"
580
- msgstr "لینک پروفایل به:"
581
-
582
- #: ../admin/classes/class-widget.php:315
583
- msgid "UltimateMember"
584
- msgstr "افزونه UltimateMember"
585
 
586
- #: ../admin/classes/class-widget.php:321
587
- msgid "Activate Like Counter"
588
- msgstr "فعال سازی شمارنده"
 
589
 
590
- #: ../admin/classes/class-widget.php:326
591
- msgid "Activate Thumbnail/Avatar"
592
- msgstr "فعال سازی تصویرشاخص/آواتار"
593
 
594
  #: ../admin/classes/tmp/settings.php:11
595
  msgid "General"
@@ -662,9 +929,9 @@ msgstr "فرمت اعداد"
662
  #: ../admin/classes/tmp/settings.php:193 ../admin/classes/tmp/settings.php:209
663
  #: ../admin/classes/tmp/settings.php:228 ../admin/classes/tmp/settings.php:275
664
  #: ../admin/classes/tmp/settings.php:341 ../admin/classes/tmp/settings.php:356
665
- #: ../admin/classes/tmp/settings.php:375 ../admin/classes/tmp/settings.php:400
666
- #: ../admin/classes/tmp/settings.php:453 ../admin/classes/tmp/settings.php:468
667
- #: ../admin/classes/tmp/settings.php:487
668
  msgid "Activate"
669
  msgstr "فعال سازی"
670
 
@@ -675,29 +942,29 @@ msgstr ""
675
  "(کیلوبایت) نمایش دهید."
676
 
677
  #: ../admin/classes/tmp/settings.php:77 ../admin/classes/tmp/settings.php:183
678
- #: ../admin/classes/tmp/settings.php:331 ../admin/classes/tmp/settings.php:443
679
  #: ../inc/wp-strings.php:10
680
  msgid "Themes"
681
  msgstr "قالب ها"
682
 
683
  #: ../admin/classes/tmp/settings.php:79 ../admin/classes/tmp/settings.php:185
684
- #: ../admin/classes/tmp/settings.php:333 ../admin/classes/tmp/settings.php:445
685
  #: ../inc/wp-strings.php:25
686
  msgid "Default"
687
  msgstr "پیشفرض"
688
 
689
  #: ../admin/classes/tmp/settings.php:91 ../admin/classes/tmp/settings.php:197
690
- #: ../admin/classes/tmp/settings.php:345 ../admin/classes/tmp/settings.php:457
691
  msgid "Auto Display Position"
692
  msgstr "محل قرار گیری در نمایش خودکار"
693
 
694
  #: ../admin/classes/tmp/settings.php:94 ../admin/classes/tmp/settings.php:200
695
- #: ../admin/classes/tmp/settings.php:460
696
  msgid "Top of Content"
697
  msgstr "بالای محتوا"
698
 
699
  #: ../admin/classes/tmp/settings.php:95 ../admin/classes/tmp/settings.php:201
700
- #: ../admin/classes/tmp/settings.php:461
701
  msgid "Bottom of Content"
702
  msgstr "پایین محتوا"
703
 
@@ -743,7 +1010,7 @@ msgstr ""
743
  "شما می توانید بر روی این صفحات فیلتر گذاری کنید تا دکمه لایک نمایش داده نشود"
744
 
745
  #: ../admin/classes/tmp/settings.php:117 ../admin/classes/tmp/settings.php:208
746
- #: ../admin/classes/tmp/settings.php:355 ../admin/classes/tmp/settings.php:467
747
  msgid "Only registered Users"
748
  msgstr "محدودسازی لایک کاربران"
749
 
@@ -754,431 +1021,213 @@ msgstr ""
754
  "مطالب را لایک کنند."
755
 
756
  #: ../admin/classes/tmp/settings.php:126 ../admin/classes/tmp/settings.php:217
757
- #: ../admin/classes/tmp/settings.php:364 ../admin/classes/tmp/settings.php:476
758
  msgid "Do Not Log"
759
  msgstr "وقایع نگاری نکن"
760
 
761
  #: ../admin/classes/tmp/settings.php:127 ../admin/classes/tmp/settings.php:218
762
- #: ../admin/classes/tmp/settings.php:365 ../admin/classes/tmp/settings.php:477
763
  msgid "Logged By Cookie"
764
  msgstr "با کوکی"
765
 
766
  #: ../admin/classes/tmp/settings.php:128 ../admin/classes/tmp/settings.php:219
767
- #: ../admin/classes/tmp/settings.php:366 ../admin/classes/tmp/settings.php:478
768
  msgid "Logged By IP"
769
  msgstr "با آی پی"
770
 
771
  #: ../admin/classes/tmp/settings.php:129 ../admin/classes/tmp/settings.php:220
772
- #: ../admin/classes/tmp/settings.php:367 ../admin/classes/tmp/settings.php:479
773
  msgid "Logged By Cookie & IP"
774
  msgstr "با کوکی و آی پی"
775
 
776
  #: ../admin/classes/tmp/settings.php:130 ../admin/classes/tmp/settings.php:221
777
- #: ../admin/classes/tmp/settings.php:368 ../admin/classes/tmp/settings.php:480
778
  msgid "Logged By Username"
779
  msgstr "با نام کاربری"
780
 
781
  #: ../admin/classes/tmp/settings.php:136 ../admin/classes/tmp/settings.php:227
782
- #: ../admin/classes/tmp/settings.php:374 ../admin/classes/tmp/settings.php:486
783
  msgid "Show Liked Users Box"
784
  msgstr "نمایش باکس کاربران لایک کرده"
785
 
786
- #: ../admin/classes/tmp/settings.php:138 ../admin/classes/tmp/settings.php:229
787
- #: ../admin/classes/tmp/settings.php:376 ../admin/classes/tmp/settings.php:488
788
- msgid ""
789
- "Active this option to show liked users avatars in the bottom of button like."
790
- msgstr ""
791
- "با فعال سازی این گزینه، می توانید آواتار کاربران لایک کرده، را در زیر دکمه "
792
- "لایک، نمایش دهید."
793
-
794
- #: ../admin/classes/tmp/settings.php:143 ../admin/classes/tmp/settings.php:234
795
- #: ../admin/classes/tmp/settings.php:381 ../admin/classes/tmp/settings.php:493
796
- msgid "Size of Gravatars"
797
- msgstr "سایز آوتار"
798
-
799
- #: ../admin/classes/tmp/settings.php:144 ../admin/classes/tmp/settings.php:235
800
- #: ../admin/classes/tmp/settings.php:382 ../admin/classes/tmp/settings.php:494
801
- msgid "Size of Gravatars to return (max is 512)"
802
- msgstr "سایز تصاویر گراواتار (بیشترین اندازه 512)"
803
-
804
- #: ../admin/classes/tmp/settings.php:149 ../admin/classes/tmp/settings.php:240
805
- #: ../admin/classes/tmp/settings.php:387 ../admin/classes/tmp/settings.php:499
806
- msgid "Number Of The Users"
807
- msgstr "تعداد کاربران قابل نمایش"
808
-
809
- #: ../admin/classes/tmp/settings.php:150 ../admin/classes/tmp/settings.php:241
810
- #: ../admin/classes/tmp/settings.php:388 ../admin/classes/tmp/settings.php:500
811
- msgid "The number of users to show in the users liked box"
812
- msgstr "حداکثر چند کاربر در باکس لایک کنندگان، نمایش داده شوند؟!؟"
813
-
814
- #: ../admin/classes/tmp/settings.php:156 ../admin/classes/tmp/settings.php:247
815
- #: ../admin/classes/tmp/settings.php:394 ../admin/classes/tmp/settings.php:407
816
- #: ../admin/classes/tmp/settings.php:413 ../admin/classes/tmp/settings.php:506
817
- msgid "Allowed Variables:"
818
- msgstr "متغیرهای قابل استفاده:"
819
-
820
- #: ../admin/classes/tmp/settings.php:160 ../admin/classes/tmp/settings.php:251
821
- #: ../admin/classes/tmp/settings.php:417 ../admin/classes/tmp/settings.php:510
822
- msgid "Delete All Logs"
823
- msgstr "حذف تمام وقایع"
824
-
825
- #: ../admin/classes/tmp/settings.php:161 ../admin/classes/tmp/settings.php:252
826
- #: ../admin/classes/tmp/settings.php:418 ../admin/classes/tmp/settings.php:511
827
- msgid "You Are About To Delete All Likes Logs. This Action Is Not Reversible."
828
- msgstr ""
829
- "شما قصد دارید که تمامی \"وقایع\" ثبت شده را حذف کنید! این عمل برگشت نا پذیر "
830
- "است."
831
-
832
- #: ../admin/classes/tmp/settings.php:166 ../admin/classes/tmp/settings.php:257
833
- #: ../admin/classes/tmp/settings.php:423 ../admin/classes/tmp/settings.php:516
834
- msgid "Delete All Data"
835
- msgstr "حذف تمام داده ها"
836
-
837
- #: ../admin/classes/tmp/settings.php:167 ../admin/classes/tmp/settings.php:258
838
- #: ../admin/classes/tmp/settings.php:424 ../admin/classes/tmp/settings.php:517
839
- msgid "You Are About To Delete All Likes Data. This Action Is Not Reversible."
840
- msgstr ""
841
- "شما قصد دارید که تمامی \"داده ها\" ثبت شده را حذف کنید! این عمل برگشت نا "
842
- "پذیر است."
843
-
844
- #: ../admin/classes/tmp/settings.php:210
845
- msgid ""
846
- "<strong>Only</strong> registered users have permission to like comments."
847
- msgstr ""
848
- "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
849
- "دیدگاه ها را لایک کنند."
850
-
851
- #: ../admin/classes/tmp/settings.php:269
852
- msgid "Customize"
853
- msgstr "سفارشی سازی"
854
-
855
- #: ../admin/classes/tmp/settings.php:274
856
- msgid "Custom Style"
857
- msgstr "سفارشی سازی"
858
-
859
- #: ../admin/classes/tmp/settings.php:279
860
- msgid "Active this option to see the custom style settings."
861
- msgstr ""
862
- "با فعال سازی این گزینه، می توانید استایل سفارشی خود را در افزونه به کار "
863
- "ببرید."
864
-
865
- #: ../admin/classes/tmp/settings.php:283
866
- msgid "Button style"
867
- msgstr "دکمه لایک"
868
-
869
- #: ../admin/classes/tmp/settings.php:284 ../admin/classes/tmp/settings.php:297
870
- msgid "Background"
871
- msgstr "رنگ پس زمینه"
872
-
873
- #: ../admin/classes/tmp/settings.php:288 ../admin/classes/tmp/settings.php:301
874
- msgid "Border Color"
875
- msgstr "رنگ حاشیه"
876
-
877
- #: ../admin/classes/tmp/settings.php:292 ../admin/classes/tmp/settings.php:305
878
- msgid "Text Color"
879
- msgstr "رنگ متن"
880
-
881
- #: ../admin/classes/tmp/settings.php:296
882
- msgid "Counter Style"
883
- msgstr "باکس شمارنده"
884
-
885
- #: ../admin/classes/tmp/settings.php:309
886
- msgid "Loading Animation"
887
- msgstr "انیمیشن بارگذاری"
888
-
889
- #: ../admin/classes/tmp/settings.php:314
890
- msgid "Custom CSS"
891
- msgstr "سفارشی سازی css"
892
-
893
- #: ../admin/classes/tmp/settings.php:348
894
- msgid "Activity Content"
895
- msgstr "در متن فعالیت"
896
-
897
- #: ../admin/classes/tmp/settings.php:349
898
- msgid "Activity Meta"
899
- msgstr "در متاباکس فعالیت"
900
-
901
- #: ../admin/classes/tmp/settings.php:357
902
- msgid ""
903
- "<strong>Only</strong> registered users have permission to like activities."
904
- msgstr ""
905
- "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
906
- "فعالیت های بادی پرس را لایک کنند."
907
-
908
- #: ../admin/classes/tmp/settings.php:399
909
- msgid "BuddyPress Activity"
910
- msgstr "فعالیت های بادی پرس"
911
-
912
- #: ../admin/classes/tmp/settings.php:401
913
- msgid "insert new likes in buddyPress activity page"
914
- msgstr ""
915
- "با فعال سازی این گزینه، اطلاعات جدیدترین لایک ها به بخش فعالیت های بادی پرس "
916
- "اضافه خواهد شد."
917
-
918
- #: ../admin/classes/tmp/settings.php:469
919
- msgid "<strong>Only</strong> registered users have permission to like Topics."
920
- msgstr ""
921
- "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
922
- "تاپیک ها را لایک کنند."
923
-
924
- #: ../admin/classes/tmp/settings.php:504
925
- msgid "Users who have liked this topic:"
926
- msgstr "کاربرانی که این تاپیک را پسندیده اند:"
927
-
928
- #: ../admin/logs.php:17 ../admin/logs.php:142 ../admin/logs.php:212
929
- #: ../admin/logs.php:263 ../admin/logs.php:337 ../admin/logs.php:390
930
- #: ../admin/logs.php:460 ../admin/logs.php:512 ../admin/logs.php:582
931
- msgid "Logs"
932
- msgstr "وقایع"
933
-
934
- #: ../admin/logs.php:80
935
- msgid "Are you sure to remove this item?!"
936
- msgstr "آیا از حذف این آیتم اطمینان دارید؟!"
937
-
938
- #: ../admin/logs.php:138 ../admin/logs.php:259 ../admin/logs.php:386
939
- #: ../admin/logs.php:508
940
- msgid "WP ULike Logs"
941
- msgstr "وقایع اتفاقیه در وردپرس یولایک"
942
-
943
- #: ../admin/logs.php:149 ../admin/logs.php:270 ../admin/logs.php:397
944
- #: ../admin/logs.php:519
945
- msgid "ID"
946
- msgstr "شناسه"
947
-
948
- #: ../admin/logs.php:150 ../admin/logs.php:271 ../admin/logs.php:398
949
- #: ../admin/logs.php:520
950
- msgid "Username"
951
- msgstr "نام کاربری"
952
-
953
- #: ../admin/logs.php:151 ../admin/logs.php:272 ../admin/logs.php:399
954
- #: ../admin/logs.php:521
955
- msgid "Status"
956
- msgstr "وضعیت"
957
-
958
- #: ../admin/logs.php:152
959
- msgid "Post ID"
960
- msgstr "شناسه نوشتار"
961
-
962
- #: ../admin/logs.php:153
963
- msgid "Post Title"
964
- msgstr "عنوان نوشتار"
965
-
966
- #: ../admin/logs.php:154 ../admin/logs.php:276 ../admin/logs.php:402
967
- #: ../admin/logs.php:524
968
- msgid "Date / Time"
969
- msgstr "تاریخ / زمان"
970
-
971
- #: ../admin/logs.php:155 ../admin/logs.php:277 ../admin/logs.php:403
972
- #: ../admin/logs.php:525
973
- msgid "IP"
974
- msgstr "آدرس IP"
975
-
976
- #: ../admin/logs.php:156 ../admin/logs.php:278 ../admin/logs.php:404
977
- #: ../admin/logs.php:526
978
- msgid "Actions"
979
- msgstr "کارها"
980
-
981
- #: ../admin/logs.php:174 ../admin/logs.php:296 ../admin/logs.php:422
982
- #: ../admin/logs.php:544 ../admin/stats.php:198
983
- msgid "Guest User"
984
- msgstr "کاربر مهمان"
985
-
986
- #: ../admin/logs.php:219 ../admin/logs.php:345 ../admin/logs.php:468
987
- #: ../admin/logs.php:590
988
- msgid ""
989
- "<strong>ERROR:</strong> No Record Found. (This problem is created because "
990
- "you don't have any data on this table)"
991
- msgstr ""
992
- "<strong>خطا:</strong> چیزی یافت نشد. (این مشکل به خاطر این مسأله ایجاد شده "
993
- "است که شما هیچ اطلاعاتی را در این جدول ندارید)"
994
-
995
- #: ../admin/logs.php:273
996
- msgid "Comment ID"
997
- msgstr "شناسه دیدگاه"
998
-
999
- #: ../admin/logs.php:274
1000
- msgid "Comment Author"
1001
- msgstr "نویسنده دیدگاه"
1002
-
1003
- #: ../admin/logs.php:275
1004
- msgid "Comment Text"
1005
- msgstr "متن دیدگاه"
1006
-
1007
- #: ../admin/logs.php:400
1008
- msgid "Activity ID"
1009
- msgstr "شناسه فعالیت"
1010
-
1011
- #: ../admin/logs.php:401
1012
- msgid "Permalink"
1013
- msgstr "لینک همیشگی"
1014
-
1015
- #: ../admin/logs.php:438
1016
- #, php-format
1017
- msgid "<a href=\"%1$s\">Activity Permalink</a>"
1018
- msgstr "<a href=\"%1$s\">مشاهده فعالیت</a>"
1019
-
1020
- #: ../admin/logs.php:522
1021
- msgid "Topic ID"
1022
- msgstr "شناسه تاپیک"
1023
-
1024
- #: ../admin/logs.php:523
1025
- msgid "Topic Title"
1026
- msgstr "عنوان تاپیک"
1027
-
1028
- #: ../admin/stats.php:30
1029
- msgid "Welcome to WP ULike Statistics!"
1030
- msgstr "به آماره وردپرس یولایک خوش آمدید!"
1031
-
1032
- #: ../admin/stats.php:31
1033
- msgid "We have provided some useful statistics tools in this page:"
1034
  msgstr ""
1035
- "در این بخش، ما مجموعه ای از ابزارهای کاربردی را برای شما آماده کرده ایم:"
 
1036
 
1037
- #: ../admin/stats.php:35
1038
- msgid "Get Started"
1039
- msgstr "آغاز کنید"
 
1040
 
1041
- #: ../admin/stats.php:37
1042
- msgid "or"
1043
- msgstr "یا"
 
1044
 
1045
- #: ../admin/stats.php:40
1046
- msgid "Other Tools"
1047
- msgstr "سایر ابزارها"
 
1048
 
1049
- #: ../admin/stats.php:49
1050
- msgid "Documentation"
1051
- msgstr "مستندات"
 
1052
 
1053
- #: ../admin/stats.php:53
1054
- msgid "Contact"
1055
- msgstr "تماس با ما"
 
 
1056
 
1057
- #: ../admin/stats.php:54
1058
- msgid "GitHub Repository"
1059
- msgstr "مخزن گیت هاب"
 
1060
 
1061
- #: ../admin/stats.php:80
1062
- msgid "Posts Likes Summary"
1063
- msgstr "خلاصه لایک در نوشتارها"
 
 
 
1064
 
1065
- #: ../admin/stats.php:88
1066
- msgid "Comments Likes Summary"
1067
- msgstr "خلاصه لایک در دیدگاه ها"
 
1068
 
1069
- #: ../admin/stats.php:96
1070
- msgid "Activities Likes Summary"
1071
- msgstr "خلاصه لایک در فعالیت ها"
 
 
 
1072
 
1073
- #: ../admin/stats.php:104
1074
- msgid "Topics Likes Summary"
1075
- msgstr "خلاصه لایک در تاپیک ها"
 
 
 
1076
 
1077
- #: ../admin/stats.php:114 ../admin/stats.php:344
1078
- msgid "Summary"
1079
- msgstr "خلاصه"
1080
 
1081
- #: ../admin/stats.php:126
1082
- msgid "Total Likes"
1083
- msgstr "مجموع کل لایک ها"
1084
 
1085
- #: ../admin/stats.php:138
1086
- msgid "Today"
1087
- msgstr "امروز"
 
 
1088
 
1089
- #: ../admin/stats.php:143
1090
- msgid "Yesterday"
1091
- msgstr "دیروز"
1092
 
1093
- #: ../admin/stats.php:148
1094
- msgid "Week"
1095
- msgstr "هفته"
1096
 
1097
- #: ../admin/stats.php:153
1098
- msgid "Month"
1099
- msgstr "ماه"
1100
 
1101
- #: ../admin/stats.php:158
1102
- msgid "Total"
1103
- msgstr "کل"
1104
 
1105
- #: ../admin/stats.php:192 ../admin/stats.php:351
1106
- msgid "Top Likers"
1107
- msgstr "برترین لایک کنندگان"
1108
 
1109
- #: ../admin/stats.php:227 ../admin/stats.php:233 ../admin/stats.php:239
1110
- #: ../admin/stats.php:245
1111
- msgid "View Logs"
1112
- msgstr "مشاهده وقایع"
1113
 
1114
- #: ../admin/stats.php:228 ../admin/stats.php:345
1115
- msgid "Posts Likes Stats"
1116
- msgstr "نمودار لایک در نوشتارها"
1117
 
1118
- #: ../admin/stats.php:228 ../admin/stats.php:234 ../admin/stats.php:240
1119
- #: ../admin/stats.php:246 ../admin/stats.php:277
1120
- #, php-format
1121
- msgid "In The Last %s Days"
1122
- msgstr "در %s روز گذشته"
1123
 
1124
- #: ../admin/stats.php:234 ../admin/stats.php:346
1125
- msgid "Comments Likes Stats"
1126
- msgstr "نمودار لایک در دیدگاه ها"
1127
 
1128
- #: ../admin/stats.php:240 ../admin/stats.php:347
1129
- msgid "Activities Likes Stats"
1130
- msgstr "نمودار لایک در فعالیت ها"
1131
 
1132
- #: ../admin/stats.php:246 ../admin/stats.php:348
1133
- msgid "Topics Likes Stats"
1134
- msgstr "نمودار لایک در تاپیک ها"
 
 
1135
 
1136
- #: ../admin/stats.php:277 ../admin/stats.php:349
1137
- msgid "Likes Percent"
1138
- msgstr "درصد تخصیص لایک ها"
 
 
 
1139
 
1140
- #: ../admin/stats.php:341
1141
- msgid "Show on screen"
1142
- msgstr "تنظیمات صفحه"
1143
 
1144
- #: ../admin/stats.php:343
1145
- msgid "Welcome"
1146
- msgstr "خوش آمدید"
 
 
1147
 
1148
- #: ../admin/stats.php:354
1149
- msgid "Days"
1150
- msgstr "روزها"
 
 
1151
 
1152
- #: ../inc/classes/class-mycred.php:202
1153
- msgid "Points for Liking content"
1154
- msgstr "امتیاز لایک یک نوشته"
1155
 
1156
- #: ../inc/classes/class-mycred.php:209 ../inc/classes/class-mycred.php:226
1157
- msgid "Limit"
1158
- msgstr "محدودیت"
1159
 
1160
- #: ../inc/classes/class-mycred.php:214 ../inc/classes/class-mycred.php:231
1161
- #: ../inc/classes/class-mycred.php:243 ../inc/classes/class-mycred.php:255
1162
- msgid "Log template"
1163
- msgstr "قالب وقایع"
1164
 
1165
- #: ../inc/classes/class-mycred.php:219
1166
- msgid "Points for Author Who Get Liked"
1167
- msgstr "امتیاز به کاربری که لایک دریافت کرده است"
1168
 
1169
- #: ../inc/classes/class-mycred.php:236
1170
- msgid "Points for unliking content"
1171
- msgstr "امتیاز لغو لایک یک نوشته"
1172
 
1173
- #: ../inc/classes/class-mycred.php:248
1174
- msgid "Points for Author Who Get Unliked"
1175
- msgstr "امتیاز به کاربری که لغو لایک دریافت کرده است"
1176
 
1177
- #: ../inc/wp-functions.php:172
1178
  msgid "WP ULike Activity"
1179
  msgstr "فعالیت های وردپرس یولایک"
1180
 
1181
- #: ../inc/wp-functions.php:303
1182
  msgid ""
1183
  "This hook award / deducts points from users who Like/Unlike any content of "
1184
  "WordPress, bbPress, BuddyPress & ..."
@@ -1187,31 +1236,31 @@ msgstr ""
1187
  "و... را لایک/آنلایک کنند (بعلاوه افرادی که نوشته آنها لایک/آنلایک شده)، می "
1188
  "توانند به ترتیب امتیازات مثبت و منفی دریافت کنند."
1189
 
1190
- #: ../inc/wp-functions.php:311
1191
  msgid "Liking Content"
1192
  msgstr "لایک نوشته"
1193
 
1194
- #: ../inc/wp-functions.php:312
1195
  msgid "Liked Content"
1196
  msgstr "نوشته لایک شده"
1197
 
1198
- #: ../inc/wp-functions.php:313
1199
  msgid "Unliking Content"
1200
  msgstr "لغو لایک نوشته"
1201
 
1202
- #: ../inc/wp-functions.php:314
1203
  msgid "Unliked Content"
1204
  msgstr "نوشته لغو لایک شده"
1205
 
1206
- #: ../inc/wp-functions.php:336 ../inc/wp-functions.php:370
1207
  msgid "Recent Posts Liked"
1208
  msgstr "تازه ترین مطالب لایک شده"
1209
 
1210
- #: ../inc/wp-functions.php:341 ../inc/wp-functions.php:410
1211
  msgid "Recent Comments Liked"
1212
  msgstr "تازه ترین دیدگاه های لایک شده"
1213
 
1214
- #: ../inc/wp-functions.php:386 ../inc/wp-functions.php:427
1215
  msgid "This user has not made any likes."
1216
  msgstr "این کاربر، هنوز هیچ موردی را نپسندیده است."
1217
 
@@ -1319,38 +1368,30 @@ msgstr "امتیاز مثبت"
1319
  msgid "Downvote"
1320
  msgstr "امتیاز منفی"
1321
 
1322
- #: ../inc/wp-ulike.php:70 ../inc/wp-ulike.php:291
1323
- msgid "You need to login in order to like this post: "
1324
- msgstr "برای امتیاز دهی به این مطلب، لطفا وارد شوید: "
1325
-
1326
- #: ../inc/wp-ulike.php:70 ../inc/wp-ulike.php:142 ../inc/wp-ulike.php:219
1327
- #: ../inc/wp-ulike.php:291
1328
- msgid "click here"
1329
- msgstr "برای ورود کلیک کنید"
1330
-
1331
- #: ../inc/wp-ulike.php:142
1332
- msgid "You need to login in order to like this comment: "
1333
- msgstr "برای امتیاز دهی به این دیدگاه، لطفا وارد شوید: "
1334
 
1335
- #: ../inc/wp-ulike.php:219
1336
- msgid "You need to login in order to like this activity: "
1337
- msgstr "برای امتیاز دهی به این فعالیت، لطفا وارد شوید: "
1338
 
1339
- #: ../inc/wp-ulike.php:343
1340
- msgid "Error: This Method Is Not Exist!"
1341
- msgstr "خطا: این متد وجود خارجی ندارد!"
 
1342
 
1343
- #: ../wp-ulike.php:124
1344
- msgid "Settings"
1345
- msgstr "تنظیمات"
1346
 
1347
- #: ../wp-ulike.php:125
1348
- msgid "Statistics"
1349
- msgstr "آماره"
1350
 
1351
- #: ../wp-ulike.php:126
1352
- msgid "About"
1353
- msgstr "درباره"
1354
 
1355
  #~ msgid "Overview"
1356
  #~ msgstr "آغاز کنید"
@@ -1430,9 +1471,6 @@ msgstr "درباره"
1430
  #~ msgid "Attention!"
1431
  #~ msgstr "توجه! "
1432
 
1433
- #~ msgid "All The Times"
1434
- #~ msgstr "همه زمان ها"
1435
-
1436
  #, fuzzy
1437
  #~ msgid "Login Type"
1438
  #~ msgstr "نوع"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
+ "POT-Creation-Date: 2015-10-31 15:52+0330\n"
5
+ "PO-Revision-Date: 2015-10-31 16:04+0330\n"
6
+ "Last-Translator: Alimir <alimir71@yahoo.com>\n"
7
  "Language-Team: alimir.ir <info@alimir.ir>\n"
8
  "Language: fa_IR\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.4\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPath-1: ..\n"
18
 
19
+ #: ../wp-ulike.php:126
20
+ msgid "Settings"
21
+ msgstr "تنظیمات"
22
+
23
+ #: ../wp-ulike.php:127
24
+ msgid "Statistics"
25
+ msgstr "آماره"
26
+
27
+ #: ../wp-ulike.php:128
28
+ msgid "About"
29
+ msgstr "درباره"
30
+
31
  #: ../admin/about.php:107
32
  msgid "Welcome to WP ULike"
33
  msgstr "به وردپرس یولایک خوش آمدید"
48
  msgid "Version"
49
  msgstr "نسخه"
50
 
51
+ #: ../admin/about.php:114
52
  msgid "Getting Started"
53
  msgstr "شروع "
54
 
55
+ #: ../admin/about.php:115
56
  msgid "Credits"
57
  msgstr "دست‌اندرکاران"
58
 
59
+ #: ../admin/about.php:116 ../admin/stats.php:51
60
+ #: ../admin/classes/class-settings.php:111
61
  msgid "Support"
62
  msgstr "پشتیبانی"
63
 
64
+ #: ../admin/about.php:117 ../admin/stats.php:52
65
+ #: ../admin/classes/class-settings.php:111
66
  msgid "FAQ"
67
  msgstr "سؤالات متداول"
68
 
69
+ #: ../admin/about.php:118
70
  msgid "Reviews"
71
  msgstr "امتیازدهی"
72
 
73
+ #: ../admin/about.php:124
74
  msgid "Introducing WP ULike"
75
  msgstr "معرفی وردپرس یولاک"
76
 
77
+ #: ../admin/about.php:131 ../admin/stats.php:36 ../admin/admin.php:179
78
  msgid "About WP ULike"
79
  msgstr "درباره وردپرس یولایک"
80
 
81
+ #: ../admin/about.php:140 ../admin/classes/class-settings.php:46
82
  msgid ""
83
  "WP ULike plugin allows to integrate a beautiful Ajax Like Button into your "
84
  "wordPress website to allow your visitors to like and unlike pages, posts, "
92
  "سفارشی سازی استایل ها و… تمامی قابلیت های یک سیستم خوب و حرفه ای رو در "
93
  "اختیار شما قرار میده."
94
 
95
+ #: ../admin/about.php:156
96
  msgid "WP Ulike Extension"
97
  msgstr "گسترش وردپرس یولایک"
98
 
99
+ #: ../admin/about.php:157
100
  msgid ""
101
  "Right now, WP ULike support wordpress posts / comments, BuddyPress "
102
  "activities & bbPress Topics."
103
  msgstr ""
104
+ "وردپرس یولایک سیستمی برای همه است و از نوشته های وردپرس،‌ دیدگاه ها،‌ فعالیت "
105
+ "های بادی پرس و تاپیک های بی بی پرس و... پشتیبانی کامل دارد."
106
 
107
+ #: ../admin/about.php:167
108
  msgid "Added More Than 20 Language Files"
109
  msgstr "افزودن بیش از 20 فایل زبان جدید"
110
 
111
+ #: ../admin/about.php:168
112
  msgid ""
113
  "WP ULike is already translated into +20 languages, with more always in "
114
  "progress."
115
  msgstr ""
116
+ "افزونه وردپرس یولایک به بیش از ۲۰ زبان زنده دنیا ترجمه شده و همچنان در حال "
117
+ "توسعه است... :)"
118
 
119
+ #: ../admin/about.php:178
120
  msgid "User Profile Links"
121
  msgstr "لینک به حساب های کاربری"
122
 
123
+ #: ../admin/about.php:179
124
  msgid ""
125
  "Since WP ULike 2.3, We have synced the likers profile with BuddyPress & "
126
  "UltimateMember plugins."
127
  msgstr ""
128
+ "یکی قابلیت های جدید افزونه یولایک،‌ پشتیبانی لینک (پیوند) پروفایل های کاربری "
129
+ "از دو افزونه محبوب buddypress و Ultimate Member است که در پنل تنظیمات افزونه "
130
+ "و ابزارک ها تنظیم می شود."
131
 
132
+ #: ../admin/about.php:189
133
  msgid "New Themes And Styles"
134
  msgstr "قالب ها و استایل های جدید"
135
 
136
+ #: ../admin/about.php:190
137
  msgid ""
138
  "Since WP ULike 2.3, We have made some new styles and themes and you can "
139
  "customize them by your taste."
140
  msgstr ""
141
+ "از نسخه ۲.۳ افزونه یولایک،‌ ما به مرور قالب های جدید و جذاب رو با امکان "
142
+ "سفارشی سازی توسط شما به افزونه اضافه میکنیم."
143
 
144
+ #: ../admin/about.php:200
145
  msgid "myCRED Points Support"
146
  msgstr "پشتیبانی کامل از امتیازات myCRED"
147
 
148
+ #: ../admin/about.php:201
149
  msgid ""
150
  "myCRED is an adaptive points management system that lets you award / charge "
151
  "your users for interacting with your WordPress."
152
  msgstr ""
153
+ "این افزونه سایت شما را تبدیل به یک سایت امتیاز-محور می کند که نه تنها کاربر "
154
+ "در آن بر اساس انواع فعالیت هایی که می کند ، امتیاز جایزه می گیرد ، بلکه می "
155
+ "تواند این امتیازات را در سایت خود شما خرج کند."
156
 
157
+ #: ../admin/about.php:211 ../admin/stats.php:175 ../admin/stats.php:350
158
  msgid "Likers World Map"
159
  msgstr "نقشه جهانی لایک کنندگان"
160
 
161
+ #: ../admin/about.php:212
162
  msgid ""
163
  "Since WP ULike 2.3, We have made a new ability that you can track your "
164
  "likers by their country in the world map & Top Liker widget."
165
  msgstr ""
166
+ "از نسخه ۲.۳ افزونه یولایک،‌ امکان بررسی جغرافیایی لایک کنندگان به همراه "
167
+ "ابزراک ویژه برترین لایک کنندگان اضافه شده است."
168
 
169
+ #: ../admin/about.php:218 ../admin/stats.php:23 ../admin/admin.php:175
170
  msgid "WP ULike Statistics"
171
  msgstr "آماره وردپرس یولایک"
172
 
173
+ #: ../admin/about.php:218 ../admin/classes/tmp/settings.php:103
174
  msgid "Home"
175
  msgstr "خانه"
176
 
177
+ #: ../admin/about.php:218
178
  msgid "OR"
179
  msgstr "یا"
180
 
181
+ #: ../admin/about.php:218 ../admin/admin.php:72
182
  msgid "WP ULike Settings"
183
  msgstr "تنظیمات وردپرس یولایک"
184
 
185
+ #: ../admin/about.php:224
186
  msgid "WP ULike is created by many love and time. Enjoy it :)"
187
  msgstr ""
188
  "وردپرس یولایک با صرف کلی علاقه و زمان ساخته شده است. امیدواریم که از آن لذت "
189
  "ببرید :)"
190
 
191
+ #: ../admin/about.php:225
192
  msgid "Project Leaders"
193
  msgstr "سازندگان اصلی"
194
 
195
+ #: ../admin/about.php:230
196
  msgid "Project Lead & Developer"
197
  msgstr "راهبر پروژه، توسعه دهنده ارشد"
198
 
199
+ #: ../admin/about.php:234
200
  msgid "Translations"
201
  msgstr "ترجمه ها"
202
 
203
+ #: ../admin/about.php:273
204
  msgid "Would you like to help translate the plugin into more languages?"
205
  msgstr ""
206
  "آیا علاقه ای دارید که در ترجمه این افزونه به زبانهای دیگر با ما همکاری "
207
  "کنید؟!؟ "
208
 
209
+ #: ../admin/about.php:273
210
  msgid "Join our WP-Translations Community"
211
  msgstr "به شبکه مترجمان ما بپیوندید"
212
 
213
+ #: ../admin/about.php:275
214
  msgid "Other Plugins"
215
  msgstr "سایر افزونه ها"
216
 
217
+ #: ../admin/about.php:294
218
  msgid "Like this plugin?"
219
  msgstr "این پلاگین چندتا لایک داره؟!؟ :)"
220
 
221
+ #: ../admin/about.php:295
222
  msgid ""
223
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
224
  "wp-ulike\"> Plugin Directory reviews</a>"
226
  "حمایتتون رو از این افزونه، با امتیاز 5 ستاره در <a href=\"http://wordpress."
227
  "org/plugins/wp-ulike\">مخزن وردپرس</a> مشخص کنید..."
228
 
229
+ #: ../admin/logs.php:17 ../admin/logs.php:142 ../admin/logs.php:212
230
+ #: ../admin/logs.php:263 ../admin/logs.php:337 ../admin/logs.php:390
231
+ #: ../admin/logs.php:460 ../admin/logs.php:512 ../admin/logs.php:582
232
+ msgid "Logs"
233
+ msgstr "وقایع"
 
 
 
 
 
 
 
 
 
 
 
 
 
234
 
235
+ #: ../admin/logs.php:80
236
+ msgid "Are you sure to remove this item?!"
237
+ msgstr "آیا از حذف این آیتم اطمینان دارید؟!"
238
 
239
+ #: ../admin/logs.php:138 ../admin/logs.php:259 ../admin/logs.php:386
240
+ #: ../admin/logs.php:508
241
+ msgid "WP ULike Logs"
242
+ msgstr "وقایع اتفاقیه در وردپرس یولایک"
243
 
244
+ #: ../admin/logs.php:139 ../admin/stats.php:42 ../admin/admin.php:159
245
  msgid "Post Likes Logs"
246
  msgstr "وقایع لایک در نوشتارها"
247
 
248
+ #: ../admin/logs.php:149 ../admin/logs.php:270 ../admin/logs.php:397
249
+ #: ../admin/logs.php:519
250
+ msgid "ID"
251
+ msgstr "شناسه"
 
 
 
252
 
253
+ #: ../admin/logs.php:150 ../admin/logs.php:271 ../admin/logs.php:398
254
+ #: ../admin/logs.php:520
255
+ msgid "Username"
256
+ msgstr "نام کاربری"
257
 
258
+ #: ../admin/logs.php:151 ../admin/logs.php:272 ../admin/logs.php:399
259
+ #: ../admin/logs.php:521
260
+ msgid "Status"
261
+ msgstr "وضعیت"
262
 
263
+ #: ../admin/logs.php:152
264
+ msgid "Post ID"
265
+ msgstr "شناسه نوشتار"
266
 
267
+ #: ../admin/logs.php:153
268
+ msgid "Post Title"
269
+ msgstr "عنوان نوشتار"
270
 
271
+ #: ../admin/logs.php:154 ../admin/logs.php:276 ../admin/logs.php:402
272
+ #: ../admin/logs.php:524
273
+ msgid "Date / Time"
274
+ msgstr "تاریخ / زمان"
275
 
276
+ #: ../admin/logs.php:155 ../admin/logs.php:277 ../admin/logs.php:403
277
+ #: ../admin/logs.php:525
278
+ msgid "IP"
279
+ msgstr "آدرس IP"
 
280
 
281
+ #: ../admin/logs.php:156 ../admin/logs.php:278 ../admin/logs.php:404
282
+ #: ../admin/logs.php:526
283
+ msgid "Actions"
284
+ msgstr "کارها"
 
 
 
 
 
285
 
286
+ #: ../admin/logs.php:174 ../admin/logs.php:296 ../admin/logs.php:422
287
+ #: ../admin/logs.php:544 ../admin/stats.php:198
288
+ msgid "Guest User"
289
+ msgstr "کاربر مهمان"
 
 
 
 
 
290
 
291
+ #: ../admin/logs.php:219 ../admin/logs.php:345 ../admin/logs.php:468
292
+ #: ../admin/logs.php:590
293
  msgid ""
294
+ "<strong>ERROR:</strong> No Record Found. (This problem is created because "
295
+ "you don't have any data on this table)"
296
  msgstr ""
297
+ "<strong>خطا:</strong> چیزی یافت نشد. (این مشکل به خاطر این مسأله ایجاد شده "
298
+ "است که شما هیچ اطلاعاتی را در این جدول ندارید)"
299
 
300
+ #: ../admin/logs.php:260 ../admin/stats.php:43 ../admin/admin.php:163
301
+ msgid "Comment Likes Logs"
302
+ msgstr "وقایع لایک در دیدگاه ها"
 
 
 
 
 
 
303
 
304
+ #: ../admin/logs.php:273
305
+ msgid "Comment ID"
306
+ msgstr "شناسه دیدگاه"
 
 
 
 
 
 
307
 
308
+ #: ../admin/logs.php:274
309
+ msgid "Comment Author"
310
+ msgstr "نویسنده دیدگاه"
311
 
312
+ #: ../admin/logs.php:275
313
+ msgid "Comment Text"
314
+ msgstr "متن دیدگاه"
315
 
316
+ #: ../admin/logs.php:387 ../admin/stats.php:44 ../admin/admin.php:167
317
+ msgid "Activity Likes Logs"
318
+ msgstr "وقایع لایک در فعالیت ها"
 
319
 
320
+ #: ../admin/logs.php:400
321
+ msgid "Activity ID"
322
+ msgstr "شناسه فعالیت"
323
 
324
+ #: ../admin/logs.php:401
325
+ msgid "Permalink"
326
+ msgstr "لینک همیشگی"
 
 
327
 
328
+ #: ../admin/logs.php:438
329
+ #, php-format
330
+ msgid "<a href=\"%1$s\">Activity Permalink</a>"
331
+ msgstr "<a href=\"%1$s\">مشاهده فعالیت</a>"
332
 
333
+ #: ../admin/logs.php:509 ../admin/stats.php:45 ../admin/admin.php:171
334
+ msgid "Topics Likes Logs"
335
+ msgstr "وقایع لایک در تاپیک ها"
336
 
337
+ #: ../admin/logs.php:522
338
+ msgid "Topic ID"
339
+ msgstr "شناسه تاپیک"
340
 
341
+ #: ../admin/logs.php:523
342
+ msgid "Topic Title"
343
+ msgstr "عنوان تاپیک"
344
 
345
+ #: ../admin/stats.php:30
346
+ msgid "Welcome to WP ULike Statistics!"
347
+ msgstr "به آماره وردپرس یولایک خوش آمدید!"
 
348
 
349
+ #: ../admin/stats.php:31
350
+ msgid "We have provided some useful statistics tools in this page:"
351
+ msgstr ""
352
+ "در این بخش، ما مجموعه ای از ابزارهای کاربردی را برای شما آماده کرده ایم:"
353
 
354
+ #: ../admin/stats.php:35
355
+ msgid "Get Started"
356
+ msgstr "آغاز کنید"
357
 
358
+ #: ../admin/stats.php:37
359
+ msgid "or"
360
+ msgstr "یا"
361
 
362
+ #: ../admin/stats.php:40
363
+ msgid "Other Tools"
364
+ msgstr "سایر ابزارها"
 
 
 
 
 
365
 
366
+ #: ../admin/stats.php:49
367
+ msgid "Documentation"
368
+ msgstr "مستندات"
369
+
370
+ #: ../admin/stats.php:53
371
+ msgid "Contact"
372
+ msgstr "تماس با ما"
373
+
374
+ #: ../admin/stats.php:54
375
+ msgid "GitHub Repository"
376
+ msgstr "مخزن گیت هاب"
377
+
378
+ #: ../admin/stats.php:80
379
+ msgid "Posts Likes Summary"
380
+ msgstr "خلاصه لایک در نوشتارها"
381
+
382
+ #: ../admin/stats.php:88
383
+ msgid "Comments Likes Summary"
384
+ msgstr "خلاصه لایک در دیدگاه ها"
385
+
386
+ #: ../admin/stats.php:96
387
+ msgid "Activities Likes Summary"
388
+ msgstr "خلاصه لایک در فعالیت ها"
389
+
390
+ #: ../admin/stats.php:104
391
+ msgid "Topics Likes Summary"
392
+ msgstr "خلاصه لایک در تاپیک ها"
393
+
394
+ #: ../admin/stats.php:114 ../admin/stats.php:344
395
+ msgid "Summary"
396
+ msgstr "خلاصه"
397
+
398
+ #: ../admin/stats.php:126
399
+ msgid "Total Likes"
400
+ msgstr "مجموع کل لایک ها"
401
+
402
+ #: ../admin/stats.php:138 ../admin/classes/class-widget.php:419
403
+ msgid "Today"
404
+ msgstr "امروز"
405
+
406
+ #: ../admin/stats.php:143 ../admin/classes/class-widget.php:418
407
+ msgid "Yesterday"
408
+ msgstr "دیروز"
409
+
410
+ #: ../admin/stats.php:148 ../admin/classes/class-widget.php:417
411
+ msgid "Week"
412
+ msgstr "هفته"
413
+
414
+ #: ../admin/stats.php:153 ../admin/classes/class-widget.php:416
415
+ msgid "Month"
416
+ msgstr "ماه"
417
+
418
+ #: ../admin/stats.php:158
419
+ msgid "Total"
420
+ msgstr "کل"
421
+
422
+ #: ../admin/stats.php:192 ../admin/stats.php:351
423
+ msgid "Top Likers"
424
+ msgstr "برترین لایک کنندگان"
425
+
426
+ #: ../admin/stats.php:205 ../admin/classes/class-widget.php:278
427
+ #: ../admin/classes/tmp/settings.php:23 ../admin/classes/tmp/settings.php:24
428
+ #: ../admin/classes/tmp/settings.php:32
429
+ msgid "Like"
430
+ msgstr "لایک"
431
+
432
+ #: ../admin/stats.php:227 ../admin/stats.php:233 ../admin/stats.php:239
433
+ #: ../admin/stats.php:245
434
+ msgid "View Logs"
435
+ msgstr "مشاهده وقایع"
436
+
437
+ #: ../admin/stats.php:228 ../admin/stats.php:345
438
+ msgid "Posts Likes Stats"
439
+ msgstr "نمودار لایک در نوشتارها"
440
+
441
+ #: ../admin/stats.php:228 ../admin/stats.php:234 ../admin/stats.php:240
442
+ #: ../admin/stats.php:246 ../admin/stats.php:277
443
+ #, php-format
444
+ msgid "In The Last %s Days"
445
+ msgstr "در %s روز گذشته"
446
+
447
+ #: ../admin/stats.php:234 ../admin/stats.php:346
448
+ msgid "Comments Likes Stats"
449
+ msgstr "نمودار لایک در دیدگاه ها"
450
+
451
+ #: ../admin/stats.php:240 ../admin/stats.php:347
452
+ msgid "Activities Likes Stats"
453
+ msgstr "نمودار لایک در فعالیت ها"
454
+
455
+ #: ../admin/stats.php:246 ../admin/stats.php:348
456
+ msgid "Topics Likes Stats"
457
+ msgstr "نمودار لایک در تاپیک ها"
458
+
459
+ #: ../admin/stats.php:277 ../admin/stats.php:349
460
+ msgid "Likes Percent"
461
+ msgstr "درصد تخصیص لایک ها"
462
+
463
+ #: ../admin/stats.php:341
464
+ msgid "Show on screen"
465
+ msgstr "تنظیمات صفحه"
466
+
467
+ #: ../admin/stats.php:343
468
+ msgid "Welcome"
469
+ msgstr "خوش آمدید"
470
+
471
+ #: ../admin/stats.php:354
472
+ msgid "Days"
473
+ msgstr "روزها"
474
+
475
+ #: ../admin/stats.php:355 ../admin/classes/class-settings.php:28
476
+ msgid "Save Settings"
477
+ msgstr "ذخیره تغییرات"
478
+
479
+ #: ../admin/admin.php:39
480
+ #, php-format
481
+ msgid ""
482
+ " Thank you for choosing <a href=\"%s\" title=\"Wordpress ULike\" target="
483
+ "\"_blank\">WP ULike</a>. Created by <a href=\"%s\" title=\"Wordpress ULike\" "
484
+ "target=\"_blank\">Ali Mirzaei</a>"
485
+ msgstr ""
486
+ " ممنون از اينکه <a href=\"%s\" title=\"Wordpress ULike\" target=\"_blank"
487
+ "\">وردپرس يولايک را</a> انتخاب کرده ايد. طراحي و کدنويسي توسط <a href=\"%s\" "
488
+ "title=\"Wordpress ULike\" target=\"_blank\">علي ميرزائي</a>"
489
+
490
+ #: ../admin/admin.php:75 ../inc/wp-functions.php:307
491
+ msgid "WP ULike"
492
+ msgstr "وردپرس یولایک"
493
+
494
+ #: ../admin/admin.php:83
495
+ msgid "Settings saved."
496
+ msgstr "تنظیمات ذخیره شد"
497
+
498
+ #: ../admin/admin.php:113 ../admin/admin.php:141
499
+ msgid "Failed! An Error Has Occurred While Deleting All ULike Logs/Data"
500
+ msgstr "خطا! مشکلی در عملیات حذف وقایع/داده ها وجود دارد"
501
+
502
+ #: ../admin/admin.php:115 ../admin/admin.php:143
503
+ msgid "Success! All ULike Logs/Data Have Been Deleted"
504
+ msgstr "هووورا! همه وقایع/داده ها با موفقیت حذف شدند"
505
+
506
+ #: ../admin/classes/class-widget.php:11
507
+ msgid "WP Ulike Widget"
508
+ msgstr "ابزارک یولایک"
509
+
510
+ #: ../admin/classes/class-widget.php:12
511
+ msgid ""
512
+ "An advanced widget that gives you all most liked records with different types"
513
+ msgstr ""
514
+ "یک ابزارک ساده و کاربردی برای نمایش بیشترین لایک شده ها در چندین نوع مختلف"
515
+
516
+ #: ../admin/classes/class-widget.php:96
517
+ msgid "on"
518
+ msgstr "در"
519
+
520
+ #: ../admin/classes/class-widget.php:139
521
+ msgid "you haven't liked any post yet!"
522
+ msgstr "شما هنوز هیچ نوشته ای را لایک نکرده اید! :("
523
+
524
+ #: ../admin/classes/class-widget.php:391
525
+ msgid "Most Liked"
526
+ msgstr "بیشترین لایک شده ها"
527
+
528
+ #: ../admin/classes/class-widget.php:395
529
+ msgid "Title:"
530
+ msgstr "عنوان:"
531
+
532
+ #: ../admin/classes/class-widget.php:400
533
+ msgid "Type:"
534
+ msgstr "نوع:"
535
+
536
+ #: ../admin/classes/class-widget.php:402 ../inc/wp-strings.php:26
537
+ msgid "Most Liked Posts"
538
+ msgstr "پرلایک ترین مطالب"
539
+
540
+ #: ../admin/classes/class-widget.php:403 ../inc/wp-strings.php:27
541
+ msgid "Most Liked Comments"
542
+ msgstr "پرلایک ترین دیدگاه ها"
543
+
544
+ #: ../admin/classes/class-widget.php:404
545
+ msgid "Most Liked Activities"
546
+ msgstr "پرلایک ترین فعالیت ها"
547
+
548
+ #: ../admin/classes/class-widget.php:405
549
+ msgid "Most Liked Topics"
550
+ msgstr "پرلایک ترین تاپیک ها"
551
+
552
+ #: ../admin/classes/class-widget.php:406 ../inc/wp-strings.php:28
553
+ msgid "Most Liked Users"
554
+ msgstr "پرلایک ترین کاربران"
555
+
556
+ #: ../admin/classes/class-widget.php:407
557
+ msgid "Last Posts Liked By User"
558
+ msgstr "آخرین مطالب لایک شده توسط کاربر"
559
+
560
+ #: ../admin/classes/class-widget.php:412
561
+ msgid "Period:"
562
+ msgstr "دوره زمانی:"
563
+
564
+ #: ../admin/classes/class-widget.php:414
565
+ msgid "All The Times"
566
+ msgstr "همه زمان ها"
567
+
568
+ #: ../admin/classes/class-widget.php:415
569
+ msgid "Year"
570
+ msgstr "سال"
571
+
572
+ #: ../admin/classes/class-widget.php:424
573
+ msgid "Style:"
574
+ msgstr "قالب:"
575
+
576
+ #: ../admin/classes/class-widget.php:426
577
+ msgid "Simple"
578
+ msgstr "ساده"
579
+
580
+ #: ../admin/classes/class-widget.php:427 ../admin/classes/tmp/settings.php:80
581
+ #: ../admin/classes/tmp/settings.php:186 ../admin/classes/tmp/settings.php:334
582
+ #: ../admin/classes/tmp/settings.php:453
583
+ msgid "Heart"
584
+ msgstr "قلب"
585
+
586
+ #: ../admin/classes/class-widget.php:432
587
+ msgid "Title Trim (Length):"
588
+ msgstr "برش عنوان (طول):"
589
+
590
+ #: ../admin/classes/class-widget.php:438
591
+ msgid "Number of items to show:"
592
+ msgstr "تعداد آیتم ها:"
593
+
594
+ #: ../admin/classes/class-widget.php:444
595
+ msgid "Thumbnail/Avatar size:"
596
+ msgstr "سایز تصویرشاخص/آواتار:"
597
+
598
+ #: ../admin/classes/class-widget.php:450
599
+ msgid "Profile URL:"
600
+ msgstr "لینک پروفایل به:"
601
+
602
+ #: ../admin/classes/class-widget.php:452
603
+ #: ../admin/classes/class-settings.php:96
604
+ #: ../admin/classes/tmp/settings.php:326
605
+ msgid "BuddyPress"
606
+ msgstr "بادی پرس"
607
+
608
+ #: ../admin/classes/class-widget.php:453
609
+ msgid "UltimateMember"
610
+ msgstr "افزونه UltimateMember"
611
+
612
+ #: ../admin/classes/class-widget.php:459
613
+ msgid "Activate Like Counter"
614
+ msgstr "فعال سازی شمارنده"
615
+
616
+ #: ../admin/classes/class-widget.php:464
617
+ msgid "Activate Thumbnail/Avatar"
618
+ msgstr "فعال سازی تصویرشاخص/آواتار"
619
+
620
+ #: ../admin/classes/class-settings.php:17
621
+ msgid "Custom Settings"
622
+ msgstr "تنظیمات سفارشی"
623
+
624
+ #: ../admin/classes/class-settings.php:29
625
+ msgid "Reset Settings"
626
+ msgstr "بازیابی تنظیمات"
627
+
628
+ #: ../admin/classes/class-settings.php:44
629
+ msgid "Similar Settings"
630
+ msgstr "تنظیمات مشابه"
631
+
632
+ #: ../admin/classes/class-settings.php:48
633
+ #: ../admin/classes/tmp/settings.php:124 ../admin/classes/tmp/settings.php:215
634
+ #: ../admin/classes/tmp/settings.php:369 ../admin/classes/tmp/settings.php:481
635
+ msgid "Logging Method"
636
+ msgstr "روش وقایع نگاری"
637
+
638
+ #: ../admin/classes/class-settings.php:50
639
+ msgid ""
640
+ "If you select <strong>\"Do Not Log\"</strong> method: Any data logs can't "
641
+ "save, There is no limitation in the like/dislike, unlike/undislike capacity "
642
+ "do not work"
643
+ msgstr ""
644
+ "اگر گزینه <strong>\"بدون وقایع نگاری\"</strong> را انتخاب کنید: هیچ اطلاعات "
645
+ "وقایعی ذخیره نمی شود، هیچ شرط محدود کننده ای برای لایک/دیسلایک بررسی نمی "
646
+ "شود، قابلیت لغو لایک/دیسلایک وجود نخواهد داشت"
647
+
648
+ #: ../admin/classes/class-settings.php:51
649
+ msgid ""
650
+ "If you select <strong>\"Logged By Cookie\"</strong> method: Any data logs "
651
+ "can't save, The like/dislike condition will be limited by SetCookie, unlike/"
652
+ "undislike capacity do not work"
653
+ msgstr ""
654
+ "اگر گزینه <strong>\"با کوکی\"</strong> را انتخاب کنید: هیچ اطلاعات وقایعی "
655
+ "ذخیره نمی شود، شرط بررسی لایک/دیسلایک توسط کوکی محدود می شود، قابلیت لغو "
656
+ "لایک/دیسلایک وجود نخواهد داشت"
657
+
658
+ #: ../admin/classes/class-settings.php:52
659
+ msgid ""
660
+ "If you select <strong>\"Logged By IP\"</strong> method: Data logs will save "
661
+ "for all users, the convey of like/dislike condition will check by user IP"
662
+ msgstr ""
663
+ "اگر گزینه <strong>\"با آی پی\"</strong> را انتخاب کنید: اطلاعات وقایع همه ی "
664
+ "کاربران ذخیره می شود، شرط بررسی لایک/دیسلایک فقط توسط آی پی انجام میگیرد"
665
+
666
+ #: ../admin/classes/class-settings.php:53
667
+ msgid ""
668
+ "If you select <strong>\"Logged By Cookie & IP\"</strong> method: Data logs "
669
+ "will save for all users, the convey of like/dislike condition will check by "
670
+ "user IP & SetCookie"
671
+ msgstr ""
672
+ "اگر گزینه <strong>\"با کوکی و آی پی\"</strong> را انتخاب کنید: اطلاعات وقایع "
673
+ "همه ی کاربران ذخیره می شود، شرط بررسی لایک/دیسلایک توسط کوکی و آی پی انجام "
674
+ "میگیرد"
675
+
676
+ #: ../admin/classes/class-settings.php:54
677
+ msgid ""
678
+ "If you select <strong>\"Logged By Username\"</strong> method: data logs only "
679
+ "is saved for registered users, the convey of like/dislike condition will "
680
+ "check by username, There is no permission for guest users to unlike/undislike"
681
+ msgstr ""
682
+ "اگر گزینه <strong>\"با نام کاربری\"</strong> را انتخاب کنید: اطلاعات وقایع "
683
+ "تنها برای کابران عضو ذخیره می شود، شرط بررسی لایک/دیسلایک توسط نام کاربری "
684
+ "انجام میگیرد، کاربران مهمان اجازه لغو لایک/دیسلایک را نخواهند داشت"
685
+
686
+ #: ../admin/classes/class-settings.php:57
687
+ msgid "Template Variables"
688
+ msgstr "تمپلیت متغیرها"
689
+
690
+ #: ../admin/classes/class-settings.php:59
691
+ msgid "Start the loop of logs"
692
+ msgstr "شروع حلقه وقایع"
693
+
694
+ #: ../admin/classes/class-settings.php:59
695
+ #: ../admin/classes/class-settings.php:60
696
+ msgid "required"
697
+ msgstr "لازم"
698
+
699
+ #: ../admin/classes/class-settings.php:60
700
+ msgid "End of the while loop"
701
+ msgstr "پایان حلقه وقایع"
702
+
703
+ #: ../admin/classes/class-settings.php:61
704
+ #: ../admin/classes/class-settings.php:65
705
+ #: ../admin/classes/class-settings.php:69
706
+ msgid "Display the liker name"
707
+ msgstr "نمایش نام کاربر لایک کرده"
708
+
709
+ #: ../admin/classes/class-settings.php:62
710
+ msgid "Display the liker avatar (By Gravatar)"
711
+ msgstr "نمایش آواتار کاربر لایک کرده (توسط Gravatar)"
712
+
713
+ #: ../admin/classes/class-settings.php:63
714
+ msgid "Display the BuddyPress user profile url"
715
+ msgstr "نمایش پیوند مربوط به پروفایل های بادی پرس"
716
+
717
+ #: ../admin/classes/class-settings.php:64
718
+ msgid "Display the UltimateMemebr user profile url"
719
+ msgstr "نمایش پیوند مربوط به پروفایل های افزونه UltimateMemebr"
720
+
721
+ #: ../admin/classes/class-settings.php:66
722
+ msgid "Display the permalink"
723
+ msgstr "نمایش پیوند ارجاعی"
724
+
725
+ #: ../admin/classes/class-settings.php:67
726
+ #: ../admin/classes/class-settings.php:71
727
+ msgid "Display the likes count number"
728
+ msgstr "نمایش شمارنده تعداد لایک ها"
729
+
730
+ #: ../admin/classes/class-settings.php:68
731
+ msgid "Display the post title"
732
+ msgstr "نمایش عنوان نوشته"
733
+
734
+ #: ../admin/classes/class-settings.php:70
735
+ msgid "Display the comment author name"
736
+ msgstr "نمایش نام نویسنده دیدگاه"
737
+
738
+ #: ../admin/classes/class-settings.php:79 ../admin/classes/tmp/settings.php:72
739
+ msgid "Posts"
740
+ msgstr "نوشته ها"
741
+
742
+ #: ../admin/classes/class-settings.php:81
743
+ #: ../admin/classes/class-settings.php:90
744
+ #: ../admin/classes/class-settings.php:98
745
+ #: ../admin/classes/class-settings.php:106
746
+ #: ../admin/classes/tmp/settings.php:86 ../admin/classes/tmp/settings.php:192
747
+ #: ../admin/classes/tmp/settings.php:340 ../admin/classes/tmp/settings.php:459
748
+ msgid "Automatic display"
749
+ msgstr "نمایش خودکار"
750
+
751
+ #: ../admin/classes/class-settings.php:81
752
  msgid ""
753
  "If you disable this option, you have to put manually this code on wordpress "
754
  "while loop"
761
  #: ../admin/classes/class-settings.php:98
762
  #: ../admin/classes/class-settings.php:106
763
  #: ../admin/classes/tmp/settings.php:155 ../admin/classes/tmp/settings.php:246
764
+ #: ../admin/classes/tmp/settings.php:400 ../admin/classes/tmp/settings.php:512
765
  msgid "Users Like Box Template"
766
  msgstr "قالب جعبه لایک کاربران"
767
 
795
  msgid "Users who have LIKED this comment:"
796
  msgstr "کاربرانی که این دیدگاه را پسندیده اند:"
797
 
 
 
 
 
 
798
  #: ../admin/classes/class-settings.php:98
799
  #: ../admin/classes/class-settings.php:106
800
  msgid ""
806
 
807
  #: ../admin/classes/class-settings.php:98
808
  #: ../admin/classes/class-settings.php:106
809
+ #: ../admin/classes/tmp/settings.php:399
810
  msgid "Users who have liked this activity:"
811
  msgstr "کاربرانی که این فعالیت را پسندیده اند:"
812
 
813
  #: ../admin/classes/class-settings.php:98
814
+ #: ../admin/classes/tmp/settings.php:413
815
  msgid "Post Activity Text"
816
  msgstr "متن فعالیت مطالب"
817
 
818
  #: ../admin/classes/class-settings.php:98
819
+ #: ../admin/classes/tmp/settings.php:419
820
  msgid "Comment Activity Text"
821
  msgstr "متن فعالیت دیدگاه ها"
822
 
823
  #: ../admin/classes/class-settings.php:104
824
+ #: ../admin/classes/tmp/settings.php:445
825
  msgid "bbPress"
826
  msgstr "بی بی پرس"
827
 
844
  msgid "No options defined."
845
  msgstr "هیچ تنظیماتی تعریف نشده است."
846
 
847
+ #: ../admin/classes/class-settings.php:334
848
+ #, php-format
849
+ msgid "Select %s"
850
+ msgstr "انتخاب %s"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
851
 
852
+ #: ../admin/classes/class-settings.php:335
853
+ #, php-format
854
+ msgid "Remove %s"
855
+ msgstr "حذف %s"
856
 
857
+ #: ../admin/classes/class-settings.php:359
858
+ msgid "No action defined."
859
+ msgstr "هیچ کاری تعریف نشده است."
860
 
861
  #: ../admin/classes/tmp/settings.php:11
862
  msgid "General"
929
  #: ../admin/classes/tmp/settings.php:193 ../admin/classes/tmp/settings.php:209
930
  #: ../admin/classes/tmp/settings.php:228 ../admin/classes/tmp/settings.php:275
931
  #: ../admin/classes/tmp/settings.php:341 ../admin/classes/tmp/settings.php:356
932
+ #: ../admin/classes/tmp/settings.php:363 ../admin/classes/tmp/settings.php:382
933
+ #: ../admin/classes/tmp/settings.php:407 ../admin/classes/tmp/settings.php:460
934
+ #: ../admin/classes/tmp/settings.php:475 ../admin/classes/tmp/settings.php:494
935
  msgid "Activate"
936
  msgstr "فعال سازی"
937
 
942
  "(کیلوبایت) نمایش دهید."
943
 
944
  #: ../admin/classes/tmp/settings.php:77 ../admin/classes/tmp/settings.php:183
945
+ #: ../admin/classes/tmp/settings.php:331 ../admin/classes/tmp/settings.php:450
946
  #: ../inc/wp-strings.php:10
947
  msgid "Themes"
948
  msgstr "قالب ها"
949
 
950
  #: ../admin/classes/tmp/settings.php:79 ../admin/classes/tmp/settings.php:185
951
+ #: ../admin/classes/tmp/settings.php:333 ../admin/classes/tmp/settings.php:452
952
  #: ../inc/wp-strings.php:25
953
  msgid "Default"
954
  msgstr "پیشفرض"
955
 
956
  #: ../admin/classes/tmp/settings.php:91 ../admin/classes/tmp/settings.php:197
957
+ #: ../admin/classes/tmp/settings.php:345 ../admin/classes/tmp/settings.php:464
958
  msgid "Auto Display Position"
959
  msgstr "محل قرار گیری در نمایش خودکار"
960
 
961
  #: ../admin/classes/tmp/settings.php:94 ../admin/classes/tmp/settings.php:200
962
+ #: ../admin/classes/tmp/settings.php:467
963
  msgid "Top of Content"
964
  msgstr "بالای محتوا"
965
 
966
  #: ../admin/classes/tmp/settings.php:95 ../admin/classes/tmp/settings.php:201
967
+ #: ../admin/classes/tmp/settings.php:468
968
  msgid "Bottom of Content"
969
  msgstr "پایین محتوا"
970
 
1010
  "شما می توانید بر روی این صفحات فیلتر گذاری کنید تا دکمه لایک نمایش داده نشود"
1011
 
1012
  #: ../admin/classes/tmp/settings.php:117 ../admin/classes/tmp/settings.php:208
1013
+ #: ../admin/classes/tmp/settings.php:362 ../admin/classes/tmp/settings.php:474
1014
  msgid "Only registered Users"
1015
  msgstr "محدودسازی لایک کاربران"
1016
 
1021
  "مطالب را لایک کنند."
1022
 
1023
  #: ../admin/classes/tmp/settings.php:126 ../admin/classes/tmp/settings.php:217
1024
+ #: ../admin/classes/tmp/settings.php:371 ../admin/classes/tmp/settings.php:483
1025
  msgid "Do Not Log"
1026
  msgstr "وقایع نگاری نکن"
1027
 
1028
  #: ../admin/classes/tmp/settings.php:127 ../admin/classes/tmp/settings.php:218
1029
+ #: ../admin/classes/tmp/settings.php:372 ../admin/classes/tmp/settings.php:484
1030
  msgid "Logged By Cookie"
1031
  msgstr "با کوکی"
1032
 
1033
  #: ../admin/classes/tmp/settings.php:128 ../admin/classes/tmp/settings.php:219
1034
+ #: ../admin/classes/tmp/settings.php:373 ../admin/classes/tmp/settings.php:485
1035
  msgid "Logged By IP"
1036
  msgstr "با آی پی"
1037
 
1038
  #: ../admin/classes/tmp/settings.php:129 ../admin/classes/tmp/settings.php:220
1039
+ #: ../admin/classes/tmp/settings.php:374 ../admin/classes/tmp/settings.php:486
1040
  msgid "Logged By Cookie & IP"
1041
  msgstr "با کوکی و آی پی"
1042
 
1043
  #: ../admin/classes/tmp/settings.php:130 ../admin/classes/tmp/settings.php:221
1044
+ #: ../admin/classes/tmp/settings.php:375 ../admin/classes/tmp/settings.php:487
1045
  msgid "Logged By Username"
1046
  msgstr "با نام کاربری"
1047
 
1048
  #: ../admin/classes/tmp/settings.php:136 ../admin/classes/tmp/settings.php:227
1049
+ #: ../admin/classes/tmp/settings.php:381 ../admin/classes/tmp/settings.php:493
1050
  msgid "Show Liked Users Box"
1051
  msgstr "نمایش باکس کاربران لایک کرده"
1052
 
1053
+ #: ../admin/classes/tmp/settings.php:138 ../admin/classes/tmp/settings.php:229
1054
+ #: ../admin/classes/tmp/settings.php:383 ../admin/classes/tmp/settings.php:495
1055
+ msgid ""
1056
+ "Active this option to show liked users avatars in the bottom of button like."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1057
  msgstr ""
1058
+ "با فعال سازی این گزینه، می توانید آواتار کاربران لایک کرده، را در زیر دکمه "
1059
+ "لایک، نمایش دهید."
1060
 
1061
+ #: ../admin/classes/tmp/settings.php:143 ../admin/classes/tmp/settings.php:234
1062
+ #: ../admin/classes/tmp/settings.php:388 ../admin/classes/tmp/settings.php:500
1063
+ msgid "Size of Gravatars"
1064
+ msgstr "سایز آوتار"
1065
 
1066
+ #: ../admin/classes/tmp/settings.php:144 ../admin/classes/tmp/settings.php:235
1067
+ #: ../admin/classes/tmp/settings.php:389 ../admin/classes/tmp/settings.php:501
1068
+ msgid "Size of Gravatars to return (max is 512)"
1069
+ msgstr "سایز تصاویر گراواتار (بیشترین اندازه 512)"
1070
 
1071
+ #: ../admin/classes/tmp/settings.php:149 ../admin/classes/tmp/settings.php:240
1072
+ #: ../admin/classes/tmp/settings.php:394 ../admin/classes/tmp/settings.php:506
1073
+ msgid "Number Of The Users"
1074
+ msgstr "تعداد کاربران قابل نمایش"
1075
 
1076
+ #: ../admin/classes/tmp/settings.php:150 ../admin/classes/tmp/settings.php:241
1077
+ #: ../admin/classes/tmp/settings.php:395 ../admin/classes/tmp/settings.php:507
1078
+ msgid "The number of users to show in the users liked box"
1079
+ msgstr "حداکثر چند کاربر در باکس لایک کنندگان، نمایش داده شوند؟!؟"
1080
 
1081
+ #: ../admin/classes/tmp/settings.php:156 ../admin/classes/tmp/settings.php:247
1082
+ #: ../admin/classes/tmp/settings.php:401 ../admin/classes/tmp/settings.php:414
1083
+ #: ../admin/classes/tmp/settings.php:420 ../admin/classes/tmp/settings.php:513
1084
+ msgid "Allowed Variables:"
1085
+ msgstr "متغیرهای قابل استفاده:"
1086
 
1087
+ #: ../admin/classes/tmp/settings.php:160 ../admin/classes/tmp/settings.php:251
1088
+ #: ../admin/classes/tmp/settings.php:424 ../admin/classes/tmp/settings.php:517
1089
+ msgid "Delete All Logs"
1090
+ msgstr "حذف تمام وقایع"
1091
 
1092
+ #: ../admin/classes/tmp/settings.php:161 ../admin/classes/tmp/settings.php:252
1093
+ #: ../admin/classes/tmp/settings.php:425 ../admin/classes/tmp/settings.php:518
1094
+ msgid "You Are About To Delete All Likes Logs. This Action Is Not Reversible."
1095
+ msgstr ""
1096
+ "شما قصد دارید که تمامی \"وقایع\" ثبت شده را حذف کنید! این عمل برگشت نا پذیر "
1097
+ "است."
1098
 
1099
+ #: ../admin/classes/tmp/settings.php:166 ../admin/classes/tmp/settings.php:257
1100
+ #: ../admin/classes/tmp/settings.php:430 ../admin/classes/tmp/settings.php:523
1101
+ msgid "Delete All Data"
1102
+ msgstr "حذف تمام داده ها"
1103
 
1104
+ #: ../admin/classes/tmp/settings.php:167 ../admin/classes/tmp/settings.php:258
1105
+ #: ../admin/classes/tmp/settings.php:431 ../admin/classes/tmp/settings.php:524
1106
+ msgid "You Are About To Delete All Likes Data. This Action Is Not Reversible."
1107
+ msgstr ""
1108
+ "شما قصد دارید که تمامی \"داده ها\" ثبت شده را حذف کنید! این عمل برگشت نا "
1109
+ "پذیر است."
1110
 
1111
+ #: ../admin/classes/tmp/settings.php:210
1112
+ msgid ""
1113
+ "<strong>Only</strong> registered users have permission to like comments."
1114
+ msgstr ""
1115
+ "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
1116
+ "دیدگاه ها را لایک کنند."
1117
 
1118
+ #: ../admin/classes/tmp/settings.php:269
1119
+ msgid "Customize"
1120
+ msgstr "سفارشی سازی"
1121
 
1122
+ #: ../admin/classes/tmp/settings.php:274
1123
+ msgid "Custom Style"
1124
+ msgstr "سفارشی سازی"
1125
 
1126
+ #: ../admin/classes/tmp/settings.php:279
1127
+ msgid "Active this option to see the custom style settings."
1128
+ msgstr ""
1129
+ "با فعال سازی این گزینه، می توانید استایل سفارشی خود را در افزونه به کار "
1130
+ "ببرید."
1131
 
1132
+ #: ../admin/classes/tmp/settings.php:283
1133
+ msgid "Button style"
1134
+ msgstr "دکمه لایک"
1135
 
1136
+ #: ../admin/classes/tmp/settings.php:284 ../admin/classes/tmp/settings.php:297
1137
+ msgid "Background"
1138
+ msgstr "رنگ پس زمینه"
1139
 
1140
+ #: ../admin/classes/tmp/settings.php:288 ../admin/classes/tmp/settings.php:301
1141
+ msgid "Border Color"
1142
+ msgstr "رنگ حاشیه"
1143
 
1144
+ #: ../admin/classes/tmp/settings.php:292 ../admin/classes/tmp/settings.php:305
1145
+ msgid "Text Color"
1146
+ msgstr "رنگ متن"
1147
 
1148
+ #: ../admin/classes/tmp/settings.php:296
1149
+ msgid "Counter Style"
1150
+ msgstr "باکس شمارنده"
1151
 
1152
+ #: ../admin/classes/tmp/settings.php:309
1153
+ msgid "Loading Animation"
1154
+ msgstr "انیمیشن بارگذاری"
 
1155
 
1156
+ #: ../admin/classes/tmp/settings.php:314
1157
+ msgid "Custom CSS"
1158
+ msgstr "سفارشی سازی css"
1159
 
1160
+ #: ../admin/classes/tmp/settings.php:348
1161
+ msgid "Activity Content"
1162
+ msgstr "در متن فعالیت"
 
 
1163
 
1164
+ #: ../admin/classes/tmp/settings.php:349
1165
+ msgid "Activity Meta"
1166
+ msgstr "در متاباکس فعالیت"
1167
 
1168
+ #: ../admin/classes/tmp/settings.php:355
1169
+ msgid "Activity Comment"
1170
+ msgstr "نظرات فعالیت ها"
1171
 
1172
+ #: ../admin/classes/tmp/settings.php:357
1173
+ msgid "Add the possibility to like Buddypress comments in the activity stream"
1174
+ msgstr ""
1175
+ " با فعال سازی این گزینه،‌ سیستم لایک در بخش دیدگاه های مربوط به بادی پرس فعال "
1176
+ "می شود."
1177
 
1178
+ #: ../admin/classes/tmp/settings.php:364
1179
+ msgid ""
1180
+ "<strong>Only</strong> registered users have permission to like activities."
1181
+ msgstr ""
1182
+ "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
1183
+ "فعالیت های بادی پرس را لایک کنند."
1184
 
1185
+ #: ../admin/classes/tmp/settings.php:406
1186
+ msgid "BuddyPress Activity"
1187
+ msgstr "فعالیت های بادی پرس"
1188
 
1189
+ #: ../admin/classes/tmp/settings.php:408
1190
+ msgid "insert new likes in buddyPress activity page"
1191
+ msgstr ""
1192
+ "با فعال سازی این گزینه، اطلاعات جدیدترین لایک ها به بخش فعالیت های بادی پرس "
1193
+ "اضافه خواهد شد."
1194
 
1195
+ #: ../admin/classes/tmp/settings.php:476
1196
+ msgid "<strong>Only</strong> registered users have permission to like Topics."
1197
+ msgstr ""
1198
+ "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
1199
+ "تاپیک ها را لایک کنند."
1200
 
1201
+ #: ../admin/classes/tmp/settings.php:511
1202
+ msgid "Users who have liked this topic:"
1203
+ msgstr "کاربرانی که این تاپیک را پسندیده اند:"
1204
 
1205
+ #: ../inc/wp-ulike.php:70 ../inc/wp-ulike.php:300
1206
+ msgid "You need to login in order to like this post: "
1207
+ msgstr "برای امتیاز دهی به این مطلب، لطفا وارد شوید: "
1208
 
1209
+ #: ../inc/wp-ulike.php:70 ../inc/wp-ulike.php:142 ../inc/wp-ulike.php:224
1210
+ #: ../inc/wp-ulike.php:300
1211
+ msgid "click here"
1212
+ msgstr "برای ورود کلیک کنید"
1213
 
1214
+ #: ../inc/wp-ulike.php:142
1215
+ msgid "You need to login in order to like this comment: "
1216
+ msgstr "برای امتیاز دهی به این دیدگاه، لطفا وارد شوید: "
1217
 
1218
+ #: ../inc/wp-ulike.php:224
1219
+ msgid "You need to login in order to like this activity: "
1220
+ msgstr "برای امتیاز دهی به این فعالیت، لطفا وارد شوید: "
1221
 
1222
+ #: ../inc/wp-ulike.php:352
1223
+ msgid "Error: This Method Is Not Exist!"
1224
+ msgstr "خطا: این متد وجود خارجی ندارد!"
1225
 
1226
+ #: ../inc/wp-functions.php:177
1227
  msgid "WP ULike Activity"
1228
  msgstr "فعالیت های وردپرس یولایک"
1229
 
1230
+ #: ../inc/wp-functions.php:308
1231
  msgid ""
1232
  "This hook award / deducts points from users who Like/Unlike any content of "
1233
  "WordPress, bbPress, BuddyPress & ..."
1236
  "و... را لایک/آنلایک کنند (بعلاوه افرادی که نوشته آنها لایک/آنلایک شده)، می "
1237
  "توانند به ترتیب امتیازات مثبت و منفی دریافت کنند."
1238
 
1239
+ #: ../inc/wp-functions.php:316
1240
  msgid "Liking Content"
1241
  msgstr "لایک نوشته"
1242
 
1243
+ #: ../inc/wp-functions.php:317
1244
  msgid "Liked Content"
1245
  msgstr "نوشته لایک شده"
1246
 
1247
+ #: ../inc/wp-functions.php:318
1248
  msgid "Unliking Content"
1249
  msgstr "لغو لایک نوشته"
1250
 
1251
+ #: ../inc/wp-functions.php:319
1252
  msgid "Unliked Content"
1253
  msgstr "نوشته لغو لایک شده"
1254
 
1255
+ #: ../inc/wp-functions.php:341 ../inc/wp-functions.php:375
1256
  msgid "Recent Posts Liked"
1257
  msgstr "تازه ترین مطالب لایک شده"
1258
 
1259
+ #: ../inc/wp-functions.php:346 ../inc/wp-functions.php:415
1260
  msgid "Recent Comments Liked"
1261
  msgstr "تازه ترین دیدگاه های لایک شده"
1262
 
1263
+ #: ../inc/wp-functions.php:391 ../inc/wp-functions.php:432
1264
  msgid "This user has not made any likes."
1265
  msgstr "این کاربر، هنوز هیچ موردی را نپسندیده است."
1266
 
1368
  msgid "Downvote"
1369
  msgstr "امتیاز منفی"
1370
 
1371
+ #: ../inc/classes/class-mycred.php:202
1372
+ msgid "Points for Liking content"
1373
+ msgstr "امتیاز لایک یک نوشته"
 
 
 
 
 
 
 
 
 
1374
 
1375
+ #: ../inc/classes/class-mycred.php:209 ../inc/classes/class-mycred.php:226
1376
+ msgid "Limit"
1377
+ msgstr "محدودیت"
1378
 
1379
+ #: ../inc/classes/class-mycred.php:214 ../inc/classes/class-mycred.php:231
1380
+ #: ../inc/classes/class-mycred.php:243 ../inc/classes/class-mycred.php:255
1381
+ msgid "Log template"
1382
+ msgstr "قالب وقایع"
1383
 
1384
+ #: ../inc/classes/class-mycred.php:219
1385
+ msgid "Points for Author Who Get Liked"
1386
+ msgstr "امتیاز به کاربری که لایک دریافت کرده است"
1387
 
1388
+ #: ../inc/classes/class-mycred.php:236
1389
+ msgid "Points for unliking content"
1390
+ msgstr "امتیاز لغو لایک یک نوشته"
1391
 
1392
+ #: ../inc/classes/class-mycred.php:248
1393
+ msgid "Points for Author Who Get Unliked"
1394
+ msgstr "امتیاز به کاربری که لغو لایک دریافت کرده است"
1395
 
1396
  #~ msgid "Overview"
1397
  #~ msgstr "آغاز کنید"
1471
  #~ msgid "Attention!"
1472
  #~ msgstr "توجه! "
1473
 
 
 
 
1474
  #, fuzzy
1475
  #~ msgid "Login Type"
1476
  #~ msgstr "نوع"
lang/{alimir-fi.mo → wp-ulike-fi.mo} RENAMED
File without changes
lang/{alimir-fi.po → wp-ulike-fi.po} RENAMED
File without changes
lang/wp-ulike-fr_FR.mo ADDED
Binary file
lang/{alimir-fr_FR.po → wp-ulike-fr_FR.po} RENAMED
@@ -1,25 +1,27 @@
1
- #
 
2
  # Translators:
 
3
  # Franck, 2015
4
- # FxB <fxb@wp-translations.org>, 2015
5
  # Jean-Christophe Brebion <pro@jcbrebion.com>, 2015
6
  msgid ""
7
  msgstr ""
8
  "Project-Id-Version: WP ULike\n"
9
- "POT-Creation-Date: 2015-05-21 11:28+0330\n"
10
- "PO-Revision-Date: 2015-05-21 11:28+0330\n"
11
- "Last-Translator: Alimir <info@alimir.ir>\n"
12
- "Language-Team: French (France) (http://www.transifex.com/projects/p/wp-ulike/"
13
- "language/fr_FR/)\n"
14
- "Language: fr_FR\n"
15
  "MIME-Version: 1.0\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
 
18
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19
- "X-Generator: Poedit 1.6.10\n"
20
  "X-Poedit-Basepath: .\n"
21
- "X-Poedit-KeywordsList: _e;__\n"
22
- "X-Poedit-SourceCharset: UTF-8\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
  "X-Poedit-SearchPath-1: ..\n"
25
 
@@ -32,8 +34,8 @@ msgid ""
32
  "Thank you for choosing WP ULike! This version is our leanest and most "
33
  "powerful version yet."
34
  msgstr ""
35
- "Merci d'avoir choisi WP ULike&nbsp;! Cette version est la plus légère plus "
36
- "et la plus puissante à ce jour."
37
 
38
  #: ../admin/about.php:110 ../admin/stats.php:37
39
  msgid "Visit our homepage"
@@ -54,7 +56,7 @@ msgstr "Crédits"
54
  #: ../admin/about.php:117 ../admin/classes/class-settings.php:111
55
  #: ../admin/stats.php:51
56
  msgid "Support"
57
- msgstr "Aide"
58
 
59
  #: ../admin/about.php:118 ../admin/classes/class-settings.php:111
60
  #: ../admin/stats.php:52
@@ -66,13 +68,12 @@ msgid "Reviews"
66
  msgstr "Avis"
67
 
68
  #: ../admin/about.php:125
69
- #, fuzzy
70
  msgid "Introducing WP ULike"
71
- msgstr "À propos de WP Ulike"
72
 
73
  #: ../admin/about.php:132 ../admin/admin.php:179 ../admin/stats.php:36
74
  msgid "About WP ULike"
75
- msgstr "À propos de WP Ulike"
76
 
77
  #: ../admin/about.php:133 ../admin/classes/class-settings.php:46
78
  msgid ""
@@ -81,72 +82,82 @@ msgid ""
81
  "comments AND buddypress activities. Its very simple to use and supports many "
82
  "options."
83
  msgstr ""
84
- "L'extension WP Ulike permet d'intégrer un joli bouton Ajax J'aime dans votre "
85
  "site WordPress pour permettre à vos visiteurs d'aimer ou pas les pages, les "
86
  "articles, les commentaires et les activités de BuddyPress. C'est très simple "
87
  "à utiliser et prend en charge de nombreuses options."
88
 
89
  #: ../admin/about.php:155
90
- #, fuzzy
91
  msgid "WP Ulike Extension"
92
- msgstr "Réglages WP ULike"
93
 
94
  #: ../admin/about.php:156
95
  msgid ""
96
  "Right now, WP ULike support wordpress posts / comments, BuddyPress "
97
  "activities & bbPress Topics."
98
  msgstr ""
 
 
99
 
100
  #: ../admin/about.php:165
101
  msgid "Added More Than 20 Language Files"
102
- msgstr ""
103
 
104
  #: ../admin/about.php:166
105
  msgid ""
106
  "WP ULike is already translated into +20 languages, with more always in "
107
  "progress."
108
  msgstr ""
 
 
109
 
110
  #: ../admin/about.php:175
111
  msgid "User Profile Links"
112
- msgstr ""
113
 
114
  #: ../admin/about.php:176
115
  msgid ""
116
  "Since WP ULike 2.3, We have synced the likers profile with BuddyPress & "
117
  "UltimateMember plugins."
118
  msgstr ""
 
 
119
 
120
  #: ../admin/about.php:185
121
  msgid "New Themes And Styles"
122
- msgstr ""
123
 
124
  #: ../admin/about.php:186
125
  msgid ""
126
  "Since WP ULike 2.3, We have made some new styles and themes and you can "
127
  "customize them by your taste."
128
  msgstr ""
 
 
129
 
130
  #: ../admin/about.php:195
131
- #, fuzzy
132
  msgid "myCRED Points Support"
133
- msgstr "Support de J'aime pas"
134
 
135
  #: ../admin/about.php:196
136
  msgid ""
137
  "myCRED is an adaptive points management system that lets you award / charge "
138
  "your users for interacting with your WordPress."
139
  msgstr ""
 
 
140
 
141
  #: ../admin/about.php:205 ../admin/stats.php:175 ../admin/stats.php:350
142
  msgid "Likers World Map"
143
- msgstr ""
144
 
145
  #: ../admin/about.php:206
146
  msgid ""
147
  "Since WP ULike 2.3, We have made a new ability that you can track your "
148
  "likers by their country in the world map & Top Liker widget."
149
  msgstr ""
 
 
150
 
151
  #: ../admin/about.php:216 ../admin/admin.php:175 ../admin/stats.php:23
152
  msgid "WP ULike Statistics"
@@ -158,11 +169,11 @@ msgstr "Accueil"
158
 
159
  #: ../admin/about.php:216
160
  msgid "OR"
161
- msgstr ""
162
 
163
  #: ../admin/about.php:216 ../admin/admin.php:72
164
  msgid "WP ULike Settings"
165
- msgstr "Réglages WP ULike"
166
 
167
  #: ../admin/about.php:222
168
  msgid "WP ULike is created by many love and time. Enjoy it :)"
@@ -183,10 +194,11 @@ msgstr "Traductions"
183
  #: ../admin/about.php:271
184
  msgid "Would you like to help translate the plugin into more languages?"
185
  msgstr ""
 
186
 
187
  #: ../admin/about.php:271
188
  msgid "Join our WP-Translations Community"
189
- msgstr ""
190
 
191
  #: ../admin/about.php:273
192
  msgid "Other Plugins"
@@ -194,7 +206,7 @@ msgstr "Autres extensions"
194
 
195
  #: ../admin/about.php:292
196
  msgid "Like this plugin?"
197
- msgstr "Vous aimez ce plugin ?"
198
 
199
  #: ../admin/about.php:293
200
  msgid ""
@@ -226,10 +238,12 @@ msgstr "Réglages enregistrés."
226
  #: ../admin/admin.php:113 ../admin/admin.php:141
227
  msgid "Failed! An Error Has Occurred While Deleting All ULike Logs/Data"
228
  msgstr ""
 
 
229
 
230
  #: ../admin/admin.php:115 ../admin/admin.php:143
231
  msgid "Success! All ULike Logs/Data Have Been Deleted"
232
- msgstr ""
233
 
234
  #: ../admin/admin.php:159 ../admin/logs.php:139 ../admin/stats.php:42
235
  msgid "Post Likes Logs"
@@ -244,9 +258,8 @@ msgid "Activity Likes Logs"
244
  msgstr "Journaux des J'aime d'activité"
245
 
246
  #: ../admin/admin.php:171 ../admin/logs.php:509 ../admin/stats.php:45
247
- #, fuzzy
248
  msgid "Topics Likes Logs"
249
- msgstr "Journaux des J'aime des articles"
250
 
251
  #: ../admin/classes/class-settings.php:17
252
  msgid "Custom Settings"
@@ -261,9 +274,8 @@ msgid "Reset Settings"
261
  msgstr "Réinitialiser les réglages"
262
 
263
  #: ../admin/classes/class-settings.php:44
264
- #, fuzzy
265
  msgid "Similar Settings"
266
- msgstr "Enregistrer les réglages"
267
 
268
  #: ../admin/classes/class-settings.php:48
269
  #: ../admin/classes/tmp/settings.php:124 ../admin/classes/tmp/settings.php:215
@@ -327,57 +339,56 @@ msgstr ""
327
  "invités de faire de J'aime / J'aime pas"
328
 
329
  #: ../admin/classes/class-settings.php:57
330
- #, fuzzy
331
  msgid "Template Variables"
332
- msgstr "Variables autorisées:"
333
 
334
  #: ../admin/classes/class-settings.php:59
335
  msgid "Start the loop of logs"
336
- msgstr ""
337
 
338
  #: ../admin/classes/class-settings.php:59
339
  #: ../admin/classes/class-settings.php:60
340
  msgid "required"
341
- msgstr ""
342
 
343
  #: ../admin/classes/class-settings.php:60
344
  msgid "End of the while loop"
345
- msgstr ""
346
 
347
  #: ../admin/classes/class-settings.php:61
348
  #: ../admin/classes/class-settings.php:65
349
  #: ../admin/classes/class-settings.php:69
350
  msgid "Display the liker name"
351
- msgstr ""
352
 
353
  #: ../admin/classes/class-settings.php:62
354
  msgid "Display the liker avatar (By Gravatar)"
355
- msgstr ""
356
 
357
  #: ../admin/classes/class-settings.php:63
358
  msgid "Display the BuddyPress user profile url"
359
- msgstr ""
360
 
361
  #: ../admin/classes/class-settings.php:64
362
  msgid "Display the UltimateMemebr user profile url"
363
- msgstr ""
364
 
365
  #: ../admin/classes/class-settings.php:66
366
  msgid "Display the permalink"
367
- msgstr ""
368
 
369
  #: ../admin/classes/class-settings.php:67
370
  #: ../admin/classes/class-settings.php:71
371
  msgid "Display the likes count number"
372
- msgstr ""
373
 
374
  #: ../admin/classes/class-settings.php:68
375
  msgid "Display the post title"
376
- msgstr ""
377
 
378
  #: ../admin/classes/class-settings.php:70
379
  msgid "Display the comment author name"
380
- msgstr ""
381
 
382
  #: ../admin/classes/class-settings.php:79 ../admin/classes/tmp/settings.php:72
383
  msgid "Posts"
@@ -526,7 +537,7 @@ msgstr "Vous n'avez encore aimé aucun article !"
526
 
527
  #: ../admin/classes/class-widget.php:126
528
  msgid "on"
529
- msgstr "on"
530
 
531
  #: ../admin/classes/class-widget.php:202 ../admin/classes/tmp/settings.php:23
532
  #: ../admin/classes/tmp/settings.php:24 ../admin/classes/tmp/settings.php:32
@@ -568,38 +579,37 @@ msgstr "Derniers articles aimés par l'utilisateur"
568
 
569
  #: ../admin/classes/class-widget.php:286
570
  msgid "Style:"
571
- msgstr ""
572
 
573
  #: ../admin/classes/class-widget.php:288
574
  msgid "Simple"
575
- msgstr ""
576
 
577
  #: ../admin/classes/class-widget.php:289 ../admin/classes/tmp/settings.php:80
578
  #: ../admin/classes/tmp/settings.php:186 ../admin/classes/tmp/settings.php:334
579
  #: ../admin/classes/tmp/settings.php:446
580
  msgid "Heart"
581
- msgstr ""
582
 
583
  #: ../admin/classes/class-widget.php:294
584
  msgid "Title Trim (Length):"
585
- msgstr ""
586
 
587
  #: ../admin/classes/class-widget.php:300
588
  msgid "Number of items to show:"
589
- msgstr "Nombre d'éléments à afficher:"
590
 
591
  #: ../admin/classes/class-widget.php:306
592
- #, fuzzy
593
  msgid "Thumbnail/Avatar size:"
594
- msgstr "Taille de l'avatar de l'utilisateur:"
595
 
596
  #: ../admin/classes/class-widget.php:312
597
  msgid "Profile URL:"
598
- msgstr ""
599
 
600
  #: ../admin/classes/class-widget.php:315
601
  msgid "UltimateMember"
602
- msgstr ""
603
 
604
  #: ../admin/classes/class-widget.php:321
605
  msgid "Activate Like Counter"
@@ -607,7 +617,7 @@ msgstr "Activer le compteur des J'aime"
607
 
608
  #: ../admin/classes/class-widget.php:326
609
  msgid "Activate Thumbnail/Avatar"
610
- msgstr ""
611
 
612
  #: ../admin/classes/tmp/settings.php:11
613
  msgid "General"
@@ -747,7 +757,7 @@ msgstr "Chercher les résultats"
747
 
748
  #: ../admin/classes/tmp/settings.php:109
749
  msgid "Tags"
750
- msgstr "Mots-clés"
751
 
752
  #: ../admin/classes/tmp/settings.php:110
753
  msgid "Author Page"
@@ -825,33 +835,37 @@ msgstr "Nombre d'utilisateurs"
825
  #: ../admin/classes/tmp/settings.php:388 ../admin/classes/tmp/settings.php:500
826
  msgid "The number of users to show in the users liked box"
827
  msgstr ""
828
- "le nombre d'utilisateurs à afficher dans la boite des utilisateurs qui aime"
829
 
830
  #: ../admin/classes/tmp/settings.php:156 ../admin/classes/tmp/settings.php:247
831
  #: ../admin/classes/tmp/settings.php:394 ../admin/classes/tmp/settings.php:407
832
  #: ../admin/classes/tmp/settings.php:413 ../admin/classes/tmp/settings.php:506
833
  msgid "Allowed Variables:"
834
- msgstr "Variables autorisées:"
835
 
836
  #: ../admin/classes/tmp/settings.php:160 ../admin/classes/tmp/settings.php:251
837
  #: ../admin/classes/tmp/settings.php:417 ../admin/classes/tmp/settings.php:510
838
  msgid "Delete All Logs"
839
- msgstr ""
840
 
841
  #: ../admin/classes/tmp/settings.php:161 ../admin/classes/tmp/settings.php:252
842
  #: ../admin/classes/tmp/settings.php:418 ../admin/classes/tmp/settings.php:511
843
  msgid "You Are About To Delete All Likes Logs. This Action Is Not Reversible."
844
  msgstr ""
 
 
845
 
846
  #: ../admin/classes/tmp/settings.php:166 ../admin/classes/tmp/settings.php:257
847
  #: ../admin/classes/tmp/settings.php:423 ../admin/classes/tmp/settings.php:516
848
  msgid "Delete All Data"
849
- msgstr ""
850
 
851
  #: ../admin/classes/tmp/settings.php:167 ../admin/classes/tmp/settings.php:258
852
  #: ../admin/classes/tmp/settings.php:424 ../admin/classes/tmp/settings.php:517
853
  msgid "You Are About To Delete All Likes Data. This Action Is Not Reversible."
854
  msgstr ""
 
 
855
 
856
  #: ../admin/classes/tmp/settings.php:210
857
  msgid ""
@@ -897,9 +911,8 @@ msgid "Loading Animation"
897
  msgstr "Animation de chargement"
898
 
899
  #: ../admin/classes/tmp/settings.php:314
900
- #, fuzzy
901
  msgid "Custom CSS"
902
- msgstr "Style personnalisé"
903
 
904
  #: ../admin/classes/tmp/settings.php:348
905
  msgid "Activity Content"
@@ -925,11 +938,10 @@ msgid "insert new likes in buddyPress activity page"
925
  msgstr "insérer de nouveaux J'aime dans la page d'activité BuddyPress"
926
 
927
  #: ../admin/classes/tmp/settings.php:469
928
- #, fuzzy
929
  msgid "<strong>Only</strong> registered users have permission to like Topics."
930
  msgstr ""
931
  "<strong>Seuls</strong> les utilisateurs enregistrés ont la permission "
932
- "d'Aimer les articles."
933
 
934
  #: ../admin/classes/tmp/settings.php:504
935
  msgid "Users who have liked this topic:"
@@ -1029,12 +1041,11 @@ msgstr "<a href=\"%1$s\">Permalien activité</a>"
1029
 
1030
  #: ../admin/logs.php:522
1031
  msgid "Topic ID"
1032
- msgstr ""
1033
 
1034
  #: ../admin/logs.php:523
1035
- #, fuzzy
1036
  msgid "Topic Title"
1037
- msgstr "Titre d'article"
1038
 
1039
  #: ../admin/stats.php:30
1040
  msgid "Welcome to WP ULike Statistics!"
@@ -1068,7 +1079,7 @@ msgstr "Contact"
1068
 
1069
  #: ../admin/stats.php:54
1070
  msgid "GitHub Repository"
1071
- msgstr ""
1072
 
1073
  #: ../admin/stats.php:80
1074
  msgid "Posts Likes Summary"
@@ -1083,9 +1094,8 @@ msgid "Activities Likes Summary"
1083
  msgstr "Résumé des J'aime des activités"
1084
 
1085
  #: ../admin/stats.php:104
1086
- #, fuzzy
1087
  msgid "Topics Likes Summary"
1088
- msgstr "Résumé des J'aime des articles"
1089
 
1090
  #: ../admin/stats.php:114 ../admin/stats.php:344
1091
  msgid "Summary"
@@ -1116,9 +1126,8 @@ msgid "Total"
1116
  msgstr "Total"
1117
 
1118
  #: ../admin/stats.php:192 ../admin/stats.php:351
1119
- #, fuzzy
1120
  msgid "Top Likers"
1121
- msgstr "Total des J'aime"
1122
 
1123
  #: ../admin/stats.php:227 ../admin/stats.php:233 ../admin/stats.php:239
1124
  #: ../admin/stats.php:245
@@ -1144,9 +1153,8 @@ msgid "Activities Likes Stats"
1144
  msgstr "Stats de l'activité des J'aime"
1145
 
1146
  #: ../admin/stats.php:246 ../admin/stats.php:348
1147
- #, fuzzy
1148
  msgid "Topics Likes Stats"
1149
- msgstr "Stats des articles aimés"
1150
 
1151
  #: ../admin/stats.php:277 ../admin/stats.php:349
1152
  msgid "Likes Percent"
@@ -1166,71 +1174,68 @@ msgstr "Jours"
1166
 
1167
  #: ../inc/classes/class-mycred.php:202
1168
  msgid "Points for Liking content"
1169
- msgstr ""
1170
 
1171
  #: ../inc/classes/class-mycred.php:209 ../inc/classes/class-mycred.php:226
1172
  msgid "Limit"
1173
- msgstr ""
1174
 
1175
  #: ../inc/classes/class-mycred.php:214 ../inc/classes/class-mycred.php:231
1176
  #: ../inc/classes/class-mycred.php:243 ../inc/classes/class-mycred.php:255
1177
  msgid "Log template"
1178
- msgstr ""
1179
 
1180
  #: ../inc/classes/class-mycred.php:219
1181
  msgid "Points for Author Who Get Liked"
1182
- msgstr ""
1183
 
1184
  #: ../inc/classes/class-mycred.php:236
1185
  msgid "Points for unliking content"
1186
- msgstr ""
1187
 
1188
  #: ../inc/classes/class-mycred.php:248
1189
  msgid "Points for Author Who Get Unliked"
1190
- msgstr ""
1191
 
1192
  #: ../inc/wp-functions.php:172
1193
  msgid "WP ULike Activity"
1194
- msgstr "Activités de WP Ulike"
1195
 
1196
  #: ../inc/wp-functions.php:303
1197
  msgid ""
1198
  "This hook award / deducts points from users who Like/Unlike any content of "
1199
  "WordPress, bbPress, BuddyPress & ..."
1200
  msgstr ""
 
 
1201
 
1202
  #: ../inc/wp-functions.php:311
1203
- #, fuzzy
1204
  msgid "Liking Content"
1205
- msgstr "Contenu d'activité"
1206
 
1207
  #: ../inc/wp-functions.php:312
1208
- #, fuzzy
1209
  msgid "Liked Content"
1210
- msgstr "Commentaires les plus aimés"
1211
 
1212
  #: ../inc/wp-functions.php:313
1213
- #, fuzzy
1214
  msgid "Unliking Content"
1215
- msgstr "Contenu d'activité"
1216
 
1217
  #: ../inc/wp-functions.php:314
1218
  msgid "Unliked Content"
1219
- msgstr ""
1220
 
1221
  #: ../inc/wp-functions.php:336 ../inc/wp-functions.php:370
1222
- #, fuzzy
1223
  msgid "Recent Posts Liked"
1224
- msgstr "Total des J'aime des articles"
1225
 
1226
  #: ../inc/wp-functions.php:341 ../inc/wp-functions.php:410
1227
- #, fuzzy
1228
  msgid "Recent Comments Liked"
1229
- msgstr "Total des J'aime des commentaires"
1230
 
1231
  #: ../inc/wp-functions.php:386 ../inc/wp-functions.php:427
1232
  msgid "This user has not made any likes."
1233
- msgstr ""
1234
 
1235
  #: ../inc/wp-strings.php:3
1236
  msgid "Allow To Like"
@@ -1338,7 +1343,7 @@ msgstr "Vote négatif"
1338
 
1339
  #: ../inc/wp-ulike.php:70 ../inc/wp-ulike.php:291
1340
  msgid "You need to login in order to like this post: "
1341
- msgstr "Vous devez être connecté pour aimer cet article:"
1342
 
1343
  #: ../inc/wp-ulike.php:70 ../inc/wp-ulike.php:142 ../inc/wp-ulike.php:219
1344
  #: ../inc/wp-ulike.php:291
@@ -1347,72 +1352,24 @@ msgstr "Cliquez ici"
1347
 
1348
  #: ../inc/wp-ulike.php:142
1349
  msgid "You need to login in order to like this comment: "
1350
- msgstr "Vous devez être connecté pour aimer ce commentaire:"
1351
 
1352
  #: ../inc/wp-ulike.php:219
1353
  msgid "You need to login in order to like this activity: "
1354
- msgstr "Vous devez être connecté pour aimer cette activité:"
1355
 
1356
  #: ../inc/wp-ulike.php:343
1357
  msgid "Error: This Method Is Not Exist!"
1358
- msgstr ""
1359
 
1360
  #: ../wp-ulike.php:124
1361
- #, fuzzy
1362
  msgid "Settings"
1363
- msgstr "Enregistrer les réglages"
1364
 
1365
  #: ../wp-ulike.php:125
1366
- #, fuzzy
1367
  msgid "Statistics"
1368
- msgstr "Nouvelle page de statistiques"
1369
 
1370
  #: ../wp-ulike.php:126
1371
  msgid "About"
1372
- msgstr ""
1373
-
1374
- #~ msgid "Novelty Of WP ULike"
1375
- #~ msgstr "Nouveauté de WP Ulike"
1376
-
1377
- #~ msgid "New Statistics Design + Screen Option"
1378
- #~ msgstr "Nouveau design des statistiques + option d'écran"
1379
-
1380
- #~ msgid "New Class-based programming"
1381
- #~ msgstr "Nouvelle programmation à base de classes"
1382
-
1383
- #~ msgid "New options in logs pages"
1384
- #~ msgstr "Nouvelles options dans les pages des journaux"
1385
-
1386
- #~ msgid "New setting panel"
1387
- #~ msgstr "Nouveau panneau de configuration"
1388
-
1389
- #~ msgid "Better coding on plugin files"
1390
- #~ msgstr "Meilleur codage sur les fichier de l'extension"
1391
-
1392
- #~ msgid "Buddypress likes support"
1393
- #~ msgstr "Support des J'aime de BuddyPress"
1394
-
1395
- #~ msgid "Likes logs support"
1396
- #~ msgstr "Support des journaux des J'aime"
1397
-
1398
- #~ msgid "Overview"
1399
- #~ msgstr "Vue générale"
1400
-
1401
- #~ msgid "Text After Like"
1402
- #~ msgstr "Texte après le J'aime"
1403
-
1404
- #~ msgid "Return To The Initial"
1405
- #~ msgstr "Retourner à l'état initial"
1406
-
1407
- #~ msgid ""
1408
- #~ "Return to the initial Like button after Unlike. (Not Showing text after "
1409
- #~ "unlike)"
1410
- #~ msgstr ""
1411
- #~ "Retourner au bouton J'aime initial après un J'aime pas. (Ne montre pas le "
1412
- #~ "texte après un J'aime pas)"
1413
-
1414
- #~ msgid "Like Me Again!"
1415
- #~ msgstr "Aimez-moi à nouveau !"
1416
-
1417
- #~ msgid "Text After Unlike"
1418
- #~ msgstr "Texte après le J'aime pas"
1
+ # Copyright (C) 2015 WP ULike
2
+ # This file is distributed under the same license as the WP ULike package.
3
  # Translators:
4
+ # danbp <danco38@gmail.com>, 2015
5
  # Franck, 2015
6
+ # FX Bénard <fxb@wp-translations.org>, 2015
7
  # Jean-Christophe Brebion <pro@jcbrebion.com>, 2015
8
  msgid ""
9
  msgstr ""
10
  "Project-Id-Version: WP ULike\n"
11
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-ulike\n"
12
+ "POT-Creation-Date: 2015-05-21 11:36+0330\n"
13
+ "PO-Revision-Date: 2015-10-28 13:51+0330\n"
14
+ "Last-Translator: Alimir <alimir71@yahoo.com>\n"
15
+ "Language-Team: French (France) (http://www.transifex.com/wp-translations/wp-"
16
+ "ulike/language/fr_FR/)\n"
17
  "MIME-Version: 1.0\n"
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
  "Content-Transfer-Encoding: 8bit\n"
20
+ "Language: fr_FR\n"
21
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
22
+ "X-Generator: Poedit 1.5.4\n"
23
  "X-Poedit-Basepath: .\n"
24
+ "X-Poedit-KeywordsList: __;_e\n"
 
25
  "X-Poedit-SearchPath-0: .\n"
26
  "X-Poedit-SearchPath-1: ..\n"
27
 
34
  "Thank you for choosing WP ULike! This version is our leanest and most "
35
  "powerful version yet."
36
  msgstr ""
37
+ "Merci d'avoir choisi WP ULike&nbsp;! Cette version est la plus légère et la "
38
+ "plus puissante à ce jour."
39
 
40
  #: ../admin/about.php:110 ../admin/stats.php:37
41
  msgid "Visit our homepage"
56
  #: ../admin/about.php:117 ../admin/classes/class-settings.php:111
57
  #: ../admin/stats.php:51
58
  msgid "Support"
59
+ msgstr "Support"
60
 
61
  #: ../admin/about.php:118 ../admin/classes/class-settings.php:111
62
  #: ../admin/stats.php:52
68
  msgstr "Avis"
69
 
70
  #: ../admin/about.php:125
 
71
  msgid "Introducing WP ULike"
72
+ msgstr "Introduction à WP ULike"
73
 
74
  #: ../admin/about.php:132 ../admin/admin.php:179 ../admin/stats.php:36
75
  msgid "About WP ULike"
76
+ msgstr "À propos de WP ULike"
77
 
78
  #: ../admin/about.php:133 ../admin/classes/class-settings.php:46
79
  msgid ""
82
  "comments AND buddypress activities. Its very simple to use and supports many "
83
  "options."
84
  msgstr ""
85
+ "L'extension WP ULike permet d'intégrer un joli bouton Ajax J'aime dans votre "
86
  "site WordPress pour permettre à vos visiteurs d'aimer ou pas les pages, les "
87
  "articles, les commentaires et les activités de BuddyPress. C'est très simple "
88
  "à utiliser et prend en charge de nombreuses options."
89
 
90
  #: ../admin/about.php:155
 
91
  msgid "WP Ulike Extension"
92
+ msgstr "Extension WP ULike"
93
 
94
  #: ../admin/about.php:156
95
  msgid ""
96
  "Right now, WP ULike support wordpress posts / comments, BuddyPress "
97
  "activities & bbPress Topics."
98
  msgstr ""
99
+ "Actuellement, WP ULike fonctionne pour les articles et commentaires "
100
+ "WordPress, les activités BuddyPress et les sujets bbPress."
101
 
102
  #: ../admin/about.php:165
103
  msgid "Added More Than 20 Language Files"
104
+ msgstr "Ajout de plus de 20 fichiers de langues"
105
 
106
  #: ../admin/about.php:166
107
  msgid ""
108
  "WP ULike is already translated into +20 languages, with more always in "
109
  "progress."
110
  msgstr ""
111
+ "WP ULike est traduit en +20 langues, et de nouvelles sont ajoutées en "
112
+ "permanence."
113
 
114
  #: ../admin/about.php:175
115
  msgid "User Profile Links"
116
+ msgstr "Liens profil utilisateur"
117
 
118
  #: ../admin/about.php:176
119
  msgid ""
120
  "Since WP ULike 2.3, We have synced the likers profile with BuddyPress & "
121
  "UltimateMember plugins."
122
  msgstr ""
123
+ "Depuis WP ULike 2.3, nous avons synchronisé les profils avec les extensions "
124
+ "BuddyPress et UltimateMember."
125
 
126
  #: ../admin/about.php:185
127
  msgid "New Themes And Styles"
128
+ msgstr "Nouveaux thèmes et styles"
129
 
130
  #: ../admin/about.php:186
131
  msgid ""
132
  "Since WP ULike 2.3, We have made some new styles and themes and you can "
133
  "customize them by your taste."
134
  msgstr ""
135
+ " Depuis WP ULike 2.3, nous avons ajouté quelques thèmes et styles que vous "
136
+ "pouvez personnaliser selon votre goût."
137
 
138
  #: ../admin/about.php:195
 
139
  msgid "myCRED Points Support"
140
+ msgstr "Support myCred Points"
141
 
142
  #: ../admin/about.php:196
143
  msgid ""
144
  "myCRED is an adaptive points management system that lets you award / charge "
145
  "your users for interacting with your WordPress."
146
  msgstr ""
147
+ "myCred est un sytème de gestion de points très souple qui vous permet de "
148
+ "promouvoir / attribuer des points aux utilisateurs de votre WordPress."
149
 
150
  #: ../admin/about.php:205 ../admin/stats.php:175 ../admin/stats.php:350
151
  msgid "Likers World Map"
152
+ msgstr "Planisphère des likers"
153
 
154
  #: ../admin/about.php:206
155
  msgid ""
156
  "Since WP ULike 2.3, We have made a new ability that you can track your "
157
  "likers by their country in the world map & Top Liker widget."
158
  msgstr ""
159
+ "Depuis WP ULike 2.3, nous avons ajouté la possibilité de suivre les likers "
160
+ "par pays depuis la planisphère et le widget TopLiker"
161
 
162
  #: ../admin/about.php:216 ../admin/admin.php:175 ../admin/stats.php:23
163
  msgid "WP ULike Statistics"
169
 
170
  #: ../admin/about.php:216
171
  msgid "OR"
172
+ msgstr "OU"
173
 
174
  #: ../admin/about.php:216 ../admin/admin.php:72
175
  msgid "WP ULike Settings"
176
+ msgstr "Réglages de WP ULike"
177
 
178
  #: ../admin/about.php:222
179
  msgid "WP ULike is created by many love and time. Enjoy it :)"
194
  #: ../admin/about.php:271
195
  msgid "Would you like to help translate the plugin into more languages?"
196
  msgstr ""
197
+ "Aimeriez-vous participer à la traduction de l'extension en d'autres langues ?"
198
 
199
  #: ../admin/about.php:271
200
  msgid "Join our WP-Translations Community"
201
+ msgstr "Rejoignez notre Communauté WP-Translations"
202
 
203
  #: ../admin/about.php:273
204
  msgid "Other Plugins"
206
 
207
  #: ../admin/about.php:292
208
  msgid "Like this plugin?"
209
+ msgstr "Vous aimez cette extension ?"
210
 
211
  #: ../admin/about.php:293
212
  msgid ""
238
  #: ../admin/admin.php:113 ../admin/admin.php:141
239
  msgid "Failed! An Error Has Occurred While Deleting All ULike Logs/Data"
240
  msgstr ""
241
+ "Echec&nbsp;! Une erreur est survenue pendant la suppression des données/"
242
+ "historiques ULike."
243
 
244
  #: ../admin/admin.php:115 ../admin/admin.php:143
245
  msgid "Success! All ULike Logs/Data Have Been Deleted"
246
+ msgstr "Succès&nbsp;! Tous les journaux/données ont été supprimés."
247
 
248
  #: ../admin/admin.php:159 ../admin/logs.php:139 ../admin/stats.php:42
249
  msgid "Post Likes Logs"
258
  msgstr "Journaux des J'aime d'activité"
259
 
260
  #: ../admin/admin.php:171 ../admin/logs.php:509 ../admin/stats.php:45
 
261
  msgid "Topics Likes Logs"
262
+ msgstr "Historiques des sujets likés"
263
 
264
  #: ../admin/classes/class-settings.php:17
265
  msgid "Custom Settings"
274
  msgstr "Réinitialiser les réglages"
275
 
276
  #: ../admin/classes/class-settings.php:44
 
277
  msgid "Similar Settings"
278
+ msgstr "Réglages similaires"
279
 
280
  #: ../admin/classes/class-settings.php:48
281
  #: ../admin/classes/tmp/settings.php:124 ../admin/classes/tmp/settings.php:215
339
  "invités de faire de J'aime / J'aime pas"
340
 
341
  #: ../admin/classes/class-settings.php:57
 
342
  msgid "Template Variables"
343
+ msgstr "Modèles de variables"
344
 
345
  #: ../admin/classes/class-settings.php:59
346
  msgid "Start the loop of logs"
347
+ msgstr "Début de la boucle des journaux"
348
 
349
  #: ../admin/classes/class-settings.php:59
350
  #: ../admin/classes/class-settings.php:60
351
  msgid "required"
352
+ msgstr "obligatoire"
353
 
354
  #: ../admin/classes/class-settings.php:60
355
  msgid "End of the while loop"
356
+ msgstr "Fin de la boucle while"
357
 
358
  #: ../admin/classes/class-settings.php:61
359
  #: ../admin/classes/class-settings.php:65
360
  #: ../admin/classes/class-settings.php:69
361
  msgid "Display the liker name"
362
+ msgstr "Afficher le nom du liker"
363
 
364
  #: ../admin/classes/class-settings.php:62
365
  msgid "Display the liker avatar (By Gravatar)"
366
+ msgstr "Afficher le gravatar du liker"
367
 
368
  #: ../admin/classes/class-settings.php:63
369
  msgid "Display the BuddyPress user profile url"
370
+ msgstr "Afficher l'url du profil utilisateur BuddyPress"
371
 
372
  #: ../admin/classes/class-settings.php:64
373
  msgid "Display the UltimateMemebr user profile url"
374
+ msgstr "Afficher l'url du profil utilisateur UltimateMember"
375
 
376
  #: ../admin/classes/class-settings.php:66
377
  msgid "Display the permalink"
378
+ msgstr "Afficher le permalien"
379
 
380
  #: ../admin/classes/class-settings.php:67
381
  #: ../admin/classes/class-settings.php:71
382
  msgid "Display the likes count number"
383
+ msgstr "Afficher le nombre de J'aime"
384
 
385
  #: ../admin/classes/class-settings.php:68
386
  msgid "Display the post title"
387
+ msgstr "Afficher le titre de l'article"
388
 
389
  #: ../admin/classes/class-settings.php:70
390
  msgid "Display the comment author name"
391
+ msgstr "Afficher le nom de l'auteur du commentaire"
392
 
393
  #: ../admin/classes/class-settings.php:79 ../admin/classes/tmp/settings.php:72
394
  msgid "Posts"
537
 
538
  #: ../admin/classes/class-widget.php:126
539
  msgid "on"
540
+ msgstr "le"
541
 
542
  #: ../admin/classes/class-widget.php:202 ../admin/classes/tmp/settings.php:23
543
  #: ../admin/classes/tmp/settings.php:24 ../admin/classes/tmp/settings.php:32
579
 
580
  #: ../admin/classes/class-widget.php:286
581
  msgid "Style:"
582
+ msgstr "Style :"
583
 
584
  #: ../admin/classes/class-widget.php:288
585
  msgid "Simple"
586
+ msgstr "Simple"
587
 
588
  #: ../admin/classes/class-widget.php:289 ../admin/classes/tmp/settings.php:80
589
  #: ../admin/classes/tmp/settings.php:186 ../admin/classes/tmp/settings.php:334
590
  #: ../admin/classes/tmp/settings.php:446
591
  msgid "Heart"
592
+ msgstr "Cœur "
593
 
594
  #: ../admin/classes/class-widget.php:294
595
  msgid "Title Trim (Length):"
596
+ msgstr "Titre Trim (Longueur)&nbsp;:"
597
 
598
  #: ../admin/classes/class-widget.php:300
599
  msgid "Number of items to show:"
600
+ msgstr "Nombre d'éléments à afficher&nbsp;:"
601
 
602
  #: ../admin/classes/class-widget.php:306
 
603
  msgid "Thumbnail/Avatar size:"
604
+ msgstr "Taille de miniature / avatar&nbsp;:"
605
 
606
  #: ../admin/classes/class-widget.php:312
607
  msgid "Profile URL:"
608
+ msgstr "Url du profil :"
609
 
610
  #: ../admin/classes/class-widget.php:315
611
  msgid "UltimateMember"
612
+ msgstr "UltimateMember"
613
 
614
  #: ../admin/classes/class-widget.php:321
615
  msgid "Activate Like Counter"
617
 
618
  #: ../admin/classes/class-widget.php:326
619
  msgid "Activate Thumbnail/Avatar"
620
+ msgstr "Activer miniature / avatar"
621
 
622
  #: ../admin/classes/tmp/settings.php:11
623
  msgid "General"
757
 
758
  #: ../admin/classes/tmp/settings.php:109
759
  msgid "Tags"
760
+ msgstr "Étiquettes"
761
 
762
  #: ../admin/classes/tmp/settings.php:110
763
  msgid "Author Page"
835
  #: ../admin/classes/tmp/settings.php:388 ../admin/classes/tmp/settings.php:500
836
  msgid "The number of users to show in the users liked box"
837
  msgstr ""
838
+ "Le nombre d'utilisateurs à afficher dans la boite des utilisateurs qui aiment"
839
 
840
  #: ../admin/classes/tmp/settings.php:156 ../admin/classes/tmp/settings.php:247
841
  #: ../admin/classes/tmp/settings.php:394 ../admin/classes/tmp/settings.php:407
842
  #: ../admin/classes/tmp/settings.php:413 ../admin/classes/tmp/settings.php:506
843
  msgid "Allowed Variables:"
844
+ msgstr "Variables autorisées :"
845
 
846
  #: ../admin/classes/tmp/settings.php:160 ../admin/classes/tmp/settings.php:251
847
  #: ../admin/classes/tmp/settings.php:417 ../admin/classes/tmp/settings.php:510
848
  msgid "Delete All Logs"
849
+ msgstr "Supprimer tous les journaux"
850
 
851
  #: ../admin/classes/tmp/settings.php:161 ../admin/classes/tmp/settings.php:252
852
  #: ../admin/classes/tmp/settings.php:418 ../admin/classes/tmp/settings.php:511
853
  msgid "You Are About To Delete All Likes Logs. This Action Is Not Reversible."
854
  msgstr ""
855
+ "Vous êtes sur le point de détruire tous les journaux des J'aime. Cette "
856
+ "action est irréversible."
857
 
858
  #: ../admin/classes/tmp/settings.php:166 ../admin/classes/tmp/settings.php:257
859
  #: ../admin/classes/tmp/settings.php:423 ../admin/classes/tmp/settings.php:516
860
  msgid "Delete All Data"
861
+ msgstr "Supprimer toutes les données"
862
 
863
  #: ../admin/classes/tmp/settings.php:167 ../admin/classes/tmp/settings.php:258
864
  #: ../admin/classes/tmp/settings.php:424 ../admin/classes/tmp/settings.php:517
865
  msgid "You Are About To Delete All Likes Data. This Action Is Not Reversible."
866
  msgstr ""
867
+ "Vous êtes sur le point de détruire toutes les données des J'aime. Cette "
868
+ "action est irréversible."
869
 
870
  #: ../admin/classes/tmp/settings.php:210
871
  msgid ""
911
  msgstr "Animation de chargement"
912
 
913
  #: ../admin/classes/tmp/settings.php:314
 
914
  msgid "Custom CSS"
915
+ msgstr "CSS personnalisé"
916
 
917
  #: ../admin/classes/tmp/settings.php:348
918
  msgid "Activity Content"
938
  msgstr "insérer de nouveaux J'aime dans la page d'activité BuddyPress"
939
 
940
  #: ../admin/classes/tmp/settings.php:469
 
941
  msgid "<strong>Only</strong> registered users have permission to like Topics."
942
  msgstr ""
943
  "<strong>Seuls</strong> les utilisateurs enregistrés ont la permission "
944
+ "d'Aimer les sujets."
945
 
946
  #: ../admin/classes/tmp/settings.php:504
947
  msgid "Users who have liked this topic:"
1041
 
1042
  #: ../admin/logs.php:522
1043
  msgid "Topic ID"
1044
+ msgstr "ID du sujet"
1045
 
1046
  #: ../admin/logs.php:523
 
1047
  msgid "Topic Title"
1048
+ msgstr "Titre du sujet"
1049
 
1050
  #: ../admin/stats.php:30
1051
  msgid "Welcome to WP ULike Statistics!"
1079
 
1080
  #: ../admin/stats.php:54
1081
  msgid "GitHub Repository"
1082
+ msgstr "Dépôt Github"
1083
 
1084
  #: ../admin/stats.php:80
1085
  msgid "Posts Likes Summary"
1094
  msgstr "Résumé des J'aime des activités"
1095
 
1096
  #: ../admin/stats.php:104
 
1097
  msgid "Topics Likes Summary"
1098
+ msgstr "Résumé des J'aime des sujets"
1099
 
1100
  #: ../admin/stats.php:114 ../admin/stats.php:344
1101
  msgid "Summary"
1126
  msgstr "Total"
1127
 
1128
  #: ../admin/stats.php:192 ../admin/stats.php:351
 
1129
  msgid "Top Likers"
1130
+ msgstr "Top Likers"
1131
 
1132
  #: ../admin/stats.php:227 ../admin/stats.php:233 ../admin/stats.php:239
1133
  #: ../admin/stats.php:245
1153
  msgstr "Stats de l'activité des J'aime"
1154
 
1155
  #: ../admin/stats.php:246 ../admin/stats.php:348
 
1156
  msgid "Topics Likes Stats"
1157
+ msgstr "Stats des J'aime des sujets"
1158
 
1159
  #: ../admin/stats.php:277 ../admin/stats.php:349
1160
  msgid "Likes Percent"
1174
 
1175
  #: ../inc/classes/class-mycred.php:202
1176
  msgid "Points for Liking content"
1177
+ msgstr "Points pour aimer le contenu"
1178
 
1179
  #: ../inc/classes/class-mycred.php:209 ../inc/classes/class-mycred.php:226
1180
  msgid "Limit"
1181
+ msgstr "Limite"
1182
 
1183
  #: ../inc/classes/class-mycred.php:214 ../inc/classes/class-mycred.php:231
1184
  #: ../inc/classes/class-mycred.php:243 ../inc/classes/class-mycred.php:255
1185
  msgid "Log template"
1186
+ msgstr "Modèle de journal"
1187
 
1188
  #: ../inc/classes/class-mycred.php:219
1189
  msgid "Points for Author Who Get Liked"
1190
+ msgstr "Points pour auteur qui a obtenu des J'aime"
1191
 
1192
  #: ../inc/classes/class-mycred.php:236
1193
  msgid "Points for unliking content"
1194
+ msgstr "Points pour le contenu non aimé"
1195
 
1196
  #: ../inc/classes/class-mycred.php:248
1197
  msgid "Points for Author Who Get Unliked"
1198
+ msgstr "Points pour auteur qui a obtenu des J'aime pas"
1199
 
1200
  #: ../inc/wp-functions.php:172
1201
  msgid "WP ULike Activity"
1202
+ msgstr "Activités de WP ULike"
1203
 
1204
  #: ../inc/wp-functions.php:303
1205
  msgid ""
1206
  "This hook award / deducts points from users who Like/Unlike any content of "
1207
  "WordPress, bbPress, BuddyPress & ..."
1208
  msgstr ""
1209
+ "Ce crochet attribue / déduit des points des utilisateurs qui Aiment / Aiment "
1210
+ "pas tout le contenu de WordPress, bbPress, BuddyPress..."
1211
 
1212
  #: ../inc/wp-functions.php:311
 
1213
  msgid "Liking Content"
1214
+ msgstr "Aimer le contenu"
1215
 
1216
  #: ../inc/wp-functions.php:312
 
1217
  msgid "Liked Content"
1218
+ msgstr "Contenu aimé"
1219
 
1220
  #: ../inc/wp-functions.php:313
 
1221
  msgid "Unliking Content"
1222
+ msgstr "Ne pas aimer le contenu"
1223
 
1224
  #: ../inc/wp-functions.php:314
1225
  msgid "Unliked Content"
1226
+ msgstr "Contenu pas aimé"
1227
 
1228
  #: ../inc/wp-functions.php:336 ../inc/wp-functions.php:370
 
1229
  msgid "Recent Posts Liked"
1230
+ msgstr "Articles récemment aimés"
1231
 
1232
  #: ../inc/wp-functions.php:341 ../inc/wp-functions.php:410
 
1233
  msgid "Recent Comments Liked"
1234
+ msgstr "Commentaires récemment non aimés"
1235
 
1236
  #: ../inc/wp-functions.php:386 ../inc/wp-functions.php:427
1237
  msgid "This user has not made any likes."
1238
+ msgstr "Cet utilisateur n'a fait aucun J'aime"
1239
 
1240
  #: ../inc/wp-strings.php:3
1241
  msgid "Allow To Like"
1343
 
1344
  #: ../inc/wp-ulike.php:70 ../inc/wp-ulike.php:291
1345
  msgid "You need to login in order to like this post: "
1346
+ msgstr "Vous devez être connecté pour aimer cet article&nbsp;:"
1347
 
1348
  #: ../inc/wp-ulike.php:70 ../inc/wp-ulike.php:142 ../inc/wp-ulike.php:219
1349
  #: ../inc/wp-ulike.php:291
1352
 
1353
  #: ../inc/wp-ulike.php:142
1354
  msgid "You need to login in order to like this comment: "
1355
+ msgstr "Vous devez être connecté pour aimer ce commentaire&nbsp;:"
1356
 
1357
  #: ../inc/wp-ulike.php:219
1358
  msgid "You need to login in order to like this activity: "
1359
+ msgstr "Vous devez être connecté pour aimer cette activité&nbsp;:"
1360
 
1361
  #: ../inc/wp-ulike.php:343
1362
  msgid "Error: This Method Is Not Exist!"
1363
+ msgstr "Erreur : cette méthode n'existe pas !"
1364
 
1365
  #: ../wp-ulike.php:124
 
1366
  msgid "Settings"
1367
+ msgstr "Réglages"
1368
 
1369
  #: ../wp-ulike.php:125
 
1370
  msgid "Statistics"
1371
+ msgstr "Statistiques"
1372
 
1373
  #: ../wp-ulike.php:126
1374
  msgid "About"
1375
+ msgstr "À propos"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/{alimir-he_IL.mo → wp-ulike-he_IL.mo} RENAMED
File without changes
lang/{alimir-he_IL.po → wp-ulike-he_IL.po} RENAMED
File without changes
lang/{alimir-hu_HU.mo → wp-ulike-hu_HU.mo} RENAMED
File without changes
lang/{alimir-hu_HU.po → wp-ulike-hu_HU.po} RENAMED
File without changes
lang/{alimir-id_ID.mo → wp-ulike-id_ID.mo} RENAMED
File without changes
lang/{alimir-id_ID.po → wp-ulike-id_ID.po} RENAMED
File without changes
lang/{alimir-it_IT.mo → wp-ulike-it_IT.mo} RENAMED
File without changes
lang/{alimir-it_IT.po → wp-ulike-it_IT.po} RENAMED
File without changes
lang/{alimir-ja.mo → wp-ulike-ja.mo} RENAMED
File without changes
lang/{alimir-ja.po → wp-ulike-ja.po} RENAMED
File without changes
lang/{alimir-km.mo → wp-ulike-km.mo} RENAMED
File without changes
lang/{alimir-km.po → wp-ulike-km.po} RENAMED
File without changes
lang/{alimir-lt_LT.mo → wp-ulike-lt_LT.mo} RENAMED
File without changes
lang/{alimir-lt_LT.po → wp-ulike-lt_LT.po} RENAMED
File without changes
lang/{alimir-nl_NL.mo → wp-ulike-nl_NL.mo} RENAMED
File without changes
lang/{alimir-nl_NL.po → wp-ulike-nl_NL.po} RENAMED
File without changes
lang/{alimir-pl_PL.mo → wp-ulike-pl_PL.mo} RENAMED
File without changes
lang/{alimir-pl_PL.po → wp-ulike-pl_PL.po} RENAMED
File without changes
lang/{alimir-pt_BR.mo → wp-ulike-pt_BR.mo} RENAMED
File without changes
lang/{alimir-pt_BR.po → wp-ulike-pt_BR.po} RENAMED
File without changes
lang/{alimir-pt_PT.mo → wp-ulike-pt_PT.mo} RENAMED
File without changes
lang/{alimir-pt_PT.po → wp-ulike-pt_PT.po} RENAMED
File without changes
lang/{alimir-ro_RO.mo → wp-ulike-ro_RO.mo} RENAMED
File without changes
lang/{alimir-ro_RO.po → wp-ulike-ro_RO.po} RENAMED
File without changes
lang/{alimir-ru_RU.mo → wp-ulike-ru_RU.mo} RENAMED
File without changes
lang/{alimir-ru_RU.po → wp-ulike-ru_RU.po} RENAMED
File without changes
lang/{alimir-sk_SK.mo → wp-ulike-sk_SK.mo} RENAMED
File without changes
lang/{alimir-sk_SK.po → wp-ulike-sk_SK.po} RENAMED
File without changes
lang/{alimir-sv_SE.mo → wp-ulike-sv_SE.mo} RENAMED
File without changes
lang/{alimir-sv_SE.po → wp-ulike-sv_SE.po} RENAMED
File without changes
lang/{alimir-tr_TR.mo → wp-ulike-tr_TR.mo} RENAMED
File without changes
lang/{alimir-tr_TR.po → wp-ulike-tr_TR.po} RENAMED
File without changes
lang/{alimir-zh_CN.mo → wp-ulike-zh_CN.mo} RENAMED
File without changes
lang/{alimir-zh_CN.po → wp-ulike-zh_CN.po} RENAMED
File without changes
lang/{alimir-zh_TW.mo → wp-ulike-zh_TW.mo} RENAMED
File without changes
lang/{alimir-zh_TW.po → wp-ulike-zh_TW.po} RENAMED
File without changes
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: http://alimir.ir
4
  Author: Ali Mirzaei
5
  Tags: wp ulike, wordpress youlike plugin, like button, rating, vote, voting, most liked posts, wordpress like page, wordpress like post, wordpress vote page, wordpress vote post, wp like page, wp like post, wp like plugin, buddypress like system, buddypress votes, comment like system, voting button, wordpress, buddypress, statistics, stats likes, bbpress, bbPress like, WP-Translations, forums, community, credit, points, mycred, users, ultimate member
6
  Requires at least: 3.5
7
- Tested up to: 4.2.2
8
- Stable tag: 2.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -13,7 +13,7 @@ WP ULike enables you to add Ajax Like button into your WP and allowing your visi
13
 
14
  == Description ==
15
 
16
- WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments, buddypress activities & bbPress Topics. Its very simple to use and supports many options + full Statistics tools. And all of these are free :)
17
 
18
  = More Information =
19
  * Visit Our <a target="_blank" href="http://preview.alimir.ir/developer/wp-ulike/">Home Page</a>.
@@ -23,10 +23,10 @@ WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordP
23
 
24
  = Features =
25
  * Clean Design.
26
- * Full myCRED Points Support. (NEW)
27
  * Full Statistics tools.
28
- * Supporting UltimateMember & BuddyPress Profiles. (NEW)
29
- * Likers World Map & Top Likers Widget. (NEW)
30
  * Ajax feature to update the data without reloading.
31
  * Visitors do not have to register or log in to use the Like Button.
32
  * Compatible with WP version 3.5 & above.
@@ -91,14 +91,27 @@ Would you like to help translate the plugin into more languages? [Join our WP-Tr
91
  * My personal website: <a href="http://about.alimir.ir" target="_blank">Ali Mirzaei</a>
92
  * Follow me on <a href="https://www.facebook.com/alimir1993" target="_blank">Facebook</a>
93
  * Catch me on twitter as @alimirir
94
- * And Follow My Instagram Activities With <a href="https://instagram.com/alimir71/" target="_blank">Alimir71</a>
95
 
96
  == Installation ==
97
 
98
- 1. Open `wp-content/plugins` Folder
99
- 2. Put: `Folder: wp-ulike`
100
- 3. Activate `WP ULike` Plugin
101
- 4. Go to `WP-Admin -> WP ULike`
 
 
 
 
 
 
 
 
 
 
 
 
 
102
 
103
  == Screenshots ==
104
 
@@ -165,6 +178,22 @@ endif;
165
 
166
  == Changelog ==
167
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  = 2.3 =
169
  * Added: Full myCRED Support. (Special Thanks to the Gabriel Lemarie)
170
  * Added: "Recent Posts/Comments Liked" tab in the UltimateMember profile menu.
@@ -321,6 +350,9 @@ endif;
321
 
322
  == Upgrade Notice ==
323
 
 
 
 
324
  = 2.3 =
325
  In this version, we made some changes in the plugin scripts (wp-ulike-scripts.js)! So, please clear your browser cache after the plugin update. Also, After the plugin update If the new database table won't fixed, try deactivating the plugin and reactivating that one at a time.
326
 
@@ -343,4 +375,4 @@ After plugin update: If the new database table won't fixed, try deactivating the
343
  After plugin update: If the new database table won't fixed, try deactivating the plugin and reactivating that one at a time.
344
 
345
  = 1.0 =
346
- The initial version
4
  Author: Ali Mirzaei
5
  Tags: wp ulike, wordpress youlike plugin, like button, rating, vote, voting, most liked posts, wordpress like page, wordpress like post, wordpress vote page, wordpress vote post, wp like page, wp like post, wp like plugin, buddypress like system, buddypress votes, comment like system, voting button, wordpress, buddypress, statistics, stats likes, bbpress, bbPress like, WP-Translations, forums, community, credit, points, mycred, users, ultimate member
6
  Requires at least: 3.5
7
+ Tested up to: 4.3.1
8
+ Stable tag: 2.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
13
 
14
  == Description ==
15
 
16
+ WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments, buddypress activities+comments and bbPress topics. Its very simple to use and supports many options + full Statistics tools. And all of these are free :)
17
 
18
  = More Information =
19
  * Visit Our <a target="_blank" href="http://preview.alimir.ir/developer/wp-ulike/">Home Page</a>.
23
 
24
  = Features =
25
  * Clean Design.
26
+ * Full myCRED Points Support.
27
  * Full Statistics tools.
28
+ * Supporting UltimateMember & BuddyPress Profiles.
29
+ * Likers World Map & Top Likers Widget.
30
  * Ajax feature to update the data without reloading.
31
  * Visitors do not have to register or log in to use the Like Button.
32
  * Compatible with WP version 3.5 & above.
91
  * My personal website: <a href="http://about.alimir.ir" target="_blank">Ali Mirzaei</a>
92
  * Follow me on <a href="https://www.facebook.com/alimir1993" target="_blank">Facebook</a>
93
  * Catch me on twitter as @alimirir
94
+ * And Connect me on <a href="https://ir.linkedin.com/in/alimirir" target="_blank">Linkedin</a>
95
 
96
  == Installation ==
97
 
98
+ = From your WordPress dashboard =
99
+
100
+ 1. Visit 'Plugins > Add New'
101
+ 2. Search for 'WP ULike'
102
+ 3. Activate 'WP ULike' from your Plugins page. (You will be greeted with a Welcome page.)
103
+
104
+ = From WordPress.org =
105
+
106
+ 1. Download 'WP ULike'.
107
+ 2. Upload the 'WP ULike' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
108
+ 3. Activate 'WP ULike' from your Plugins page. (You will be greeted with a Welcome page.)
109
+
110
+ = Once Activated =
111
+
112
+ 1. Visit 'WP ULike > Settings' and take a moment to match ULike's settings to your expectations. We pick the most common configuration by default, but every taste is different.
113
+ 2. Visit 'WP ULike > Statistics' and observe your likes stats with useful statistics tools such as "Line charts", "Pie Chart", "World Map" and "Summary Details".
114
+ 3. If you have already installed myCRED plugin, Visit 'myCRED > hooks' and enable 'wp ulike' hook to award / deducts points from users who Like/Unlike any content of WordPress, bbPress, BuddyPress and etc.
115
 
116
  == Screenshots ==
117
 
178
 
179
  == Changelog ==
180
 
181
+ = 2.4 =
182
+ * Added: Buddypress comments support in activity stream.
183
+ * Added: Widget period option. (All, Year, Month, Week, Yesterday, Today).
184
+ * Fixed: Small bug with bbPress replys.
185
+ * Fixed: bbPress ulike widget bug with reply title.
186
+ * Fixed: Activities widget problem in multisite mode.
187
+ * Fixed: Custom style settings for RTL mode.
188
+ * Fixed: Buddypress widget options. (such as title trim and content permalink)
189
+ * Changed: Languages text domain from 'alimir' to 'wp-ulike'. (Important for translators)
190
+ * Changed: Widget functions input to array.
191
+ * Removed: 'wp_ulike_get_version' function and replced it with WP_ULIKE_VERSION constant.
192
+ * Removed: wp-ulike-rtl.css file and mixed it with wp-ulike.css
193
+ * Updated: French Language File.
194
+ * Updated: Persian Language File.
195
+ * Updated: About Page Information.
196
+
197
  = 2.3 =
198
  * Added: Full myCRED Support. (Special Thanks to the Gabriel Lemarie)
199
  * Added: "Recent Posts/Comments Liked" tab in the UltimateMember profile menu.
350
 
351
  == Upgrade Notice ==
352
 
353
+ = 2.4 =
354
+ Hey Guys. Approximately 5 months, We haven't had any update! Yeah It's a long time :( The reason for this delay was my misery business and busy time of working on my final thesis in university. I apologize for this delay and unanswered support requests in wordpress forums and sented emails. Finally, I found a free time to working on "WP ULike" & some other of my plugins and answer the support requests. The first release of this work is WP ULike 2.4 with some new options and bug fixes. Hope to enjoy this version and I really excited to working on the premium version of WP ULike with many amazing abilitites as soon as possible. Best regards, Alimir.
355
+
356
  = 2.3 =
357
  In this version, we made some changes in the plugin scripts (wp-ulike-scripts.js)! So, please clear your browser cache after the plugin update. Also, After the plugin update If the new database table won't fixed, try deactivating the plugin and reactivating that one at a time.
358
 
375
  After plugin update: If the new database table won't fixed, try deactivating the plugin and reactivating that one at a time.
376
 
377
  = 1.0 =
378
+ The initial version
wp-ulike.php CHANGED
@@ -3,19 +3,21 @@
3
  Plugin Name:WP ULike
4
  Plugin URI: http://preview.alimir.ir/developer/wp-ulike/
5
  Description: WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments AND buddypress activities. Its very simple to use and supports many options.
6
- Version: 2.3
7
  Author: Ali Mirzaei
8
  Author URI: http://about.alimir.ir
9
- Text Domain: alimir
10
  Domain Path: /lang/
11
  License: GPL2
12
  */
13
 
14
- //Load Translations
15
- load_plugin_textdomain( 'alimir', false, dirname( plugin_basename( __FILE__ ) ) .'/lang/' );
16
-
17
  //Do not change this value
18
- define( 'WP_ULIKE_DB_VERSION', '1.3' );
 
 
 
 
 
19
 
20
  /**
21
  * When the plugin is activated, This function will install wp_ulike tables in database (If not exist table)
@@ -121,9 +123,9 @@ function wp_ulike_add_plugin_links( $actions, $plugin_file )
121
  $plugin = plugin_basename(__FILE__);
122
  if ($plugin == $plugin_file) {
123
 
124
- $settings = array('settings' => '<a href="admin.php?page=wp-ulike-settings">' . __('Settings', 'alimir') . '</a>');
125
- $stats = array('stats' => '<a href="admin.php?page=wp-ulike-statistics">' . __('Statistics', 'alimir') . '</a>');
126
- $about = array('about' => '<a href="admin.php?page=wp-ulike-about">' . __('About', 'alimir') . '</a>');
127
 
128
  $actions = array_merge($about, $actions);
129
  $actions = array_merge($stats, $actions);
@@ -162,18 +164,6 @@ function wp_ulike_update_db_check() {
162
  }
163
  }
164
 
165
- /**
166
- * This function is getting the plugin version
167
- *
168
- * @author Alimir
169
- * @since 1.8
170
- * @return String
171
- */
172
- function wp_ulike_get_version() {
173
- $plugin_data = get_plugin_data( __FILE__ );
174
- return $plugin_data['Version'];
175
- }
176
-
177
  //Include plugin setting file
178
  include plugin_dir_path( __FILE__ ) . 'admin/admin.php';
179
 
3
  Plugin Name:WP ULike
4
  Plugin URI: http://preview.alimir.ir/developer/wp-ulike/
5
  Description: WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments AND buddypress activities. Its very simple to use and supports many options.
6
+ Version: 2.4
7
  Author: Ali Mirzaei
8
  Author URI: http://about.alimir.ir
9
+ Text Domain: wp-ulike
10
  Domain Path: /lang/
11
  License: GPL2
12
  */
13
 
 
 
 
14
  //Do not change this value
15
+ define( 'WP_ULIKE_VERSION' , '2.4' );
16
+ define( 'WP_ULIKE_SLUG' , 'wp-ulike' );
17
+ define( 'WP_ULIKE_DB_VERSION' , '1.3' );
18
+
19
+ //Load Translations
20
+ load_plugin_textdomain( WP_ULIKE_SLUG, false, dirname( plugin_basename( __FILE__ ) ) .'/lang/' );
21
 
22
  /**
23
  * When the plugin is activated, This function will install wp_ulike tables in database (If not exist table)
123
  $plugin = plugin_basename(__FILE__);
124
  if ($plugin == $plugin_file) {
125
 
126
+ $settings = array('settings' => '<a href="admin.php?page=wp-ulike-settings">' . __('Settings', WP_ULIKE_SLUG) . '</a>');
127
+ $stats = array('stats' => '<a href="admin.php?page=wp-ulike-statistics">' . __('Statistics', WP_ULIKE_SLUG) . '</a>');
128
+ $about = array('about' => '<a href="admin.php?page=wp-ulike-about">' . __('About', WP_ULIKE_SLUG) . '</a>');
129
 
130
  $actions = array_merge($about, $actions);
131
  $actions = array_merge($stats, $actions);
164
  }
165
  }
166
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  //Include plugin setting file
168
  include plugin_dir_path( __FILE__ ) . 'admin/admin.php';
169