WP ULike - Version 1.9

Version Description

  • Added: New logging method options.
  • Added: Option for auto display position.
  • Added: Most liked comments widget.
  • Added: Option to return initial like button after unlike.
  • Added: unlike ability for the guest users.
  • Added: Comment text column to the comments logs page.
  • Added: supporting the date (date_i18n) in localized format. (Logs Pages)
  • Added: New changes in to the logs pages.
  • Fixed: ToolTip problem with BuddyPress activities in the chrome browser.
  • Updated: Plugin FAQ page.
  • Updated: Persian language file. (Thanks Me :))
  • Updated: Chinese language file. (Thanks cmhello)
  • Updated: Dutch language file. (Thanks Joey)
Download this release

Release Info

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

Code changes from version 1.8 to 1.9

admin/about.php CHANGED
@@ -25,6 +25,17 @@ function wp_ulike_about_page() {
25
  background-color: #FFF;
26
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
27
  }
 
 
 
 
 
 
 
 
 
 
 
28
  <?php if(is_rtl()): ?>
29
  .about-wrap .ulike-badge {
30
  position: absolute;
@@ -71,24 +82,43 @@ function wp_ulike_about_page() {
71
 
72
  <div class="feature-section col two-col">
73
  <div>
74
- <h4><?php echo _e('New setting panel','alimir'); ?> (WP ULike 1.8)</h4>
75
- <img style="width:100%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/new-tools/new-setting.png" alt="WP ULike" />
76
  </div>
77
 
78
  <div class="last-feature">
79
- <h4><?php echo _e('Better coding on plugin files','alimir'); ?> (WP ULike 1.8)</h4>
80
- <img style="width:100%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/new-tools/new-coding.png" alt="WP ULike" />
81
  </div>
82
  </div>
83
 
84
  <div class="feature-section col two-col">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  <div>
86
- <h4><?php echo _e('Buddypress likes support','alimir'); ?> (WP ULike 1.7)</h4>
87
  <img style="width:100%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/new-tools/activity-likes.png" alt="WP ULike" />
88
  </div>
89
 
90
  <div class="last-feature">
91
- <h4><?php echo _e('Likes logs support','alimir'); ?> (WP ULike 1.7)</h4>
92
  <img style="width:100%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/new-tools/likes-logs.png" alt="WP ULike" />
93
  </div>
94
  </div>
@@ -112,7 +142,7 @@ function wp_ulike_about_page() {
112
  <li>English</li>
113
  <li>Persian</li>
114
  <li>France</li>
115
- <li>Chinese (Thanks Changmeng Hu)</li>
116
  <li>Chinese Tradition (Thanks Arefly)</li>
117
  <li>Dutch (Thanks Joey)</li>
118
  </ul>
25
  background-color: #FFF;
26
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
27
  }
28
+ .wp_ulike_version {
29
+ display: inline-block;
30
+ position: absolute;
31
+ top: 54px;
32
+ left:0;
33
+ padding: 5px 10px;
34
+ background: #e74c3c;
35
+ color: #FFF;
36
+ font-size: 13px;
37
+ font-weight: normal;
38
+ }
39
  <?php if(is_rtl()): ?>
40
  .about-wrap .ulike-badge {
41
  position: absolute;
82
 
83
  <div class="feature-section col two-col">
84
  <div>
85
+ <h4><?php echo _e('Most Liked Comments','alimir'); ?> <div class="wp_ulike_version">WP ULike 1.9</div></h4>
86
+ <img style="width:100%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/new-tools/most-liked-comments-widget.jpg" alt="WP ULike" />
87
  </div>
88
 
89
  <div class="last-feature">
90
+ <h4><?php echo _e('Logging Method','alimir'); ?> <div class="wp_ulike_version">WP ULike 1.9</div></h4>
91
+ <img style="width:100%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/new-tools/loggin-method-option.jpg" alt="WP ULike" />
92
  </div>
93
  </div>
94
 
95
  <div class="feature-section col two-col">
96
+
97
+ <div>
98
+ <h4><?php echo _e('New options in logs pages','alimir'); ?> <small class="wp_ulike_version">WP ULike 1.9</small></h4>
99
+ <img style="width:100%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/new-tools/logs-pages-options.jpg" alt="WP ULike" />
100
+ </div>
101
+
102
+ <div class="last-feature">
103
+ <h4><?php echo _e('New setting panel','alimir'); ?> <small class="wp_ulike_version">WP ULike 1.8</small></h4>
104
+ <img style="width:100%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/new-tools/new-setting.png" alt="WP ULike" />
105
+ </div>
106
+
107
+ </div>
108
+
109
+ <div class="feature-section col three-col">
110
+ <div>
111
+ <h4><?php echo _e('Better coding on plugin files','alimir'); ?> <small class="wp_ulike_version">WP ULike 1.8</small></h4>
112
+ <img style="width:100%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/new-tools/new-coding.png" alt="WP ULike" />
113
+ </div>
114
+
115
  <div>
116
+ <h4><?php echo _e('Buddypress likes support','alimir'); ?> <small class="wp_ulike_version">WP ULike 1.7</small></h4>
117
  <img style="width:100%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/new-tools/activity-likes.png" alt="WP ULike" />
118
  </div>
119
 
120
  <div class="last-feature">
121
+ <h4><?php echo _e('Likes logs support','alimir'); ?> <small class="wp_ulike_version">WP ULike 1.7</small></h4>
122
  <img style="width:100%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/new-tools/likes-logs.png" alt="WP ULike" />
123
  </div>
124
  </div>
142
  <li>English</li>
143
  <li>Persian</li>
144
  <li>France</li>
145
+ <li>Chinese (Thanks "Changmeng Hu" AND "CMHello")</li>
146
  <li>Chinese Tradition (Thanks Arefly)</li>
147
  <li>Dutch (Thanks Joey)</li>
148
  </ul>
admin/admin.php CHANGED
@@ -10,6 +10,7 @@
10
 
11
  function wp_ulike_load_widget() {
12
  register_widget( 'wp_ulike_posts_widget' );
 
13
  register_widget( 'wp_ulike_users_widget' );
14
  }
15
  add_action( 'widgets_init', 'wp_ulike_load_widget' );
@@ -66,11 +67,18 @@
66
  'label' => __('Format Number', 'alimir'),
67
  'checkboxlabel' => __('Activate', 'alimir'),
68
  'description' => __('Convert numbers of Likes with string (kilobyte) format.', 'alimir') . '<strong> (WHEN? likes>=1000)</strong>'
69
- ),
70
  'text_after_like' => array(
71
  'default' => __('Unlike','alimir'),
72
  'label' => __( 'Text After Like', 'alimir')
73
- ),
 
 
 
 
 
 
 
74
  'text_after_unlike' => array(
75
  'default' => __('Like Me Again!','alimir'),
76
  'label' => __( 'Text After Unlike', 'alimir')
@@ -87,7 +95,7 @@
87
  'updated' => __('Settings saved.','alimir')
88
  )
89
  );
90
-
91
  //activate other settings panels
92
  $wp_ulike_setting->apply_settings( array(
93
  'wp_ulike_posts' => array(
@@ -100,6 +108,16 @@
100
  'checkboxlabel' => __('Activate', 'alimir'),
101
  'description' => __('If you disable this option, you have to put manually this code on wordpress while loop', 'alimir') . '<code dir="ltr">&lt;?php if(function_exists(\'wp_ulike\')) wp_ulike(\'get\'); ?&gt;</code>'
102
  ),
 
 
 
 
 
 
 
 
 
 
103
  'auto_display_filter' => array(
104
  'type' => 'multi',
105
  'label' => __( 'Auto Display Filter','alimir' ),
@@ -122,6 +140,28 @@
122
  'checkboxlabel' => __('Activate', 'alimir'),
123
  'description' => __('<strong>Only</strong> registered users have permission to like posts.', 'alimir')
124
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  'users_liked_box' => array(
126
  'type' => 'checkbox',
127
  'default' => 1,
@@ -148,9 +188,19 @@
148
  'type' => 'checkbox',
149
  'default' => 1,
150
  'label' => __('Automatic display', 'alimir'),
151
- 'checkboxlabel' => __('<strong>On all comments</strong> at the bottom of the comment', 'alimir'),
152
  'description' => __('If you disable this option, you have to put manually this code on comments text', 'alimir') . '<code dir="ltr">&lt;?php if(function_exists(\'wp_ulike_comments\')) wp_ulike_comments(\'get\'); ?&gt;</code>'
153
  ),
 
 
 
 
 
 
 
 
 
 
154
  'only_registered_users' => array(
155
  'type' => 'checkbox',
156
  'default' => 0,
@@ -158,6 +208,28 @@
158
  'checkboxlabel' => __('Activate', 'alimir'),
159
  'description' => __('<strong>Only</strong> registered users have permission to like comments.', 'alimir')
160
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  'users_liked_box' => array(
162
  'type' => 'checkbox',
163
  'default' => 1,
@@ -194,6 +266,28 @@
194
  'checkboxlabel' => __('Activate', 'alimir'),
195
  'description' => __('<strong>Only</strong> registered users have permission to like activities.', 'alimir')
196
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  'new_likes_activity' => array(
198
  'type' => 'checkbox',
199
  'default' => 0,
10
 
11
  function wp_ulike_load_widget() {
12
  register_widget( 'wp_ulike_posts_widget' );
13
+ register_widget( 'wp_ulike_comments_widget' );
14
  register_widget( 'wp_ulike_users_widget' );
15
  }
16
  add_action( 'widgets_init', 'wp_ulike_load_widget' );
67
  'label' => __('Format Number', 'alimir'),
68
  'checkboxlabel' => __('Activate', 'alimir'),
69
  'description' => __('Convert numbers of Likes with string (kilobyte) format.', 'alimir') . '<strong> (WHEN? likes>=1000)</strong>'
70
+ ),
71
  'text_after_like' => array(
72
  'default' => __('Unlike','alimir'),
73
  'label' => __( 'Text After Like', 'alimir')
74
+ ),
75
+ 'return_initial_after_unlike' => array(
76
+ 'type' => 'checkbox',
77
+ 'default' => 0,
78
+ 'label' => __('Return To The Initial', 'alimir'),
79
+ 'checkboxlabel' => __('Activate', 'alimir'),
80
+ 'description' => __('Return to the initial Like button after Unlike. (Not Showing text after unlike)', 'alimir')
81
+ ),
82
  'text_after_unlike' => array(
83
  'default' => __('Like Me Again!','alimir'),
84
  'label' => __( 'Text After Unlike', 'alimir')
95
  'updated' => __('Settings saved.','alimir')
96
  )
97
  );
98
+
99
  //activate other settings panels
100
  $wp_ulike_setting->apply_settings( array(
101
  'wp_ulike_posts' => array(
108
  'checkboxlabel' => __('Activate', 'alimir'),
109
  'description' => __('If you disable this option, you have to put manually this code on wordpress while loop', 'alimir') . '<code dir="ltr">&lt;?php if(function_exists(\'wp_ulike\')) wp_ulike(\'get\'); ?&gt;</code>'
110
  ),
111
+ 'auto_display_position' => array(
112
+ 'type' => 'radio',
113
+ 'label' => __( 'Auto Display Position','alimir'),
114
+ 'default' => 'bottom',
115
+ 'options' => array(
116
+ 'top' => __('Top of Content', 'alimir'),
117
+ 'bottom' => __('Bottom of Content', 'alimir'),
118
+ 'top_bottom' => __('Top and Bottom', 'alimir')
119
+ )
120
+ ),
121
  'auto_display_filter' => array(
122
  'type' => 'multi',
123
  'label' => __( 'Auto Display Filter','alimir' ),
140
  'checkboxlabel' => __('Activate', 'alimir'),
141
  'description' => __('<strong>Only</strong> registered users have permission to like posts.', 'alimir')
142
  ),
143
+ 'logging_method' => array(
144
+ 'type' => 'select',
145
+ 'default' => 'by_username',
146
+ 'label' => __( 'Logging Method','alimir'),
147
+ 'options' => array(
148
+ 'do_not_log' => __('Do Not Log', 'alimir'),
149
+ 'by_cookie' => __('Logged By Cookie', 'alimir'),
150
+ 'by_ip' => __('Logged By IP', 'alimir'),
151
+ 'by_cookie_ip' => __('Logged By Cookie & IP', 'alimir'),
152
+ 'by_username' => __('Logged By Username', 'alimir')
153
+ ),
154
+ 'description' => '
155
+ <div class="warning settings-error attention-message" style="overflow:hidden; max-width:600px; display:none"><p>'.
156
+ '<strong>'.__('Attention!', 'alimir').'</strong>'.
157
+ '<ol>'.
158
+ '<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>'.
159
+ '<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>'.
160
+ '<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>'.
161
+ '<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>'.
162
+ '<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>'.
163
+ '</ol></p></div>'
164
+ ),
165
  'users_liked_box' => array(
166
  'type' => 'checkbox',
167
  'default' => 1,
188
  'type' => 'checkbox',
189
  'default' => 1,
190
  'label' => __('Automatic display', 'alimir'),
191
+ 'checkboxlabel' => __('Activate', 'alimir'),
192
  'description' => __('If you disable this option, you have to put manually this code on comments text', 'alimir') . '<code dir="ltr">&lt;?php if(function_exists(\'wp_ulike_comments\')) wp_ulike_comments(\'get\'); ?&gt;</code>'
193
  ),
194
+ 'auto_display_position' => array(
195
+ 'type' => 'radio',
196
+ 'label' => __( 'Auto Display Position','alimir'),
197
+ 'default' => 'bottom',
198
+ 'options' => array(
199
+ 'top' => __('Top of Content', 'alimir'),
200
+ 'bottom' => __('Bottom of Content', 'alimir'),
201
+ 'top_bottom' => __('Top and Bottom', 'alimir')
202
+ )
203
+ ),
204
  'only_registered_users' => array(
205
  'type' => 'checkbox',
206
  'default' => 0,
208
  'checkboxlabel' => __('Activate', 'alimir'),
209
  'description' => __('<strong>Only</strong> registered users have permission to like comments.', 'alimir')
210
  ),
211
+ 'logging_method' => array(
212
+ 'type' => 'select',
213
+ 'default' => 'by_username',
214
+ 'label' => __( 'Logging Method','alimir'),
215
+ 'options' => array(
216
+ 'do_not_log' => __('Do Not Log', 'alimir'),
217
+ 'by_cookie' => __('Logged By Cookie', 'alimir'),
218
+ 'by_ip' => __('Logged By IP', 'alimir'),
219
+ 'by_cookie_ip' => __('Logged By Cookie & IP', 'alimir'),
220
+ 'by_username' => __('Logged By Username', 'alimir')
221
+ ),
222
+ 'description' => '
223
+ <div class="warning settings-error attention-message" style="overflow:hidden; max-width:600px; display:none"><p>'.
224
+ '<strong>'.__('Attention!', 'alimir').'</strong>'.
225
+ '<ol>'.
226
+ '<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>'.
227
+ '<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>'.
228
+ '<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>'.
229
+ '<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>'.
230
+ '<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>'.
231
+ '</ol></p></div>'
232
+ ),
233
  'users_liked_box' => array(
234
  'type' => 'checkbox',
235
  'default' => 1,
266
  'checkboxlabel' => __('Activate', 'alimir'),
267
  'description' => __('<strong>Only</strong> registered users have permission to like activities.', 'alimir')
268
  ),
269
+ 'logging_method' => array(
270
+ 'type' => 'select',
271
+ 'default' => 'by_cookie_ip',
272
+ 'label' => __( 'Logging Method','alimir'),
273
+ 'options' => array(
274
+ 'do_not_log' => __('Do Not Log', 'alimir'),
275
+ 'by_cookie' => __('Logged By Cookie', 'alimir'),
276
+ 'by_ip' => __('Logged By IP', 'alimir'),
277
+ 'by_cookie_ip' => __('Logged By Cookie & IP', 'alimir'),
278
+ 'by_username' => __('Logged By Username', 'alimir')
279
+ ),
280
+ 'description' => '
281
+ <div class="warning settings-error attention-message" style="overflow:hidden; max-width:600px; display:none"><p>'.
282
+ '<strong>'.__('Attention!', 'alimir').'</strong>'.
283
+ '<ol>'.
284
+ '<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>'.
285
+ '<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>'.
286
+ '<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>'.
287
+ '<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>'.
288
+ '<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>'.
289
+ '</ol></p></div>'
290
+ ),
291
  'new_likes_activity' => array(
292
  'type' => 'checkbox',
293
  'default' => 0,
admin/classes/class-pagination.php CHANGED
@@ -18,9 +18,9 @@ Author: Victor De la Rocha
18
  var $urlF = false;//urlFriendly
19
 
20
  /*Buttons next and previous*/
21
- var $nextT = "Next";
22
  var $nextI = "&#187;"; //&#9658;
23
- var $prevT = "Previous";
24
  var $prevI = "&#171;"; //&#9668;
25
 
26
  /*****/
18
  var $urlF = false;//urlFriendly
19
 
20
  /*Buttons next and previous*/
21
+ var $nextT = "";
22
  var $nextI = "&#187;"; //&#9658;
23
+ var $prevT = "";
24
  var $prevI = "&#171;"; //&#9668;
25
 
26
  /*****/
admin/classes/class-widget.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- // Creating the widget
3
  class wp_ulike_posts_widget extends WP_Widget {
4
 
5
  function __construct() {
@@ -79,6 +79,89 @@ class wp_ulike_posts_widget extends WP_Widget {
79
  }
80
  }
81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  class wp_ulike_users_widget extends WP_Widget {
83
 
84
  function __construct() {
@@ -104,9 +187,10 @@ class wp_ulike_users_widget extends WP_Widget {
104
  $get_user_info = get_userdata($get_user_id);
105
  $get_likes_count = $like->CountUser;
106
  $echo_likes_count = $show_count == '1' ? ' ('.$get_likes_count . ' ' . __('Like','alimir').')' : '';
107
-
108
- echo $before . '<a class="user-tooltip" title="'.$get_user_info->display_name . $echo_likes_count.'">'.get_avatar( $get_user_info->user_email, $sizeOf, '' , 'avatar').'</a>';
109
- echo $after;
 
110
  }
111
  }
112
 
1
  <?php
2
+ // Creating the most liked posts widget
3
  class wp_ulike_posts_widget extends WP_Widget {
4
 
5
  function __construct() {
79
  }
80
  }
81
 
82
+ // Creating the most liked comments widget
83
+ class wp_ulike_comments_widget extends WP_Widget {
84
+
85
+ function __construct() {
86
+ parent::__construct(
87
+ 'wp_ulike_comments',
88
+ __('WP ULike - Most Liked Comments', 'alimir'),
89
+ array( 'description' => __( 'This widget allows you to show most liked comments.', 'alimir' ))
90
+ );
91
+ }
92
+
93
+ public function most_liked_comments($numberOf, $before, $after, $show_count) {
94
+ global $wpdb;
95
+
96
+ $request = "SELECT * FROM $wpdb->comments, $wpdb->commentmeta";
97
+ $request .= " WHERE $wpdb->comments.comment_ID = $wpdb->commentmeta.comment_id";
98
+ $request .= " AND comment_approved='1' AND meta_key='_commentliked'";
99
+ $request .= " ORDER BY $wpdb->commentmeta.meta_value+0 DESC LIMIT $numberOf";
100
+ $comments = $wpdb->get_results($request);
101
+
102
+ foreach ($comments as $comment) {
103
+ $comment_author = stripslashes($comment->comment_author);
104
+ $post_permalink = get_permalink($comment->comment_post_ID);
105
+ $post_title = get_the_title($comment->comment_post_ID);
106
+ $comment_permalink = get_permalink($comment->comment_ID);
107
+ $comment_likes_count = $comment->meta_value;
108
+
109
+ echo $before.'<span class="comment-author-link">' . $comment_author . '</span> ' . __('on','alimir');
110
+ echo ' <a href="' . $post_permalink . '#comment-' . $comment->comment_ID . '" title="' . $post_title.'" rel="nofollow">' . $post_title . '</a>';
111
+ echo $show_count == '1' ? ' ('.wp_ulike_format_number($comment_likes_count).')' : '';
112
+ echo $after;
113
+ }
114
+ }
115
+
116
+ public function widget( $args, $instance ) {
117
+ $title = apply_filters('widget_title', $instance['title'] );
118
+ $numberOf = $instance['count'];
119
+ $show_count = (isset($instance['show_count']) == true ) ? 1 : 0;
120
+
121
+ echo $args['before_widget'];
122
+ if ( ! empty( $title ) )
123
+ echo $args['before_title'] . $title . $args['after_title'];
124
+ echo '<ul class="mostlikedposts">';
125
+ echo $this->most_liked_comments($numberOf, '<li>', '</li>', $show_count);
126
+ echo '</ul>';
127
+ echo $args['after_widget'];
128
+ }
129
+
130
+
131
+
132
+ public function form( $instance ) {
133
+ //Set up some default widget settings.
134
+ $defaults = array( 'title' => __('Most Liked Comments', 'alimir'), 'count' => 15, 'show_count' => true );
135
+ $instance = wp_parse_args( (array) $instance, $defaults );
136
+ ?>
137
+ <p>
138
+ <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title:', 'alimir'); ?></label>
139
+ <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%;" />
140
+ </p>
141
+
142
+ <p>
143
+ <label for="<?php echo $this->get_field_id( 'count' ); ?>"><?php _e('Number of comments to show:', 'alimir'); ?><small> (max. 15)</small></label>
144
+ <input id="<?php echo $this->get_field_id( 'count' ); ?>" name="<?php echo $this->get_field_name( 'count' ); ?>" value="<?php echo $instance['count']; ?>" style="width:100%;" />
145
+ </p>
146
+
147
+ <p>
148
+ <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"'; ?> />
149
+ <label for="<?php echo $this->get_field_id( 'show_count' ); ?>"><?php _e('Activate Like Counter', 'alimir'); ?></label>
150
+ </p>
151
+ <?php
152
+ }
153
+
154
+ public function update( $new_instance, $old_instance ) {
155
+ $instance = $old_instance;
156
+
157
+ $instance['title'] = strip_tags( $new_instance['title'] );
158
+ $instance['count'] = strip_tags( $new_instance['count'] );
159
+ $instance['show_count'] = $new_instance['show_count'];
160
+
161
+ return $instance;
162
+ }
163
+ }
164
+
165
  class wp_ulike_users_widget extends WP_Widget {
166
 
167
  function __construct() {
187
  $get_user_info = get_userdata($get_user_id);
188
  $get_likes_count = $like->CountUser;
189
  $echo_likes_count = $show_count == '1' ? ' ('.$get_likes_count . ' ' . __('Like','alimir').')' : '';
190
+ if($get_user_info){
191
+ echo $before . '<a class="user-tooltip" title="'.$get_user_info->display_name . $echo_likes_count.'">'.get_avatar( $get_user_info->user_email, $sizeOf, '' , 'avatar').'</a>';
192
+ echo $after;
193
+ }
194
  }
195
  }
196
 
admin/classes/css/settings-rtl.css CHANGED
@@ -4,7 +4,6 @@ form.wrap p.submit {
4
  border-top: 1px solid #ddd;
5
  }
6
  form.wrap td .settings-error {
7
- max-height: 200px;
8
  overflow: scroll;
9
  }
10
  form.wrap td .settings-error p {
4
  border-top: 1px solid #ddd;
5
  }
6
  form.wrap td .settings-error {
 
7
  overflow: scroll;
8
  }
9
  form.wrap td .settings-error p {
admin/classes/css/settings.css CHANGED
@@ -4,7 +4,6 @@ form.wrap p.submit {
4
  border-top: 1px solid #ddd;
5
  }
6
  form.wrap td .settings-error {
7
- max-height: 200px;
8
  overflow: scroll;
9
  }
10
  form.wrap td .settings-error p {
4
  border-top: 1px solid #ddd;
5
  }
6
  form.wrap td .settings-error {
 
7
  overflow: scroll;
8
  }
9
  form.wrap td .settings-error p {
admin/classes/img/like.png ADDED
Binary file
admin/classes/img/unlike.png ADDED
Binary file
admin/classes/js/settings.js CHANGED
@@ -160,7 +160,6 @@ jQuery(document).ready(function ($) {
160
 
161
  $('.wp_ulike_custom_style_activation').click(evaluate).each(evaluate);
162
 
163
-
164
  $('#wp-ulike-settings_wp_ulike_general tr:nth-child(2)').addClass('button-text-show');
165
  $('#wp-ulike-settings_wp_ulike_general tr:nth-child(3)').addClass('button-icon-show');
166
 
@@ -184,6 +183,10 @@ jQuery(document).ready(function ($) {
184
  if (!$(".wp_ulike_check_image").is(":checked")) {
185
  $('.button-icon-show').hide();
186
  }
187
- });
 
 
 
 
188
 
189
  });
160
 
161
  $('.wp_ulike_custom_style_activation').click(evaluate).each(evaluate);
162
 
 
163
  $('#wp-ulike-settings_wp_ulike_general tr:nth-child(2)').addClass('button-text-show');
164
  $('#wp-ulike-settings_wp_ulike_general tr:nth-child(3)').addClass('button-icon-show');
165
 
183
  if (!$(".wp_ulike_check_image").is(":checked")) {
184
  $('.button-icon-show').hide();
185
  }
186
+ });
187
+
188
+ $("#wp_ulike_posts_logging_method, #wp_ulike_comments_logging_method, #wp_ulike_buddypress_logging_method").change(function () {
189
+ $('.attention-message').fadeIn();
190
+ });
191
 
192
  });
admin/logs.php CHANGED
@@ -41,12 +41,12 @@
41
  <thead>
42
  <tr>
43
  <th width="2%"><?php _e('ID', 'alimir'); ?></th>
44
- <th width="15%"><?php _e('Username', 'alimir'); ?></th>
45
- <th width="10%"><?php _e('Status', 'alimir'); ?></th>
46
- <th width="8%"><?php _e('Post ID', 'alimir'); ?></th>
47
- <th width="35%"><?php _e('Post Title', 'alimir'); ?></th>
48
- <th width="15%"><?php _e('Date / Time', 'alimir'); ?></th>
49
- <th width="15%"><?php _e('IP', 'alimir'); ?></th>
50
  </tr>
51
  </thead>
52
  <tbody>
@@ -61,20 +61,33 @@
61
  <td>
62
  <?php
63
  $user_info = get_userdata($get_ulike_log->user_id);
 
64
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
 
 
65
  ?>
66
  </td>
67
  <td>
68
- <?php echo $get_ulike_log->status; ?>
 
 
 
 
 
 
69
  </td>
70
  <td>
71
  <?php echo $get_ulike_log->post_id; ?>
72
  </td>
73
  <td>
74
- <?php echo get_the_title($get_ulike_log->post_id); ?>
75
  </td>
76
  <td>
77
- <?php echo $get_ulike_log->date_time; ?>
 
 
 
 
78
  </td>
79
  <td>
80
  <?php echo $get_ulike_log->ip; ?>
@@ -154,12 +167,13 @@
154
  <thead>
155
  <tr>
156
  <th width="2%"><?php _e('ID', 'alimir'); ?></th>
157
- <th width="15%"><?php _e('Username', 'alimir'); ?></th>
158
- <th width="10%"><?php _e('Status', 'alimir'); ?></th>
159
- <th width="8%"><?php _e('Comment ID', 'alimir'); ?></th>
160
- <th width="15%"><?php _e('Comment Author', 'alimir'); ?></th>
161
- <th width="15%"><?php _e('Date / Time', 'alimir'); ?></th>
162
- <th width="15%"><?php _e('IP', 'alimir'); ?></th>
 
163
  </tr>
164
  </thead>
165
  <tbody>
@@ -174,11 +188,20 @@
174
  <td>
175
  <?php
176
  $user_info = get_userdata($get_ulike_log->user_id);
 
177
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
 
 
178
  ?>
179
  </td>
180
  <td>
181
- <?php echo $get_ulike_log->status; ?>
 
 
 
 
 
 
182
  </td>
183
  <td>
184
  <?php echo $get_ulike_log->comment_id; ?>
@@ -187,7 +210,14 @@
187
  <?php echo get_comment_author($get_ulike_log->comment_id) ?>
188
  </td>
189
  <td>
190
- <?php echo $get_ulike_log->date_time; ?>
 
 
 
 
 
 
 
191
  </td>
192
  <td>
193
  <?php echo $get_ulike_log->ip; ?>
@@ -266,10 +296,11 @@
266
  <table class="widefat">
267
  <thead>
268
  <tr>
269
- <th><?php _e('ID', 'alimir'); ?></th>
270
- <th><?php _e('Username', 'alimir'); ?></th>
271
  <th><?php _e('Status', 'alimir'); ?></th>
272
- <th><?php _e('Activity ID', 'alimir'); ?></th>
 
273
  <th><?php _e('Date / Time', 'alimir'); ?></th>
274
  <th><?php _e('IP', 'alimir'); ?></th>
275
  </tr>
@@ -286,17 +317,33 @@
286
  <td>
287
  <?php
288
  $user_info = get_userdata($get_ulike_log->user_id);
 
289
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
 
 
290
  ?>
291
  </td>
292
  <td>
293
- <?php echo $get_ulike_log->status; ?>
 
 
 
 
 
 
294
  </td>
295
  <td>
296
  <?php echo $get_ulike_log->activity_id; ?>
297
  </td>
298
  <td>
299
- <?php echo $get_ulike_log->date_time; ?>
 
 
 
 
 
 
 
300
  </td>
301
  <td>
302
  <?php echo $get_ulike_log->ip; ?>
41
  <thead>
42
  <tr>
43
  <th width="2%"><?php _e('ID', 'alimir'); ?></th>
44
+ <th width="10%"><?php _e('Username', 'alimir'); ?></th>
45
+ <th><?php _e('Status', 'alimir'); ?></th>
46
+ <th width="4%"><?php _e('Post ID', 'alimir'); ?></th>
47
+ <th><?php _e('Post Title', 'alimir'); ?></th>
48
+ <th width="20%"><?php _e('Date / Time', 'alimir'); ?></th>
49
+ <th><?php _e('IP', 'alimir'); ?></th>
50
  </tr>
51
  </thead>
52
  <tbody>
61
  <td>
62
  <?php
63
  $user_info = get_userdata($get_ulike_log->user_id);
64
+ if($user_info)
65
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
66
+ else
67
+ echo '<em> #'. __('Guest User','alimir') .'</em>';
68
  ?>
69
  </td>
70
  <td>
71
+ <?php
72
+ $get_the_status = $get_ulike_log->status;
73
+ if($get_the_status == 'like')
74
+ echo '<img src="'.plugin_dir_url( __FILE__ ).'/classes/img/like.png" alt="like" width="24"/>';
75
+ else
76
+ echo '<img src="'.plugin_dir_url( __FILE__ ).'/classes/img/unlike.png" alt="unlike" width="24"/>';
77
+ ?>
78
  </td>
79
  <td>
80
  <?php echo $get_ulike_log->post_id; ?>
81
  </td>
82
  <td>
83
+ <?php echo '<a href="'.get_permalink($get_ulike_log->post_id).'" title="'.get_the_title($get_ulike_log->post_id).'">'.get_the_title($get_ulike_log->post_id).'</a>'; ?>
84
  </td>
85
  <td>
86
+ <?php
87
+ $get_the_date = $get_ulike_log->date_time;
88
+ $get_the_date_timestamp = strtotime($get_the_date);
89
+ echo date_i18n(get_option( 'date_format' ) . ' @ ' . get_option( 'time_format' ), $get_the_date_timestamp );
90
+ ?>
91
  </td>
92
  <td>
93
  <?php echo $get_ulike_log->ip; ?>
167
  <thead>
168
  <tr>
169
  <th width="2%"><?php _e('ID', 'alimir'); ?></th>
170
+ <th width="10%"><?php _e('Username', 'alimir'); ?></th>
171
+ <th width="5%"><?php _e('Status', 'alimir'); ?></th>
172
+ <th width="3%"><?php _e('Comment ID', 'alimir'); ?></th>
173
+ <th><?php _e('Comment Author', 'alimir'); ?></th>
174
+ <th><?php _e('Comment Text', 'alimir'); ?></th>
175
+ <th width="20%"><?php _e('Date / Time', 'alimir'); ?></th>
176
+ <th><?php _e('IP', 'alimir'); ?></th>
177
  </tr>
178
  </thead>
179
  <tbody>
188
  <td>
189
  <?php
190
  $user_info = get_userdata($get_ulike_log->user_id);
191
+ if($user_info)
192
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
193
+ else
194
+ echo '<em> #'. __('Guest User','alimir') .'</em>';
195
  ?>
196
  </td>
197
  <td>
198
+ <?php
199
+ $get_the_status = $get_ulike_log->status;
200
+ if($get_the_status == 'like')
201
+ echo '<img src="'.plugin_dir_url( __FILE__ ).'/classes/img/like.png" alt="like" width="24"/>';
202
+ else
203
+ echo '<img src="'.plugin_dir_url( __FILE__ ).'/classes/img/unlike.png" alt="unlike" width="24"/>';
204
+ ?>
205
  </td>
206
  <td>
207
  <?php echo $get_ulike_log->comment_id; ?>
210
  <?php echo get_comment_author($get_ulike_log->comment_id) ?>
211
  </td>
212
  <td>
213
+ <?php echo get_comment_text($get_ulike_log->comment_id) ?>
214
+ </td>
215
+ <td>
216
+ <?php
217
+ $get_the_date = $get_ulike_log->date_time;
218
+ $get_the_date_timestamp = strtotime($get_the_date);
219
+ echo date_i18n(get_option( 'date_format' ) . ' @ ' . get_option( 'time_format' ), $get_the_date_timestamp );
220
+ ?>
221
  </td>
222
  <td>
223
  <?php echo $get_ulike_log->ip; ?>
296
  <table class="widefat">
297
  <thead>
298
  <tr>
299
+ <th width="3%"><?php _e('ID', 'alimir'); ?></th>
300
+ <th width="13%"><?php _e('Username', 'alimir'); ?></th>
301
  <th><?php _e('Status', 'alimir'); ?></th>
302
+ <th width="3%"><?php _e('Activity ID', 'alimir'); ?></th>
303
+ <th><?php _e('Permalink', 'alimir'); ?></th>
304
  <th><?php _e('Date / Time', 'alimir'); ?></th>
305
  <th><?php _e('IP', 'alimir'); ?></th>
306
  </tr>
317
  <td>
318
  <?php
319
  $user_info = get_userdata($get_ulike_log->user_id);
320
+ if($user_info)
321
  echo get_avatar( $user_info->user_email, 16, '' , 'avatar') . '<em> @' . $user_info->user_login . '</em>';
322
+ else
323
+ echo '<em> #'. __('Guest User','alimir') .'</em>';
324
  ?>
325
  </td>
326
  <td>
327
+ <?php
328
+ $get_the_status = $get_ulike_log->status;
329
+ if($get_the_status == 'like')
330
+ echo '<img src="'.plugin_dir_url( __FILE__ ).'/classes/img/like.png" alt="like" width="24"/>';
331
+ else
332
+ echo '<img src="'.plugin_dir_url( __FILE__ ).'/classes/img/unlike.png" alt="unlike" width="24"/>';
333
+ ?>
334
  </td>
335
  <td>
336
  <?php echo $get_ulike_log->activity_id; ?>
337
  </td>
338
  <td>
339
+ <?php printf( __( '<a href="%1$s">Activity Permalink</a>', 'alimir' ), bp_activity_get_permalink( $get_ulike_log->activity_id ) ); ?>
340
+ </td>
341
+ <td>
342
+ <?php
343
+ $get_the_date = $get_ulike_log->date_time;
344
+ $get_the_date_timestamp = strtotime($get_the_date);
345
+ echo date_i18n(get_option( 'date_format' ) . ' @ ' . get_option( 'time_format' ), $get_the_date_timestamp );
346
+ ?>
347
  </td>
348
  <td>
349
  <?php echo $get_ulike_log->ip; ?>
assets/css/wp-ulike-rtl.css CHANGED
@@ -319,4 +319,8 @@ button.close {
319
  vertical-align: baseline;
320
  background-color: #777;
321
  border-radius: 10px;
 
 
 
 
322
  }
319
  vertical-align: baseline;
320
  background-color: #777;
321
  border-radius: 10px;
322
+ }
323
+
324
+ #buddypress ul.item-list li{
325
+ position:initial;
326
  }
assets/css/wp-ulike.css CHANGED
@@ -320,4 +320,8 @@ button.close {
320
  vertical-align: baseline;
321
  background-color: #777;
322
  border-radius: 10px;
 
 
 
 
323
  }
320
  vertical-align: baseline;
321
  background-color: #777;
322
  border-radius: 10px;
323
+ }
324
+
325
+ #buddypress ul.item-list li{
326
+ position:initial;
327
  }
assets/img/new-tools/loggin-method-option.jpg ADDED
Binary file
assets/img/new-tools/logs-pages-options.jpg ADDED
Binary file
assets/img/new-tools/most-liked-comments-widget.jpg ADDED
Binary file
assets/js/ulike-activity-function.txt DELETED
@@ -1,24 +0,0 @@
1
- function likeThisActivity(activityID, n1, n2) {
2
- if (activityID != '') {
3
- jQuery('#wp-ulike-activity-' + activityID + ' .counter').html('<a class="loading"></a><span class="count-box">...</span>');
4
- jQuery.ajax({
5
- type:'POST',
6
- url: ulike_obj.ajaxurl,
7
- data:{
8
- action:'ulikebuddypressprocess',
9
- id: activityID
10
- },
11
- success: function(value) {
12
- if(n1+n2 == 1){
13
- jQuery('#wp-ulike-activity-' + activityID + ' .counter').html("<a onclick='likeThisActivity("+activityID+",1,1)' class='text'>" + ulike_obj.likeText + "</a><span class='count-box'>"+value+"</span>");
14
- }
15
- else if(n1+n2 == 2){
16
- jQuery('#wp-ulike-activity-' + activityID + ' .counter').html("<a onclick='likeThisActivity("+activityID+",1,0)' class='text'>" + ulike_obj.disLikeText + "</a><span class='count-box'>"+value+"</span>");
17
- }
18
- else if(n1+n2 == 3){
19
- jQuery('#wp-ulike-activity-' + activityID + ' .counter').html("<a class='text user-tooltip' title='Already Voted'>" + ulike_obj.likeText + "</a><span class='count-box'>"+value+"</span>");
20
- }
21
- }
22
- });
23
- }
24
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/ulike-comment-function.txt DELETED
@@ -1,24 +0,0 @@
1
- function likeThisComment(commentId, n1, n2) {
2
- if (commentId != '') {
3
- jQuery('#wp-ulike-comment-' + commentId + ' .counter').html('<a class="loading"></a><span class="count-box">...</span>');
4
- jQuery.ajax({
5
- type:'POST',
6
- url: ulike_obj.ajaxurl,
7
- data:{
8
- action:'ulikecommentprocess',
9
- id: commentId
10
- },
11
- success: function(value) {
12
- if(n1+n2 == 1){
13
- jQuery('#wp-ulike-comment-' + commentId + ' .counter').html("<a onclick='likeThisComment("+commentId+",1,1)' class='text'>" + ulike_obj.likeText + "</a><span class='count-box'>"+value+"</span>");
14
- }
15
- else if(n1+n2 == 2){
16
- jQuery('#wp-ulike-comment-' + commentId + ' .counter').html("<a onclick='likeThisComment("+commentId+",1,0)' class='text'>" + ulike_obj.disLikeText + "</a><span class='count-box'>"+value+"</span>");
17
- }
18
- else if(n1+n2 == 3){
19
- jQuery('#wp-ulike-comment-' + commentId + ' .counter').html("<a class='text user-tooltip' title='Already Voted'>" + ulike_obj.likeText + "</a><span class='count-box'>"+value+"</span>");
20
- }
21
- }
22
- });
23
- }
24
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/ulike-post-function.txt DELETED
@@ -1,24 +0,0 @@
1
- function likeThis(postId, n1, n2) {
2
- if (postId != '') {
3
- jQuery('#wp-ulike-' + postId + ' .counter').html('<a class="loading"></a><span class="count-box">...</span>');
4
- jQuery.ajax({
5
- type:'POST',
6
- url: ulike_obj.ajaxurl,
7
- data:{
8
- action:'ulikeprocess',
9
- id: postId
10
- },
11
- success: function(value) {
12
- if(n1+n2 == 1){
13
- jQuery('#wp-ulike-' + postId + ' .counter').html("<a onclick='likeThis("+postId+",1,1)' class='text'>" + ulike_obj.likeText + "</a><span class='count-box'>"+value+"</span>");
14
- }
15
- else if(n1+n2 == 2){
16
- jQuery('#wp-ulike-' + postId + ' .counter').html("<a onclick='likeThis("+postId+",1,0)' class='text'>" + ulike_obj.disLikeText + "</a><span class='count-box'>"+value+"</span>");
17
- }
18
- else if(n1+n2 == 3){
19
- jQuery('#wp-ulike-' + postId + ' .counter').html("<a class='text user-tooltip' title='Already Voted'>" + ulike_obj.likeText + "</a><span class='count-box'>"+value+"</span>");
20
- }
21
- }
22
- });
23
- }
24
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/wp-ulike-plugins.js ADDED
@@ -0,0 +1 @@
 
1
+ if(!function(t){"use strict";var e=function(t,e){this.init("tooltip",t,e)};e.prototype={constructor:e,init:function(e,i,n){var o,s,r,a,l;for(this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.enabled=!0,r=this.options.trigger.split(" "),l=r.length;l--;)a=r[l],"click"==a?this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this)):"manual"!=a&&(o="hover"==a?"mouseenter":"focus",s="hover"==a?"mouseleave":"blur",this.$element.on(o+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.leave,this)));this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(e){return e=t.extend({},t.fn[this.type].defaults,this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},enter:function(e){var i,n=t.fn[this.type].defaults,o={};return this._options&&t.each(this._options,function(t,e){n[t]!=e&&(o[t]=e)},this),i=t(e.currentTarget)[this.type](o).data(this.type),i.options.delay&&i.options.delay.show?(clearTimeout(this.timeout),i.hoverState="in",void(this.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show))):i.show()},leave:function(e){var i=t(e.currentTarget)[this.type](this._options).data(this.type);return this.timeout&&clearTimeout(this.timeout),i.options.delay&&i.options.delay.hide?(i.hoverState="out",void(this.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide))):i.hide()},show:function(){var e,i,n,o,s,r,a=t.Event("show");if(this.hasContent()&&this.enabled){if(this.$element.trigger(a),a.isDefaultPrevented())return;switch(e=this.tip(),this.setContent(),this.options.animation&&e.addClass("fade"),s="function"==typeof this.options.placement?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,e.detach().css({top:0,left:0,display:"block"}),this.options.container?e.appendTo(this.options.container):e.insertAfter(this.$element),i=this.getPosition(),n=e[0].offsetWidth,o=e[0].offsetHeight,s){case"bottom":r={top:i.top+i.height,left:i.left+i.width/2-n/2};break;case"top":r={top:i.top-o,left:i.left+i.width/2-n/2};break;case"left":r={top:i.top+i.height/2-o/2,left:i.left-n};break;case"right":r={top:i.top+i.height/2-o/2,left:i.left+i.width}}this.applyPlacement(r,s),this.$element.trigger("shown")}},applyPlacement:function(t,e){var i,n,o,s,r=this.tip(),a=r[0].offsetWidth,l=r[0].offsetHeight;r.offset(t).addClass(e).addClass("in"),i=r[0].offsetWidth,n=r[0].offsetHeight,"top"==e&&n!=l&&(t.top=t.top+l-n,s=!0),"bottom"==e||"top"==e?(o=0,t.left<0&&(o=-2*t.left,t.left=0,r.offset(t),i=r[0].offsetWidth,n=r[0].offsetHeight),this.replaceArrow(o-a+i,i,"left")):this.replaceArrow(n-l,n,"top"),s&&r.offset(t)},replaceArrow:function(t,e,i){this.arrow().css(i,t?50*(1-t/e)+"%":"")},setContent:function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},hide:function(){function e(){var e=setTimeout(function(){i.off(t.support.transition.end).detach()},500);i.one(t.support.transition.end,function(){clearTimeout(e),i.detach()})}var i=this.tip(),n=t.Event("hide");return this.$element.trigger(n),n.isDefaultPrevented()?void 0:(i.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?e():i.detach(),this.$element.trigger("hidden"),this)},fixTitle:function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var e=this.$element[0];return t.extend({},"function"==typeof e.getBoundingClientRect?e.getBoundingClientRect():{width:e.offsetWidth,height:e.offsetHeight},this.$element.offset())},getTitle:function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},tip:function(){return this.$tip=this.$tip||t(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(e){var i=e?t(e.currentTarget)[this.type](this._options).data(this.type):this;i.tip().hasClass("in")?i.hide():i.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each(function(){var n=t(this),o=n.data("tooltip"),s="object"==typeof i&&i;o||n.data("tooltip",o=new e(this,s)),"string"==typeof i&&o[i]()})},t.fn.tooltip.Constructor=e,t.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(window.jQuery),"undefined"==typeof jQuery)throw new Error("WP Ulike's JavaScript requires jQuery");if(+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",function(){i=!0});var o=function(){i||t(n).trigger(t.support.transition.end)};return setTimeout(o,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),"undefined"==typeof jQuery)throw new Error("WP Ulike's JavaScript requires jQuery");+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.alert");o||i.data("bs.alert",o=new n(this)),"string"==typeof e&&o[e].call(i)})}var i='[data-dismiss="alert"]',n=function(e){t(e).on("click",i,this.close)};n.VERSION="3.2.0",n.prototype.close=function(e){function i(){s.detach().trigger("closed.bs.alert").remove()}var n=t(this),o=n.attr("data-target");o||(o=n.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,""));var s=t(o);e&&e.preventDefault(),s.length||(s=n.hasClass("alert")?n:n.parent()),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",i).emulateTransitionEnd(150):i())};var o=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",i,n.prototype.close)}(jQuery),jQuery(document).ready(function(t){t(".user-tooltip").tooltip()});
assets/js/wp-ulike-scripts.js ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ function likeThis(postId, n1, n2) {
2
+ if (postId != '') {
3
+ jQuery('#wp-ulike-' + postId + ' .counter').html('<a class="loading"></a><span class="count-box">...</span>');
4
+ jQuery.ajax({
5
+ type:'POST',
6
+ url: ulike_obj.ajaxurl,
7
+ data:{
8
+ action:'ulikeprocess',
9
+ id: postId
10
+ },
11
+ success: function(value) {
12
+ if(n1+n2 == 1){
13
+ jQuery('#wp-ulike-' + postId + ' .counter').html("<a onclick='likeThis("+postId+",1,1)' class='text'>" + ulike_obj.text_after_like + "</a><span class='count-box'>"+value+"</span>");
14
+ }
15
+ else if(n1+n2 == 2){
16
+ if(ulike_obj.return_initial_after_unlike == 1){
17
+ if(ulike_obj.button_type == 'image'){
18
+ jQuery('#wp-ulike-' + postId + ' .counter').html("<a onclick='likeThis("+postId+",1,0)' class='image'></a><span class='count-box'>"+value+"</span>");
19
+ }
20
+ else if(ulike_obj.button_type == 'text'){
21
+ jQuery('#wp-ulike-' + postId + ' .counter').html("<a onclick='likeThis("+postId+",1,0)' class='text'>" + ulike_obj.button_text + "</a><span class='count-box'>"+value+"</span>");
22
+ }
23
+ }
24
+ else{
25
+ jQuery('#wp-ulike-' + postId + ' .counter').html("<a onclick='likeThis("+postId+",1,0)' class='text'>" + ulike_obj.text_after_unlike + "</a><span class='count-box'>"+value+"</span>");
26
+ }
27
+ }
28
+ else if(n1+n2 == 3){
29
+ jQuery('#wp-ulike-' + postId + ' .counter').html("<a class='text user-tooltip' title='Already Voted'>" + ulike_obj.text_after_like + "</a><span class='count-box'>"+value+"</span>");
30
+ }
31
+ else if(n1+n2 == 4){
32
+ if(ulike_obj.button_type == 'image'){
33
+ jQuery('#wp-ulike-' + postId + ' .counter').html("<a class='image' title='You Liked This'></a><span class='count-box'>"+value+"</span>");
34
+ }
35
+ else if(ulike_obj.button_type == 'text'){
36
+ jQuery('#wp-ulike-' + postId + ' .counter').html("<a class='text'> title='You Liked This'" + ulike_obj.button_text + "</a><span class='count-box'>"+value+"</span>");
37
+ }
38
+ }
39
+ }
40
+ });
41
+ }
42
+ }
43
+ function likeThisComment(commentId, n1, n2) {
44
+ if (commentId != '') {
45
+ jQuery('#wp-ulike-comment-' + commentId + ' .counter').html('<a class="loading"></a><span class="count-box">...</span>');
46
+ jQuery.ajax({
47
+ type:'POST',
48
+ url: ulike_obj.ajaxurl,
49
+ data:{
50
+ action:'ulikecommentprocess',
51
+ id: commentId
52
+ },
53
+ success: function(value) {
54
+ if(n1+n2 == 1){
55
+ jQuery('#wp-ulike-comment-' + commentId + ' .counter').html("<a onclick='likeThisComment("+commentId+",1,1)' class='text'>" + ulike_obj.text_after_like + "</a><span class='count-box'>"+value+"</span>");
56
+ }
57
+ else if(n1+n2 == 2){
58
+ if(ulike_obj.return_initial_after_unlike == 1){
59
+ if(ulike_obj.button_type == 'image'){
60
+ jQuery('#wp-ulike-comment-' + commentId + ' .counter').html("<a onclick='likeThisComment("+commentId+",1,0)' class='image'></a><span class='count-box'>"+value+"</span>");
61
+ }
62
+ else if(ulike_obj.button_type == 'text'){
63
+ jQuery('#wp-ulike-comment-' + commentId + ' .counter').html("<a onclick='likeThisComment("+commentId+",1,0)' class='text'>" + ulike_obj.button_text + "</a><span class='count-box'>"+value+"</span>");
64
+ }
65
+ }
66
+ else{
67
+ jQuery('#wp-ulike-comment-' + commentId + ' .counter').html("<a onclick='likeThisComment("+commentId+",1,0)' class='text'>" + ulike_obj.text_after_unlike + "</a><span class='count-box'>"+value+"</span>");
68
+ }
69
+ }
70
+ else if(n1+n2 == 3){
71
+ jQuery('#wp-ulike-comment-' + commentId + ' .counter').html("<a class='text user-tooltip' title='Already Voted'>" + ulike_obj.text_after_like + "</a><span class='count-box'>"+value+"</span>");
72
+ }
73
+ else if(n1+n2 == 4){
74
+ if(ulike_obj.button_type == 'image'){
75
+ jQuery('#wp-ulike-comment-' + commentId + ' .counter').html("<a class='image'></a><span class='count-box'>"+value+"</span>");
76
+ }
77
+ else if(ulike_obj.button_type == 'text'){
78
+ jQuery('#wp-ulike-comment-' + commentId + ' .counter').html("<a class='text'>" + ulike_obj.button_text + "</a><span class='count-box'>"+value+"</span>");
79
+ }
80
+ }
81
+ }
82
+ });
83
+ }
84
+ }
85
+ function likeThisActivity(activityID, n1, n2) {
86
+ if (activityID != '') {
87
+ jQuery('#wp-ulike-activity-' + activityID + ' .counter').html('<a class="loading"></a><span class="count-box">...</span>');
88
+ jQuery.ajax({
89
+ type:'POST',
90
+ url: ulike_obj.ajaxurl,
91
+ data:{
92
+ action:'ulikebuddypressprocess',
93
+ id: activityID
94
+ },
95
+ success: function(value) {
96
+ if(n1+n2 == 1){
97
+ jQuery('#wp-ulike-activity-' + activityID + ' .counter').html("<a onclick='likeThisActivity("+activityID+",1,1)' class='text'>" + ulike_obj.text_after_like + "</a><span class='count-box'>"+value+"</span>");
98
+ }
99
+ else if(n1+n2 == 2){
100
+ if(ulike_obj.return_initial_after_unlike == 1){
101
+ if(ulike_obj.button_type == 'image'){
102
+ jQuery('#wp-ulike-activity-' + activityID + ' .counter').html("<a onclick='likeThisActivity("+activityID+",1,0)' class='image'></a><span class='count-box'>"+value+"</span>");
103
+ }
104
+ else if(ulike_obj.button_type == 'text'){
105
+ jQuery('#wp-ulike-activity-' + activityID + ' .counter').html("<a onclick='likeThisActivity("+activityID+",1,0)' class='text'>" + ulike_obj.button_text + "</a><span class='count-box'>"+value+"</span>");
106
+ }
107
+ }
108
+ else{
109
+ jQuery('#wp-ulike-activity-' + activityID + ' .counter').html("<a onclick='likeThisActivity("+activityID+",1,0)' class='text'>" + ulike_obj.text_after_unlike + "</a><span class='count-box'>"+value+"</span>");
110
+ }
111
+ }
112
+ else if(n1+n2 == 3){
113
+ jQuery('#wp-ulike-activity-' + activityID + ' .counter').html("<a class='text user-tooltip' title='Already Voted'>" + ulike_obj.text_after_like + "</a><span class='count-box'>"+value+"</span>");
114
+ }
115
+ else if(n1+n2 == 4){
116
+ if(ulike_obj.button_type == 'image'){
117
+ jQuery('#wp-ulike-activity-' + activityID + ' .counter').html("<a class='image'></a><span class='count-box'>"+value+"</span>");
118
+ }
119
+ else if(ulike_obj.button_type == 'text'){
120
+ jQuery('#wp-ulike-activity-' + activityID + ' .counter').html("<a class='text'>" + ulike_obj.button_text + "</a><span class='count-box'>"+value+"</span>");
121
+ }
122
+ }
123
+ }
124
+ });
125
+ }
126
+ }
assets/js/wp-ulike.js DELETED
@@ -1 +0,0 @@
1
- function likeThis(e,l,s){""!=e&&(jQuery("#wp-ulike-"+e+" .counter").html('<a class="loading"></a><span class="count-box">...</span>'),jQuery.ajax({type:"POST",url:ulike_obj.ajaxurl,data:{action:"ulikeprocess",id:e},success:function(a){l+s==1?jQuery("#wp-ulike-"+e+" .counter").html("<a onclick='likeThis("+e+",1,1)' class='text'>"+ulike_obj.text_after_like+"</a><span class='count-box'>"+a+"</span>"):l+s==2?jQuery("#wp-ulike-"+e+" .counter").html("<a onclick='likeThis("+e+",1,0)' class='text'>"+ulike_obj.text_after_unlike+"</a><span class='count-box'>"+a+"</span>"):l+s==3&&jQuery("#wp-ulike-"+e+" .counter").html("<a class='text user-tooltip' title='Already Voted'>"+ulike_obj.text_after_like+"</a><span class='count-box'>"+a+"</span>")}}))}function likeThisComment(e,t,n){if(e!=""){jQuery("#wp-ulike-comment-"+e+" .counter").html('<a class="loading"></a><span class="count-box">...</span>');jQuery.ajax({type:"POST",url:ulike_obj.ajaxurl,data:{action:"ulikecommentprocess",id:e},success:function(r){if(t+n==1){jQuery("#wp-ulike-comment-"+e+" .counter").html("<a onclick='likeThisComment("+e+",1,1)' class='text'>"+ulike_obj.text_after_like+"</a><span class='count-box'>"+r+"</span>")}else if(t+n==2){jQuery("#wp-ulike-comment-"+e+" .counter").html("<a onclick='likeThisComment("+e+",1,0)' class='text'>"+ulike_obj.text_after_unlike+"</a><span class='count-box'>"+r+"</span>")}else if(t+n==3){jQuery("#wp-ulike-comment-"+e+" .counter").html("<a class='text user-tooltip' title='Already Voted'>"+ulike_obj.text_after_like+"</a><span class='count-box'>"+r+"</span>")}}})}}function likeThisActivity(t,i,e){""!=t&&(jQuery("#wp-ulike-activity-"+t+" .counter").html('<a class="loading"></a><span class="count-box">...</span>'),jQuery.ajax({type:"POST",url:ulike_obj.ajaxurl,data:{action:"ulikebuddypressprocess",id:t},success:function(a){i+e==1?jQuery("#wp-ulike-activity-"+t+" .counter").html("<a onclick='likeThisActivity("+t+",1,1)' class='text'>"+ulike_obj.text_after_like+"</a><span class='count-box'>"+a+"</span>"):i+e==2?jQuery("#wp-ulike-activity-"+t+" .counter").html("<a onclick='likeThisActivity("+t+",1,0)' class='text'>"+ulike_obj.text_after_unlike+"</a><span class='count-box'>"+a+"</span>"):i+e==3&&jQuery("#wp-ulike-activity-"+t+" .counter").html("<a class='text user-tooltip' title='Already Voted'>"+ulike_obj.text_after_like+"</a><span class='count-box'>"+a+"</span>")}}))}if(!function(t){"use strict";var e=function(t,e){this.init("tooltip",t,e)};e.prototype={constructor:e,init:function(e,i,n){var o,s,r,a,l;for(this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.enabled=!0,r=this.options.trigger.split(" "),l=r.length;l--;)a=r[l],"click"==a?this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this)):"manual"!=a&&(o="hover"==a?"mouseenter":"focus",s="hover"==a?"mouseleave":"blur",this.$element.on(o+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.leave,this)));this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(e){return e=t.extend({},t.fn[this.type].defaults,this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},enter:function(e){var i,n=t.fn[this.type].defaults,o={};return this._options&&t.each(this._options,function(t,e){n[t]!=e&&(o[t]=e)},this),i=t(e.currentTarget)[this.type](o).data(this.type),i.options.delay&&i.options.delay.show?(clearTimeout(this.timeout),i.hoverState="in",void(this.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show))):i.show()},leave:function(e){var i=t(e.currentTarget)[this.type](this._options).data(this.type);return this.timeout&&clearTimeout(this.timeout),i.options.delay&&i.options.delay.hide?(i.hoverState="out",void(this.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide))):i.hide()},show:function(){var e,i,n,o,s,r,a=t.Event("show");if(this.hasContent()&&this.enabled){if(this.$element.trigger(a),a.isDefaultPrevented())return;switch(e=this.tip(),this.setContent(),this.options.animation&&e.addClass("fade"),s="function"==typeof this.options.placement?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,e.detach().css({top:0,left:0,display:"block"}),this.options.container?e.appendTo(this.options.container):e.insertAfter(this.$element),i=this.getPosition(),n=e[0].offsetWidth,o=e[0].offsetHeight,s){case"bottom":r={top:i.top+i.height,left:i.left+i.width/2-n/2};break;case"top":r={top:i.top-o,left:i.left+i.width/2-n/2};break;case"left":r={top:i.top+i.height/2-o/2,left:i.left-n};break;case"right":r={top:i.top+i.height/2-o/2,left:i.left+i.width}}this.applyPlacement(r,s),this.$element.trigger("shown")}},applyPlacement:function(t,e){var i,n,o,s,r=this.tip(),a=r[0].offsetWidth,l=r[0].offsetHeight;r.offset(t).addClass(e).addClass("in"),i=r[0].offsetWidth,n=r[0].offsetHeight,"top"==e&&n!=l&&(t.top=t.top+l-n,s=!0),"bottom"==e||"top"==e?(o=0,t.left<0&&(o=-2*t.left,t.left=0,r.offset(t),i=r[0].offsetWidth,n=r[0].offsetHeight),this.replaceArrow(o-a+i,i,"left")):this.replaceArrow(n-l,n,"top"),s&&r.offset(t)},replaceArrow:function(t,e,i){this.arrow().css(i,t?50*(1-t/e)+"%":"")},setContent:function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},hide:function(){function e(){var e=setTimeout(function(){i.off(t.support.transition.end).detach()},500);i.one(t.support.transition.end,function(){clearTimeout(e),i.detach()})}var i=this.tip(),n=t.Event("hide");return this.$element.trigger(n),n.isDefaultPrevented()?void 0:(i.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?e():i.detach(),this.$element.trigger("hidden"),this)},fixTitle:function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var e=this.$element[0];return t.extend({},"function"==typeof e.getBoundingClientRect?e.getBoundingClientRect():{width:e.offsetWidth,height:e.offsetHeight},this.$element.offset())},getTitle:function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},tip:function(){return this.$tip=this.$tip||t(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(e){var i=e?t(e.currentTarget)[this.type](this._options).data(this.type):this;i.tip().hasClass("in")?i.hide():i.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each(function(){var n=t(this),o=n.data("tooltip"),s="object"==typeof i&&i;o||n.data("tooltip",o=new e(this,s)),"string"==typeof i&&o[i]()})},t.fn.tooltip.Constructor=e,t.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(window.jQuery),"undefined"==typeof jQuery)throw new Error("WP Ulike's JavaScript requires jQuery");if(+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",function(){i=!0});var o=function(){i||t(n).trigger(t.support.transition.end)};return setTimeout(o,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),"undefined"==typeof jQuery)throw new Error("WP Ulike's JavaScript requires jQuery");+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.alert");o||i.data("bs.alert",o=new n(this)),"string"==typeof e&&o[e].call(i)})}var i='[data-dismiss="alert"]',n=function(e){t(e).on("click",i,this.close)};n.VERSION="3.2.0",n.prototype.close=function(e){function i(){s.detach().trigger("closed.bs.alert").remove()}var n=t(this),o=n.attr("data-target");o||(o=n.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,""));var s=t(o);e&&e.preventDefault(),s.length||(s=n.hasClass("alert")?n:n.parent()),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",i).emulateTransitionEnd(150):i())};var o=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",i,n.prototype.close)}(jQuery),jQuery(document).ready(function(t){t(".user-tooltip").tooltip()});
 
inc/wp-functions.php CHANGED
@@ -12,11 +12,25 @@
12
 
13
  //Insert ULike button to the posts
14
  if (wp_ulike_get_setting( 'wp_ulike_posts', 'auto_display' ) == '1') {
15
- function wp_ulike_put_posts($content) {
 
 
 
 
 
16
  if( !is_feed() && wp_ulike_post_auto_display_filters()){
17
- $content.= wp_ulike('put');
18
  }
19
- return $content;
 
 
 
 
 
 
 
 
 
20
  }
21
 
22
  add_filter('the_content', 'wp_ulike_put_posts');
@@ -45,7 +59,7 @@
45
  return 1;
46
  }
47
 
48
- //get user status (like or unlike)
49
  function wp_ulike_get_user_post_status($post_ID,$user_ID){
50
  global $wpdb;
51
  $like_status = $wpdb->get_var("SELECT status FROM ".$wpdb->prefix."ulike WHERE post_id = '$post_ID' AND user_id = '$user_ID'");
@@ -55,17 +69,29 @@
55
  return "unlike";
56
  }
57
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  //get users data and list their avatar
59
  function wp_ulike_get_user_posts_data($post_ID,$user_ID){
60
  global $wpdb;
61
  $users_list = '';
62
 
63
- $get_users = $wpdb->get_results("SELECT user_id FROM ".$wpdb->prefix."ulike WHERE post_id = '$post_ID'");
64
 
65
  foreach ( $get_users as $get_user )
66
  {
67
- if ($user_ID != $get_user->user_id):
68
  $user_info = get_userdata($get_user->user_id);
 
69
  $avatar_size = wp_ulike_get_setting( 'wp_ulike_posts', 'users_liked_box_avatar_size');
70
  $users_list .= '<li><a class="user-tooltip" title="'.$user_info->display_name.'">'.get_avatar( $user_info->user_email, $avatar_size, '' , 'avatar').'</a></li>';
71
  endif;
@@ -87,10 +113,23 @@
87
  *******************************************************/
88
 
89
  //Insert ULike button to the comments
90
- if (wp_ulike_get_setting( 'wp_ulike_comments', 'auto_display' ) == '1') {
91
  function wp_ulike_put_comments($content) {
92
- $content.= wp_ulike_comments('put');
93
- return $content;
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  }
95
 
96
  add_filter('comment_text', 'wp_ulike_put_comments');
@@ -106,17 +145,27 @@
106
  return "unlike";
107
  }
108
 
 
 
 
 
 
 
 
 
 
 
109
  //get users data and list their avatar
110
  function wp_ulike_get_user_comments_data($CommentID,$user_ID){
111
  global $wpdb;
112
  $users_list = '';
113
 
114
- $get_users = $wpdb->get_results("SELECT user_id FROM ".$wpdb->prefix."ulike_comments WHERE comment_id = '$CommentID'");
115
 
116
  foreach ( $get_users as $get_user )
117
  {
118
- if ($user_ID != $get_user->user_id):
119
  $user_info = get_userdata($get_user->user_id);
 
120
  $avatar_size = wp_ulike_get_setting( 'wp_ulike_comments', 'users_liked_box_avatar_size');
121
  $users_list .= '<li><a class="user-tooltip" title="'.$user_info->display_name.'">'.get_avatar( $user_info->user_email, $avatar_size, '' , 'avatar').'</a></li>';
122
  endif;
@@ -146,12 +195,12 @@
146
  global $wpdb;
147
  $users_list = '';
148
 
149
- $get_users = $wpdb->get_results("SELECT user_id FROM ".$wpdb->prefix."ulike_activities WHERE activity_id = '$activityID'");
150
 
151
  foreach ( $get_users as $get_user )
152
  {
153
- if ($user_ID != $get_user->user_id):
154
  $user_info = get_userdata($get_user->user_id);
 
155
  $avatar_size = wp_ulike_get_setting( 'wp_ulike_buddypress', 'users_liked_box_avatar_size');
156
  $users_list .= '<li><a class="user-tooltip" title="'.$user_info->display_name.'">'.get_avatar( $user_info->user_email, $avatar_size, '' , 'avatar').'</a></li>';
157
  endif;
@@ -171,6 +220,16 @@
171
  return "unlike";
172
  }
173
 
 
 
 
 
 
 
 
 
 
 
174
  //register activity action
175
  add_action( 'bp_register_activity_actions', 'wp_ulike_register_activity_actions' );
176
  function wp_ulike_register_activity_actions() {
@@ -233,6 +292,16 @@
233
  }
234
 
235
  return $ip;
 
 
 
 
 
 
 
 
 
 
236
  }
237
 
238
  //get custom style settings
12
 
13
  //Insert ULike button to the posts
14
  if (wp_ulike_get_setting( 'wp_ulike_posts', 'auto_display' ) == '1') {
15
+ function wp_ulike_put_posts($content) {
16
+ //auto display position
17
+ $position = wp_ulike_get_setting( 'wp_ulike_posts', 'auto_display_position');
18
+ $button = '';
19
+
20
+ //add wp_ulike function
21
  if( !is_feed() && wp_ulike_post_auto_display_filters()){
22
+ $button = wp_ulike('put');
23
  }
24
+
25
+ //return by position
26
+ if($position=='bottom')
27
+ return $content . $button;
28
+ else if($position=='top')
29
+ return $button . $content;
30
+ else if($position=='top_bottom')
31
+ return $button . $content . $button;
32
+ else
33
+ return $content . $button;
34
  }
35
 
36
  add_filter('the_content', 'wp_ulike_put_posts');
59
  return 1;
60
  }
61
 
62
+ //get user status by user_ID (like or unlike)
63
  function wp_ulike_get_user_post_status($post_ID,$user_ID){
64
  global $wpdb;
65
  $like_status = $wpdb->get_var("SELECT status FROM ".$wpdb->prefix."ulike WHERE post_id = '$post_ID' AND user_id = '$user_ID'");
69
  return "unlike";
70
  }
71
 
72
+ //get user status by user_IP (like or unlike)
73
+ function wp_ulike_get_user_post_status_byIP($post_ID,$user_IP){
74
+ global $wpdb;
75
+ $like_status = $wpdb->get_var("SELECT status FROM ".$wpdb->prefix."ulike WHERE post_id = '$post_ID' AND ip = '$user_IP'");
76
+ if ($like_status == "like")
77
+ return "like";
78
+ else
79
+ return "unlike";
80
+ }
81
+
82
+
83
+
84
  //get users data and list their avatar
85
  function wp_ulike_get_user_posts_data($post_ID,$user_ID){
86
  global $wpdb;
87
  $users_list = '';
88
 
89
+ $get_users = $wpdb->get_results("SELECT user_id FROM ".$wpdb->prefix."ulike WHERE post_id = '$post_ID' GROUP BY user_id");
90
 
91
  foreach ( $get_users as $get_user )
92
  {
 
93
  $user_info = get_userdata($get_user->user_id);
94
+ if ($user_ID != $get_user->user_id && $user_info):
95
  $avatar_size = wp_ulike_get_setting( 'wp_ulike_posts', 'users_liked_box_avatar_size');
96
  $users_list .= '<li><a class="user-tooltip" title="'.$user_info->display_name.'">'.get_avatar( $user_info->user_email, $avatar_size, '' , 'avatar').'</a></li>';
97
  endif;
113
  *******************************************************/
114
 
115
  //Insert ULike button to the comments
116
+ if (wp_ulike_get_setting( 'wp_ulike_comments', 'auto_display' ) == '1' && !is_admin()) {
117
  function wp_ulike_put_comments($content) {
118
+ //auto display position
119
+ $position = wp_ulike_get_setting( 'wp_ulike_comments', 'auto_display_position');
120
+
121
+ //add wp_ulike_comments function
122
+ $button = wp_ulike_comments('put');
123
+
124
+ //return by position
125
+ if($position=='bottom')
126
+ return $content . $button;
127
+ else if($position=='top')
128
+ return $button . $content;
129
+ else if($position=='top_bottom')
130
+ return $button . $content . $button;
131
+ else
132
+ return $content . $button;
133
  }
134
 
135
  add_filter('comment_text', 'wp_ulike_put_comments');
145
  return "unlike";
146
  }
147
 
148
+ //get user status by user_IP (like or unlike)
149
+ function wp_ulike_get_user_comments_status_byIP($CommentID,$user_IP){
150
+ global $wpdb;
151
+ $like_status = $wpdb->get_var("SELECT status FROM ".$wpdb->prefix."ulike_comments WHERE comment_id = '$CommentID' AND ip = '$user_IP'");
152
+ if ($like_status == "like")
153
+ return "like";
154
+ else
155
+ return "unlike";
156
+ }
157
+
158
  //get users data and list their avatar
159
  function wp_ulike_get_user_comments_data($CommentID,$user_ID){
160
  global $wpdb;
161
  $users_list = '';
162
 
163
+ $get_users = $wpdb->get_results("SELECT user_id FROM ".$wpdb->prefix."ulike_comments WHERE comment_id = '$CommentID' GROUP BY user_id");
164
 
165
  foreach ( $get_users as $get_user )
166
  {
 
167
  $user_info = get_userdata($get_user->user_id);
168
+ if ($user_ID != $get_user->user_id && $user_info):
169
  $avatar_size = wp_ulike_get_setting( 'wp_ulike_comments', 'users_liked_box_avatar_size');
170
  $users_list .= '<li><a class="user-tooltip" title="'.$user_info->display_name.'">'.get_avatar( $user_info->user_email, $avatar_size, '' , 'avatar').'</a></li>';
171
  endif;
195
  global $wpdb;
196
  $users_list = '';
197
 
198
+ $get_users = $wpdb->get_results("SELECT user_id FROM ".$wpdb->prefix."ulike_activities WHERE activity_id = '$activityID' GROUP BY user_id");
199
 
200
  foreach ( $get_users as $get_user )
201
  {
 
202
  $user_info = get_userdata($get_user->user_id);
203
+ if ($user_ID != $get_user->user_id && $user_info):
204
  $avatar_size = wp_ulike_get_setting( 'wp_ulike_buddypress', 'users_liked_box_avatar_size');
205
  $users_list .= '<li><a class="user-tooltip" title="'.$user_info->display_name.'">'.get_avatar( $user_info->user_email, $avatar_size, '' , 'avatar').'</a></li>';
206
  endif;
220
  return "unlike";
221
  }
222
 
223
+ //get user status by user_IP (like or unlike)
224
+ function wp_ulike_get_user_activities_status_byIP($activityID,$user_IP){
225
+ global $wpdb;
226
+ $like_status = $wpdb->get_var("SELECT status FROM ".$wpdb->prefix."ulike_activities WHERE activity_id = '$activityID' AND ip = '$user_IP'");
227
+ if ($like_status == "like")
228
+ return "like";
229
+ else
230
+ return "unlike";
231
+ }
232
+
233
  //register activity action
234
  add_action( 'bp_register_activity_actions', 'wp_ulike_register_activity_actions' );
235
  function wp_ulike_register_activity_actions() {
292
  }
293
 
294
  return $ip;
295
+ }
296
+
297
+ function wp_ulike_reutrn_userID($user_ID){
298
+ if(!is_user_logged_in()){
299
+ $ip = wp_ulike_get_real_ip();
300
+ $user_ip = ip2long($ip);
301
+ return $user_ip;
302
+ }
303
+ else
304
+ return $user_ID;
305
  }
306
 
307
  //get custom style settings
inc/wp-script.php CHANGED
@@ -4,12 +4,16 @@
4
  add_action('init', 'wp_ulike_enqueue_scripts');
5
  function wp_ulike_enqueue_scripts() {
6
  wp_enqueue_script( 'jquery' );
7
- wp_enqueue_script('wp_ulike', plugins_url('assets/js/wp-ulike.js', dirname(__FILE__)), array('jquery'));
 
8
 
9
  wp_localize_script( 'wp_ulike', 'ulike_obj', array(
10
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
11
  'text_after_like' => wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like'),
12
- 'text_after_unlike' => wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike')
 
 
 
13
  ));
14
  add_action('wp_ajax_ulikeprocess','wp_ulike_process');
15
  add_action('wp_ajax_nopriv_ulikeprocess', 'wp_ulike_process');
4
  add_action('init', 'wp_ulike_enqueue_scripts');
5
  function wp_ulike_enqueue_scripts() {
6
  wp_enqueue_script( 'jquery' );
7
+ wp_enqueue_script('wp_ulike', plugins_url('assets/js/wp-ulike-scripts.js', dirname(__FILE__)), array('jquery'), '1.0.0');
8
+ wp_enqueue_script('wp_ulike_plugins', plugins_url('assets/js/wp-ulike-plugins.js', dirname(__FILE__)), array('jquery'), '1.0.0');
9
 
10
  wp_localize_script( 'wp_ulike', 'ulike_obj', array(
11
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
12
  'text_after_like' => wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like'),
13
+ 'text_after_unlike' => wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike'),
14
+ 'button_text' => wp_ulike_get_setting( 'wp_ulike_general', 'button_text'),
15
+ 'button_type' => wp_ulike_get_setting( 'wp_ulike_general', 'button_type'),
16
+ 'return_initial_after_unlike' => wp_ulike_get_setting( 'wp_ulike_general', 'return_initial_after_unlike')
17
  ));
18
  add_action('wp_ajax_ulikeprocess','wp_ulike_process');
19
  add_action('wp_ajax_nopriv_ulikeprocess', 'wp_ulike_process');
inc/wp-strings.php CHANGED
@@ -1,8 +1,5 @@
1
  <?php
2
  $wp_ulike_string = array(
3
- "1" => __('WP ULike - Most Liked Comments', 'alimir'),
4
- "2" => __( 'This widget allows you to show most liked comments.', 'alimir' ),
5
- "3" => __('Most Liked Comments', 'alimir'),
6
  "4" => __('WP ULike - Most Liked Activities', 'alimir'),
7
  "5" => __( 'This widget allows you to show most liked activities.', 'alimir' ),
8
  "6" => __('Most Liked Activities', 'alimir'),
@@ -14,21 +11,12 @@ $wp_ulike_string = array(
14
  "12" => __('Who Is Allowed To Like?', 'alimir'),
15
  "13" => __('Filter Options:', 'alimir'),
16
  "14" => __('Sort Options:', 'alimir'),
17
- "15" => __('Logging Method', 'alimir'),
18
- "16" => __('Do Not Log', 'alimir'),
19
- "17" => __('Logged By Cookie', 'alimir'),
20
- "18" => __('Logged By IP', 'alimir'),
21
- "19" => __('Logged By Cookie & IP', 'alimir'),
22
- "20" => __('Logged By Username', 'alimir'),
23
  "21" => __('Themes', 'alimir'),
24
  "22" => __('Dislike', 'alimir'),
25
  "23" => __('Dislike Support', 'alimir'),
26
  "24" => __('Text After Dislike', 'alimir'),
27
  "25" => __('Show Counter', 'alimir'),
28
  "26" => __('Show tooltips', 'alimir'),
29
- "27" => __('Top of Content', 'alimir'),
30
- "28" => __('Bottom of Content', 'alimir'),
31
- "29" => __('Top and Bottom', 'alimir'),
32
  "30" => __('Alignment', 'alimir'),
33
  "31" => __('Left', 'alimir'),
34
  "32" => __('Center', 'alimir'),
1
  <?php
2
  $wp_ulike_string = array(
 
 
 
3
  "4" => __('WP ULike - Most Liked Activities', 'alimir'),
4
  "5" => __( 'This widget allows you to show most liked activities.', 'alimir' ),
5
  "6" => __('Most Liked Activities', 'alimir'),
11
  "12" => __('Who Is Allowed To Like?', 'alimir'),
12
  "13" => __('Filter Options:', 'alimir'),
13
  "14" => __('Sort Options:', 'alimir'),
 
 
 
 
 
 
14
  "21" => __('Themes', 'alimir'),
15
  "22" => __('Dislike', 'alimir'),
16
  "23" => __('Dislike Support', 'alimir'),
17
  "24" => __('Text After Dislike', 'alimir'),
18
  "25" => __('Show Counter', 'alimir'),
19
  "26" => __('Show tooltips', 'alimir'),
 
 
 
20
  "30" => __('Alignment', 'alimir'),
21
  "31" => __('Left', 'alimir'),
22
  "32" => __('Center', 'alimir'),
inc/wp-ulike-buddypress.php CHANGED
@@ -1,19 +1,131 @@
1
  <?php
2
  //main activities function
3
  function wp_ulike_buddypress($arg) {
4
-
5
- global $wpdb,$user_ID;
 
 
 
 
 
6
  $activityID = bp_get_activity_id();
7
  $counter = '';
8
- $get_like = bp_activity_get_meta($activityID, '_activityliked') != '' ? bp_activity_get_meta($activityID, '_activityliked') : '0';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  $liked = wp_ulike_format_number($get_like);
 
10
 
11
- if ( (wp_ulike_get_setting( 'wp_ulike_buddypress', 'only_registered_users') != '1') or (wp_ulike_get_setting( 'wp_ulike_buddypress', 'only_registered_users') == '1' && is_user_logged_in()) ){
12
-
13
- if(is_user_logged_in()){
14
- $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_activities WHERE activity_id = '$activityID' AND user_id = '$user_ID'");
15
-
16
- if(!isset($_COOKIE['activity-liked-'.$activityID]) && $user_status == 0){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
18
  $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
19
  }
@@ -21,112 +133,265 @@
21
  $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
22
  }
23
  }
24
- else if($user_status != 0){
25
- if(wp_ulike_get_user_activities_status($activityID,$user_ID) == "like"){
26
  $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 1);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
27
  }
28
- else if(wp_ulike_get_user_activities_status($activityID,$user_ID) == "unlike"){
29
- $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike').'</a><span class="count-box">'.$liked.'</span>';
 
 
 
 
 
 
 
 
 
 
30
  }
31
  }
32
-
33
- else if(isset($_COOKIE['activity-liked-'.$activityID]) && $user_status == 0){
34
- $counter = '<a class="text user-tooltip" title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
 
 
 
 
 
 
35
  }
36
- }
37
- else{
38
- if(!isset($_COOKIE['activity-liked-'.$activityID])){
39
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
41
- $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 2);" class="image"></a><span class="count-box">'.$liked.'</span>';
42
  }
43
  else {
44
- $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 2);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  }
46
-
47
  }
48
  else{
49
-
50
  $counter = '<a class="text user-tooltip" title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
  }
53
- }
54
-
55
- $wp_ulike = '<div id="wp-ulike-activity-'.$activityID.'" class="wpulike">';
56
- $wp_ulike .= '<div class="counter">'.$counter.'</div>';
57
- $wp_ulike .= '</div>';
58
-
59
- $user_data = wp_ulike_get_user_activities_data($activityID,$user_ID);
60
- if(wp_ulike_get_setting( 'wp_ulike_buddypress', 'users_liked_box') == '1' && $user_data != '')
61
- $wp_ulike .= '<p style="margin-top:5px">'.wp_ulike_get_setting( 'wp_ulike_buddypress', 'users_liked_box_title').'</p><ul class="tiles">' . $user_data . '</ul>';
62
-
63
- if ($arg == 'put') {
64
- return $wp_ulike;
65
- }
66
- else {
67
- echo $wp_ulike;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  }
 
 
 
 
 
 
 
 
69
 
70
- }
 
 
 
71
 
72
- else if (wp_ulike_get_setting( 'wp_ulike_buddypress', 'only_registered_users') == '1' && !is_user_logged_in()){
73
- 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>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  }
75
 
76
- }
77
-
78
- //Process function
79
- function wp_ulike_buddypress_process(){
80
-
81
- global $wpdb,$user_ID;
82
- $activityID = $_POST['id'];
83
- $like = bp_activity_get_meta($activityID, '_activityliked') != '' ? bp_activity_get_meta($activityID, '_activityliked') : '0';
84
- $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_activities WHERE activity_id = '$activityID' AND user_id = '$user_ID'");
85
-
86
- if($activityID != '') {
87
- if (!isset($_COOKIE['activity-liked-'.$activityID]) && $user_status == 0) {
88
- $newLike = $like + 1;
89
  bp_activity_update_meta($activityID, '_activityliked', $newLike);
90
-
91
  setcookie('activity-liked-'.$activityID, time(), time()+3600*24*365, '/');
92
 
93
- if(is_user_logged_in()):
94
- $ip = wp_ulike_get_real_ip();
95
- $wpdb->query("INSERT INTO ".$wpdb->prefix."ulike_activities VALUES ('', '$activityID', NOW(), '$ip', '$user_ID', 'like')");
96
- //wp_ulike_bp_notification($user_ID,$activityID);
97
- endif;
98
 
99
  echo wp_ulike_format_number($newLike);
100
  }
101
  else if ($user_status != 0) {
102
- if(wp_ulike_get_user_activities_status($activityID,$user_ID) == "like"){
103
- $newLike = $like - 1;
104
  bp_activity_update_meta($activityID, '_activityliked', $newLike);
105
 
106
  $wpdb->query("
107
  UPDATE ".$wpdb->prefix."ulike_activities
108
  SET status = 'unlike'
109
- WHERE activity_id = '$activityID' AND user_id = '$user_ID'
110
  ");
111
 
112
  echo wp_ulike_format_number($newLike);
113
  }
114
  else{
115
- $newLike = $like + 1;
116
  bp_activity_update_meta($activityID, '_activityliked', $newLike);
117
 
118
  $wpdb->query("
119
  UPDATE ".$wpdb->prefix."ulike_activities
120
  SET status = 'like'
121
- WHERE activity_id = '$activityID' AND user_id = '$user_ID'
122
  ");
123
 
124
  echo wp_ulike_format_number($newLike);
125
  }
126
  }
127
- else if (isset($_COOKIE['activity-liked-'.$activityID])&& $user_status == 0){
128
- echo wp_ulike_format_number($like);
129
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
 
131
  }
132
  die();
1
  <?php
2
  //main activities function
3
  function wp_ulike_buddypress($arg) {
4
+ if(
5
+ (wp_ulike_get_setting( 'wp_ulike_buddypress', 'only_registered_users') != '1')
6
+ or
7
+ (wp_ulike_get_setting( 'wp_ulike_buddypress', 'only_registered_users') == '1' && is_user_logged_in())
8
+ ){
9
+
10
+ global $user_ID;
11
  $activityID = bp_get_activity_id();
12
  $counter = '';
13
+ $return_userID = wp_ulike_reutrn_userID($user_ID);
14
+ $loggin_method = wp_ulike_get_setting( 'wp_ulike_buddypress', 'logging_method');
15
+
16
+ if($loggin_method == 'do_not_log')
17
+ $counter = wp_ulike_activities_do_not_log_method($activityID,'activity');
18
+ else if($loggin_method == 'by_cookie')
19
+ $counter = wp_ulike_activities_loggedby_cookie_method($activityID,'activity');
20
+ else if($loggin_method == 'by_ip')
21
+ $counter = wp_ulike_activities_loggedby_ip_method($activityID,$return_userID,'activity');
22
+ else if($loggin_method == 'by_cookie_ip')
23
+ $counter = wp_ulike_activities_loggedby_cookie_ip_method($activityID,$return_userID,'activity');
24
+ else
25
+ $counter = wp_ulike_activities_loggedby_username_method($activityID,$return_userID,'activity');
26
+
27
+ $wp_ulike = '<div id="wp-ulike-activity-'.$activityID.'" class="wpulike">';
28
+ $wp_ulike .= '<div class="counter">'.$counter.'</div>';
29
+ $wp_ulike .= '</div>';
30
+
31
+ $user_data = wp_ulike_get_user_activities_data($activityID,$return_userID);
32
+ if(wp_ulike_get_setting( 'wp_ulike_buddypress', 'users_liked_box') == '1' && $user_data != '')
33
+ $wp_ulike .= '<p style="margin-top:5px">'.wp_ulike_get_setting( 'wp_ulike_buddypress', 'users_liked_box_title').'</p><ul class="tiles">' . $user_data . '</ul>';
34
+
35
+ if ($arg == 'put') {
36
+ return $wp_ulike;
37
+ }
38
+ else {
39
+ echo $wp_ulike;
40
+ }
41
+
42
+ }
43
+
44
+ else if (wp_ulike_get_setting( 'wp_ulike_buddypress', 'only_registered_users') == '1' && !is_user_logged_in()){
45
+ 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>';
46
+ }
47
+
48
+ }
49
+
50
+ //Do Not Log Method
51
+ function wp_ulike_activities_do_not_log_method($activityID,$type){
52
+
53
+ $get_like = bp_activity_get_meta($activityID, '_activityliked') != '' ? bp_activity_get_meta($activityID, '_activityliked') : 0;
54
  $liked = wp_ulike_format_number($get_like);
55
+ $counter = '';
56
 
57
+ if($type == 'activity'){
58
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
59
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 2, 2);" class="image"></a><span class="count-box">'.$liked.'</span>';
60
+ }
61
+ else {
62
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 2, 2);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
63
+ }
64
+ }//end activity button
65
+ else if($type == 'process'){
66
+ $newLike = $get_like + 1;
67
+ bp_activity_update_meta($activityID, '_activityliked', $newLike);
68
+ echo wp_ulike_format_number($newLike);
69
+ }//end activity process
70
+
71
+ return $counter;
72
+ }
73
+
74
+
75
+ //Logged By Cookie
76
+ function wp_ulike_activities_loggedby_cookie_method($activityID,$type){
77
+
78
+ $get_like = bp_activity_get_meta($activityID, '_activityliked') != '' ? bp_activity_get_meta($activityID, '_activityliked') : 0;
79
+ $liked = wp_ulike_format_number($get_like);
80
+ $counter = '';
81
+
82
+ if($type == 'activity'){
83
+ if(!isset($_COOKIE['activity-liked-'.$activityID])){
84
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
85
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 2, 2);" class="image"></a><span class="count-box">'.$liked.'</span>';
86
+ }
87
+ else {
88
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 2, 2);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
89
+ }
90
+ }
91
+ else{
92
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
93
+ $counter = '<a title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'" class="image user-tooltip"></a><span class="count-box">'.$liked.'</span>';
94
+ }
95
+ else {
96
+ $counter = '<a title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'" class="text user-tooltip">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
97
+ }
98
+ }
99
+ }//end activity button
100
+ else if($type == 'process'){
101
+ if(!isset($_COOKIE['activity-liked-'.$activityID])){
102
+ $newLike = $get_like + 1;
103
+ bp_activity_update_meta($activityID, '_activityliked', $newLike);
104
+ setcookie('activity-liked-'.$activityID, time(), time()+3600*24*365, '/');
105
+ echo wp_ulike_format_number($newLike);
106
+ }
107
+ else{
108
+ echo wp_ulike_format_number($get_like);
109
+ }
110
+ }//end activity process
111
+
112
+ return $counter;
113
+ }
114
+
115
+ //Logged By IP
116
+ function wp_ulike_activities_loggedby_ip_method($activityID,$return_userID,$type){
117
+
118
+ global $wpdb;
119
+
120
+ $get_like = bp_activity_get_meta($activityID, '_activityliked') != '' ? bp_activity_get_meta($activityID, '_activityliked') : 0;
121
+ $liked = wp_ulike_format_number($get_like);
122
+ $user_IP = wp_ulike_get_real_ip();
123
+ $counter = '';
124
+
125
+ $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_activities WHERE activity_id = '$activityID' AND ip = '$user_IP'");
126
+
127
+ if($type == 'activity'){
128
+ if($user_status == 0){
129
  if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
130
  $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
131
  }
133
  $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
134
  }
135
  }
136
+ else{
137
+ if(wp_ulike_get_user_activities_status_byIP($activityID,$user_IP) == "like"){
138
  $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 1);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
139
  }
140
+ else if(wp_ulike_get_user_activities_status_byIP($activityID,$user_IP) == "unlike"){
141
+ if(wp_ulike_get_setting( 'wp_ulike_general', 'return_initial_after_unlike') == 1){
142
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
143
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
144
+ }
145
+ else {
146
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
147
+ }
148
+ }
149
+ else{
150
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike').'</a><span class="count-box">'.$liked.'</span>';
151
+ }
152
  }
153
  }
154
+ }//end activity button
155
+ else if($type == 'process'){
156
+ if ($user_status == 0) {
157
+ $newLike = $get_like + 1;
158
+ bp_activity_update_meta($activityID, '_activityliked', $newLike);
159
+ //insert new logs
160
+ $wpdb->query("INSERT INTO ".$wpdb->prefix."ulike_activities VALUES ('', '$activityID', NOW(), '$user_IP', '$return_userID', 'like')");
161
+
162
+ echo wp_ulike_format_number($newLike);
163
  }
164
+ else {
165
+ if(wp_ulike_get_user_activities_status_byIP($activityID,$user_IP) == "like"){
166
+ $newLike = $get_like - 1;
167
+ bp_activity_update_meta($activityID, '_activityliked', $newLike);
168
+
169
+ $wpdb->query("
170
+ UPDATE ".$wpdb->prefix."ulike_activities
171
+ SET status = 'unlike'
172
+ WHERE activity_id = '$activityID' AND ip = '$user_IP'
173
+ ");
174
+
175
+ echo wp_ulike_format_number($newLike);
176
+ }
177
+ else{
178
+ $newLike = $get_like + 1;
179
+ bp_activity_update_meta($activityID, '_activityliked', $newLike);
180
+
181
+ $wpdb->query("
182
+ UPDATE ".$wpdb->prefix."ulike_activities
183
+ SET status = 'like'
184
+ WHERE activity_id = '$activityID' AND ip = '$user_IP'
185
+ ");
186
+
187
+ echo wp_ulike_format_number($newLike);
188
+ }
189
+ }
190
+ }//end activity process
191
+
192
+ return $counter;
193
+ }
194
+
195
+ //Logged by cookie and IP
196
+ function wp_ulike_activities_loggedby_cookie_ip_method($activityID,$return_userID,$type){
197
+
198
+ global $wpdb;
199
+
200
+ $get_like = bp_activity_get_meta($activityID, '_activityliked') != '' ? bp_activity_get_meta($activityID, '_activityliked') : 0;
201
+ $liked = wp_ulike_format_number($get_like);
202
+ $user_IP = wp_ulike_get_real_ip();
203
+ $counter = '';
204
+
205
+ $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_activities WHERE activity_id = '$activityID' AND ip = '$user_IP'");
206
+
207
+ if($type == 'activity'){
208
+ if($user_status == 0 && !isset($_COOKIE['activity-liked-'.$activityID])){
209
  if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
210
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
211
  }
212
  else {
213
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
214
+ }
215
+ }
216
+ else if($user_status != 0){
217
+ if(wp_ulike_get_user_activities_status_byIP($activityID,$user_IP) == "like"){
218
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 1);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
219
+ }
220
+ else if(wp_ulike_get_user_activities_status_byIP($activityID,$user_IP) == "unlike"){
221
+ if(wp_ulike_get_setting( 'wp_ulike_general', 'return_initial_after_unlike') == 1){
222
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
223
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
224
+ }
225
+ else {
226
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
227
+ }
228
+ }
229
+ else{
230
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike').'</a><span class="count-box">'.$liked.'</span>';
231
+ }
232
  }
 
233
  }
234
  else{
 
235
  $counter = '<a class="text user-tooltip" title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
236
+ }
237
+ }
238
+ else if($type == 'process'){
239
+ if ($user_status == 0 && !isset($_COOKIE['activity-liked-'.$activityID])) {
240
+ $newLike = $get_like + 1;
241
+ bp_activity_update_meta($activityID, '_activityliked', $newLike);
242
+ setcookie('activity-liked-'.$activityID, time(), time()+3600*24*365, '/');
243
+
244
+ //insert new logs
245
+ $wpdb->query("INSERT INTO ".$wpdb->prefix."ulike_activities VALUES ('', '$activityID', NOW(), '$user_IP', '$return_userID', 'like')");
246
+
247
+ echo wp_ulike_format_number($newLike);
248
 
249
  }
250
+ else if ($user_status != 0) {
251
+ if(wp_ulike_get_user_activities_status_byIP($activityID,$user_IP) == "like"){
252
+ $newLike = $get_like - 1;
253
+ bp_activity_update_meta($activityID, '_activityliked', $newLike);
254
+
255
+ $wpdb->query("
256
+ UPDATE ".$wpdb->prefix."ulike_activities
257
+ SET status = 'unlike'
258
+ WHERE activity_id = '$activityID' AND ip = '$user_IP'
259
+ ");
260
+
261
+ echo wp_ulike_format_number($newLike);
262
+ }
263
+ else{
264
+ $newLike = $get_like + 1;
265
+ bp_activity_update_meta($activityID, '_activityliked', $newLike);
266
+
267
+ $wpdb->query("
268
+ UPDATE ".$wpdb->prefix."ulike_activities
269
+ SET status = 'like'
270
+ WHERE activity_id = '$activityID' AND ip = '$user_IP'
271
+ ");
272
+
273
+ echo wp_ulike_format_number($newLike);
274
+ }
275
+ }
276
+ else{
277
+ echo wp_ulike_format_number($get_like);
278
+ }
279
  }
280
+
281
+ return $counter;
282
+ }
283
+
284
+ //Logged by username
285
+ function wp_ulike_activities_loggedby_username_method($activityID,$return_userID,$type){
286
+
287
+ global $wpdb;
288
 
289
+ $get_like = bp_activity_get_meta($activityID, '_activityliked') != '' ? bp_activity_get_meta($activityID, '_activityliked') : 0;
290
+ $liked = wp_ulike_format_number($get_like);
291
+ $user_IP = wp_ulike_get_real_ip();
292
+ $counter = '';
293
 
294
+ $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_activities WHERE activity_id = '$activityID' AND user_id = '$return_userID'");
295
+
296
+ if($type == 'activity'){
297
+ if($user_status == 0 && !isset($_COOKIE['activity-liked-'.$activityID])){
298
+ if(is_user_logged_in()): $num = 0; else: $num = 2; endif;
299
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
300
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, '.$num.');" class="image"></a><span class="count-box">'.$liked.'</span>';
301
+ }
302
+ else {
303
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, '.$num.');" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
304
+ }
305
+ }
306
+ else if($user_status != 0){
307
+ if(wp_ulike_get_user_activities_status($activityID,$return_userID) == "like"){
308
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 1);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
309
+ }
310
+ else if(wp_ulike_get_user_activities_status($activityID,$return_userID) == "unlike"){
311
+ if(wp_ulike_get_setting( 'wp_ulike_general', 'return_initial_after_unlike') == 1){
312
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
313
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
314
+ }
315
+ else {
316
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
317
+ }
318
+ }
319
+ else{
320
+ $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike').'</a><span class="count-box">'.$liked.'</span>';
321
+ }
322
+ }
323
+ }
324
+ else if($user_status == 0 && isset($_COOKIE['activity-liked-'.$activityID])){
325
+ $counter = '<a class="text user-tooltip" title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
326
+ }
327
  }
328
 
329
+ if($type == 'process'){
330
+ if ($user_status == 0 && !isset($_COOKIE['activity-liked-'.$activityID])) {
331
+ $newLike = $get_like + 1;
 
 
 
 
 
 
 
 
 
 
332
  bp_activity_update_meta($activityID, '_activityliked', $newLike);
 
333
  setcookie('activity-liked-'.$activityID, time(), time()+3600*24*365, '/');
334
 
335
+ if(is_user_logged_in()){
336
+ $wpdb->query("INSERT INTO ".$wpdb->prefix."ulike_activities VALUES ('', '$activityID', NOW(), '$user_IP', '$return_userID', 'like')");
337
+ }
 
 
338
 
339
  echo wp_ulike_format_number($newLike);
340
  }
341
  else if ($user_status != 0) {
342
+ if(wp_ulike_get_user_activities_status($activityID,$return_userID) == "like"){
343
+ $newLike = $get_like - 1;
344
  bp_activity_update_meta($activityID, '_activityliked', $newLike);
345
 
346
  $wpdb->query("
347
  UPDATE ".$wpdb->prefix."ulike_activities
348
  SET status = 'unlike'
349
+ WHERE activity_id = '$activityID' AND user_id = '$return_userID'
350
  ");
351
 
352
  echo wp_ulike_format_number($newLike);
353
  }
354
  else{
355
+ $newLike = $get_like + 1;
356
  bp_activity_update_meta($activityID, '_activityliked', $newLike);
357
 
358
  $wpdb->query("
359
  UPDATE ".$wpdb->prefix."ulike_activities
360
  SET status = 'like'
361
+ WHERE activity_id = '$activityID' AND user_id = '$return_userID'
362
  ");
363
 
364
  echo wp_ulike_format_number($newLike);
365
  }
366
  }
367
+ else if($user_status == 0 && isset($_COOKIE['activity-liked-'.$activityID])){
368
+ echo wp_ulike_format_number($get_like);
369
+ }
370
+ }
371
+
372
+ return $counter;
373
+ }
374
+
375
+ //Process function
376
+ function wp_ulike_buddypress_process(){
377
+
378
+ global $wpdb,$user_ID;
379
+ $activityID = $_POST['id'];
380
+ $return_userID = wp_ulike_reutrn_userID($user_ID);
381
+
382
+ if($activityID != '') {
383
+
384
+ $loggin_method = wp_ulike_get_setting( 'wp_ulike_buddypress', 'logging_method');
385
+ if($loggin_method == 'do_not_log')
386
+ $counter = wp_ulike_activities_do_not_log_method($activityID,'process');
387
+ else if($loggin_method == 'by_cookie')
388
+ $counter = wp_ulike_activities_loggedby_cookie_method($activityID,'process');
389
+ else if($loggin_method == 'by_ip')
390
+ $counter = wp_ulike_activities_loggedby_ip_method($activityID,$return_userID,'process');
391
+ else if($loggin_method == 'by_cookie_ip')
392
+ $counter = wp_ulike_activities_loggedby_cookie_ip_method($activityID,$return_userID,'process');
393
+ else
394
+ $counter = wp_ulike_activities_loggedby_username_method($activityID,$return_userID,'process');
395
 
396
  }
397
  die();
inc/wp-ulike-comments.php CHANGED
@@ -1,19 +1,131 @@
1
  <?php
2
  //main comments function
3
  function wp_ulike_comments($arg) {
4
-
5
- global $wpdb,$user_ID;
 
 
 
 
 
6
  $CommentID = get_comment_ID();
7
  $counter = '';
8
- $get_like = get_comment_meta($CommentID, '_commentliked', true) != '' ? get_comment_meta($CommentID, '_commentliked', true) : '0';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  $liked = wp_ulike_format_number($get_like);
 
10
 
11
- if ( (wp_ulike_get_setting( 'wp_ulike_comments', 'only_registered_users') != '1') or (wp_ulike_get_setting( 'wp_ulike_comments', 'only_registered_users') == '1' && is_user_logged_in()) ){
12
-
13
- if(is_user_logged_in()){
14
- $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_comments WHERE comment_id = '$CommentID' AND user_id = '$user_ID'");
15
-
16
- if(!isset($_COOKIE['comment-liked-'.$CommentID]) && $user_status == 0){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
18
  $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
19
  }
@@ -21,112 +133,274 @@
21
  $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
22
  }
23
  }
24
- else if($user_status != 0){
25
- if(wp_ulike_get_user_comments_status($CommentID,$user_ID) == "like"){
26
  $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 1);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
27
  }
28
- else if(wp_ulike_get_user_comments_status($CommentID,$user_ID) == "unlike"){
29
- $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike').'</a><span class="count-box">'.$liked.'</span>';
 
 
 
 
 
 
 
 
 
 
30
  }
31
  }
32
-
33
- else if(isset($_COOKIE['comment-liked-'.$CommentID]) && $user_status == 0){
34
- $counter = '<a class="text user-tooltip" title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
 
 
 
 
 
 
 
 
 
 
35
  }
36
- }
37
- else{
38
- if(!isset($_COOKIE['comment-liked-'.$CommentID])){
39
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
41
- $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 2);" class="image"></a><span class="count-box">'.$liked.'</span>';
42
  }
43
  else {
44
- $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 2);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  }
46
-
47
  }
48
  else{
49
-
50
  $counter = '<a class="text user-tooltip" title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
  }
53
- }
54
-
55
- $wp_ulike = '<div id="wp-ulike-comment-'.$CommentID.'" class="wpulike">';
56
- $wp_ulike .= '<div class="counter">'.$counter.'</div>';
57
- $wp_ulike .= '</div>';
58
-
59
- $user_data = wp_ulike_get_user_comments_data($CommentID,$user_ID);
60
- if(wp_ulike_get_setting( 'wp_ulike_comments', 'users_liked_box') == '1' && $user_data != '')
61
- $wp_ulike .= '<p style="margin-top:5px">'.wp_ulike_get_setting( 'wp_ulike_comments', 'users_liked_box_title').'</p><ul class="tiles">' . $user_data . '</ul>';
62
-
63
- if ($arg == 'put') {
64
- return $wp_ulike;
65
- }
66
- else {
67
- echo $wp_ulike;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  }
 
 
 
 
 
 
 
 
69
 
70
- }
 
 
 
71
 
72
- else if (wp_ulike_get_setting( 'wp_ulike_comments', 'only_registered_users') == '1' && !is_user_logged_in()){
73
- 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>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  }
75
 
76
- }
77
-
78
- //Process function
79
- function wp_ulike_comments_process(){
80
-
81
- global $wpdb,$user_ID;
82
- $CommentID = $_POST['id'];
83
- $like = get_comment_meta($CommentID, '_commentliked', true);
84
- $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_comments WHERE comment_id = '$CommentID' AND user_id = '$user_ID'");
85
-
86
- if($CommentID != '') {
87
- if (!isset($_COOKIE['comment-liked-'.$CommentID]) && $user_status == 0) {
88
- $newLike = $like + 1;
89
  update_comment_meta($CommentID, '_commentliked', $newLike);
90
-
91
  setcookie('comment-liked-'.$CommentID, time(), time()+3600*24*365, '/');
92
 
93
- if(is_user_logged_in()):
94
- $ip = wp_ulike_get_real_ip();
95
- $wpdb->query("INSERT INTO ".$wpdb->prefix."ulike_comments VALUES ('', '$CommentID', NOW(), '$ip', '$user_ID', 'like')");
96
- wp_ulike_bp_activity_add($user_ID,$CommentID,'comment');
97
- endif;
98
 
99
  echo wp_ulike_format_number($newLike);
100
  }
101
  else if ($user_status != 0) {
102
- if(wp_ulike_get_user_comments_status($CommentID,$user_ID) == "like"){
103
- $newLike = $like - 1;
104
  update_comment_meta($CommentID, '_commentliked', $newLike);
105
 
106
  $wpdb->query("
107
  UPDATE ".$wpdb->prefix."ulike_comments
108
  SET status = 'unlike'
109
- WHERE comment_id = '$CommentID' AND user_id = '$user_ID'
110
  ");
111
 
112
  echo wp_ulike_format_number($newLike);
113
  }
114
  else{
115
- $newLike = $like + 1;
116
  update_comment_meta($CommentID, '_commentliked', $newLike);
117
 
118
  $wpdb->query("
119
  UPDATE ".$wpdb->prefix."ulike_comments
120
  SET status = 'like'
121
- WHERE comment_id = '$CommentID' AND user_id = '$user_ID'
122
  ");
123
 
124
  echo wp_ulike_format_number($newLike);
125
  }
126
  }
127
- else if (isset($_COOKIE['comment-liked-'.$CommentID])&& $user_status == 0){
128
- echo wp_ulike_format_number($like);
129
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
 
131
  }
132
  die();
1
  <?php
2
  //main comments function
3
  function wp_ulike_comments($arg) {
4
+ if(
5
+ (wp_ulike_get_setting( 'wp_ulike_comments', 'only_registered_users') != '1')
6
+ or
7
+ (wp_ulike_get_setting( 'wp_ulike_comments', 'only_registered_users') == '1' && is_user_logged_in())
8
+ ){
9
+
10
+ global $user_ID;
11
  $CommentID = get_comment_ID();
12
  $counter = '';
13
+ $return_userID = wp_ulike_reutrn_userID($user_ID);
14
+ $loggin_method = wp_ulike_get_setting( 'wp_ulike_comments', 'logging_method');
15
+
16
+ if($loggin_method == 'do_not_log')
17
+ $counter = wp_ulike_comments_do_not_log_method($CommentID,'comment');
18
+ else if($loggin_method == 'by_cookie')
19
+ $counter = wp_ulike_comments_loggedby_cookie_method($CommentID,'comment');
20
+ else if($loggin_method == 'by_ip')
21
+ $counter = wp_ulike_comments_loggedby_ip_method($CommentID,$return_userID,'comment');
22
+ else if($loggin_method == 'by_cookie_ip')
23
+ $counter = wp_ulike_comments_loggedby_cookie_ip_method($CommentID,$return_userID,'comment');
24
+ else
25
+ $counter = wp_ulike_comments_loggedby_username_method($CommentID,$return_userID,'comment');
26
+
27
+ $wp_ulike = '<div id="wp-ulike-comment-'.$CommentID.'" class="wpulike">';
28
+ $wp_ulike .= '<div class="counter">'.$counter.'</div>';
29
+ $wp_ulike .= '</div>';
30
+
31
+ $user_data = wp_ulike_get_user_comments_data($CommentID,$return_userID);
32
+ if(wp_ulike_get_setting( 'wp_ulike_comments', 'users_liked_box') == '1' && $user_data != '')
33
+ $wp_ulike .= '<p style="margin-top:5px">'.wp_ulike_get_setting( 'wp_ulike_comments', 'users_liked_box_title').'</p><ul class="tiles">' . $user_data . '</ul>';
34
+
35
+ if ($arg == 'put') {
36
+ return $wp_ulike;
37
+ }
38
+ else {
39
+ echo $wp_ulike;
40
+ }
41
+
42
+ }
43
+
44
+ else if (wp_ulike_get_setting( 'wp_ulike_comments', 'only_registered_users') == '1' && !is_user_logged_in()){
45
+ 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>';
46
+ }
47
+
48
+ }
49
+
50
+ //Do Not Log Method
51
+ function wp_ulike_comments_do_not_log_method($CommentID,$type){
52
+
53
+ $get_like = get_comment_meta($CommentID, '_commentliked', true) != '' ? get_comment_meta($CommentID, '_commentliked', true) : 0;
54
+ $liked = wp_ulike_format_number($get_like);
55
+ $counter = '';
56
+
57
+ if($type == 'comment'){
58
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
59
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 2, 2);" class="image"></a><span class="count-box">'.$liked.'</span>';
60
+ }
61
+ else {
62
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 2, 2);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
63
+ }
64
+ }//end comment button
65
+ else if($type == 'process'){
66
+ $newLike = $get_like + 1;
67
+ update_comment_meta($CommentID, '_commentliked', $newLike);
68
+ echo wp_ulike_format_number($newLike);
69
+ }//end comment process
70
+
71
+ return $counter;
72
+ }
73
+
74
+
75
+ //Logged By Cookie
76
+ function wp_ulike_comments_loggedby_cookie_method($CommentID,$type){
77
+
78
+ $get_like = get_comment_meta($CommentID, '_commentliked', true) != '' ? get_comment_meta($CommentID, '_commentliked', true) : 0;
79
  $liked = wp_ulike_format_number($get_like);
80
+ $counter = '';
81
 
82
+ if($type == 'comment'){
83
+ if(!isset($_COOKIE['comment-liked-'.$CommentID])){
84
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
85
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 2, 2);" class="image"></a><span class="count-box">'.$liked.'</span>';
86
+ }
87
+ else {
88
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 2, 2);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
89
+ }
90
+ }
91
+ else{
92
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
93
+ $counter = '<a title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'" class="image user-tooltip"></a><span class="count-box">'.$liked.'</span>';
94
+ }
95
+ else {
96
+ $counter = '<a title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'" class="text user-tooltip">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
97
+ }
98
+ }
99
+ }//end comment button
100
+ else if($type == 'process'){
101
+ if(!isset($_COOKIE['comment-liked-'.$CommentID])){
102
+ $newLike = $get_like + 1;
103
+ update_comment_meta($CommentID, '_commentliked', $newLike);
104
+ setcookie('comment-liked-'.$CommentID, time(), time()+3600*24*365, '/');
105
+ echo wp_ulike_format_number($newLike);
106
+ }
107
+ else{
108
+ echo wp_ulike_format_number($get_like);
109
+ }
110
+ }//end comment process
111
+
112
+ return $counter;
113
+ }
114
+
115
+ //Logged By IP
116
+ function wp_ulike_comments_loggedby_ip_method($CommentID,$return_userID,$type){
117
+
118
+ global $wpdb;
119
+
120
+ $get_like = get_comment_meta($CommentID, '_commentliked', true) != '' ? get_comment_meta($CommentID, '_commentliked', true) : 0;
121
+ $liked = wp_ulike_format_number($get_like);
122
+ $user_IP = wp_ulike_get_real_ip();
123
+ $counter = '';
124
+
125
+ $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_comments WHERE comment_id = '$CommentID' AND ip = '$user_IP'");
126
+
127
+ if($type == 'comment'){
128
+ if($user_status == 0){
129
  if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
130
  $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
131
  }
133
  $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
134
  }
135
  }
136
+ else{
137
+ if(wp_ulike_get_user_comments_status_byIP($CommentID,$user_IP) == "like"){
138
  $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 1);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
139
  }
140
+ else if(wp_ulike_get_user_comments_status_byIP($CommentID,$user_IP) == "unlike"){
141
+ if(wp_ulike_get_setting( 'wp_ulike_general', 'return_initial_after_unlike') == 1){
142
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
143
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
144
+ }
145
+ else {
146
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
147
+ }
148
+ }
149
+ else{
150
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike').'</a><span class="count-box">'.$liked.'</span>';
151
+ }
152
  }
153
  }
154
+ }//end comment button
155
+ else if($type == 'process'){
156
+ if ($user_status == 0) {
157
+ $newLike = $get_like + 1;
158
+ update_comment_meta($CommentID, '_commentliked', $newLike);
159
+ //insert new logs
160
+ $wpdb->query("INSERT INTO ".$wpdb->prefix."ulike_comments VALUES ('', '$CommentID', NOW(), '$user_IP', '$return_userID', 'like')");
161
+
162
+ if(is_user_logged_in()){
163
+ wp_ulike_bp_activity_add($return_userID,$CommentID,'comment');
164
+ }
165
+
166
+ echo wp_ulike_format_number($newLike);
167
  }
168
+ else {
169
+ if(wp_ulike_get_user_comments_status_byIP($CommentID,$user_IP) == "like"){
170
+ $newLike = $get_like - 1;
171
+ update_comment_meta($CommentID, '_commentliked', $newLike);
172
+
173
+ $wpdb->query("
174
+ UPDATE ".$wpdb->prefix."ulike_comments
175
+ SET status = 'unlike'
176
+ WHERE comment_id = '$CommentID' AND ip = '$user_IP'
177
+ ");
178
+
179
+ echo wp_ulike_format_number($newLike);
180
+ }
181
+ else{
182
+ $newLike = $get_like + 1;
183
+ update_comment_meta($CommentID, '_commentliked', $newLike);
184
+
185
+ $wpdb->query("
186
+ UPDATE ".$wpdb->prefix."ulike_comments
187
+ SET status = 'like'
188
+ WHERE comment_id = '$CommentID' AND ip = '$user_IP'
189
+ ");
190
+
191
+ echo wp_ulike_format_number($newLike);
192
+ }
193
+ }
194
+ }//end comment process
195
+
196
+ return $counter;
197
+ }
198
+
199
+ //Logged by cookie and IP
200
+ function wp_ulike_comments_loggedby_cookie_ip_method($CommentID,$return_userID,$type){
201
+
202
+ global $wpdb;
203
+
204
+ $get_like = get_comment_meta($CommentID, '_commentliked', true) != '' ? get_comment_meta($CommentID, '_commentliked', true) : 0;
205
+ $liked = wp_ulike_format_number($get_like);
206
+ $user_IP = wp_ulike_get_real_ip();
207
+ $counter = '';
208
+
209
+ $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_comments WHERE comment_id = '$CommentID' AND ip = '$user_IP'");
210
+
211
+ if($type == 'comment'){
212
+ if($user_status == 0 && !isset($_COOKIE['comment-liked-'.$CommentID])){
213
  if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
214
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
215
  }
216
  else {
217
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
218
+ }
219
+ }
220
+ else if($user_status != 0){
221
+ if(wp_ulike_get_user_comments_status_byIP($CommentID,$user_IP) == "like"){
222
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 1);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
223
+ }
224
+ else if(wp_ulike_get_user_comments_status_byIP($CommentID,$user_IP) == "unlike"){
225
+ if(wp_ulike_get_setting( 'wp_ulike_general', 'return_initial_after_unlike') == 1){
226
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
227
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
228
+ }
229
+ else {
230
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
231
+ }
232
+ }
233
+ else{
234
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike').'</a><span class="count-box">'.$liked.'</span>';
235
+ }
236
  }
 
237
  }
238
  else{
 
239
  $counter = '<a class="text user-tooltip" title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
240
+ }
241
+ }
242
+ else if($type == 'process'){
243
+ if ($user_status == 0 && !isset($_COOKIE['comment-liked-'.$CommentID])) {
244
+ $newLike = $get_like + 1;
245
+ update_comment_meta($CommentID, '_commentliked', $newLike);
246
+ setcookie('comment-liked-'.$CommentID, time(), time()+3600*24*365, '/');
247
+
248
+ //insert new logs
249
+ $wpdb->query("INSERT INTO ".$wpdb->prefix."ulike_comments VALUES ('', '$CommentID', NOW(), '$user_IP', '$return_userID', 'like')");
250
+
251
+ if(is_user_logged_in()){
252
+ wp_ulike_bp_activity_add($return_userID,$CommentID,'comment');
253
+ }
254
+
255
+ echo wp_ulike_format_number($newLike);
256
 
257
  }
258
+ else if ($user_status != 0) {
259
+ if(wp_ulike_get_user_comments_status_byIP($CommentID,$user_IP) == "like"){
260
+ $newLike = $get_like - 1;
261
+ update_comment_meta($CommentID, '_commentliked', $newLike);
262
+
263
+ $wpdb->query("
264
+ UPDATE ".$wpdb->prefix."ulike_comments
265
+ SET status = 'unlike'
266
+ WHERE comment_id = '$CommentID' AND ip = '$user_IP'
267
+ ");
268
+
269
+ echo wp_ulike_format_number($newLike);
270
+ }
271
+ else{
272
+ $newLike = $get_like + 1;
273
+ update_comment_meta($CommentID, '_commentliked', $newLike);
274
+
275
+ $wpdb->query("
276
+ UPDATE ".$wpdb->prefix."ulike_comments
277
+ SET status = 'like'
278
+ WHERE comment_id = '$CommentID' AND ip = '$user_IP'
279
+ ");
280
+
281
+ echo wp_ulike_format_number($newLike);
282
+ }
283
+ }
284
+ else{
285
+ echo wp_ulike_format_number($get_like);
286
+ }
287
  }
288
+
289
+ return $counter;
290
+ }
291
+
292
+ //Logged by username
293
+ function wp_ulike_comments_loggedby_username_method($CommentID,$return_userID,$type){
294
+
295
+ global $wpdb;
296
 
297
+ $get_like = get_comment_meta($CommentID, '_commentliked', true) != '' ? get_comment_meta($CommentID, '_commentliked', true) : 0;
298
+ $liked = wp_ulike_format_number($get_like);
299
+ $user_IP = wp_ulike_get_real_ip();
300
+ $counter = '';
301
 
302
+ $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_comments WHERE comment_id = '$CommentID' AND user_id = '$return_userID'");
303
+
304
+ if($type == 'comment'){
305
+ if($user_status == 0 && !isset($_COOKIE['comment-liked-'.$CommentID])){
306
+ if(is_user_logged_in()): $num = 0; else: $num = 2; endif;
307
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
308
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, '.$num.');" class="image"></a><span class="count-box">'.$liked.'</span>';
309
+ }
310
+ else {
311
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, '.$num.');" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
312
+ }
313
+ }
314
+ else if($user_status != 0){
315
+ if(wp_ulike_get_user_comments_status($CommentID,$return_userID) == "like"){
316
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 1);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
317
+ }
318
+ else if(wp_ulike_get_user_comments_status($CommentID,$return_userID) == "unlike"){
319
+ if(wp_ulike_get_setting( 'wp_ulike_general', 'return_initial_after_unlike') == 1){
320
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
321
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
322
+ }
323
+ else {
324
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
325
+ }
326
+ }
327
+ else{
328
+ $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike').'</a><span class="count-box">'.$liked.'</span>';
329
+ }
330
+ }
331
+ }
332
+ else if($user_status == 0 && isset($_COOKIE['comment-liked-'.$CommentID])){
333
+ $counter = '<a class="text user-tooltip" title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
334
+ }
335
  }
336
 
337
+ if($type == 'process'){
338
+ if ($user_status == 0 && !isset($_COOKIE['comment-liked-'.$CommentID])) {
339
+ $newLike = $get_like + 1;
 
 
 
 
 
 
 
 
 
 
340
  update_comment_meta($CommentID, '_commentliked', $newLike);
 
341
  setcookie('comment-liked-'.$CommentID, time(), time()+3600*24*365, '/');
342
 
343
+ if(is_user_logged_in()){
344
+ $wpdb->query("INSERT INTO ".$wpdb->prefix."ulike_comments VALUES ('', '$CommentID', NOW(), '$user_IP', '$return_userID', 'like')");
345
+ wp_ulike_bp_activity_add($return_userID,$CommentID,'comment');
346
+ }
 
347
 
348
  echo wp_ulike_format_number($newLike);
349
  }
350
  else if ($user_status != 0) {
351
+ if(wp_ulike_get_user_comments_status($CommentID,$return_userID) == "like"){
352
+ $newLike = $get_like - 1;
353
  update_comment_meta($CommentID, '_commentliked', $newLike);
354
 
355
  $wpdb->query("
356
  UPDATE ".$wpdb->prefix."ulike_comments
357
  SET status = 'unlike'
358
+ WHERE comment_id = '$CommentID' AND user_id = '$return_userID'
359
  ");
360
 
361
  echo wp_ulike_format_number($newLike);
362
  }
363
  else{
364
+ $newLike = $get_like + 1;
365
  update_comment_meta($CommentID, '_commentliked', $newLike);
366
 
367
  $wpdb->query("
368
  UPDATE ".$wpdb->prefix."ulike_comments
369
  SET status = 'like'
370
+ WHERE comment_id = '$CommentID' AND user_id = '$return_userID'
371
  ");
372
 
373
  echo wp_ulike_format_number($newLike);
374
  }
375
  }
376
+ else if($user_status == 0 && isset($_COOKIE['comment-liked-'.$CommentID])){
377
+ echo wp_ulike_format_number($get_like);
378
+ }
379
+ }
380
+
381
+ return $counter;
382
+ }
383
+
384
+ //Process function
385
+ function wp_ulike_comments_process(){
386
+
387
+ global $wpdb,$user_ID;
388
+ $CommentID = $_POST['id'];
389
+ $return_userID = wp_ulike_reutrn_userID($user_ID);
390
+
391
+ if($CommentID != '') {
392
+
393
+ $loggin_method = wp_ulike_get_setting( 'wp_ulike_comments', 'logging_method');
394
+ if($loggin_method == 'do_not_log')
395
+ $counter = wp_ulike_comments_do_not_log_method($CommentID,'process');
396
+ else if($loggin_method == 'by_cookie')
397
+ $counter = wp_ulike_comments_loggedby_cookie_method($CommentID,'process');
398
+ else if($loggin_method == 'by_ip')
399
+ $counter = wp_ulike_comments_loggedby_ip_method($CommentID,$return_userID,'process');
400
+ else if($loggin_method == 'by_cookie_ip')
401
+ $counter = wp_ulike_comments_loggedby_cookie_ip_method($CommentID,$return_userID,'process');
402
+ else
403
+ $counter = wp_ulike_comments_loggedby_username_method($CommentID,$return_userID,'process');
404
 
405
  }
406
  die();
inc/wp-ulike-posts.php CHANGED
@@ -1,20 +1,133 @@
1
  <?php
2
  //main function
3
  function wp_ulike($arg) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
- global $post,$wpdb,$user_ID;
6
- $post_ID = $post->ID;
 
 
 
 
7
  $counter = '';
8
- $get_like = get_post_meta($post_ID, '_liked', true) != '' ? get_post_meta($post_ID, '_liked', true) : '0';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  $liked = wp_ulike_format_number($get_like);
 
10
 
11
- if ( (wp_ulike_get_setting( 'wp_ulike_posts', 'only_registered_users') != '1') or (wp_ulike_get_setting( 'wp_ulike_posts', 'only_registered_users') == '1' && is_user_logged_in()) ){
12
-
13
-
14
- if(is_user_logged_in()){
15
- $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike WHERE post_id = '$post_ID' AND user_id = '$user_ID'");
16
-
17
- if(!isset($_COOKIE['liked-'.$post_ID]) && $user_status == 0){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
19
  $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
20
  }
@@ -22,113 +135,271 @@
22
  $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
23
  }
24
  }
25
- else if($user_status != 0){
26
- if(wp_ulike_get_user_post_status($post_ID,$user_ID) == "like"){
27
  $counter = '<a onclick="likeThis('.$post_ID.', 1, 1);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
28
  }
29
- else if(wp_ulike_get_user_post_status($post_ID,$user_ID) == "unlike"){
30
- $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike').'</a><span class="count-box">'.$liked.'</span>';
 
 
 
 
 
 
 
 
 
 
31
  }
32
  }
33
-
34
- else if(isset($_COOKIE['liked-'.$post_ID]) && $user_status == 0){
35
- $counter = '<a class="text user-tooltip" title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
 
 
 
 
 
36
  }
37
- }
38
- else{
39
- if(!isset($_COOKIE['liked-'.$post_ID])){
40
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
42
- $counter = '<a onclick="likeThis('.$post_ID.', 1, 2);" class="image"></a><span class="count-box">'.$liked.'</span>';
43
  }
44
  else {
45
- $counter = '<a onclick="likeThis('.$post_ID.', 1, 2);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  }
47
-
48
  }
49
  else{
50
-
51
  $counter = '<a class="text user-tooltip" title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
  }
54
- }
55
-
56
- $wp_ulike = '<div id="wp-ulike-'.$post_ID.'" class="wpulike">';
57
- $wp_ulike .= '<div class="counter">'.$counter.'</div>';
58
- $wp_ulike .= '</div>';
59
-
60
-
61
- $user_data = wp_ulike_get_user_posts_data($post_ID,$user_ID);
62
- if(wp_ulike_get_setting( 'wp_ulike_posts', 'users_liked_box') == '1' && $user_data != '')
63
- $wp_ulike .= '<br /><p style="margin-top:5px">'.wp_ulike_get_setting( 'wp_ulike_posts', 'users_liked_box_title').'</p><ul class="tiles">' . $user_data . '</ul>';
64
-
65
- if ($arg == 'put') {
66
- return $wp_ulike;
67
- }
68
- else {
69
- echo $wp_ulike;
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  }
 
 
 
 
 
 
 
 
71
 
72
- }
 
 
 
73
 
74
- else if (wp_ulike_get_setting( 'wp_ulike_posts', 'only_registered_users') == '1' && !is_user_logged_in()){
75
- 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>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  }
77
 
78
- }
79
-
80
- //Process function
81
- function wp_ulike_process(){
82
-
83
- global $wpdb,$user_ID;
84
- $post_ID = $_POST['id'];
85
- $like = get_post_meta($post_ID, '_liked', true);
86
- $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike WHERE post_id = '$post_ID' AND user_id = '$user_ID'");
87
-
88
- if($post_ID != '') {
89
- if (!isset($_COOKIE['liked-'.$post_ID]) && $user_status == 0) {
90
- $newLike = $like + 1;
91
  update_post_meta($post_ID, '_liked', $newLike);
92
-
93
  setcookie('liked-'.$post_ID, time(), time()+3600*24*365, '/');
94
 
95
- if(is_user_logged_in()):
96
- $ip = wp_ulike_get_real_ip();
97
- $wpdb->query("INSERT INTO ".$wpdb->prefix."ulike VALUES ('', '$post_ID', NOW(), '$ip', '$user_ID', 'like')");
98
- wp_ulike_bp_activity_add($user_ID,$post_ID,'post');
99
- endif;
100
 
101
  echo wp_ulike_format_number($newLike);
102
  }
103
  else if ($user_status != 0) {
104
- if(wp_ulike_get_user_post_status($post_ID,$user_ID) == "like"){
105
- $newLike = $like - 1;
106
  update_post_meta($post_ID, '_liked', $newLike);
107
 
108
  $wpdb->query("
109
  UPDATE ".$wpdb->prefix."ulike
110
  SET status = 'unlike'
111
- WHERE post_id = '$post_ID' AND user_id = '$user_ID'
112
  ");
113
 
114
  echo wp_ulike_format_number($newLike);
115
  }
116
  else{
117
- $newLike = $like + 1;
118
  update_post_meta($post_ID, '_liked', $newLike);
119
 
120
  $wpdb->query("
121
  UPDATE ".$wpdb->prefix."ulike
122
  SET status = 'like'
123
- WHERE post_id = '$post_ID' AND user_id = '$user_ID'
124
  ");
125
 
126
  echo wp_ulike_format_number($newLike);
127
  }
128
  }
129
- else if (isset($_COOKIE['liked-'.$post_ID]) && $user_status == 0){
130
- echo wp_ulike_format_number($like);
131
  }
132
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  die();
134
  }
1
  <?php
2
  //main function
3
  function wp_ulike($arg) {
4
+ if(
5
+ (wp_ulike_get_setting( 'wp_ulike_posts', 'only_registered_users') != '1')
6
+ or
7
+ (wp_ulike_get_setting( 'wp_ulike_posts', 'only_registered_users') == '1' && is_user_logged_in())
8
+ ){
9
+
10
+ global $post,$user_ID;
11
+ $post_ID = $post->ID;
12
+ $return_userID = wp_ulike_reutrn_userID($user_ID);
13
+ $loggin_method = wp_ulike_get_setting( 'wp_ulike_posts', 'logging_method');
14
+
15
+ if($loggin_method == 'do_not_log')
16
+ $counter = wp_ulike_posts_do_not_log_method($post_ID,'post');
17
+ else if($loggin_method == 'by_cookie')
18
+ $counter = wp_ulike_posts_loggedby_cookie_method($post_ID,'post');
19
+ else if($loggin_method == 'by_ip')
20
+ $counter = wp_ulike_posts_loggedby_ip_method($post_ID,$return_userID,'post');
21
+ else if($loggin_method == 'by_cookie_ip')
22
+ $counter = wp_ulike_posts_loggedby_cookie_ip_method($post_ID,$return_userID,'post');
23
+ else
24
+ $counter = wp_ulike_posts_loggedby_username_method($post_ID,$return_userID,'post');
25
+
26
+
27
+ $wp_ulike = '<div id="wp-ulike-'.$post_ID.'" class="wpulike">';
28
+ $wp_ulike .= '<div class="counter">'.$counter.'</div>';
29
+ $wp_ulike .= '</div>';
30
+
31
+
32
+ $user_data = wp_ulike_get_user_posts_data($post_ID,$return_userID);
33
+ if(wp_ulike_get_setting( 'wp_ulike_posts', 'users_liked_box') == '1' && $user_data != '')
34
+ $wp_ulike .= '<br /><p style="margin-top:5px">'.wp_ulike_get_setting( 'wp_ulike_posts', 'users_liked_box_title').'</p><ul class="tiles">' . $user_data . '</ul>';
35
+
36
+ if ($arg == 'put') {
37
+ return $wp_ulike;
38
+ }
39
+ else {
40
+ echo $wp_ulike;
41
+ }
42
+
43
+ }
44
+
45
+ else if (wp_ulike_get_setting( 'wp_ulike_posts', 'only_registered_users') == '1' && !is_user_logged_in()){
46
+ 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>';
47
+ }
48
+
49
+ }
50
 
51
+
52
+ //Do Not Log Method
53
+ function wp_ulike_posts_do_not_log_method($post_ID,$type){
54
+
55
+ $get_like = get_post_meta($post_ID, '_liked', true) != '' ? get_post_meta($post_ID, '_liked', true) : 0;
56
+ $liked = wp_ulike_format_number($get_like);
57
  $counter = '';
58
+
59
+ if($type == 'post'){
60
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
61
+ $counter = '<a onclick="likeThis('.$post_ID.', 2, 2);" class="image"></a><span class="count-box">'.$liked.'</span>';
62
+ }
63
+ else {
64
+ $counter = '<a onclick="likeThis('.$post_ID.', 2, 2);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
65
+ }
66
+ }//end post button
67
+ else if($type == 'process'){
68
+ $newLike = $get_like + 1;
69
+ update_post_meta($post_ID, '_liked', $newLike);
70
+ echo wp_ulike_format_number($newLike);
71
+ }//end post process
72
+
73
+ return $counter;
74
+ }
75
+
76
+
77
+ //Logged By Cookie
78
+ function wp_ulike_posts_loggedby_cookie_method($post_ID,$type){
79
+
80
+ $get_like = get_post_meta($post_ID, '_liked', true) != '' ? get_post_meta($post_ID, '_liked', true) : 0;
81
  $liked = wp_ulike_format_number($get_like);
82
+ $counter = '';
83
 
84
+ if($type == 'post'){
85
+ if(!isset($_COOKIE['liked-'.$post_ID])){
86
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
87
+ $counter = '<a onclick="likeThis('.$post_ID.', 2, 2);" class="image"></a><span class="count-box">'.$liked.'</span>';
88
+ }
89
+ else {
90
+ $counter = '<a onclick="likeThis('.$post_ID.', 2, 2);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
91
+ }
92
+ }
93
+ else{
94
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
95
+ $counter = '<a title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'" class="image user-tooltip"></a><span class="count-box">'.$liked.'</span>';
96
+ }
97
+ else {
98
+ $counter = '<a title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'" class="text user-tooltip">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
99
+ }
100
+ }
101
+ }//end post button
102
+ else if($type == 'process'){
103
+ if(!isset($_COOKIE['liked-'.$post_ID])){
104
+ $newLike = $get_like + 1;
105
+ update_post_meta($post_ID, '_liked', $newLike);
106
+ setcookie('liked-'.$post_ID, time(), time()+3600*24*365, '/');
107
+ echo wp_ulike_format_number($newLike);
108
+ }
109
+ else{
110
+ echo wp_ulike_format_number($get_like);
111
+ }
112
+ }//end post process
113
+
114
+ return $counter;
115
+ }
116
+
117
+ //Logged By IP
118
+ function wp_ulike_posts_loggedby_ip_method($post_ID,$return_userID,$type){
119
+
120
+ global $wpdb;
121
+
122
+ $get_like = get_post_meta($post_ID, '_liked', true) != '' ? get_post_meta($post_ID, '_liked', true) : 0;
123
+ $liked = wp_ulike_format_number($get_like);
124
+ $user_IP = wp_ulike_get_real_ip();
125
+ $counter = '';
126
+
127
+ $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike WHERE post_id = '$post_ID' AND ip = '$user_IP'");
128
+
129
+ if($type == 'post'){
130
+ if($user_status == 0){
131
  if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
132
  $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
133
  }
135
  $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
136
  }
137
  }
138
+ else{
139
+ if(wp_ulike_get_user_post_status_byIP($post_ID,$user_IP) == "like"){
140
  $counter = '<a onclick="likeThis('.$post_ID.', 1, 1);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
141
  }
142
+ else if(wp_ulike_get_user_post_status_byIP($post_ID,$user_IP) == "unlike"){
143
+ if(wp_ulike_get_setting( 'wp_ulike_general', 'return_initial_after_unlike') == 1){
144
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
145
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
146
+ }
147
+ else {
148
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
149
+ }
150
+ }
151
+ else{
152
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike').'</a><span class="count-box">'.$liked.'</span>';
153
+ }
154
  }
155
  }
156
+ }//end post button
157
+ else if($type == 'process'){
158
+ if ($user_status == 0) {
159
+ $newLike = $get_like + 1;
160
+ update_post_meta($post_ID, '_liked', $newLike);
161
+ //insert new logs
162
+ $wpdb->query("INSERT INTO ".$wpdb->prefix."ulike VALUES ('', '$post_ID', NOW(), '$user_IP', '$return_userID', 'like')");
163
+ echo wp_ulike_format_number($newLike);
164
  }
165
+ else {
166
+ if(wp_ulike_get_user_post_status_byIP($post_ID,$user_IP) == "like"){
167
+ $newLike = $get_like - 1;
168
+ update_post_meta($post_ID, '_liked', $newLike);
169
+
170
+ $wpdb->query("
171
+ UPDATE ".$wpdb->prefix."ulike
172
+ SET status = 'unlike'
173
+ WHERE post_id = '$post_ID' AND ip = '$user_IP'
174
+ ");
175
+
176
+ echo wp_ulike_format_number($newLike);
177
+ }
178
+ else{
179
+ $newLike = $get_like + 1;
180
+ update_post_meta($post_ID, '_liked', $newLike);
181
+
182
+ $wpdb->query("
183
+ UPDATE ".$wpdb->prefix."ulike
184
+ SET status = 'like'
185
+ WHERE post_id = '$post_ID' AND ip = '$user_IP'
186
+ ");
187
+
188
+ echo wp_ulike_format_number($newLike);
189
+ }
190
+ }
191
+ }//end post process
192
+
193
+ return $counter;
194
+ }
195
+
196
+ //Logged by cookie and IP
197
+ function wp_ulike_posts_loggedby_cookie_ip_method($post_ID,$return_userID,$type){
198
+
199
+ global $wpdb;
200
+
201
+ $get_like = get_post_meta($post_ID, '_liked', true) != '' ? get_post_meta($post_ID, '_liked', true) : 0;
202
+ $liked = wp_ulike_format_number($get_like);
203
+ $user_IP = wp_ulike_get_real_ip();
204
+ $counter = '';
205
+
206
+ $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike WHERE post_id = '$post_ID' AND ip = '$user_IP'");
207
+
208
+ if($type == 'post'){
209
+ if($user_status == 0 && !isset($_COOKIE['liked-'.$post_ID])){
210
  if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
211
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
212
  }
213
  else {
214
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
215
+ }
216
+ }
217
+ else if($user_status != 0){
218
+ if(wp_ulike_get_user_post_status_byIP($post_ID,$user_IP) == "like"){
219
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 1);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
220
+ }
221
+ else if(wp_ulike_get_user_post_status_byIP($post_ID,$user_IP) == "unlike"){
222
+ if(wp_ulike_get_setting( 'wp_ulike_general', 'return_initial_after_unlike') == 1){
223
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
224
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
225
+ }
226
+ else {
227
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
228
+ }
229
+ }
230
+ else{
231
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike').'</a><span class="count-box">'.$liked.'</span>';
232
+ }
233
  }
 
234
  }
235
  else{
 
236
  $counter = '<a class="text user-tooltip" title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
237
+ }
238
+ }
239
+ else if($type == 'process'){
240
+ if ($user_status == 0 && !isset($_COOKIE['liked-'.$post_ID])) {
241
+
242
+ $newLike = $get_like + 1;
243
+ update_post_meta($post_ID, '_liked', $newLike);
244
+ setcookie('liked-'.$post_ID, time(), time()+3600*24*365, '/');
245
+
246
+ //insert new logs
247
+ $wpdb->query("INSERT INTO ".$wpdb->prefix."ulike VALUES ('', '$post_ID', NOW(), '$user_IP', '$return_userID', 'like')");
248
+
249
+ if(is_user_logged_in()){
250
+ wp_ulike_bp_activity_add($return_userID,$post_ID,'post');
251
+ }
252
+
253
+ echo wp_ulike_format_number($newLike);
254
 
255
  }
256
+ else if ($user_status != 0) {
257
+ if(wp_ulike_get_user_post_status_byIP($post_ID,$user_IP) == "like"){
258
+ $newLike = $get_like - 1;
259
+ update_post_meta($post_ID, '_liked', $newLike);
260
+
261
+ $wpdb->query("
262
+ UPDATE ".$wpdb->prefix."ulike
263
+ SET status = 'unlike'
264
+ WHERE post_id = '$post_ID' AND ip = '$user_IP'
265
+ ");
266
+
267
+ echo wp_ulike_format_number($newLike);
268
+ }
269
+ else{
270
+ $newLike = $get_like + 1;
271
+ update_post_meta($post_ID, '_liked', $newLike);
272
+
273
+ $wpdb->query("
274
+ UPDATE ".$wpdb->prefix."ulike
275
+ SET status = 'like'
276
+ WHERE post_id = '$post_ID' AND ip = '$user_IP'
277
+ ");
278
+
279
+ echo wp_ulike_format_number($newLike);
280
+ }
281
+ }
282
+ else{
283
+ echo wp_ulike_format_number($get_like);
284
+ }
285
  }
286
+
287
+ return $counter;
288
+ }
289
+
290
+ //Logged by username
291
+ function wp_ulike_posts_loggedby_username_method($post_ID,$return_userID,$type){
292
+
293
+ global $wpdb;
294
 
295
+ $get_like = get_post_meta($post_ID, '_liked', true) != '' ? get_post_meta($post_ID, '_liked', true) : 0;
296
+ $liked = wp_ulike_format_number($get_like);
297
+ $user_IP = wp_ulike_get_real_ip();
298
+ $counter = '';
299
 
300
+ $user_status = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike WHERE post_id = '$post_ID' AND user_id = '$return_userID'");
301
+
302
+ if($type == 'post'){
303
+ if($user_status == 0 && !isset($_COOKIE['liked-'.$post_ID])){
304
+ if(is_user_logged_in()): $num = 0; else: $num = 2; endif;
305
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
306
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, '.$num.');" class="image"></a><span class="count-box">'.$liked.'</span>';
307
+ }
308
+ else {
309
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, '.$num.');" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
310
+ }
311
+ }
312
+ else if($user_status != 0){
313
+ if(wp_ulike_get_user_post_status($post_ID,$return_userID) == "like"){
314
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 1);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
315
+ }
316
+ else if(wp_ulike_get_user_post_status($post_ID,$return_userID) == "unlike"){
317
+ if(wp_ulike_get_setting( 'wp_ulike_general', 'return_initial_after_unlike') == 1){
318
+ if (wp_ulike_get_setting( 'wp_ulike_general', 'button_type') == 'image') {
319
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
320
+ }
321
+ else {
322
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'button_text').'</a><span class="count-box">'.$liked.'</span>';
323
+ }
324
+ }
325
+ else{
326
+ $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="text">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_unlike').'</a><span class="count-box">'.$liked.'</span>';
327
+ }
328
+ }
329
+ }
330
+ else if($user_status == 0 && isset($_COOKIE['liked-'.$post_ID])){
331
+ $counter = '<a class="text user-tooltip" title="'.wp_ulike_get_setting( 'wp_ulike_general', 'permission_text').'">'.wp_ulike_get_setting( 'wp_ulike_general', 'text_after_like').'</a><span class="count-box">'.$liked.'</span>';
332
+ }
333
  }
334
 
335
+ if($type == 'process'){
336
+ if ($user_status == 0 && !isset($_COOKIE['liked-'.$post_ID])) {
337
+ $newLike = $get_like + 1;
 
 
 
 
 
 
 
 
 
 
338
  update_post_meta($post_ID, '_liked', $newLike);
 
339
  setcookie('liked-'.$post_ID, time(), time()+3600*24*365, '/');
340
 
341
+ if(is_user_logged_in()){
342
+ $wpdb->query("INSERT INTO ".$wpdb->prefix."ulike VALUES ('', '$post_ID', NOW(), '$user_IP', '$return_userID', 'like')");
343
+ wp_ulike_bp_activity_add($return_userID,$post_ID,'post');
344
+ }
 
345
 
346
  echo wp_ulike_format_number($newLike);
347
  }
348
  else if ($user_status != 0) {
349
+ if(wp_ulike_get_user_post_status($post_ID,$return_userID) == "like"){
350
+ $newLike = $get_like - 1;
351
  update_post_meta($post_ID, '_liked', $newLike);
352
 
353
  $wpdb->query("
354
  UPDATE ".$wpdb->prefix."ulike
355
  SET status = 'unlike'
356
+ WHERE post_id = '$post_ID' AND user_id = '$return_userID'
357
  ");
358
 
359
  echo wp_ulike_format_number($newLike);
360
  }
361
  else{
362
+ $newLike = $get_like + 1;
363
  update_post_meta($post_ID, '_liked', $newLike);
364
 
365
  $wpdb->query("
366
  UPDATE ".$wpdb->prefix."ulike
367
  SET status = 'like'
368
+ WHERE post_id = '$post_ID' AND user_id = '$return_userID'
369
  ");
370
 
371
  echo wp_ulike_format_number($newLike);
372
  }
373
  }
374
+ else if($user_status == 0 && isset($_COOKIE['liked-'.$post_ID])){
375
+ echo wp_ulike_format_number($get_like);
376
  }
377
  }
378
+
379
+ return $counter;
380
+ }
381
+
382
+ //Process function
383
+ function wp_ulike_process(){
384
+
385
+ global $wpdb,$user_ID;
386
+ $post_ID = $_POST['id'];
387
+ $return_userID = wp_ulike_reutrn_userID($user_ID);
388
+
389
+ if($post_ID != '') {
390
+
391
+ $loggin_method = wp_ulike_get_setting( 'wp_ulike_posts', 'logging_method');
392
+ if($loggin_method == 'do_not_log')
393
+ $counter = wp_ulike_posts_do_not_log_method($post_ID,'process');
394
+ else if($loggin_method == 'by_cookie')
395
+ $counter = wp_ulike_posts_loggedby_cookie_method($post_ID,'process');
396
+ else if($loggin_method == 'by_ip')
397
+ $counter = wp_ulike_posts_loggedby_ip_method($post_ID,$return_userID,'process');
398
+ else if($loggin_method == 'by_cookie_ip')
399
+ $counter = wp_ulike_posts_loggedby_cookie_ip_method($post_ID,$return_userID,'process');
400
+ else
401
+ $counter = wp_ulike_posts_loggedby_username_method($post_ID,$return_userID,'process');
402
+
403
+ }
404
  die();
405
  }
lang/alimir-fa_IR.mo CHANGED
Binary file
lang/alimir-fa_IR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
- "POT-Creation-Date: 2014-11-25 23:54+0330\n"
5
- "PO-Revision-Date: 2014-11-25 23:56+0330\n"
6
  "Last-Translator: Alimir <info@alimir.ir>\n"
7
  "Language-Team: alimir.ir <info@alimir.ir>\n"
8
  "Language: fa_IR\n"
@@ -16,11 +16,11 @@ msgstr ""
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPath-1: ..\n"
18
 
19
- #: ../admin/about.php:45
20
  msgid "Welcome to WP ULike"
21
  msgstr "به وردپرس یولایک خوش آمدید"
22
 
23
- #: ../admin/about.php:47
24
  msgid ""
25
  "Thank you for choosing WP ULike! This version is our leanest and most "
26
  "powerful version yet."
@@ -28,77 +28,90 @@ msgstr ""
28
  "از اینکه از افزونه وردپرس یولایک استفاده می کنید، خیلی ممنونیم! نسخه ی جدید، "
29
  "قویترین و کامل ترین نسخه منتشر شده از این افزونه است."
30
 
31
- #: ../admin/about.php:48
32
  msgid "Visit our homepage"
33
  msgstr "مشاهده صفحه افزونه"
34
 
35
- #: ../admin/about.php:53
36
  msgid "Getting Started"
37
  msgstr "شروع "
38
 
39
- #: ../admin/about.php:54
40
  msgid "Credits"
41
  msgstr "دست‌اندرکاران"
42
 
43
- #: ../admin/about.php:55
44
  msgid "Support"
45
  msgstr "پشتیبانی"
46
 
47
- #: ../admin/about.php:56
48
  msgid "FAQ"
49
  msgstr "سؤالات متداول"
50
 
51
- #: ../admin/about.php:57
52
  msgid "Reviews"
53
  msgstr "امتیازدهی"
54
 
55
- #: ../admin/about.php:58
56
  msgid "Contact"
57
  msgstr "تماس با ما"
58
 
59
- #: ../admin/about.php:70
60
  msgid "Novelty Of WP ULike"
61
  msgstr "تازه های وردپرس یولایک"
62
 
63
- #: ../admin/about.php:74
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  msgid "New setting panel"
65
  msgstr "صفحه تنظیمات جدید و پیشرفته"
66
 
67
- #: ../admin/about.php:79
68
  msgid "Better coding on plugin files"
69
  msgstr "بهبود توابع و کدنویسی فایل های افزونه"
70
 
71
- #: ../admin/about.php:86
72
  msgid "Buddypress likes support"
73
  msgstr "پشتیبانی وردپرس یولایک از بادی پرس"
74
 
75
- #: ../admin/about.php:91
76
  msgid "Likes logs support"
77
  msgstr "پشتیبانی از نمایش آخرین وقایع در لایک ها"
78
 
79
- #: ../admin/about.php:100
80
  msgid "WP ULike is created by many love and time. Enjoy it :)"
81
  msgstr ""
82
  "وردپرس یولایک با صرف کلی علاقه و زمان ساخته شده است. امیدواریم که از آن لذت "
83
  "ببرید :)"
84
 
85
- #: ../admin/about.php:101
86
  msgid "Project Leaders"
87
  msgstr "سازندگان اصلی"
88
 
89
- #: ../admin/about.php:106
90
  msgid "Project Lead & Developer"
91
  msgstr "راهبر پروژه، توسعه دهنده ارشد"
92
 
93
- #: ../admin/about.php:110
94
  msgid "Translations"
95
  msgstr "ترجمه ها"
96
 
97
- #: ../admin/about.php:120
98
  msgid "Like this plugin?"
99
  msgstr "این پلاگین چندتا لایک داره؟!؟ :)"
100
 
101
- #: ../admin/about.php:121
102
  msgid ""
103
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
104
  "wp-ulike\"> Plugin Directory reviews</a>"
@@ -106,101 +119,114 @@ msgstr ""
106
  "حمایتتون رو از این افزونه، با امتیاز 5 ستاره در <a href=\"http://wordpress."
107
  "org/plugins/wp-ulike\">مخزن وردپرس</a> مشخص کنید..."
108
 
109
- #: ../admin/admin.php:35
110
  msgid "WP ULike Settings"
111
  msgstr "تنظیمات وردپرس یولایک"
112
 
113
- #: ../admin/admin.php:38 ../wp-ulike.php:16
114
  msgid "WP ULike"
115
  msgstr "وردپرس یولایک"
116
 
117
- #: ../admin/admin.php:43
118
  msgid "General"
119
  msgstr "عمومی"
120
 
121
- #: ../admin/admin.php:47
122
  msgid "Button Type"
123
  msgstr "حالت دکمه"
124
 
125
- #: ../admin/admin.php:50
126
  msgid "Icon"
127
  msgstr "آیکن"
128
 
129
- #: ../admin/admin.php:51
130
  msgid "Text"
131
  msgstr "متن"
132
 
133
- #: ../admin/admin.php:55 ../admin/classes/class-widget.php:106
134
  msgid "Like"
135
  msgstr "لایک"
136
 
137
- #: ../admin/admin.php:56
138
  msgid "Button Text"
139
  msgstr "متن دکمه"
140
 
141
- #: ../admin/admin.php:60
142
  msgid "Button Icon"
143
  msgstr "آیکن دکمه"
144
 
145
- #: ../admin/admin.php:61 ../admin/admin.php:265
146
  msgid "Best size: 16x16"
147
  msgstr "سایز مناسب : 16x16"
148
 
149
- #: ../admin/admin.php:66
150
  msgid "Format Number"
151
  msgstr "فرمت اعداد"
152
 
153
- #: ../admin/admin.php:67 ../admin/admin.php:100 ../admin/admin.php:122
154
- #: ../admin/admin.php:129 ../admin/admin.php:158 ../admin/admin.php:165
155
- #: ../admin/admin.php:194 ../admin/admin.php:201 ../admin/admin.php:208
156
- #: ../admin/admin.php:230 ../admin/admin.php:276 ../admin/admin.php:283
157
- #: ../admin/admin.php:290
158
  msgid "Activate"
159
  msgstr "فعال سازی"
160
 
161
- #: ../admin/admin.php:68
162
  msgid "Convert numbers of Likes with string (kilobyte) format."
163
  msgstr ""
164
  "با فعال سازی این گزینه، می توانید اعداد بالای 1000 را با فرمت رشته ای "
165
  "(کیلوبایت) نمایش دهید."
166
 
167
- #: ../admin/admin.php:71
168
  msgid "Unlike"
169
  msgstr " لغو پسندیدن"
170
 
171
- #: ../admin/admin.php:72
172
  msgid "Text After Like"
173
  msgstr "متن پس از لایک"
174
 
175
- #: ../admin/admin.php:75
 
 
 
 
 
 
 
 
 
 
 
 
 
176
  msgid "Like Me Again!"
177
  msgstr "پسندیدن مجدد!"
178
 
179
- #: ../admin/admin.php:76
180
  msgid "Text After Unlike"
181
  msgstr "متن پس از لغو لایک"
182
 
183
- #: ../admin/admin.php:79
184
  msgid "You have not permission to unlike"
185
  msgstr "شما اجازه لغو پسندیدن را ندارید"
186
 
187
- #: ../admin/admin.php:80
188
  msgid "Permission Text"
189
  msgstr "متن تولتیپ دسترسی"
190
 
191
- #: ../admin/admin.php:87
192
  msgid "Settings saved."
193
  msgstr "تنظیمات ذخیره شد"
194
 
195
- #: ../admin/admin.php:94
196
  msgid "Posts"
197
  msgstr "نوشته ها"
198
 
199
- #: ../admin/admin.php:99 ../admin/admin.php:150 ../admin/admin.php:186
200
  msgid "Automatic display"
201
  msgstr "نمایش خودکار"
202
 
203
- #: ../admin/admin.php:101
204
  msgid ""
205
  "If you disable this option, you have to put manually this code on wordpress "
206
  "while loop"
@@ -208,93 +234,177 @@ msgstr ""
208
  "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را در حلقه مطالب "
209
  "وردپرس قرار دهید "
210
 
211
- #: ../admin/admin.php:105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
  msgid "Auto Display Filter"
213
  msgstr "فیلتر گذاری در نمایش خودکار"
214
 
215
- #: ../admin/admin.php:107
216
  msgid "Home"
217
  msgstr "خانه"
218
 
219
- #: ../admin/admin.php:108
220
  msgid "Single Posts"
221
  msgstr "تک نوشته ها"
222
 
223
- #: ../admin/admin.php:109
224
  msgid "Pages"
225
  msgstr "برگه ها"
226
 
227
- #: ../admin/admin.php:110
228
  msgid "Archives"
229
  msgstr "بایگانی"
230
 
231
- #: ../admin/admin.php:111
232
  msgid "Categories"
233
  msgstr "دسته بندی ها"
234
 
235
- #: ../admin/admin.php:112
236
  msgid "Search Results"
237
  msgstr "نتایج جستجوها"
238
 
239
- #: ../admin/admin.php:113
240
  msgid "Tags"
241
  msgstr "برچسب ها"
242
 
243
- #: ../admin/admin.php:114
244
  msgid "Author Page"
245
  msgstr "صفحه نویسنده"
246
 
247
- #: ../admin/admin.php:116
248
  msgid "You can filter theses pages on auto display option."
249
  msgstr ""
250
  "شما می توانید بر روی این صفحات فیلتر گذاری کنید تا دکمه لایک نمایش داده نشود"
251
 
252
- #: ../admin/admin.php:121 ../admin/admin.php:157 ../admin/admin.php:193
253
  msgid "Only registered Users"
254
  msgstr "محدودسازی لایک کاربران"
255
 
256
- #: ../admin/admin.php:123
257
  msgid "<strong>Only</strong> registered users have permission to like posts."
258
  msgstr ""
259
  "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
260
  "مطالب را لایک کنند."
261
 
262
- #: ../admin/admin.php:128 ../admin/admin.php:164 ../admin/admin.php:207
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
263
  msgid "Show Liked Users Box"
264
  msgstr "نمایش باکس کاربران لایک کرده"
265
 
266
- #: ../admin/admin.php:130 ../admin/admin.php:166 ../admin/admin.php:209
267
  msgid ""
268
  "Active this option to show liked users avatars in the bottom of button like."
269
  msgstr ""
270
  "با فعال سازی این گزینه، می توانید آواتار کاربران لایک کرده، را در زیر دکمه "
271
  "لایک، نمایش دهید."
272
 
273
- #: ../admin/admin.php:135 ../admin/admin.php:171 ../admin/admin.php:214
274
  msgid "Size of Gravatars"
275
  msgstr "سایز آوتار"
276
 
277
- #: ../admin/admin.php:136 ../admin/admin.php:172 ../admin/admin.php:215
278
  msgid "Size of Gravatars to return (max is 512)"
279
  msgstr "سایز تصاویر گراواتار (بیشترین اندازه 512)"
280
 
281
- #: ../admin/admin.php:139
282
  msgid "Users who have LIKED this post:"
283
  msgstr "کاربرانی که این مطلب را پسندیده اند:"
284
 
285
- #: ../admin/admin.php:140 ../admin/admin.php:176 ../admin/admin.php:219
286
  msgid "Users Like Box Title"
287
  msgstr "عنوان باکس کاربران لایک کرده"
288
 
289
- #: ../admin/admin.php:145
290
  msgid "Comments"
291
  msgstr "دیدگاه ها"
292
 
293
- #: ../admin/admin.php:151
294
- msgid "<strong>On all comments</strong> at the bottom of the comment"
295
- msgstr "<strong>نمایش در تمامی دیدگاه ها</strong> در زیر متن هر دیدگاه"
296
-
297
- #: ../admin/admin.php:152
298
  msgid ""
299
  "If you disable this option, you have to put manually this code on comments "
300
  "text"
@@ -302,27 +412,27 @@ msgstr ""
302
  "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را در متن دیدگاه "
303
  "ها قرار دهید "
304
 
305
- #: ../admin/admin.php:159
306
  msgid ""
307
  "<strong>Only</strong> registered users have permission to like comments."
308
  msgstr ""
309
  "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
310
  "دیدگاه ها را لایک کنند."
311
 
312
- #: ../admin/admin.php:175
313
  msgid "Users who have LIKED this comment:"
314
  msgstr "کاربرانی که این دیدگاه را پسندیده اند:"
315
 
316
- #: ../admin/admin.php:181
317
  msgid "BuddyPress"
318
  msgstr "بادی پرس"
319
 
320
- #: ../admin/admin.php:187
321
  msgid "<strong>On all buddypress activities</strong> at the top of activity"
322
  msgstr ""
323
  "<strong>نمایش در تمامی فعالیت های بادی پرس</strong> در بخش بالایی هر فعالیت"
324
 
325
- #: ../admin/admin.php:188
326
  msgid ""
327
  "If you disable this option, you have to put manually this code on buddypres "
328
  "activities content"
@@ -330,113 +440,113 @@ msgstr ""
330
  "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را در متن فعالیت "
331
  "ها قرار دهید "
332
 
333
- #: ../admin/admin.php:195
334
  msgid ""
335
  "<strong>Only</strong> registered users have permission to like activities."
336
  msgstr ""
337
  "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
338
  "فعالیت های بادی پرس را لایک کنند."
339
 
340
- #: ../admin/admin.php:200
341
  msgid "BuddyPress Activity"
342
  msgstr "فعالیت های بادی پرس"
343
 
344
- #: ../admin/admin.php:202
345
  msgid "insert new likes in buddyPress activity page"
346
  msgstr ""
347
  "با فعال سازی این گزینه، اطلاعات جدیدترین لایک ها به بخش فعالیت های بادی پرس "
348
  "اضافه خواهد شد."
349
 
350
- #: ../admin/admin.php:218
351
  msgid "Users who have liked this activity:"
352
  msgstr "کاربرانی که این فعالیت را پسندیده اند:"
353
 
354
- #: ../admin/admin.php:224
355
  msgid "Customize"
356
  msgstr "سفارشی سازی"
357
 
358
- #: ../admin/admin.php:229
359
  msgid "Custom Style"
360
  msgstr "سفارشی سازی"
361
 
362
- #: ../admin/admin.php:234
363
  msgid "Active this option to see the custom style settings."
364
  msgstr ""
365
  "با فعال سازی این گزینه، می توانید استایل سفارشی خود را در افزونه به کار "
366
  "ببرید."
367
 
368
- #: ../admin/admin.php:238
369
  msgid "Button style"
370
  msgstr "دکمه لایک"
371
 
372
- #: ../admin/admin.php:239 ../admin/admin.php:252
373
  msgid "Background"
374
  msgstr "رنگ پس زمینه"
375
 
376
- #: ../admin/admin.php:243 ../admin/admin.php:256
377
  msgid "Border Color"
378
  msgstr "رنگ حاشیه"
379
 
380
- #: ../admin/admin.php:247 ../admin/admin.php:260
381
  msgid "Text Color"
382
  msgstr "رنگ متن"
383
 
384
- #: ../admin/admin.php:251
385
  msgid "Counter Style"
386
  msgstr "باکس شمارنده"
387
 
388
- #: ../admin/admin.php:264
389
  msgid "Loading Animation"
390
  msgstr "انیمیشن بارگذاری"
391
 
392
- #: ../admin/admin.php:270
393
  msgid "Dashboard"
394
  msgstr "پیشخوان"
395
 
396
- #: ../admin/admin.php:275
397
  msgid "Visit Post Logs Menu"
398
  msgstr "نمایش منو وقایع لایک در نوشتارها"
399
 
400
- #: ../admin/admin.php:277
401
  msgid "If you deactivate this option, \"Post Likes Logs\" Menu will hidden."
402
  msgstr ""
403
  "اگر این گزینه را غیر فعال کنید، منو \"وقایع لایک در نوشتارها\" نمایش داده "
404
  "نخواهد شد. "
405
 
406
- #: ../admin/admin.php:282
407
  msgid "Visit Comment Logs Menu"
408
  msgstr "نمایش منو وقایع لایک در دیدگاه ها"
409
 
410
- #: ../admin/admin.php:284
411
  msgid "If you deactivate this option, \"Comment Likes Logs\" Menu will hidden."
412
  msgstr ""
413
  "اگر این گزینه را غیر فعال کنید، منو \"وقایع لایک در دیدگاه ها\" نمایش داده "
414
  "نخواهد شد. "
415
 
416
- #: ../admin/admin.php:289
417
  msgid "Visit Activity Logs Menu"
418
  msgstr "نمایش منو وقایع لایک در فعالیت ها"
419
 
420
- #: ../admin/admin.php:291
421
  msgid ""
422
  "If you deactivate this option, \"Activity Likes Logs\" Menu will hidden."
423
  msgstr ""
424
  "اگر این گزینه را غیر فعال کنید، منو \"وقایع لایک در فعالیت ها\" نمایش داده "
425
  "نخواهد شد. "
426
 
427
- #: ../admin/admin.php:303 ../admin/logs.php:34
428
  msgid "Post Likes Logs"
429
  msgstr "وقایع لایک در نوشتارها"
430
 
431
- #: ../admin/admin.php:307 ../admin/logs.php:147
432
  msgid "Comment Likes Logs"
433
  msgstr "وقایع لایک در دیدگاه ها"
434
 
435
- #: ../admin/admin.php:311 ../admin/logs.php:260
436
  msgid "Activity Likes Logs"
437
  msgstr "وقایع لایک در فعالیت ها"
438
 
439
- #: ../admin/admin.php:314
440
  msgid "About WP ULike"
441
  msgstr "درباره وردپرس یولایک"
442
 
@@ -495,7 +605,8 @@ msgstr ""
495
  msgid "Most Liked Posts"
496
  msgstr "پرلایک ترین مطالب"
497
 
498
- #: ../admin/classes/class-widget.php:55 ../admin/classes/class-widget.php:136
 
499
  msgid "Title:"
500
  msgstr "عنوان:"
501
 
@@ -503,45 +614,64 @@ msgstr "عنوان:"
503
  msgid "Number of posts to show:"
504
  msgstr "تعداد مطالب قابل نمایش:"
505
 
506
- #: ../admin/classes/class-widget.php:66 ../admin/classes/class-widget.php:152
 
507
  msgid "Activate Like Counter"
508
  msgstr "فعال سازی شمارنده"
509
 
510
- #: ../admin/classes/class-widget.php:87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
511
  msgid "WP Ulike - Most Liked Users"
512
  msgstr "وردپرس یولایک - نمایش پرلایک ترین کاربران"
513
 
514
- #: ../admin/classes/class-widget.php:88
515
  msgid "This widget allows you to show most liked users avatars."
516
  msgstr ""
517
  "با استفاده از این ابزارک، میتونید لیستی از پرلایک ترین کاربران سایتتون رو به "
518
  "همراه تصویر آواتار و تعداد لایکشون، نمایش بدید."
519
 
520
- #: ../admin/classes/class-widget.php:132
521
  msgid "Most Liked Users"
522
  msgstr "پرلایک ترین کاربران"
523
 
524
- #: ../admin/classes/class-widget.php:141
525
  msgid "Number of users to show:"
526
  msgstr "تعداد کاربران قابل نمایش:"
527
 
528
- #: ../admin/classes/class-widget.php:146
529
  msgid "User avatar size:"
530
  msgstr "سایز آواتار کاربران:"
531
 
532
- #: ../admin/logs.php:33 ../admin/logs.php:146 ../admin/logs.php:259
533
  msgid "WP ULike Logs"
534
  msgstr "وقایع اتفاقیه در وردپرس یولایک"
535
 
536
- #: ../admin/logs.php:43 ../admin/logs.php:156 ../admin/logs.php:269
537
  msgid "ID"
538
  msgstr "شناسه"
539
 
540
- #: ../admin/logs.php:44 ../admin/logs.php:157 ../admin/logs.php:270
541
  msgid "Username"
542
  msgstr "نام کاربری"
543
 
544
- #: ../admin/logs.php:45 ../admin/logs.php:158 ../admin/logs.php:271
545
  msgid "Status"
546
  msgstr "وضعیت"
547
 
@@ -553,31 +683,35 @@ msgstr "شناسه نوشتار"
553
  msgid "Post Title"
554
  msgstr "عنوان نوشتار"
555
 
556
- #: ../admin/logs.php:48 ../admin/logs.php:161 ../admin/logs.php:273
557
  msgid "Date / Time"
558
  msgstr "تاریخ / زمان"
559
 
560
- #: ../admin/logs.php:49 ../admin/logs.php:162 ../admin/logs.php:274
561
  msgid "IP"
562
  msgstr "آدرس IP"
563
 
564
- #: ../admin/logs.php:96
 
 
 
 
565
  msgid "Post Likes Logs Stats"
566
  msgstr "وضعیت وقایع لایک در نوشتارها"
567
 
568
- #: ../admin/logs.php:100 ../admin/logs.php:213 ../admin/logs.php:322
569
  msgid "Total Users Liked:"
570
  msgstr "مجموع لایک کاربران:"
571
 
572
- #: ../admin/logs.php:104
573
  msgid "Total Posts Liked:"
574
  msgstr "تعداد مطالب لایک شده:"
575
 
576
- #: ../admin/logs.php:108 ../admin/logs.php:221 ../admin/logs.php:330
577
  msgid "Total Likes Sum:"
578
  msgstr "مجموع همه ی لایک ها:"
579
 
580
- #: ../admin/logs.php:115 ../admin/logs.php:228 ../admin/logs.php:337
581
  msgid ""
582
  "<strong>ERROR:</strong> No Record Found. (This problem is created because "
583
  "you don't have any data on this table)"
@@ -585,204 +719,167 @@ msgstr ""
585
  "<strong>خطا:</strong> چیزی یافت نشد. (این مشکل به خاطر این مسأله ایجاد شده "
586
  "است که شما هیچ اطلاعاتی را در این جدول ندارید)"
587
 
588
- #: ../admin/logs.php:159
589
  msgid "Comment ID"
590
  msgstr "شناسه دیدگاه"
591
 
592
- #: ../admin/logs.php:160
593
  msgid "Comment Author"
594
  msgstr "نویسنده دیدگاه"
595
 
596
- #: ../admin/logs.php:209
 
 
 
 
597
  msgid "Comment Likes Logs Stats"
598
  msgstr "وضعیت وقایع لایک در دیدگاه ها"
599
 
600
- #: ../admin/logs.php:217
601
  msgid "Total Comments Liked:"
602
  msgstr "تعداد دیدگاه های لایک شده:"
603
 
604
- #: ../admin/logs.php:272
605
  msgid "Activity ID"
606
  msgstr "شناسه فعالیت"
607
 
608
- #: ../admin/logs.php:318
 
 
 
 
 
 
 
 
 
609
  msgid "Activity Likes Logs Stats"
610
  msgstr "وضعیت وقایع لایک در فعالیت های بادی پرس"
611
 
612
- #: ../admin/logs.php:326
613
  msgid "Total Activities Liked:"
614
  msgstr "مجموع فعالیت های لایک شده:"
615
 
616
- #: ../inc/wp-functions.php:181
617
  msgid "WP ULike Activity"
618
  msgstr "فعالیت های وردپرس یولایک"
619
 
620
- #: ../inc/wp-functions.php:191 ../inc/wp-functions.php:201
621
  msgid "liked"
622
  msgstr " پسندید"
623
 
624
- #: ../inc/wp-functions.php:191
625
  msgid "comment"
626
  msgstr " را در دیدگاهش"
627
 
628
  #: ../inc/wp-strings.php:3
629
- msgid "WP ULike - Most Liked Comments"
630
- msgstr "وردپرس یولایک - نمایش پرلایک ترین دیدگاه ها"
631
-
632
- #: ../inc/wp-strings.php:4
633
- msgid "This widget allows you to show most liked comments."
634
- msgstr ""
635
- "با استفاده از این ابزارک، میتونید لیستی از پرلایک ترین دیدگاه های سایتتون "
636
- "رو به همراه تعداد لایک هر دیدگاه، نمایش بدید."
637
-
638
- #: ../inc/wp-strings.php:5
639
- msgid "Most Liked Comments"
640
- msgstr "پرلایک ترین دیدگاه ها"
641
-
642
- #: ../inc/wp-strings.php:6
643
  msgid "WP ULike - Most Liked Activities"
644
  msgstr "وردپرس یولایک - نمایش پرلایک ترین فعالیت های بادی پرس"
645
 
646
- #: ../inc/wp-strings.php:7
647
  msgid "This widget allows you to show most liked activities."
648
  msgstr ""
649
  "با استفاده از این ابزارک، میتونید لیستی از پرلایک ترین فعالیت های بادی پرس "
650
  "رو به همراه تعداد لایک در هر فعالیت، نمایش بدید."
651
 
652
- #: ../inc/wp-strings.php:8
653
  msgid "Most Liked Activities"
654
  msgstr "پرلایک ترین فعالیت ها"
655
 
656
- #: ../inc/wp-strings.php:9
657
  msgid "Users Login Text"
658
  msgstr "متن ورود کاربران"
659
 
660
- #: ../inc/wp-strings.php:10
661
  msgid "Allow To Like"
662
  msgstr "مجاز به لایک"
663
 
664
- #: ../inc/wp-strings.php:11
665
  msgid "Guests Only"
666
  msgstr "فقط مهمانان"
667
 
668
- #: ../inc/wp-strings.php:12
669
  msgid "Registered Users Only"
670
  msgstr "فقط کاربران عضو شده"
671
 
672
- #: ../inc/wp-strings.php:13
673
  msgid "Registered Users And Guests"
674
  msgstr "کاربران عضو و مهمان"
675
 
676
- #: ../inc/wp-strings.php:14
677
  msgid "Who Is Allowed To Like?"
678
  msgstr "چه کسی اجازه‌ی امتیاز دادن دارد؟"
679
 
680
- #: ../inc/wp-strings.php:15
681
  msgid "Filter Options:"
682
  msgstr "گزینه‌های پالایش:"
683
 
684
- #: ../inc/wp-strings.php:16
685
  msgid "Sort Options:"
686
  msgstr "گزینه‌های مرتب‌سازی"
687
 
688
- #: ../inc/wp-strings.php:17
689
- msgid "Logging Method"
690
- msgstr "روش وقایع نگاری امتیازات"
691
-
692
- #: ../inc/wp-strings.php:18
693
- msgid "Do Not Log"
694
- msgstr "وقایع نگاری نکن"
695
-
696
- #: ../inc/wp-strings.php:19
697
- msgid "Logged By Cookie"
698
- msgstr "با کوکی"
699
-
700
- #: ../inc/wp-strings.php:20
701
- msgid "Logged By IP"
702
- msgstr "با آی پی"
703
-
704
- #: ../inc/wp-strings.php:21
705
- msgid "Logged By Cookie & IP"
706
- msgstr "با کوکی و آی پی"
707
-
708
- #: ../inc/wp-strings.php:22
709
- msgid "Logged By Username"
710
- msgstr "با نام کاربری"
711
-
712
- #: ../inc/wp-strings.php:23
713
  msgid "Themes"
714
  msgstr "قالب ها"
715
 
716
- #: ../inc/wp-strings.php:24
717
  msgid "Dislike"
718
  msgstr "دیسلایک"
719
 
720
- #: ../inc/wp-strings.php:25
721
  msgid "Dislike Support"
722
  msgstr "پشتیبانی از دیسلایک"
723
 
724
- #: ../inc/wp-strings.php:26
725
  msgid "Text After Dislike"
726
  msgstr "متن پس از دیسلایک"
727
 
728
- #: ../inc/wp-strings.php:27
729
  msgid "Show Counter"
730
  msgstr "نمایش شمارنده"
731
 
732
- #: ../inc/wp-strings.php:28
733
  msgid "Show tooltips"
734
  msgstr "نمایش تولتیپ"
735
 
736
- #: ../inc/wp-strings.php:29
737
- msgid "Top of Content"
738
- msgstr "بالای محتوا"
739
-
740
- #: ../inc/wp-strings.php:30
741
- msgid "Bottom of Content"
742
- msgstr "پایین محتوا"
743
-
744
- #: ../inc/wp-strings.php:31
745
- msgid "Top and Bottom"
746
- msgstr "بالا و پایین"
747
-
748
- #: ../inc/wp-strings.php:32
749
  msgid "Alignment"
750
  msgstr "قرارگیری"
751
 
752
- #: ../inc/wp-strings.php:33
753
  msgid "Left"
754
  msgstr "چپ"
755
 
756
- #: ../inc/wp-strings.php:34
757
  msgid "Center"
758
  msgstr "وسط"
759
 
760
- #: ../inc/wp-strings.php:35
761
  msgid "Right"
762
  msgstr "راست"
763
 
764
- #: ../inc/wp-strings.php:36
765
  msgid "Cookie Life time"
766
  msgstr "عمر کوکی"
767
 
768
- #: ../inc/wp-strings.php:37
769
  msgid "BuddyPress Notifications"
770
  msgstr "اطلاعیه های بادی پرس"
771
 
772
- #: ../inc/wp-ulike-buddypress.php:73
773
  msgid "You need to login in order to like this activity: "
774
  msgstr "برای امتیاز دهی به این فعالیت، لطفا وارد شوید: "
775
 
776
- #: ../inc/wp-ulike-buddypress.php:73 ../inc/wp-ulike-comments.php:73
777
- #: ../inc/wp-ulike-posts.php:75
778
  msgid "click here"
779
  msgstr "برای ورود کلیک کنید"
780
 
781
- #: ../inc/wp-ulike-comments.php:73
782
  msgid "You need to login in order to like this comment: "
783
  msgstr "برای امتیاز دهی به این دیدگاه، لطفا وارد شوید: "
784
 
785
- #: ../inc/wp-ulike-posts.php:75
786
  msgid "You need to login in order to like this post: "
787
  msgstr "برای امتیاز دهی به این مطلب، لطفا وارد شوید: "
788
 
@@ -800,6 +897,17 @@ msgstr ""
800
  "سفارشی سازی استایل ها و… تمامی قابلیت های یک سیستم خوب و حرفه ای رو در "
801
  "اختیار شما قرار میده."
802
 
 
 
 
 
 
 
 
 
 
 
 
803
  #, fuzzy
804
  #~ msgid "WP ULike Template"
805
  #~ msgstr "تمپلیت وردپرس یولایک"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
+ "POT-Creation-Date: 2014-12-10 20:18+0330\n"
5
+ "PO-Revision-Date: 2014-12-10 20:19+0330\n"
6
  "Last-Translator: Alimir <info@alimir.ir>\n"
7
  "Language-Team: alimir.ir <info@alimir.ir>\n"
8
  "Language: fa_IR\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPath-1: ..\n"
18
 
19
+ #: ../admin/about.php:56
20
  msgid "Welcome to WP ULike"
21
  msgstr "به وردپرس یولایک خوش آمدید"
22
 
23
+ #: ../admin/about.php:58
24
  msgid ""
25
  "Thank you for choosing WP ULike! This version is our leanest and most "
26
  "powerful version yet."
28
  "از اینکه از افزونه وردپرس یولایک استفاده می کنید، خیلی ممنونیم! نسخه ی جدید، "
29
  "قویترین و کامل ترین نسخه منتشر شده از این افزونه است."
30
 
31
+ #: ../admin/about.php:59
32
  msgid "Visit our homepage"
33
  msgstr "مشاهده صفحه افزونه"
34
 
35
+ #: ../admin/about.php:64
36
  msgid "Getting Started"
37
  msgstr "شروع "
38
 
39
+ #: ../admin/about.php:65
40
  msgid "Credits"
41
  msgstr "دست‌اندرکاران"
42
 
43
+ #: ../admin/about.php:66
44
  msgid "Support"
45
  msgstr "پشتیبانی"
46
 
47
+ #: ../admin/about.php:67
48
  msgid "FAQ"
49
  msgstr "سؤالات متداول"
50
 
51
+ #: ../admin/about.php:68
52
  msgid "Reviews"
53
  msgstr "امتیازدهی"
54
 
55
+ #: ../admin/about.php:69
56
  msgid "Contact"
57
  msgstr "تماس با ما"
58
 
59
+ #: ../admin/about.php:81
60
  msgid "Novelty Of WP ULike"
61
  msgstr "تازه های وردپرس یولایک"
62
 
63
+ #: ../admin/about.php:85 ../admin/classes/class-widget.php:134
64
+ msgid "Most Liked Comments"
65
+ msgstr "پرلایک ترین دیدگاه ها"
66
+
67
+ #: ../admin/about.php:90 ../admin/admin.php:146 ../admin/admin.php:214
68
+ #: ../admin/admin.php:272
69
+ msgid "Logging Method"
70
+ msgstr "روش وقایع نگاری"
71
+
72
+ #: ../admin/about.php:98
73
+ msgid "New options in logs pages"
74
+ msgstr "قابلیت های جدید در صفحات وقایع"
75
+
76
+ #: ../admin/about.php:103
77
  msgid "New setting panel"
78
  msgstr "صفحه تنظیمات جدید و پیشرفته"
79
 
80
+ #: ../admin/about.php:111
81
  msgid "Better coding on plugin files"
82
  msgstr "بهبود توابع و کدنویسی فایل های افزونه"
83
 
84
+ #: ../admin/about.php:116
85
  msgid "Buddypress likes support"
86
  msgstr "پشتیبانی وردپرس یولایک از بادی پرس"
87
 
88
+ #: ../admin/about.php:121
89
  msgid "Likes logs support"
90
  msgstr "پشتیبانی از نمایش آخرین وقایع در لایک ها"
91
 
92
+ #: ../admin/about.php:130
93
  msgid "WP ULike is created by many love and time. Enjoy it :)"
94
  msgstr ""
95
  "وردپرس یولایک با صرف کلی علاقه و زمان ساخته شده است. امیدواریم که از آن لذت "
96
  "ببرید :)"
97
 
98
+ #: ../admin/about.php:131
99
  msgid "Project Leaders"
100
  msgstr "سازندگان اصلی"
101
 
102
+ #: ../admin/about.php:136
103
  msgid "Project Lead & Developer"
104
  msgstr "راهبر پروژه، توسعه دهنده ارشد"
105
 
106
+ #: ../admin/about.php:140
107
  msgid "Translations"
108
  msgstr "ترجمه ها"
109
 
110
+ #: ../admin/about.php:150
111
  msgid "Like this plugin?"
112
  msgstr "این پلاگین چندتا لایک داره؟!؟ :)"
113
 
114
+ #: ../admin/about.php:151
115
  msgid ""
116
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
117
  "wp-ulike\"> Plugin Directory reviews</a>"
119
  "حمایتتون رو از این افزونه، با امتیاز 5 ستاره در <a href=\"http://wordpress."
120
  "org/plugins/wp-ulike\">مخزن وردپرس</a> مشخص کنید..."
121
 
122
+ #: ../admin/admin.php:36
123
  msgid "WP ULike Settings"
124
  msgstr "تنظیمات وردپرس یولایک"
125
 
126
+ #: ../admin/admin.php:39 ../wp-ulike.php:16
127
  msgid "WP ULike"
128
  msgstr "وردپرس یولایک"
129
 
130
+ #: ../admin/admin.php:44
131
  msgid "General"
132
  msgstr "عمومی"
133
 
134
+ #: ../admin/admin.php:48
135
  msgid "Button Type"
136
  msgstr "حالت دکمه"
137
 
138
+ #: ../admin/admin.php:51
139
  msgid "Icon"
140
  msgstr "آیکن"
141
 
142
+ #: ../admin/admin.php:52
143
  msgid "Text"
144
  msgstr "متن"
145
 
146
+ #: ../admin/admin.php:56 ../admin/classes/class-widget.php:189
147
  msgid "Like"
148
  msgstr "لایک"
149
 
150
+ #: ../admin/admin.php:57
151
  msgid "Button Text"
152
  msgstr "متن دکمه"
153
 
154
+ #: ../admin/admin.php:61
155
  msgid "Button Icon"
156
  msgstr "آیکن دکمه"
157
 
158
+ #: ../admin/admin.php:62 ../admin/admin.php:359
159
  msgid "Best size: 16x16"
160
  msgstr "سایز مناسب : 16x16"
161
 
162
+ #: ../admin/admin.php:67
163
  msgid "Format Number"
164
  msgstr "فرمت اعداد"
165
 
166
+ #: ../admin/admin.php:68 ../admin/admin.php:79 ../admin/admin.php:108
167
+ #: ../admin/admin.php:140 ../admin/admin.php:169 ../admin/admin.php:191
168
+ #: ../admin/admin.php:208 ../admin/admin.php:237 ../admin/admin.php:266
169
+ #: ../admin/admin.php:295 ../admin/admin.php:302 ../admin/admin.php:324
170
+ #: ../admin/admin.php:370 ../admin/admin.php:377 ../admin/admin.php:384
171
  msgid "Activate"
172
  msgstr "فعال سازی"
173
 
174
+ #: ../admin/admin.php:69
175
  msgid "Convert numbers of Likes with string (kilobyte) format."
176
  msgstr ""
177
  "با فعال سازی این گزینه، می توانید اعداد بالای 1000 را با فرمت رشته ای "
178
  "(کیلوبایت) نمایش دهید."
179
 
180
+ #: ../admin/admin.php:72
181
  msgid "Unlike"
182
  msgstr " لغو پسندیدن"
183
 
184
+ #: ../admin/admin.php:73
185
  msgid "Text After Like"
186
  msgstr "متن پس از لایک"
187
 
188
+ #: ../admin/admin.php:78
189
+ msgid "Return To The Initial"
190
+ msgstr "بازگشت به حالت اولیه"
191
+
192
+ #: ../admin/admin.php:80
193
+ msgid ""
194
+ "Return to the initial Like button after Unlike. (Not Showing text after "
195
+ "unlike)"
196
+ msgstr ""
197
+ "با فعال کردن این گزینه، پس از لغو پسنیدن (unlike) دکمه به حالت اولیه (آیکن/"
198
+ "متن) باز میگردد. (در این حالت، تنظیمات \"متن پس از لغو لایک\" نمایش داده نمی "
199
+ "شود)"
200
+
201
+ #: ../admin/admin.php:83
202
  msgid "Like Me Again!"
203
  msgstr "پسندیدن مجدد!"
204
 
205
+ #: ../admin/admin.php:84
206
  msgid "Text After Unlike"
207
  msgstr "متن پس از لغو لایک"
208
 
209
+ #: ../admin/admin.php:87
210
  msgid "You have not permission to unlike"
211
  msgstr "شما اجازه لغو پسندیدن را ندارید"
212
 
213
+ #: ../admin/admin.php:88
214
  msgid "Permission Text"
215
  msgstr "متن تولتیپ دسترسی"
216
 
217
+ #: ../admin/admin.php:95
218
  msgid "Settings saved."
219
  msgstr "تنظیمات ذخیره شد"
220
 
221
+ #: ../admin/admin.php:102
222
  msgid "Posts"
223
  msgstr "نوشته ها"
224
 
225
+ #: ../admin/admin.php:107 ../admin/admin.php:190 ../admin/admin.php:258
226
  msgid "Automatic display"
227
  msgstr "نمایش خودکار"
228
 
229
+ #: ../admin/admin.php:109
230
  msgid ""
231
  "If you disable this option, you have to put manually this code on wordpress "
232
  "while loop"
234
  "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را در حلقه مطالب "
235
  "وردپرس قرار دهید "
236
 
237
+ #: ../admin/admin.php:113 ../admin/admin.php:196
238
+ msgid "Auto Display Position"
239
+ msgstr "محل قرار گیری در نمایش خودکار"
240
+
241
+ #: ../admin/admin.php:116 ../admin/admin.php:199
242
+ msgid "Top of Content"
243
+ msgstr "بالای محتوا"
244
+
245
+ #: ../admin/admin.php:117 ../admin/admin.php:200
246
+ msgid "Bottom of Content"
247
+ msgstr "پایین محتوا"
248
+
249
+ #: ../admin/admin.php:118 ../admin/admin.php:201
250
+ msgid "Top and Bottom"
251
+ msgstr "بالا و پایین"
252
+
253
+ #: ../admin/admin.php:123
254
  msgid "Auto Display Filter"
255
  msgstr "فیلتر گذاری در نمایش خودکار"
256
 
257
+ #: ../admin/admin.php:125
258
  msgid "Home"
259
  msgstr "خانه"
260
 
261
+ #: ../admin/admin.php:126
262
  msgid "Single Posts"
263
  msgstr "تک نوشته ها"
264
 
265
+ #: ../admin/admin.php:127
266
  msgid "Pages"
267
  msgstr "برگه ها"
268
 
269
+ #: ../admin/admin.php:128
270
  msgid "Archives"
271
  msgstr "بایگانی"
272
 
273
+ #: ../admin/admin.php:129
274
  msgid "Categories"
275
  msgstr "دسته بندی ها"
276
 
277
+ #: ../admin/admin.php:130
278
  msgid "Search Results"
279
  msgstr "نتایج جستجوها"
280
 
281
+ #: ../admin/admin.php:131
282
  msgid "Tags"
283
  msgstr "برچسب ها"
284
 
285
+ #: ../admin/admin.php:132
286
  msgid "Author Page"
287
  msgstr "صفحه نویسنده"
288
 
289
+ #: ../admin/admin.php:134
290
  msgid "You can filter theses pages on auto display option."
291
  msgstr ""
292
  "شما می توانید بر روی این صفحات فیلتر گذاری کنید تا دکمه لایک نمایش داده نشود"
293
 
294
+ #: ../admin/admin.php:139 ../admin/admin.php:207 ../admin/admin.php:265
295
  msgid "Only registered Users"
296
  msgstr "محدودسازی لایک کاربران"
297
 
298
+ #: ../admin/admin.php:141
299
  msgid "<strong>Only</strong> registered users have permission to like posts."
300
  msgstr ""
301
  "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
302
  "مطالب را لایک کنند."
303
 
304
+ #: ../admin/admin.php:148 ../admin/admin.php:216 ../admin/admin.php:274
305
+ msgid "Do Not Log"
306
+ msgstr "وقایع نگاری نکن"
307
+
308
+ #: ../admin/admin.php:149 ../admin/admin.php:217 ../admin/admin.php:275
309
+ msgid "Logged By Cookie"
310
+ msgstr "با کوکی"
311
+
312
+ #: ../admin/admin.php:150 ../admin/admin.php:218 ../admin/admin.php:276
313
+ msgid "Logged By IP"
314
+ msgstr "با آی پی"
315
+
316
+ #: ../admin/admin.php:151 ../admin/admin.php:219 ../admin/admin.php:277
317
+ msgid "Logged By Cookie & IP"
318
+ msgstr "با کوکی و آی پی"
319
+
320
+ #: ../admin/admin.php:152 ../admin/admin.php:220 ../admin/admin.php:278
321
+ msgid "Logged By Username"
322
+ msgstr "با نام کاربری"
323
+
324
+ #: ../admin/admin.php:156 ../admin/admin.php:224 ../admin/admin.php:282
325
+ msgid "Attention!"
326
+ msgstr "توجه! "
327
+
328
+ #: ../admin/admin.php:158 ../admin/admin.php:226 ../admin/admin.php:284
329
+ msgid ""
330
+ "If you select <strong>\"Do Not Log\"</strong> method: Any data logs can't "
331
+ "save, There is no limitation in the like/dislike, unlike/undislike capacity "
332
+ "do not work"
333
+ msgstr ""
334
+ "اگر گزینه <strong>\"بدون وقایع نگاری\"</strong> را انتخاب کنید: هیچ اطلاعات "
335
+ "وقایعی ذخیره نمی شود، هیچ شرط محدود کننده ای برای لایک/دیسلایک بررسی نمی "
336
+ "شود، قابلیت لغو لایک/دیسلایک وجود نخواهد داشت"
337
+
338
+ #: ../admin/admin.php:159 ../admin/admin.php:227 ../admin/admin.php:285
339
+ msgid ""
340
+ "If you select <strong>\"Logged By Cookie\"</strong> method: Any data logs "
341
+ "can't save, The like/dislike condition will be limited by SetCookie, unlike/"
342
+ "undislike capacity do not work"
343
+ msgstr ""
344
+ "اگر گزینه <strong>\"با کوکی\"</strong> را انتخاب کنید: هیچ اطلاعات وقایعی "
345
+ "ذخیره نمی شود، شرط بررسی لایک/دیسلایک توسط کوکی محدود می شود، قابلیت لغو "
346
+ "لایک/دیسلایک وجود نخواهد داشت"
347
+
348
+ #: ../admin/admin.php:160 ../admin/admin.php:228 ../admin/admin.php:286
349
+ msgid ""
350
+ "If you select <strong>\"Logged By IP\"</strong> method: Data logs will save "
351
+ "for all users, the convey of like/dislike condition will check by user IP"
352
+ msgstr ""
353
+ "اگر گزینه <strong>\"با آی پی\"</strong> را انتخاب کنید: اطلاعات وقایع همه ی "
354
+ "کاربران ذخیره می شود، شرط بررسی لایک/دیسلایک فقط توسط آی پی انجام میگیرد"
355
+
356
+ #: ../admin/admin.php:161 ../admin/admin.php:229 ../admin/admin.php:287
357
+ msgid ""
358
+ "If you select <strong>\"Logged By Cookie & IP\"</strong> method: Data logs "
359
+ "will save for all users, the convey of like/dislike condition will check by "
360
+ "user IP & SetCookie"
361
+ msgstr ""
362
+ "اگر گزینه <strong>\"با کوکی و آی پی\"</strong> را انتخاب کنید: اطلاعات وقایع "
363
+ "همه ی کاربران ذخیره می شود، شرط بررسی لایک/دیسلایک توسط کوکی و آی پی انجام "
364
+ "میگیرد"
365
+
366
+ #: ../admin/admin.php:162 ../admin/admin.php:230 ../admin/admin.php:288
367
+ msgid ""
368
+ "If you select <strong>\"Logged By Username\"</strong> method: data logs only "
369
+ "is saved for registered users, the convey of like/dislike condition will "
370
+ "check by username, There is no permission for guest users to unlike/undislike"
371
+ msgstr ""
372
+ "اگر گزینه <strong>\"با نام کاربری\"</strong> را انتخاب کنید: اطلاعات وقایع "
373
+ "تنها برای کابران عضو ذخیره می شود، شرط بررسی لایک/دیسلایک توسط نام کاربری "
374
+ "انجام میگیرد، کاربران مهمان اجازه لغو لایک/دیسلایک را نخواهند داشت"
375
+
376
+ #: ../admin/admin.php:168 ../admin/admin.php:236 ../admin/admin.php:301
377
  msgid "Show Liked Users Box"
378
  msgstr "نمایش باکس کاربران لایک کرده"
379
 
380
+ #: ../admin/admin.php:170 ../admin/admin.php:238 ../admin/admin.php:303
381
  msgid ""
382
  "Active this option to show liked users avatars in the bottom of button like."
383
  msgstr ""
384
  "با فعال سازی این گزینه، می توانید آواتار کاربران لایک کرده، را در زیر دکمه "
385
  "لایک، نمایش دهید."
386
 
387
+ #: ../admin/admin.php:175 ../admin/admin.php:243 ../admin/admin.php:308
388
  msgid "Size of Gravatars"
389
  msgstr "سایز آوتار"
390
 
391
+ #: ../admin/admin.php:176 ../admin/admin.php:244 ../admin/admin.php:309
392
  msgid "Size of Gravatars to return (max is 512)"
393
  msgstr "سایز تصاویر گراواتار (بیشترین اندازه 512)"
394
 
395
+ #: ../admin/admin.php:179
396
  msgid "Users who have LIKED this post:"
397
  msgstr "کاربرانی که این مطلب را پسندیده اند:"
398
 
399
+ #: ../admin/admin.php:180 ../admin/admin.php:248 ../admin/admin.php:313
400
  msgid "Users Like Box Title"
401
  msgstr "عنوان باکس کاربران لایک کرده"
402
 
403
+ #: ../admin/admin.php:185
404
  msgid "Comments"
405
  msgstr "دیدگاه ها"
406
 
407
+ #: ../admin/admin.php:192
 
 
 
 
408
  msgid ""
409
  "If you disable this option, you have to put manually this code on comments "
410
  "text"
412
  "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را در متن دیدگاه "
413
  "ها قرار دهید "
414
 
415
+ #: ../admin/admin.php:209
416
  msgid ""
417
  "<strong>Only</strong> registered users have permission to like comments."
418
  msgstr ""
419
  "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
420
  "دیدگاه ها را لایک کنند."
421
 
422
+ #: ../admin/admin.php:247
423
  msgid "Users who have LIKED this comment:"
424
  msgstr "کاربرانی که این دیدگاه را پسندیده اند:"
425
 
426
+ #: ../admin/admin.php:253
427
  msgid "BuddyPress"
428
  msgstr "بادی پرس"
429
 
430
+ #: ../admin/admin.php:259
431
  msgid "<strong>On all buddypress activities</strong> at the top of activity"
432
  msgstr ""
433
  "<strong>نمایش در تمامی فعالیت های بادی پرس</strong> در بخش بالایی هر فعالیت"
434
 
435
+ #: ../admin/admin.php:260
436
  msgid ""
437
  "If you disable this option, you have to put manually this code on buddypres "
438
  "activities content"
440
  "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را در متن فعالیت "
441
  "ها قرار دهید "
442
 
443
+ #: ../admin/admin.php:267
444
  msgid ""
445
  "<strong>Only</strong> registered users have permission to like activities."
446
  msgstr ""
447
  "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
448
  "فعالیت های بادی پرس را لایک کنند."
449
 
450
+ #: ../admin/admin.php:294
451
  msgid "BuddyPress Activity"
452
  msgstr "فعالیت های بادی پرس"
453
 
454
+ #: ../admin/admin.php:296
455
  msgid "insert new likes in buddyPress activity page"
456
  msgstr ""
457
  "با فعال سازی این گزینه، اطلاعات جدیدترین لایک ها به بخش فعالیت های بادی پرس "
458
  "اضافه خواهد شد."
459
 
460
+ #: ../admin/admin.php:312
461
  msgid "Users who have liked this activity:"
462
  msgstr "کاربرانی که این فعالیت را پسندیده اند:"
463
 
464
+ #: ../admin/admin.php:318
465
  msgid "Customize"
466
  msgstr "سفارشی سازی"
467
 
468
+ #: ../admin/admin.php:323
469
  msgid "Custom Style"
470
  msgstr "سفارشی سازی"
471
 
472
+ #: ../admin/admin.php:328
473
  msgid "Active this option to see the custom style settings."
474
  msgstr ""
475
  "با فعال سازی این گزینه، می توانید استایل سفارشی خود را در افزونه به کار "
476
  "ببرید."
477
 
478
+ #: ../admin/admin.php:332
479
  msgid "Button style"
480
  msgstr "دکمه لایک"
481
 
482
+ #: ../admin/admin.php:333 ../admin/admin.php:346
483
  msgid "Background"
484
  msgstr "رنگ پس زمینه"
485
 
486
+ #: ../admin/admin.php:337 ../admin/admin.php:350
487
  msgid "Border Color"
488
  msgstr "رنگ حاشیه"
489
 
490
+ #: ../admin/admin.php:341 ../admin/admin.php:354
491
  msgid "Text Color"
492
  msgstr "رنگ متن"
493
 
494
+ #: ../admin/admin.php:345
495
  msgid "Counter Style"
496
  msgstr "باکس شمارنده"
497
 
498
+ #: ../admin/admin.php:358
499
  msgid "Loading Animation"
500
  msgstr "انیمیشن بارگذاری"
501
 
502
+ #: ../admin/admin.php:364
503
  msgid "Dashboard"
504
  msgstr "پیشخوان"
505
 
506
+ #: ../admin/admin.php:369
507
  msgid "Visit Post Logs Menu"
508
  msgstr "نمایش منو وقایع لایک در نوشتارها"
509
 
510
+ #: ../admin/admin.php:371
511
  msgid "If you deactivate this option, \"Post Likes Logs\" Menu will hidden."
512
  msgstr ""
513
  "اگر این گزینه را غیر فعال کنید، منو \"وقایع لایک در نوشتارها\" نمایش داده "
514
  "نخواهد شد. "
515
 
516
+ #: ../admin/admin.php:376
517
  msgid "Visit Comment Logs Menu"
518
  msgstr "نمایش منو وقایع لایک در دیدگاه ها"
519
 
520
+ #: ../admin/admin.php:378
521
  msgid "If you deactivate this option, \"Comment Likes Logs\" Menu will hidden."
522
  msgstr ""
523
  "اگر این گزینه را غیر فعال کنید، منو \"وقایع لایک در دیدگاه ها\" نمایش داده "
524
  "نخواهد شد. "
525
 
526
+ #: ../admin/admin.php:383
527
  msgid "Visit Activity Logs Menu"
528
  msgstr "نمایش منو وقایع لایک در فعالیت ها"
529
 
530
+ #: ../admin/admin.php:385
531
  msgid ""
532
  "If you deactivate this option, \"Activity Likes Logs\" Menu will hidden."
533
  msgstr ""
534
  "اگر این گزینه را غیر فعال کنید، منو \"وقایع لایک در فعالیت ها\" نمایش داده "
535
  "نخواهد شد. "
536
 
537
+ #: ../admin/admin.php:397 ../admin/logs.php:34
538
  msgid "Post Likes Logs"
539
  msgstr "وقایع لایک در نوشتارها"
540
 
541
+ #: ../admin/admin.php:401 ../admin/logs.php:160
542
  msgid "Comment Likes Logs"
543
  msgstr "وقایع لایک در دیدگاه ها"
544
 
545
+ #: ../admin/admin.php:405 ../admin/logs.php:290
546
  msgid "Activity Likes Logs"
547
  msgstr "وقایع لایک در فعالیت ها"
548
 
549
+ #: ../admin/admin.php:408
550
  msgid "About WP ULike"
551
  msgstr "درباره وردپرس یولایک"
552
 
605
  msgid "Most Liked Posts"
606
  msgstr "پرلایک ترین مطالب"
607
 
608
+ #: ../admin/classes/class-widget.php:55 ../admin/classes/class-widget.php:138
609
+ #: ../admin/classes/class-widget.php:220
610
  msgid "Title:"
611
  msgstr "عنوان:"
612
 
614
  msgid "Number of posts to show:"
615
  msgstr "تعداد مطالب قابل نمایش:"
616
 
617
+ #: ../admin/classes/class-widget.php:66 ../admin/classes/class-widget.php:149
618
+ #: ../admin/classes/class-widget.php:236
619
  msgid "Activate Like Counter"
620
  msgstr "فعال سازی شمارنده"
621
 
622
+ #: ../admin/classes/class-widget.php:88
623
+ msgid "WP ULike - Most Liked Comments"
624
+ msgstr "وردپرس یولایک - نمایش پرلایک ترین دیدگاه ها"
625
+
626
+ #: ../admin/classes/class-widget.php:89
627
+ msgid "This widget allows you to show most liked comments."
628
+ msgstr ""
629
+ "با استفاده از این ابزارک، میتونید لیستی از پرلایک ترین دیدگاه های سایتتون "
630
+ "رو به همراه تعداد لایک هر دیدگاه، نمایش بدید."
631
+
632
+ #: ../admin/classes/class-widget.php:109
633
+ msgid "on"
634
+ msgstr "در"
635
+
636
+ #: ../admin/classes/class-widget.php:143
637
+ msgid "Number of comments to show:"
638
+ msgstr "تعداد دیدگاه های نمایشی:"
639
+
640
+ #: ../admin/classes/class-widget.php:170
641
  msgid "WP Ulike - Most Liked Users"
642
  msgstr "وردپرس یولایک - نمایش پرلایک ترین کاربران"
643
 
644
+ #: ../admin/classes/class-widget.php:171
645
  msgid "This widget allows you to show most liked users avatars."
646
  msgstr ""
647
  "با استفاده از این ابزارک، میتونید لیستی از پرلایک ترین کاربران سایتتون رو به "
648
  "همراه تصویر آواتار و تعداد لایکشون، نمایش بدید."
649
 
650
+ #: ../admin/classes/class-widget.php:216
651
  msgid "Most Liked Users"
652
  msgstr "پرلایک ترین کاربران"
653
 
654
+ #: ../admin/classes/class-widget.php:225
655
  msgid "Number of users to show:"
656
  msgstr "تعداد کاربران قابل نمایش:"
657
 
658
+ #: ../admin/classes/class-widget.php:230
659
  msgid "User avatar size:"
660
  msgstr "سایز آواتار کاربران:"
661
 
662
+ #: ../admin/logs.php:33 ../admin/logs.php:159 ../admin/logs.php:289
663
  msgid "WP ULike Logs"
664
  msgstr "وقایع اتفاقیه در وردپرس یولایک"
665
 
666
+ #: ../admin/logs.php:43 ../admin/logs.php:169 ../admin/logs.php:299
667
  msgid "ID"
668
  msgstr "شناسه"
669
 
670
+ #: ../admin/logs.php:44 ../admin/logs.php:170 ../admin/logs.php:300
671
  msgid "Username"
672
  msgstr "نام کاربری"
673
 
674
+ #: ../admin/logs.php:45 ../admin/logs.php:171 ../admin/logs.php:301
675
  msgid "Status"
676
  msgstr "وضعیت"
677
 
683
  msgid "Post Title"
684
  msgstr "عنوان نوشتار"
685
 
686
+ #: ../admin/logs.php:48 ../admin/logs.php:175 ../admin/logs.php:304
687
  msgid "Date / Time"
688
  msgstr "تاریخ / زمان"
689
 
690
+ #: ../admin/logs.php:49 ../admin/logs.php:176 ../admin/logs.php:305
691
  msgid "IP"
692
  msgstr "آدرس IP"
693
 
694
+ #: ../admin/logs.php:67 ../admin/logs.php:194 ../admin/logs.php:323
695
+ msgid "Guest User"
696
+ msgstr "کاربر مهمان"
697
+
698
+ #: ../admin/logs.php:109
699
  msgid "Post Likes Logs Stats"
700
  msgstr "وضعیت وقایع لایک در نوشتارها"
701
 
702
+ #: ../admin/logs.php:113 ../admin/logs.php:243 ../admin/logs.php:369
703
  msgid "Total Users Liked:"
704
  msgstr "مجموع لایک کاربران:"
705
 
706
+ #: ../admin/logs.php:117
707
  msgid "Total Posts Liked:"
708
  msgstr "تعداد مطالب لایک شده:"
709
 
710
+ #: ../admin/logs.php:121 ../admin/logs.php:251 ../admin/logs.php:377
711
  msgid "Total Likes Sum:"
712
  msgstr "مجموع همه ی لایک ها:"
713
 
714
+ #: ../admin/logs.php:128 ../admin/logs.php:258 ../admin/logs.php:384
715
  msgid ""
716
  "<strong>ERROR:</strong> No Record Found. (This problem is created because "
717
  "you don't have any data on this table)"
719
  "<strong>خطا:</strong> چیزی یافت نشد. (این مشکل به خاطر این مسأله ایجاد شده "
720
  "است که شما هیچ اطلاعاتی را در این جدول ندارید)"
721
 
722
+ #: ../admin/logs.php:172
723
  msgid "Comment ID"
724
  msgstr "شناسه دیدگاه"
725
 
726
+ #: ../admin/logs.php:173
727
  msgid "Comment Author"
728
  msgstr "نویسنده دیدگاه"
729
 
730
+ #: ../admin/logs.php:174
731
+ msgid "Comment Text"
732
+ msgstr "متن دیدگاه"
733
+
734
+ #: ../admin/logs.php:239
735
  msgid "Comment Likes Logs Stats"
736
  msgstr "وضعیت وقایع لایک در دیدگاه ها"
737
 
738
+ #: ../admin/logs.php:247
739
  msgid "Total Comments Liked:"
740
  msgstr "تعداد دیدگاه های لایک شده:"
741
 
742
+ #: ../admin/logs.php:302
743
  msgid "Activity ID"
744
  msgstr "شناسه فعالیت"
745
 
746
+ #: ../admin/logs.php:303
747
+ msgid "Permalink"
748
+ msgstr "لینک همیشگی"
749
+
750
+ #: ../admin/logs.php:339
751
+ #, php-format
752
+ msgid "<a href=\"%1$s\">Activity Permalink</a>"
753
+ msgstr "<a href=\"%1$s\">مشاهده فعالیت</a>"
754
+
755
+ #: ../admin/logs.php:365
756
  msgid "Activity Likes Logs Stats"
757
  msgstr "وضعیت وقایع لایک در فعالیت های بادی پرس"
758
 
759
+ #: ../admin/logs.php:373
760
  msgid "Total Activities Liked:"
761
  msgstr "مجموع فعالیت های لایک شده:"
762
 
763
+ #: ../inc/wp-functions.php:236
764
  msgid "WP ULike Activity"
765
  msgstr "فعالیت های وردپرس یولایک"
766
 
767
+ #: ../inc/wp-functions.php:246 ../inc/wp-functions.php:256
768
  msgid "liked"
769
  msgstr " پسندید"
770
 
771
+ #: ../inc/wp-functions.php:246
772
  msgid "comment"
773
  msgstr " را در دیدگاهش"
774
 
775
  #: ../inc/wp-strings.php:3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
776
  msgid "WP ULike - Most Liked Activities"
777
  msgstr "وردپرس یولایک - نمایش پرلایک ترین فعالیت های بادی پرس"
778
 
779
+ #: ../inc/wp-strings.php:4
780
  msgid "This widget allows you to show most liked activities."
781
  msgstr ""
782
  "با استفاده از این ابزارک، میتونید لیستی از پرلایک ترین فعالیت های بادی پرس "
783
  "رو به همراه تعداد لایک در هر فعالیت، نمایش بدید."
784
 
785
+ #: ../inc/wp-strings.php:5
786
  msgid "Most Liked Activities"
787
  msgstr "پرلایک ترین فعالیت ها"
788
 
789
+ #: ../inc/wp-strings.php:6
790
  msgid "Users Login Text"
791
  msgstr "متن ورود کاربران"
792
 
793
+ #: ../inc/wp-strings.php:7
794
  msgid "Allow To Like"
795
  msgstr "مجاز به لایک"
796
 
797
+ #: ../inc/wp-strings.php:8
798
  msgid "Guests Only"
799
  msgstr "فقط مهمانان"
800
 
801
+ #: ../inc/wp-strings.php:9
802
  msgid "Registered Users Only"
803
  msgstr "فقط کاربران عضو شده"
804
 
805
+ #: ../inc/wp-strings.php:10
806
  msgid "Registered Users And Guests"
807
  msgstr "کاربران عضو و مهمان"
808
 
809
+ #: ../inc/wp-strings.php:11
810
  msgid "Who Is Allowed To Like?"
811
  msgstr "چه کسی اجازه‌ی امتیاز دادن دارد؟"
812
 
813
+ #: ../inc/wp-strings.php:12
814
  msgid "Filter Options:"
815
  msgstr "گزینه‌های پالایش:"
816
 
817
+ #: ../inc/wp-strings.php:13
818
  msgid "Sort Options:"
819
  msgstr "گزینه‌های مرتب‌سازی"
820
 
821
+ #: ../inc/wp-strings.php:14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
822
  msgid "Themes"
823
  msgstr "قالب ها"
824
 
825
+ #: ../inc/wp-strings.php:15
826
  msgid "Dislike"
827
  msgstr "دیسلایک"
828
 
829
+ #: ../inc/wp-strings.php:16
830
  msgid "Dislike Support"
831
  msgstr "پشتیبانی از دیسلایک"
832
 
833
+ #: ../inc/wp-strings.php:17
834
  msgid "Text After Dislike"
835
  msgstr "متن پس از دیسلایک"
836
 
837
+ #: ../inc/wp-strings.php:18
838
  msgid "Show Counter"
839
  msgstr "نمایش شمارنده"
840
 
841
+ #: ../inc/wp-strings.php:19
842
  msgid "Show tooltips"
843
  msgstr "نمایش تولتیپ"
844
 
845
+ #: ../inc/wp-strings.php:20
 
 
 
 
 
 
 
 
 
 
 
 
846
  msgid "Alignment"
847
  msgstr "قرارگیری"
848
 
849
+ #: ../inc/wp-strings.php:21
850
  msgid "Left"
851
  msgstr "چپ"
852
 
853
+ #: ../inc/wp-strings.php:22
854
  msgid "Center"
855
  msgstr "وسط"
856
 
857
+ #: ../inc/wp-strings.php:23
858
  msgid "Right"
859
  msgstr "راست"
860
 
861
+ #: ../inc/wp-strings.php:24
862
  msgid "Cookie Life time"
863
  msgstr "عمر کوکی"
864
 
865
+ #: ../inc/wp-strings.php:25
866
  msgid "BuddyPress Notifications"
867
  msgstr "اطلاعیه های بادی پرس"
868
 
869
+ #: ../inc/wp-ulike-buddypress.php:45
870
  msgid "You need to login in order to like this activity: "
871
  msgstr "برای امتیاز دهی به این فعالیت، لطفا وارد شوید: "
872
 
873
+ #: ../inc/wp-ulike-buddypress.php:45 ../inc/wp-ulike-comments.php:45
874
+ #: ../inc/wp-ulike-posts.php:46
875
  msgid "click here"
876
  msgstr "برای ورود کلیک کنید"
877
 
878
+ #: ../inc/wp-ulike-comments.php:45
879
  msgid "You need to login in order to like this comment: "
880
  msgstr "برای امتیاز دهی به این دیدگاه، لطفا وارد شوید: "
881
 
882
+ #: ../inc/wp-ulike-posts.php:46
883
  msgid "You need to login in order to like this post: "
884
  msgstr "برای امتیاز دهی به این مطلب، لطفا وارد شوید: "
885
 
897
  "سفارشی سازی استایل ها و… تمامی قابلیت های یک سیستم خوب و حرفه ای رو در "
898
  "اختیار شما قرار میده."
899
 
900
+ #~ msgid ""
901
+ #~ "If you select \"Do Not Log\" or \"Logged By Cookie\" methods, you can't "
902
+ #~ "save any logs data and also users can not unlike/undislike."
903
+ #~ msgstr ""
904
+ #~ "در صورت انتخاب متد \"بدون وقایع نگاری\" و یا \"کوکی\"، هیچ وقایعی در "
905
+ #~ "پایگاه داده ذخیره نمی شود و کاربران اجازه لغو لایک را نخواهند داشت و به "
906
+ #~ "تعداد نا محدود می توانند لایک کنند."
907
+
908
+ #~ msgid "<strong>On all comments</strong> at the bottom of the comment"
909
+ #~ msgstr "<strong>نمایش در تمامی دیدگاه ها</strong> در زیر متن هر دیدگاه"
910
+
911
  #, fuzzy
912
  #~ msgid "WP ULike Template"
913
  #~ msgstr "تمپلیت وردپرس یولایک"
lang/alimir-fr_FR.mo CHANGED
Binary file
lang/alimir-fr_FR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-11-25 16:39+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Alimir <info@alimir.ir>\n"
8
  "Language-Team: \n"
@@ -100,276 +100,342 @@ msgid ""
100
  "wp-ulike\"> Plugin Directory reviews</a>"
101
  msgstr ""
102
 
103
- #: ../admin/admin.php:35
104
  msgid "WP ULike Settings"
105
  msgstr ""
106
 
107
- #: ../admin/admin.php:38 ../wp-ulike.php:16
108
  msgid "WP ULike"
109
  msgstr ""
110
 
111
- #: ../admin/admin.php:43
112
  msgid "General"
113
  msgstr ""
114
 
115
- #: ../admin/admin.php:47
116
  msgid "Button Type"
117
  msgstr ""
118
 
119
- #: ../admin/admin.php:50
120
  msgid "Icon"
121
  msgstr ""
122
 
123
- #: ../admin/admin.php:51
124
  msgid "Text"
125
  msgstr ""
126
 
127
- #: ../admin/admin.php:55 ../admin/classes/class-widget.php:106
128
  msgid "Like"
129
  msgstr ""
130
 
131
- #: ../admin/admin.php:56
132
  msgid "Button Text"
133
  msgstr ""
134
 
135
- #: ../admin/admin.php:60
136
  msgid "Button Icon"
137
  msgstr ""
138
 
139
- #: ../admin/admin.php:61 ../admin/admin.php:250
140
  msgid "Best size: 16x16"
141
  msgstr ""
142
 
143
- #: ../admin/admin.php:66
144
  msgid "Format Number"
145
  msgstr ""
146
 
147
- #: ../admin/admin.php:67 ../admin/admin.php:107 ../admin/admin.php:114
148
- #: ../admin/admin.php:143 ../admin/admin.php:150 ../admin/admin.php:179
149
- #: ../admin/admin.php:186 ../admin/admin.php:193 ../admin/admin.php:215
150
- #: ../admin/admin.php:261 ../admin/admin.php:268 ../admin/admin.php:275
 
 
151
  msgid "Activate"
152
  msgstr ""
153
 
154
- #: ../admin/admin.php:68
155
  msgid "Convert numbers of Likes with string (kilobyte) format."
156
  msgstr ""
157
 
158
- #: ../admin/admin.php:71
159
  msgid "Unlike"
160
  msgstr ""
161
 
162
- #: ../admin/admin.php:72
163
  msgid "Text After Like"
164
  msgstr ""
165
 
166
- #: ../admin/admin.php:75
 
 
 
 
 
 
 
 
 
 
167
  msgid "Like Me Again!"
168
  msgstr ""
169
 
170
- #: ../admin/admin.php:76
171
  msgid "Text After Unlike"
172
  msgstr ""
173
 
174
- #: ../admin/admin.php:79
175
  msgid "You have not permission to unlike"
176
  msgstr ""
177
 
178
- #: ../admin/admin.php:80
179
  msgid "Permission Text"
180
  msgstr ""
181
 
182
- #: ../admin/admin.php:87
183
  msgid "Settings saved."
184
  msgstr ""
185
 
186
- #: ../admin/admin.php:94
187
  msgid "Posts"
188
  msgstr ""
189
 
190
- #: ../admin/admin.php:99 ../admin/admin.php:135 ../admin/admin.php:171
191
  msgid "Automatic display"
192
  msgstr "Affichage automatique"
193
 
194
- #: ../admin/admin.php:100
195
- msgid ""
196
- "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
197
- "post"
198
- msgstr ""
199
- "<strong>Pour tous les articles</strong> (accueil, archives, recherche) au "
200
- "fond de l'article."
201
-
202
- #: ../admin/admin.php:101
203
  msgid ""
204
  "If you disable this option, you have to put manually this code on wordpress "
205
  "while loop"
206
  msgstr ""
207
 
208
- #: ../admin/admin.php:106 ../admin/admin.php:142 ../admin/admin.php:178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
209
  msgid "Only registered Users"
210
  msgstr ""
211
 
212
- #: ../admin/admin.php:108
213
  msgid "<strong>Only</strong> registered users have permission to like posts."
214
  msgstr ""
215
 
216
- #: ../admin/admin.php:113 ../admin/admin.php:149 ../admin/admin.php:192
217
  msgid "Show Liked Users Box"
218
  msgstr ""
219
 
220
- #: ../admin/admin.php:115 ../admin/admin.php:151 ../admin/admin.php:194
221
  msgid ""
222
  "Active this option to show liked users avatars in the bottom of button like."
223
  msgstr ""
224
 
225
- #: ../admin/admin.php:120 ../admin/admin.php:156 ../admin/admin.php:199
226
  msgid "Size of Gravatars"
227
  msgstr ""
228
 
229
- #: ../admin/admin.php:121 ../admin/admin.php:157 ../admin/admin.php:200
230
  msgid "Size of Gravatars to return (max is 512)"
231
  msgstr ""
232
 
233
- #: ../admin/admin.php:124
234
  msgid "Users who have LIKED this post:"
235
  msgstr ""
236
 
237
- #: ../admin/admin.php:125 ../admin/admin.php:161 ../admin/admin.php:204
238
  msgid "Users Like Box Title"
239
  msgstr ""
240
 
241
- #: ../admin/admin.php:130
242
- msgid "Comments"
243
  msgstr ""
244
 
245
- #: ../admin/admin.php:136
246
- msgid "<strong>On all comments</strong> at the bottom of the comment"
247
- msgstr "<strong>Pour tous les commentaires</strong> au fond de commentaire."
 
 
 
 
 
 
248
 
249
- #: ../admin/admin.php:137
250
  msgid ""
251
  "If you disable this option, you have to put manually this code on comments "
252
  "text"
253
  msgstr ""
254
 
255
- #: ../admin/admin.php:144
256
  msgid ""
257
  "<strong>Only</strong> registered users have permission to like comments."
258
  msgstr ""
259
 
260
- #: ../admin/admin.php:160
261
  msgid "Users who have LIKED this comment:"
262
  msgstr ""
263
 
264
- #: ../admin/admin.php:166
265
  msgid "BuddyPress"
266
  msgstr ""
267
 
268
- #: ../admin/admin.php:172
269
  msgid "<strong>On all buddypress activities</strong> at the top of activity"
270
  msgstr ""
271
 
272
- #: ../admin/admin.php:173
273
  msgid ""
274
  "If you disable this option, you have to put manually this code on buddypres "
275
  "activities content"
276
  msgstr ""
277
 
278
- #: ../admin/admin.php:180
279
  msgid ""
280
  "<strong>Only</strong> registered users have permission to like activities."
281
  msgstr ""
282
 
283
- #: ../admin/admin.php:185
284
  msgid "BuddyPress Activity"
285
  msgstr ""
286
 
287
- #: ../admin/admin.php:187
288
  msgid "insert new likes in buddyPress activity page"
289
  msgstr ""
290
 
291
- #: ../admin/admin.php:203
292
  msgid "Users who have liked this activity:"
293
  msgstr ""
294
 
295
- #: ../admin/admin.php:209
296
  msgid "Customize"
297
  msgstr ""
298
 
299
- #: ../admin/admin.php:214
300
  msgid "Custom Style"
301
  msgstr ""
302
 
303
- #: ../admin/admin.php:219
304
  msgid "Active this option to see the custom style settings."
305
  msgstr ""
306
 
307
- #: ../admin/admin.php:223
308
  msgid "Button style"
309
  msgstr ""
310
 
311
- #: ../admin/admin.php:224 ../admin/admin.php:237
312
  msgid "Background"
313
  msgstr ""
314
 
315
- #: ../admin/admin.php:228 ../admin/admin.php:241
316
  msgid "Border Color"
317
  msgstr ""
318
 
319
- #: ../admin/admin.php:232 ../admin/admin.php:245
320
  msgid "Text Color"
321
  msgstr ""
322
 
323
- #: ../admin/admin.php:236
324
  msgid "Counter Style"
325
  msgstr ""
326
 
327
- #: ../admin/admin.php:249
328
  msgid "Loading Animation"
329
  msgstr ""
330
 
331
- #: ../admin/admin.php:255
332
  msgid "Dashboard"
333
  msgstr ""
334
 
335
- #: ../admin/admin.php:260
336
  msgid "Visit Post Logs Menu"
337
  msgstr ""
338
 
339
- #: ../admin/admin.php:262
340
  msgid "If you deactivate this option, \"Post Likes Logs\" Menu will hidden."
341
  msgstr ""
342
 
343
- #: ../admin/admin.php:267
344
  msgid "Visit Comment Logs Menu"
345
  msgstr ""
346
 
347
- #: ../admin/admin.php:269
348
  msgid "If you deactivate this option, \"Comment Likes Logs\" Menu will hidden."
349
  msgstr ""
350
 
351
- #: ../admin/admin.php:274
352
  msgid "Visit Activity Logs Menu"
353
  msgstr ""
354
 
355
- #: ../admin/admin.php:276
356
  msgid ""
357
  "If you deactivate this option, \"Activity Likes Logs\" Menu will hidden."
358
  msgstr ""
359
 
360
- #: ../admin/admin.php:288 ../admin/logs.php:34
361
  msgid "Post Likes Logs"
362
  msgstr ""
363
 
364
- #: ../admin/admin.php:292 ../admin/logs.php:147
365
  msgid "Comment Likes Logs"
366
  msgstr ""
367
 
368
- #: ../admin/admin.php:296 ../admin/logs.php:260
369
  msgid "Activity Likes Logs"
370
  msgstr ""
371
 
372
- #: ../admin/admin.php:299
373
  msgid "About WP ULike"
374
  msgstr ""
375
 
@@ -426,7 +492,8 @@ msgstr ""
426
  msgid "Most Liked Posts"
427
  msgstr ""
428
 
429
- #: ../admin/classes/class-widget.php:55 ../admin/classes/class-widget.php:136
 
430
  msgid "Title:"
431
  msgstr "Titre:"
432
 
@@ -434,43 +501,64 @@ msgstr "Titre:"
434
  msgid "Number of posts to show:"
435
  msgstr "Nombre d'articles à afficher:"
436
 
437
- #: ../admin/classes/class-widget.php:66 ../admin/classes/class-widget.php:152
 
438
  msgid "Activate Like Counter"
439
  msgstr ""
440
 
441
- #: ../admin/classes/class-widget.php:87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
442
  msgid "WP Ulike - Most Liked Users"
443
  msgstr ""
444
 
445
- #: ../admin/classes/class-widget.php:88
446
  msgid "This widget allows you to show most liked users avatars."
447
  msgstr ""
448
 
449
- #: ../admin/classes/class-widget.php:132
450
  msgid "Most Liked Users"
451
  msgstr ""
452
 
453
- #: ../admin/classes/class-widget.php:141
454
  msgid "Number of users to show:"
455
  msgstr ""
456
 
457
- #: ../admin/classes/class-widget.php:146
458
  msgid "User avatar size:"
459
  msgstr ""
460
 
461
- #: ../admin/logs.php:33 ../admin/logs.php:146 ../admin/logs.php:259
462
  msgid "WP ULike Logs"
463
  msgstr ""
464
 
465
- #: ../admin/logs.php:43 ../admin/logs.php:156 ../admin/logs.php:269
466
  msgid "ID"
467
  msgstr ""
468
 
469
- #: ../admin/logs.php:44 ../admin/logs.php:157 ../admin/logs.php:270
470
  msgid "Username"
471
  msgstr ""
472
 
473
- #: ../admin/logs.php:45 ../admin/logs.php:158 ../admin/logs.php:271
474
  msgid "Status"
475
  msgstr ""
476
 
@@ -482,186 +570,206 @@ msgstr ""
482
  msgid "Post Title"
483
  msgstr ""
484
 
485
- #: ../admin/logs.php:48 ../admin/logs.php:161 ../admin/logs.php:273
486
  msgid "Date / Time"
487
  msgstr ""
488
 
489
- #: ../admin/logs.php:49 ../admin/logs.php:162 ../admin/logs.php:274
490
  msgid "IP"
491
  msgstr ""
492
 
493
- #: ../admin/logs.php:96
494
  msgid "Post Likes Logs Stats"
495
  msgstr ""
496
 
497
- #: ../admin/logs.php:100 ../admin/logs.php:213 ../admin/logs.php:322
498
  msgid "Total Users Liked:"
499
  msgstr ""
500
 
501
- #: ../admin/logs.php:104
502
  msgid "Total Posts Liked:"
503
  msgstr ""
504
 
505
- #: ../admin/logs.php:108 ../admin/logs.php:221 ../admin/logs.php:330
506
  msgid "Total Likes Sum:"
507
  msgstr ""
508
 
509
- #: ../admin/logs.php:115 ../admin/logs.php:228 ../admin/logs.php:337
510
  msgid ""
511
  "<strong>ERROR:</strong> No Record Found. (This problem is created because "
512
  "you don't have any data on this table)"
513
  msgstr ""
514
 
515
- #: ../admin/logs.php:159
516
  msgid "Comment ID"
517
  msgstr ""
518
 
519
- #: ../admin/logs.php:160
520
  msgid "Comment Author"
521
  msgstr ""
522
 
523
- #: ../admin/logs.php:209
524
  msgid "Comment Likes Logs Stats"
525
  msgstr ""
526
 
527
- #: ../admin/logs.php:217
528
  msgid "Total Comments Liked:"
529
  msgstr ""
530
 
531
- #: ../admin/logs.php:272
532
  msgid "Activity ID"
533
  msgstr ""
534
 
535
- #: ../admin/logs.php:318
536
  msgid "Activity Likes Logs Stats"
537
  msgstr ""
538
 
539
- #: ../admin/logs.php:326
540
  msgid "Total Activities Liked:"
541
  msgstr ""
542
 
543
- #: ../inc/wp-functions.php:158
544
  msgid "WP ULike Activity"
545
  msgstr ""
546
 
547
- #: ../inc/wp-functions.php:168 ../inc/wp-functions.php:178
548
  msgid "liked"
549
  msgstr ""
550
 
551
- #: ../inc/wp-functions.php:168
552
  msgid "comment"
553
  msgstr ""
554
 
555
  #: ../inc/wp-strings.php:3
556
- msgid "WP Ulike - Most Liked Comments"
557
  msgstr ""
558
 
559
  #: ../inc/wp-strings.php:4
560
- msgid "This widget allows you to show most liked comments."
561
  msgstr ""
562
 
563
  #: ../inc/wp-strings.php:5
564
- msgid "Most Liked Comments"
565
  msgstr ""
566
 
567
  #: ../inc/wp-strings.php:6
568
- msgid "WP Ulike - Most Liked Activities"
569
  msgstr ""
570
 
571
  #: ../inc/wp-strings.php:7
572
- msgid "This widget allows you to show most liked activities."
573
  msgstr ""
574
 
575
  #: ../inc/wp-strings.php:8
576
- msgid "Most Liked Activities"
577
  msgstr ""
578
 
579
  #: ../inc/wp-strings.php:9
580
- msgid "Users Login Text"
581
  msgstr ""
582
 
583
  #: ../inc/wp-strings.php:10
584
- msgid "Allow To Like"
585
  msgstr ""
586
 
587
  #: ../inc/wp-strings.php:11
588
- msgid "Guests Only"
589
  msgstr ""
590
 
591
  #: ../inc/wp-strings.php:12
592
- msgid "Registered Users Only"
593
  msgstr ""
594
 
595
  #: ../inc/wp-strings.php:13
596
- msgid "Registered Users And Guests"
597
  msgstr ""
598
 
599
  #: ../inc/wp-strings.php:14
600
- msgid "Who Is Allowed To Like?"
601
  msgstr ""
602
 
603
  #: ../inc/wp-strings.php:15
604
- msgid "Filter Options:"
605
  msgstr ""
606
 
607
  #: ../inc/wp-strings.php:16
608
- msgid "Sort Options:"
609
  msgstr ""
610
 
611
  #: ../inc/wp-strings.php:17
612
- msgid "Logging Method"
613
  msgstr ""
614
 
615
  #: ../inc/wp-strings.php:18
616
- msgid "Do Not Log"
617
  msgstr ""
618
 
619
  #: ../inc/wp-strings.php:19
620
- msgid "Logged By Cookie"
621
  msgstr ""
622
 
623
  #: ../inc/wp-strings.php:20
624
- msgid "Logged By IP"
625
  msgstr ""
626
 
627
  #: ../inc/wp-strings.php:21
628
- msgid "Logged By Cookie & IP"
629
  msgstr ""
630
 
631
  #: ../inc/wp-strings.php:22
632
- msgid "Logged By Username"
633
  msgstr ""
634
 
635
  #: ../inc/wp-strings.php:23
636
- msgid "Wp ULike Template"
637
  msgstr ""
638
 
639
  #: ../inc/wp-strings.php:24
640
- msgid "Dislike"
641
  msgstr ""
642
 
643
  #: ../inc/wp-strings.php:25
644
- msgid "Dislike Support"
645
  msgstr ""
646
 
647
  #: ../inc/wp-strings.php:26
648
- msgid "Text After Dislike"
649
  msgstr ""
650
 
651
- #: ../inc/wp-ulike-buddypress.php:73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
652
  msgid "You need to login in order to like this activity: "
653
  msgstr ""
654
 
655
- #: ../inc/wp-ulike-buddypress.php:73 ../inc/wp-ulike-comments.php:73
656
- #: ../inc/wp-ulike-posts.php:75
657
  msgid "click here"
658
  msgstr ""
659
 
660
- #: ../inc/wp-ulike-comments.php:73
661
  msgid "You need to login in order to like this comment: "
662
  msgstr ""
663
 
664
- #: ../inc/wp-ulike-posts.php:75
665
  msgid "You need to login in order to like this post: "
666
  msgstr ""
667
 
@@ -673,6 +781,16 @@ msgid ""
673
  "options."
674
  msgstr ""
675
 
 
 
 
 
 
 
 
 
 
 
676
  #~ msgid "Configuration"
677
  #~ msgstr "Configuration"
678
 
@@ -682,9 +800,6 @@ msgstr ""
682
  #~ msgid "wherever you want in your template."
683
  #~ msgstr "n'importe où vous le souhaitez dans votre thème."
684
 
685
- #~ msgid "Show post count"
686
- #~ msgstr "Afficher le nombre d'articles"
687
-
688
  #~ msgid "jQuery framework"
689
  #~ msgstr "Librairie jQuery"
690
 
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-12-03 11:53+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Alimir <info@alimir.ir>\n"
8
  "Language-Team: \n"
100
  "wp-ulike\"> Plugin Directory reviews</a>"
101
  msgstr ""
102
 
103
+ #: ../admin/admin.php:36
104
  msgid "WP ULike Settings"
105
  msgstr ""
106
 
107
+ #: ../admin/admin.php:39 ../wp-ulike.php:16
108
  msgid "WP ULike"
109
  msgstr ""
110
 
111
+ #: ../admin/admin.php:44
112
  msgid "General"
113
  msgstr ""
114
 
115
+ #: ../admin/admin.php:48
116
  msgid "Button Type"
117
  msgstr ""
118
 
119
+ #: ../admin/admin.php:51
120
  msgid "Icon"
121
  msgstr ""
122
 
123
+ #: ../admin/admin.php:52
124
  msgid "Text"
125
  msgstr ""
126
 
127
+ #: ../admin/admin.php:56 ../admin/classes/class-widget.php:189
128
  msgid "Like"
129
  msgstr ""
130
 
131
+ #: ../admin/admin.php:57
132
  msgid "Button Text"
133
  msgstr ""
134
 
135
+ #: ../admin/admin.php:61
136
  msgid "Button Icon"
137
  msgstr ""
138
 
139
+ #: ../admin/admin.php:62 ../admin/admin.php:314
140
  msgid "Best size: 16x16"
141
  msgstr ""
142
 
143
+ #: ../admin/admin.php:67
144
  msgid "Format Number"
145
  msgstr ""
146
 
147
+ #: ../admin/admin.php:68 ../admin/admin.php:79 ../admin/admin.php:108
148
+ #: ../admin/admin.php:140 ../admin/admin.php:147 ../admin/admin.php:164
149
+ #: ../admin/admin.php:176 ../admin/admin.php:193 ../admin/admin.php:200
150
+ #: ../admin/admin.php:217 ../admin/admin.php:236 ../admin/admin.php:243
151
+ #: ../admin/admin.php:250 ../admin/admin.php:267 ../admin/admin.php:279
152
+ #: ../admin/admin.php:325 ../admin/admin.php:332 ../admin/admin.php:339
153
  msgid "Activate"
154
  msgstr ""
155
 
156
+ #: ../admin/admin.php:69
157
  msgid "Convert numbers of Likes with string (kilobyte) format."
158
  msgstr ""
159
 
160
+ #: ../admin/admin.php:72
161
  msgid "Unlike"
162
  msgstr ""
163
 
164
+ #: ../admin/admin.php:73
165
  msgid "Text After Like"
166
  msgstr ""
167
 
168
+ #: ../admin/admin.php:78
169
+ msgid "Return To The Initial"
170
+ msgstr ""
171
+
172
+ #: ../admin/admin.php:80
173
+ msgid ""
174
+ "Return to the initial Like button after Unlike. (Not Showing text after "
175
+ "unlike)"
176
+ msgstr ""
177
+
178
+ #: ../admin/admin.php:83
179
  msgid "Like Me Again!"
180
  msgstr ""
181
 
182
+ #: ../admin/admin.php:84
183
  msgid "Text After Unlike"
184
  msgstr ""
185
 
186
+ #: ../admin/admin.php:87
187
  msgid "You have not permission to unlike"
188
  msgstr ""
189
 
190
+ #: ../admin/admin.php:88
191
  msgid "Permission Text"
192
  msgstr ""
193
 
194
+ #: ../admin/admin.php:95
195
  msgid "Settings saved."
196
  msgstr ""
197
 
198
+ #: ../admin/admin.php:102
199
  msgid "Posts"
200
  msgstr ""
201
 
202
+ #: ../admin/admin.php:107 ../admin/admin.php:175 ../admin/admin.php:228
203
  msgid "Automatic display"
204
  msgstr "Affichage automatique"
205
 
206
+ #: ../admin/admin.php:109
 
 
 
 
 
 
 
 
207
  msgid ""
208
  "If you disable this option, you have to put manually this code on wordpress "
209
  "while loop"
210
  msgstr ""
211
 
212
+ #: ../admin/admin.php:113 ../admin/admin.php:181
213
+ msgid "Auto Display Position"
214
+ msgstr ""
215
+
216
+ #: ../admin/admin.php:116 ../admin/admin.php:184
217
+ msgid "Top of Content"
218
+ msgstr ""
219
+
220
+ #: ../admin/admin.php:117 ../admin/admin.php:185
221
+ msgid "Bottom of Content"
222
+ msgstr ""
223
+
224
+ #: ../admin/admin.php:118 ../admin/admin.php:186
225
+ msgid "Top and Bottom"
226
+ msgstr ""
227
+
228
+ #: ../admin/admin.php:123
229
+ msgid "Auto Display Filter"
230
+ msgstr ""
231
+
232
+ #: ../admin/admin.php:125
233
+ msgid "Home"
234
+ msgstr ""
235
+
236
+ #: ../admin/admin.php:126
237
+ msgid "Single Posts"
238
+ msgstr ""
239
+
240
+ #: ../admin/admin.php:127
241
+ msgid "Pages"
242
+ msgstr ""
243
+
244
+ #: ../admin/admin.php:128
245
+ msgid "Archives"
246
+ msgstr ""
247
+
248
+ #: ../admin/admin.php:129
249
+ msgid "Categories"
250
+ msgstr ""
251
+
252
+ #: ../admin/admin.php:130
253
+ msgid "Search Results"
254
+ msgstr ""
255
+
256
+ #: ../admin/admin.php:131
257
+ msgid "Tags"
258
+ msgstr ""
259
+
260
+ #: ../admin/admin.php:132
261
+ msgid "Author Page"
262
+ msgstr ""
263
+
264
+ #: ../admin/admin.php:134
265
+ msgid "You can filter theses pages on auto display option."
266
+ msgstr ""
267
+
268
+ #: ../admin/admin.php:139 ../admin/admin.php:192 ../admin/admin.php:235
269
  msgid "Only registered Users"
270
  msgstr ""
271
 
272
+ #: ../admin/admin.php:141
273
  msgid "<strong>Only</strong> registered users have permission to like posts."
274
  msgstr ""
275
 
276
+ #: ../admin/admin.php:146 ../admin/admin.php:199 ../admin/admin.php:249
277
  msgid "Show Liked Users Box"
278
  msgstr ""
279
 
280
+ #: ../admin/admin.php:148 ../admin/admin.php:201 ../admin/admin.php:251
281
  msgid ""
282
  "Active this option to show liked users avatars in the bottom of button like."
283
  msgstr ""
284
 
285
+ #: ../admin/admin.php:153 ../admin/admin.php:206 ../admin/admin.php:256
286
  msgid "Size of Gravatars"
287
  msgstr ""
288
 
289
+ #: ../admin/admin.php:154 ../admin/admin.php:207 ../admin/admin.php:257
290
  msgid "Size of Gravatars to return (max is 512)"
291
  msgstr ""
292
 
293
+ #: ../admin/admin.php:157
294
  msgid "Users who have LIKED this post:"
295
  msgstr ""
296
 
297
+ #: ../admin/admin.php:158 ../admin/admin.php:211 ../admin/admin.php:261
298
  msgid "Users Like Box Title"
299
  msgstr ""
300
 
301
+ #: ../admin/admin.php:163 ../admin/admin.php:216 ../admin/admin.php:266
302
+ msgid "Add Guest Data"
303
  msgstr ""
304
 
305
+ #: ../admin/admin.php:165 ../admin/admin.php:218 ../admin/admin.php:268
306
+ msgid ""
307
+ "Add guest data to the plugin database table. (If you activate this option, "
308
+ "the guests has permission to unlike)"
309
+ msgstr ""
310
+
311
+ #: ../admin/admin.php:170
312
+ msgid "Comments"
313
+ msgstr ""
314
 
315
+ #: ../admin/admin.php:177
316
  msgid ""
317
  "If you disable this option, you have to put manually this code on comments "
318
  "text"
319
  msgstr ""
320
 
321
+ #: ../admin/admin.php:194
322
  msgid ""
323
  "<strong>Only</strong> registered users have permission to like comments."
324
  msgstr ""
325
 
326
+ #: ../admin/admin.php:210
327
  msgid "Users who have LIKED this comment:"
328
  msgstr ""
329
 
330
+ #: ../admin/admin.php:223
331
  msgid "BuddyPress"
332
  msgstr ""
333
 
334
+ #: ../admin/admin.php:229
335
  msgid "<strong>On all buddypress activities</strong> at the top of activity"
336
  msgstr ""
337
 
338
+ #: ../admin/admin.php:230
339
  msgid ""
340
  "If you disable this option, you have to put manually this code on buddypres "
341
  "activities content"
342
  msgstr ""
343
 
344
+ #: ../admin/admin.php:237
345
  msgid ""
346
  "<strong>Only</strong> registered users have permission to like activities."
347
  msgstr ""
348
 
349
+ #: ../admin/admin.php:242
350
  msgid "BuddyPress Activity"
351
  msgstr ""
352
 
353
+ #: ../admin/admin.php:244
354
  msgid "insert new likes in buddyPress activity page"
355
  msgstr ""
356
 
357
+ #: ../admin/admin.php:260
358
  msgid "Users who have liked this activity:"
359
  msgstr ""
360
 
361
+ #: ../admin/admin.php:273
362
  msgid "Customize"
363
  msgstr ""
364
 
365
+ #: ../admin/admin.php:278
366
  msgid "Custom Style"
367
  msgstr ""
368
 
369
+ #: ../admin/admin.php:283
370
  msgid "Active this option to see the custom style settings."
371
  msgstr ""
372
 
373
+ #: ../admin/admin.php:287
374
  msgid "Button style"
375
  msgstr ""
376
 
377
+ #: ../admin/admin.php:288 ../admin/admin.php:301
378
  msgid "Background"
379
  msgstr ""
380
 
381
+ #: ../admin/admin.php:292 ../admin/admin.php:305
382
  msgid "Border Color"
383
  msgstr ""
384
 
385
+ #: ../admin/admin.php:296 ../admin/admin.php:309
386
  msgid "Text Color"
387
  msgstr ""
388
 
389
+ #: ../admin/admin.php:300
390
  msgid "Counter Style"
391
  msgstr ""
392
 
393
+ #: ../admin/admin.php:313
394
  msgid "Loading Animation"
395
  msgstr ""
396
 
397
+ #: ../admin/admin.php:319
398
  msgid "Dashboard"
399
  msgstr ""
400
 
401
+ #: ../admin/admin.php:324
402
  msgid "Visit Post Logs Menu"
403
  msgstr ""
404
 
405
+ #: ../admin/admin.php:326
406
  msgid "If you deactivate this option, \"Post Likes Logs\" Menu will hidden."
407
  msgstr ""
408
 
409
+ #: ../admin/admin.php:331
410
  msgid "Visit Comment Logs Menu"
411
  msgstr ""
412
 
413
+ #: ../admin/admin.php:333
414
  msgid "If you deactivate this option, \"Comment Likes Logs\" Menu will hidden."
415
  msgstr ""
416
 
417
+ #: ../admin/admin.php:338
418
  msgid "Visit Activity Logs Menu"
419
  msgstr ""
420
 
421
+ #: ../admin/admin.php:340
422
  msgid ""
423
  "If you deactivate this option, \"Activity Likes Logs\" Menu will hidden."
424
  msgstr ""
425
 
426
+ #: ../admin/admin.php:352 ../admin/logs.php:34
427
  msgid "Post Likes Logs"
428
  msgstr ""
429
 
430
+ #: ../admin/admin.php:356 ../admin/logs.php:150
431
  msgid "Comment Likes Logs"
432
  msgstr ""
433
 
434
+ #: ../admin/admin.php:360 ../admin/logs.php:266
435
  msgid "Activity Likes Logs"
436
  msgstr ""
437
 
438
+ #: ../admin/admin.php:363
439
  msgid "About WP ULike"
440
  msgstr ""
441
 
492
  msgid "Most Liked Posts"
493
  msgstr ""
494
 
495
+ #: ../admin/classes/class-widget.php:55 ../admin/classes/class-widget.php:138
496
+ #: ../admin/classes/class-widget.php:219
497
  msgid "Title:"
498
  msgstr "Titre:"
499
 
501
  msgid "Number of posts to show:"
502
  msgstr "Nombre d'articles à afficher:"
503
 
504
+ #: ../admin/classes/class-widget.php:66 ../admin/classes/class-widget.php:149
505
+ #: ../admin/classes/class-widget.php:235
506
  msgid "Activate Like Counter"
507
  msgstr ""
508
 
509
+ #: ../admin/classes/class-widget.php:88
510
+ msgid "WP ULike - Most Liked Comments"
511
+ msgstr ""
512
+
513
+ #: ../admin/classes/class-widget.php:89
514
+ msgid "This widget allows you to show most liked comments."
515
+ msgstr ""
516
+
517
+ #: ../admin/classes/class-widget.php:109
518
+ msgid "on"
519
+ msgstr ""
520
+
521
+ #: ../admin/classes/class-widget.php:134
522
+ msgid "Most Liked Comments"
523
+ msgstr ""
524
+
525
+ #: ../admin/classes/class-widget.php:143
526
+ msgid "Number of comments to show:"
527
+ msgstr ""
528
+
529
+ #: ../admin/classes/class-widget.php:170
530
  msgid "WP Ulike - Most Liked Users"
531
  msgstr ""
532
 
533
+ #: ../admin/classes/class-widget.php:171
534
  msgid "This widget allows you to show most liked users avatars."
535
  msgstr ""
536
 
537
+ #: ../admin/classes/class-widget.php:215
538
  msgid "Most Liked Users"
539
  msgstr ""
540
 
541
+ #: ../admin/classes/class-widget.php:224
542
  msgid "Number of users to show:"
543
  msgstr ""
544
 
545
+ #: ../admin/classes/class-widget.php:229
546
  msgid "User avatar size:"
547
  msgstr ""
548
 
549
+ #: ../admin/logs.php:33 ../admin/logs.php:149 ../admin/logs.php:265
550
  msgid "WP ULike Logs"
551
  msgstr ""
552
 
553
+ #: ../admin/logs.php:43 ../admin/logs.php:159 ../admin/logs.php:275
554
  msgid "ID"
555
  msgstr ""
556
 
557
+ #: ../admin/logs.php:44 ../admin/logs.php:160 ../admin/logs.php:276
558
  msgid "Username"
559
  msgstr ""
560
 
561
+ #: ../admin/logs.php:45 ../admin/logs.php:161 ../admin/logs.php:277
562
  msgid "Status"
563
  msgstr ""
564
 
570
  msgid "Post Title"
571
  msgstr ""
572
 
573
+ #: ../admin/logs.php:48 ../admin/logs.php:164 ../admin/logs.php:279
574
  msgid "Date / Time"
575
  msgstr ""
576
 
577
+ #: ../admin/logs.php:49 ../admin/logs.php:165 ../admin/logs.php:280
578
  msgid "IP"
579
  msgstr ""
580
 
581
+ #: ../admin/logs.php:99
582
  msgid "Post Likes Logs Stats"
583
  msgstr ""
584
 
585
+ #: ../admin/logs.php:103 ../admin/logs.php:219 ../admin/logs.php:331
586
  msgid "Total Users Liked:"
587
  msgstr ""
588
 
589
+ #: ../admin/logs.php:107
590
  msgid "Total Posts Liked:"
591
  msgstr ""
592
 
593
+ #: ../admin/logs.php:111 ../admin/logs.php:227 ../admin/logs.php:339
594
  msgid "Total Likes Sum:"
595
  msgstr ""
596
 
597
+ #: ../admin/logs.php:118 ../admin/logs.php:234 ../admin/logs.php:346
598
  msgid ""
599
  "<strong>ERROR:</strong> No Record Found. (This problem is created because "
600
  "you don't have any data on this table)"
601
  msgstr ""
602
 
603
+ #: ../admin/logs.php:162
604
  msgid "Comment ID"
605
  msgstr ""
606
 
607
+ #: ../admin/logs.php:163
608
  msgid "Comment Author"
609
  msgstr ""
610
 
611
+ #: ../admin/logs.php:215
612
  msgid "Comment Likes Logs Stats"
613
  msgstr ""
614
 
615
+ #: ../admin/logs.php:223
616
  msgid "Total Comments Liked:"
617
  msgstr ""
618
 
619
+ #: ../admin/logs.php:278
620
  msgid "Activity ID"
621
  msgstr ""
622
 
623
+ #: ../admin/logs.php:327
624
  msgid "Activity Likes Logs Stats"
625
  msgstr ""
626
 
627
+ #: ../admin/logs.php:335
628
  msgid "Total Activities Liked:"
629
  msgstr ""
630
 
631
+ #: ../inc/wp-functions.php:216
632
  msgid "WP ULike Activity"
633
  msgstr ""
634
 
635
+ #: ../inc/wp-functions.php:226 ../inc/wp-functions.php:236
636
  msgid "liked"
637
  msgstr ""
638
 
639
+ #: ../inc/wp-functions.php:226
640
  msgid "comment"
641
  msgstr ""
642
 
643
  #: ../inc/wp-strings.php:3
644
+ msgid "WP ULike - Most Liked Activities"
645
  msgstr ""
646
 
647
  #: ../inc/wp-strings.php:4
648
+ msgid "This widget allows you to show most liked activities."
649
  msgstr ""
650
 
651
  #: ../inc/wp-strings.php:5
652
+ msgid "Most Liked Activities"
653
  msgstr ""
654
 
655
  #: ../inc/wp-strings.php:6
656
+ msgid "Users Login Text"
657
  msgstr ""
658
 
659
  #: ../inc/wp-strings.php:7
660
+ msgid "Allow To Like"
661
  msgstr ""
662
 
663
  #: ../inc/wp-strings.php:8
664
+ msgid "Guests Only"
665
  msgstr ""
666
 
667
  #: ../inc/wp-strings.php:9
668
+ msgid "Registered Users Only"
669
  msgstr ""
670
 
671
  #: ../inc/wp-strings.php:10
672
+ msgid "Registered Users And Guests"
673
  msgstr ""
674
 
675
  #: ../inc/wp-strings.php:11
676
+ msgid "Who Is Allowed To Like?"
677
  msgstr ""
678
 
679
  #: ../inc/wp-strings.php:12
680
+ msgid "Filter Options:"
681
  msgstr ""
682
 
683
  #: ../inc/wp-strings.php:13
684
+ msgid "Sort Options:"
685
  msgstr ""
686
 
687
  #: ../inc/wp-strings.php:14
688
+ msgid "Logging Method"
689
  msgstr ""
690
 
691
  #: ../inc/wp-strings.php:15
692
+ msgid "Do Not Log"
693
  msgstr ""
694
 
695
  #: ../inc/wp-strings.php:16
696
+ msgid "Logged By Cookie"
697
  msgstr ""
698
 
699
  #: ../inc/wp-strings.php:17
700
+ msgid "Logged By IP"
701
  msgstr ""
702
 
703
  #: ../inc/wp-strings.php:18
704
+ msgid "Logged By Cookie & IP"
705
  msgstr ""
706
 
707
  #: ../inc/wp-strings.php:19
708
+ msgid "Logged By Username"
709
  msgstr ""
710
 
711
  #: ../inc/wp-strings.php:20
712
+ msgid "Themes"
713
  msgstr ""
714
 
715
  #: ../inc/wp-strings.php:21
716
+ msgid "Dislike"
717
  msgstr ""
718
 
719
  #: ../inc/wp-strings.php:22
720
+ msgid "Dislike Support"
721
  msgstr ""
722
 
723
  #: ../inc/wp-strings.php:23
724
+ msgid "Text After Dislike"
725
  msgstr ""
726
 
727
  #: ../inc/wp-strings.php:24
728
+ msgid "Show Counter"
729
  msgstr ""
730
 
731
  #: ../inc/wp-strings.php:25
732
+ msgid "Show tooltips"
733
  msgstr ""
734
 
735
  #: ../inc/wp-strings.php:26
736
+ msgid "Alignment"
737
  msgstr ""
738
 
739
+ #: ../inc/wp-strings.php:27
740
+ msgid "Left"
741
+ msgstr ""
742
+
743
+ #: ../inc/wp-strings.php:28
744
+ msgid "Center"
745
+ msgstr ""
746
+
747
+ #: ../inc/wp-strings.php:29
748
+ msgid "Right"
749
+ msgstr ""
750
+
751
+ #: ../inc/wp-strings.php:30
752
+ msgid "Cookie Life time"
753
+ msgstr ""
754
+
755
+ #: ../inc/wp-strings.php:31
756
+ msgid "BuddyPress Notifications"
757
+ msgstr ""
758
+
759
+ #: ../inc/wp-ulike-buddypress.php:83
760
  msgid "You need to login in order to like this activity: "
761
  msgstr ""
762
 
763
+ #: ../inc/wp-ulike-buddypress.php:83 ../inc/wp-ulike-comments.php:83
764
+ #: ../inc/wp-ulike-posts.php:37
765
  msgid "click here"
766
  msgstr ""
767
 
768
+ #: ../inc/wp-ulike-comments.php:83
769
  msgid "You need to login in order to like this comment: "
770
  msgstr ""
771
 
772
+ #: ../inc/wp-ulike-posts.php:37
773
  msgid "You need to login in order to like this post: "
774
  msgstr ""
775
 
781
  "options."
782
  msgstr ""
783
 
784
+ #~ msgid ""
785
+ #~ "<strong>On all posts</strong> (home, archives, search) at the bottom of "
786
+ #~ "the post"
787
+ #~ msgstr ""
788
+ #~ "<strong>Pour tous les articles</strong> (accueil, archives, recherche) au "
789
+ #~ "fond de l'article."
790
+
791
+ #~ msgid "<strong>On all comments</strong> at the bottom of the comment"
792
+ #~ msgstr "<strong>Pour tous les commentaires</strong> au fond de commentaire."
793
+
794
  #~ msgid "Configuration"
795
  #~ msgstr "Configuration"
796
 
800
  #~ msgid "wherever you want in your template."
801
  #~ msgstr "n'importe où vous le souhaitez dans votre thème."
802
 
 
 
 
803
  #~ msgid "jQuery framework"
804
  #~ msgstr "Librairie jQuery"
805
 
lang/alimir-nl_NL.mo CHANGED
Binary file
lang/alimir-nl_NL.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
- "POT-Creation-Date: 2014-11-25 12:57+0330\n"
5
- "PO-Revision-Date: 2014-11-25 12:58+0330\n"
6
  "Last-Translator: Alimir <info@alimir.ir>\n"
7
  "Language-Team: \n"
8
  "Language: nl\n"
@@ -26,14 +26,15 @@ msgid ""
26
  "Thank you for choosing WP ULike! This version is our leanest and most "
27
  "powerful version yet."
28
  msgstr ""
 
29
 
30
  #: ../admin/about.php:48
31
  msgid "Visit our homepage"
32
- msgstr ""
33
 
34
  #: ../admin/about.php:53
35
  msgid "Getting Started"
36
- msgstr ""
37
 
38
  #: ../admin/about.php:54
39
  msgid "Credits"
@@ -41,51 +42,51 @@ msgstr "Met dank aan"
41
 
42
  #: ../admin/about.php:55
43
  msgid "Support"
44
- msgstr ""
45
 
46
  #: ../admin/about.php:56
47
  msgid "FAQ"
48
- msgstr ""
49
 
50
  #: ../admin/about.php:57
51
  msgid "Reviews"
52
- msgstr ""
53
 
54
  #: ../admin/about.php:58
55
  msgid "Contact"
56
- msgstr ""
57
 
58
  #: ../admin/about.php:70
59
  msgid "Novelty Of WP ULike"
60
- msgstr ""
61
 
62
  #: ../admin/about.php:74
63
  msgid "New setting panel"
64
- msgstr ""
65
 
66
  #: ../admin/about.php:79
67
  msgid "Better coding on plugin files"
68
- msgstr ""
69
 
70
  #: ../admin/about.php:86
71
  msgid "Buddypress likes support"
72
- msgstr ""
73
 
74
  #: ../admin/about.php:91
75
  msgid "Likes logs support"
76
- msgstr ""
77
 
78
  #: ../admin/about.php:100
79
  msgid "WP ULike is created by many love and time. Enjoy it :)"
80
- msgstr ""
81
 
82
  #: ../admin/about.php:101
83
  msgid "Project Leaders"
84
- msgstr ""
85
 
86
  #: ../admin/about.php:106
87
  msgid "Project Lead & Developer"
88
- msgstr ""
89
 
90
  #: ../admin/about.php:110
91
  msgid "Translations"
@@ -103,154 +104,200 @@ msgstr ""
103
  "Geef hem een 5 sterren rating op in <a href=\"http://wordpress.org/plugins/"
104
  "wp-ulike\"> Plugin Directory reviews</a>"
105
 
106
- #: ../admin/admin.php:35
107
  msgid "WP ULike Settings"
108
- msgstr ""
109
 
110
- #: ../admin/admin.php:38 ../wp-ulike.php:16
111
  msgid "WP ULike"
112
  msgstr "WP ULike"
113
 
114
- #: ../admin/admin.php:43
115
  msgid "General"
116
- msgstr ""
117
 
118
- #: ../admin/admin.php:47
119
  msgid "Button Type"
120
- msgstr ""
121
 
122
- #: ../admin/admin.php:50
123
  msgid "Icon"
124
- msgstr ""
125
 
126
- #: ../admin/admin.php:51
127
  msgid "Text"
128
- msgstr ""
129
 
130
- #: ../admin/admin.php:55 ../admin/classes/class-widget.php:106
131
  msgid "Like"
132
  msgstr "Vind ik leuk"
133
 
134
- #: ../admin/admin.php:56
135
  msgid "Button Text"
136
- msgstr ""
137
 
138
- #: ../admin/admin.php:60
139
  msgid "Button Icon"
140
- msgstr ""
141
 
142
- #: ../admin/admin.php:61 ../admin/admin.php:250
143
  msgid "Best size: 16x16"
144
- msgstr ""
145
 
146
- #: ../admin/admin.php:66
147
  msgid "Format Number"
148
  msgstr "Formaat van aantal likes"
149
 
150
- #: ../admin/admin.php:67 ../admin/admin.php:107 ../admin/admin.php:114
151
- #: ../admin/admin.php:143 ../admin/admin.php:150 ../admin/admin.php:179
152
- #: ../admin/admin.php:186 ../admin/admin.php:193 ../admin/admin.php:215
153
- #: ../admin/admin.php:261 ../admin/admin.php:268 ../admin/admin.php:275
 
154
  msgid "Activate"
155
  msgstr "Activeren"
156
 
157
- #: ../admin/admin.php:68
158
  msgid "Convert numbers of Likes with string (kilobyte) format."
159
  msgstr "Zet aantal likes om naar string (kilobyte) formaat."
160
 
161
- #: ../admin/admin.php:71
162
  msgid "Unlike"
163
- msgstr ""
164
 
165
- #: ../admin/admin.php:72
166
  msgid "Text After Like"
167
- msgstr ""
168
 
169
- #: ../admin/admin.php:75
170
  msgid "Like Me Again!"
171
- msgstr ""
172
 
173
- #: ../admin/admin.php:76
174
  msgid "Text After Unlike"
175
- msgstr ""
176
 
177
- #: ../admin/admin.php:79
178
  msgid "You have not permission to unlike"
179
- msgstr ""
180
 
181
- #: ../admin/admin.php:80
182
  msgid "Permission Text"
183
- msgstr ""
184
 
185
- #: ../admin/admin.php:87
186
  msgid "Settings saved."
187
  msgstr "Instellingen opgeslagen."
188
 
189
- #: ../admin/admin.php:94
190
  msgid "Posts"
191
- msgstr ""
192
 
193
- #: ../admin/admin.php:99 ../admin/admin.php:135 ../admin/admin.php:171
194
  msgid "Automatic display"
195
  msgstr "Automatisch tonen"
196
 
197
- #: ../admin/admin.php:100
198
- msgid ""
199
- "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
200
- "post"
201
- msgstr ""
202
- "<strong>Bij alle berichten</strong> (home, archief, zoeken) onderaan het "
203
- "bericht"
204
-
205
- #: ../admin/admin.php:101
206
  msgid ""
207
  "If you disable this option, you have to put manually this code on wordpress "
208
  "while loop"
209
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
 
211
- #: ../admin/admin.php:106 ../admin/admin.php:142 ../admin/admin.php:178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
  msgid "Only registered Users"
213
  msgstr "Alleen geregistreerde gebruikers"
214
 
215
- #: ../admin/admin.php:108
216
  msgid "<strong>Only</strong> registered users have permission to like posts."
217
  msgstr ""
218
  "<strong>Alleen</strong> geregistreerde gebruikers mogen deze post likes."
219
 
220
- #: ../admin/admin.php:113 ../admin/admin.php:149 ../admin/admin.php:192
221
  msgid "Show Liked Users Box"
222
- msgstr ""
223
 
224
- #: ../admin/admin.php:115 ../admin/admin.php:151 ../admin/admin.php:194
225
  msgid ""
226
  "Active this option to show liked users avatars in the bottom of button like."
227
- msgstr ""
228
 
229
- #: ../admin/admin.php:120 ../admin/admin.php:156 ../admin/admin.php:199
230
  msgid "Size of Gravatars"
231
- msgstr ""
232
 
233
- #: ../admin/admin.php:121 ../admin/admin.php:157 ../admin/admin.php:200
234
  msgid "Size of Gravatars to return (max is 512)"
235
- msgstr ""
236
 
237
- #: ../admin/admin.php:124
238
  msgid "Users who have LIKED this post:"
239
  msgstr "Gebruikers die dit bericht leuk vinden:"
240
 
241
- #: ../admin/admin.php:125 ../admin/admin.php:161 ../admin/admin.php:204
242
  msgid "Users Like Box Title"
243
- msgstr ""
244
 
245
- #: ../admin/admin.php:130
246
  msgid "Comments"
247
- msgstr ""
248
 
249
- #: ../admin/admin.php:136
250
- msgid "<strong>On all comments</strong> at the bottom of the comment"
251
- msgstr "<strong>Bij alle reacties</strong> onderaan de reactie"
252
-
253
- #: ../admin/admin.php:137
254
  msgid ""
255
  "If you disable this option, you have to put manually this code on comments "
256
  "text"
@@ -258,25 +305,25 @@ msgstr ""
258
  "Wanneer je deze optie uitschakelt, moet je handmatig code invoeren bij de "
259
  "reacties"
260
 
261
- #: ../admin/admin.php:144
262
  msgid ""
263
  "<strong>Only</strong> registered users have permission to like comments."
264
- msgstr ""
265
 
266
- #: ../admin/admin.php:160
267
  msgid "Users who have LIKED this comment:"
268
  msgstr "Gebruikers die deze reactie leuk vinden:"
269
 
270
- #: ../admin/admin.php:166
271
  msgid "BuddyPress"
272
- msgstr ""
273
 
274
- #: ../admin/admin.php:172
275
  msgid "<strong>On all buddypress activities</strong> at the top of activity"
276
  msgstr ""
277
  "<strong>Bij alle buddypress activiteiten</strong> onderaan de activiteit"
278
 
279
- #: ../admin/admin.php:173
280
  msgid ""
281
  "If you disable this option, you have to put manually this code on buddypres "
282
  "activities content"
@@ -284,144 +331,144 @@ msgstr ""
284
  "Wanneer je deze optie uitschakelt, moet je handmatig code invoeren bij de "
285
  "evenementen"
286
 
287
- #: ../admin/admin.php:180
288
  msgid ""
289
  "<strong>Only</strong> registered users have permission to like activities."
290
- msgstr ""
291
 
292
- #: ../admin/admin.php:185
293
  msgid "BuddyPress Activity"
294
  msgstr "BuddyPress activiteiten"
295
 
296
- #: ../admin/admin.php:187
297
  msgid "insert new likes in buddyPress activity page"
298
  msgstr "nieuwe likes toevoegen aan buddyprefs activiteiten pagina"
299
 
300
- #: ../admin/admin.php:203
301
  msgid "Users who have liked this activity:"
302
  msgstr "Gebruikers die deze activiteit leuk vinden:"
303
 
304
- #: ../admin/admin.php:209
305
  msgid "Customize"
306
- msgstr ""
307
 
308
- #: ../admin/admin.php:214
309
  msgid "Custom Style"
310
  msgstr "Aangepaste stijl"
311
 
312
- #: ../admin/admin.php:219
313
  msgid "Active this option to see the custom style settings."
314
- msgstr ""
315
 
316
- #: ../admin/admin.php:223
317
  msgid "Button style"
318
  msgstr "Button stijl"
319
 
320
- #: ../admin/admin.php:224 ../admin/admin.php:237
321
  msgid "Background"
322
  msgstr "Achtergrond"
323
 
324
- #: ../admin/admin.php:228 ../admin/admin.php:241
325
  msgid "Border Color"
326
  msgstr "Kleur lijn"
327
 
328
- #: ../admin/admin.php:232 ../admin/admin.php:245
329
  msgid "Text Color"
330
  msgstr "Kleur tekst"
331
 
332
- #: ../admin/admin.php:236
333
  msgid "Counter Style"
334
  msgstr "Teller stijl"
335
 
336
- #: ../admin/admin.php:249
337
  msgid "Loading Animation"
338
- msgstr ""
339
 
340
- #: ../admin/admin.php:255
341
  msgid "Dashboard"
342
- msgstr ""
343
 
344
- #: ../admin/admin.php:260
345
  msgid "Visit Post Logs Menu"
346
- msgstr ""
347
 
348
- #: ../admin/admin.php:262
349
  msgid "If you deactivate this option, \"Post Likes Logs\" Menu will hidden."
350
- msgstr ""
351
 
352
- #: ../admin/admin.php:267
353
  msgid "Visit Comment Logs Menu"
354
- msgstr ""
355
 
356
- #: ../admin/admin.php:269
357
  msgid "If you deactivate this option, \"Comment Likes Logs\" Menu will hidden."
358
- msgstr ""
359
 
360
- #: ../admin/admin.php:274
361
  msgid "Visit Activity Logs Menu"
362
- msgstr ""
363
 
364
- #: ../admin/admin.php:276
365
  msgid ""
366
  "If you deactivate this option, \"Activity Likes Logs\" Menu will hidden."
367
- msgstr ""
368
 
369
- #: ../admin/admin.php:288 ../admin/logs.php:34
370
  msgid "Post Likes Logs"
371
  msgstr "Berichten likes log"
372
 
373
- #: ../admin/admin.php:292 ../admin/logs.php:147
374
  msgid "Comment Likes Logs"
375
  msgstr "Reactie likes log"
376
 
377
- #: ../admin/admin.php:296 ../admin/logs.php:260
378
  msgid "Activity Likes Logs"
379
  msgstr "Evenementen likes log"
380
 
381
- #: ../admin/admin.php:299
382
  msgid "About WP ULike"
383
  msgstr "Over WP ULike"
384
 
385
  #: ../admin/classes/class-settings.php:16
386
  msgid "Custom Settings"
387
- msgstr ""
388
 
389
  #: ../admin/classes/class-settings.php:27
390
  msgid "Save Settings"
391
- msgstr ""
392
 
393
  #: ../admin/classes/class-settings.php:28
394
  msgid "Reset Settings"
395
- msgstr ""
396
 
397
  #: ../admin/classes/class-settings.php:91
398
  msgid "Default settings have been reset."
399
- msgstr ""
400
 
401
  #: ../admin/classes/class-settings.php:167
402
  msgid ""
403
  "Do you really want to reset all these settings to their default values ?"
404
- msgstr ""
405
 
406
  #: ../admin/classes/class-settings.php:232
407
  #: ../admin/classes/class-settings.php:243
408
  #: ../admin/classes/class-settings.php:267
409
  msgid "No options defined."
410
- msgstr ""
411
 
412
  #: ../admin/classes/class-settings.php:254
413
  #, php-format
414
  msgid "Select %s"
415
- msgstr ""
416
 
417
  #: ../admin/classes/class-settings.php:255
418
  #, php-format
419
  msgid "Remove %s"
420
- msgstr ""
421
 
422
  #: ../admin/classes/class-settings.php:279
423
  msgid "No action defined."
424
- msgstr ""
425
 
426
  #: ../admin/classes/class-widget.php:8
427
  msgid "WP Ulike - Most Liked Posts"
@@ -435,7 +482,8 @@ msgstr "Deze widget laat je de berichten met meeste likes zien."
435
  msgid "Most Liked Posts"
436
  msgstr "Berichten met meeste likes"
437
 
438
- #: ../admin/classes/class-widget.php:55 ../admin/classes/class-widget.php:136
 
439
  msgid "Title:"
440
  msgstr "Titel:"
441
 
@@ -443,29 +491,50 @@ msgstr "Titel:"
443
  msgid "Number of posts to show:"
444
  msgstr "Aantal weer te geven berichten:"
445
 
446
- #: ../admin/classes/class-widget.php:66 ../admin/classes/class-widget.php:152
 
447
  msgid "Activate Like Counter"
448
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
449
 
450
- #: ../admin/classes/class-widget.php:87
 
 
 
 
451
  msgid "WP Ulike - Most Liked Users"
452
  msgstr "WP ULike - Gebruikers met meeste likes"
453
 
454
- #: ../admin/classes/class-widget.php:88
455
  msgid "This widget allows you to show most liked users avatars."
456
  msgstr ""
457
  "Deze widget laat de avatars zien van de gebruikers die de meeste berichten "
458
  "leuk vinden."
459
 
460
- #: ../admin/classes/class-widget.php:132
461
  msgid "Most Liked Users"
462
  msgstr "Gebruikers met meeste likes"
463
 
464
- #: ../admin/classes/class-widget.php:141
465
  msgid "Number of users to show:"
466
  msgstr "Aantal gebruikers weer te geven:"
467
 
468
- #: ../admin/classes/class-widget.php:146
469
  msgid "User avatar size:"
470
  msgstr "Grootte van avatar:"
471
 
@@ -521,7 +590,7 @@ msgstr "Totaal aantal likes:"
521
  msgid ""
522
  "<strong>ERROR:</strong> No Record Found. (This problem is created because "
523
  "you don't have any data on this table)"
524
- msgstr ""
525
 
526
  #: ../admin/logs.php:159
527
  msgid "Comment ID"
@@ -551,113 +620,133 @@ msgstr "Evenementen likes statistieken"
551
  msgid "Total Activities Liked:"
552
  msgstr "Aantal evenementen dat men leuk vindt:"
553
 
554
- #: ../inc/wp-functions.php:158
555
  msgid "WP ULike Activity"
556
  msgstr "WP ULike activiteiten"
557
 
558
- #: ../inc/wp-functions.php:168 ../inc/wp-functions.php:178
559
  msgid "liked"
560
  msgstr "vind ik leuk"
561
 
562
- #: ../inc/wp-functions.php:168
563
  msgid "comment"
564
  msgstr "reactie"
565
 
566
  #: ../inc/wp-strings.php:3
567
- msgid "WP Ulike - Most Liked Comments"
568
- msgstr ""
569
 
570
  #: ../inc/wp-strings.php:4
571
- msgid "This widget allows you to show most liked comments."
572
- msgstr ""
573
 
574
  #: ../inc/wp-strings.php:5
575
- msgid "Most Liked Comments"
576
- msgstr ""
577
 
578
  #: ../inc/wp-strings.php:6
579
- msgid "WP Ulike - Most Liked Activities"
580
- msgstr ""
581
 
582
  #: ../inc/wp-strings.php:7
583
- msgid "This widget allows you to show most liked activities."
584
- msgstr ""
585
 
586
  #: ../inc/wp-strings.php:8
587
- msgid "Most Liked Activities"
588
- msgstr ""
589
 
590
  #: ../inc/wp-strings.php:9
591
- msgid "Users Login Text"
592
- msgstr ""
593
 
594
  #: ../inc/wp-strings.php:10
595
- msgid "Allow To Like"
596
- msgstr ""
597
 
598
  #: ../inc/wp-strings.php:11
599
- msgid "Guests Only"
600
- msgstr ""
601
 
602
  #: ../inc/wp-strings.php:12
603
- msgid "Registered Users Only"
604
- msgstr ""
605
 
606
  #: ../inc/wp-strings.php:13
607
- msgid "Registered Users And Guests"
608
- msgstr ""
609
 
610
  #: ../inc/wp-strings.php:14
611
- msgid "Who Is Allowed To Like?"
612
- msgstr ""
613
 
614
  #: ../inc/wp-strings.php:15
615
- msgid "Filter Options:"
616
- msgstr ""
617
 
618
  #: ../inc/wp-strings.php:16
619
- msgid "Sort Options:"
620
- msgstr ""
621
 
622
  #: ../inc/wp-strings.php:17
623
- msgid "Logging Method"
624
- msgstr ""
625
 
626
  #: ../inc/wp-strings.php:18
627
- msgid "Do Not Log"
628
- msgstr ""
629
 
630
  #: ../inc/wp-strings.php:19
631
- msgid "Logged By Cookie"
632
- msgstr ""
633
 
634
  #: ../inc/wp-strings.php:20
635
- msgid "Logged By IP"
636
- msgstr ""
637
 
638
  #: ../inc/wp-strings.php:21
639
- msgid "Logged By Cookie & IP"
640
- msgstr ""
641
 
642
  #: ../inc/wp-strings.php:22
643
- msgid "Logged By Username"
644
- msgstr ""
645
 
646
  #: ../inc/wp-strings.php:23
647
- msgid "Wp ULike Template"
648
- msgstr ""
649
 
650
  #: ../inc/wp-strings.php:24
651
- msgid "Dislike"
652
- msgstr ""
653
 
654
  #: ../inc/wp-strings.php:25
655
- msgid "Dislike Support"
656
- msgstr ""
657
 
658
- #: ../inc/wp-strings.php:26
659
- msgid "Text After Dislike"
660
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
661
 
662
  #: ../inc/wp-ulike-buddypress.php:73
663
  msgid "You need to login in order to like this activity: "
@@ -683,6 +772,18 @@ msgid ""
683
  "comments AND buddypress activities. Its very simple to use and supports many "
684
  "options."
685
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
686
 
687
  #~ msgid "Activate user like count"
688
  #~ msgstr "Laat aantal likes zien"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
+ "POT-Creation-Date: 2014-11-26 12:19+0330\n"
5
+ "PO-Revision-Date: 2014-12-07 02:37+0330\n"
6
  "Last-Translator: Alimir <info@alimir.ir>\n"
7
  "Language-Team: \n"
8
  "Language: nl\n"
26
  "Thank you for choosing WP ULike! This version is our leanest and most "
27
  "powerful version yet."
28
  msgstr ""
29
+ "Dank je voor het gebruik van WP ULike! Dit is de meest recente versie.\t"
30
 
31
  #: ../admin/about.php:48
32
  msgid "Visit our homepage"
33
+ msgstr "Bezoek onze website"
34
 
35
  #: ../admin/about.php:53
36
  msgid "Getting Started"
37
+ msgstr "Aan de slag"
38
 
39
  #: ../admin/about.php:54
40
  msgid "Credits"
42
 
43
  #: ../admin/about.php:55
44
  msgid "Support"
45
+ msgstr "Ondersteuning"
46
 
47
  #: ../admin/about.php:56
48
  msgid "FAQ"
49
+ msgstr "Veelgestelde vragen"
50
 
51
  #: ../admin/about.php:57
52
  msgid "Reviews"
53
+ msgstr "Beoordelingen"
54
 
55
  #: ../admin/about.php:58
56
  msgid "Contact"
57
+ msgstr "Contact"
58
 
59
  #: ../admin/about.php:70
60
  msgid "Novelty Of WP ULike"
61
+ msgstr "Nieuw in WP ULike"
62
 
63
  #: ../admin/about.php:74
64
  msgid "New setting panel"
65
+ msgstr "Nieuw configuratiescherm"
66
 
67
  #: ../admin/about.php:79
68
  msgid "Better coding on plugin files"
69
+ msgstr "Betere code in de plugin"
70
 
71
  #: ../admin/about.php:86
72
  msgid "Buddypress likes support"
73
+ msgstr "Buddypress Like ondersteuning"
74
 
75
  #: ../admin/about.php:91
76
  msgid "Likes logs support"
77
+ msgstr "Ondersteuning voor likes logs"
78
 
79
  #: ../admin/about.php:100
80
  msgid "WP ULike is created by many love and time. Enjoy it :)"
81
+ msgstr "WP ULike is gemaakt met veel liefde en tijd. Veel plezier ermee :)"
82
 
83
  #: ../admin/about.php:101
84
  msgid "Project Leaders"
85
+ msgstr "Projectleiders"
86
 
87
  #: ../admin/about.php:106
88
  msgid "Project Lead & Developer"
89
+ msgstr "Projectleider en ontwikkelaar"
90
 
91
  #: ../admin/about.php:110
92
  msgid "Translations"
104
  "Geef hem een 5 sterren rating op in <a href=\"http://wordpress.org/plugins/"
105
  "wp-ulike\"> Plugin Directory reviews</a>"
106
 
107
+ #: ../admin/admin.php:36
108
  msgid "WP ULike Settings"
109
+ msgstr "WP ULike Instellingen"
110
 
111
+ #: ../admin/admin.php:39 ../wp-ulike.php:16
112
  msgid "WP ULike"
113
  msgstr "WP ULike"
114
 
115
+ #: ../admin/admin.php:44
116
  msgid "General"
117
+ msgstr "Algemeen"
118
 
119
+ #: ../admin/admin.php:48
120
  msgid "Button Type"
121
+ msgstr "Type knop"
122
 
123
+ #: ../admin/admin.php:51
124
  msgid "Icon"
125
+ msgstr "Icoon"
126
 
127
+ #: ../admin/admin.php:52
128
  msgid "Text"
129
+ msgstr "Tekst"
130
 
131
+ #: ../admin/admin.php:56 ../admin/classes/class-widget.php:189
132
  msgid "Like"
133
  msgstr "Vind ik leuk"
134
 
135
+ #: ../admin/admin.php:57
136
  msgid "Button Text"
137
+ msgstr "Knop tekst"
138
 
139
+ #: ../admin/admin.php:61
140
  msgid "Button Icon"
141
+ msgstr "Knop icoon"
142
 
143
+ #: ../admin/admin.php:62 ../admin/admin.php:286
144
  msgid "Best size: 16x16"
145
+ msgstr "Beste formaat: 16x16 px"
146
 
147
+ #: ../admin/admin.php:67
148
  msgid "Format Number"
149
  msgstr "Formaat van aantal likes"
150
 
151
+ #: ../admin/admin.php:68 ../admin/admin.php:101 ../admin/admin.php:133
152
+ #: ../admin/admin.php:140 ../admin/admin.php:162 ../admin/admin.php:179
153
+ #: ../admin/admin.php:186 ../admin/admin.php:215 ../admin/admin.php:222
154
+ #: ../admin/admin.php:229 ../admin/admin.php:251 ../admin/admin.php:297
155
+ #: ../admin/admin.php:304 ../admin/admin.php:311
156
  msgid "Activate"
157
  msgstr "Activeren"
158
 
159
+ #: ../admin/admin.php:69
160
  msgid "Convert numbers of Likes with string (kilobyte) format."
161
  msgstr "Zet aantal likes om naar string (kilobyte) formaat."
162
 
163
+ #: ../admin/admin.php:72
164
  msgid "Unlike"
165
+ msgstr "Unlike"
166
 
167
+ #: ../admin/admin.php:73
168
  msgid "Text After Like"
169
+ msgstr "Tekst na like"
170
 
171
+ #: ../admin/admin.php:76
172
  msgid "Like Me Again!"
173
+ msgstr "Like me opnieuw!"
174
 
175
+ #: ../admin/admin.php:77
176
  msgid "Text After Unlike"
177
+ msgstr "Tekst na unlike"
178
 
179
+ #: ../admin/admin.php:80
180
  msgid "You have not permission to unlike"
181
+ msgstr "Je hebt geen toestemming om te unliken"
182
 
183
+ #: ../admin/admin.php:81
184
  msgid "Permission Text"
185
+ msgstr "Toestemming tekst"
186
 
187
+ #: ../admin/admin.php:88
188
  msgid "Settings saved."
189
  msgstr "Instellingen opgeslagen."
190
 
191
+ #: ../admin/admin.php:95
192
  msgid "Posts"
193
+ msgstr "Berichten"
194
 
195
+ #: ../admin/admin.php:100 ../admin/admin.php:161 ../admin/admin.php:207
196
  msgid "Automatic display"
197
  msgstr "Automatisch tonen"
198
 
199
+ #: ../admin/admin.php:102
 
 
 
 
 
 
 
 
200
  msgid ""
201
  "If you disable this option, you have to put manually this code on wordpress "
202
  "while loop"
203
  msgstr ""
204
+ "Deze optie uitzetten om handmatig code toe te voegen aan de WP While-loop"
205
+
206
+ #: ../admin/admin.php:106 ../admin/admin.php:167
207
+ msgid "Auto Display Position"
208
+ msgstr "Automatische positie"
209
+
210
+ #: ../admin/admin.php:109 ../admin/admin.php:170 ../inc/wp-strings.php:26
211
+ msgid "Top of Content"
212
+ msgstr "Boven bericht"
213
+
214
+ #: ../admin/admin.php:110 ../admin/admin.php:171 ../inc/wp-strings.php:27
215
+ msgid "Bottom of Content"
216
+ msgstr "Onder bericht"
217
+
218
+ #: ../admin/admin.php:111 ../admin/admin.php:172 ../inc/wp-strings.php:28
219
+ msgid "Top and Bottom"
220
+ msgstr "Boven en onder"
221
+
222
+ #: ../admin/admin.php:116
223
+ msgid "Auto Display Filter"
224
+ msgstr "Automatisch weergave filter"
225
 
226
+ #: ../admin/admin.php:118
227
+ msgid "Home"
228
+ msgstr "Home"
229
+
230
+ #: ../admin/admin.php:119
231
+ msgid "Single Posts"
232
+ msgstr "Enkel bericht"
233
+
234
+ #: ../admin/admin.php:120
235
+ msgid "Pages"
236
+ msgstr "Pagina's"
237
+
238
+ #: ../admin/admin.php:121
239
+ msgid "Archives"
240
+ msgstr "Archief"
241
+
242
+ #: ../admin/admin.php:122
243
+ msgid "Categories"
244
+ msgstr "Categorieen"
245
+
246
+ #: ../admin/admin.php:123
247
+ msgid "Search Results"
248
+ msgstr "Zoekresultaten"
249
+
250
+ #: ../admin/admin.php:124
251
+ msgid "Tags"
252
+ msgstr "Tags"
253
+
254
+ #: ../admin/admin.php:125
255
+ msgid "Author Page"
256
+ msgstr "Auteur-pagina"
257
+
258
+ #: ../admin/admin.php:127
259
+ msgid "You can filter theses pages on auto display option."
260
+ msgstr "Je kan deze pagina's automatisch filteren."
261
+
262
+ #: ../admin/admin.php:132 ../admin/admin.php:178 ../admin/admin.php:214
263
  msgid "Only registered Users"
264
  msgstr "Alleen geregistreerde gebruikers"
265
 
266
+ #: ../admin/admin.php:134
267
  msgid "<strong>Only</strong> registered users have permission to like posts."
268
  msgstr ""
269
  "<strong>Alleen</strong> geregistreerde gebruikers mogen deze post likes."
270
 
271
+ #: ../admin/admin.php:139 ../admin/admin.php:185 ../admin/admin.php:228
272
  msgid "Show Liked Users Box"
273
+ msgstr "Laat aantal likes zien"
274
 
275
+ #: ../admin/admin.php:141 ../admin/admin.php:187 ../admin/admin.php:230
276
  msgid ""
277
  "Active this option to show liked users avatars in the bottom of button like."
278
+ msgstr "Selecteer deze optie om avatars weer te geven naar de like knop"
279
 
280
+ #: ../admin/admin.php:146 ../admin/admin.php:192 ../admin/admin.php:235
281
  msgid "Size of Gravatars"
282
+ msgstr "Formaat avatars"
283
 
284
+ #: ../admin/admin.php:147 ../admin/admin.php:193 ../admin/admin.php:236
285
  msgid "Size of Gravatars to return (max is 512)"
286
+ msgstr "Grootte van avatars om weer te geven (max 512 px)"
287
 
288
+ #: ../admin/admin.php:150
289
  msgid "Users who have LIKED this post:"
290
  msgstr "Gebruikers die dit bericht leuk vinden:"
291
 
292
+ #: ../admin/admin.php:151 ../admin/admin.php:197 ../admin/admin.php:240
293
  msgid "Users Like Box Title"
294
+ msgstr "Like box titel"
295
 
296
+ #: ../admin/admin.php:156
297
  msgid "Comments"
298
+ msgstr "Reacties"
299
 
300
+ #: ../admin/admin.php:163
 
 
 
 
301
  msgid ""
302
  "If you disable this option, you have to put manually this code on comments "
303
  "text"
305
  "Wanneer je deze optie uitschakelt, moet je handmatig code invoeren bij de "
306
  "reacties"
307
 
308
+ #: ../admin/admin.php:180
309
  msgid ""
310
  "<strong>Only</strong> registered users have permission to like comments."
311
+ msgstr "Alleen geregistreerde gebruikers mogen reacties liken."
312
 
313
+ #: ../admin/admin.php:196
314
  msgid "Users who have LIKED this comment:"
315
  msgstr "Gebruikers die deze reactie leuk vinden:"
316
 
317
+ #: ../admin/admin.php:202
318
  msgid "BuddyPress"
319
+ msgstr "BuddyPress"
320
 
321
+ #: ../admin/admin.php:208
322
  msgid "<strong>On all buddypress activities</strong> at the top of activity"
323
  msgstr ""
324
  "<strong>Bij alle buddypress activiteiten</strong> onderaan de activiteit"
325
 
326
+ #: ../admin/admin.php:209
327
  msgid ""
328
  "If you disable this option, you have to put manually this code on buddypres "
329
  "activities content"
331
  "Wanneer je deze optie uitschakelt, moet je handmatig code invoeren bij de "
332
  "evenementen"
333
 
334
+ #: ../admin/admin.php:216
335
  msgid ""
336
  "<strong>Only</strong> registered users have permission to like activities."
337
+ msgstr "Alleen geregistreerde gebruikers mogen activiteiten liken."
338
 
339
+ #: ../admin/admin.php:221
340
  msgid "BuddyPress Activity"
341
  msgstr "BuddyPress activiteiten"
342
 
343
+ #: ../admin/admin.php:223
344
  msgid "insert new likes in buddyPress activity page"
345
  msgstr "nieuwe likes toevoegen aan buddyprefs activiteiten pagina"
346
 
347
+ #: ../admin/admin.php:239
348
  msgid "Users who have liked this activity:"
349
  msgstr "Gebruikers die deze activiteit leuk vinden:"
350
 
351
+ #: ../admin/admin.php:245
352
  msgid "Customize"
353
+ msgstr "Aanpassen"
354
 
355
+ #: ../admin/admin.php:250
356
  msgid "Custom Style"
357
  msgstr "Aangepaste stijl"
358
 
359
+ #: ../admin/admin.php:255
360
  msgid "Active this option to see the custom style settings."
361
+ msgstr "Aangepaste stijlen activeren"
362
 
363
+ #: ../admin/admin.php:259
364
  msgid "Button style"
365
  msgstr "Button stijl"
366
 
367
+ #: ../admin/admin.php:260 ../admin/admin.php:273
368
  msgid "Background"
369
  msgstr "Achtergrond"
370
 
371
+ #: ../admin/admin.php:264 ../admin/admin.php:277
372
  msgid "Border Color"
373
  msgstr "Kleur lijn"
374
 
375
+ #: ../admin/admin.php:268 ../admin/admin.php:281
376
  msgid "Text Color"
377
  msgstr "Kleur tekst"
378
 
379
+ #: ../admin/admin.php:272
380
  msgid "Counter Style"
381
  msgstr "Teller stijl"
382
 
383
+ #: ../admin/admin.php:285
384
  msgid "Loading Animation"
385
+ msgstr "Animatie laden"
386
 
387
+ #: ../admin/admin.php:291
388
  msgid "Dashboard"
389
+ msgstr "Dashboard"
390
 
391
+ #: ../admin/admin.php:296
392
  msgid "Visit Post Logs Menu"
393
+ msgstr "Bezoek berichten logs"
394
 
395
+ #: ../admin/admin.php:298
396
  msgid "If you deactivate this option, \"Post Likes Logs\" Menu will hidden."
397
+ msgstr "Logs berichten verbergen"
398
 
399
+ #: ../admin/admin.php:303
400
  msgid "Visit Comment Logs Menu"
401
+ msgstr "Bezoek reacties logs"
402
 
403
+ #: ../admin/admin.php:305
404
  msgid "If you deactivate this option, \"Comment Likes Logs\" Menu will hidden."
405
+ msgstr "Logs reacties verbergen"
406
 
407
+ #: ../admin/admin.php:310
408
  msgid "Visit Activity Logs Menu"
409
+ msgstr "Bezoek activiteiten logs"
410
 
411
+ #: ../admin/admin.php:312
412
  msgid ""
413
  "If you deactivate this option, \"Activity Likes Logs\" Menu will hidden."
414
+ msgstr "Logs activiteiten verbergen"
415
 
416
+ #: ../admin/admin.php:324 ../admin/logs.php:34
417
  msgid "Post Likes Logs"
418
  msgstr "Berichten likes log"
419
 
420
+ #: ../admin/admin.php:328 ../admin/logs.php:147
421
  msgid "Comment Likes Logs"
422
  msgstr "Reactie likes log"
423
 
424
+ #: ../admin/admin.php:332 ../admin/logs.php:260
425
  msgid "Activity Likes Logs"
426
  msgstr "Evenementen likes log"
427
 
428
+ #: ../admin/admin.php:335
429
  msgid "About WP ULike"
430
  msgstr "Over WP ULike"
431
 
432
  #: ../admin/classes/class-settings.php:16
433
  msgid "Custom Settings"
434
+ msgstr "Aangepaste instellingen"
435
 
436
  #: ../admin/classes/class-settings.php:27
437
  msgid "Save Settings"
438
+ msgstr "Instellingen opslaan"
439
 
440
  #: ../admin/classes/class-settings.php:28
441
  msgid "Reset Settings"
442
+ msgstr "Instellingen resetten"
443
 
444
  #: ../admin/classes/class-settings.php:91
445
  msgid "Default settings have been reset."
446
+ msgstr "Standaardinstellingen zijn teruggezet."
447
 
448
  #: ../admin/classes/class-settings.php:167
449
  msgid ""
450
  "Do you really want to reset all these settings to their default values ?"
451
+ msgstr "Wil je echt alle instellingen verwijderen?"
452
 
453
  #: ../admin/classes/class-settings.php:232
454
  #: ../admin/classes/class-settings.php:243
455
  #: ../admin/classes/class-settings.php:267
456
  msgid "No options defined."
457
+ msgstr "Geen opties gedefinieerd."
458
 
459
  #: ../admin/classes/class-settings.php:254
460
  #, php-format
461
  msgid "Select %s"
462
+ msgstr "Selecteer %s"
463
 
464
  #: ../admin/classes/class-settings.php:255
465
  #, php-format
466
  msgid "Remove %s"
467
+ msgstr "Verwijder %s"
468
 
469
  #: ../admin/classes/class-settings.php:279
470
  msgid "No action defined."
471
+ msgstr "Geen acties gedefinieerd."
472
 
473
  #: ../admin/classes/class-widget.php:8
474
  msgid "WP Ulike - Most Liked Posts"
482
  msgid "Most Liked Posts"
483
  msgstr "Berichten met meeste likes"
484
 
485
+ #: ../admin/classes/class-widget.php:55 ../admin/classes/class-widget.php:138
486
+ #: ../admin/classes/class-widget.php:219
487
  msgid "Title:"
488
  msgstr "Titel:"
489
 
491
  msgid "Number of posts to show:"
492
  msgstr "Aantal weer te geven berichten:"
493
 
494
+ #: ../admin/classes/class-widget.php:66 ../admin/classes/class-widget.php:149
495
+ #: ../admin/classes/class-widget.php:235
496
  msgid "Activate Like Counter"
497
+ msgstr "Activeer like teller"
498
+
499
+ #: ../admin/classes/class-widget.php:88
500
+ msgid "WP ULike - Most Liked Comments"
501
+ msgstr "WP ULike - Meeste gelikede commentaar"
502
+
503
+ #: ../admin/classes/class-widget.php:89
504
+ msgid "This widget allows you to show most liked comments."
505
+ msgstr "Met deze widget kun je de populairste reacties weergeven."
506
+
507
+ #: ../admin/classes/class-widget.php:109
508
+ msgid "on"
509
+ msgstr "op"
510
+
511
+ #: ../admin/classes/class-widget.php:134
512
+ msgid "Most Liked Comments"
513
+ msgstr "Meest gelikede reacties"
514
 
515
+ #: ../admin/classes/class-widget.php:143
516
+ msgid "Number of comments to show:"
517
+ msgstr "Aantal reacties wat weergegeven moet worden:"
518
+
519
+ #: ../admin/classes/class-widget.php:170
520
  msgid "WP Ulike - Most Liked Users"
521
  msgstr "WP ULike - Gebruikers met meeste likes"
522
 
523
+ #: ../admin/classes/class-widget.php:171
524
  msgid "This widget allows you to show most liked users avatars."
525
  msgstr ""
526
  "Deze widget laat de avatars zien van de gebruikers die de meeste berichten "
527
  "leuk vinden."
528
 
529
+ #: ../admin/classes/class-widget.php:215
530
  msgid "Most Liked Users"
531
  msgstr "Gebruikers met meeste likes"
532
 
533
+ #: ../admin/classes/class-widget.php:224
534
  msgid "Number of users to show:"
535
  msgstr "Aantal gebruikers weer te geven:"
536
 
537
+ #: ../admin/classes/class-widget.php:229
538
  msgid "User avatar size:"
539
  msgstr "Grootte van avatar:"
540
 
590
  msgid ""
591
  "<strong>ERROR:</strong> No Record Found. (This problem is created because "
592
  "you don't have any data on this table)"
593
+ msgstr "Foutmelding: geen record gevonden."
594
 
595
  #: ../admin/logs.php:159
596
  msgid "Comment ID"
620
  msgid "Total Activities Liked:"
621
  msgstr "Aantal evenementen dat men leuk vindt:"
622
 
623
+ #: ../inc/wp-functions.php:204
624
  msgid "WP ULike Activity"
625
  msgstr "WP ULike activiteiten"
626
 
627
+ #: ../inc/wp-functions.php:214 ../inc/wp-functions.php:224
628
  msgid "liked"
629
  msgstr "vind ik leuk"
630
 
631
+ #: ../inc/wp-functions.php:214
632
  msgid "comment"
633
  msgstr "reactie"
634
 
635
  #: ../inc/wp-strings.php:3
636
+ msgid "WP ULike - Most Liked Activities"
637
+ msgstr "WP ULike - Meest gelikede acitiviteiten"
638
 
639
  #: ../inc/wp-strings.php:4
640
+ msgid "This widget allows you to show most liked activities."
641
+ msgstr "Met deze widget kun je de populairste activiteiten weergeven."
642
 
643
  #: ../inc/wp-strings.php:5
644
+ msgid "Most Liked Activities"
645
+ msgstr "Meest gelikede activiteiten"
646
 
647
  #: ../inc/wp-strings.php:6
648
+ msgid "Users Login Text"
649
+ msgstr "Login tekst gebruikers"
650
 
651
  #: ../inc/wp-strings.php:7
652
+ msgid "Allow To Like"
653
+ msgstr "Toestaan te liken"
654
 
655
  #: ../inc/wp-strings.php:8
656
+ msgid "Guests Only"
657
+ msgstr "Alleen gasten"
658
 
659
  #: ../inc/wp-strings.php:9
660
+ msgid "Registered Users Only"
661
+ msgstr "Alleen geregistreerde gebruikers"
662
 
663
  #: ../inc/wp-strings.php:10
664
+ msgid "Registered Users And Guests"
665
+ msgstr "Geregistreerde gebruikers en gasten"
666
 
667
  #: ../inc/wp-strings.php:11
668
+ msgid "Who Is Allowed To Like?"
669
+ msgstr "Wie mag like?"
670
 
671
  #: ../inc/wp-strings.php:12
672
+ msgid "Filter Options:"
673
+ msgstr "Filter opties:"
674
 
675
  #: ../inc/wp-strings.php:13
676
+ msgid "Sort Options:"
677
+ msgstr "Sorteer opties:"
678
 
679
  #: ../inc/wp-strings.php:14
680
+ msgid "Logging Method"
681
+ msgstr "Logging methode"
682
 
683
  #: ../inc/wp-strings.php:15
684
+ msgid "Do Not Log"
685
+ msgstr "Niet loggen"
686
 
687
  #: ../inc/wp-strings.php:16
688
+ msgid "Logged By Cookie"
689
+ msgstr "Loggen met een cookie"
690
 
691
  #: ../inc/wp-strings.php:17
692
+ msgid "Logged By IP"
693
+ msgstr "Loggen door IP"
694
 
695
  #: ../inc/wp-strings.php:18
696
+ msgid "Logged By Cookie & IP"
697
+ msgstr "Loggen met cookie en IP"
698
 
699
  #: ../inc/wp-strings.php:19
700
+ msgid "Logged By Username"
701
+ msgstr "Loggen met gebruikersnaam"
702
 
703
  #: ../inc/wp-strings.php:20
704
+ msgid "Themes"
705
+ msgstr "Thema's"
706
 
707
  #: ../inc/wp-strings.php:21
708
+ msgid "Dislike"
709
+ msgstr "Niet meer liken"
710
 
711
  #: ../inc/wp-strings.php:22
712
+ msgid "Dislike Support"
713
+ msgstr "Niet meer like ondersteuning"
714
 
715
  #: ../inc/wp-strings.php:23
716
+ msgid "Text After Dislike"
717
+ msgstr "Tekst na disliken"
718
 
719
  #: ../inc/wp-strings.php:24
720
+ msgid "Show Counter"
721
+ msgstr "Laat teller zien"
722
 
723
  #: ../inc/wp-strings.php:25
724
+ msgid "Show tooltips"
725
+ msgstr "Tooltips weergeven"
726
 
727
+ #: ../inc/wp-strings.php:29
728
+ msgid "Alignment"
729
+ msgstr "Uitlijning"
730
+
731
+ #: ../inc/wp-strings.php:30
732
+ msgid "Left"
733
+ msgstr "Links"
734
+
735
+ #: ../inc/wp-strings.php:31
736
+ msgid "Center"
737
+ msgstr "Midden"
738
+
739
+ #: ../inc/wp-strings.php:32
740
+ msgid "Right"
741
+ msgstr "Rechts"
742
+
743
+ #: ../inc/wp-strings.php:33
744
+ msgid "Cookie Life time"
745
+ msgstr "Cookie verwijderen na"
746
+
747
+ #: ../inc/wp-strings.php:34
748
+ msgid "BuddyPress Notifications"
749
+ msgstr "BuddyPress notificaties"
750
 
751
  #: ../inc/wp-ulike-buddypress.php:73
752
  msgid "You need to login in order to like this activity: "
772
  "comments AND buddypress activities. Its very simple to use and supports many "
773
  "options."
774
  msgstr ""
775
+ "Met WP ULike kun je een Ajax like-button weergeven bij pagina's, berichten, "
776
+ "reacties en BuddyPress activiteiten."
777
+
778
+ #~ msgid ""
779
+ #~ "<strong>On all posts</strong> (home, archives, search) at the bottom of "
780
+ #~ "the post"
781
+ #~ msgstr ""
782
+ #~ "<strong>Bij alle berichten</strong> (home, archief, zoeken) onderaan het "
783
+ #~ "bericht"
784
+
785
+ #~ msgid "<strong>On all comments</strong> at the bottom of the comment"
786
+ #~ msgstr "<strong>Bij alle reacties</strong> onderaan de reactie"
787
 
788
  #~ msgid "Activate user like count"
789
  #~ msgstr "Laat aantal likes zien"
lang/alimir-zh_CN.mo CHANGED
Binary file
lang/alimir-zh_CN.po CHANGED
@@ -12,7 +12,7 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
- "X-Generator: Poedit 1.6.10\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
@@ -25,15 +25,15 @@ msgstr "欢迎使用 WP ULike"
25
  msgid ""
26
  "Thank you for choosing WP ULike! This version is our leanest and most "
27
  "powerful version yet."
28
- msgstr ""
29
 
30
  #: ../admin/about.php:48
31
  msgid "Visit our homepage"
32
- msgstr ""
33
 
34
  #: ../admin/about.php:53
35
  msgid "Getting Started"
36
- msgstr ""
37
 
38
  #: ../admin/about.php:54
39
  msgid "Credits"
@@ -41,51 +41,51 @@ msgstr "积分"
41
 
42
  #: ../admin/about.php:55
43
  msgid "Support"
44
- msgstr ""
45
 
46
  #: ../admin/about.php:56
47
  msgid "FAQ"
48
- msgstr ""
49
 
50
  #: ../admin/about.php:57
51
  msgid "Reviews"
52
- msgstr ""
53
 
54
  #: ../admin/about.php:58
55
  msgid "Contact"
56
- msgstr ""
57
 
58
  #: ../admin/about.php:70
59
  msgid "Novelty Of WP ULike"
60
- msgstr ""
61
 
62
  #: ../admin/about.php:74
63
  msgid "New setting panel"
64
- msgstr ""
65
 
66
  #: ../admin/about.php:79
67
  msgid "Better coding on plugin files"
68
- msgstr ""
69
 
70
  #: ../admin/about.php:86
71
  msgid "Buddypress likes support"
72
- msgstr ""
73
 
74
  #: ../admin/about.php:91
75
  msgid "Likes logs support"
76
- msgstr ""
77
 
78
  #: ../admin/about.php:100
79
  msgid "WP ULike is created by many love and time. Enjoy it :)"
80
- msgstr ""
81
 
82
  #: ../admin/about.php:101
83
  msgid "Project Leaders"
84
- msgstr ""
85
 
86
  #: ../admin/about.php:106
87
  msgid "Project Lead & Developer"
88
- msgstr ""
89
 
90
  #: ../admin/about.php:110
91
  msgid "Translations"
@@ -105,7 +105,7 @@ msgstr ""
105
 
106
  #: ../admin/admin.php:35
107
  msgid "WP ULike Settings"
108
- msgstr ""
109
 
110
  #: ../admin/admin.php:38 ../wp-ulike.php:16
111
  msgid "WP ULike"
@@ -113,19 +113,19 @@ msgstr "WP ULike"
113
 
114
  #: ../admin/admin.php:43
115
  msgid "General"
116
- msgstr ""
117
 
118
  #: ../admin/admin.php:47
119
  msgid "Button Type"
120
- msgstr ""
121
 
122
  #: ../admin/admin.php:50
123
  msgid "Icon"
124
- msgstr ""
125
 
126
  #: ../admin/admin.php:51
127
  msgid "Text"
128
- msgstr ""
129
 
130
  #: ../admin/admin.php:55 ../admin/classes/class-widget.php:106
131
  msgid "Like"
@@ -133,15 +133,15 @@ msgstr "喜欢"
133
 
134
  #: ../admin/admin.php:56
135
  msgid "Button Text"
136
- msgstr ""
137
 
138
  #: ../admin/admin.php:60
139
  msgid "Button Icon"
140
- msgstr ""
141
 
142
  #: ../admin/admin.php:61 ../admin/admin.php:250
143
  msgid "Best size: 16x16"
144
- msgstr ""
145
 
146
  #: ../admin/admin.php:66
147
  msgid "Format Number"
@@ -160,27 +160,27 @@ msgstr "使用字符串(千字节)格式化喜欢数目"
160
 
161
  #: ../admin/admin.php:71
162
  msgid "Unlike"
163
- msgstr ""
164
 
165
  #: ../admin/admin.php:72
166
  msgid "Text After Like"
167
- msgstr ""
168
 
169
  #: ../admin/admin.php:75
170
  msgid "Like Me Again!"
171
- msgstr ""
172
 
173
  #: ../admin/admin.php:76
174
  msgid "Text After Unlike"
175
- msgstr ""
176
 
177
  #: ../admin/admin.php:79
178
  msgid "You have not permission to unlike"
179
- msgstr ""
180
 
181
  #: ../admin/admin.php:80
182
  msgid "Permission Text"
183
- msgstr ""
184
 
185
  #: ../admin/admin.php:87
186
  msgid "Settings saved."
@@ -188,7 +188,7 @@ msgstr "设置已保存"
188
 
189
  #: ../admin/admin.php:94
190
  msgid "Posts"
191
- msgstr ""
192
 
193
  #: ../admin/admin.php:99 ../admin/admin.php:135 ../admin/admin.php:171
194
  msgid "Automatic display"
@@ -204,7 +204,7 @@ msgstr "<strong>在所有文章</strong>(首页、存档、搜索)文章的
204
  msgid ""
205
  "If you disable this option, you have to put manually this code on wordpress "
206
  "while loop"
207
- msgstr ""
208
 
209
  #: ../admin/admin.php:106 ../admin/admin.php:142 ../admin/admin.php:178
210
  msgid "Only registered Users"
@@ -216,20 +216,20 @@ msgstr "<strong>只有</strong> 已注册的用户才有权限喜欢文章。"
216
 
217
  #: ../admin/admin.php:113 ../admin/admin.php:149 ../admin/admin.php:192
218
  msgid "Show Liked Users Box"
219
- msgstr ""
220
 
221
  #: ../admin/admin.php:115 ../admin/admin.php:151 ../admin/admin.php:194
222
  msgid ""
223
  "Active this option to show liked users avatars in the bottom of button like."
224
- msgstr ""
225
 
226
  #: ../admin/admin.php:120 ../admin/admin.php:156 ../admin/admin.php:199
227
  msgid "Size of Gravatars"
228
- msgstr ""
229
 
230
  #: ../admin/admin.php:121 ../admin/admin.php:157 ../admin/admin.php:200
231
  msgid "Size of Gravatars to return (max is 512)"
232
- msgstr ""
233
 
234
  #: ../admin/admin.php:124
235
  msgid "Users who have LIKED this post:"
@@ -237,11 +237,11 @@ msgstr "喜欢该文章的用户:"
237
 
238
  #: ../admin/admin.php:125 ../admin/admin.php:161 ../admin/admin.php:204
239
  msgid "Users Like Box Title"
240
- msgstr ""
241
 
242
  #: ../admin/admin.php:130
243
  msgid "Comments"
244
- msgstr ""
245
 
246
  #: ../admin/admin.php:136
247
  msgid "<strong>On all comments</strong> at the bottom of the comment"
@@ -256,7 +256,7 @@ msgstr "如果禁用此选项,你必须手动添加这个代码到评论文本
256
  #: ../admin/admin.php:144
257
  msgid ""
258
  "<strong>Only</strong> registered users have permission to like comments."
259
- msgstr ""
260
 
261
  #: ../admin/admin.php:160
262
  msgid "Users who have LIKED this comment:"
@@ -264,7 +264,7 @@ msgstr "谁也喜欢这个评论用户:"
264
 
265
  #: ../admin/admin.php:166
266
  msgid "BuddyPress"
267
- msgstr ""
268
 
269
  #: ../admin/admin.php:172
270
  msgid "<strong>On all buddypress activities</strong> at the top of activity"
@@ -279,7 +279,7 @@ msgstr "如果你禁用这个选项,你必须手动添加这个代码到buddyp
279
  #: ../admin/admin.php:180
280
  msgid ""
281
  "<strong>Only</strong> registered users have permission to like activities."
282
- msgstr ""
283
 
284
  #: ../admin/admin.php:185
285
  msgid "BuddyPress Activity"
@@ -295,7 +295,7 @@ msgstr "喜欢该活动的用户:"
295
 
296
  #: ../admin/admin.php:209
297
  msgid "Customize"
298
- msgstr ""
299
 
300
  #: ../admin/admin.php:214
301
  msgid "Custom Style"
@@ -303,7 +303,7 @@ msgstr "自定义样式"
303
 
304
  #: ../admin/admin.php:219
305
  msgid "Active this option to see the custom style settings."
306
- msgstr ""
307
 
308
  #: ../admin/admin.php:223
309
  msgid "Button style"
@@ -327,36 +327,36 @@ msgstr "计数样式"
327
 
328
  #: ../admin/admin.php:249
329
  msgid "Loading Animation"
330
- msgstr ""
331
 
332
  #: ../admin/admin.php:255
333
  msgid "Dashboard"
334
- msgstr ""
335
 
336
  #: ../admin/admin.php:260
337
  msgid "Visit Post Logs Menu"
338
- msgstr ""
339
 
340
  #: ../admin/admin.php:262
341
  msgid "If you deactivate this option, \"Post Likes Logs\" Menu will hidden."
342
- msgstr ""
343
 
344
  #: ../admin/admin.php:267
345
  msgid "Visit Comment Logs Menu"
346
- msgstr ""
347
 
348
  #: ../admin/admin.php:269
349
  msgid "If you deactivate this option, \"Comment Likes Logs\" Menu will hidden."
350
- msgstr ""
351
 
352
  #: ../admin/admin.php:274
353
  msgid "Visit Activity Logs Menu"
354
- msgstr ""
355
 
356
  #: ../admin/admin.php:276
357
  msgid ""
358
  "If you deactivate this option, \"Activity Likes Logs\" Menu will hidden."
359
- msgstr ""
360
 
361
  #: ../admin/admin.php:288 ../admin/logs.php:34
362
  msgid "Post Likes Logs"
@@ -376,44 +376,44 @@ msgstr "关于 WP ULike"
376
 
377
  #: ../admin/classes/class-settings.php:16
378
  msgid "Custom Settings"
379
- msgstr ""
380
 
381
  #: ../admin/classes/class-settings.php:27
382
  msgid "Save Settings"
383
- msgstr ""
384
 
385
  #: ../admin/classes/class-settings.php:28
386
  msgid "Reset Settings"
387
- msgstr ""
388
 
389
  #: ../admin/classes/class-settings.php:91
390
  msgid "Default settings have been reset."
391
- msgstr ""
392
 
393
  #: ../admin/classes/class-settings.php:167
394
  msgid ""
395
  "Do you really want to reset all these settings to their default values ?"
396
- msgstr ""
397
 
398
  #: ../admin/classes/class-settings.php:232
399
  #: ../admin/classes/class-settings.php:243
400
  #: ../admin/classes/class-settings.php:267
401
  msgid "No options defined."
402
- msgstr ""
403
 
404
  #: ../admin/classes/class-settings.php:254
405
  #, php-format
406
  msgid "Select %s"
407
- msgstr ""
408
 
409
  #: ../admin/classes/class-settings.php:255
410
  #, php-format
411
  msgid "Remove %s"
412
- msgstr ""
413
 
414
  #: ../admin/classes/class-settings.php:279
415
  msgid "No action defined."
416
- msgstr ""
417
 
418
  #: ../admin/classes/class-widget.php:8
419
  msgid "WP Ulike - Most Liked Posts"
@@ -437,7 +437,7 @@ msgstr "要显示的文章数量:"
437
 
438
  #: ../admin/classes/class-widget.php:66 ../admin/classes/class-widget.php:152
439
  msgid "Activate Like Counter"
440
- msgstr ""
441
 
442
  #: ../admin/classes/class-widget.php:87
443
  msgid "WP Ulike - Most Liked Users"
@@ -512,6 +512,8 @@ msgid ""
512
  "<strong>ERROR:</strong> No Record Found. (This problem is created because "
513
  "you don't have any data on this table)"
514
  msgstr ""
 
 
515
 
516
  #: ../admin/logs.php:159
517
  msgid "Comment ID"
@@ -555,99 +557,99 @@ msgstr "评论"
555
 
556
  #: ../inc/wp-strings.php:3
557
  msgid "WP Ulike - Most Liked Comments"
558
- msgstr ""
559
 
560
  #: ../inc/wp-strings.php:4
561
  msgid "This widget allows you to show most liked comments."
562
- msgstr ""
563
 
564
  #: ../inc/wp-strings.php:5
565
  msgid "Most Liked Comments"
566
- msgstr ""
567
 
568
  #: ../inc/wp-strings.php:6
569
  msgid "WP Ulike - Most Liked Activities"
570
- msgstr ""
571
 
572
  #: ../inc/wp-strings.php:7
573
  msgid "This widget allows you to show most liked activities."
574
- msgstr ""
575
 
576
  #: ../inc/wp-strings.php:8
577
  msgid "Most Liked Activities"
578
- msgstr ""
579
 
580
  #: ../inc/wp-strings.php:9
581
  msgid "Users Login Text"
582
- msgstr ""
583
 
584
  #: ../inc/wp-strings.php:10
585
  msgid "Allow To Like"
586
- msgstr ""
587
 
588
  #: ../inc/wp-strings.php:11
589
  msgid "Guests Only"
590
- msgstr ""
591
 
592
  #: ../inc/wp-strings.php:12
593
  msgid "Registered Users Only"
594
- msgstr ""
595
 
596
  #: ../inc/wp-strings.php:13
597
  msgid "Registered Users And Guests"
598
- msgstr ""
599
 
600
  #: ../inc/wp-strings.php:14
601
  msgid "Who Is Allowed To Like?"
602
- msgstr ""
603
 
604
  #: ../inc/wp-strings.php:15
605
  msgid "Filter Options:"
606
- msgstr ""
607
 
608
  #: ../inc/wp-strings.php:16
609
  msgid "Sort Options:"
610
- msgstr ""
611
 
612
  #: ../inc/wp-strings.php:17
613
  msgid "Logging Method"
614
- msgstr ""
615
 
616
  #: ../inc/wp-strings.php:18
617
  msgid "Do Not Log"
618
- msgstr ""
619
 
620
  #: ../inc/wp-strings.php:19
621
  msgid "Logged By Cookie"
622
- msgstr ""
623
 
624
  #: ../inc/wp-strings.php:20
625
  msgid "Logged By IP"
626
- msgstr ""
627
 
628
  #: ../inc/wp-strings.php:21
629
  msgid "Logged By Cookie & IP"
630
- msgstr ""
631
 
632
  #: ../inc/wp-strings.php:22
633
  msgid "Logged By Username"
634
- msgstr ""
635
 
636
  #: ../inc/wp-strings.php:23
637
  msgid "Wp ULike Template"
638
- msgstr ""
639
 
640
  #: ../inc/wp-strings.php:24
641
  msgid "Dislike"
642
- msgstr ""
643
 
644
  #: ../inc/wp-strings.php:25
645
  msgid "Dislike Support"
646
- msgstr ""
647
 
648
  #: ../inc/wp-strings.php:26
649
  msgid "Text After Dislike"
650
- msgstr ""
651
 
652
  #: ../inc/wp-ulike-buddypress.php:73
653
  msgid "You need to login in order to like this activity: "
@@ -673,6 +675,9 @@ msgid ""
673
  "comments AND buddypress activities. Its very simple to use and supports many "
674
  "options."
675
  msgstr ""
 
 
 
676
 
677
  #~ msgid "Activate user like count"
678
  #~ msgstr "启用用户喜欢计数"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
+ "X-Generator: Poedit 1.6.5\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
25
  msgid ""
26
  "Thank you for choosing WP ULike! This version is our leanest and most "
27
  "powerful version yet."
28
+ msgstr "感谢您选择 WP ULike!这个版本是我们目前最轻巧、最强大的版本哦!"
29
 
30
  #: ../admin/about.php:48
31
  msgid "Visit our homepage"
32
+ msgstr "访问我们的主页"
33
 
34
  #: ../admin/about.php:53
35
  msgid "Getting Started"
36
+ msgstr "开始"
37
 
38
  #: ../admin/about.php:54
39
  msgid "Credits"
41
 
42
  #: ../admin/about.php:55
43
  msgid "Support"
44
+ msgstr "支持"
45
 
46
  #: ../admin/about.php:56
47
  msgid "FAQ"
48
+ msgstr "常见问答"
49
 
50
  #: ../admin/about.php:57
51
  msgid "Reviews"
52
+ msgstr "点评"
53
 
54
  #: ../admin/about.php:58
55
  msgid "Contact"
56
+ msgstr "联系"
57
 
58
  #: ../admin/about.php:70
59
  msgid "Novelty Of WP ULike"
60
+ msgstr "WP ULike 的新特色"
61
 
62
  #: ../admin/about.php:74
63
  msgid "New setting panel"
64
+ msgstr "新设置面板"
65
 
66
  #: ../admin/about.php:79
67
  msgid "Better coding on plugin files"
68
+ msgstr "更好的文件编码"
69
 
70
  #: ../admin/about.php:86
71
  msgid "Buddypress likes support"
72
+ msgstr "Buddypress 喜欢支持"
73
 
74
  #: ../admin/about.php:91
75
  msgid "Likes logs support"
76
+ msgstr "喜欢日志支持"
77
 
78
  #: ../admin/about.php:100
79
  msgid "WP ULike is created by many love and time. Enjoy it :)"
80
+ msgstr "WP ULike 已经使用了很多关爱和时间来创建,好好享用吧 :)"
81
 
82
  #: ../admin/about.php:101
83
  msgid "Project Leaders"
84
+ msgstr "项目负责人"
85
 
86
  #: ../admin/about.php:106
87
  msgid "Project Lead & Developer"
88
+ msgstr "项目主管和开发"
89
 
90
  #: ../admin/about.php:110
91
  msgid "Translations"
105
 
106
  #: ../admin/admin.php:35
107
  msgid "WP ULike Settings"
108
+ msgstr "WP ULike 设置"
109
 
110
  #: ../admin/admin.php:38 ../wp-ulike.php:16
111
  msgid "WP ULike"
113
 
114
  #: ../admin/admin.php:43
115
  msgid "General"
116
+ msgstr "常规"
117
 
118
  #: ../admin/admin.php:47
119
  msgid "Button Type"
120
+ msgstr "按钮样式"
121
 
122
  #: ../admin/admin.php:50
123
  msgid "Icon"
124
+ msgstr "图标"
125
 
126
  #: ../admin/admin.php:51
127
  msgid "Text"
128
+ msgstr "文本"
129
 
130
  #: ../admin/admin.php:55 ../admin/classes/class-widget.php:106
131
  msgid "Like"
133
 
134
  #: ../admin/admin.php:56
135
  msgid "Button Text"
136
+ msgstr "按钮文本"
137
 
138
  #: ../admin/admin.php:60
139
  msgid "Button Icon"
140
+ msgstr "按钮图标"
141
 
142
  #: ../admin/admin.php:61 ../admin/admin.php:250
143
  msgid "Best size: 16x16"
144
+ msgstr "最适合的大小: 16x16"
145
 
146
  #: ../admin/admin.php:66
147
  msgid "Format Number"
160
 
161
  #: ../admin/admin.php:71
162
  msgid "Unlike"
163
+ msgstr "不喜欢"
164
 
165
  #: ../admin/admin.php:72
166
  msgid "Text After Like"
167
+ msgstr "[喜欢]后的文字"
168
 
169
  #: ../admin/admin.php:75
170
  msgid "Like Me Again!"
171
+ msgstr "再喜欢一次!"
172
 
173
  #: ../admin/admin.php:76
174
  msgid "Text After Unlike"
175
+ msgstr "[不喜欢]后的文字"
176
 
177
  #: ../admin/admin.php:79
178
  msgid "You have not permission to unlike"
179
+ msgstr "您没有权限选择不喜欢"
180
 
181
  #: ../admin/admin.php:80
182
  msgid "Permission Text"
183
+ msgstr "权限文本"
184
 
185
  #: ../admin/admin.php:87
186
  msgid "Settings saved."
188
 
189
  #: ../admin/admin.php:94
190
  msgid "Posts"
191
+ msgstr "文章"
192
 
193
  #: ../admin/admin.php:99 ../admin/admin.php:135 ../admin/admin.php:171
194
  msgid "Automatic display"
204
  msgid ""
205
  "If you disable this option, you have to put manually this code on wordpress "
206
  "while loop"
207
+ msgstr "如果你禁用这个选项,你必须手动添加这个代码到WordPress的循环代码中"
208
 
209
  #: ../admin/admin.php:106 ../admin/admin.php:142 ../admin/admin.php:178
210
  msgid "Only registered Users"
216
 
217
  #: ../admin/admin.php:113 ../admin/admin.php:149 ../admin/admin.php:192
218
  msgid "Show Liked Users Box"
219
+ msgstr "显示已喜欢的用户盒子"
220
 
221
  #: ../admin/admin.php:115 ../admin/admin.php:151 ../admin/admin.php:194
222
  msgid ""
223
  "Active this option to show liked users avatars in the bottom of button like."
224
+ msgstr "启用这个选项,可以在喜欢按钮的底部显示已喜欢的用户头像"
225
 
226
  #: ../admin/admin.php:120 ../admin/admin.php:156 ../admin/admin.php:199
227
  msgid "Size of Gravatars"
228
+ msgstr "头像大小"
229
 
230
  #: ../admin/admin.php:121 ../admin/admin.php:157 ../admin/admin.php:200
231
  msgid "Size of Gravatars to return (max is 512)"
232
+ msgstr "头像大小(最大为 512)"
233
 
234
  #: ../admin/admin.php:124
235
  msgid "Users who have LIKED this post:"
237
 
238
  #: ../admin/admin.php:125 ../admin/admin.php:161 ../admin/admin.php:204
239
  msgid "Users Like Box Title"
240
+ msgstr "用户喜欢盒子的标题"
241
 
242
  #: ../admin/admin.php:130
243
  msgid "Comments"
244
+ msgstr "评论"
245
 
246
  #: ../admin/admin.php:136
247
  msgid "<strong>On all comments</strong> at the bottom of the comment"
256
  #: ../admin/admin.php:144
257
  msgid ""
258
  "<strong>Only</strong> registered users have permission to like comments."
259
+ msgstr "<strong>只有</strong> 已注册的用户才有权限喜欢评论。"
260
 
261
  #: ../admin/admin.php:160
262
  msgid "Users who have LIKED this comment:"
264
 
265
  #: ../admin/admin.php:166
266
  msgid "BuddyPress"
267
+ msgstr "BuddyPress"
268
 
269
  #: ../admin/admin.php:172
270
  msgid "<strong>On all buddypress activities</strong> at the top of activity"
279
  #: ../admin/admin.php:180
280
  msgid ""
281
  "<strong>Only</strong> registered users have permission to like activities."
282
+ msgstr "<strong>只有</strong> 已注册的用户才有权限喜欢活动。"
283
 
284
  #: ../admin/admin.php:185
285
  msgid "BuddyPress Activity"
295
 
296
  #: ../admin/admin.php:209
297
  msgid "Customize"
298
+ msgstr "定制"
299
 
300
  #: ../admin/admin.php:214
301
  msgid "Custom Style"
303
 
304
  #: ../admin/admin.php:219
305
  msgid "Active this option to see the custom style settings."
306
+ msgstr "启用这个选项可以看到自定义样式设置。"
307
 
308
  #: ../admin/admin.php:223
309
  msgid "Button style"
327
 
328
  #: ../admin/admin.php:249
329
  msgid "Loading Animation"
330
+ msgstr "加载动画"
331
 
332
  #: ../admin/admin.php:255
333
  msgid "Dashboard"
334
+ msgstr "仪表盘"
335
 
336
  #: ../admin/admin.php:260
337
  msgid "Visit Post Logs Menu"
338
+ msgstr "访问文章日志菜单"
339
 
340
  #: ../admin/admin.php:262
341
  msgid "If you deactivate this option, \"Post Likes Logs\" Menu will hidden."
342
+ msgstr "如果你禁用这个选项,\"文章喜欢日志\"菜单将被隐藏。"
343
 
344
  #: ../admin/admin.php:267
345
  msgid "Visit Comment Logs Menu"
346
+ msgstr "访问评论日志菜单"
347
 
348
  #: ../admin/admin.php:269
349
  msgid "If you deactivate this option, \"Comment Likes Logs\" Menu will hidden."
350
+ msgstr "如果你禁用这个选项,\"评论喜欢日志\"菜单将被隐藏。"
351
 
352
  #: ../admin/admin.php:274
353
  msgid "Visit Activity Logs Menu"
354
+ msgstr "访问活动日志菜单"
355
 
356
  #: ../admin/admin.php:276
357
  msgid ""
358
  "If you deactivate this option, \"Activity Likes Logs\" Menu will hidden."
359
+ msgstr "如果你禁用这个选项,\"活动喜欢日志\"菜单将被隐藏。"
360
 
361
  #: ../admin/admin.php:288 ../admin/logs.php:34
362
  msgid "Post Likes Logs"
376
 
377
  #: ../admin/classes/class-settings.php:16
378
  msgid "Custom Settings"
379
+ msgstr "自定义设置"
380
 
381
  #: ../admin/classes/class-settings.php:27
382
  msgid "Save Settings"
383
+ msgstr "保存设置"
384
 
385
  #: ../admin/classes/class-settings.php:28
386
  msgid "Reset Settings"
387
+ msgstr "恢复默认设置"
388
 
389
  #: ../admin/classes/class-settings.php:91
390
  msgid "Default settings have been reset."
391
+ msgstr "已恢复为默认设置。"
392
 
393
  #: ../admin/classes/class-settings.php:167
394
  msgid ""
395
  "Do you really want to reset all these settings to their default values ?"
396
+ msgstr "您确定要恢复所有设置为默认设置吗?"
397
 
398
  #: ../admin/classes/class-settings.php:232
399
  #: ../admin/classes/class-settings.php:243
400
  #: ../admin/classes/class-settings.php:267
401
  msgid "No options defined."
402
+ msgstr "没有定义任何选项。"
403
 
404
  #: ../admin/classes/class-settings.php:254
405
  #, php-format
406
  msgid "Select %s"
407
+ msgstr "选择 %s"
408
 
409
  #: ../admin/classes/class-settings.php:255
410
  #, php-format
411
  msgid "Remove %s"
412
+ msgstr "移除 %s"
413
 
414
  #: ../admin/classes/class-settings.php:279
415
  msgid "No action defined."
416
+ msgstr "没有定义任何操作。"
417
 
418
  #: ../admin/classes/class-widget.php:8
419
  msgid "WP Ulike - Most Liked Posts"
437
 
438
  #: ../admin/classes/class-widget.php:66 ../admin/classes/class-widget.php:152
439
  msgid "Activate Like Counter"
440
+ msgstr "启用喜欢计数"
441
 
442
  #: ../admin/classes/class-widget.php:87
443
  msgid "WP Ulike - Most Liked Users"
512
  "<strong>ERROR:</strong> No Record Found. (This problem is created because "
513
  "you don't have any data on this table)"
514
  msgstr ""
515
+ "<strong>错误:</strong> 没有找到相关记录 (发生这个问题,是由于这个数据表中没"
516
+ "有任何数据)"
517
 
518
  #: ../admin/logs.php:159
519
  msgid "Comment ID"
557
 
558
  #: ../inc/wp-strings.php:3
559
  msgid "WP Ulike - Most Liked Comments"
560
+ msgstr "WP Ulike - 最多人喜欢的评论"
561
 
562
  #: ../inc/wp-strings.php:4
563
  msgid "This widget allows you to show most liked comments."
564
+ msgstr "这个小工具允许你显示最多人喜欢的评论。"
565
 
566
  #: ../inc/wp-strings.php:5
567
  msgid "Most Liked Comments"
568
+ msgstr "最多人喜欢的评论"
569
 
570
  #: ../inc/wp-strings.php:6
571
  msgid "WP Ulike - Most Liked Activities"
572
+ msgstr "WP Ulike - 最多人喜欢的活动"
573
 
574
  #: ../inc/wp-strings.php:7
575
  msgid "This widget allows you to show most liked activities."
576
+ msgstr "这个小工具允许你显示最多人喜欢的活动。"
577
 
578
  #: ../inc/wp-strings.php:8
579
  msgid "Most Liked Activities"
580
+ msgstr "最多人喜欢的活动"
581
 
582
  #: ../inc/wp-strings.php:9
583
  msgid "Users Login Text"
584
+ msgstr "用户登录文本"
585
 
586
  #: ../inc/wp-strings.php:10
587
  msgid "Allow To Like"
588
+ msgstr "允许喜欢"
589
 
590
  #: ../inc/wp-strings.php:11
591
  msgid "Guests Only"
592
+ msgstr "仅仅游客"
593
 
594
  #: ../inc/wp-strings.php:12
595
  msgid "Registered Users Only"
596
+ msgstr "仅仅已注册用户"
597
 
598
  #: ../inc/wp-strings.php:13
599
  msgid "Registered Users And Guests"
600
+ msgstr "已注册用户和游客"
601
 
602
  #: ../inc/wp-strings.php:14
603
  msgid "Who Is Allowed To Like?"
604
+ msgstr "谁将被允许喜欢?"
605
 
606
  #: ../inc/wp-strings.php:15
607
  msgid "Filter Options:"
608
+ msgstr "过滤选项:"
609
 
610
  #: ../inc/wp-strings.php:16
611
  msgid "Sort Options:"
612
+ msgstr "排序选项:"
613
 
614
  #: ../inc/wp-strings.php:17
615
  msgid "Logging Method"
616
+ msgstr "记录方法"
617
 
618
  #: ../inc/wp-strings.php:18
619
  msgid "Do Not Log"
620
+ msgstr "不记录"
621
 
622
  #: ../inc/wp-strings.php:19
623
  msgid "Logged By Cookie"
624
+ msgstr "通过 Cookie 记录"
625
 
626
  #: ../inc/wp-strings.php:20
627
  msgid "Logged By IP"
628
+ msgstr "通过 IP 记录"
629
 
630
  #: ../inc/wp-strings.php:21
631
  msgid "Logged By Cookie & IP"
632
+ msgstr "通过 Cookie 和 IP 记录"
633
 
634
  #: ../inc/wp-strings.php:22
635
  msgid "Logged By Username"
636
+ msgstr "通过用户名记录"
637
 
638
  #: ../inc/wp-strings.php:23
639
  msgid "Wp ULike Template"
640
+ msgstr "Wp ULike 模板"
641
 
642
  #: ../inc/wp-strings.php:24
643
  msgid "Dislike"
644
+ msgstr "不喜欢"
645
 
646
  #: ../inc/wp-strings.php:25
647
  msgid "Dislike Support"
648
+ msgstr "[不喜欢]支持"
649
 
650
  #: ../inc/wp-strings.php:26
651
  msgid "Text After Dislike"
652
+ msgstr "不喜欢后的文字"
653
 
654
  #: ../inc/wp-ulike-buddypress.php:73
655
  msgid "You need to login in order to like this activity: "
675
  "comments AND buddypress activities. Its very simple to use and supports many "
676
  "options."
677
  msgstr ""
678
+ "WP ULike 插件允许您集成一个漂亮的免刷新的喜欢按钮到你的 WordPress 站点,可以"
679
+ "让访客喜欢或不喜欢页面、文章、评论和 buddypress 评论。它不仅简单易用,而且支"
680
+ "持很多选项设置。"
681
 
682
  #~ msgid "Activate user like count"
683
  #~ msgstr "启用用户喜欢计数"
lang/alimir.pot ADDED
@@ -0,0 +1,760 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2014 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 1.8\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-ulike\n"
7
+ "POT-Creation-Date: 2014-12-10 13:09:13+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+
15
+ #: admin/about.php:45
16
+ msgid "Welcome to WP ULike"
17
+ msgstr ""
18
+
19
+ #: admin/about.php:47
20
+ msgid ""
21
+ "Thank you for choosing WP ULike! This version is our leanest and most "
22
+ "powerful version yet."
23
+ msgstr ""
24
+
25
+ #: admin/about.php:48
26
+ msgid "Visit our homepage"
27
+ msgstr ""
28
+
29
+ #: admin/about.php:53
30
+ msgid "Getting Started"
31
+ msgstr ""
32
+
33
+ #: admin/about.php:54
34
+ msgid "Credits"
35
+ msgstr ""
36
+
37
+ #: admin/about.php:55
38
+ msgid "Support"
39
+ msgstr ""
40
+
41
+ #: admin/about.php:56
42
+ msgid "FAQ"
43
+ msgstr ""
44
+
45
+ #: admin/about.php:57
46
+ msgid "Reviews"
47
+ msgstr ""
48
+
49
+ #: admin/about.php:58
50
+ msgid "Contact"
51
+ msgstr ""
52
+
53
+ #: admin/about.php:70
54
+ msgid "Novelty Of WP ULike"
55
+ msgstr ""
56
+
57
+ #: admin/about.php:74
58
+ msgid "New setting panel"
59
+ msgstr ""
60
+
61
+ #: admin/about.php:79
62
+ msgid "Better coding on plugin files"
63
+ msgstr ""
64
+
65
+ #: admin/about.php:86
66
+ msgid "Buddypress likes support"
67
+ msgstr ""
68
+
69
+ #: admin/about.php:91
70
+ msgid "Likes logs support"
71
+ msgstr ""
72
+
73
+ #: admin/about.php:100
74
+ msgid "WP ULike is created by many love and time. Enjoy it :)"
75
+ msgstr ""
76
+
77
+ #: admin/about.php:101
78
+ msgid "Project Leaders"
79
+ msgstr ""
80
+
81
+ #: admin/about.php:106
82
+ msgid "Project Lead & Developer"
83
+ msgstr ""
84
+
85
+ #: admin/about.php:110
86
+ msgid "Translations"
87
+ msgstr ""
88
+
89
+ #: admin/about.php:120
90
+ msgid "Like this plugin?"
91
+ msgstr ""
92
+
93
+ #: admin/about.php:121
94
+ msgid ""
95
+ "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
96
+ "wp-ulike\"> Plugin Directory reviews</a>"
97
+ msgstr ""
98
+
99
+ #: admin/admin.php:35
100
+ msgid "WP ULike Settings"
101
+ msgstr ""
102
+
103
+ #. #-#-#-#-# plugin.pot (WP ULike 1.8) #-#-#-#-#
104
+ #. Plugin Name of the plugin/theme
105
+ #: admin/admin.php:38 wp-ulike.php:16
106
+ msgid "WP ULike"
107
+ msgstr ""
108
+
109
+ #: admin/admin.php:43
110
+ msgid "General"
111
+ msgstr ""
112
+
113
+ #: admin/admin.php:47
114
+ msgid "Button Type"
115
+ msgstr ""
116
+
117
+ #: admin/admin.php:50
118
+ msgid "Icon"
119
+ msgstr ""
120
+
121
+ #: admin/admin.php:51
122
+ msgid "Text"
123
+ msgstr ""
124
+
125
+ #: admin/admin.php:55 admin/classes/class-widget.php:106
126
+ msgid "Like"
127
+ msgstr ""
128
+
129
+ #: admin/admin.php:56
130
+ msgid "Button Text"
131
+ msgstr ""
132
+
133
+ #: admin/admin.php:60
134
+ msgid "Button Icon"
135
+ msgstr ""
136
+
137
+ #: admin/admin.php:61 admin/admin.php:265
138
+ msgid "Best size: 16x16"
139
+ msgstr ""
140
+
141
+ #: admin/admin.php:66
142
+ msgid "Format Number"
143
+ msgstr ""
144
+
145
+ #: admin/admin.php:67 admin/admin.php:100 admin/admin.php:122
146
+ #: admin/admin.php:129 admin/admin.php:158 admin/admin.php:165
147
+ #: admin/admin.php:194 admin/admin.php:201 admin/admin.php:208
148
+ #: admin/admin.php:230 admin/admin.php:276 admin/admin.php:283
149
+ #: admin/admin.php:290
150
+ msgid "Activate"
151
+ msgstr ""
152
+
153
+ #: admin/admin.php:68
154
+ msgid "Convert numbers of Likes with string (kilobyte) format."
155
+ msgstr ""
156
+
157
+ #: admin/admin.php:71
158
+ msgid "Unlike"
159
+ msgstr ""
160
+
161
+ #: admin/admin.php:72
162
+ msgid "Text After Like"
163
+ msgstr ""
164
+
165
+ #: admin/admin.php:75
166
+ msgid "Like Me Again!"
167
+ msgstr ""
168
+
169
+ #: admin/admin.php:76
170
+ msgid "Text After Unlike"
171
+ msgstr ""
172
+
173
+ #: admin/admin.php:79
174
+ msgid "You have not permission to unlike"
175
+ msgstr ""
176
+
177
+ #: admin/admin.php:80
178
+ msgid "Permission Text"
179
+ msgstr ""
180
+
181
+ #: admin/admin.php:87
182
+ msgid "Settings saved."
183
+ msgstr ""
184
+
185
+ #: admin/admin.php:94
186
+ msgid "Posts"
187
+ msgstr ""
188
+
189
+ #: admin/admin.php:99 admin/admin.php:150 admin/admin.php:186
190
+ msgid "Automatic display"
191
+ msgstr ""
192
+
193
+ #: admin/admin.php:101
194
+ msgid ""
195
+ "If you disable this option, you have to put manually this code on wordpress "
196
+ "while loop"
197
+ msgstr ""
198
+
199
+ #: admin/admin.php:105
200
+ msgid "Auto Display Filter"
201
+ msgstr ""
202
+
203
+ #: admin/admin.php:107
204
+ msgid "Home"
205
+ msgstr ""
206
+
207
+ #: admin/admin.php:108
208
+ msgid "Single Posts"
209
+ msgstr ""
210
+
211
+ #: admin/admin.php:109
212
+ msgid "Pages"
213
+ msgstr ""
214
+
215
+ #: admin/admin.php:110
216
+ msgid "Archives"
217
+ msgstr ""
218
+
219
+ #: admin/admin.php:111
220
+ msgid "Categories"
221
+ msgstr ""
222
+
223
+ #: admin/admin.php:112
224
+ msgid "Search Results"
225
+ msgstr ""
226
+
227
+ #: admin/admin.php:113
228
+ msgid "Tags"
229
+ msgstr ""
230
+
231
+ #: admin/admin.php:114
232
+ msgid "Author Page"
233
+ msgstr ""
234
+
235
+ #: admin/admin.php:116
236
+ msgid "You can filter theses pages on auto display option."
237
+ msgstr ""
238
+
239
+ #: admin/admin.php:121 admin/admin.php:157 admin/admin.php:193
240
+ msgid "Only registered Users"
241
+ msgstr ""
242
+
243
+ #: admin/admin.php:123
244
+ msgid "<strong>Only</strong> registered users have permission to like posts."
245
+ msgstr ""
246
+
247
+ #: admin/admin.php:128 admin/admin.php:164 admin/admin.php:207
248
+ msgid "Show Liked Users Box"
249
+ msgstr ""
250
+
251
+ #: admin/admin.php:130 admin/admin.php:166 admin/admin.php:209
252
+ msgid ""
253
+ "Active this option to show liked users avatars in the bottom of button like."
254
+ msgstr ""
255
+
256
+ #: admin/admin.php:135 admin/admin.php:171 admin/admin.php:214
257
+ msgid "Size of Gravatars"
258
+ msgstr ""
259
+
260
+ #: admin/admin.php:136 admin/admin.php:172 admin/admin.php:215
261
+ msgid "Size of Gravatars to return (max is 512)"
262
+ msgstr ""
263
+
264
+ #: admin/admin.php:139
265
+ msgid "Users who have LIKED this post:"
266
+ msgstr ""
267
+
268
+ #: admin/admin.php:140 admin/admin.php:176 admin/admin.php:219
269
+ msgid "Users Like Box Title"
270
+ msgstr ""
271
+
272
+ #: admin/admin.php:145
273
+ msgid "Comments"
274
+ msgstr ""
275
+
276
+ #: admin/admin.php:151
277
+ msgid "<strong>On all comments</strong> at the bottom of the comment"
278
+ msgstr ""
279
+
280
+ #: admin/admin.php:152
281
+ msgid ""
282
+ "If you disable this option, you have to put manually this code on comments "
283
+ "text"
284
+ msgstr ""
285
+
286
+ #: admin/admin.php:159
287
+ msgid ""
288
+ "<strong>Only</strong> registered users have permission to like comments."
289
+ msgstr ""
290
+
291
+ #: admin/admin.php:175
292
+ msgid "Users who have LIKED this comment:"
293
+ msgstr ""
294
+
295
+ #: admin/admin.php:181
296
+ msgid "BuddyPress"
297
+ msgstr ""
298
+
299
+ #: admin/admin.php:187
300
+ msgid "<strong>On all buddypress activities</strong> at the top of activity"
301
+ msgstr ""
302
+
303
+ #: admin/admin.php:188
304
+ msgid ""
305
+ "If you disable this option, you have to put manually this code on buddypres "
306
+ "activities content"
307
+ msgstr ""
308
+
309
+ #: admin/admin.php:195
310
+ msgid ""
311
+ "<strong>Only</strong> registered users have permission to like activities."
312
+ msgstr ""
313
+
314
+ #: admin/admin.php:200
315
+ msgid "BuddyPress Activity"
316
+ msgstr ""
317
+
318
+ #: admin/admin.php:202
319
+ msgid "insert new likes in buddyPress activity page"
320
+ msgstr ""
321
+
322
+ #: admin/admin.php:218
323
+ msgid "Users who have liked this activity:"
324
+ msgstr ""
325
+
326
+ #: admin/admin.php:224
327
+ msgid "Customize"
328
+ msgstr ""
329
+
330
+ #: admin/admin.php:229
331
+ msgid "Custom Style"
332
+ msgstr ""
333
+
334
+ #: admin/admin.php:234
335
+ msgid "Active this option to see the custom style settings."
336
+ msgstr ""
337
+
338
+ #: admin/admin.php:238
339
+ msgid "Button style"
340
+ msgstr ""
341
+
342
+ #: admin/admin.php:239 admin/admin.php:252
343
+ msgid "Background"
344
+ msgstr ""
345
+
346
+ #: admin/admin.php:243 admin/admin.php:256
347
+ msgid "Border Color"
348
+ msgstr ""
349
+
350
+ #: admin/admin.php:247 admin/admin.php:260
351
+ msgid "Text Color"
352
+ msgstr ""
353
+
354
+ #: admin/admin.php:251
355
+ msgid "Counter Style"
356
+ msgstr ""
357
+
358
+ #: admin/admin.php:264
359
+ msgid "Loading Animation"
360
+ msgstr ""
361
+
362
+ #: admin/admin.php:270
363
+ msgid "Dashboard"
364
+ msgstr ""
365
+
366
+ #: admin/admin.php:275
367
+ msgid "Visit Post Logs Menu"
368
+ msgstr ""
369
+
370
+ #: admin/admin.php:277
371
+ msgid "If you deactivate this option, \"Post Likes Logs\" Menu will hidden."
372
+ msgstr ""
373
+
374
+ #: admin/admin.php:282
375
+ msgid "Visit Comment Logs Menu"
376
+ msgstr ""
377
+
378
+ #: admin/admin.php:284
379
+ msgid "If you deactivate this option, \"Comment Likes Logs\" Menu will hidden."
380
+ msgstr ""
381
+
382
+ #: admin/admin.php:289
383
+ msgid "Visit Activity Logs Menu"
384
+ msgstr ""
385
+
386
+ #: admin/admin.php:291
387
+ msgid ""
388
+ "If you deactivate this option, \"Activity Likes Logs\" Menu will hidden."
389
+ msgstr ""
390
+
391
+ #: admin/admin.php:303 admin/logs.php:34
392
+ msgid "Post Likes Logs"
393
+ msgstr ""
394
+
395
+ #: admin/admin.php:307 admin/logs.php:147
396
+ msgid "Comment Likes Logs"
397
+ msgstr ""
398
+
399
+ #: admin/admin.php:311 admin/logs.php:260
400
+ msgid "Activity Likes Logs"
401
+ msgstr ""
402
+
403
+ #: admin/admin.php:314
404
+ msgid "About WP ULike"
405
+ msgstr ""
406
+
407
+ #: admin/classes/class-settings.php:16
408
+ msgid "Custom Settings"
409
+ msgstr ""
410
+
411
+ #: admin/classes/class-settings.php:27
412
+ msgid "Save Settings"
413
+ msgstr ""
414
+
415
+ #: admin/classes/class-settings.php:28
416
+ msgid "Reset Settings"
417
+ msgstr ""
418
+
419
+ #: admin/classes/class-settings.php:91
420
+ msgid "Default settings have been reset."
421
+ msgstr ""
422
+
423
+ #: admin/classes/class-settings.php:167
424
+ msgid ""
425
+ "Do you really want to reset all these settings to their default values ?"
426
+ msgstr ""
427
+
428
+ #: admin/classes/class-settings.php:232 admin/classes/class-settings.php:243
429
+ #: admin/classes/class-settings.php:267
430
+ msgid "No options defined."
431
+ msgstr ""
432
+
433
+ #: admin/classes/class-settings.php:254
434
+ msgid "Select %s"
435
+ msgstr ""
436
+
437
+ #: admin/classes/class-settings.php:255
438
+ msgid "Remove %s"
439
+ msgstr ""
440
+
441
+ #: admin/classes/class-settings.php:279
442
+ msgid "No action defined."
443
+ msgstr ""
444
+
445
+ #: admin/classes/class-widget.php:8
446
+ msgid "WP Ulike - Most Liked Posts"
447
+ msgstr ""
448
+
449
+ #: admin/classes/class-widget.php:9
450
+ msgid "This widget allows you to show most liked posts."
451
+ msgstr ""
452
+
453
+ #: admin/classes/class-widget.php:51
454
+ msgid "Most Liked Posts"
455
+ msgstr ""
456
+
457
+ #: admin/classes/class-widget.php:55 admin/classes/class-widget.php:136
458
+ msgid "Title:"
459
+ msgstr ""
460
+
461
+ #: admin/classes/class-widget.php:60
462
+ msgid "Number of posts to show:"
463
+ msgstr ""
464
+
465
+ #: admin/classes/class-widget.php:66 admin/classes/class-widget.php:152
466
+ msgid "Activate Like Counter"
467
+ msgstr ""
468
+
469
+ #: admin/classes/class-widget.php:87
470
+ msgid "WP Ulike - Most Liked Users"
471
+ msgstr ""
472
+
473
+ #: admin/classes/class-widget.php:88
474
+ msgid "This widget allows you to show most liked users avatars."
475
+ msgstr ""
476
+
477
+ #: admin/classes/class-widget.php:132
478
+ msgid "Most Liked Users"
479
+ msgstr ""
480
+
481
+ #: admin/classes/class-widget.php:141
482
+ msgid "Number of users to show:"
483
+ msgstr ""
484
+
485
+ #: admin/classes/class-widget.php:146
486
+ msgid "User avatar size:"
487
+ msgstr ""
488
+
489
+ #: admin/logs.php:33 admin/logs.php:146 admin/logs.php:259
490
+ msgid "WP ULike Logs"
491
+ msgstr ""
492
+
493
+ #: admin/logs.php:43 admin/logs.php:156 admin/logs.php:269
494
+ msgid "ID"
495
+ msgstr ""
496
+
497
+ #: admin/logs.php:44 admin/logs.php:157 admin/logs.php:270
498
+ msgid "Username"
499
+ msgstr ""
500
+
501
+ #: admin/logs.php:45 admin/logs.php:158 admin/logs.php:271
502
+ msgid "Status"
503
+ msgstr ""
504
+
505
+ #: admin/logs.php:46
506
+ msgid "Post ID"
507
+ msgstr ""
508
+
509
+ #: admin/logs.php:47
510
+ msgid "Post Title"
511
+ msgstr ""
512
+
513
+ #: admin/logs.php:48 admin/logs.php:161 admin/logs.php:273
514
+ msgid "Date / Time"
515
+ msgstr ""
516
+
517
+ #: admin/logs.php:49 admin/logs.php:162 admin/logs.php:274
518
+ msgid "IP"
519
+ msgstr ""
520
+
521
+ #: admin/logs.php:96
522
+ msgid "Post Likes Logs Stats"
523
+ msgstr ""
524
+
525
+ #: admin/logs.php:100 admin/logs.php:213 admin/logs.php:322
526
+ msgid "Total Users Liked:"
527
+ msgstr ""
528
+
529
+ #: admin/logs.php:104
530
+ msgid "Total Posts Liked:"
531
+ msgstr ""
532
+
533
+ #: admin/logs.php:108 admin/logs.php:221 admin/logs.php:330
534
+ msgid "Total Likes Sum:"
535
+ msgstr ""
536
+
537
+ #: admin/logs.php:115 admin/logs.php:228 admin/logs.php:337
538
+ msgid ""
539
+ "<strong>ERROR:</strong> No Record Found. (This problem is created because "
540
+ "you don't have any data on this table)"
541
+ msgstr ""
542
+
543
+ #: admin/logs.php:159
544
+ msgid "Comment ID"
545
+ msgstr ""
546
+
547
+ #: admin/logs.php:160
548
+ msgid "Comment Author"
549
+ msgstr ""
550
+
551
+ #: admin/logs.php:209
552
+ msgid "Comment Likes Logs Stats"
553
+ msgstr ""
554
+
555
+ #: admin/logs.php:217
556
+ msgid "Total Comments Liked:"
557
+ msgstr ""
558
+
559
+ #: admin/logs.php:272
560
+ msgid "Activity ID"
561
+ msgstr ""
562
+
563
+ #: admin/logs.php:318
564
+ msgid "Activity Likes Logs Stats"
565
+ msgstr ""
566
+
567
+ #: admin/logs.php:326
568
+ msgid "Total Activities Liked:"
569
+ msgstr ""
570
+
571
+ #: inc/wp-functions.php:181
572
+ msgid "WP ULike Activity"
573
+ msgstr ""
574
+
575
+ #: inc/wp-functions.php:191 inc/wp-functions.php:201
576
+ msgid "liked"
577
+ msgstr ""
578
+
579
+ #: inc/wp-functions.php:191
580
+ msgid "comment"
581
+ msgstr ""
582
+
583
+ #: inc/wp-strings.php:3
584
+ msgid "WP ULike - Most Liked Comments"
585
+ msgstr ""
586
+
587
+ #: inc/wp-strings.php:4
588
+ msgid "This widget allows you to show most liked comments."
589
+ msgstr ""
590
+
591
+ #: inc/wp-strings.php:5
592
+ msgid "Most Liked Comments"
593
+ msgstr ""
594
+
595
+ #: inc/wp-strings.php:6
596
+ msgid "WP ULike - Most Liked Activities"
597
+ msgstr ""
598
+
599
+ #: inc/wp-strings.php:7
600
+ msgid "This widget allows you to show most liked activities."
601
+ msgstr ""
602
+
603
+ #: inc/wp-strings.php:8
604
+ msgid "Most Liked Activities"
605
+ msgstr ""
606
+
607
+ #: inc/wp-strings.php:9
608
+ msgid "Users Login Text"
609
+ msgstr ""
610
+
611
+ #: inc/wp-strings.php:10
612
+ msgid "Allow To Like"
613
+ msgstr ""
614
+
615
+ #: inc/wp-strings.php:11
616
+ msgid "Guests Only"
617
+ msgstr ""
618
+
619
+ #: inc/wp-strings.php:12
620
+ msgid "Registered Users Only"
621
+ msgstr ""
622
+
623
+ #: inc/wp-strings.php:13
624
+ msgid "Registered Users And Guests"
625
+ msgstr ""
626
+
627
+ #: inc/wp-strings.php:14
628
+ msgid "Who Is Allowed To Like?"
629
+ msgstr ""
630
+
631
+ #: inc/wp-strings.php:15
632
+ msgid "Filter Options:"
633
+ msgstr ""
634
+
635
+ #: inc/wp-strings.php:16
636
+ msgid "Sort Options:"
637
+ msgstr ""
638
+
639
+ #: inc/wp-strings.php:17
640
+ msgid "Logging Method"
641
+ msgstr ""
642
+
643
+ #: inc/wp-strings.php:18
644
+ msgid "Do Not Log"
645
+ msgstr ""
646
+
647
+ #: inc/wp-strings.php:19
648
+ msgid "Logged By Cookie"
649
+ msgstr ""
650
+
651
+ #: inc/wp-strings.php:20
652
+ msgid "Logged By IP"
653
+ msgstr ""
654
+
655
+ #: inc/wp-strings.php:21
656
+ msgid "Logged By Cookie & IP"
657
+ msgstr ""
658
+
659
+ #: inc/wp-strings.php:22
660
+ msgid "Logged By Username"
661
+ msgstr ""
662
+
663
+ #: inc/wp-strings.php:23
664
+ msgid "Themes"
665
+ msgstr ""
666
+
667
+ #: inc/wp-strings.php:24
668
+ msgid "Dislike"
669
+ msgstr ""
670
+
671
+ #: inc/wp-strings.php:25
672
+ msgid "Dislike Support"
673
+ msgstr ""
674
+
675
+ #: inc/wp-strings.php:26
676
+ msgid "Text After Dislike"
677
+ msgstr ""
678
+
679
+ #: inc/wp-strings.php:27
680
+ msgid "Show Counter"
681
+ msgstr ""
682
+
683
+ #: inc/wp-strings.php:28
684
+ msgid "Show tooltips"
685
+ msgstr ""
686
+
687
+ #: inc/wp-strings.php:29
688
+ msgid "Top of Content"
689
+ msgstr ""
690
+
691
+ #: inc/wp-strings.php:30
692
+ msgid "Bottom of Content"
693
+ msgstr ""
694
+
695
+ #: inc/wp-strings.php:31
696
+ msgid "Top and Bottom"
697
+ msgstr ""
698
+
699
+ #: inc/wp-strings.php:32
700
+ msgid "Alignment"
701
+ msgstr ""
702
+
703
+ #: inc/wp-strings.php:33
704
+ msgid "Left"
705
+ msgstr ""
706
+
707
+ #: inc/wp-strings.php:34
708
+ msgid "Center"
709
+ msgstr ""
710
+
711
+ #: inc/wp-strings.php:35
712
+ msgid "Right"
713
+ msgstr ""
714
+
715
+ #: inc/wp-strings.php:36
716
+ msgid "Cookie Life time"
717
+ msgstr ""
718
+
719
+ #: inc/wp-strings.php:37
720
+ msgid "BuddyPress Notifications"
721
+ msgstr ""
722
+
723
+ #: inc/wp-ulike-buddypress.php:73
724
+ msgid "You need to login in order to like this activity: "
725
+ msgstr ""
726
+
727
+ #: inc/wp-ulike-buddypress.php:73 inc/wp-ulike-comments.php:73
728
+ #: inc/wp-ulike-posts.php:75
729
+ msgid "click here"
730
+ msgstr ""
731
+
732
+ #: inc/wp-ulike-comments.php:73
733
+ msgid "You need to login in order to like this comment: "
734
+ msgstr ""
735
+
736
+ #: inc/wp-ulike-posts.php:75
737
+ msgid "You need to login in order to like this post: "
738
+ msgstr ""
739
+
740
+ #. #-#-#-#-# plugin.pot (WP ULike 1.8) #-#-#-#-#
741
+ #. Description of the plugin/theme
742
+ #: wp-ulike.php:17
743
+ msgid ""
744
+ "WP ULike plugin allows to integrate a beautiful Ajax Like Button into your "
745
+ "wordPress website to allow your visitors to like and unlike pages, posts, "
746
+ "comments AND buddypress activities. Its very simple to use and supports many "
747
+ "options."
748
+ msgstr ""
749
+
750
+ #. Plugin URI of the plugin/theme
751
+ msgid "http://wordpress.org/plugins/wp-ulike"
752
+ msgstr ""
753
+
754
+ #. Author of the plugin/theme
755
+ msgid "Ali Mirzaei"
756
+ msgstr ""
757
+
758
+ #. Author URI of the plugin/theme
759
+ msgid "http://about.alimir.ir"
760
+ msgstr ""
lang/defualt.mo CHANGED
Binary file
lang/defualt.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
- "POT-Creation-Date: 2014-11-23 10:52+0330\n"
5
- "PO-Revision-Date: 2014-11-23 10:53+0330\n"
6
  "Last-Translator: Alimir <info@alimir.ir>\n"
7
  "Language-Team: \n"
8
  "Language: en_PW\n"
@@ -17,391 +17,803 @@ msgstr ""
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
- #: ../inc/about-page.php:39
21
  msgid "Welcome to WP ULike"
22
  msgstr ""
23
 
24
- #: ../inc/about-page.php:41
25
  msgid ""
26
- "Thanks for updating! This version is our leanest and most powerful version "
27
- "yet."
28
  msgstr ""
29
 
30
- #: ../inc/about-page.php:45
31
- msgid "What’s New"
32
  msgstr ""
33
 
34
- #: ../inc/about-page.php:50 ../inc/wp-options.php:13
35
- msgid "About WP ULike"
36
  msgstr ""
37
 
38
- #: ../inc/about-page.php:52
39
- msgid ""
40
- "WP ULike enables you to add Ajax Like button into your WordPress site and "
41
- "allowing your visitors to like and dislike posts, pages, comments AND "
42
- "buddypress activities. It features: Clean Design, Ajax feature to update the "
43
- "data without reloading, Custom Like-Dislike Texts, Simple custom style with "
44
- "color picker settings, BuddyPress activity support, Widget to show Most "
45
- "Liked Posts And Most Liked Users avatars, Added automatically, RTL language "
46
- "support, Simple configuration panel and many more..."
47
  msgstr ""
48
 
49
- #: ../inc/about-page.php:58
50
- msgid "New Administrative Tools"
51
  msgstr ""
52
 
53
- #: ../inc/about-page.php:76
54
- msgid "Credits"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  msgstr ""
56
 
57
- #: ../inc/about-page.php:85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  msgid "Translations"
59
  msgstr ""
60
 
61
- #: ../inc/about-page.php:88
62
  msgid "Like this plugin?"
63
  msgstr ""
64
 
65
- #: ../inc/about-page.php:89
66
  msgid ""
67
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
68
  "wp-ulike\"> Plugin Directory reviews</a>"
69
  msgstr ""
70
 
71
- #: ../inc/wp-functions.php:157
72
- msgid "WP ULike Activity"
73
  msgstr ""
74
 
75
- #: ../inc/wp-functions.php:168 ../inc/wp-functions.php:178
76
- msgid "liked"
77
  msgstr ""
78
 
79
- #: ../inc/wp-functions.php:168
80
- msgid "comment"
81
  msgstr ""
82
 
83
- #: ../inc/wp-logs.php:32 ../inc/wp-logs.php:145 ../inc/wp-logs.php:258
84
- msgid "WP ULike Logs"
85
  msgstr ""
86
 
87
- #: ../inc/wp-logs.php:33 ../inc/wp-options.php:10
88
- msgid "Post Likes Logs"
89
  msgstr ""
90
 
91
- #: ../inc/wp-logs.php:42 ../inc/wp-logs.php:155 ../inc/wp-logs.php:268
92
- msgid "ID"
93
  msgstr ""
94
 
95
- #: ../inc/wp-logs.php:43 ../inc/wp-logs.php:156 ../inc/wp-logs.php:269
96
- msgid "Username"
97
  msgstr ""
98
 
99
- #: ../inc/wp-logs.php:44 ../inc/wp-logs.php:157 ../inc/wp-logs.php:270
100
- msgid "Status"
101
  msgstr ""
102
 
103
- #: ../inc/wp-logs.php:45
104
- msgid "Post ID"
105
  msgstr ""
106
 
107
- #: ../inc/wp-logs.php:46
108
- msgid "Post Title"
109
  msgstr ""
110
 
111
- #: ../inc/wp-logs.php:47 ../inc/wp-logs.php:160 ../inc/wp-logs.php:272
112
- msgid "Date / Time"
113
  msgstr ""
114
 
115
- #: ../inc/wp-logs.php:48 ../inc/wp-logs.php:161 ../inc/wp-logs.php:273
116
- msgid "IP"
 
 
 
 
117
  msgstr ""
118
 
119
- #: ../inc/wp-logs.php:95
120
- msgid "Post Likes Logs Stats"
121
  msgstr ""
122
 
123
- #: ../inc/wp-logs.php:99 ../inc/wp-logs.php:212 ../inc/wp-logs.php:321
124
- msgid "Total Users Liked:"
125
  msgstr ""
126
 
127
- #: ../inc/wp-logs.php:103
128
- msgid "Total Posts Liked:"
129
  msgstr ""
130
 
131
- #: ../inc/wp-logs.php:107 ../inc/wp-logs.php:220 ../inc/wp-logs.php:329
132
- msgid "Total Likes Sum:"
133
  msgstr ""
134
 
135
- #: ../inc/wp-logs.php:146 ../inc/wp-options.php:11
136
- msgid "Comment Likes Logs"
 
 
137
  msgstr ""
138
 
139
- #: ../inc/wp-logs.php:158
140
- msgid "Comment ID"
141
  msgstr ""
142
 
143
- #: ../inc/wp-logs.php:159
144
- msgid "Comment Author"
145
  msgstr ""
146
 
147
- #: ../inc/wp-logs.php:208
148
- msgid "Comment Likes Logs Stats"
149
  msgstr ""
150
 
151
- #: ../inc/wp-logs.php:216
152
- msgid "Total Comments Liked:"
153
  msgstr ""
154
 
155
- #: ../inc/wp-logs.php:259 ../inc/wp-options.php:12
156
- msgid "Activity Likes Logs"
157
  msgstr ""
158
 
159
- #: ../inc/wp-logs.php:271
160
- msgid "Activity ID"
161
  msgstr ""
162
 
163
- #: ../inc/wp-logs.php:317
164
- msgid "Activity Likes Logs Stats"
165
  msgstr ""
166
 
167
- #: ../inc/wp-logs.php:325
168
- msgid "Total Activities Liked:"
 
 
169
  msgstr ""
170
 
171
- #: ../inc/wp-options.php:9 ../wp-ulike.php:16
172
- msgid "WP ULike"
173
  msgstr ""
174
 
175
- #: ../inc/wp-options.php:49
176
- msgid "Configuration"
177
  msgstr ""
178
 
179
- #: ../inc/wp-options.php:52
180
- msgid "Settings saved."
181
  msgstr ""
182
 
183
- #: ../inc/wp-options.php:59
184
- msgid "Image or text?"
185
  msgstr ""
186
 
187
- #: ../inc/wp-options.php:74
188
- msgid "Like Text"
189
  msgstr ""
190
 
191
- #: ../inc/wp-options.php:82
192
- msgid "Dislike Text?"
193
  msgstr ""
194
 
195
- #: ../inc/wp-options.php:90
196
- msgid "Automatic display"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  msgstr ""
198
 
199
- #: ../inc/wp-options.php:94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  msgid ""
201
- "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
202
- "post"
 
203
  msgstr ""
204
 
205
- #: ../inc/wp-options.php:96
206
- msgid "If you disable this option, you have to put manually the code"
 
 
 
207
  msgstr ""
208
 
209
- #: ../inc/wp-options.php:96
210
- msgid "wherever you want in your template."
 
 
211
  msgstr ""
212
 
213
- #: ../inc/wp-options.php:100
214
- msgid "Comment likes"
 
 
 
215
  msgstr ""
216
 
217
- #: ../inc/wp-options.php:104
218
- msgid "<strong>On all comments</strong> at the bottom of the comment"
 
 
 
219
  msgstr ""
220
 
221
- #: ../inc/wp-options.php:106
 
 
 
 
222
  msgid ""
223
- "If you disable this option, you have to put manually this code on comments "
224
- "text"
225
  msgstr ""
226
 
227
- #: ../inc/wp-options.php:110
228
- msgid "Activity likes"
229
  msgstr ""
230
 
231
- #: ../inc/wp-options.php:114
232
- msgid "<strong>On all buddypress activities</strong> at the top of activity"
 
 
 
 
233
  msgstr ""
234
 
235
- #: ../inc/wp-options.php:116
 
 
 
 
 
 
 
 
236
  msgid ""
237
- "If you disable this option, you have to put manually this code on buddypres "
238
- "activities content"
239
  msgstr ""
240
 
241
- #: ../inc/wp-options.php:120
242
- msgid "Only registered Users"
 
243
  msgstr ""
244
 
245
- #: ../inc/wp-options.php:124 ../inc/wp-options.php:134
246
- #: ../inc/wp-options.php:144 ../inc/wp-options.php:154
247
- #: ../inc/wp-options.php:164
248
- msgid "Activate"
249
  msgstr ""
250
 
251
- #: ../inc/wp-options.php:126
252
- msgid "<strong>Only</strong> registered users have permission to like posts."
253
  msgstr ""
254
 
255
- #: ../inc/wp-options.php:130
256
- msgid "BuddyPress Activity"
257
  msgstr ""
258
 
259
- #: ../inc/wp-options.php:136
260
- msgid "insert new likes in buddyPress activity page"
 
 
261
  msgstr ""
262
 
263
- #: ../inc/wp-options.php:140
264
- msgid "Show Users Like Box"
 
265
  msgstr ""
266
 
267
- #: ../inc/wp-options.php:146
268
- msgid "Active this option to show users avatar in like box."
269
  msgstr ""
270
 
271
- #: ../inc/wp-options.php:150
272
- msgid "Format Number"
273
  msgstr ""
274
 
275
- #: ../inc/wp-options.php:156
276
- msgid "Convert numbers of Likes with string (kilobyte) format."
 
 
 
 
277
  msgstr ""
278
 
279
- #: ../inc/wp-options.php:160
280
  msgid "Custom Style"
281
  msgstr ""
282
 
283
- #: ../inc/wp-options.php:166
284
- msgid "Active this option to see custom color settings."
285
  msgstr ""
286
 
287
- #: ../inc/wp-options.php:170
288
  msgid "Button style"
289
  msgstr ""
290
 
291
- #: ../inc/wp-options.php:175 ../inc/wp-options.php:192
292
  msgid "Background"
293
  msgstr ""
294
 
295
- #: ../inc/wp-options.php:179 ../inc/wp-options.php:196
296
  msgid "Border Color"
297
  msgstr ""
298
 
299
- #: ../inc/wp-options.php:183 ../inc/wp-options.php:200
300
  msgid "Text Color"
301
  msgstr ""
302
 
303
- #: ../inc/wp-options.php:187
304
  msgid "Counter Style"
305
  msgstr ""
306
 
307
- #: ../inc/wp-ulike-buddypress.php:34 ../inc/wp-ulike-buddypress.php:50
308
- #: ../inc/wp-ulike-comments.php:34 ../inc/wp-ulike-comments.php:50
309
- #: ../inc/wp-ulike-posts.php:35 ../inc/wp-ulike-posts.php:51
310
- msgid "Already Voted"
311
  msgstr ""
312
 
313
- #: ../inc/wp-ulike-buddypress.php:61
314
- msgid "Users who have liked this activity:"
315
  msgstr ""
316
 
317
- #: ../inc/wp-ulike-buddypress.php:73
318
- msgid "You need to login in order to like this activity: "
319
  msgstr ""
320
 
321
- #: ../inc/wp-ulike-buddypress.php:73 ../inc/wp-ulike-comments.php:73
322
- #: ../inc/wp-ulike-posts.php:75
323
- msgid "click here"
324
  msgstr ""
325
 
326
- #: ../inc/wp-ulike-comments.php:61
327
- msgid "Users who have LIKED this comment:"
328
  msgstr ""
329
 
330
- #: ../inc/wp-ulike-comments.php:73
331
- msgid "You need to login in order to like this comment: "
332
  msgstr ""
333
 
334
- #: ../inc/wp-ulike-posts.php:63
335
- msgid "Users who have LIKED this post:"
336
  msgstr ""
337
 
338
- #: ../inc/wp-ulike-posts.php:75
339
- msgid "You need to login in order to like this post: "
 
340
  msgstr ""
341
 
342
- #: ../inc/wp-widget.php:8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
343
  msgid "WP Ulike - Most Liked Posts"
344
  msgstr ""
345
 
346
- #: ../inc/wp-widget.php:9
347
  msgid "This widget allows you to show most liked posts."
348
  msgstr ""
349
 
350
- #: ../inc/wp-widget.php:51
351
  msgid "Most Liked Posts"
352
  msgstr ""
353
 
354
- #: ../inc/wp-widget.php:55 ../inc/wp-widget.php:136
 
355
  msgid "Title:"
356
  msgstr ""
357
 
358
- #: ../inc/wp-widget.php:60
359
  msgid "Number of posts to show:"
360
  msgstr ""
361
 
362
- #: ../inc/wp-widget.php:66
363
- msgid "Activate post like count"
 
364
  msgstr ""
365
 
366
- #: ../inc/wp-widget.php:87
367
- msgid "WP Ulike - Most Liked Users"
368
  msgstr ""
369
 
370
- #: ../inc/wp-widget.php:88
371
- msgid "This widget allows you to show most liked users avatars."
372
  msgstr ""
373
 
374
- #: ../inc/wp-widget.php:106 ../wp-ulike.php:87
375
- msgid "Like"
 
 
 
 
 
 
 
 
376
  msgstr ""
377
 
378
- #: ../inc/wp-widget.php:132
 
 
 
 
379
  msgid "Most Liked Users"
380
  msgstr ""
381
 
382
- #: ../inc/wp-widget.php:141
383
  msgid "Number of users to show:"
384
  msgstr ""
385
 
386
- #: ../inc/wp-widget.php:146
387
  msgid "User avatar size:"
388
  msgstr ""
389
 
390
- #: ../inc/wp-widget.php:152
391
- msgid "Activate user like count"
392
  msgstr ""
393
 
394
- #: ../wp-ulike.php:17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
395
  msgid ""
396
- "WP ULike plugin allows to integrate Like Button into your WordPress website "
397
- "to allow your visitors to like pages, posts AND comments. Its very simple to "
398
- "use and support a widget to display the most liked posts."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
399
  msgstr ""
400
 
401
- #: ../wp-ulike.php:88
402
- msgid "You Like This"
403
  msgstr ""
404
 
405
- #: ../wp-ulike.php:89
406
- msgid "You Dislike This"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
407
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
+ "POT-Creation-Date: 2014-12-10 16:36+0330\n"
5
+ "PO-Revision-Date: 2014-12-10 16:36+0330\n"
6
  "Last-Translator: Alimir <info@alimir.ir>\n"
7
  "Language-Team: \n"
8
  "Language: en_PW\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
+ #: ../admin/about.php:56
21
  msgid "Welcome to WP ULike"
22
  msgstr ""
23
 
24
+ #: ../admin/about.php:58
25
  msgid ""
26
+ "Thank you for choosing WP ULike! This version is our leanest and most "
27
+ "powerful version yet."
28
  msgstr ""
29
 
30
+ #: ../admin/about.php:59
31
+ msgid "Visit our homepage"
32
  msgstr ""
33
 
34
+ #: ../admin/about.php:64
35
+ msgid "Getting Started"
36
  msgstr ""
37
 
38
+ #: ../admin/about.php:65
39
+ msgid "Credits"
 
 
 
 
 
 
 
40
  msgstr ""
41
 
42
+ #: ../admin/about.php:66
43
+ msgid "Support"
44
  msgstr ""
45
 
46
+ #: ../admin/about.php:67
47
+ msgid "FAQ"
48
+ msgstr ""
49
+
50
+ #: ../admin/about.php:68
51
+ msgid "Reviews"
52
+ msgstr ""
53
+
54
+ #: ../admin/about.php:69
55
+ msgid "Contact"
56
+ msgstr ""
57
+
58
+ #: ../admin/about.php:81
59
+ msgid "Novelty Of WP ULike"
60
+ msgstr ""
61
+
62
+ #: ../admin/about.php:85 ../admin/classes/class-widget.php:134
63
+ msgid "Most Liked Comments"
64
+ msgstr ""
65
+
66
+ #: ../admin/about.php:90 ../admin/admin.php:146 ../admin/admin.php:214
67
+ #: ../admin/admin.php:272
68
+ msgid "Logging Method"
69
+ msgstr ""
70
+
71
+ #: ../admin/about.php:97
72
+ msgid "New setting panel"
73
+ msgstr ""
74
+
75
+ #: ../admin/about.php:102
76
+ msgid "Better coding on plugin files"
77
+ msgstr ""
78
+
79
+ #: ../admin/about.php:109
80
+ msgid "Buddypress likes support"
81
  msgstr ""
82
 
83
+ #: ../admin/about.php:114
84
+ msgid "Likes logs support"
85
+ msgstr ""
86
+
87
+ #: ../admin/about.php:123
88
+ msgid "WP ULike is created by many love and time. Enjoy it :)"
89
+ msgstr ""
90
+
91
+ #: ../admin/about.php:124
92
+ msgid "Project Leaders"
93
+ msgstr ""
94
+
95
+ #: ../admin/about.php:129
96
+ msgid "Project Lead & Developer"
97
+ msgstr ""
98
+
99
+ #: ../admin/about.php:133
100
  msgid "Translations"
101
  msgstr ""
102
 
103
+ #: ../admin/about.php:143
104
  msgid "Like this plugin?"
105
  msgstr ""
106
 
107
+ #: ../admin/about.php:144
108
  msgid ""
109
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
110
  "wp-ulike\"> Plugin Directory reviews</a>"
111
  msgstr ""
112
 
113
+ #: ../admin/admin.php:36
114
+ msgid "WP ULike Settings"
115
  msgstr ""
116
 
117
+ #: ../admin/admin.php:39 ../wp-ulike.php:16
118
+ msgid "WP ULike"
119
  msgstr ""
120
 
121
+ #: ../admin/admin.php:44
122
+ msgid "General"
123
  msgstr ""
124
 
125
+ #: ../admin/admin.php:48
126
+ msgid "Button Type"
127
  msgstr ""
128
 
129
+ #: ../admin/admin.php:51
130
+ msgid "Icon"
131
  msgstr ""
132
 
133
+ #: ../admin/admin.php:52
134
+ msgid "Text"
135
  msgstr ""
136
 
137
+ #: ../admin/admin.php:56 ../admin/classes/class-widget.php:189
138
+ msgid "Like"
139
  msgstr ""
140
 
141
+ #: ../admin/admin.php:57
142
+ msgid "Button Text"
143
  msgstr ""
144
 
145
+ #: ../admin/admin.php:61
146
+ msgid "Button Icon"
147
  msgstr ""
148
 
149
+ #: ../admin/admin.php:62 ../admin/admin.php:359
150
+ msgid "Best size: 16x16"
151
  msgstr ""
152
 
153
+ #: ../admin/admin.php:67
154
+ msgid "Format Number"
155
  msgstr ""
156
 
157
+ #: ../admin/admin.php:68 ../admin/admin.php:79 ../admin/admin.php:108
158
+ #: ../admin/admin.php:140 ../admin/admin.php:169 ../admin/admin.php:191
159
+ #: ../admin/admin.php:208 ../admin/admin.php:237 ../admin/admin.php:266
160
+ #: ../admin/admin.php:295 ../admin/admin.php:302 ../admin/admin.php:324
161
+ #: ../admin/admin.php:370 ../admin/admin.php:377 ../admin/admin.php:384
162
+ msgid "Activate"
163
  msgstr ""
164
 
165
+ #: ../admin/admin.php:69
166
+ msgid "Convert numbers of Likes with string (kilobyte) format."
167
  msgstr ""
168
 
169
+ #: ../admin/admin.php:72
170
+ msgid "Unlike"
171
  msgstr ""
172
 
173
+ #: ../admin/admin.php:73
174
+ msgid "Text After Like"
175
  msgstr ""
176
 
177
+ #: ../admin/admin.php:78
178
+ msgid "Return To The Initial"
179
  msgstr ""
180
 
181
+ #: ../admin/admin.php:80
182
+ msgid ""
183
+ "Return to the initial Like button after Unlike. (Not Showing text after "
184
+ "unlike)"
185
  msgstr ""
186
 
187
+ #: ../admin/admin.php:83
188
+ msgid "Like Me Again!"
189
  msgstr ""
190
 
191
+ #: ../admin/admin.php:84
192
+ msgid "Text After Unlike"
193
  msgstr ""
194
 
195
+ #: ../admin/admin.php:87
196
+ msgid "You have not permission to unlike"
197
  msgstr ""
198
 
199
+ #: ../admin/admin.php:88
200
+ msgid "Permission Text"
201
  msgstr ""
202
 
203
+ #: ../admin/admin.php:95
204
+ msgid "Settings saved."
205
  msgstr ""
206
 
207
+ #: ../admin/admin.php:102
208
+ msgid "Posts"
209
  msgstr ""
210
 
211
+ #: ../admin/admin.php:107 ../admin/admin.php:190 ../admin/admin.php:258
212
+ msgid "Automatic display"
213
  msgstr ""
214
 
215
+ #: ../admin/admin.php:109
216
+ msgid ""
217
+ "If you disable this option, you have to put manually this code on wordpress "
218
+ "while loop"
219
  msgstr ""
220
 
221
+ #: ../admin/admin.php:113 ../admin/admin.php:196
222
+ msgid "Auto Display Position"
223
  msgstr ""
224
 
225
+ #: ../admin/admin.php:116 ../admin/admin.php:199
226
+ msgid "Top of Content"
227
  msgstr ""
228
 
229
+ #: ../admin/admin.php:117 ../admin/admin.php:200
230
+ msgid "Bottom of Content"
231
  msgstr ""
232
 
233
+ #: ../admin/admin.php:118 ../admin/admin.php:201
234
+ msgid "Top and Bottom"
235
  msgstr ""
236
 
237
+ #: ../admin/admin.php:123
238
+ msgid "Auto Display Filter"
239
  msgstr ""
240
 
241
+ #: ../admin/admin.php:125
242
+ msgid "Home"
243
  msgstr ""
244
 
245
+ #: ../admin/admin.php:126
246
+ msgid "Single Posts"
247
+ msgstr ""
248
+
249
+ #: ../admin/admin.php:127
250
+ msgid "Pages"
251
+ msgstr ""
252
+
253
+ #: ../admin/admin.php:128
254
+ msgid "Archives"
255
+ msgstr ""
256
+
257
+ #: ../admin/admin.php:129
258
+ msgid "Categories"
259
+ msgstr ""
260
+
261
+ #: ../admin/admin.php:130
262
+ msgid "Search Results"
263
+ msgstr ""
264
+
265
+ #: ../admin/admin.php:131
266
+ msgid "Tags"
267
+ msgstr ""
268
+
269
+ #: ../admin/admin.php:132
270
+ msgid "Author Page"
271
+ msgstr ""
272
+
273
+ #: ../admin/admin.php:134
274
+ msgid "You can filter theses pages on auto display option."
275
  msgstr ""
276
 
277
+ #: ../admin/admin.php:139 ../admin/admin.php:207 ../admin/admin.php:265
278
+ msgid "Only registered Users"
279
+ msgstr ""
280
+
281
+ #: ../admin/admin.php:141
282
+ msgid "<strong>Only</strong> registered users have permission to like posts."
283
+ msgstr ""
284
+
285
+ #: ../admin/admin.php:148 ../admin/admin.php:216 ../admin/admin.php:274
286
+ msgid "Do Not Log"
287
+ msgstr ""
288
+
289
+ #: ../admin/admin.php:149 ../admin/admin.php:217 ../admin/admin.php:275
290
+ msgid "Logged By Cookie"
291
+ msgstr ""
292
+
293
+ #: ../admin/admin.php:150 ../admin/admin.php:218 ../admin/admin.php:276
294
+ msgid "Logged By IP"
295
+ msgstr ""
296
+
297
+ #: ../admin/admin.php:151 ../admin/admin.php:219 ../admin/admin.php:277
298
+ msgid "Logged By Cookie & IP"
299
+ msgstr ""
300
+
301
+ #: ../admin/admin.php:152 ../admin/admin.php:220 ../admin/admin.php:278
302
+ msgid "Logged By Username"
303
+ msgstr ""
304
+
305
+ #: ../admin/admin.php:156 ../admin/admin.php:224 ../admin/admin.php:282
306
+ msgid "Attention!"
307
+ msgstr ""
308
+
309
+ #: ../admin/admin.php:158 ../admin/admin.php:226 ../admin/admin.php:284
310
  msgid ""
311
+ "If you select <strong>\"Do Not Log\"</strong> method: Any data logs can't "
312
+ "save, There is no limitation in the like/dislike, unlike/undislike capacity "
313
+ "do not work"
314
  msgstr ""
315
 
316
+ #: ../admin/admin.php:159 ../admin/admin.php:227 ../admin/admin.php:285
317
+ msgid ""
318
+ "If you select <strong>\"Logged By Cookie\"</strong> method: Any data logs "
319
+ "can't save, The like/dislike condition will be limited by SetCookie, unlike/"
320
+ "undislike capacity do not work"
321
  msgstr ""
322
 
323
+ #: ../admin/admin.php:160 ../admin/admin.php:228 ../admin/admin.php:286
324
+ msgid ""
325
+ "If you select <strong>\"Logged By IP\"</strong> method: Data logs will save "
326
+ "for all users, the convey of like/dislike condition will check by user IP"
327
  msgstr ""
328
 
329
+ #: ../admin/admin.php:161 ../admin/admin.php:229 ../admin/admin.php:287
330
+ msgid ""
331
+ "If you select <strong>\"Logged By Cookie & IP\"</strong> method: Data logs "
332
+ "will save for all users, the convey of like/dislike condition will check by "
333
+ "user IP & SetCookie"
334
  msgstr ""
335
 
336
+ #: ../admin/admin.php:162 ../admin/admin.php:230 ../admin/admin.php:288
337
+ msgid ""
338
+ "If you select <strong>\"Logged By Username\"</strong> method: data logs only "
339
+ "is saved for registered users, the convey of like/dislike condition will "
340
+ "check by username, There is no permission for guest users to unlike/undislike"
341
  msgstr ""
342
 
343
+ #: ../admin/admin.php:168 ../admin/admin.php:236 ../admin/admin.php:301
344
+ msgid "Show Liked Users Box"
345
+ msgstr ""
346
+
347
+ #: ../admin/admin.php:170 ../admin/admin.php:238 ../admin/admin.php:303
348
  msgid ""
349
+ "Active this option to show liked users avatars in the bottom of button like."
 
350
  msgstr ""
351
 
352
+ #: ../admin/admin.php:175 ../admin/admin.php:243 ../admin/admin.php:308
353
+ msgid "Size of Gravatars"
354
  msgstr ""
355
 
356
+ #: ../admin/admin.php:176 ../admin/admin.php:244 ../admin/admin.php:309
357
+ msgid "Size of Gravatars to return (max is 512)"
358
+ msgstr ""
359
+
360
+ #: ../admin/admin.php:179
361
+ msgid "Users who have LIKED this post:"
362
  msgstr ""
363
 
364
+ #: ../admin/admin.php:180 ../admin/admin.php:248 ../admin/admin.php:313
365
+ msgid "Users Like Box Title"
366
+ msgstr ""
367
+
368
+ #: ../admin/admin.php:185
369
+ msgid "Comments"
370
+ msgstr ""
371
+
372
+ #: ../admin/admin.php:192
373
  msgid ""
374
+ "If you disable this option, you have to put manually this code on comments "
375
+ "text"
376
  msgstr ""
377
 
378
+ #: ../admin/admin.php:209
379
+ msgid ""
380
+ "<strong>Only</strong> registered users have permission to like comments."
381
  msgstr ""
382
 
383
+ #: ../admin/admin.php:247
384
+ msgid "Users who have LIKED this comment:"
 
 
385
  msgstr ""
386
 
387
+ #: ../admin/admin.php:253
388
+ msgid "BuddyPress"
389
  msgstr ""
390
 
391
+ #: ../admin/admin.php:259
392
+ msgid "<strong>On all buddypress activities</strong> at the top of activity"
393
  msgstr ""
394
 
395
+ #: ../admin/admin.php:260
396
+ msgid ""
397
+ "If you disable this option, you have to put manually this code on buddypres "
398
+ "activities content"
399
  msgstr ""
400
 
401
+ #: ../admin/admin.php:267
402
+ msgid ""
403
+ "<strong>Only</strong> registered users have permission to like activities."
404
  msgstr ""
405
 
406
+ #: ../admin/admin.php:294
407
+ msgid "BuddyPress Activity"
408
  msgstr ""
409
 
410
+ #: ../admin/admin.php:296
411
+ msgid "insert new likes in buddyPress activity page"
412
  msgstr ""
413
 
414
+ #: ../admin/admin.php:312
415
+ msgid "Users who have liked this activity:"
416
+ msgstr ""
417
+
418
+ #: ../admin/admin.php:318
419
+ msgid "Customize"
420
  msgstr ""
421
 
422
+ #: ../admin/admin.php:323
423
  msgid "Custom Style"
424
  msgstr ""
425
 
426
+ #: ../admin/admin.php:328
427
+ msgid "Active this option to see the custom style settings."
428
  msgstr ""
429
 
430
+ #: ../admin/admin.php:332
431
  msgid "Button style"
432
  msgstr ""
433
 
434
+ #: ../admin/admin.php:333 ../admin/admin.php:346
435
  msgid "Background"
436
  msgstr ""
437
 
438
+ #: ../admin/admin.php:337 ../admin/admin.php:350
439
  msgid "Border Color"
440
  msgstr ""
441
 
442
+ #: ../admin/admin.php:341 ../admin/admin.php:354
443
  msgid "Text Color"
444
  msgstr ""
445
 
446
+ #: ../admin/admin.php:345
447
  msgid "Counter Style"
448
  msgstr ""
449
 
450
+ #: ../admin/admin.php:358
451
+ msgid "Loading Animation"
 
 
452
  msgstr ""
453
 
454
+ #: ../admin/admin.php:364
455
+ msgid "Dashboard"
456
  msgstr ""
457
 
458
+ #: ../admin/admin.php:369
459
+ msgid "Visit Post Logs Menu"
460
  msgstr ""
461
 
462
+ #: ../admin/admin.php:371
463
+ msgid "If you deactivate this option, \"Post Likes Logs\" Menu will hidden."
 
464
  msgstr ""
465
 
466
+ #: ../admin/admin.php:376
467
+ msgid "Visit Comment Logs Menu"
468
  msgstr ""
469
 
470
+ #: ../admin/admin.php:378
471
+ msgid "If you deactivate this option, \"Comment Likes Logs\" Menu will hidden."
472
  msgstr ""
473
 
474
+ #: ../admin/admin.php:383
475
+ msgid "Visit Activity Logs Menu"
476
  msgstr ""
477
 
478
+ #: ../admin/admin.php:385
479
+ msgid ""
480
+ "If you deactivate this option, \"Activity Likes Logs\" Menu will hidden."
481
  msgstr ""
482
 
483
+ #: ../admin/admin.php:397 ../admin/logs.php:34
484
+ msgid "Post Likes Logs"
485
+ msgstr ""
486
+
487
+ #: ../admin/admin.php:401 ../admin/logs.php:155
488
+ msgid "Comment Likes Logs"
489
+ msgstr ""
490
+
491
+ #: ../admin/admin.php:405 ../admin/logs.php:280
492
+ msgid "Activity Likes Logs"
493
+ msgstr ""
494
+
495
+ #: ../admin/admin.php:408
496
+ msgid "About WP ULike"
497
+ msgstr ""
498
+
499
+ #: ../admin/classes/class-settings.php:16
500
+ msgid "Custom Settings"
501
+ msgstr ""
502
+
503
+ #: ../admin/classes/class-settings.php:27
504
+ msgid "Save Settings"
505
+ msgstr ""
506
+
507
+ #: ../admin/classes/class-settings.php:28
508
+ msgid "Reset Settings"
509
+ msgstr ""
510
+
511
+ #: ../admin/classes/class-settings.php:91
512
+ msgid "Default settings have been reset."
513
+ msgstr ""
514
+
515
+ #: ../admin/classes/class-settings.php:167
516
+ msgid ""
517
+ "Do you really want to reset all these settings to their default values ?"
518
+ msgstr ""
519
+
520
+ #: ../admin/classes/class-settings.php:232
521
+ #: ../admin/classes/class-settings.php:243
522
+ #: ../admin/classes/class-settings.php:267
523
+ msgid "No options defined."
524
+ msgstr ""
525
+
526
+ #: ../admin/classes/class-settings.php:254
527
+ #, php-format
528
+ msgid "Select %s"
529
+ msgstr ""
530
+
531
+ #: ../admin/classes/class-settings.php:255
532
+ #, php-format
533
+ msgid "Remove %s"
534
+ msgstr ""
535
+
536
+ #: ../admin/classes/class-settings.php:279
537
+ msgid "No action defined."
538
+ msgstr ""
539
+
540
+ #: ../admin/classes/class-widget.php:8
541
  msgid "WP Ulike - Most Liked Posts"
542
  msgstr ""
543
 
544
+ #: ../admin/classes/class-widget.php:9
545
  msgid "This widget allows you to show most liked posts."
546
  msgstr ""
547
 
548
+ #: ../admin/classes/class-widget.php:51
549
  msgid "Most Liked Posts"
550
  msgstr ""
551
 
552
+ #: ../admin/classes/class-widget.php:55 ../admin/classes/class-widget.php:138
553
+ #: ../admin/classes/class-widget.php:220
554
  msgid "Title:"
555
  msgstr ""
556
 
557
+ #: ../admin/classes/class-widget.php:60
558
  msgid "Number of posts to show:"
559
  msgstr ""
560
 
561
+ #: ../admin/classes/class-widget.php:66 ../admin/classes/class-widget.php:149
562
+ #: ../admin/classes/class-widget.php:236
563
+ msgid "Activate Like Counter"
564
  msgstr ""
565
 
566
+ #: ../admin/classes/class-widget.php:88
567
+ msgid "WP ULike - Most Liked Comments"
568
  msgstr ""
569
 
570
+ #: ../admin/classes/class-widget.php:89
571
+ msgid "This widget allows you to show most liked comments."
572
  msgstr ""
573
 
574
+ #: ../admin/classes/class-widget.php:109
575
+ msgid "on"
576
+ msgstr ""
577
+
578
+ #: ../admin/classes/class-widget.php:143
579
+ msgid "Number of comments to show:"
580
+ msgstr ""
581
+
582
+ #: ../admin/classes/class-widget.php:170
583
+ msgid "WP Ulike - Most Liked Users"
584
  msgstr ""
585
 
586
+ #: ../admin/classes/class-widget.php:171
587
+ msgid "This widget allows you to show most liked users avatars."
588
+ msgstr ""
589
+
590
+ #: ../admin/classes/class-widget.php:216
591
  msgid "Most Liked Users"
592
  msgstr ""
593
 
594
+ #: ../admin/classes/class-widget.php:225
595
  msgid "Number of users to show:"
596
  msgstr ""
597
 
598
+ #: ../admin/classes/class-widget.php:230
599
  msgid "User avatar size:"
600
  msgstr ""
601
 
602
+ #: ../admin/logs.php:33 ../admin/logs.php:154 ../admin/logs.php:279
603
+ msgid "WP ULike Logs"
604
  msgstr ""
605
 
606
+ #: ../admin/logs.php:43 ../admin/logs.php:164 ../admin/logs.php:289
607
+ msgid "ID"
608
+ msgstr ""
609
+
610
+ #: ../admin/logs.php:44 ../admin/logs.php:165 ../admin/logs.php:290
611
+ msgid "Username"
612
+ msgstr ""
613
+
614
+ #: ../admin/logs.php:45 ../admin/logs.php:166 ../admin/logs.php:291
615
+ msgid "Status"
616
+ msgstr ""
617
+
618
+ #: ../admin/logs.php:46
619
+ msgid "Post ID"
620
+ msgstr ""
621
+
622
+ #: ../admin/logs.php:47
623
+ msgid "Post Title"
624
+ msgstr ""
625
+
626
+ #: ../admin/logs.php:48 ../admin/logs.php:170 ../admin/logs.php:293
627
+ msgid "Date / Time"
628
+ msgstr ""
629
+
630
+ #: ../admin/logs.php:49 ../admin/logs.php:171 ../admin/logs.php:294
631
+ msgid "IP"
632
+ msgstr ""
633
+
634
+ #: ../admin/logs.php:67 ../admin/logs.php:189 ../admin/logs.php:312
635
+ msgid "Guest User"
636
+ msgstr ""
637
+
638
+ #: ../admin/logs.php:104
639
+ msgid "Post Likes Logs Stats"
640
+ msgstr ""
641
+
642
+ #: ../admin/logs.php:108 ../admin/logs.php:233 ../admin/logs.php:350
643
+ msgid "Total Users Liked:"
644
+ msgstr ""
645
+
646
+ #: ../admin/logs.php:112
647
+ msgid "Total Posts Liked:"
648
+ msgstr ""
649
+
650
+ #: ../admin/logs.php:116 ../admin/logs.php:241 ../admin/logs.php:358
651
+ msgid "Total Likes Sum:"
652
+ msgstr ""
653
+
654
+ #: ../admin/logs.php:123 ../admin/logs.php:248 ../admin/logs.php:365
655
  msgid ""
656
+ "<strong>ERROR:</strong> No Record Found. (This problem is created because "
657
+ "you don't have any data on this table)"
658
+ msgstr ""
659
+
660
+ #: ../admin/logs.php:167
661
+ msgid "Comment ID"
662
+ msgstr ""
663
+
664
+ #: ../admin/logs.php:168
665
+ msgid "Comment Author"
666
+ msgstr ""
667
+
668
+ #: ../admin/logs.php:169
669
+ msgid "Comment Text"
670
+ msgstr ""
671
+
672
+ #: ../admin/logs.php:229
673
+ msgid "Comment Likes Logs Stats"
674
+ msgstr ""
675
+
676
+ #: ../admin/logs.php:237
677
+ msgid "Total Comments Liked:"
678
+ msgstr ""
679
+
680
+ #: ../admin/logs.php:292
681
+ msgid "Activity ID"
682
+ msgstr ""
683
+
684
+ #: ../admin/logs.php:346
685
+ msgid "Activity Likes Logs Stats"
686
+ msgstr ""
687
+
688
+ #: ../admin/logs.php:354
689
+ msgid "Total Activities Liked:"
690
+ msgstr ""
691
+
692
+ #: ../inc/wp-functions.php:236
693
+ msgid "WP ULike Activity"
694
+ msgstr ""
695
+
696
+ #: ../inc/wp-functions.php:246 ../inc/wp-functions.php:256
697
+ msgid "liked"
698
+ msgstr ""
699
+
700
+ #: ../inc/wp-functions.php:246
701
+ msgid "comment"
702
+ msgstr ""
703
+
704
+ #: ../inc/wp-strings.php:3
705
+ msgid "WP ULike - Most Liked Activities"
706
+ msgstr ""
707
+
708
+ #: ../inc/wp-strings.php:4
709
+ msgid "This widget allows you to show most liked activities."
710
+ msgstr ""
711
+
712
+ #: ../inc/wp-strings.php:5
713
+ msgid "Most Liked Activities"
714
+ msgstr ""
715
+
716
+ #: ../inc/wp-strings.php:6
717
+ msgid "Users Login Text"
718
+ msgstr ""
719
+
720
+ #: ../inc/wp-strings.php:7
721
+ msgid "Allow To Like"
722
+ msgstr ""
723
+
724
+ #: ../inc/wp-strings.php:8
725
+ msgid "Guests Only"
726
+ msgstr ""
727
+
728
+ #: ../inc/wp-strings.php:9
729
+ msgid "Registered Users Only"
730
+ msgstr ""
731
+
732
+ #: ../inc/wp-strings.php:10
733
+ msgid "Registered Users And Guests"
734
+ msgstr ""
735
+
736
+ #: ../inc/wp-strings.php:11
737
+ msgid "Who Is Allowed To Like?"
738
+ msgstr ""
739
+
740
+ #: ../inc/wp-strings.php:12
741
+ msgid "Filter Options:"
742
+ msgstr ""
743
+
744
+ #: ../inc/wp-strings.php:13
745
+ msgid "Sort Options:"
746
+ msgstr ""
747
+
748
+ #: ../inc/wp-strings.php:14
749
+ msgid "Themes"
750
+ msgstr ""
751
+
752
+ #: ../inc/wp-strings.php:15
753
+ msgid "Dislike"
754
+ msgstr ""
755
+
756
+ #: ../inc/wp-strings.php:16
757
+ msgid "Dislike Support"
758
+ msgstr ""
759
+
760
+ #: ../inc/wp-strings.php:17
761
+ msgid "Text After Dislike"
762
+ msgstr ""
763
+
764
+ #: ../inc/wp-strings.php:18
765
+ msgid "Show Counter"
766
+ msgstr ""
767
+
768
+ #: ../inc/wp-strings.php:19
769
+ msgid "Show tooltips"
770
  msgstr ""
771
 
772
+ #: ../inc/wp-strings.php:20
773
+ msgid "Alignment"
774
  msgstr ""
775
 
776
+ #: ../inc/wp-strings.php:21
777
+ msgid "Left"
778
+ msgstr ""
779
+
780
+ #: ../inc/wp-strings.php:22
781
+ msgid "Center"
782
+ msgstr ""
783
+
784
+ #: ../inc/wp-strings.php:23
785
+ msgid "Right"
786
+ msgstr ""
787
+
788
+ #: ../inc/wp-strings.php:24
789
+ msgid "Cookie Life time"
790
+ msgstr ""
791
+
792
+ #: ../inc/wp-strings.php:25
793
+ msgid "BuddyPress Notifications"
794
+ msgstr ""
795
+
796
+ #: ../inc/wp-ulike-buddypress.php:45
797
+ msgid "You need to login in order to like this activity: "
798
+ msgstr ""
799
+
800
+ #: ../inc/wp-ulike-buddypress.php:45 ../inc/wp-ulike-comments.php:45
801
+ #: ../inc/wp-ulike-posts.php:46
802
+ msgid "click here"
803
+ msgstr ""
804
+
805
+ #: ../inc/wp-ulike-comments.php:45
806
+ msgid "You need to login in order to like this comment: "
807
+ msgstr ""
808
+
809
+ #: ../inc/wp-ulike-posts.php:46
810
+ msgid "You need to login in order to like this post: "
811
+ msgstr ""
812
+
813
+ #: ../wp-ulike.php:17
814
+ msgid ""
815
+ "WP ULike plugin allows to integrate a beautiful Ajax Like Button into your "
816
+ "wordPress website to allow your visitors to like and unlike pages, posts, "
817
+ "comments AND buddypress activities. Its very simple to use and supports many "
818
+ "options."
819
  msgstr ""
readme.txt CHANGED
@@ -5,7 +5,7 @@ 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
6
  Requires at least: 3.5
7
  Tested up to: 4.0.1
8
- Stable tag: 1.8
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -26,6 +26,7 @@ WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordP
26
  * Visitors do not have to register or log in to use the Like Button.
27
  * Compatible with WP version 3.0 & above.
28
  * Added automatically (no Code required).
 
29
  * Shortcode support.
30
  * Comment likes support.
31
  * Full likes logs support.
@@ -33,8 +34,8 @@ WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordP
33
  * Simple user like box with avatar support.
34
  * Custom Like-Dislike Texts.
35
  * Simple custom style with color picker settings.
36
- * Widget to show 'Most Liked Posts' And 'Most Liked Users' avatars.
37
- * Simple configuration panel.
38
  * Support RTL & language file.
39
  * And so on...
40
 
@@ -52,7 +53,7 @@ Also you can use this function and shortcode for the post likes:
52
  * English
53
  * Persian
54
  * France
55
- * Chinese (Thanks Changmeng Hu)
56
  * Chinese Tradition (Thanks Arefly)
57
  * Dutch (Thanks Joey)
58
 
@@ -110,8 +111,37 @@ endif;
110
  ?>
111
  </code>
112
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  == Changelog ==
114
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  = 1.8 =
116
  * Added: New setting system with separate tabs.
117
  * Added: Option to upload button icon.
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
6
  Requires at least: 3.5
7
  Tested up to: 4.0.1
8
+ Stable tag: 1.9
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
26
  * Visitors do not have to register or log in to use the Like Button.
27
  * Compatible with WP version 3.0 & above.
28
  * Added automatically (no Code required).
29
+ * Logging method options.
30
  * Shortcode support.
31
  * Comment likes support.
32
  * Full likes logs support.
34
  * Simple user like box with avatar support.
35
  * Custom Like-Dislike Texts.
36
  * Simple custom style with color picker settings.
37
+ * Widget to show 'Most Liked Posts','Most Liked Comments' And 'Most Liked Users Avatars'.
38
+ * Powerful configuration panel.
39
  * Support RTL & language file.
40
  * And so on...
41
 
53
  * English
54
  * Persian
55
  * France
56
+ * Chinese (Thanks Changmeng Hu & cmhello)
57
  * Chinese Tradition (Thanks Arefly)
58
  * Dutch (Thanks Joey)
59
 
111
  ?>
112
  </code>
113
 
114
+ = How To Sort Most Liked Posts? =
115
+ * Use this query on your theme:
116
+ <code>
117
+ <?php
118
+ $the_query = new WP_Query(array(
119
+ 'post_status' =>'published',
120
+ 'post_type' =>'post',
121
+ 'orderby' => 'meta_value_num',
122
+ 'meta_key' => '_liked',
123
+ 'paged' => (get_query_var('paged')) ? get_query_var('paged') : 1
124
+ ));
125
+ ?>
126
+ </code>
127
+
128
  == Changelog ==
129
 
130
+ = 1.9 =
131
+ * Added: New logging method options.
132
+ * Added: Option for auto display position.
133
+ * Added: Most liked comments widget.
134
+ * Added: Option to return initial like button after unlike.
135
+ * Added: unlike ability for the guest users.
136
+ * Added: Comment text column to the comments logs page.
137
+ * Added: supporting the date (date_i18n) in localized format. (Logs Pages)
138
+ * Added: New changes in to the logs pages.
139
+ * Fixed: ToolTip problem with BuddyPress activities in the chrome browser.
140
+ * Updated: Plugin FAQ page.
141
+ * Updated: Persian language file. (Thanks Me :))
142
+ * Updated: Chinese language file. (Thanks cmhello)
143
+ * Updated: Dutch language file. (Thanks Joey)
144
+
145
  = 1.8 =
146
  * Added: New setting system with separate tabs.
147
  * Added: Option to upload button icon.
wp-ulike.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name:WP ULike
4
  Plugin URI: http://wordpress.org/plugins/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: 1.8
7
  Author: Ali Mirzaei
8
  Author URI: http://about.alimir.ir
9
  Text Domain: alimir
3
  Plugin Name:WP ULike
4
  Plugin URI: http://wordpress.org/plugins/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: 1.9
7
  Author: Ali Mirzaei
8
  Author URI: http://about.alimir.ir
9
  Text Domain: alimir