WP ULike - Version 1.8

Version Description

  • Added: New setting system with separate tabs.
  • Added: Option to upload button icon.
  • Added: Option to upload loading animation.
  • Added: Dutch (nl_NL) language. (Thanks Joey)
  • Added: Avatar size option for the users liked box.
  • Modified: New names for some functions.
  • Modified: plugin dislike setting to unlike.
  • Updated: Persian language file.
  • Updated: Chinese language file.
Download this release

Release Info

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

Code changes from version 1.7 to 1.8

admin/about.php ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * WP ULike about page
4
+ */
5
+
6
+ add_filter('get_avatar', 'remove_photo_class');
7
+ function remove_photo_class($avatar) {
8
+ return str_replace(' photo', ' gravatar', $avatar);
9
+ }
10
+
11
+ function wp_ulike_about_page() {
12
+ ?>
13
+
14
+ <style>
15
+ .ulike-badge{
16
+ background: url('<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/wp-ulike-badge.png') no-repeat scroll center 24px / 150px 150px;
17
+ margin: 5px 0px 0px;
18
+ padding-top: 120px;
19
+ display: inline-block;
20
+ height:60px;
21
+ width: 150px;
22
+ }
23
+ .boxstyle {
24
+ padding: 1px 12px;
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;
31
+ top: 0px;
32
+ left: 0px;
33
+ }
34
+ <?php else: ?>
35
+ .about-wrap .ulike-badge {
36
+ position: absolute;
37
+ top: 0px;
38
+ right: 0px;
39
+ }
40
+ <?php endif; ?>
41
+ </style>
42
+
43
+ <div class="wrap about-wrap">
44
+
45
+ <h1><?php echo _e('Welcome to WP ULike','alimir') . ' ' . wp_ulike_get_version(); ?></h1>
46
+
47
+ <div class="about-text"><?php echo _e('Thank you for choosing WP ULike! This version is our leanest and most powerful version yet.', 'alimir') ; ?><br />
48
+ <a target="_blank" href="http://preview.alimir.ir/wp-ulike-plugin/"> <?php _e('Visit our homepage','alimir'); ?></a>
49
+ </div>
50
+ <div class="ulike-badge"></div>
51
+
52
+ <h2 class="nav-tab-wrapper">
53
+ <a class="nav-tab <?php if(!isset($_GET["credit"])) echo 'nav-tab-active'; ?>" href="admin.php?page=wp-ulike-about"><?php echo _e('Getting Started','alimir'); ?></a>
54
+ <a class="nav-tab <?php if(isset($_GET["credit"])) echo 'nav-tab-active'; ?>" href="admin.php?page=wp-ulike-about&credit=true"><?php echo _e('Credits','alimir'); ?></a>
55
+ <a target="_blank" class="nav-tab" href="https://wordpress.org/support/plugin/wp-ulike"><?php echo _e('Support','alimir'); ?></a>
56
+ <a target="_blank" class="nav-tab" href="https://wordpress.org/plugins/wp-ulike/faq/"><?php echo _e('FAQ','alimir'); ?></a>
57
+ <a target="_blank" class="nav-tab" href="https://wordpress.org/support/view/plugin-reviews/wp-ulike"><?php echo _e('Reviews','alimir'); ?></a>
58
+ <a target="_blank" class="nav-tab" href="http://preview.alimir.ir/contact/"><?php echo _e('Contact','alimir'); ?></a>
59
+ </h2>
60
+
61
+ <?php if(!isset($_GET["credit"])): ?>
62
+
63
+ <div class="changelog">
64
+ <img class="about-overview-img" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/wp-ulike-banner.png" alt="WP ULike" />
65
+ </div>
66
+
67
+ <hr />
68
+
69
+ <div class="changelog">
70
+ <h2 class="about-headline-callout"><?php echo _e('Novelty Of WP ULike','alimir'); ?></h2>
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>
95
+
96
+ </div>
97
+
98
+ <?php else: ?>
99
+
100
+ <p class="about-description"><?php echo _e('WP ULike is created by many love and time. Enjoy it :)','alimir'); ?></p>
101
+ <h4 class="wp-people-group"><?php echo _e('Project Leaders','alimir'); ?></h4>
102
+ <ul class="wp-people-group">
103
+ <li class="wp-person" id="wp-person-alimirzaei">
104
+ <a href="http://about.alimir.ir"><?php echo get_avatar( 'info@alimir.ir', 64 ); ?></a>
105
+ <a class="web" href="https://profiles.wordpress.org/alimir/">Ali Mirzaei</a>
106
+ <span class="title"><?php echo _e('Project Lead & Developer','alimir'); ?></span>
107
+ </li>
108
+ </ul>
109
+
110
+ <h4 class="wp-people-group"><?php _e('Translations','alimir'); ?></h4>
111
+ <ul>
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>
119
+
120
+ <h4 class="wp-people-group"><?php _e('Like this plugin?','alimir'); ?></h4>
121
+ <div class="boxstyle"><p><strong><?php _e('Show your support by Rating 5 Star in <a href="http://wordpress.org/plugins/wp-ulike"> Plugin Directory reviews</a>','alimir'); ?></strong></p></div>
122
+
123
+ <?php endif; ?>
124
+
125
+ </div>
126
+ <?php
127
+ }
admin/admin.php ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Exit if accessed directly
4
+ if ( ! defined( 'ABSPATH' ) ) exit;
5
+
6
+ /*******************************************************
7
+ Widget
8
+ *******************************************************/
9
+ include( plugin_dir_path(__FILE__) . 'classes/class-widget.php');
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' );
16
+
17
+
18
+
19
+ /*******************************************************
20
+ Plugin Dashboard Menu Settings
21
+ *******************************************************/
22
+
23
+ //include about page functions
24
+ include( plugin_dir_path(__FILE__) . 'about.php');
25
+
26
+ //include logs menu files
27
+ include( plugin_dir_path(__FILE__) . 'logs.php');
28
+
29
+ //include settings class
30
+ include( plugin_dir_path(__FILE__) . 'classes/class-settings.php' );
31
+
32
+ //activate general setting panel
33
+ $wp_ulike_setting = wp_ulike_create_settings_page(
34
+ 'wp-ulike-settings',
35
+ __( 'WP ULike Settings', 'alimir' ),
36
+ array(
37
+ 'parent' => false,
38
+ 'title' => __( 'WP ULike', 'alimir' ),
39
+ 'icon_url' => 'dashicons-smiley'
40
+ ),
41
+ array(
42
+ 'wp_ulike_general' => array(
43
+ 'title' => '<i class="dashicons-before dashicons-admin-settings"></i>' . ' ' . __( 'General','alimir'),
44
+ 'fields' => array(
45
+ 'button_type' => array(
46
+ 'type' => 'radio',
47
+ 'label' => __( 'Button Type', 'alimir'),
48
+ 'default' => 'image',
49
+ 'options' => array(
50
+ 'image' => __( 'Icon', 'alimir'),
51
+ 'text' => __( 'Text', 'alimir')
52
+ )
53
+ ),
54
+ 'button_text' => array(
55
+ 'default' => __('Like','alimir'),
56
+ 'label' => __( 'Button Text', 'alimir')
57
+ ),
58
+ 'button_url' => array(
59
+ 'type' => 'media',
60
+ 'label' => __( 'Button Icon', 'alimir'),
61
+ 'description' => __( 'Best size: 16x16','alimir')
62
+ ),
63
+ 'format_number' => array(
64
+ 'type' => 'checkbox',
65
+ 'default' => 0,
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')
77
+ ),
78
+ 'permission_text' => array(
79
+ 'default' => __('You have not permission to unlike','alimir'),
80
+ 'label' => __( 'Permission Text', 'alimir')
81
+ )
82
+ )
83
+ )//end wp_ulike_general
84
+ ),
85
+ array(
86
+ 'tabs' => true,
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(
94
+ 'title' => '<i class="dashicons-before dashicons-admin-post"></i>' . ' ' . __( 'Posts','alimir'),
95
+ 'fields' => array(
96
+ 'auto_display' => array(
97
+ 'type' => 'checkbox',
98
+ 'default' => 1,
99
+ 'label' => __('Automatic display', 'alimir'),
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' ),
106
+ 'options' => array(
107
+ 'home' => __('Home', 'alimir'),
108
+ 'single' => __('Single Posts', 'alimir'),
109
+ 'page' => __('Pages', 'alimir'),
110
+ 'archive' => __('Archives', 'alimir'),
111
+ 'category' => __('Categories', 'alimir'),
112
+ 'search' => __('Search Results', 'alimir'),
113
+ 'tag' => __('Tags', 'alimir'),
114
+ 'author' => __('Author Page', 'alimir')
115
+ ),
116
+ 'description' => __('You can filter theses pages on auto display option.', 'alimir')
117
+ ),
118
+ 'only_registered_users' => array(
119
+ 'type' => 'checkbox',
120
+ 'default' => 0,
121
+ 'label' => __('Only registered Users', 'alimir'),
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,
128
+ 'label' => __('Show Liked Users Box', 'alimir'),
129
+ 'checkboxlabel' => __('Activate', 'alimir'),
130
+ 'description' => __('Active this option to show liked users avatars in the bottom of button like.', 'alimir')
131
+ ),
132
+ 'users_liked_box_avatar_size' => array(
133
+ 'type' => 'number',
134
+ 'default' => 32,
135
+ 'label' => __( 'Size of Gravatars', 'alimir'),
136
+ 'description' => __('Size of Gravatars to return (max is 512)', 'alimir')
137
+ ),
138
+ 'users_liked_box_title' => array(
139
+ 'default' => __('Users who have LIKED this post:','alimir'),
140
+ 'label' => __('Users Like Box Title', 'alimir')
141
+ )
142
+ )
143
+ ),//end wp_ulike_posts
144
+ 'wp_ulike_comments' => array(
145
+ 'title' => '<i class="dashicons-before dashicons-admin-comments"></i>' . ' ' . __( 'Comments','alimir'),
146
+ 'fields' => array(
147
+ 'auto_display' => array(
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,
157
+ 'label' => __('Only registered Users', 'alimir'),
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,
164
+ 'label' => __('Show Liked Users Box', 'alimir'),
165
+ 'checkboxlabel' => __('Activate', 'alimir'),
166
+ 'description' => __('Active this option to show liked users avatars in the bottom of button like.', 'alimir')
167
+ ),
168
+ 'users_liked_box_avatar_size' => array(
169
+ 'type' => 'number',
170
+ 'default' => 32,
171
+ 'label' => __( 'Size of Gravatars', 'alimir'),
172
+ 'description' => __('Size of Gravatars to return (max is 512)', 'alimir')
173
+ ),
174
+ 'users_liked_box_title' => array(
175
+ 'default' => __('Users who have LIKED this comment:','alimir'),
176
+ 'label' => __('Users Like Box Title', 'alimir')
177
+ )
178
+ )
179
+ ),//end wp_ulike_comments
180
+ 'wp_ulike_buddypress' => array(
181
+ 'title' => '<i class="dashicons-before dashicons-groups"></i>' . ' ' . __( 'BuddyPress','alimir'),
182
+ 'fields' => array(
183
+ 'auto_display' => array(
184
+ 'type' => 'checkbox',
185
+ 'default' => 0,
186
+ 'label' => __('Automatic display', 'alimir'),
187
+ 'checkboxlabel' => __('<strong>On all buddypress activities</strong> at the top of activity', 'alimir'),
188
+ 'description' => __('If you disable this option, you have to put manually this code on buddypres activities content', 'alimir') . '<code dir="ltr">&lt;?php if(function_exists(\'wp_ulike_buddypress\')) wp_ulike_buddypress(\'get\'); ?&gt;</code>'
189
+ ),
190
+ 'only_registered_users' => array(
191
+ 'type' => 'checkbox',
192
+ 'default' => 0,
193
+ 'label' => __('Only registered Users', 'alimir'),
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,
200
+ 'label' => __('BuddyPress Activity', 'alimir'),
201
+ 'checkboxlabel' => __('Activate', 'alimir'),
202
+ 'description' => __('insert new likes in buddyPress activity page', 'alimir')
203
+ ),
204
+ 'users_liked_box' => array(
205
+ 'type' => 'checkbox',
206
+ 'default' => 1,
207
+ 'label' => __('Show Liked Users Box', 'alimir'),
208
+ 'checkboxlabel' => __('Activate', 'alimir'),
209
+ 'description' => __('Active this option to show liked users avatars in the bottom of button like.', 'alimir')
210
+ ),
211
+ 'users_liked_box_avatar_size' => array(
212
+ 'type' => 'number',
213
+ 'default' => 32,
214
+ 'label' => __( 'Size of Gravatars', 'alimir'),
215
+ 'description' => __('Size of Gravatars to return (max is 512)', 'alimir')
216
+ ),
217
+ 'users_liked_box_title' => array(
218
+ 'default' => __('Users who have liked this activity:','alimir'),
219
+ 'label' => __('Users Like Box Title', 'alimir')
220
+ )
221
+ )
222
+ ),//end wp_ulike_buddypress
223
+ 'wp_ulike_customize' => array(
224
+ 'title' => '<i class="dashicons-before dashicons-art"></i>' . ' ' . __( 'Customize','alimir'),
225
+ 'fields' => array(
226
+ 'custom_style' => array(
227
+ 'type' => 'checkbox',
228
+ 'default' => 0,
229
+ 'label' => __('Custom Style', 'alimir'),
230
+ 'checkboxlabel' => __('Activate', 'alimir'),
231
+ 'attributes' => array(
232
+ 'class' => 'wp_ulike_custom_style_activation'
233
+ ),
234
+ 'description' => __('Active this option to see the custom style settings.', 'alimir')
235
+ ),
236
+ 'btn_bg' => array(
237
+ 'type' => 'color',
238
+ 'label' => __('Button style', 'alimir'),
239
+ 'description' => __('Background', 'alimir')
240
+ ),
241
+ 'btn_border' => array(
242
+ 'type' => 'color',
243
+ 'description' => __('Border Color', 'alimir')
244
+ ),
245
+ 'btn_color' => array(
246
+ 'type' => 'color',
247
+ 'description' => __('Text Color', 'alimir')
248
+ ),
249
+ 'counter_bg' => array(
250
+ 'type' => 'color',
251
+ 'label' => __( 'Counter Style', 'alimir'),
252
+ 'description' => __('Background', 'alimir')
253
+ ),
254
+ 'counter_border' => array(
255
+ 'type' => 'color',
256
+ 'description' => __('Border Color', 'alimir')
257
+ ),
258
+ 'counter_color' => array(
259
+ 'type' => 'color',
260
+ 'description' => __('Text Color', 'alimir')
261
+ ),
262
+ 'loading_animation' => array(
263
+ 'type' => 'media',
264
+ 'label' => __( 'Loading Animation', 'alimir') . ' (.GIF)',
265
+ 'description' => __( 'Best size: 16x16','alimir')
266
+ )
267
+ )
268
+ ),//end wp_ulike_customize
269
+ 'wp_ulike_admin' => array(
270
+ 'title' => '<i class="dashicons-before dashicons-dashboard"></i>' . ' ' . __( 'Dashboard','alimir'),
271
+ 'fields' => array(
272
+ 'visit_post_logs' => array(
273
+ 'type' => 'checkbox',
274
+ 'default' => 1,
275
+ 'label' => __('Visit Post Logs Menu', 'alimir'),
276
+ 'checkboxlabel' => __('Activate', 'alimir'),
277
+ 'description' => __('If you deactivate this option, "Post Likes Logs" Menu will hidden.', 'alimir')
278
+ ),
279
+ 'visit_comment_logs' => array(
280
+ 'type' => 'checkbox',
281
+ 'default' => 1,
282
+ 'label' => __('Visit Comment Logs Menu', 'alimir'),
283
+ 'checkboxlabel' => __('Activate', 'alimir'),
284
+ 'description' => __('If you deactivate this option, "Comment Likes Logs" Menu will hidden.', 'alimir')
285
+ ),
286
+ 'visit_bp_logs' => array(
287
+ 'type' => 'checkbox',
288
+ 'default' => 1,
289
+ 'label' => __('Visit Activity Logs Menu', 'alimir'),
290
+ 'checkboxlabel' => __('Activate', 'alimir'),
291
+ 'description' => __('If you deactivate this option, "Activity Likes Logs" Menu will hidden.', 'alimir')
292
+ )
293
+ )
294
+ )//end wp_ulike_admin
295
+ ) );
296
+
297
+ //create menu pages
298
+ add_action('admin_menu', 'wp_ulike_admin_menu');
299
+ function wp_ulike_admin_menu() {
300
+
301
+ //Post Like Logs Menu
302
+ if(wp_ulike_get_setting( 'wp_ulike_admin', 'visit_post_logs') == '1')
303
+ add_submenu_page('wp-ulike-settings', __( 'Post Likes Logs', 'alimir' ), __( 'Post Likes Logs', 'alimir' ), 'manage_options', 'wp-ulike-post-logs', 'wp_ulike_post_likes_logs');
304
+
305
+ //Comment Like Logs Menu
306
+ if(wp_ulike_get_setting( 'wp_ulike_admin', 'visit_comment_logs') == '1')
307
+ add_submenu_page('wp-ulike-settings', __( 'Comment Likes Logs', 'alimir' ), __( 'Comment Likes Logs', 'alimir' ), 'manage_options','wp-ulike-comment-logs', 'wp_ulike_comment_likes_logs');
308
+
309
+ //Activity Like Logs Menu
310
+ if(wp_ulike_get_setting( 'wp_ulike_admin', 'visit_bp_logs') == '1')
311
+ add_submenu_page('wp-ulike-settings', __( 'Activity Likes Logs', 'alimir' ), __( 'Activity Likes Logs', 'alimir' ), 'manage_options', 'wp-ulike-bp-logs', 'wp_ulike_buddypress_likes_logs');
312
+
313
+ //WP ULike About Menu
314
+ add_submenu_page('wp-ulike-settings', __( 'About WP ULike', 'alimir' ), __( 'About WP ULike', 'alimir' ), 'manage_options', 'wp-ulike-about', 'wp_ulike_about_page');
315
+ }
class/pagination.class.php → admin/classes/class-pagination.php RENAMED
@@ -2,12 +2,10 @@
2
  class pagination{
3
  /*
4
  Script Name: *Digg Style Paginator Class
5
- Script URI: http://www.mis-algoritmos.com/2007/05/27/digg-style-pagination-class/
6
- Description: Class in PHP that allows to use a pagination like a digg or sabrosus style.
7
  Script Version: 0.4
8
  Author: Victor De la Rocha
9
- Author URI: http://www.mis-algoritmos.com
10
  */
 
11
  /*Default values*/
12
  var $total_pages = -1;//items
13
  var $limit = null;
2
  class pagination{
3
  /*
4
  Script Name: *Digg Style Paginator Class
 
 
5
  Script Version: 0.4
6
  Author: Victor De la Rocha
 
7
  */
8
+
9
  /*Default values*/
10
  var $total_pages = -1;//items
11
  var $limit = null;
admin/classes/class-settings.php ADDED
@@ -0,0 +1,410 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! class_exists( 'wp_ulike_settings' ) ) {
3
+
4
+ class wp_ulike_settings {
5
+
6
+ private $page,
7
+ $title,
8
+ $menu,
9
+ $settings = array(),
10
+ $empty = true,
11
+ $notices = array();
12
+
13
+ public function __construct( $page = 'custom_settings', $title = null, $menu = array(), $settings = array(), $args = array() )
14
+ {
15
+ $this->page = $page;
16
+ $this->title = $title ? $title : __( 'Custom Settings', 'alimir' );
17
+ $this->menu = is_array( $menu ) ? array_merge( array(
18
+ 'parent' => 'themes.php',
19
+ 'title' => $this->title,
20
+ 'capability' => 'manage_options',
21
+ 'icon_url' => null,
22
+ 'position' => null
23
+ ), $menu ) : false;
24
+ $this->apply_settings( $settings );
25
+ $this->args = array_merge( array(
26
+ 'description' => null,
27
+ 'submit' => __( 'Save Settings', 'alimir' ),
28
+ 'reset' => __( 'Reset Settings', 'alimir' ),
29
+ 'tabs' => false,
30
+ 'updated' => null
31
+ ), $args );
32
+ add_action( 'admin_menu', array( $this, 'admin_menu' ) );
33
+ add_action( 'admin_init', array( $this, 'admin_init' ) );
34
+ }
35
+
36
+ public function apply_settings( $settings )
37
+ {
38
+ if ( is_array( $settings ) ) {
39
+ foreach ( $settings as $setting => $section ) {
40
+ $section = array_merge( array(
41
+ 'title' => null,
42
+ 'description' => null,
43
+ 'fields' => array()
44
+ ), $section );
45
+ foreach ( $section['fields'] as $name => $field ) {
46
+ $field = array_merge( array(
47
+ 'type' => 'text',
48
+ 'label' => null,
49
+ 'checkboxlabel' => null,
50
+ 'description' => null,
51
+ 'default' => null,
52
+ 'sanitize' => null,
53
+ 'attributes' => array(),
54
+ 'options' => null,
55
+ 'action' => null
56
+ ), $field );
57
+ $section['fields'][$name] = $field;
58
+ }
59
+ $this->settings[$setting] = $section;
60
+ if ( ! get_option( $setting ) ) {
61
+ add_option( $setting, $this->get_defaults( $setting ) );
62
+ }
63
+ }
64
+ }
65
+ }
66
+
67
+ public function add_notice( $message, $type = 'info' )
68
+ {
69
+ $this->notices[] = array(
70
+ 'message' => $message,
71
+ 'type' => $type
72
+ );
73
+ }
74
+
75
+ private function get_defaults( $setting )
76
+ {
77
+ $defaults = array();
78
+ foreach ( $this->settings[$setting]['fields'] as $name => $field ) {
79
+ if ( $field['default'] !== null ) {
80
+ $defaults[$name] = $field['default'];
81
+ }
82
+ }
83
+ return $defaults;
84
+ }
85
+
86
+ private function reset()
87
+ {
88
+ foreach ( $this->settings as $setting => $section ) {
89
+ $_POST[$setting] = array_merge( $_POST[$setting], $this->get_defaults( $setting ) );
90
+ }
91
+ add_settings_error( $this->page, 'settings_reset', __( 'Default settings have been reset.', 'alimir' ), 'updated' );
92
+ }
93
+
94
+ public function admin_menu()
95
+ {
96
+ if ( $this->menu ) {
97
+ if ( $this->menu['parent'] ) {
98
+ $page = add_submenu_page( $this->menu['parent'], $this->title, $this->menu['title'], $this->menu['capability'], $this->page, array( $this, 'do_page' ) );
99
+ } else {
100
+ $page = add_menu_page( $this->title, $this->menu['title'], $this->menu['capability'], $this->page, array( $this, 'do_page' ), $this->menu['icon_url'], $this->menu['position'] );
101
+ if ( $this->title !== $this->menu['title'] ) {
102
+ add_submenu_page( $this->page, $this->title, $this->title, $this->menu['capability'], $this->page );
103
+ }
104
+ }
105
+ add_action( 'load-' . $page, array( $this, 'load_page' ) );
106
+ }
107
+ }
108
+
109
+ public function load_page()
110
+ {
111
+ global $wp_settings_errors;
112
+ foreach ( $this->notices as $notice ) {
113
+ $wp_settings_errors[] = array_merge( $notice, array(
114
+ 'setting' => $this->page,
115
+ 'code' => $notice['type'] . '_notice'
116
+ ) );
117
+ }
118
+ if ( isset( $_GET['settings-updated'] ) && $_GET['settings-updated'] ) {
119
+ if ( $this->args['updated'] !== null && $notices = get_transient( 'settings_errors' ) ) {
120
+ delete_transient( 'settings_errors' );
121
+ foreach ( $notices as $i => $notice ) {
122
+ if ( $notice['setting'] === 'general' && $notice['code'] === 'settings_updated' ) {
123
+ if ( $this->args['updated'] ) {
124
+ $notice['message'] = (string) $this->args['updated'];
125
+ } else {
126
+ continue;
127
+ }
128
+ }
129
+ $wp_settings_errors[] = $notice;
130
+ }
131
+ }
132
+ do_action( "{$this->page}_settings_updated" );
133
+ }
134
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_enqueue_scripts' ) );
135
+ }
136
+
137
+ public static function admin_enqueue_scripts()
138
+ {
139
+ wp_enqueue_media();
140
+ wp_enqueue_script( 'wm-settings', plugins_url( 'js/settings.js' , __FILE__ ), array( 'jquery', 'wp-color-picker' ) );
141
+ wp_localize_script( 'wm-settings', 'ajax', array(
142
+ 'url' => admin_url( 'admin-ajax.php' ),
143
+ 'spinner' => admin_url( 'images/spinner.gif' )
144
+ ) );
145
+ if(!is_rtl())
146
+ wp_enqueue_style( 'wm-settings', plugins_url( 'css/settings.css' , __FILE__ ) );
147
+ else
148
+ wp_enqueue_style( 'wm-settings', plugins_url( 'css/settings-rtl.css' , __FILE__ ) );
149
+ wp_enqueue_style( 'wp-color-picker' );
150
+ }
151
+
152
+ public function do_page()
153
+ { ?>
154
+ <form action="options.php" method="POST" enctype="multipart/form-data" class="wrap">
155
+ <h2><?php echo $this->title; ?></h2>
156
+ <?php
157
+ settings_errors();
158
+ if ( $text = $this->args['description'] ) { echo wpautop( $text ); }
159
+ do_settings_sections( $this->page );
160
+ if ( ! $this->empty ) {
161
+ settings_fields( $this->page );
162
+ if ( $this->args['tabs'] && count( $this->settings ) > 1 ) { ?>
163
+ <div class="wm-settings-tabs"></div>
164
+ <?php }
165
+ submit_button( $this->args['submit'], 'large primary' );
166
+ if ( $this->args['reset'] ) {
167
+ submit_button( $this->args['reset'], 'small', "{$this->page}_reset", true, array( 'onclick' => "return confirm('" . __( 'Do you really want to reset all these settings to their default values ?', 'alimir' ) . "');" ) );
168
+ }
169
+ }
170
+ ?>
171
+ </form>
172
+ <?php }
173
+
174
+ public function admin_init()
175
+ {
176
+ foreach ( $this->settings as $setting => $section ) {
177
+ register_setting( $this->page, $setting, array( $this, 'sanitize_setting' ) );
178
+ add_settings_section( $setting, $section['title'], array( $this, 'do_section' ), $this->page );
179
+ if ( ! empty( $section['fields'] ) ) {
180
+ $this->empty = false;
181
+ $values = wp_ulike_get_setting( $setting );
182
+ foreach ( $section['fields'] as $name => $field ) {
183
+ $id = $setting . '_' . $name;
184
+ $field = array_merge( array(
185
+ 'id' => $id,
186
+ 'name' => $setting . '[' . $name . ']',
187
+ 'value' => isset( $values[$name] ) ? $values[$name] : null,
188
+ 'label_for' => $field['label'] === false ? 'hidden' : $id
189
+ ), $field );
190
+ add_settings_field( $name, $field['label'], array( __CLASS__, 'do_field' ), $this->page, $setting, $field );
191
+ if ( $field['type'] === 'action' && is_callable( $field['action'] ) ) {
192
+ add_action( "wp_ajax_{$setting}_{$name}", $field['action'] );
193
+ }
194
+ }
195
+ }
196
+ }
197
+ if ( isset( $_POST["{$this->page}_reset"] ) ) {
198
+ $this->reset();
199
+ }
200
+ }
201
+
202
+ public function do_section( $args )
203
+ {
204
+ extract( $args );
205
+ echo "<input name='{$id}[{$this->page}_setting]' type='hidden' value='{$id}' class='wm-settings-section' />";
206
+ if ( $text = $this->settings[$id]['description'] ) {
207
+ echo wpautop( $text );
208
+ }
209
+ }
210
+
211
+ public static function do_field( $args )
212
+ {
213
+ extract( $args );
214
+ $attrs = "name='{$name}'";
215
+ foreach ( $attributes as $k => $v ) {
216
+ $k = sanitize_key( $k );
217
+ $v = esc_attr( $v );
218
+ $attrs .= " {$k}='{$v}'";
219
+ }
220
+ $desc = $description ? "<p class='description'>{$description}</p>" : '';
221
+ switch ( $type )
222
+ {
223
+ case 'checkbox':
224
+ $check = checked( 1, $value, false );
225
+ echo "<label><input {$attrs} id='{$id}' type='checkbox' value='1' {$check} />";
226
+ if ( $checkboxlabel ) { echo " {$checkboxlabel}"; }
227
+ echo "</label>";
228
+ if ( $desc ) { echo " {$desc}"; }
229
+ break;
230
+
231
+ case 'radio':
232
+ if ( ! $options ) { _e( 'No options defined.', 'alimir' ); }
233
+ echo "<fieldset id='{$id}'>";
234
+ foreach ( $options as $v => $label ) {
235
+ $check = checked( $v, $value, false );
236
+ $options[$v] = "<label><input {$attrs} class='wp_ulike_check_{$v}' type='radio' value='{$v}' {$check} /> {$label}</label>";
237
+ }
238
+ echo implode( '<br />', $options );
239
+ echo "{$desc}</fieldset>";
240
+ break;
241
+
242
+ case 'select':
243
+ if ( ! $options ) { _e( 'No options defined.', 'alimir' ); }
244
+ echo "<select {$attrs} id='{$id}'>";
245
+ foreach ( $options as $v => $label ) {
246
+ $select = selected( $v, $value, false );
247
+ echo "<option value='{$v}' {$select} />{$label}</option>";
248
+ }
249
+ echo "</select>{$desc}";
250
+ break;
251
+
252
+ case 'media':
253
+ echo "<fieldset class='wm-settings-media' id='{$id}'><input {$attrs} type='hidden' value='{$value}' />";
254
+ echo "<p><a class='button button-large wm-select-media' title='{$label}'>" . sprintf( __( 'Select %s', 'alimir' ), $label ) . "</a> ";
255
+ echo "<a class='button button-small wm-remove-media' title='{$label}'>" . sprintf( __( 'Remove %s', 'alimir' ), $label ) . "</a></p>";
256
+ if ( $value ) {
257
+ echo wpautop( wp_get_attachment_image( $value, 'medium' ) );
258
+ }
259
+ echo "{$desc}</fieldset>";
260
+ break;
261
+
262
+ case 'textarea':
263
+ echo "<textarea {$attrs} id='{$id}' class='large-text'>{$value}</textarea>{$desc}";
264
+ break;
265
+
266
+ case 'multi':
267
+ if ( ! $options ) { _e( 'No options defined.', 'alimir' ); }
268
+ echo "<fieldset id='{$id}'>";
269
+ foreach ( $options as $n => $label ) {
270
+ $a = preg_replace( "/name\=\'(.+)\'/", "name='$1[{$n}]'", $attrs );
271
+ $check = checked( 1, $value[$n], false );
272
+ $options[$n] = "<label><input {$a} type='checkbox' value='1' {$check} /> {$label}</label>";
273
+ }
274
+ echo implode( '<br />', $options );
275
+ echo "{$desc}</fieldset>";
276
+ break;
277
+
278
+ case 'action':
279
+ if ( ! $action ) { _e( 'No action defined.', 'alimir' ); }
280
+ echo "<p class='wm-settings-action'><input {$attrs} id='{$id}' type='button' class='button button-large' value='{$label}' /></p>{$desc}";
281
+ break;
282
+
283
+ case 'color':
284
+ $v = esc_attr( $value );
285
+ echo "<input {$attrs} id='{$id}' type='text' value='{$v}' class='wm-settings-color' />{$desc}";
286
+ break;
287
+
288
+ default:
289
+ $v = esc_attr( $value );
290
+ echo "<input {$attrs} id='{$id}' type='{$type}' value='{$v}' class='regular-text' />{$desc}";
291
+ break;
292
+ }
293
+ }
294
+
295
+ public function sanitize_setting( $inputs )
296
+ {
297
+ $values = array();
298
+ if ( ! empty( $inputs["{$this->page}_setting"] ) ) {
299
+ $setting = $inputs["{$this->page}_setting"];
300
+ foreach ( $this->settings[$setting]['fields'] as $name => $field ) {
301
+ $input = array_key_exists( $name, $inputs ) ? $inputs[$name] : null;
302
+ if ( $field['sanitize'] ) {
303
+ $values[$name] = call_user_func( $field['sanitize'], $input, $name );
304
+ } else {
305
+ switch ( $field['type'] )
306
+ {
307
+ case 'checkbox':
308
+ $values[$name] = $input ? 1 : 0;
309
+ break;
310
+
311
+ case 'radio':
312
+ case 'select':
313
+ $values[$name] = sanitize_key( $input );
314
+ break;
315
+
316
+ case 'media':
317
+ $values[$name] = absint( $input );
318
+ break;
319
+
320
+ case 'color':
321
+ $values[$name] = preg_match( '/^#[a-f0-9]{6}$/i', $input ) ? $input : '';
322
+ break;
323
+
324
+ case 'textarea':
325
+ $text = '';
326
+ $nl = "WM-SETTINGS-NEW-LINE";
327
+ $tb = "WM-SETTINGS-TABULATION";
328
+ $lines = explode( $nl, sanitize_text_field( str_replace( "\t", $tb, str_replace( "\n", $nl, $input ) ) ) );
329
+ foreach ( $lines as $line ) {
330
+ $text .= str_replace( $tb, "\t", trim( $line ) ) . "\n";
331
+ }
332
+ $values[$name] = trim( $text );
333
+ break;
334
+
335
+ case 'multi':
336
+ if ( ! $input || empty( $field['options'] ) ) { break; }
337
+ foreach ( $field['options'] as $n => $opt ) {
338
+ $input[$n] = empty( $input[$n] ) ? 0 : 1;
339
+ }
340
+ $values[$name] = json_encode( $input );
341
+ break;
342
+
343
+ case 'action':
344
+ break;
345
+
346
+ case 'email':
347
+ $values[$name] = sanitize_email( $input );
348
+ break;
349
+
350
+ case 'url':
351
+ $values[$name] = esc_url_raw( $input );
352
+ break;
353
+
354
+ case 'number':
355
+ $values[$name] = floatval( $input );
356
+ break;
357
+
358
+ default:
359
+ $values[$name] = sanitize_text_field( $input );
360
+ break;
361
+ }
362
+ }
363
+ }
364
+ return $values;
365
+ }
366
+ return $inputs;
367
+ }
368
+
369
+ public static function parse_multi( $result )
370
+ {
371
+ // Check if the result was recorded as JSON, and if so, returns an array instead
372
+ return ( is_string( $result ) && $array = json_decode( $result, true ) ) ? $array : $result;
373
+ }
374
+
375
+ public static function plugin_priority()
376
+ {
377
+ $wp_ulike_settings = plugin_basename( __FILE__ );
378
+ $active_plugins = get_option( 'active_plugins' );
379
+ if ( $order = array_search( $wp_ulike_settings, $active_plugins ) ) {
380
+ array_splice( $active_plugins, $order, 1 );
381
+ array_unshift( $active_plugins, $wp_ulike_settings );
382
+ update_option( 'active_plugins', $active_plugins );
383
+ }
384
+ }
385
+ }
386
+ add_action( 'activated_plugin', array( 'wp_ulike_settings', 'plugin_priority' ) );
387
+
388
+ function wp_ulike_get_setting( $setting, $option = false )
389
+ {
390
+ $setting = get_option( $setting );
391
+ if ( is_array( $setting ) ) {
392
+ if ( $option ) {
393
+ return isset( $setting[$option] ) ? wp_ulike_settings::parse_multi( $setting[$option] ) : false;
394
+ }
395
+ foreach ( $setting as $k => $v ) {
396
+ $setting[$k] = wp_ulike_settings::parse_multi( $v );
397
+ }
398
+ return $setting;
399
+ }
400
+ return $option ? false : $setting;
401
+ }
402
+
403
+ function wp_ulike_create_settings_page( $page = 'custom_settings', $title = null, $menu = array(), $settings = array(), $args = array() )
404
+ {
405
+ return new wp_ulike_settings( $page, $title, $menu, $settings, $args );
406
+ }
407
+
408
+ }
409
+
410
+ ?>
inc/wp-widget.php → admin/classes/class-widget.php RENAMED
@@ -63,7 +63,7 @@ class wp_ulike_posts_widget extends WP_Widget {
63
 
64
  <p>
65
  <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"'; ?> />
66
- <label for="<?php echo $this->get_field_id( 'show_count' ); ?>"><?php _e('Activate post like count', 'alimir'); ?></label>
67
  </p>
68
  <?php
69
  }
@@ -149,7 +149,7 @@ class wp_ulike_users_widget extends WP_Widget {
149
 
150
  <p>
151
  <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"'; ?> />
152
- <label for="<?php echo $this->get_field_id( 'show_count' ); ?>"><?php _e('Activate user like count', 'alimir'); ?></label>
153
  </p>
154
  <?php
155
  }
@@ -165,10 +165,4 @@ class wp_ulike_users_widget extends WP_Widget {
165
  return $instance;
166
  }
167
  }
168
-
169
- function wp_ulike_load_widget() {
170
- register_widget( 'wp_ulike_posts_widget' );
171
- register_widget( 'wp_ulike_users_widget' );
172
- }
173
- add_action( 'widgets_init', 'wp_ulike_load_widget' );
174
  ?>
63
 
64
  <p>
65
  <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"'; ?> />
66
+ <label for="<?php echo $this->get_field_id( 'show_count' ); ?>"><?php _e('Activate Like Counter', 'alimir'); ?></label>
67
  </p>
68
  <?php
69
  }
149
 
150
  <p>
151
  <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"'; ?> />
152
+ <label for="<?php echo $this->get_field_id( 'show_count' ); ?>"><?php _e('Activate Like Counter', 'alimir'); ?></label>
153
  </p>
154
  <?php
155
  }
165
  return $instance;
166
  }
167
  }
 
 
 
 
 
 
168
  ?>
admin/classes/css/settings-rtl.css ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ form.wrap h3,
2
+ form.wrap p.submit {
3
+ padding-top: 20px;
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 {
11
+ margin: 0.5em 0;
12
+ }
13
+ form.wrap .wm-settings-tabs h3 {
14
+ float: right;
15
+ padding: 10px 15px;
16
+ font-weight: 300;
17
+ background-color: #fff;
18
+ border: 1px solid #ddd;
19
+ border-left: none;
20
+ border-bottom: none;
21
+ cursor: pointer;
22
+ }
23
+ form.wrap .wm-settings-tabs h3:hover {
24
+ background-color: #f9f9f9;
25
+ }
26
+ form.wrap .wm-settings-tabs h3.active {
27
+ background-color: #f1f1f1;
28
+ }
29
+ form.wrap .wm-settings-tabs h3:last-child {
30
+ border-left: 1px solid #ddd;
31
+ }
32
+ .wm-settings-tab {
33
+ padding-top: 0.5em;
34
+ clear: both;
35
+ }
36
+ .settings-error.info,
37
+ .settings-error.warning {
38
+ margin: 5px 0 15px;
39
+ border-right: 4px solid #2ea2cc;
40
+ padding: 1px 12px;
41
+ background-color: #fff;
42
+ -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
43
+ box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
44
+ }
45
+ .settings-error.warning {
46
+ border-color: #ffba00;
47
+ }
48
+ .settings-error.info p,
49
+ .settings-error.warning p {
50
+ margin: 0.5em 0;
51
+ padding: 2px;
52
+ }
53
+ tr.hide-label th {
54
+ display: none;
55
+ }
56
+ tr.hide-label td {
57
+ padding-right: 0;
58
+ }
admin/classes/css/settings.css ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ form.wrap h3,
2
+ form.wrap p.submit {
3
+ padding-top: 20px;
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 {
11
+ margin: 0.5em 0;
12
+ }
13
+ form.wrap .wm-settings-tabs h3 {
14
+ float: left;
15
+ padding: 10px 15px;
16
+ font-weight: 300;
17
+ background-color: #fff;
18
+ border: 1px solid #ddd;
19
+ border-right: none;
20
+ border-bottom: none;
21
+ cursor: pointer;
22
+ }
23
+ form.wrap .wm-settings-tabs h3:hover {
24
+ background-color: #f9f9f9;
25
+ }
26
+ form.wrap .wm-settings-tabs h3.active {
27
+ background-color: #f1f1f1;
28
+ }
29
+ form.wrap .wm-settings-tabs h3:last-child {
30
+ border-right: 1px solid #ddd;
31
+ }
32
+ .wm-settings-tab {
33
+ padding-top: 0.5em;
34
+ clear: both;
35
+ }
36
+ .settings-error.info,
37
+ .settings-error.warning {
38
+ margin: 5px 0 15px;
39
+ border-left: 4px solid #2ea2cc;
40
+ padding: 1px 12px;
41
+ background-color: #fff;
42
+ -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
43
+ box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
44
+ }
45
+ .settings-error.warning {
46
+ border-color: #ffba00;
47
+ }
48
+ .settings-error.info p,
49
+ .settings-error.warning p {
50
+ margin: 0.5em 0;
51
+ padding: 2px;
52
+ }
53
+ tr.hide-label th {
54
+ display: none;
55
+ }
56
+ tr.hide-label td {
57
+ padding-left: 0;
58
+ }
admin/classes/js/settings.js ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function ($) {
2
+ 'use strict';
3
+ var form = $('form.wrap'),
4
+ page = $('input[name="option_page"]', form).val(),
5
+ tabs = $('.wm-settings-tabs', form),
6
+ current = parseInt(sessionStorage.getItem(page + '_current_tab'), 10) || 0;
7
+ $('.wm-settings-section', form).each(function (i, el) {
8
+ var setting = $(el).val(),
9
+ title = $(el).prev('h3'),
10
+ section = $('<div>').attr('id', page + '_' + setting);
11
+ $(el).nextAll().each(function () {
12
+ var tag = $(this).prop('tagName');
13
+ if (tag === 'H3' || tag === 'INPUT') { return false; }
14
+ $(this).appendTo(section);
15
+ });
16
+ if (tabs.length && title.length) {
17
+ section.addClass('wm-settings-tab').hide();
18
+ title.appendTo(tabs).click(function (e) {
19
+ e.preventDefault();
20
+ if (!title.hasClass('active')) {
21
+ $('.wm-settings-tab.active', form).fadeOut('fast', function () {
22
+ $('.active', form).removeClass('active');
23
+ title.addClass('active');
24
+ section.fadeIn('fast').addClass('active');
25
+ });
26
+ sessionStorage.setItem(page + '_current_tab', i);
27
+ }
28
+ });
29
+ if (current === i) {
30
+ title.addClass('active');
31
+ section.show().addClass('active');
32
+ }
33
+ tabs.after(section);
34
+ } else {
35
+ title.prependTo(section);
36
+ $(el).after(section);
37
+ }
38
+ });
39
+ $('label[for="hidden"]', form).each(function () {
40
+ $(this).parents('tr').addClass('hide-label');
41
+ });
42
+ $('.wm-settings-media', form).each(function () {
43
+ var frame,
44
+ select = $('.wm-select-media', this),
45
+ remove = $('.wm-remove-media', this),
46
+ input = $('input', this),
47
+ preview = $('img', this),
48
+ title = select.attr('title'),
49
+ text = select.text();
50
+ if (input.val() < 1) {
51
+ preview = $('<img class="attachment-medium">');
52
+ preview.prependTo(this).hide();
53
+ remove.hide();
54
+ }
55
+ select.click(function (e) {
56
+ e.preventDefault();
57
+ if (frame) {
58
+ frame.open();
59
+ return;
60
+ }
61
+ frame = wp.media({
62
+ title: title,
63
+ button: { text: text },
64
+ multiple: false
65
+ });
66
+ frame.on('select', function () {
67
+ var attachment = frame.state().get('selection').first().toJSON(),
68
+ thumb;
69
+ input.val(attachment.id);
70
+ thumb = attachment.sizes.medium || attachment.sizes.full;
71
+ preview.attr({
72
+ src: thumb.url,
73
+ width: thumb.width,
74
+ height: thumb.height
75
+ });
76
+ preview.show();
77
+ remove.show();
78
+ });
79
+ frame.open();
80
+ });
81
+ remove.click(function (e) {
82
+ e.preventDefault();
83
+ input.val('');
84
+ preview.hide();
85
+ remove.hide();
86
+ });
87
+ });
88
+ $('.wm-settings-action', form).each(function () {
89
+ var submit = $('[type="button"]', this),
90
+ spinner = $('<img>').attr({
91
+ src: ajax.spinner,
92
+ alt: 'loading'
93
+ }).insertAfter(submit).hide(),
94
+ notice = $('<div>').addClass('settings-error').insertBefore(submit).hide(),
95
+ action = {
96
+ data: { action: submit.attr('id') },
97
+ dataType: 'json',
98
+ type: 'POST',
99
+ url: ajax.url,
100
+ beforeSend: function () {
101
+ spinner.fadeIn('fast');
102
+ submit.hide();
103
+ },
104
+ success: function (r) {
105
+ var noticeClass = 'error',
106
+ showNotice = function (msg) {
107
+ notice.html('<p>' + String(msg) + '</p>').addClass(noticeClass).show();
108
+ };
109
+ if (typeof r === 'object') {
110
+ if (r.hasOwnProperty('success') && r.success) {
111
+ noticeClass = 'updated';
112
+ }
113
+ if (r.hasOwnProperty('data') && r.data) {
114
+ if (typeof r.data === 'object') {
115
+ if (r.data.hasOwnProperty('reload') && r.data.reload) {
116
+ document.location.reload();
117
+ return;
118
+ }
119
+ if (r.data.hasOwnProperty('message') && r.data.message) {
120
+ showNotice(r.data.message);
121
+ }
122
+ } else {
123
+ showNotice(r.data);
124
+ }
125
+ }
126
+ } else if (r) {
127
+ showNotice(r);
128
+ }
129
+ spinner.hide();
130
+ submit.fadeIn('fast');
131
+ notice.show('fast');
132
+ },
133
+ error: function (jqXHR, textStatus, errorThrown) {
134
+ notice.addClass('error').append('<p>' + jqXHR.responseText + '</p>').show('fast');
135
+ console.log(textStatus, jqXHR, errorThrown);
136
+ }
137
+ };
138
+ submit.click(function (e) {
139
+ e.preventDefault();
140
+ notice.hide('fast', function () {
141
+ notice.removeClass('error updated').empty();
142
+ $.ajax(action);
143
+ });
144
+ });
145
+ });
146
+ $('.wm-settings-color').wpColorPicker();
147
+
148
+ $('#wp-ulike-settings_wp_ulike_customize tr:not(:first-child)').addClass('custom-style-show');
149
+
150
+ function evaluate(){
151
+ var item = $(this);
152
+ var relatedItem = $('.custom-style-show');
153
+
154
+ if(item.is(":checked")){
155
+ relatedItem.fadeIn();
156
+ }else{
157
+ relatedItem.fadeOut();
158
+ }
159
+ }
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
+
167
+ if (!$(".wp_ulike_check_text").is(":checked")) {
168
+ $('.button-text-show').hide();
169
+ }
170
+ if (!$(".wp_ulike_check_image").is(":checked")) {
171
+ $('.button-icon-show').hide();
172
+ }
173
+
174
+ $(".wp_ulike_check_text, .wp_ulike_check_image").click(function () {
175
+ if ($(".wp_ulike_check_text").is(":checked")) {
176
+ $('.button-text-show').fadeIn();
177
+ }
178
+ if (!$(".wp_ulike_check_text").is(":checked")) {
179
+ $('.button-text-show').hide();
180
+ }
181
+ if ($(".wp_ulike_check_image").is(":checked")) {
182
+ $('.button-icon-show').fadeIn();
183
+ }
184
+ if (!$(".wp_ulike_check_image").is(":checked")) {
185
+ $('.button-icon-show').hide();
186
+ }
187
+ });
188
+
189
+ });
{inc → admin}/index.php RENAMED
File without changes
admin/logs.php ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ //include pagination class
4
+ include( plugin_dir_path(__FILE__) . 'classes/class-pagination.php');
5
+
6
+ function wp_ulike_post_likes_logs(){
7
+ global $wpdb;
8
+ $alternate = true;
9
+ $items = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike");
10
+ if($items > 0) {
11
+ $p = new pagination;
12
+ $p->items($items);
13
+ $p->limit(20); // Limit entries per page
14
+ $p->target("admin.php?page=wp-ulike-post-logs");
15
+ $p->calculate(); // Calculates what to show
16
+ $p->parameterName('page_number');
17
+ $p->adjacents(1); //No. of page away from the current page
18
+
19
+ if(!isset($_GET['page_number'])) {
20
+ $p->page = 1;
21
+ } else {
22
+ $p->page = $_GET['page_number'];
23
+ }
24
+
25
+ //Query for limit page_number
26
+ $limit = "LIMIT " . ($p->page - 1) * $p->limit . ", " . $p->limit;
27
+
28
+ $get_ulike_logs = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix."ulike ORDER BY id ASC ".$limit."");
29
+ $count_total_like = $wpdb->get_var("SELECT SUM(meta_value) FROM ".$wpdb->prefix."postmeta WHERE meta_key LIKE '_liked'" );
30
+ $count_total_post = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."postmeta WHERE meta_key LIKE '_liked'" );
31
+ ?>
32
+ <div class="wrap">
33
+ <h2><?php _e('WP ULike Logs', 'alimir'); ?></h2>
34
+ <h3><?php _e('Post Likes Logs', 'alimir'); ?></h3>
35
+ <div class="tablenav">
36
+ <div class='tablenav-pages'>
37
+ <?php echo $p->show(); // Echo out the list of paging. ?>
38
+ </div>
39
+ </div>
40
+ <table class="widefat">
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>
53
+ <?php
54
+ foreach ( $get_ulike_logs as $get_ulike_log )
55
+ {
56
+ ?>
57
+ <tr <?php if ($alternate == true) echo 'class="alternate"';?>>
58
+ <td>
59
+ <?php echo $get_ulike_log->id; ?>
60
+ </td>
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; ?>
81
+ </td>
82
+ <?php
83
+ $alternate = !$alternate;
84
+ }
85
+ ?>
86
+ </tr>
87
+ </tbody>
88
+ </table>
89
+ <div class="tablenav">
90
+ <div class='tablenav-pages'>
91
+ <?php echo $p->show(); // Echo out the list of paging. ?>
92
+ </div>
93
+ </div>
94
+ </div>
95
+ <div class="wrap">
96
+ <h3><?php _e('Post Likes Logs Stats', 'alimir'); ?></h3>
97
+ <br style="clear" />
98
+ <table class="widefat">
99
+ <tr class="alternate">
100
+ <th><?php _e('Total Users Liked:', 'alimir'); ?></th>
101
+ <td><?php echo $items; ?></td>
102
+ </tr>
103
+ <tr>
104
+ <th><?php _e('Total Posts Liked:', 'alimir'); ?></th>
105
+ <td><?php echo $count_total_post; ?></td>
106
+ </tr>
107
+ <tr class="alternate">
108
+ <th><?php _e('Total Likes Sum:', 'alimir'); ?></th>
109
+ <td><?php echo $count_total_like; ?></td>
110
+ </tr>
111
+ </table>
112
+ </div>
113
+ <?php
114
+ } else {
115
+ echo "<div class='error'><p>" . __('<strong>ERROR:</strong> No Record Found. (This problem is created because you don\'t have any data on this table)','alimir') . "</p></div>";
116
+ }
117
+ }
118
+
119
+ function wp_ulike_comment_likes_logs(){
120
+ global $wpdb;
121
+ $alternate = true;
122
+ $items = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_comments");
123
+ if($items > 0) {
124
+ $p = new pagination;
125
+ $p->items($items);
126
+ $p->limit(20); // Limit entries per page
127
+ $p->target("admin.php?page=wp-ulike-comment-logs");
128
+ $p->calculate(); // Calculates what to show
129
+ $p->parameterName('page_number');
130
+ $p->adjacents(1); //No. of page away from the current page
131
+
132
+ if(!isset($_GET['page_number'])) {
133
+ $p->page = 1;
134
+ } else {
135
+ $p->page = $_GET['page_number'];
136
+ }
137
+
138
+ //Query for limit page_number
139
+ $limit = "LIMIT " . ($p->page - 1) * $p->limit . ", " . $p->limit;
140
+
141
+ $get_ulike_logs = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix."ulike_comments ORDER BY id ASC ".$limit."");
142
+ $count_total_like = $wpdb->get_var("SELECT SUM(meta_value) FROM ".$wpdb->prefix."commentmeta WHERE meta_key LIKE '_commentliked'" );
143
+ $count_total_comments = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."commentmeta WHERE meta_key LIKE '_commentliked'" );
144
+ ?>
145
+ <div class="wrap">
146
+ <h2><?php _e('WP ULike Logs', 'alimir'); ?></h2>
147
+ <h3><?php _e('Comment Likes Logs', 'alimir'); ?></h3>
148
+ <div class="tablenav">
149
+ <div class='tablenav-pages'>
150
+ <?php echo $p->show(); // Echo out the list of paging. ?>
151
+ </div>
152
+ </div>
153
+ <table class="widefat">
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>
166
+ <?php
167
+ foreach ( $get_ulike_logs as $get_ulike_log )
168
+ {
169
+ ?>
170
+ <tr <?php if ($alternate == true) echo 'class="alternate"';?>>
171
+ <td>
172
+ <?php echo $get_ulike_log->id; ?>
173
+ </td>
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; ?>
185
+ </td>
186
+ <td>
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; ?>
194
+ </td>
195
+ <?php
196
+ $alternate = !$alternate;
197
+ }
198
+ ?>
199
+ </tr>
200
+ </tbody>
201
+ </table>
202
+ <div class="tablenav">
203
+ <div class='tablenav-pages'>
204
+ <?php echo $p->show(); // Echo out the list of paging. ?>
205
+ </div>
206
+ </div>
207
+ </div>
208
+ <div class="wrap">
209
+ <h3><?php _e('Comment Likes Logs Stats', 'alimir'); ?></h3>
210
+ <br style="clear" />
211
+ <table class="widefat">
212
+ <tr class="alternate">
213
+ <th><?php _e('Total Users Liked:', 'alimir'); ?></th>
214
+ <td><?php echo $items; ?></td>
215
+ </tr>
216
+ <tr>
217
+ <th><?php _e('Total Comments Liked:', 'alimir'); ?></th>
218
+ <td><?php echo $count_total_comments; ?></td>
219
+ </tr>
220
+ <tr class="alternate">
221
+ <th><?php _e('Total Likes Sum:', 'alimir'); ?></th>
222
+ <td><?php echo $count_total_like; ?></td>
223
+ </tr>
224
+ </table>
225
+ </div>
226
+ <?php
227
+ } else {
228
+ echo "<div class='error'><p>" . __('<strong>ERROR:</strong> No Record Found. (This problem is created because you don\'t have any data on this table)','alimir') . "</p></div>";
229
+ }
230
+ }
231
+
232
+ function wp_ulike_buddypress_likes_logs(){
233
+ global $wpdb;
234
+ $alternate = true;
235
+ $items = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_activities");
236
+ if($items > 0) {
237
+ $p = new pagination;
238
+ $p->items($items);
239
+ $p->limit(20); // Limit entries per page
240
+ $p->target("admin.php?page=wp-ulike-bp-logs");
241
+ $p->calculate(); // Calculates what to show
242
+ $p->parameterName('page_number');
243
+ $p->adjacents(1); //No. of page away from the current page
244
+
245
+ if(!isset($_GET['page_number'])) {
246
+ $p->page = 1;
247
+ } else {
248
+ $p->page = $_GET['page_number'];
249
+ }
250
+
251
+ //Query for limit page_number
252
+ $limit = "LIMIT " . ($p->page - 1) * $p->limit . ", " . $p->limit;
253
+
254
+ $get_ulike_logs = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix."ulike_activities ORDER BY id ASC ".$limit."");
255
+ $count_total_like = $wpdb->get_var("SELECT SUM(meta_value) FROM ".$wpdb->prefix."bp_activity_meta WHERE meta_key LIKE '_activityliked'" );
256
+ $count_total_activity = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."bp_activity_meta WHERE meta_key LIKE '_activityliked'" );
257
+ ?>
258
+ <div class="wrap">
259
+ <h2><?php _e('WP ULike Logs', 'alimir'); ?></h2>
260
+ <h3><?php _e('Activity Likes Logs', 'alimir'); ?></h3>
261
+ <div class="tablenav">
262
+ <div class='tablenav-pages'>
263
+ <?php echo $p->show(); // Echo out the list of paging. ?>
264
+ </div>
265
+ </div>
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>
276
+ </thead>
277
+ <tbody>
278
+ <?php
279
+ foreach ( $get_ulike_logs as $get_ulike_log )
280
+ {
281
+ ?>
282
+ <tr <?php if ($alternate == true) echo 'class="alternate"';?>>
283
+ <td>
284
+ <?php echo $get_ulike_log->id; ?>
285
+ </td>
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; ?>
303
+ </td>
304
+ <?php
305
+ $alternate = !$alternate;
306
+ }
307
+ ?>
308
+ </tr>
309
+ </tbody>
310
+ </table>
311
+ <div class="tablenav">
312
+ <div class='tablenav-pages'>
313
+ <?php echo $p->show(); // Echo out the list of paging. ?>
314
+ </div>
315
+ </div>
316
+ </div>
317
+ <div class="wrap">
318
+ <h3><?php _e('Activity Likes Logs Stats', 'alimir'); ?></h3>
319
+ <br style="clear" />
320
+ <table class="widefat">
321
+ <tr class="alternate">
322
+ <th><?php _e('Total Users Liked:', 'alimir'); ?></th>
323
+ <td><?php echo $items; ?></td>
324
+ </tr>
325
+ <tr>
326
+ <th><?php _e('Total Activities Liked:', 'alimir'); ?></th>
327
+ <td><?php echo $count_total_activity; ?></td>
328
+ </tr>
329
+ <tr class="alternate">
330
+ <th><?php _e('Total Likes Sum:', 'alimir'); ?></th>
331
+ <td><?php echo $count_total_like; ?></td>
332
+ </tr>
333
+ </table>
334
+ </div>
335
+ <?php
336
+ } else {
337
+ echo "<div class='error'><p>" . __('<strong>ERROR:</strong> No Record Found. (This problem is created because you don\'t have any data on this table)','alimir') . "</p></div>";
338
+ }
339
+ }
assets/css/wp-ulike-rtl.css CHANGED
@@ -195,13 +195,13 @@ button.close {
195
  opacity:1
196
  }
197
 
198
- #tiles,.mostlikedusers {
199
  list-style-type: none;
200
  position: relative;
201
  margin: 10px 0;
202
  padding: 0;
203
  }
204
- #tiles li,.mostlikedusers li{
205
  display:inline-table;
206
  cursor: pointer;
207
  }
@@ -209,12 +209,12 @@ button.close {
209
  margin:0 2px;
210
  }
211
 
212
- #tiles li.inactive,.mostlikedusers li.inactive {
213
  visibility: hidden;
214
  opacity: 0;
215
  }
216
 
217
- #tiles li img ,.mostlikedusers li img {
218
  display: block;
219
  }
220
 
195
  opacity:1
196
  }
197
 
198
+ .tiles,.mostlikedusers {
199
  list-style-type: none;
200
  position: relative;
201
  margin: 10px 0;
202
  padding: 0;
203
  }
204
+ .tiles li,.mostlikedusers li{
205
  display:inline-table;
206
  cursor: pointer;
207
  }
209
  margin:0 2px;
210
  }
211
 
212
+ .tiles li.inactive,.mostlikedusers li.inactive {
213
  visibility: hidden;
214
  opacity: 0;
215
  }
216
 
217
+ .tiles li img ,.mostlikedusers li img {
218
  display: block;
219
  }
220
 
assets/css/wp-ulike.css CHANGED
@@ -196,27 +196,27 @@ button.close {
196
  opacity:1
197
  }
198
 
199
- #tiles,.mostlikedusers {
200
- list-style-type: none;
201
- position: relative;
202
- margin: 10px 0;
203
- padding: 0;
204
  }
205
- #tiles li,.mostlikedusers li{
206
- display:inline-table;
207
- cursor: pointer;
208
  }
209
  .mostlikedusers li{
210
- margin:0 2px;
211
  }
212
 
213
- #tiles li.inactive,.mostlikedusers li.inactive {
214
- visibility: hidden;
215
- opacity: 0;
216
  }
217
 
218
- #tiles li img ,.mostlikedusers li img {
219
- display: block;
220
  }
221
 
222
  .tooltip {
196
  opacity:1
197
  }
198
 
199
+ .tiles,.mostlikedusers {
200
+ list-style-type: none !important;
201
+ position: relative !important;
202
+ margin: 10px 0 !important;
203
+ padding: 0 !important;
204
  }
205
+ .tiles li,.mostlikedusers li{
206
+ display:inline-table !important;
207
+ cursor: pointer !important;
208
  }
209
  .mostlikedusers li{
210
+ margin:0 2px !important;
211
  }
212
 
213
+ .tiles li.inactive,.mostlikedusers li.inactive {
214
+ visibility: hidden !important;
215
+ opacity: 0 !important;
216
  }
217
 
218
+ .tiles li img ,.mostlikedusers li img {
219
+ display: block !important;
220
  }
221
 
222
  .tooltip {
assets/img/{wp-ulike-17 → new-tools}/activity-likes.png RENAMED
File without changes
assets/img/{wp-ulike-17 → new-tools}/likes-logs.png RENAMED
File without changes
assets/img/new-tools/new-coding.png ADDED
Binary file
assets/img/new-tools/new-setting.png ADDED
Binary file
assets/js/wp-admin.js DELETED
@@ -1,17 +0,0 @@
1
- jQuery(document).ready(function($){
2
-
3
- function evaluate(){
4
- var item = $(this);
5
- var relatedItem = $('.checktoshow');
6
-
7
- if(item.is(":checked")){
8
- relatedItem.fadeIn();
9
- }else{
10
- relatedItem.fadeOut();
11
- }
12
- }
13
-
14
- $('#wp_ulike_style').click(evaluate).each(evaluate);
15
-
16
- $('.my-color-field').wpColorPicker();
17
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/wp-ulike.js CHANGED
@@ -1 +1 @@
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.likeText+"</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.disLikeText+"</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.likeText+"</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.likeText+"</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.disLikeText+"</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.likeText+"</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.likeText+"</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.disLikeText+"</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.likeText+"</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()});
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/about-page.php DELETED
@@ -1,91 +0,0 @@
1
- <?php
2
- /**
3
- * WP ULike about page
4
- */
5
-
6
- add_filter('get_avatar', 'remove_photo_class');
7
- function remove_photo_class($avatar) {
8
- return str_replace(' photo', ' gravatar', $avatar);
9
- }
10
-
11
- ?>
12
-
13
- <style>
14
- .ulike-badge{
15
- background: url('<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/wp-ulike-badge.png') no-repeat scroll center 24px / 150px 150px;
16
- margin: 5px 0px 0px;
17
- padding-top: 120px;
18
- display: inline-block;
19
- height:60px;
20
- width: 150px;
21
- }
22
- <?php if(is_rtl()): ?>
23
- .about-wrap .ulike-badge {
24
- position: absolute;
25
- top: 0px;
26
- left: 0px;
27
- }
28
- <?php else: ?>
29
- .about-wrap .ulike-badge {
30
- position: absolute;
31
- top: 0px;
32
- right: 0px;
33
- }
34
- <?php endif; ?>
35
- </style>
36
-
37
- <div class="wrap about-wrap">
38
-
39
- <h1><?php echo _e('Welcome to WP ULike','alimir') . ' ' . wp_ulike_get_version(); ?></h1>
40
-
41
- <div class="about-text"><?php echo _e('Thanks for updating! This version is our leanest and most powerful version yet.', 'alimir'); ?></div>
42
- <div class="ulike-badge"></div>
43
-
44
- <h2 class="nav-tab-wrapper">
45
- <a class="nav-tab nav-tab-active" href="#"><?php echo _e('What’s New','alimir'); ?></a>
46
-
47
- </h2>
48
-
49
- <div class="changelog">
50
- <h2 class="about-headline-callout"><?php echo _e('About WP ULike', 'alimir'); ?></h2>
51
- <img class="about-overview-img" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/wp-ulike-banner.png" alt="WP ULike" />
52
- <p class="about-description"><?php _e('WP ULike enables you to add Ajax Like button into your WordPress site and allowing your visitors to like and dislike posts, pages, comments AND buddypress activities. It features: Clean Design, Ajax feature to update the data without reloading, Custom Like-Dislike Texts, Simple custom style with color picker settings, BuddyPress activity support, Widget to show Most Liked Posts And Most Liked Users avatars, Added automatically, RTL language support, Simple configuration panel and many more...', 'alimir'); ?></p>
53
- </div>
54
-
55
- <hr />
56
-
57
- <div class="changelog">
58
- <h2 class="about-headline-callout"><?php echo _e('New Administrative Tools','alimir'); ?></h2>
59
-
60
- <div class="feature-section col two-col">
61
- <div>
62
- <h4>Buddypress likes support</h4>
63
- <img style="width:90%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/wp-ulike-17/activity-likes.png" alt="WP ULike" />
64
- </div>
65
-
66
- <div class="last-feature">
67
- <h4>Likes Logs Support</h4>
68
- <img style="width:90%" src="<?php echo plugins_url('/assets', dirname(__FILE__)); ?>/img/wp-ulike-17/likes-logs.png" alt="WP ULike" />
69
- </div>
70
- </div>
71
-
72
- </div>
73
-
74
- <hr />
75
-
76
- <h2 class="about-headline-callout"><?php echo _e('Credits'); ?></h2><br />
77
- <ul class="wp-people-group">
78
- <li class="wp-person" id="wp-person-alimirzaei">
79
- <a href="http://about.alimir.ir"><?php echo get_avatar( 'info@alimir.ir', 64 ); ?></a>
80
- <a class="web" href="https://profiles.wordpress.org/alimir/">Ali Mirzaei</a>
81
- <span class="title">Project Lead</span>
82
- </li>
83
- </ul>
84
-
85
- <h4 class="wp-people-group"><?php _e('Translations','alimir'); ?></h4>
86
- English, Persian, France, Chinese (Thanks Changmeng Hu), Chinese Tradition (Thanks Arefly)
87
-
88
- <h4 class="wp-people-group"><?php _e('Like this plugin?','alimir'); ?></h4>
89
- <p><?php _e('Show your support by Rating 5 Star in <a href="http://wordpress.org/plugins/wp-ulike"> Plugin Directory reviews</a>','alimir'); ?></p>
90
-
91
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/wp-functions.php CHANGED
@@ -1,26 +1,62 @@
1
  <?php
 
 
 
 
2
 
3
- //get real IP
4
- function wp_ulike_get_real_ip() {
5
- if (getenv('HTTP_CLIENT_IP')) {
6
- $ip = getenv('HTTP_CLIENT_IP');
7
- } elseif (getenv('HTTP_X_FORWARDED_FOR')) {
8
- $ip = getenv('HTTP_X_FORWARDED_FOR');
9
- } elseif (getenv('HTTP_X_FORWARDED')) {
10
- $ip = getenv('HTTP_X_FORWARDED');
11
- } elseif (getenv('HTTP_FORWARDED_FOR')) {
12
- $ip = getenv('HTTP_FORWARDED_FOR');
13
- } elseif (getenv('HTTP_FORWARDED')) {
14
- $ip = getenv('HTTP_FORWARDED');
15
- } else {
16
- $ip = $_SERVER['REMOTE_ADDR'];
17
- }
18
 
19
- return $ip;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
21
 
22
  //get users data and list their avatar
23
- function get_user_data($post_ID,$user_ID){
24
  global $wpdb;
25
  $users_list = '';
26
 
@@ -30,16 +66,48 @@
30
  {
31
  if ($user_ID != $get_user->user_id):
32
  $user_info = get_userdata($get_user->user_id);
33
- $users_list .= '<li><a class="user-tooltip" title="'.$user_info->display_name.'">'.get_avatar( $user_info->user_email, 32, '' , 'avatar').'</a></li>';
 
34
  endif;
35
  }
36
 
37
  return $users_list;
 
38
 
 
 
 
 
39
  }
40
 
41
- //get users comments data and list their avatar
42
- function get_user_comments_data($CommentID,$user_ID){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  global $wpdb;
44
  $users_list = '';
45
 
@@ -49,16 +117,32 @@
49
  {
50
  if ($user_ID != $get_user->user_id):
51
  $user_info = get_userdata($get_user->user_id);
52
- $users_list .= '<li><a class="user-tooltip" title="'.$user_info->display_name.'">'.get_avatar( $user_info->user_email, 32, '' , 'avatar').'</a></li>';
 
53
  endif;
54
  }
55
 
56
  return $users_list;
 
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  }
59
 
60
- //get user status (like or dislike)
61
- function get_user_activities_data($activityID,$user_ID){
62
  global $wpdb;
63
  $users_list = '';
64
 
@@ -68,7 +152,8 @@
68
  {
69
  if ($user_ID != $get_user->user_id):
70
  $user_info = get_userdata($get_user->user_id);
71
- $users_list .= '<li><a class="user-tooltip" title="'.$user_info->display_name.'">'.get_avatar( $user_info->user_email, 32, '' , 'avatar').'</a></li>';
 
72
  endif;
73
  }
74
 
@@ -76,79 +161,18 @@
76
 
77
  }
78
 
79
- //get user status (like or dislike)
80
- function get_user_status($post_ID,$user_ID){
81
- global $wpdb;
82
- $like_status = $wpdb->get_var("SELECT status FROM ".$wpdb->prefix."ulike WHERE post_id = '$post_ID' AND user_id = '$user_ID'");
83
- if ($like_status == "like")
84
- return "like";
85
- else
86
- return "dislike";
87
- }
88
-
89
- //get user comment status (like or dislike)
90
- function get_user_comments_status($CommentID,$user_ID){
91
- global $wpdb;
92
- $like_status = $wpdb->get_var("SELECT status FROM ".$wpdb->prefix."ulike_comments WHERE comment_id = '$CommentID' AND user_id = '$user_ID'");
93
- if ($like_status == "like")
94
- return "like";
95
- else
96
- return "dislike";
97
- }
98
-
99
- //get user activity status (like or dislike)
100
- function get_user_activities_status($activityID,$user_ID){
101
  global $wpdb;
102
  $like_status = $wpdb->get_var("SELECT status FROM ".$wpdb->prefix."ulike_activities WHERE activity_id = '$activityID' AND user_id = '$user_ID'");
103
  if ($like_status == "like")
104
  return "like";
105
  else
106
- return "dislike";
107
- }
108
-
109
- //get user style settings
110
- function get_user_style(){
111
- $btn_style = '';
112
- $counter_style = '';
113
- $btn_bg = get_option('wp_ulike_btn_bg');
114
- $btn_border = get_option('wp_ulike_btn_border');
115
- $btn_color = get_option('wp_ulike_btn_color');
116
- $counter_bg = get_option('wp_ulike_counter_bg');
117
- $counter_border = get_option('wp_ulike_counter_border');
118
- $counter_color = get_option('wp_ulike_counter_color');
119
-
120
- if(isset($btn_bg)){
121
- $btn_style .= "background-color:$btn_bg !important; ";
122
- }
123
- if(isset($btn_border)){
124
- $btn_style .= "border-color:$btn_border !important; ";
125
- }
126
- if(isset($btn_color)){
127
- $btn_style .= "color:$btn_color !important;";
128
- }
129
-
130
- if(isset($counter_bg)){
131
- $counter_style .= "background-color:$counter_bg !important; ";
132
- }
133
- if(isset($counter_border)){
134
- $counter_style .= "border-color:$counter_border !important; ";
135
- }
136
- if(isset($counter_color)){
137
- $counter_style .= "color:$counter_color !important;";
138
- }
139
-
140
- echo "
141
- <style>
142
- .wpulike .counter a{
143
- $btn_style
144
- }
145
- .wpulike .count-box,.wpulike .count-box:before{
146
- $counter_style
147
- }
148
- </style>
149
- ";
150
  }
151
 
 
 
152
  function wp_ulike_register_activity_actions() {
153
  global $bp;
154
  bp_activity_set_action(
@@ -157,11 +181,10 @@
157
  __( 'WP ULike Activity', 'alimir' )
158
  );
159
  }
160
-
161
- add_action( 'bp_register_activity_actions', 'wp_ulike_register_activity_actions' );
162
 
 
163
  function wp_ulike_bp_activity_add($user_ID,$cp_ID,$type){
164
- if (function_exists('bp_is_active') && get_option('wp_ulike_bp_activity_add') == '1') {
165
  if($type=='comment'){
166
  bp_activity_add( array(
167
  'user_id' => $user_ID,
@@ -185,76 +208,131 @@
185
  else{
186
  return '';
187
  }
188
- }
 
189
 
190
- //This function will be complete in the future
191
- /*
192
- function wp_ulike_bp_notification($user_ID,$activityID){
193
- global $bp;
194
- if ( bp_is_active( 'notifications' ) ) {
195
- bp_notifications_add_notification( array(
196
- 'user_id' => 1,
197
- 'item_id' => $activityID,
198
- 'secondary_item_id' => 3,
199
- 'date_notified' => bp_core_current_time(),
200
- 'is_new' => 1,
201
- ) );
202
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  }
204
- add_action( 'bp_activity_sent_mention_email', 'wp_ulike_bp_notification', 10, 5 );
205
- */
206
 
207
  //Convert numbers of Likes with string (kilobyte) format.
208
  function wp_ulike_format_number($num){
209
  $plus = '+';
210
- if ($num >= 1000 && get_option('wp_ulike_format_number') == '1')
211
  $value = round($num/1000, 2) . 'K' . $plus;
212
  else
213
  $value = $num . $plus;
214
  $value = apply_filters( 'wp_ulike_format_number', $value, $num, $plus);
215
  return $value;
216
- }
217
-
218
- //get the post likes number
219
- function wp_ulike_get_post_likes($postID){
220
- $val = get_post_meta($postID, '_liked', true);
221
- return wp_ulike_format_number($val);
222
- }
223
-
224
- //Shortcode function for the post likes
225
- function wp_ulike_shortcode(){
226
- return wp_ulike('put');
227
- }
228
- add_shortcode( 'wp_ulike', 'wp_ulike_shortcode' );
229
-
230
- //Insert ULike button to the posts
231
- if (get_option('wp_ulike_onPage') == '1') {
232
- function wp_put_ulike($content) {
233
- if(!is_feed() && !is_page()) {
234
- $content.= wp_ulike('put');
235
- }
236
- return $content;
237
- }
238
-
239
- add_filter('the_content', 'wp_put_ulike');
240
- }
241
-
242
- //Insert ULike button to the comments
243
- if (get_option('wp_ulike_onComments') == '1' && !is_admin()) {
244
- function wp_put_ulike_comments($content) {
245
- $content.= wp_ulike_comments('put');
246
- return $content;
247
- }
248
-
249
- add_filter('comment_text', 'wp_put_ulike_comments');
250
- }
251
-
252
- //Insert ULike button to the activities
253
- if (get_option('wp_ulike_onActivities') == '1' && !is_admin()) {
254
- function wp_put_ulike_buddypress($content) {
255
- $content.= wp_ulike_buddypress('put');
256
- return $content;
257
- }
258
-
259
- add_filter('bp_get_activity_action', 'wp_put_ulike_buddypress',10,2);
260
  }
1
  <?php
2
+
3
+ /*******************************************************
4
+ Posts Likes Functions
5
+ *******************************************************/
6
 
7
+ //Shortcode function for the post likes
8
+ add_shortcode( 'wp_ulike', 'wp_ulike_shortcode' );
9
+ function wp_ulike_shortcode(){
10
+ return wp_ulike('put');
11
+ }
 
 
 
 
 
 
 
 
 
 
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');
23
+ }
24
+
25
+ //check the auto display filters
26
+ function wp_ulike_post_auto_display_filters(){
27
+ $filter = wp_ulike_get_setting( 'wp_ulike_posts', 'auto_display_filter');
28
+ if(is_home() && $filter['home'] == '1')
29
+ return 0;
30
+ else if(is_single() && $filter['single'] == '1')
31
+ return 0;
32
+ else if(is_page() && $filter['page'] == '1')
33
+ return 0;
34
+ else if(is_archive() && $filter['archive'] == '1')
35
+ return 0;
36
+ else if(is_category() && $filter['category'] == '1')
37
+ return 0;
38
+ else if( is_search() && $filter['search'] == '1')
39
+ return 0;
40
+ else if(is_tag() && $filter['tag'] == '1')
41
+ return 0;
42
+ else if(is_author() && $filter['author'] == '1')
43
+ return 0;
44
+ else
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'");
52
+ if ($like_status == "like")
53
+ return "like";
54
+ else
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
 
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;
72
  }
73
 
74
  return $users_list;
75
+ }
76
 
77
+ //get the post likes number
78
+ function wp_ulike_get_post_likes($postID){
79
+ $val = get_post_meta($postID, '_liked', true);
80
+ return wp_ulike_format_number($val);
81
  }
82
 
83
+
84
+
85
+ /*******************************************************
86
+ Comments Likes Functions
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');
97
+ }
98
+
99
+ //get user comment status (like or unlike)
100
+ function wp_ulike_get_user_comments_status($CommentID,$user_ID){
101
+ global $wpdb;
102
+ $like_status = $wpdb->get_var("SELECT status FROM ".$wpdb->prefix."ulike_comments WHERE comment_id = '$CommentID' AND user_id = '$user_ID'");
103
+ if ($like_status == "like")
104
+ return "like";
105
+ else
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
 
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;
123
  }
124
 
125
  return $users_list;
126
+ }
127
 
128
+
129
+
130
+ /*******************************************************
131
+ BuddyPress Likes Functions
132
+ *******************************************************/
133
+
134
+ //Insert ULike button to the activities
135
+ if (wp_ulike_get_setting( 'wp_ulike_buddypress', 'auto_display' ) == '1' && !is_admin()) {
136
+ function wp_ulike_put_buddypress($content) {
137
+ $content.= wp_ulike_buddypress('put');
138
+ return $content;
139
+ }
140
+
141
+ add_filter('bp_get_activity_action', 'wp_ulike_put_buddypress');
142
  }
143
 
144
+ //get users data and list their avatar
145
+ function wp_ulike_get_user_activities_data($activityID,$user_ID){
146
  global $wpdb;
147
  $users_list = '';
148
 
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;
158
  }
159
 
161
 
162
  }
163
 
164
+ //get user activity status (like or unlike)
165
+ function wp_ulike_get_user_activities_status($activityID,$user_ID){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  global $wpdb;
167
  $like_status = $wpdb->get_var("SELECT status FROM ".$wpdb->prefix."ulike_activities WHERE activity_id = '$activityID' AND user_id = '$user_ID'");
168
  if ($like_status == "like")
169
  return "like";
170
  else
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() {
177
  global $bp;
178
  bp_activity_set_action(
181
  __( 'WP ULike Activity', 'alimir' )
182
  );
183
  }
 
 
184
 
185
+ //add activity function
186
  function wp_ulike_bp_activity_add($user_ID,$cp_ID,$type){
187
+ if (function_exists('bp_is_active') && wp_ulike_get_setting( 'wp_ulike_buddypress', 'new_likes_activity' ) == '1') {
188
  if($type=='comment'){
189
  bp_activity_add( array(
190
  'user_id' => $user_ID,
208
  else{
209
  return '';
210
  }
211
+ }
212
+
213
 
214
+
215
+ /*******************************************************
216
+ General Functions
217
+ *******************************************************/
218
+
219
+ //get real IP
220
+ function wp_ulike_get_real_ip() {
221
+ if (getenv('HTTP_CLIENT_IP')) {
222
+ $ip = getenv('HTTP_CLIENT_IP');
223
+ } elseif (getenv('HTTP_X_FORWARDED_FOR')) {
224
+ $ip = getenv('HTTP_X_FORWARDED_FOR');
225
+ } elseif (getenv('HTTP_X_FORWARDED')) {
226
+ $ip = getenv('HTTP_X_FORWARDED');
227
+ } elseif (getenv('HTTP_FORWARDED_FOR')) {
228
+ $ip = getenv('HTTP_FORWARDED_FOR');
229
+ } elseif (getenv('HTTP_FORWARDED')) {
230
+ $ip = getenv('HTTP_FORWARDED');
231
+ } else {
232
+ $ip = $_SERVER['REMOTE_ADDR'];
233
+ }
234
+
235
+ return $ip;
236
+ }
237
+
238
+ //get custom style settings
239
+ function wp_ulike_get_custom_style(){
240
+ $btn_style = '';
241
+ $counter_style = '';
242
+ $customstyle = '';
243
+ $customloading = '';
244
+
245
+ //get custom icon
246
+ $customicon = wp_ulike_get_setting( 'wp_ulike_general', 'button_url' );
247
+ $iconurl = wp_get_attachment_url( $customicon );
248
+
249
+ if(wp_ulike_get_setting( 'wp_ulike_customize', 'custom_style') == '1'){
250
+
251
+ //get custom options
252
+ $customstyle = get_option( 'wp_ulike_customize' );
253
+
254
+ //button style
255
+ $btn_bg = $customstyle['btn_bg'];
256
+ $btn_border = $customstyle['btn_border'];
257
+ $btn_color = $customstyle['btn_color'];
258
+
259
+ //counter style
260
+ $counter_bg = $customstyle['counter_bg'];
261
+ $counter_border = $customstyle['counter_border'];
262
+ $counter_color = $customstyle['counter_color'];
263
+
264
+ //Loading animation
265
+ $customloading = $customstyle['loading_animation'];
266
+ $loadingurl = wp_get_attachment_url( $customloading );
267
+
268
+
269
+ if($btn_bg != ''){
270
+ $btn_style .= "background-color:$btn_bg !important; ";
271
+ }
272
+ if($btn_border != ''){
273
+ $btn_style .= "border-color:$btn_border !important; ";
274
+ }
275
+ if($btn_color != ''){
276
+ $btn_style .= "color:$btn_color !important;";
277
+ }
278
+
279
+ if($counter_bg != ''){
280
+ $counter_style .= "background-color:$counter_bg !important; ";
281
+ }
282
+ if($counter_border != ''){
283
+ $counter_style .= "border-color:$counter_border !important; ";
284
+ }
285
+ if($counter_color != ''){
286
+ $counter_style .= "color:$counter_color !important;";
287
+ }
288
+
289
+ }
290
+
291
+ if($customicon != '' || $customstyle != ''){
292
+
293
+ echo "<style>";
294
+
295
+ if($customicon != ''){
296
+ echo '
297
+ .wpulike .counter a.image {
298
+ background-image: url('.$iconurl.') !important;
299
+ }
300
+ ';
301
+ }
302
+
303
+ if($customloading != ''){
304
+ echo '
305
+ .wpulike .counter a.loading {
306
+ background-image: url('.$loadingurl.') !important;
307
+ }
308
+ ';
309
+ }
310
+
311
+ if($btn_style != ''){
312
+ echo "
313
+ .wpulike .counter a{
314
+ $btn_style
315
+ }";
316
+ }
317
+
318
+ if($counter_style != ''){
319
+ echo"
320
+ .wpulike .count-box,.wpulike .count-box:before{
321
+ $counter_style
322
+ }";
323
+ }
324
+
325
+ echo "</style>";
326
+ }
327
  }
 
 
328
 
329
  //Convert numbers of Likes with string (kilobyte) format.
330
  function wp_ulike_format_number($num){
331
  $plus = '+';
332
+ if ($num >= 1000 && wp_ulike_get_setting( 'wp_ulike_general', 'format_number' ) == '1')
333
  $value = round($num/1000, 2) . 'K' . $plus;
334
  else
335
  $value = $num . $plus;
336
  $value = apply_filters( 'wp_ulike_format_number', $value, $num, $plus);
337
  return $value;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
338
  }
inc/wp-logs.php DELETED
@@ -1,338 +0,0 @@
1
- <?php
2
- //include pagination class
3
- include( plugin_dir_path(dirname(__FILE__)) . 'class/pagination.class.php');
4
-
5
- function wp_ulike_post_likes_logs(){
6
- global $wpdb;
7
- $alternate = true;
8
- $items = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike");
9
- if($items > 0) {
10
- $p = new pagination;
11
- $p->items($items);
12
- $p->limit(20); // Limit entries per page
13
- $p->target("admin.php?page=" . plugin_basename( dirname(__FILE__) ) . '/wp-options.php/post_logs');
14
- $p->calculate(); // Calculates what to show
15
- $p->parameterName('page_number');
16
- $p->adjacents(1); //No. of page away from the current page
17
-
18
- if(!isset($_GET['page_number'])) {
19
- $p->page = 1;
20
- } else {
21
- $p->page = $_GET['page_number'];
22
- }
23
-
24
- //Query for limit page_number
25
- $limit = "LIMIT " . ($p->page - 1) * $p->limit . ", " . $p->limit;
26
-
27
- $get_ulike_logs = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix."ulike ORDER BY id ASC ".$limit."");
28
- $count_total_like = $wpdb->get_var("SELECT SUM(meta_value) FROM ".$wpdb->prefix."postmeta WHERE meta_key LIKE '_liked'" );
29
- $count_total_post = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."postmeta WHERE meta_key LIKE '_liked'" );
30
- ?>
31
- <div class="wrap">
32
- <h2><?php _e('WP ULike Logs', 'alimir'); ?></h2>
33
- <h3><?php _e('Post Likes Logs', 'alimir'); ?></h3>
34
- <div class="tablenav">
35
- <div class='tablenav-pages'>
36
- <?php echo $p->show(); // Echo out the list of paging. ?>
37
- </div>
38
- </div>
39
- <table class="widefat">
40
- <thead>
41
- <tr>
42
- <th width="2%"><?php _e('ID', 'alimir'); ?></th>
43
- <th width="15%"><?php _e('Username', 'alimir'); ?></th>
44
- <th width="10%"><?php _e('Status', 'alimir'); ?></th>
45
- <th width="8%"><?php _e('Post ID', 'alimir'); ?></th>
46
- <th width="35%"><?php _e('Post Title', 'alimir'); ?></th>
47
- <th width="15%"><?php _e('Date / Time', 'alimir'); ?></th>
48
- <th width="15%"><?php _e('IP', 'alimir'); ?></th>
49
- </tr>
50
- </thead>
51
- <tbody>
52
- <?php
53
- foreach ( $get_ulike_logs as $get_ulike_log )
54
- {
55
- ?>
56
- <tr <?php if ($alternate == true) echo 'class="alternate"';?>>
57
- <td>
58
- <?php echo $get_ulike_log->id; ?>
59
- </td>
60
- <td>
61
- <?php
62
- $user_info = get_userdata($get_ulike_log->user_id);
63
- echo $user_info->display_name;
64
- ?>
65
- </td>
66
- <td>
67
- <?php echo $get_ulike_log->status; ?>
68
- </td>
69
- <td>
70
- <?php echo $get_ulike_log->post_id; ?>
71
- </td>
72
- <td>
73
- <?php echo get_the_title($get_ulike_log->post_id); ?>
74
- </td>
75
- <td>
76
- <?php echo $get_ulike_log->date_time; ?>
77
- </td>
78
- <td>
79
- <?php echo $get_ulike_log->ip; ?>
80
- </td>
81
- <?php
82
- $alternate = !$alternate;
83
- }
84
- ?>
85
- </tr>
86
- </tbody>
87
- </table>
88
- <div class="tablenav">
89
- <div class='tablenav-pages'>
90
- <?php echo $p->show(); // Echo out the list of paging. ?>
91
- </div>
92
- </div>
93
- </div>
94
- <div class="wrap">
95
- <h3><?php _e('Post Likes Logs Stats', 'alimir'); ?></h3>
96
- <br style="clear" />
97
- <table class="widefat">
98
- <tr class="alternate">
99
- <th><?php _e('Total Users Liked:', 'alimir'); ?></th>
100
- <td><?php echo $items; ?></td>
101
- </tr>
102
- <tr>
103
- <th><?php _e('Total Posts Liked:', 'alimir'); ?></th>
104
- <td><?php echo $count_total_post; ?></td>
105
- </tr>
106
- <tr class="alternate">
107
- <th><?php _e('Total Likes Sum:', 'alimir'); ?></th>
108
- <td><?php echo $count_total_like; ?></td>
109
- </tr>
110
- </table>
111
- </div>
112
- <?php
113
- } else {
114
- echo "No Record Found";
115
- }
116
- }
117
-
118
- function wp_ulike_comment_likes_logs(){
119
- global $wpdb;
120
- $alternate = true;
121
- $items = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_comments");
122
- if($items > 0) {
123
- $p = new pagination;
124
- $p->items($items);
125
- $p->limit(20); // Limit entries per page
126
- $p->target("admin.php?page=" . plugin_basename( dirname(__FILE__) ) . '/wp-options.php/comment_logs');
127
- $p->calculate(); // Calculates what to show
128
- $p->parameterName('page_number');
129
- $p->adjacents(1); //No. of page away from the current page
130
-
131
- if(!isset($_GET['page_number'])) {
132
- $p->page = 1;
133
- } else {
134
- $p->page = $_GET['page_number'];
135
- }
136
-
137
- //Query for limit page_number
138
- $limit = "LIMIT " . ($p->page - 1) * $p->limit . ", " . $p->limit;
139
-
140
- $get_ulike_logs = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix."ulike_comments ORDER BY id ASC ".$limit."");
141
- $count_total_like = $wpdb->get_var("SELECT SUM(meta_value) FROM ".$wpdb->prefix."commentmeta WHERE meta_key LIKE '_commentliked'" );
142
- $count_total_comments = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."commentmeta WHERE meta_key LIKE '_commentliked'" );
143
- ?>
144
- <div class="wrap">
145
- <h2><?php _e('WP ULike Logs', 'alimir'); ?></h2>
146
- <h3><?php _e('Comment Likes Logs', 'alimir'); ?></h3>
147
- <div class="tablenav">
148
- <div class='tablenav-pages'>
149
- <?php echo $p->show(); // Echo out the list of paging. ?>
150
- </div>
151
- </div>
152
- <table class="widefat">
153
- <thead>
154
- <tr>
155
- <th width="2%"><?php _e('ID', 'alimir'); ?></th>
156
- <th width="15%"><?php _e('Username', 'alimir'); ?></th>
157
- <th width="10%"><?php _e('Status', 'alimir'); ?></th>
158
- <th width="8%"><?php _e('Comment ID', 'alimir'); ?></th>
159
- <th width="15%"><?php _e('Comment Author', 'alimir'); ?></th>
160
- <th width="15%"><?php _e('Date / Time', 'alimir'); ?></th>
161
- <th width="15%"><?php _e('IP', 'alimir'); ?></th>
162
- </tr>
163
- </thead>
164
- <tbody>
165
- <?php
166
- foreach ( $get_ulike_logs as $get_ulike_log )
167
- {
168
- ?>
169
- <tr <?php if ($alternate == true) echo 'class="alternate"';?>>
170
- <td>
171
- <?php echo $get_ulike_log->id; ?>
172
- </td>
173
- <td>
174
- <?php
175
- $user_info = get_userdata($get_ulike_log->user_id);
176
- echo $user_info->display_name;
177
- ?>
178
- </td>
179
- <td>
180
- <?php echo $get_ulike_log->status; ?>
181
- </td>
182
- <td>
183
- <?php echo $get_ulike_log->comment_id; ?>
184
- </td>
185
- <td>
186
- <?php echo get_comment_author($get_ulike_log->comment_id) ?>
187
- </td>
188
- <td>
189
- <?php echo $get_ulike_log->date_time; ?>
190
- </td>
191
- <td>
192
- <?php echo $get_ulike_log->ip; ?>
193
- </td>
194
- <?php
195
- $alternate = !$alternate;
196
- }
197
- ?>
198
- </tr>
199
- </tbody>
200
- </table>
201
- <div class="tablenav">
202
- <div class='tablenav-pages'>
203
- <?php echo $p->show(); // Echo out the list of paging. ?>
204
- </div>
205
- </div>
206
- </div>
207
- <div class="wrap">
208
- <h3><?php _e('Comment Likes Logs Stats', 'alimir'); ?></h3>
209
- <br style="clear" />
210
- <table class="widefat">
211
- <tr class="alternate">
212
- <th><?php _e('Total Users Liked:', 'alimir'); ?></th>
213
- <td><?php echo $items; ?></td>
214
- </tr>
215
- <tr>
216
- <th><?php _e('Total Comments Liked:', 'alimir'); ?></th>
217
- <td><?php echo $count_total_comments; ?></td>
218
- </tr>
219
- <tr class="alternate">
220
- <th><?php _e('Total Likes Sum:', 'alimir'); ?></th>
221
- <td><?php echo $count_total_like; ?></td>
222
- </tr>
223
- </table>
224
- </div>
225
- <?php
226
- } else {
227
- echo "No Record Found";
228
- }
229
- }
230
-
231
- function wp_ulike_buddypress_likes_logs(){
232
- global $wpdb;
233
- $alternate = true;
234
- $items = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_activities");
235
- if($items > 0) {
236
- $p = new pagination;
237
- $p->items($items);
238
- $p->limit(20); // Limit entries per page
239
- $p->target("admin.php?page=" . plugin_basename( dirname(__FILE__) ) . '/wp-options.php/bp_logs');
240
- $p->calculate(); // Calculates what to show
241
- $p->parameterName('page_number');
242
- $p->adjacents(1); //No. of page away from the current page
243
-
244
- if(!isset($_GET['page_number'])) {
245
- $p->page = 1;
246
- } else {
247
- $p->page = $_GET['page_number'];
248
- }
249
-
250
- //Query for limit page_number
251
- $limit = "LIMIT " . ($p->page - 1) * $p->limit . ", " . $p->limit;
252
-
253
- $get_ulike_logs = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix."ulike_activities ORDER BY id ASC ".$limit."");
254
- $count_total_like = $wpdb->get_var("SELECT SUM(meta_value) FROM ".$wpdb->prefix."bp_activity_meta WHERE meta_key LIKE '_activityliked'" );
255
- $count_total_activity = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."bp_activity_meta WHERE meta_key LIKE '_activityliked'" );
256
- ?>
257
- <div class="wrap">
258
- <h2><?php _e('WP ULike Logs', 'alimir'); ?></h2>
259
- <h3><?php _e('Activity Likes Logs', 'alimir'); ?></h3>
260
- <div class="tablenav">
261
- <div class='tablenav-pages'>
262
- <?php echo $p->show(); // Echo out the list of paging. ?>
263
- </div>
264
- </div>
265
- <table class="widefat">
266
- <thead>
267
- <tr>
268
- <th><?php _e('ID', 'alimir'); ?></th>
269
- <th><?php _e('Username', 'alimir'); ?></th>
270
- <th><?php _e('Status', 'alimir'); ?></th>
271
- <th><?php _e('Activity ID', 'alimir'); ?></th>
272
- <th><?php _e('Date / Time', 'alimir'); ?></th>
273
- <th><?php _e('IP', 'alimir'); ?></th>
274
- </tr>
275
- </thead>
276
- <tbody>
277
- <?php
278
- foreach ( $get_ulike_logs as $get_ulike_log )
279
- {
280
- ?>
281
- <tr <?php if ($alternate == true) echo 'class="alternate"';?>>
282
- <td>
283
- <?php echo $get_ulike_log->id; ?>
284
- </td>
285
- <td>
286
- <?php
287
- $user_info = get_userdata($get_ulike_log->user_id);
288
- echo $user_info->display_name;
289
- ?>
290
- </td>
291
- <td>
292
- <?php echo $get_ulike_log->status; ?>
293
- </td>
294
- <td>
295
- <?php echo $get_ulike_log->activity_id; ?>
296
- </td>
297
- <td>
298
- <?php echo $get_ulike_log->date_time; ?>
299
- </td>
300
- <td>
301
- <?php echo $get_ulike_log->ip; ?>
302
- </td>
303
- <?php
304
- $alternate = !$alternate;
305
- }
306
- ?>
307
- </tr>
308
- </tbody>
309
- </table>
310
- <div class="tablenav">
311
- <div class='tablenav-pages'>
312
- <?php echo $p->show(); // Echo out the list of paging. ?>
313
- </div>
314
- </div>
315
- </div>
316
- <div class="wrap">
317
- <h3><?php _e('Activity Likes Logs Stats', 'alimir'); ?></h3>
318
- <br style="clear" />
319
- <table class="widefat">
320
- <tr class="alternate">
321
- <th><?php _e('Total Users Liked:', 'alimir'); ?></th>
322
- <td><?php echo $items; ?></td>
323
- </tr>
324
- <tr>
325
- <th><?php _e('Total Activities Liked:', 'alimir'); ?></th>
326
- <td><?php echo $count_total_activity; ?></td>
327
- </tr>
328
- <tr class="alternate">
329
- <th><?php _e('Total Likes Sum:', 'alimir'); ?></th>
330
- <td><?php echo $count_total_like; ?></td>
331
- </tr>
332
- </table>
333
- </div>
334
- <?php
335
- } else {
336
- echo "No Record Found";
337
- }
338
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/wp-options.php DELETED
@@ -1,210 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if ( ! defined( 'ABSPATH' ) ) exit;
4
-
5
- //include logs menu files
6
- include( plugin_dir_path(__FILE__) . 'wp-logs.php');
7
-
8
- function wp_ulike_adminMenu() {
9
- add_menu_page(__( 'WP ULike', 'alimir' ), __( 'WP ULike', 'alimir' ), 'manage_options', __FILE__, 'wp_ulike_settings_page', 'dashicons-smiley');
10
- add_submenu_page(__FILE__, __( 'Post Likes Logs', 'alimir' ), __( 'Post Likes Logs', 'alimir' ), 'manage_options', __FILE__ . '/post_logs', 'wp_ulike_post_likes_logs');
11
- add_submenu_page(__FILE__, __( 'Comment Likes Logs', 'alimir' ), __( 'Comment Likes Logs', 'alimir' ), 'manage_options', __FILE__ . '/comment_logs', 'wp_ulike_comment_likes_logs');
12
- add_submenu_page(__FILE__, __( 'Activity Likes Logs', 'alimir' ), __( 'Activity Likes Logs', 'alimir' ), 'manage_options', __FILE__ . '/bp_logs', 'wp_ulike_buddypress_likes_logs');
13
- add_submenu_page(__FILE__, __( 'About WP ULike', 'alimir' ), __( 'About WP ULike', 'alimir' ), 'manage_options', __FILE__ . '/wp_ulike_about', 'wp_ulike_about_page');
14
- add_action('admin_init', 'wp_ulike_register_mysettings');
15
-
16
- }
17
- add_action('admin_menu', 'wp_ulike_adminMenu');
18
-
19
- function wp_ulike_about_page() {
20
- include( plugin_dir_path(__FILE__) . 'about-page.php');
21
- }
22
-
23
- function wp_ulike_register_mysettings() { // whitelist options
24
- register_setting( 'wp_ulike_options', 'wp_ulike_onPage' );
25
- register_setting( 'wp_ulike_options', 'wp_ulike_onComments' );
26
- register_setting( 'wp_ulike_options', 'wp_ulike_onActivities' );
27
- register_setting( 'wp_ulike_options', 'wp_ulike_textOrImage' );
28
- register_setting( 'wp_ulike_options', 'wp_ulike_text' );
29
- register_setting( 'wp_ulike_options', 'wp_ulike_btn_text' );
30
- register_setting( 'wp_ulike_options', 'wp_ulike_dislike_text' );
31
- register_setting( 'wp_ulike_options', 'wp_ulike_onlyRegistered' );
32
- register_setting( 'wp_ulike_options', 'wp_ulike_bp_activity_add' );
33
- register_setting( 'wp_ulike_options', 'wp_ulike_user_like_box' );
34
- register_setting( 'wp_ulike_options', 'wp_ulike_format_number' );
35
- register_setting( 'wp_ulike_options', 'wp_ulike_style' );
36
- register_setting( 'wp_ulike_options', 'wp_ulike_btn_bg' );
37
- register_setting( 'wp_ulike_options', 'wp_ulike_btn_border' );
38
- register_setting( 'wp_ulike_options', 'wp_ulike_btn_color' );
39
- register_setting( 'wp_ulike_options', 'wp_ulike_counter_bg' );
40
- register_setting( 'wp_ulike_options', 'wp_ulike_counter_border' );
41
- register_setting( 'wp_ulike_options', 'wp_ulike_counter_color' );
42
- }
43
-
44
-
45
- function wp_ulike_settings_page() {
46
- ?>
47
- <div class="wrap">
48
-
49
- <h3><?php _e('Configuration','alimir'); ?></h3>
50
- <?php if( isset($_GET['settings-updated']) ) { ?>
51
- <div id="message" class="updated">
52
- <p><strong><?php _e('Settings saved.') ?></strong></p>
53
- </div>
54
- <?php } ?>
55
- <form method="post" action="options.php">
56
- <?php settings_fields('wp_ulike_options'); ?>
57
- <table class="form-table">
58
- <tr>
59
- <th scope="row"><?php _e('Image or text?', 'alimir'); ?></th>
60
- <td>
61
- <label>
62
- <input name="wp_ulike_textOrImage" type="radio" value="image" <?php checked('image', get_option( 'wp_ulike_textOrImage' ) ); ?> /><img src="<?php echo plugins_url('assets/css/add.png', dirname(__FILE__)); ?>" alt="image">
63
- </label>
64
- <br />
65
- <label>
66
- <input name="wp_ulike_textOrImage" type="radio" value="text" <?php checked('text', get_option( 'wp_ulike_textOrImage' ) ); ?> />
67
- </label>
68
- <label>
69
- <input type="text" name="wp_ulike_text" id="wp_ulike_text" value="<?php echo get_option('wp_ulike_text'); ?>" />
70
- </label>
71
- </td>
72
- </tr>
73
- <tr>
74
- <th scope="row"><?php _e('Like Text', 'alimir'); ?></th>
75
- <td>
76
- <label for="wp_ulike_btn_text">
77
- <input type="text" name="wp_ulike_btn_text" id="wp_ulike_btn_text" value="<?php echo get_option('wp_ulike_btn_text'); ?>" />
78
- </label>
79
- </td>
80
- </tr>
81
- <tr>
82
- <th scope="row"><?php _e('Dislike Text?', 'alimir'); ?></th>
83
- <td>
84
- <label for="wp_ulike_dislike_text">
85
- <input type="text" name="wp_ulike_dislike_text" id="wp_ulike_dislike_text" value="<?php echo get_option('wp_ulike_dislike_text'); ?>" />
86
- </label>
87
- </td>
88
- </tr>
89
- <tr>
90
- <th scope="row"><?php _e('Automatic display', 'alimir'); ?></th>
91
- <td>
92
- <label for="wp_ulike_onPage">
93
- <input name="wp_ulike_onPage" id="wp_ulike_onPage" type="checkbox" value="1" <?php checked( '1', get_option( 'wp_ulike_onPage' ) ); ?> />
94
- <?php _e('<strong>On all posts</strong> (home, archives, search) at the bottom of the post', 'alimir'); ?>
95
- </label>
96
- <p class="description"><?php _e('If you disable this option, you have to put manually the code', 'alimir'); ?><code dir="ltr">&lt;?php if(function_exists('wp_ulike')) wp_ulike('get'); ?&gt;</code> <?php _e('wherever you want in your template.', 'alimir'); ?></p>
97
- </td>
98
- </tr>
99
- <tr>
100
- <th scope="row"><?php _e('Comment likes', 'alimir'); ?></th>
101
- <td>
102
- <label for="wp_ulike_onComments">
103
- <input name="wp_ulike_onComments" id="wp_ulike_onComments" type="checkbox" value="1" <?php checked( '1', get_option( 'wp_ulike_onComments' ) ); ?> />
104
- <?php _e('<strong>On all comments</strong> at the bottom of the comment', 'alimir'); ?>
105
- </label>
106
- <p class="description"><?php _e('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></p>
107
- </td>
108
- </tr>
109
- <tr>
110
- <th scope="row"><?php _e('Activity likes', 'alimir'); ?></th>
111
- <td>
112
- <label for="wp_ulike_onActivities">
113
- <input name="wp_ulike_onActivities" id="wp_ulike_onActivities" type="checkbox" value="1" <?php checked( '1', get_option( 'wp_ulike_onActivities' ) ); ?> />
114
- <?php _e('<strong>On all buddypress activities</strong> at the top of activity', 'alimir'); ?>
115
- </label>
116
- <p class="description"><?php _e('If you disable this option, you have to put manually this code on buddypres activities content', 'alimir'); ?><code dir="ltr">&lt;?php if(function_exists('wp_ulike_buddypress')) wp_ulike_buddypress('get'); ?&gt;</code></p>
117
- </td>
118
- </tr>
119
- <tr>
120
- <th scope="row"><?php _e('Only registered Users', 'alimir'); ?></th>
121
- <td>
122
- <label for="wp_ulike_onlyRegistered">
123
- <input name="wp_ulike_onlyRegistered" id="wp_ulike_onlyRegistered" type="checkbox" value="1" <?php checked( '1', get_option( 'wp_ulike_onlyRegistered' ) ); ?> />
124
- <?php _e('Activate', 'alimir'); ?>
125
- </label>
126
- <p class="description"><?php _e('<strong>Only</strong> registered users have permission to like posts.', 'alimir'); ?></p>
127
- </td>
128
- </tr>
129
- <tr>
130
- <th scope="row"><?php _e('BuddyPress Activity', 'alimir'); ?></th>
131
- <td>
132
- <label for="wp_ulike_bp_activity_add">
133
- <input name="wp_ulike_bp_activity_add" id="wp_ulike_bp_activity_add" type="checkbox" value="1" <?php checked( '1', get_option( 'wp_ulike_bp_activity_add' ) ); ?> />
134
- <?php _e('Activate', 'alimir'); ?>
135
- </label>
136
- <p class="description"><?php _e('insert new likes in buddyPress activity page', 'alimir'); ?></p>
137
- </td>
138
- </tr>
139
- <tr>
140
- <th scope="row"><?php _e('Show Users Like Box', 'alimir'); ?></th>
141
- <td>
142
- <label for="wp_ulike_user_like_box">
143
- <input name="wp_ulike_user_like_box" id="wp_ulike_user_like_box" type="checkbox" value="1" <?php checked( '1', get_option( 'wp_ulike_user_like_box' ) ); ?> />
144
- <?php _e('Activate', 'alimir'); ?>
145
- </label>
146
- <p class="description"><?php _e('Active this option to show users avatar in like box.', 'alimir'); ?></p>
147
- </td>
148
- </tr>
149
- <tr>
150
- <th scope="row"><?php _e('Format Number', 'alimir'); ?></th>
151
- <td>
152
- <label for="wp_ulike_format_number">
153
- <input name="wp_ulike_format_number" id="wp_ulike_format_number" type="checkbox" value="1" <?php checked( '1', get_option( 'wp_ulike_format_number' ) ); ?> />
154
- <?php _e('Activate', 'alimir'); ?>
155
- </label>
156
- <p class="description"><?php _e('Convert numbers of Likes with string (kilobyte) format.', 'alimir'); ?><strong> (if -> likes>=1000)</strong></p>
157
- </td>
158
- </tr>
159
- <tr>
160
- <th scope="row"><?php _e('Custom Style', 'alimir'); ?></th>
161
- <td>
162
- <label for="wp_ulike_style">
163
- <input name="wp_ulike_style" id="wp_ulike_style" type="checkbox" value="1" <?php checked( '1', get_option( 'wp_ulike_style' ) ); ?> />
164
- <?php _e('Activate', 'alimir'); ?>
165
- </label>
166
- <p class="description"><?php _e('Active this option to see custom color settings.', 'alimir'); ?></p>
167
- </td>
168
- </tr>
169
- <tr class="checktoshow">
170
- <th scope="row"><?php _e('Button style', 'alimir'); ?></th>
171
- <td>
172
- <label for="wp_ulike_btn_bg">
173
- <input type="text" class="my-color-field" id="wp_ulike_btn_bg" name="wp_ulike_btn_bg" value="<?php echo get_option('wp_ulike_btn_bg'); ?>" />
174
- </label>
175
- <p class="description"><?php _e('Background', 'alimir'); ?></p><br />
176
- <label for="wp_ulike_btn_border">
177
- <input type="text" class="my-color-field" id="wp_ulike_btn_border" name="wp_ulike_btn_border" value="<?php echo get_option('wp_ulike_btn_border'); ?>" />
178
- </label>
179
- <p class="description"><?php _e('Border Color', 'alimir'); ?></p><br />
180
- <label for="wp_ulike_btn_color">
181
- <input type="text" class="my-color-field" id="wp_ulike_btn_color" name="wp_ulike_btn_color" value="<?php echo get_option('wp_ulike_btn_color'); ?>" />
182
- </label>
183
- <p class="description"><?php _e('Text Color', 'alimir'); ?></p>
184
- </td>
185
- </tr>
186
- <tr class="checktoshow">
187
- <th scope="row"><?php _e('Counter Style', 'alimir'); ?></th>
188
- <td>
189
- <label for="wp_ulike_counter_bg">
190
- <input type="text" class="my-color-field" id="wp_ulike_counter_bg" name="wp_ulike_counter_bg" value="<?php echo get_option('wp_ulike_counter_bg'); ?>" />
191
- </label>
192
- <p class="description"><?php _e('Background', 'alimir'); ?></p><br />
193
- <label for="wp_ulike_counter_border">
194
- <input type="text" class="my-color-field" id="wp_ulike_counter_border" name="wp_ulike_counter_border" value="<?php echo get_option('wp_ulike_counter_border'); ?>" />
195
- </label>
196
- <p class="description"><?php _e('Border Color', 'alimir'); ?></p><br />
197
- <label for="wp_ulike_counter_color">
198
- <input type="text" class="my-color-field" id="wp_ulike_counter_color" name="wp_ulike_counter_color" value="<?php echo get_option('wp_ulike_counter_color'); ?>" />
199
- </label>
200
- <p class="description"><?php _e('Text Color', 'alimir'); ?></p>
201
- </td>
202
- </tr>
203
- </table>
204
- <?php do_settings_sections( 'wp_ulike_options' ); ?>
205
- <?php submit_button(); ?>
206
- </form>
207
-
208
- </div>
209
- <?php
210
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/wp-script.php CHANGED
@@ -1,13 +1,15 @@
1
- <?php
2
- //Scripts
3
- function enqueueScripts() {
 
 
4
  wp_enqueue_script( 'jquery' );
5
  wp_enqueue_script('wp_ulike', plugins_url('assets/js/wp-ulike.js', dirname(__FILE__)), array('jquery'));
6
 
7
  wp_localize_script( 'wp_ulike', 'ulike_obj', array(
8
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
9
- 'likeText' => get_option('wp_ulike_btn_text'),
10
- 'disLikeText' => get_option('wp_ulike_dislike_text')
11
  ));
12
  add_action('wp_ajax_ulikeprocess','wp_ulike_process');
13
  add_action('wp_ajax_nopriv_ulikeprocess', 'wp_ulike_process');
@@ -17,7 +19,9 @@ function enqueueScripts() {
17
  add_action('wp_ajax_nopriv_ulikebuddypressprocess', 'wp_ulike_buddypress_process');
18
  }
19
 
20
- function enqueueStyle() {
 
 
21
 
22
  //Plugin default style for RTL & LTR languages.
23
  if(!is_rtl())
@@ -26,17 +30,5 @@ function enqueueStyle() {
26
  wp_enqueue_style( 'wp-ulike', plugins_url('assets/css/wp-ulike-rtl.css', dirname(__FILE__)) );
27
 
28
  //add your custom style from setting panel.
29
- if(get_option('wp_ulike_style') == 1)
30
- get_user_style();
31
- }
32
-
33
- function enqueueAdmin(){
34
- //Add Wordpress color picker style.
35
- wp_enqueue_style( 'wp-color-picker' );
36
- //Admin js file.
37
- wp_enqueue_script( 'wp-ulike-admin', plugins_url('assets/js/wp-admin.js', dirname(__FILE__)), array( 'wp-color-picker' ), false, true );
38
- }
39
-
40
- add_action('admin_enqueue_scripts', 'enqueueAdmin' );
41
- add_action('init', 'enqueueScripts');
42
- add_action('wp_print_styles', 'enqueueStyle');
1
+ <?php
2
+
3
+ //JS
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');
19
  add_action('wp_ajax_nopriv_ulikebuddypressprocess', 'wp_ulike_buddypress_process');
20
  }
21
 
22
+ //CSS
23
+ add_action('wp_print_styles', 'wp_ulike_enqueue_style');
24
+ function wp_ulike_enqueue_style() {
25
 
26
  //Plugin default style for RTL & LTR languages.
27
  if(!is_rtl())
30
  wp_enqueue_style( 'wp-ulike', plugins_url('assets/css/wp-ulike-rtl.css', dirname(__FILE__)) );
31
 
32
  //add your custom style from setting panel.
33
+ wp_ulike_get_custom_style();
34
+ }
 
 
 
 
 
 
 
 
 
 
 
 
inc/wp-strings.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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'),
9
+ "7" => __('Users Login Text', 'alimir'),
10
+ "8" => __('Allow To Like', 'alimir'),
11
+ "9" => __('Guests Only', 'alimir'),
12
+ "10" => __('Registered Users Only', 'alimir'),
13
+ "11" => __('Registered Users And Guests', 'alimir'),
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'),
35
+ "33" => __('Right', 'alimir'),
36
+ "35" => __('Cookie Life time', 'alimir'),
37
+ "36" => __('BuddyPress Notifications', 'alimir')
38
+ );
inc/wp-ulike-buddypress.php CHANGED
@@ -8,46 +8,46 @@
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 ( (get_option('wp_ulike_onlyRegistered') != '1') or (get_option('wp_ulike_onlyRegistered') == '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 (get_option('wp_ulike_textOrImage') == 'image') {
18
  $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
19
  }
20
  else {
21
- $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="text">'.get_option('wp_ulike_text').'</a><span class="count-box">'.$liked.'</span>';
22
  }
23
  }
24
  else if($user_status != 0){
25
- if(get_user_activities_status($activityID,$user_ID) == "like"){
26
- $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 1);" class="text">'.get_option('wp_ulike_btn_text').'</a><span class="count-box">'.$liked.'</span>';
27
  }
28
- else if(get_user_activities_status($activityID,$user_ID) == "dislike"){
29
- $counter = '<a onclick="likeThisActivity('.$activityID.', 1, 0);" class="text">'.get_option('wp_ulike_dislike_text').'</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="'.__('Already Voted','alimir').'">'.get_option('wp_ulike_btn_text').'</a><span class="count-box">'.$liked.'</span>';
35
  }
36
  }
37
  else{
38
  if(!isset($_COOKIE['activity-liked-'.$activityID])){
39
 
40
- if (get_option('wp_ulike_textOrImage') == '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">'.get_option('wp_ulike_text').'</a><span class="count-box">'.$liked.'</span>';
45
  }
46
 
47
  }
48
  else{
49
 
50
- $counter = '<a class="text user-tooltip" title="'.__('Already Voted','alimir').'">'.get_option('wp_ulike_btn_text').'</a><span class="count-box">'.$liked.'</span>';
51
 
52
  }
53
  }
@@ -56,9 +56,9 @@
56
  $wp_ulike .= '<div class="counter">'.$counter.'</div>';
57
  $wp_ulike .= '</div>';
58
 
59
- $user_data = get_user_activities_data($activityID,$user_ID);
60
- if(get_option('wp_ulike_user_like_box') == '1' && $user_data != '')
61
- $wp_ulike .= '<p style="margin-top:5px">'.__('Users who have liked this activity:','alimir').'</p><ul id="tiles">' . $user_data . '</ul>';
62
 
63
  if ($arg == 'put') {
64
  return $wp_ulike;
@@ -69,7 +69,7 @@
69
 
70
  }
71
 
72
- else if (get_option('wp_ulike_onlyRegistered') == '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
 
@@ -99,13 +99,13 @@
99
  echo wp_ulike_format_number($newLike);
100
  }
101
  else if ($user_status != 0) {
102
- if(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 = 'dislike'
109
  WHERE activity_id = '$activityID' AND user_id = '$user_ID'
110
  ");
111
 
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
  }
20
  else {
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
  }
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;
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
 
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
 
inc/wp-ulike-comments.php CHANGED
@@ -8,46 +8,46 @@
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 ( (get_option('wp_ulike_onlyRegistered') != '1') or (get_option('wp_ulike_onlyRegistered') == '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 (get_option('wp_ulike_textOrImage') == 'image') {
18
  $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
19
  }
20
  else {
21
- $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="text">'.get_option('wp_ulike_text').'</a><span class="count-box">'.$liked.'</span>';
22
  }
23
  }
24
  else if($user_status != 0){
25
- if(get_user_comments_status($CommentID,$user_ID) == "like"){
26
- $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 1);" class="text">'.get_option('wp_ulike_btn_text').'</a><span class="count-box">'.$liked.'</span>';
27
  }
28
- else if(get_user_comments_status($CommentID,$user_ID) == "dislike"){
29
- $counter = '<a onclick="likeThisComment('.$CommentID.', 1, 0);" class="text">'.get_option('wp_ulike_dislike_text').'</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="'.__('Already Voted','alimir').'">'.get_option('wp_ulike_btn_text').'</a><span class="count-box">'.$liked.'</span>';
35
  }
36
  }
37
  else{
38
  if(!isset($_COOKIE['comment-liked-'.$CommentID])){
39
 
40
- if (get_option('wp_ulike_textOrImage') == '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">'.get_option('wp_ulike_text').'</a><span class="count-box">'.$liked.'</span>';
45
  }
46
 
47
  }
48
  else{
49
 
50
- $counter = '<a class="text user-tooltip" title="'.__('Already Voted','alimir').'">'.get_option('wp_ulike_btn_text').'</a><span class="count-box">'.$liked.'</span>';
51
 
52
  }
53
  }
@@ -56,9 +56,9 @@
56
  $wp_ulike .= '<div class="counter">'.$counter.'</div>';
57
  $wp_ulike .= '</div>';
58
 
59
- $user_data = get_user_comments_data($CommentID,$user_ID);
60
- if(get_option('wp_ulike_user_like_box') == '1' && $user_data != '')
61
- $wp_ulike .= '<p style="margin-top:5px">'.__('Users who have LIKED this comment:','alimir').'</p><ul id="tiles">' . $user_data . '</ul>';
62
 
63
  if ($arg == 'put') {
64
  return $wp_ulike;
@@ -69,7 +69,7 @@
69
 
70
  }
71
 
72
- else if (get_option('wp_ulike_onlyRegistered') == '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
 
@@ -99,13 +99,13 @@
99
  echo wp_ulike_format_number($newLike);
100
  }
101
  else if ($user_status != 0) {
102
- if(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 = 'dislike'
109
  WHERE comment_id = '$CommentID' AND user_id = '$user_ID'
110
  ");
111
 
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
  }
20
  else {
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
  }
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;
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
 
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
 
inc/wp-ulike-posts.php CHANGED
@@ -8,47 +8,47 @@
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 ( (get_option('wp_ulike_onlyRegistered') != '1') or (get_option('wp_ulike_onlyRegistered') == '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 (get_option('wp_ulike_textOrImage') == 'image') {
19
  $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="image"></a><span class="count-box">'.$liked.'</span>';
20
  }
21
  else {
22
- $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="text">'.get_option('wp_ulike_text').'</a><span class="count-box">'.$liked.'</span>';
23
  }
24
  }
25
  else if($user_status != 0){
26
- if(get_user_status($post_ID,$user_ID) == "like"){
27
- $counter = '<a onclick="likeThis('.$post_ID.', 1, 1);" class="text">'.get_option('wp_ulike_btn_text').'</a><span class="count-box">'.$liked.'</span>';
28
  }
29
- else if(get_user_status($post_ID,$user_ID) == "dislike"){
30
- $counter = '<a onclick="likeThis('.$post_ID.', 1, 0);" class="text">'.get_option('wp_ulike_dislike_text').'</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="'.__('Already Voted','alimir').'">'.get_option('wp_ulike_btn_text').'</a><span class="count-box">'.$liked.'</span>';
36
  }
37
  }
38
  else{
39
  if(!isset($_COOKIE['liked-'.$post_ID])){
40
 
41
- if (get_option('wp_ulike_textOrImage') == '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">'.get_option('wp_ulike_text').'</a><span class="count-box">'.$liked.'</span>';
46
  }
47
 
48
  }
49
  else{
50
 
51
- $counter = '<a class="text user-tooltip" title="'.__('Already Voted','alimir').'">'.get_option('wp_ulike_btn_text').'</a><span class="count-box">'.$liked.'</span>';
52
 
53
  }
54
  }
@@ -58,9 +58,9 @@
58
  $wp_ulike .= '</div>';
59
 
60
 
61
- $user_data = get_user_data($post_ID,$user_ID);
62
- if(get_option('wp_ulike_user_like_box') == '1' && $user_data != '')
63
- $wp_ulike .= '<br /><p style="margin-top:5px">'.__('Users who have LIKED this post:','alimir').'</p><ul id="tiles">' . $user_data . '</ul>';
64
 
65
  if ($arg == 'put') {
66
  return $wp_ulike;
@@ -71,7 +71,7 @@
71
 
72
  }
73
 
74
- else if (get_option('wp_ulike_onlyRegistered') == '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
 
@@ -101,13 +101,13 @@
101
  echo wp_ulike_format_number($newLike);
102
  }
103
  else if ($user_status != 0) {
104
- if(get_user_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 = 'dislike'
111
  WHERE post_id = '$post_ID' AND user_id = '$user_ID'
112
  ");
113
 
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
  }
21
  else {
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
  }
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;
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
 
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
 
lang/alimir-fa_IR.mo CHANGED
Binary file
lang/alimir-fa_IR.po CHANGED
@@ -1,102 +1,104 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
- "POT-Creation-Date: 2014-11-09 01:48+0330\n"
5
- "PO-Revision-Date: 2014-11-09 01:49+0330\n"
6
  "Last-Translator: Alimir <info@alimir.ir>\n"
7
  "Language-Team: alimir.ir <info@alimir.ir>\n"
8
  "Language: fa_IR\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.4\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPath-1: ..\n"
18
 
19
- #: ../wp-ulike.php:16 ../inc/wp-options.php:9
20
- msgid "WP ULike"
21
- msgstr "وردپرس یولایک"
22
 
23
- #: ../wp-ulike.php:17
24
  msgid ""
25
- "WP ULike plugin allows to integrate Like Button into your WordPress website "
26
- "to allow your visitors to like pages, posts AND comments. Its very simple to "
27
- "use and support a widget to display the most liked posts."
28
  msgstr ""
29
- " افزونه ایرانی یولایک، یک سیستم آژاکسی ساده و کاربردی برای ایجاد قابلیت لایک "
30
- "(LIKE) در مطالب و دیدگاه های وردپرسی شماست و با بهره گیری از پنل تنظیمات، "
31
- "پشتیبانی کامل از شیوه نامه rtl، نمایش بیشترین مطالب لایک شده، قابلیت سفارشی "
32
- "سازی استایل ها و… تمامی قابلیت های یک سیستم خوب و حرفه ای رو در اختیار شما "
33
- "قرار میده."
34
 
35
- #: ../wp-ulike.php:87 ../inc/wp-widget.php:106
36
- msgid "Like"
37
- msgstr "لایک"
38
 
39
- #: ../wp-ulike.php:88
40
- msgid "You Like This"
41
- msgstr "این را پسندیده اید"
42
 
43
- #: ../wp-ulike.php:89
44
- msgid "You Dislike This"
45
- msgstr "لغو پسندیدن"
46
 
47
- #: ../inc/about-page.php:39
48
- msgid "Welcome to WP ULike"
49
- msgstr "به وردپرس یولایک خوش آمدید"
50
 
51
- #: ../inc/about-page.php:41
52
- msgid ""
53
- "Thanks for updating! This version is our leanest and most powerful version "
54
- "yet."
55
- msgstr ""
56
- "با تشکر از بروز رسانی شما! نسخه جدید قویترین و کامل ترین نسخه منتشر شده از "
57
- "این افزونه است."
58
 
59
- #: ../inc/about-page.php:45
60
- msgid "What’s New"
61
- msgstr "موارد تازه"
62
 
63
- #: ../inc/about-page.php:50 ../inc/wp-options.php:13
64
- msgid "About WP ULike"
65
- msgstr "درباره وردپرس یولایک"
66
 
67
- #: ../inc/about-page.php:52
68
- msgid ""
69
- "WP ULike enables you to add Ajax Like button into your WordPress site and "
70
- "allowing your visitors to like and dislike posts, pages, comments AND "
71
- "buddypress activities. It features: Clean Design, Ajax feature to update the "
72
- "data without reloading, Custom Like-Dislike Texts, Simple custom style with "
73
- "color picker settings, BuddyPress activity support, Widget to show Most "
74
- "Liked Posts And Most Liked Users avatars, Added automatically, RTL language "
75
- "support, Simple configuration panel and many more..."
76
- msgstr ""
77
- " افزونه ایرانی یولایک، یک سیستم آژاکسی ساده و کاربردی برای ایجاد قابلیت لایک "
78
- "(LIKE) در مطالب و دیدگاه های وردپرسی شماست و با بهره گیری از پنل تنظیمات، "
79
- "پشتیبانی کامل از شیوه نامه rtl، نمایش بیشترین مطالب لایک شده، قابلیت سفارشی "
80
- "سازی استایل ها و… تمامی قابلیت های یک سیستم خوب و حرفه ای رو در اختیار شما "
81
- "قرار میده."
82
 
83
- #: ../inc/about-page.php:58
84
- msgid "New Administrative Tools"
85
- msgstr "قابلیت های جدید مدیریتی"
86
 
87
- #: ../inc/about-page.php:76
88
- msgid "Credits"
 
 
 
 
 
 
 
 
 
 
 
 
89
  msgstr ""
 
 
 
 
 
 
 
 
 
 
90
 
91
- #: ../inc/about-page.php:85
92
  msgid "Translations"
93
  msgstr "ترجمه ها"
94
 
95
- #: ../inc/about-page.php:88
96
  msgid "Like this plugin?"
97
  msgstr "این پلاگین چندتا لایک داره؟!؟ :)"
98
 
99
- #: ../inc/about-page.php:89
100
  msgid ""
101
  "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
102
  "wp-ulike\"> Plugin Directory reviews</a>"
@@ -104,155 +106,195 @@ msgstr ""
104
  "حمایتتون رو از این افزونه، با امتیاز 5 ستاره در <a href=\"http://wordpress."
105
  "org/plugins/wp-ulike\">مخزن وردپرس</a> مشخص کنید..."
106
 
107
- #: ../inc/wp-functions.php:157
108
- msgid "WP ULike Activity"
109
- msgstr ""
110
 
111
- #: ../inc/wp-functions.php:168 ../inc/wp-functions.php:178
112
- msgid "liked"
113
- msgstr " پسندید"
114
 
115
- #: ../inc/wp-functions.php:168
116
- msgid "comment"
117
- msgstr " را در دیدگاهش"
118
 
119
- #: ../inc/wp-logs.php:35 ../inc/wp-logs.php:148 ../inc/wp-logs.php:261
120
- msgid "WP ULike Logs"
121
- msgstr "وقایع اتفاقیه در وردپرس یولایک"
122
 
123
- #: ../inc/wp-logs.php:36 ../inc/wp-options.php:10
124
- msgid "Post Likes Logs"
125
- msgstr "وقایع لایک در نوشتارها"
126
 
127
- #: ../inc/wp-logs.php:45 ../inc/wp-logs.php:158 ../inc/wp-logs.php:271
128
- msgid "ID"
129
- msgstr ""
130
 
131
- #: ../inc/wp-logs.php:46 ../inc/wp-logs.php:159 ../inc/wp-logs.php:272
132
- msgid "Username"
133
- msgstr "نام کاربری"
134
 
135
- #: ../inc/wp-logs.php:47 ../inc/wp-logs.php:160 ../inc/wp-logs.php:273
136
- msgid "Status"
137
- msgstr "وضعیت"
138
 
139
- #: ../inc/wp-logs.php:48
140
- msgid "Post ID"
141
- msgstr "شناسه نوشتار"
142
 
143
- #: ../inc/wp-logs.php:49
144
- msgid "Post Title"
145
- msgstr "عنوان نوشتار"
146
 
147
- #: ../inc/wp-logs.php:50 ../inc/wp-logs.php:163 ../inc/wp-logs.php:275
148
- msgid "Date / Time"
149
- msgstr "تاریخ / زمان"
150
 
151
- #: ../inc/wp-logs.php:51 ../inc/wp-logs.php:164 ../inc/wp-logs.php:276
152
- msgid "IP"
153
- msgstr "آدرس IP"
 
 
 
 
154
 
155
- #: ../inc/wp-logs.php:98
156
- msgid "Post Likes Logs Stats"
157
- msgstr "وضعیت وقایع لایک در نوشتارها"
 
 
158
 
159
- #: ../inc/wp-logs.php:102 ../inc/wp-logs.php:215 ../inc/wp-logs.php:324
160
- msgid "Total Users Liked:"
161
- msgstr "مجموع لایک کاربران:"
162
 
163
- #: ../inc/wp-logs.php:106
164
- msgid "Total Posts Liked:"
165
- msgstr "تعداد مطالب لایک شده:"
166
 
167
- #: ../inc/wp-logs.php:110 ../inc/wp-logs.php:223 ../inc/wp-logs.php:332
168
- msgid "Total Likes Sum:"
169
- msgstr "مجموع همه ی لایک ها:"
170
 
171
- #: ../inc/wp-logs.php:149 ../inc/wp-options.php:11
172
- msgid "Comment Likes Logs"
173
- msgstr "وقایع لایک در دیدگاه ها"
174
 
175
- #: ../inc/wp-logs.php:161
176
- msgid "Comment ID"
177
- msgstr "شناسه دیدگاه"
178
 
179
- #: ../inc/wp-logs.php:162
180
- msgid "Comment Author"
181
- msgstr "نویسنده دیدگاه"
182
 
183
- #: ../inc/wp-logs.php:211
184
- msgid "Comment Likes Logs Stats"
185
- msgstr "وضعیت وقایع لایک در دیدگاه ها"
186
 
187
- #: ../inc/wp-logs.php:219
188
- msgid "Total Comments Liked:"
189
- msgstr "تعداد دیدگاه های لایک شده:"
190
 
191
- #: ../inc/wp-logs.php:262 ../inc/wp-options.php:12
192
- msgid "Activity Likes Logs"
193
- msgstr "وقایع لایک در فعالیت ها"
194
 
195
- #: ../inc/wp-logs.php:274
196
- msgid "Activity ID"
197
- msgstr "شناسه فعالیت"
 
 
 
 
198
 
199
- #: ../inc/wp-logs.php:320
200
- msgid "Activity Likes Logs Stats"
201
- msgstr "وضعیت وقایع لایک در فعالیت های بادی پرس"
202
 
203
- #: ../inc/wp-logs.php:328
204
- msgid "Total Activities Liked:"
205
- msgstr "مجموع فعالیت های لایک شده:"
206
 
207
- #: ../inc/wp-options.php:49
208
- msgid "Configuration"
209
- msgstr "پیکربندی"
210
 
211
- #: ../inc/wp-options.php:52
212
- msgid "Settings saved."
213
- msgstr "تنظیمات ذخیره شد"
214
 
215
- #: ../inc/wp-options.php:59
216
- msgid "Image or text?"
217
- msgstr "متن یا تصویر؟"
218
 
219
- #: ../inc/wp-options.php:74
220
- msgid "Like Text"
221
- msgstr "متن دکمه لایک"
222
 
223
- #: ../inc/wp-options.php:82
224
- msgid "Dislike Text?"
225
- msgstr "متن دکمه دیسلایک"
226
 
227
- #: ../inc/wp-options.php:90
228
- msgid "Automatic display"
229
- msgstr "نمایش خودکار"
 
 
 
 
 
 
 
 
 
230
 
231
- #: ../inc/wp-options.php:94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
  msgid ""
233
- "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
234
- "post"
235
  msgstr ""
236
- "<strong>نمایش در تمامی پست ها</strong> (خانه, بایگانی, جستجو)در بخش زیرین "
237
- "مطالب."
238
 
239
- #: ../inc/wp-options.php:96
240
- msgid "If you disable this option, you have to put manually the code"
241
- msgstr "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را "
242
 
243
- #: ../inc/wp-options.php:96
244
- msgid "wherever you want in your template."
245
- msgstr "در قالب خود قرار دهید."
246
 
247
- #: ../inc/wp-options.php:100
248
- msgid "Comment likes"
249
- msgstr "لایک در دیدگاه ها"
 
 
 
 
250
 
251
- #: ../inc/wp-options.php:104
 
 
 
 
252
  msgid "<strong>On all comments</strong> at the bottom of the comment"
253
  msgstr "<strong>نمایش در تمامی دیدگاه ها</strong> در زیر متن هر دیدگاه"
254
 
255
- #: ../inc/wp-options.php:106
256
  msgid ""
257
  "If you disable this option, you have to put manually this code on comments "
258
  "text"
@@ -260,16 +302,27 @@ msgstr ""
260
  "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را در متن دیدگاه "
261
  "ها قرار دهید "
262
 
263
- #: ../inc/wp-options.php:110
264
- msgid "Activity likes"
265
- msgstr "لایک در فعالیت ها"
 
 
 
 
 
 
 
 
 
 
 
266
 
267
- #: ../inc/wp-options.php:114
268
  msgid "<strong>On all buddypress activities</strong> at the top of activity"
269
  msgstr ""
270
  "<strong>نمایش در تمامی فعالیت های بادی پرس</strong> در بخش بالایی هر فعالیت"
271
 
272
- #: ../inc/wp-options.php:116
273
  msgid ""
274
  "If you disable this option, you have to put manually this code on buddypres "
275
  "activities content"
@@ -277,168 +330,544 @@ msgstr ""
277
  "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را در متن فعالیت "
278
  "ها قرار دهید "
279
 
280
- #: ../inc/wp-options.php:120
281
- msgid "Only registered Users"
282
- msgstr "محدودسازی لایک کاربران"
283
-
284
- #: ../inc/wp-options.php:124 ../inc/wp-options.php:134
285
- #: ../inc/wp-options.php:144 ../inc/wp-options.php:154
286
- #: ../inc/wp-options.php:164
287
- msgid "Activate"
288
- msgstr "فعال سازی"
289
-
290
- #: ../inc/wp-options.php:126
291
- msgid "<strong>Only</strong> registered users have permission to like posts."
292
  msgstr ""
293
  "با فعال سازی این گزینه، <strong>تنها</strong> کاربران عضو شده، می توانند "
294
- "مطالب را لایک کنند."
295
 
296
- #: ../inc/wp-options.php:130
297
  msgid "BuddyPress Activity"
298
  msgstr "فعالیت های بادی پرس"
299
 
300
- #: ../inc/wp-options.php:136
301
  msgid "insert new likes in buddyPress activity page"
302
  msgstr ""
303
  "با فعال سازی این گزینه، اطلاعات جدیدترین لایک ها به بخش فعالیت های بادی پرس "
304
  "اضافه خواهد شد."
305
 
306
- #: ../inc/wp-options.php:140
307
- msgid "Show Users Like Box"
308
- msgstr "نمایش باکس کاربران لایک کرده"
309
-
310
- #: ../inc/wp-options.php:146
311
- msgid "Active this option to show users avatar in like box."
312
- msgstr ""
313
- "با فعال سازی این گزینه، می توانید آواتار کاربران لایک کرده، را در زیر هر "
314
- "مطلب، نمایش دهید."
315
-
316
- #: ../inc/wp-options.php:150
317
- msgid "Format Number"
318
- msgstr "فرمت اعداد"
319
 
320
- #: ../inc/wp-options.php:156
321
- msgid "Convert numbers of Likes with string (kilobyte) format."
322
- msgstr ""
323
- "با فعال سازی این گزینه، می توانید اعداد بالای 1000 را با فرمت رشته ای "
324
- "(کیلوبایت) نمایش دهید."
325
 
326
- #: ../inc/wp-options.php:160
327
  msgid "Custom Style"
328
  msgstr "سفارشی سازی"
329
 
330
- #: ../inc/wp-options.php:166
331
- msgid "Active this option to see custom color settings."
332
  msgstr ""
333
- "با فعال سازی این گزینه، می توانید رنگ های دلخواه خود را در افزونه به کار "
334
  "ببرید."
335
 
336
- #: ../inc/wp-options.php:170
337
  msgid "Button style"
338
  msgstr "دکمه لایک"
339
 
340
- #: ../inc/wp-options.php:175 ../inc/wp-options.php:192
341
  msgid "Background"
342
  msgstr "رنگ پس زمینه"
343
 
344
- #: ../inc/wp-options.php:179 ../inc/wp-options.php:196
345
  msgid "Border Color"
346
  msgstr "رنگ حاشیه"
347
 
348
- #: ../inc/wp-options.php:183 ../inc/wp-options.php:200
349
  msgid "Text Color"
350
  msgstr "رنگ متن"
351
 
352
- #: ../inc/wp-options.php:187
353
  msgid "Counter Style"
354
  msgstr "باکس شمارنده"
355
 
356
- #: ../inc/wp-ulike-buddypress.php:34 ../inc/wp-ulike-buddypress.php:50
357
- #: ../inc/wp-ulike-comments.php:34 ../inc/wp-ulike-comments.php:50
358
- #: ../inc/wp-ulike-posts.php:35 ../inc/wp-ulike-posts.php:51
359
- msgid "Already Voted"
360
- msgstr "قبلا لایک کرده اید"
361
 
362
- #: ../inc/wp-ulike-buddypress.php:61
363
- msgid "Users who have liked this activity:"
364
- msgstr "کاربرانی که این فعالیت را پسندیده اند:"
365
 
366
- #: ../inc/wp-ulike-buddypress.php:73
367
- msgid "You need to login in order to like this activity: "
368
- msgstr "برای امتیاز دهی به این فعالیت، لطفا وارد شوید: "
369
 
370
- #: ../inc/wp-ulike-buddypress.php:73 ../inc/wp-ulike-comments.php:73
371
- #: ../inc/wp-ulike-posts.php:75
372
- msgid "click here"
373
- msgstr "برای ورود کلیک کنید"
 
374
 
375
- #: ../inc/wp-ulike-comments.php:61
376
- msgid "Users who have LIKED this comment:"
377
- msgstr "کاربرانی که این دیدگاه را پسندیده اند:"
378
 
379
- #: ../inc/wp-ulike-comments.php:73
380
- msgid "You need to login in order to like this comment: "
381
- msgstr "برای امتیاز دهی به این دیدگاه، لطفا وارد شوید: "
 
 
382
 
383
- #: ../inc/wp-ulike-posts.php:63
384
- msgid "Users who have LIKED this post:"
385
- msgstr "کاربرانی که این مطلب را پسندیده اند:"
386
 
387
- #: ../inc/wp-ulike-posts.php:75
388
- msgid "You need to login in order to like this post: "
389
- msgstr "برای امتیاز دهی به این مطلب، لطفا وارد شوید: "
 
 
 
390
 
391
- #: ../inc/wp-widget.php:8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
392
  msgid "WP Ulike - Most Liked Posts"
393
  msgstr "وردپرس یولایک - نمایش پرلایک ترین مطالب"
394
 
395
- #: ../inc/wp-widget.php:9
396
  msgid "This widget allows you to show most liked posts."
397
  msgstr ""
398
  "با استفاده از این ابزارک، میتونید لیستی از پرلایک ترین مطالب سایتتون رو به "
399
  "همراه تعداد لایک هر نوشته، نمایش بدید."
400
 
401
- #: ../inc/wp-widget.php:51
402
  msgid "Most Liked Posts"
403
  msgstr "پرلایک ترین مطالب"
404
 
405
- #: ../inc/wp-widget.php:55 ../inc/wp-widget.php:136
406
  msgid "Title:"
407
  msgstr "عنوان:"
408
 
409
- #: ../inc/wp-widget.php:60
410
  msgid "Number of posts to show:"
411
  msgstr "تعداد مطالب قابل نمایش:"
412
 
413
- #: ../inc/wp-widget.php:66
414
- msgid "Activate post like count"
415
- msgstr "تعداد لایک های هر نوشته رو نمایش بد:"
416
 
417
- #: ../inc/wp-widget.php:87
418
  msgid "WP Ulike - Most Liked Users"
419
  msgstr "وردپرس یولایک - نمایش پرلایک ترین کاربران"
420
 
421
- #: ../inc/wp-widget.php:88
422
  msgid "This widget allows you to show most liked users avatars."
423
  msgstr ""
424
  "با استفاده از این ابزارک، میتونید لیستی از پرلایک ترین کاربران سایتتون رو به "
425
  "همراه تصویر آواتار و تعداد لایکشون، نمایش بدید."
426
 
427
- #: ../inc/wp-widget.php:132
428
  msgid "Most Liked Users"
429
  msgstr "پرلایک ترین کاربران"
430
 
431
- #: ../inc/wp-widget.php:141
432
  msgid "Number of users to show:"
433
  msgstr "تعداد کاربران قابل نمایش:"
434
 
435
- #: ../inc/wp-widget.php:146
436
  msgid "User avatar size:"
437
  msgstr "سایز آواتار کاربران:"
438
 
439
- #: ../inc/wp-widget.php:152
440
- msgid "Activate user like count"
441
- msgstr "تعداد لایک های هر کاربر رو نمایش بده"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
442
 
443
  #~ msgid ""
444
  #~ "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
@@ -459,9 +888,6 @@ msgstr "تعداد لایک های هر کاربر رو نمایش بده"
459
  #~ msgid "<strong>Active</strong> this option."
460
  #~ msgstr "می خواهم این قابلیت را<strong>فعال</strong> کنم"
461
 
462
- #~ msgid "Show post count"
463
- #~ msgstr "نمایش شمارشگر"
464
-
465
  #~ msgid "WP Ulike Widget"
466
  #~ msgstr "ابزارک یولایک"
467
 
@@ -470,9 +896,6 @@ msgstr "تعداد لایک های هر کاربر رو نمایش بده"
470
  #~ "comment it."
471
  #~ msgstr "یک پلاگین ساده و سبک برای راه اندازی سیستم لایک در وبلاگ شما"
472
 
473
- #~ msgid "Save Options"
474
- #~ msgstr "ذخیره تغییرات"
475
-
476
  #~ msgid "jQuery framework"
477
  #~ msgstr "چارچوب جی کوئری"
478
 
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"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.10\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPath-1: ..\n"
18
 
19
+ #: ../admin/about.php: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."
 
27
  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
  "حمایتتون رو از این افزونه، با امتیاز 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"
207
+ 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
  "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را در متن دیدگاه "
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
  "اگر این قابلیت را غیر فعال کنید، باید به صورت دستی این کد را در متن فعالیت "
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
+
443
+ #: ../admin/classes/class-settings.php:16
444
+ msgid "Custom Settings"
445
+ msgstr "تنظیمات سفارشی"
446
+
447
+ #: ../admin/classes/class-settings.php:27
448
+ msgid "Save Settings"
449
+ msgstr "ذخیره تغییرات"
450
+
451
+ #: ../admin/classes/class-settings.php:28
452
+ msgid "Reset Settings"
453
+ msgstr "بازیابی تنظیمات"
454
+
455
+ #: ../admin/classes/class-settings.php:91
456
+ msgid "Default settings have been reset."
457
+ msgstr "تنظیمات پیشفرض، بازیابی شد."
458
+
459
+ #: ../admin/classes/class-settings.php:167
460
+ msgid ""
461
+ "Do you really want to reset all these settings to their default values ?"
462
+ msgstr "آیا از بازیابی تنظیمات پیشفرض مطمئن هستید؟!؟"
463
+
464
+ #: ../admin/classes/class-settings.php:232
465
+ #: ../admin/classes/class-settings.php:243
466
+ #: ../admin/classes/class-settings.php:267
467
+ msgid "No options defined."
468
+ msgstr "هیچ تنظیماتی تعریف نشده است."
469
+
470
+ #: ../admin/classes/class-settings.php:254
471
+ #, php-format
472
+ msgid "Select %s"
473
+ msgstr "انتخاب %s"
474
+
475
+ #: ../admin/classes/class-settings.php:255
476
+ #, php-format
477
+ msgid "Remove %s"
478
+ msgstr "حذف %s"
479
+
480
+ #: ../admin/classes/class-settings.php:279
481
+ msgid "No action defined."
482
+ msgstr "هیچ کاری تعریف نشده است."
483
+
484
+ #: ../admin/classes/class-widget.php:8
485
  msgid "WP Ulike - Most Liked Posts"
486
  msgstr "وردپرس یولایک - نمایش پرلایک ترین مطالب"
487
 
488
+ #: ../admin/classes/class-widget.php:9
489
  msgid "This widget allows you to show most liked posts."
490
  msgstr ""
491
  "با استفاده از این ابزارک، میتونید لیستی از پرلایک ترین مطالب سایتتون رو به "
492
  "همراه تعداد لایک هر نوشته، نمایش بدید."
493
 
494
+ #: ../admin/classes/class-widget.php:51
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
 
502
+ #: ../admin/classes/class-widget.php:60
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
+
548
+ #: ../admin/logs.php:46
549
+ msgid "Post ID"
550
+ msgstr "شناسه نوشتار"
551
+
552
+ #: ../admin/logs.php:47
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)"
584
+ 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
+
789
+ #: ../wp-ulike.php:17
790
+ msgid ""
791
+ "WP ULike plugin allows to integrate a beautiful Ajax Like Button into your "
792
+ "wordPress website to allow your visitors to like and unlike pages, posts, "
793
+ "comments AND buddypress activities. Its very simple to use and supports many "
794
+ "options."
795
+ msgstr ""
796
+ " افزونه ایرانی یولایک، یک سیستم آژاکسی ساده و کاربردی برای ایجاد قابلیت لایک "
797
+ "(LIKE) در برگه ها، نوشته ها، دیدگاه های وردپرسی و همینطور فعالیت های بادی "
798
+ "پرسی شماست. این افزونه با بهره گیری از پنل تنظیمات پیشرفته، پشتیبانی کامل از "
799
+ "شیوه نامه rtl، نمایش بیشترین مطالب/دیدگاه ها/فعالیت های لایک شده، قابلیت "
800
+ "سفارشی سازی استایل ها و… تمامی قابلیت های یک سیستم خوب و حرفه ای رو در "
801
+ "اختیار شما قرار میده."
802
+
803
+ #, fuzzy
804
+ #~ msgid "WP ULike Template"
805
+ #~ msgstr "تمپلیت وردپرس یولایک"
806
+
807
+ #~ msgid ""
808
+ #~ "<strong>On all posts</strong> (home, archives, search) at the bottom of "
809
+ #~ "the post"
810
+ #~ msgstr ""
811
+ #~ "<strong>نمایش در تمامی پست ها</strong> (خانه, بایگانی, جستجو)در بخش زیرین "
812
+ #~ "مطالب."
813
+
814
+ #~ msgid "Deactivate On"
815
+ #~ msgstr "موارد غیر فعال"
816
+
817
+ #~ msgid "Activate user like count"
818
+ #~ msgstr "تعداد لایک های هر کاربر رو نمایش بده"
819
+
820
+ #~ msgid ""
821
+ #~ "WP ULike enables you to add Ajax Like button into your WordPress site and "
822
+ #~ "allowing your visitors to like and dislike posts, pages, comments AND "
823
+ #~ "buddypress activities. It features: Clean Design, Ajax feature to update "
824
+ #~ "the data without reloading, Custom Like-Dislike Texts, Simple custom "
825
+ #~ "style with color picker settings, BuddyPress activity support, Widget to "
826
+ #~ "show Most Liked Posts And Most Liked Users avatars, Added automatically, "
827
+ #~ "RTL language support, Simple configuration panel and many more..."
828
+ #~ msgstr ""
829
+ #~ " افزونه ایرانی یولایک، یک سیستم آژاکسی ساده و کاربردی برای ایجاد قابلیت "
830
+ #~ "لایک (LIKE) در مطالب و دیدگاه های وردپرسی شماست و با بهره گیری از پنل "
831
+ #~ "تنظیمات، پشتیبانی کامل از شیوه نامه rtl، نمایش بیشترین مطالب لایک شده، "
832
+ #~ "قابلیت سفارشی سازی استایل ها و… تمامی قابلیت های یک سیستم خوب و حرفه ای "
833
+ #~ "رو در اختیار شما قرار میده."
834
+
835
+ #~ msgid "New Administrative Tools"
836
+ #~ msgstr "قابلیت های جدید مدیریتی"
837
+
838
+ #~ msgid "Image or text?"
839
+ #~ msgstr "متن یا تصویر؟"
840
+
841
+ #~ msgid "What’s New"
842
+ #~ msgstr "موارد تازه"
843
+
844
+ #, fuzzy
845
+ #~ msgid "General Settings"
846
+ #~ msgstr "تنظیمات"
847
+
848
+ #~ msgid "Show Users Like Box"
849
+ #~ msgstr "نمایش باکس کاربران لایک کرده"
850
+
851
+ #~ msgid "Configuration"
852
+ #~ msgstr "پیکربندی"
853
+
854
+ #~ msgid "wherever you want in your template."
855
+ #~ msgstr "در قالب خود قرار دهید."
856
+
857
+ #~ msgid "Comment likes"
858
+ #~ msgstr "لایک در دیدگاه ها"
859
+
860
+ #~ msgid "Activity likes"
861
+ #~ msgstr "لایک در فعالیت ها"
862
+
863
+ #~ msgid "Already Voted"
864
+ #~ msgstr "قبلا لایک کرده اید"
865
+
866
+ #~ msgid "You Like This"
867
+ #~ msgstr "این را پسندیده اید"
868
+
869
+ #~ msgid "You Dislike This"
870
+ #~ msgstr "لغو پسندیدن"
871
 
872
  #~ msgid ""
873
  #~ "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
888
  #~ msgid "<strong>Active</strong> this option."
889
  #~ msgstr "می خواهم این قابلیت را<strong>فعال</strong> کنم"
890
 
 
 
 
891
  #~ msgid "WP Ulike Widget"
892
  #~ msgstr "ابزارک یولایک"
893
 
896
  #~ "comment it."
897
  #~ msgstr "یک پلاگین ساده و سبک برای راه اندازی سیستم لایک در وبلاگ شما"
898
 
 
 
 
899
  #~ msgid "jQuery framework"
900
  #~ msgstr "چارچوب جی کوئری"
901
 
lang/alimir-fr_FR.mo CHANGED
Binary file
lang/alimir-fr_FR.po CHANGED
@@ -2,68 +2,196 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-10-25 01:51+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Alimir <info@alimir.ir>\n"
8
  "Language-Team: \n"
9
- "Language: France\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
- "X-Generator: Poedit 1.5.4\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
  "X-Poedit-SearchPath-1: ..\n"
18
 
19
- #: ../wp-ulike.php:16
20
- msgid "WP ULike"
21
  msgstr ""
22
 
23
- #: ../wp-ulike.php:17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  msgid ""
25
- "WP ULike plugin allows to integrate Like Button into your WordPress website "
26
- "to allow your visitors to like pages, posts AND comments. Its very simple to "
27
- "use and support a widget to display the most liked posts."
28
  msgstr ""
29
 
30
- #: ../wp-ulike.php:80 ../inc/wp-widget.php:106
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  msgid "Like"
32
  msgstr ""
33
 
34
- #: ../wp-ulike.php:81
35
- msgid "You Like This"
 
 
 
 
 
 
 
 
 
 
 
 
36
  msgstr ""
37
 
38
- #: ../wp-ulike.php:82
39
- msgid "You Dislike This"
 
 
 
40
  msgstr ""
41
 
42
- #: ../inc/wp-options.php:4
43
- msgid "WP Ulike"
44
  msgstr ""
45
 
46
- #: ../inc/wp-options.php:33
47
- msgid "Configuration"
48
- msgstr "Configuration"
49
 
50
- #: ../inc/wp-options.php:39
51
- msgid "Image or text?"
52
- msgstr "Image ou texte?"
53
 
54
- #: ../inc/wp-options.php:54
55
- msgid "Like Text"
56
  msgstr ""
57
 
58
- #: ../inc/wp-options.php:62
59
- msgid "Dislike Text?"
60
  msgstr ""
61
 
62
- #: ../inc/wp-options.php:70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  msgid "Automatic display"
64
  msgstr "Affichage automatique"
65
 
66
- #: ../inc/wp-options.php:74
67
  msgid ""
68
  "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
69
  "post"
@@ -71,186 +199,492 @@ msgstr ""
71
  "<strong>Pour tous les articles</strong> (accueil, archives, recherche) au "
72
  "fond de l'article."
73
 
74
- #: ../inc/wp-options.php:76
75
- msgid "If you disable this option, you have to put manually the code"
 
 
76
  msgstr ""
77
- "Si vous désactivez cette option, vous devez ajouter manuellement le code"
78
 
79
- #: ../inc/wp-options.php:76
80
- msgid "wherever you want in your template."
81
- msgstr "n'importe où vous le souhaitez dans votre thème."
 
 
 
 
 
 
 
 
82
 
83
- #: ../inc/wp-options.php:80
84
- msgid "Comment likes"
 
85
  msgstr ""
86
 
87
- #: ../inc/wp-options.php:84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  msgid "<strong>On all comments</strong> at the bottom of the comment"
89
  msgstr "<strong>Pour tous les commentaires</strong> au fond de commentaire."
90
 
91
- #: ../inc/wp-options.php:86
92
  msgid ""
93
  "If you disable this option, you have to put manually this code on comments "
94
  "text"
95
  msgstr ""
96
 
97
- #: ../inc/wp-options.php:90
98
- msgid "Only registered Users"
 
99
  msgstr ""
100
 
101
- #: ../inc/wp-options.php:94 ../inc/wp-options.php:104
102
- #: ../inc/wp-options.php:114 ../inc/wp-options.php:124
103
- msgid "Activate"
104
  msgstr ""
105
 
106
- #: ../inc/wp-options.php:96
107
- msgid "<strong>Only</strong> registered users have permission to like posts."
108
  msgstr ""
109
 
110
- #: ../inc/wp-options.php:100
111
- msgid "Show Users Like Box"
112
  msgstr ""
113
 
114
- #: ../inc/wp-options.php:106
115
- msgid "Active this option to show users avatar in like box."
 
 
116
  msgstr ""
117
 
118
- #: ../inc/wp-options.php:110
119
- msgid "Format Number"
 
120
  msgstr ""
121
 
122
- #: ../inc/wp-options.php:116
123
- msgid "Convert numbers of Likes with string (kilobyte) format."
 
 
 
 
 
 
 
 
124
  msgstr ""
125
 
126
- #: ../inc/wp-options.php:120
 
 
 
 
127
  msgid "Custom Style"
128
  msgstr ""
129
 
130
- #: ../inc/wp-options.php:126
131
- msgid "Active this option to see custom color settings."
132
  msgstr ""
133
 
134
- #: ../inc/wp-options.php:130
135
  msgid "Button style"
136
  msgstr ""
137
 
138
- #: ../inc/wp-options.php:135 ../inc/wp-options.php:152
139
  msgid "Background"
140
  msgstr ""
141
 
142
- #: ../inc/wp-options.php:139 ../inc/wp-options.php:156
143
  msgid "Border Color"
144
  msgstr ""
145
 
146
- #: ../inc/wp-options.php:143 ../inc/wp-options.php:160
147
  msgid "Text Color"
148
  msgstr ""
149
 
150
- #: ../inc/wp-options.php:147
151
  msgid "Counter Style"
152
  msgstr ""
153
 
154
- #: ../inc/wp-options.php:170
155
- msgid "Like this plugin?"
156
- msgstr "Vous aimez ce plugin?"
157
 
158
- #: ../inc/wp-options.php:173
159
- msgid ""
160
- "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
161
- "wp-ulike\"> Plugin Directory reviews</a>"
162
  msgstr ""
163
 
164
- #: ../inc/wp-options.php:174
165
- msgid ""
166
- "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  msgstr ""
168
 
169
- #: ../inc/wp-options.php:175
170
  msgid ""
171
- "Plugin Author Blog: <a href=\"http://alimir.ir\"> Wordpress & Programming "
172
- "World.</a>"
173
  msgstr ""
174
 
175
- #: ../inc/wp-ulike-comments.php:34 ../inc/wp-ulike-comments.php:50
176
- #: ../inc/wp-ulike-posts.php:35 ../inc/wp-ulike-posts.php:51
177
- msgid "Already Voted"
178
  msgstr ""
179
 
180
- #: ../inc/wp-ulike-comments.php:61
181
- msgid "Users who have LIKED this comment:"
182
  msgstr ""
183
 
184
- #: ../inc/wp-ulike-comments.php:73
185
- msgid "You need to login in order to like this comment: "
186
  msgstr ""
187
 
188
- #: ../inc/wp-ulike-comments.php:73 ../inc/wp-ulike-posts.php:75
189
- msgid "click here"
190
  msgstr ""
191
 
192
- #: ../inc/wp-ulike-posts.php:63
193
- msgid "Users who have LIKED this post:"
194
  msgstr ""
195
 
196
- #: ../inc/wp-ulike-posts.php:75
197
- msgid "You need to login in order to like this post: "
198
  msgstr ""
199
 
200
- #: ../inc/wp-widget.php:8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  msgid "WP Ulike - Most Liked Posts"
202
  msgstr ""
203
 
204
- #: ../inc/wp-widget.php:9
205
  msgid "This widget allows you to show most liked posts."
206
  msgstr ""
207
 
208
- #: ../inc/wp-widget.php:51
209
  msgid "Most Liked Posts"
210
  msgstr ""
211
 
212
- #: ../inc/wp-widget.php:55 ../inc/wp-widget.php:136
213
  msgid "Title:"
214
  msgstr "Titre:"
215
 
216
- #: ../inc/wp-widget.php:60
217
  msgid "Number of posts to show:"
218
  msgstr "Nombre d'articles à afficher:"
219
 
220
- #: ../inc/wp-widget.php:66
221
- msgid "Activate post like count"
222
  msgstr ""
223
 
224
- #: ../inc/wp-widget.php:87
225
  msgid "WP Ulike - Most Liked Users"
226
  msgstr ""
227
 
228
- #: ../inc/wp-widget.php:88
229
  msgid "This widget allows you to show most liked users avatars."
230
  msgstr ""
231
 
232
- #: ../inc/wp-widget.php:132
233
  msgid "Most Liked Users"
234
  msgstr ""
235
 
236
- #: ../inc/wp-widget.php:141
237
  msgid "Number of users to show:"
238
  msgstr ""
239
 
240
- #: ../inc/wp-widget.php:146
241
  msgid "User avatar size:"
242
  msgstr ""
243
 
244
- #: ../inc/wp-widget.php:152
245
- msgid "Activate user like count"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  msgstr ""
247
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
  #~ msgid "Show post count"
249
  #~ msgstr "Afficher le nombre d'articles"
250
 
251
- #~ msgid "Save Options"
252
- #~ msgstr "Enregistrer les options"
253
-
254
  #~ msgid "jQuery framework"
255
  #~ msgstr "Librairie jQuery"
256
 
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"
9
+ "Language: fr_FR\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
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-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."
27
+ msgstr ""
28
+
29
+ #: ../admin/about.php:48
30
+ msgid "Visit our homepage"
31
+ msgstr ""
32
+
33
+ #: ../admin/about.php:53
34
+ msgid "Getting Started"
35
+ msgstr ""
36
+
37
+ #: ../admin/about.php:54
38
+ msgid "Credits"
39
+ msgstr ""
40
+
41
+ #: ../admin/about.php:55
42
+ msgid "Support"
43
+ msgstr ""
44
+
45
+ #: ../admin/about.php:56
46
+ msgid "FAQ"
47
+ msgstr ""
48
+
49
+ #: ../admin/about.php:57
50
+ msgid "Reviews"
51
+ msgstr ""
52
+
53
+ #: ../admin/about.php:58
54
+ msgid "Contact"
55
+ msgstr ""
56
+
57
+ #: ../admin/about.php:70
58
+ msgid "Novelty Of WP ULike"
59
+ msgstr ""
60
+
61
+ #: ../admin/about.php:74
62
+ msgid "New setting panel"
63
+ msgstr ""
64
+
65
+ #: ../admin/about.php:79
66
+ msgid "Better coding on plugin files"
67
+ msgstr ""
68
+
69
+ #: ../admin/about.php:86
70
+ msgid "Buddypress likes support"
71
+ msgstr ""
72
+
73
+ #: ../admin/about.php:91
74
+ msgid "Likes logs support"
75
+ msgstr ""
76
+
77
+ #: ../admin/about.php:100
78
+ msgid "WP ULike is created by many love and time. Enjoy it :)"
79
+ msgstr ""
80
+
81
+ #: ../admin/about.php:101
82
+ msgid "Project Leaders"
83
+ msgstr ""
84
+
85
+ #: ../admin/about.php:106
86
+ msgid "Project Lead & Developer"
87
+ msgstr ""
88
+
89
+ #: ../admin/about.php:110
90
+ msgid "Translations"
91
+ msgstr ""
92
+
93
+ #: ../admin/about.php:120
94
+ msgid "Like this plugin?"
95
+ msgstr "Vous aimez ce plugin?"
96
+
97
+ #: ../admin/about.php:121
98
  msgid ""
99
+ "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
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"
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
 
376
+ #: ../admin/classes/class-settings.php:16
377
+ msgid "Custom Settings"
378
  msgstr ""
379
 
380
+ #: ../admin/classes/class-settings.php:27
381
+ msgid "Save Settings"
382
  msgstr ""
383
 
384
+ #: ../admin/classes/class-settings.php:28
385
+ msgid "Reset Settings"
386
+ msgstr ""
387
+
388
+ #: ../admin/classes/class-settings.php:91
389
+ msgid "Default settings have been reset."
390
+ msgstr ""
391
+
392
+ #: ../admin/classes/class-settings.php:167
393
+ msgid ""
394
+ "Do you really want to reset all these settings to their default values ?"
395
+ msgstr ""
396
+
397
+ #: ../admin/classes/class-settings.php:232
398
+ #: ../admin/classes/class-settings.php:243
399
+ #: ../admin/classes/class-settings.php:267
400
+ msgid "No options defined."
401
+ msgstr ""
402
+
403
+ #: ../admin/classes/class-settings.php:254
404
+ #, php-format
405
+ msgid "Select %s"
406
+ msgstr ""
407
+
408
+ #: ../admin/classes/class-settings.php:255
409
+ #, php-format
410
+ msgid "Remove %s"
411
+ msgstr ""
412
+
413
+ #: ../admin/classes/class-settings.php:279
414
+ msgid "No action defined."
415
+ msgstr ""
416
+
417
+ #: ../admin/classes/class-widget.php:8
418
  msgid "WP Ulike - Most Liked Posts"
419
  msgstr ""
420
 
421
+ #: ../admin/classes/class-widget.php:9
422
  msgid "This widget allows you to show most liked posts."
423
  msgstr ""
424
 
425
+ #: ../admin/classes/class-widget.php:51
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
 
433
+ #: ../admin/classes/class-widget.php:60
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
+
477
+ #: ../admin/logs.php:46
478
+ msgid "Post ID"
479
+ msgstr ""
480
+
481
+ #: ../admin/logs.php:47
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
+
668
+ #: ../wp-ulike.php:17
669
+ msgid ""
670
+ "WP ULike plugin allows to integrate a beautiful Ajax Like Button into your "
671
+ "wordPress website to allow your visitors to like and unlike pages, posts, "
672
+ "comments AND buddypress activities. Its very simple to use and supports many "
673
+ "options."
674
+ msgstr ""
675
+
676
+ #~ msgid "Configuration"
677
+ #~ msgstr "Configuration"
678
+
679
+ #~ msgid "Image or text?"
680
+ #~ msgstr "Image ou texte?"
681
+
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
 
lang/alimir-nl_NL.mo ADDED
Binary file
lang/alimir-nl_NL.po ADDED
@@ -0,0 +1,731 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.10\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: _e;__\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPath-1: ..\n"
19
+
20
+ #: ../admin/about.php:45
21
+ msgid "Welcome to WP ULike"
22
+ msgstr "Welkom bij WP ULike"
23
+
24
+ #: ../admin/about.php:47
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"
40
+ 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"
92
+ msgstr "Vertalingen"
93
+
94
+ #: ../admin/about.php:120
95
+ msgid "Like this plugin?"
96
+ msgstr "Vind je deze plugin leuk?"
97
+
98
+ #: ../admin/about.php:121
99
+ msgid ""
100
+ "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
101
+ "wp-ulike\"> Plugin Directory reviews</a>"
102
+ 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"
257
+ 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"
283
+ 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"
428
+ msgstr "WP ULike - Berichten met meeste likes"
429
+
430
+ #: ../admin/classes/class-widget.php:9
431
+ msgid "This widget allows you to show most liked posts."
432
+ msgstr "Deze widget laat je de berichten met meeste likes zien."
433
+
434
+ #: ../admin/classes/class-widget.php:51
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
+
442
+ #: ../admin/classes/class-widget.php:60
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
+
472
+ #: ../admin/logs.php:33 ../admin/logs.php:146 ../admin/logs.php:259
473
+ msgid "WP ULike Logs"
474
+ msgstr "WP ULike log"
475
+
476
+ #: ../admin/logs.php:43 ../admin/logs.php:156 ../admin/logs.php:269
477
+ msgid "ID"
478
+ msgstr "ID"
479
+
480
+ #: ../admin/logs.php:44 ../admin/logs.php:157 ../admin/logs.php:270
481
+ msgid "Username"
482
+ msgstr "Gebruikersnaam"
483
+
484
+ #: ../admin/logs.php:45 ../admin/logs.php:158 ../admin/logs.php:271
485
+ msgid "Status"
486
+ msgstr "Status"
487
+
488
+ #: ../admin/logs.php:46
489
+ msgid "Post ID"
490
+ msgstr "Berichten ID"
491
+
492
+ #: ../admin/logs.php:47
493
+ msgid "Post Title"
494
+ msgstr "Titel bericht"
495
+
496
+ #: ../admin/logs.php:48 ../admin/logs.php:161 ../admin/logs.php:273
497
+ msgid "Date / Time"
498
+ msgstr "Datum & tijd"
499
+
500
+ #: ../admin/logs.php:49 ../admin/logs.php:162 ../admin/logs.php:274
501
+ msgid "IP"
502
+ msgstr "IP"
503
+
504
+ #: ../admin/logs.php:96
505
+ msgid "Post Likes Logs Stats"
506
+ msgstr "Statistieken van likes op berichten"
507
+
508
+ #: ../admin/logs.php:100 ../admin/logs.php:213 ../admin/logs.php:322
509
+ msgid "Total Users Liked:"
510
+ msgstr "Aantal gebruikers die iets leuk vinden:"
511
+
512
+ #: ../admin/logs.php:104
513
+ msgid "Total Posts Liked:"
514
+ msgstr "Aantal berichten die gebruikers leuk vinden:"
515
+
516
+ #: ../admin/logs.php:108 ../admin/logs.php:221 ../admin/logs.php:330
517
+ msgid "Total Likes Sum:"
518
+ msgstr "Totaal aantal likes:"
519
+
520
+ #: ../admin/logs.php:115 ../admin/logs.php:228 ../admin/logs.php:337
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"
528
+ msgstr "Reactie ID"
529
+
530
+ #: ../admin/logs.php:160
531
+ msgid "Comment Author"
532
+ msgstr "Reactie auteur"
533
+
534
+ #: ../admin/logs.php:209
535
+ msgid "Comment Likes Logs Stats"
536
+ msgstr "Reactie likes statistieken"
537
+
538
+ #: ../admin/logs.php:217
539
+ msgid "Total Comments Liked:"
540
+ msgstr "Aantal reactie die men leuk vindt:"
541
+
542
+ #: ../admin/logs.php:272
543
+ msgid "Activity ID"
544
+ msgstr "Evenementen ID"
545
+
546
+ #: ../admin/logs.php:318
547
+ msgid "Activity Likes Logs Stats"
548
+ msgstr "Evenementen likes statistieken"
549
+
550
+ #: ../admin/logs.php:326
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: "
664
+ msgstr "Je moet inloggen om deze activiteit te linken."
665
+
666
+ #: ../inc/wp-ulike-buddypress.php:73 ../inc/wp-ulike-comments.php:73
667
+ #: ../inc/wp-ulike-posts.php:75
668
+ msgid "click here"
669
+ msgstr "klik hier"
670
+
671
+ #: ../inc/wp-ulike-comments.php:73
672
+ msgid "You need to login in order to like this comment: "
673
+ msgstr "Je moet inloggen om deze reactie leuk te vinden:"
674
+
675
+ #: ../inc/wp-ulike-posts.php:75
676
+ msgid "You need to login in order to like this post: "
677
+ msgstr "Je moet inloggen om dit bericht leuk te vinden:"
678
+
679
+ #: ../wp-ulike.php:17
680
+ msgid ""
681
+ "WP ULike plugin allows to integrate a beautiful Ajax Like Button into your "
682
+ "wordPress website to allow your visitors to like and unlike pages, posts, "
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"
689
+
690
+ #~ msgid "What’s New"
691
+ #~ msgstr "Wat is er nieuw?"
692
+
693
+ #~ msgid ""
694
+ #~ "WP ULike enables you to add Ajax Like button into your WordPress site and "
695
+ #~ "allowing your visitors to like and dislike posts, pages, comments AND "
696
+ #~ "buddypress activities. It features: Clean Design, Ajax feature to update "
697
+ #~ "the data without reloading, Custom Like-Dislike Texts, Simple custom "
698
+ #~ "style with color picker settings, BuddyPress activity support, Widget to "
699
+ #~ "show Most Liked Posts And Most Liked Users avatars, Added automatically, "
700
+ #~ "RTL language support, Simple configuration panel and many more..."
701
+ #~ msgstr ""
702
+ #~ "Met WP ULike kun je een Ajax Like-button toevoegen aan je WordPress site, "
703
+ #~ "zodat bezoekers posts, pagina's, reacties en BuddyPress-acitiviteiten "
704
+ #~ "kunnen liken en disliken. "
705
+
706
+ #~ msgid "New Administrative Tools"
707
+ #~ msgstr "Nieuwe administratie tools"
708
+
709
+ #~ msgid "Configuration"
710
+ #~ msgstr "Instellingen"
711
+
712
+ #~ msgid "Image or text?"
713
+ #~ msgstr "Plaatje of tekst?"
714
+
715
+ #~ msgid "wherever you want in your template."
716
+ #~ msgstr "waar je wilt in het template."
717
+
718
+ #~ msgid "Comment likes"
719
+ #~ msgstr "Reactie likes"
720
+
721
+ #~ msgid "Activity likes"
722
+ #~ msgstr "Evenementen likes"
723
+
724
+ #~ msgid "Already Voted"
725
+ #~ msgstr "Reeds gestemd"
726
+
727
+ #~ msgid "You Like This"
728
+ #~ msgstr "Je vindt dit leuk"
729
+
730
+ #~ msgid "You Dislike This"
731
+ #~ msgstr "Je vindt dit niet leuk"
lang/alimir-zh_CN.mo CHANGED
Binary file
lang/alimir-zh_CN.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-10-25 01:52+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Alimir <info@alimir.ir>\n"
8
  "Language-Team: 倡萌@WordPress大学 <admin@cmhello.com>\n"
@@ -12,244 +12,729 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
- "X-Generator: Poedit 1.5.4\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
- #: ../wp-ulike.php:16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  msgid "WP ULike"
22
  msgstr "WP ULike"
23
 
24
- #: ../wp-ulike.php:17
25
- msgid ""
26
- "WP ULike plugin allows to integrate Like Button into your WordPress website "
27
- "to allow your visitors to like pages, posts AND comments. Its very simple to "
28
- "use and support a widget to display the most liked posts."
 
 
 
 
 
 
 
 
 
29
  msgstr ""
30
- "WP ULike 插件允许集成喜欢按钮到你的WordPress站点,让你的访客可以喜欢页面和文"
31
- "章。它非常简单易用,还支持通过小工具显示最多人喜欢的文章。"
32
 
33
- #: ../wp-ulike.php:80 ../inc/wp-widget.php:106
34
  msgid "Like"
35
  msgstr "喜欢"
36
 
37
- #: ../wp-ulike.php:81
38
- msgid "You Like This"
39
- msgstr "你喜欢这个"
40
 
41
- #: ../wp-ulike.php:82
42
- msgid "You Dislike This"
43
- msgstr "你不喜欢这个"
44
 
45
- #: ../inc/wp-options.php:4
46
- msgid "WP Ulike"
47
- msgstr "WP Ulike"
48
 
49
- #: ../inc/wp-options.php:33
50
- msgid "Configuration"
51
- msgstr "配置"
52
 
53
- #: ../inc/wp-options.php:39
54
- msgid "Image or text?"
55
- msgstr "图片或文本?"
 
 
 
56
 
57
- #: ../inc/wp-options.php:54
58
- msgid "Like Text"
59
- msgstr "[喜欢]文本"
60
 
61
- #: ../inc/wp-options.php:62
62
- msgid "Dislike Text?"
63
- msgstr "[不喜欢]文本"
64
 
65
- #: ../inc/wp-options.php:70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  msgid "Automatic display"
67
  msgstr "自动显示"
68
 
69
- #: ../inc/wp-options.php:74
70
  msgid ""
71
  "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
72
  "post"
73
  msgstr "<strong>在所有文章</strong>(首页、存档、搜索)文章的底部"
74
 
75
- #: ../inc/wp-options.php:76
76
- msgid "If you disable this option, you have to put manually the code"
77
- msgstr "如果你禁用这个选项,你必须手动添加代码 "
 
 
 
 
 
 
 
 
 
 
78
 
79
- #: ../inc/wp-options.php:76
80
- msgid "wherever you want in your template."
81
- msgstr " 到模板中你想要添加的地方。"
82
 
83
- #: ../inc/wp-options.php:80
84
- msgid "Comment likes"
 
85
  msgstr ""
86
 
87
- #: ../inc/wp-options.php:84
88
- msgid "<strong>On all comments</strong> at the bottom of the comment"
 
 
 
 
89
  msgstr ""
90
 
91
- #: ../inc/wp-options.php:86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  msgid ""
93
  "If you disable this option, you have to put manually this code on comments "
94
  "text"
95
- msgstr ""
96
 
97
- #: ../inc/wp-options.php:90
98
- msgid "Only registered Users"
99
- msgstr "只有已注册的用户"
 
100
 
101
- #: ../inc/wp-options.php:94 ../inc/wp-options.php:104
102
- #: ../inc/wp-options.php:114 ../inc/wp-options.php:124
103
- msgid "Activate"
104
- msgstr "激活"
105
 
106
- #: ../inc/wp-options.php:96
107
- msgid "<strong>Only</strong> registered users have permission to like posts."
108
- msgstr "<strong>只有</strong> 已注册的用户才有权限喜欢文章。"
109
 
110
- #: ../inc/wp-options.php:100
111
- msgid "Show Users Like Box"
112
- msgstr "显示用户喜欢盒子"
113
 
114
- #: ../inc/wp-options.php:106
115
- msgid "Active this option to show users avatar in like box."
116
- msgstr "激活这个选项可以在喜欢盒子里显示用户头像"
 
 
117
 
118
- #: ../inc/wp-options.php:110
119
- msgid "Format Number"
 
120
  msgstr ""
121
 
122
- #: ../inc/wp-options.php:116
123
- msgid "Convert numbers of Likes with string (kilobyte) format."
 
 
 
 
 
 
 
 
 
 
 
 
124
  msgstr ""
125
 
126
- #: ../inc/wp-options.php:120
127
  msgid "Custom Style"
128
- msgstr ""
129
 
130
- #: ../inc/wp-options.php:126
131
- msgid "Active this option to see custom color settings."
132
  msgstr ""
133
 
134
- #: ../inc/wp-options.php:130
135
  msgid "Button style"
136
- msgstr ""
137
 
138
- #: ../inc/wp-options.php:135 ../inc/wp-options.php:152
139
  msgid "Background"
140
- msgstr ""
141
 
142
- #: ../inc/wp-options.php:139 ../inc/wp-options.php:156
143
  msgid "Border Color"
144
- msgstr ""
145
 
146
- #: ../inc/wp-options.php:143 ../inc/wp-options.php:160
147
  msgid "Text Color"
148
- msgstr ""
149
 
150
- #: ../inc/wp-options.php:147
151
  msgid "Counter Style"
 
 
 
 
152
  msgstr ""
153
 
154
- #: ../inc/wp-options.php:170
155
- msgid "Like this plugin?"
156
- msgstr "喜欢这个插件?"
157
 
158
- #: ../inc/wp-options.php:173
159
- msgid ""
160
- "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
161
- "wp-ulike\"> Plugin Directory reviews</a>"
162
  msgstr ""
163
- "支持本插件,请在 <a href=\"http://wordpress.org/plugins/wp-ulike\"> 插件目录"
164
- "评论 </a> 提交 5 星级投票"
165
 
166
- #: ../inc/wp-options.php:174
167
- msgid ""
168
- "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
169
- msgstr "关注我的 <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
170
 
171
- #: ../inc/wp-options.php:175
 
 
 
 
 
 
 
 
 
 
 
 
172
  msgid ""
173
- "Plugin Author Blog: <a href=\"http://alimir.ir\"> Wordpress & Programming "
174
- "World.</a>"
175
  msgstr ""
176
- "插件作者博客:<a href=\"http://alimir.ir\"> Wordpress & Programming World</"
177
- "a><br /> 感谢 <a href=\"http://www.wpdaxue.com\" target=\"_blank\">WordPress"
178
- "大学</a> 提供简体中文支持"
179
 
180
- #: ../inc/wp-ulike-comments.php:34 ../inc/wp-ulike-comments.php:50
181
- #: ../inc/wp-ulike-posts.php:35 ../inc/wp-ulike-posts.php:51
182
- msgid "Already Voted"
183
- msgstr "已经投票"
184
 
185
- #: ../inc/wp-ulike-comments.php:61
186
- msgid "Users who have LIKED this comment:"
187
- msgstr "谁也喜欢这个评论用户:"
188
 
189
- #: ../inc/wp-ulike-comments.php:73
190
- msgid "You need to login in order to like this comment: "
191
- msgstr "你需要为了喜欢这个评论登陆"
192
 
193
- #: ../inc/wp-ulike-comments.php:73 ../inc/wp-ulike-posts.php:75
194
- msgid "click here"
195
- msgstr "点击这里"
196
 
197
- #: ../inc/wp-ulike-posts.php:63
198
- msgid "Users who have LIKED this post:"
199
- msgstr "喜欢该文章的用户:"
200
 
201
- #: ../inc/wp-ulike-posts.php:75
202
- msgid "You need to login in order to like this post: "
203
- msgstr "你需要登录后才能喜欢这篇文章:"
204
 
205
- #: ../inc/wp-widget.php:8
206
- msgid "WP Ulike - Most Liked Posts"
207
  msgstr ""
208
 
209
- #: ../inc/wp-widget.php:9
210
- msgid "This widget allows you to show most liked posts."
211
  msgstr ""
212
 
213
- #: ../inc/wp-widget.php:51
214
- msgid "Most Liked Posts"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  msgstr ""
216
 
217
- #: ../inc/wp-widget.php:55 ../inc/wp-widget.php:136
 
 
 
 
 
 
 
 
 
 
 
 
218
  msgid "Title:"
219
  msgstr "标题:"
220
 
221
- #: ../inc/wp-widget.php:60
222
  msgid "Number of posts to show:"
223
  msgstr "要显示的文章数量:"
224
 
225
- #: ../inc/wp-widget.php:66
226
- msgid "Activate post like count"
227
  msgstr ""
228
 
229
- #: ../inc/wp-widget.php:87
230
  msgid "WP Ulike - Most Liked Users"
231
- msgstr ""
232
 
233
- #: ../inc/wp-widget.php:88
234
  msgid "This widget allows you to show most liked users avatars."
235
- msgstr ""
236
 
237
- #: ../inc/wp-widget.php:132
238
  msgid "Most Liked Users"
239
- msgstr ""
240
 
241
- #: ../inc/wp-widget.php:141
242
  msgid "Number of users to show:"
243
- msgstr ""
244
 
245
- #: ../inc/wp-widget.php:146
246
  msgid "User avatar size:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  msgstr ""
248
 
249
- #: ../inc/wp-widget.php:152
250
- msgid "Activate user like count"
251
  msgstr ""
252
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
  #~ msgid "<strong>Active</strong> this option."
254
  #~ msgstr "<strong>激活</strong>这个选项"
255
 
@@ -264,9 +749,6 @@ msgstr ""
264
  #~ msgid "Show post count"
265
  #~ msgstr "显示文章计数"
266
 
267
- #~ msgid "Save Options"
268
- #~ msgstr "Enregistrer les options"
269
-
270
  #~ msgid "jQuery framework"
271
  #~ msgstr "Librairie jQuery"
272
 
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-11-25 12:58+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Alimir <info@alimir.ir>\n"
8
  "Language-Team: 倡萌@WordPress大学 <admin@cmhello.com>\n"
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"
19
 
20
+ #: ../admin/about.php:45
21
+ msgid "Welcome to WP ULike"
22
+ msgstr "欢迎使用 WP ULike"
23
+
24
+ #: ../admin/about.php:47
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"
40
+ 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"
92
+ msgstr "翻译"
93
+
94
+ #: ../admin/about.php:120
95
+ msgid "Like this plugin?"
96
+ msgstr "喜欢这个插件?"
97
+
98
+ #: ../admin/about.php:121
99
+ msgid ""
100
+ "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
101
+ "wp-ulike\"> Plugin Directory reviews</a>"
102
+ msgstr ""
103
+ "支持本插件,请在 <a href=\"http://wordpress.org/plugins/wp-ulike\"> 插件目录"
104
+ "评论 </a> 提交 5 星级投票"
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 "喜欢"
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 "格式化数字"
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 "激活"
156
 
157
+ #: ../admin/admin.php:68
158
+ msgid "Convert numbers of Likes with string (kilobyte) format."
159
+ 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."
187
+ 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"
195
  msgstr "自动显示"
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 "<strong>在所有文章</strong>(首页、存档、搜索)文章的底部"
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"
207
+ msgstr ""
208
+
209
+ #: ../admin/admin.php:106 ../admin/admin.php:142 ../admin/admin.php:178
210
+ msgid "Only registered Users"
211
+ msgstr "只有已注册的用户"
212
+
213
+ #: ../admin/admin.php:108
214
+ msgid "<strong>Only</strong> registered users have permission to like posts."
215
+ 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:"
236
+ 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"
248
+ msgstr "<strong>在所有评论</strong>的评论底部"
249
+
250
+ #: ../admin/admin.php:137
251
  msgid ""
252
  "If you disable this option, you have to put manually this code on comments "
253
  "text"
254
+ msgstr "如果禁用此选项,你必须手动添加这个代码到评论文本"
255
 
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:"
263
+ 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"
271
+ msgstr "<strong>在所有 buddypress 活动</strong>的活动顶部"
272
 
273
+ #: ../admin/admin.php:173
274
+ msgid ""
275
+ "If you disable this option, you have to put manually this code on buddypres "
276
+ "activities content"
277
+ msgstr "如果你禁用这个选项,你必须手动添加这个代码到buddypres活动内容"
278
 
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"
286
+ msgstr "BuddyPress 活动"
287
+
288
+ #: ../admin/admin.php:187
289
+ msgid "insert new likes in buddyPress activity page"
290
+ msgstr "插入喜欢按钮到buddyPress活动页面"
291
+
292
+ #: ../admin/admin.php:203
293
+ msgid "Users who have liked this activity:"
294
+ msgstr "喜欢该活动的用户:"
295
+
296
+ #: ../admin/admin.php:209
297
+ msgid "Customize"
298
  msgstr ""
299
 
300
+ #: ../admin/admin.php:214
301
  msgid "Custom Style"
302
+ 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"
310
+ msgstr "按钮样式"
311
 
312
+ #: ../admin/admin.php:224 ../admin/admin.php:237
313
  msgid "Background"
314
+ msgstr "背景"
315
 
316
+ #: ../admin/admin.php:228 ../admin/admin.php:241
317
  msgid "Border Color"
318
+ msgstr "背景颜色"
319
 
320
+ #: ../admin/admin.php:232 ../admin/admin.php:245
321
  msgid "Text Color"
322
+ msgstr "文本颜色"
323
 
324
+ #: ../admin/admin.php:236
325
  msgid "Counter Style"
326
+ 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"
363
+ msgstr "文章喜欢日志"
 
364
 
365
+ #: ../admin/admin.php:292 ../admin/logs.php:147
366
+ msgid "Comment Likes Logs"
367
+ msgstr "评论喜欢日志"
368
 
369
+ #: ../admin/admin.php:296 ../admin/logs.php:260
370
+ msgid "Activity Likes Logs"
371
+ msgstr "活动喜欢日志"
372
 
373
+ #: ../admin/admin.php:299
374
+ msgid "About WP ULike"
375
+ 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"
420
+ msgstr "WP Ulike -最多人喜欢的文章"
421
+
422
+ #: ../admin/classes/class-widget.php:9
423
+ msgid "This widget allows you to show most liked posts."
424
+ msgstr "该小工具可以显示最多人喜欢的文章。"
425
+
426
+ #: ../admin/classes/class-widget.php:51
427
+ msgid "Most Liked Posts"
428
+ msgstr "最多人喜欢的文章"
429
+
430
+ #: ../admin/classes/class-widget.php:55 ../admin/classes/class-widget.php:136
431
  msgid "Title:"
432
  msgstr "标题:"
433
 
434
+ #: ../admin/classes/class-widget.php:60
435
  msgid "Number of posts to show:"
436
  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"
444
+ msgstr "WP Ulike - 最多人喜欢的用户"
445
 
446
+ #: ../admin/classes/class-widget.php:88
447
  msgid "This widget allows you to show most liked users avatars."
448
+ msgstr "该小工具可以显示最多人喜欢的用户头像。"
449
 
450
+ #: ../admin/classes/class-widget.php:132
451
  msgid "Most Liked Users"
452
+ msgstr "最多人喜欢的用户"
453
 
454
+ #: ../admin/classes/class-widget.php:141
455
  msgid "Number of users to show:"
456
+ msgstr "要显示的用户数:"
457
 
458
+ #: ../admin/classes/class-widget.php:146
459
  msgid "User avatar size:"
460
+ msgstr "用户头像大小:"
461
+
462
+ #: ../admin/logs.php:33 ../admin/logs.php:146 ../admin/logs.php:259
463
+ msgid "WP ULike Logs"
464
+ msgstr "WP ULike 日志"
465
+
466
+ #: ../admin/logs.php:43 ../admin/logs.php:156 ../admin/logs.php:269
467
+ msgid "ID"
468
+ msgstr "ID"
469
+
470
+ #: ../admin/logs.php:44 ../admin/logs.php:157 ../admin/logs.php:270
471
+ msgid "Username"
472
+ msgstr "用户名"
473
+
474
+ #: ../admin/logs.php:45 ../admin/logs.php:158 ../admin/logs.php:271
475
+ msgid "Status"
476
+ msgstr "状态"
477
+
478
+ #: ../admin/logs.php:46
479
+ msgid "Post ID"
480
+ msgstr "文章ID"
481
+
482
+ #: ../admin/logs.php:47
483
+ msgid "Post Title"
484
+ msgstr "文章标题"
485
+
486
+ #: ../admin/logs.php:48 ../admin/logs.php:161 ../admin/logs.php:273
487
+ msgid "Date / Time"
488
+ msgstr "日期/时间"
489
+
490
+ #: ../admin/logs.php:49 ../admin/logs.php:162 ../admin/logs.php:274
491
+ msgid "IP"
492
+ msgstr "IP"
493
+
494
+ #: ../admin/logs.php:96
495
+ msgid "Post Likes Logs Stats"
496
+ msgstr "文章喜欢日志统计"
497
+
498
+ #: ../admin/logs.php:100 ../admin/logs.php:213 ../admin/logs.php:322
499
+ msgid "Total Users Liked:"
500
+ msgstr "所有喜欢的用户:"
501
+
502
+ #: ../admin/logs.php:104
503
+ msgid "Total Posts Liked:"
504
+ msgstr "所有喜欢的文章:"
505
+
506
+ #: ../admin/logs.php:108 ../admin/logs.php:221 ../admin/logs.php:330
507
+ msgid "Total Likes Sum:"
508
+ msgstr "喜欢总数:"
509
+
510
+ #: ../admin/logs.php:115 ../admin/logs.php:228 ../admin/logs.php:337
511
+ 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"
518
+ msgstr "评论ID"
519
+
520
+ #: ../admin/logs.php:160
521
+ msgid "Comment Author"
522
+ msgstr "评论作者"
523
+
524
+ #: ../admin/logs.php:209
525
+ msgid "Comment Likes Logs Stats"
526
+ msgstr "评论喜欢日志统计"
527
+
528
+ #: ../admin/logs.php:217
529
+ msgid "Total Comments Liked:"
530
+ msgstr "所有喜欢的评论:"
531
+
532
+ #: ../admin/logs.php:272
533
+ msgid "Activity ID"
534
+ msgstr "活动ID"
535
+
536
+ #: ../admin/logs.php:318
537
+ msgid "Activity Likes Logs Stats"
538
+ msgstr "活动喜欢日志统计"
539
+
540
+ #: ../admin/logs.php:326
541
+ msgid "Total Activities Liked:"
542
+ msgstr "所有喜欢的活动:"
543
+
544
+ #: ../inc/wp-functions.php:158
545
+ msgid "WP ULike Activity"
546
+ msgstr "WP ULike 活动"
547
+
548
+ #: ../inc/wp-functions.php:168 ../inc/wp-functions.php:178
549
+ msgid "liked"
550
+ msgstr "已喜欢"
551
+
552
+ #: ../inc/wp-functions.php:168
553
+ msgid "comment"
554
+ 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: "
654
+ msgstr "你需要登录后才能喜欢这个活动:"
655
+
656
+ #: ../inc/wp-ulike-buddypress.php:73 ../inc/wp-ulike-comments.php:73
657
+ #: ../inc/wp-ulike-posts.php:75
658
+ msgid "click here"
659
+ msgstr "点击这里"
660
+
661
+ #: ../inc/wp-ulike-comments.php:73
662
+ msgid "You need to login in order to like this comment: "
663
+ msgstr "你需要为了喜欢这个评论登陆"
664
+
665
+ #: ../inc/wp-ulike-posts.php:75
666
+ msgid "You need to login in order to like this post: "
667
+ msgstr "你需要登录后才能喜欢这篇文章:"
668
+
669
+ #: ../wp-ulike.php:17
670
+ msgid ""
671
+ "WP ULike plugin allows to integrate a beautiful Ajax Like Button into your "
672
+ "wordPress website to allow your visitors to like and unlike pages, posts, "
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 "启用用户喜欢计数"
679
+
680
+ #~ msgid "What’s New"
681
+ #~ msgstr "更新了什么"
682
+
683
+ #~ msgid ""
684
+ #~ "WP ULike enables you to add Ajax Like button into your WordPress site and "
685
+ #~ "allowing your visitors to like and dislike posts, pages, comments AND "
686
+ #~ "buddypress activities. It features: Clean Design, Ajax feature to update "
687
+ #~ "the data without reloading, Custom Like-Dislike Texts, Simple custom "
688
+ #~ "style with color picker settings, BuddyPress activity support, Widget to "
689
+ #~ "show Most Liked Posts And Most Liked Users avatars, Added automatically, "
690
+ #~ "RTL language support, Simple configuration panel and many more..."
691
+ #~ msgstr ""
692
+ #~ "WP Ulike 可以添加Ajax的喜欢按钮到你的WordPress网站,让你的访问者喜欢和不喜"
693
+ #~ "欢的文章、页面、评论和BuddyPress的活动。它的特点:清洁设计,Ajax特性,而无"
694
+ #~ "需重新加载更新数据,自定义喜欢/不喜欢文本,用拾色器设置简单的自定义样式,"
695
+ #~ "支持BuddyPress的活动,使用小工具显示最招人喜欢帖子和最招人喜欢的用户头像,"
696
+ #~ "自动添加,RTL语言支持,简单的配置面板,还有更多..."
697
+
698
+ #~ msgid "New Administrative Tools"
699
+ #~ msgstr "新的管理工具"
700
+
701
+ #~ msgid "Configuration"
702
+ #~ msgstr "配置"
703
+
704
+ #~ msgid "Image or text?"
705
+ #~ msgstr "图片或文本?"
706
+
707
+ #~ msgid "wherever you want in your template."
708
+ #~ msgstr " 到模板中你想要添加的地方。"
709
+
710
+ #~ msgid "Comment likes"
711
+ #~ msgstr "评论喜欢"
712
+
713
+ #~ msgid "Activity likes"
714
+ #~ msgstr "活动喜欢"
715
+
716
+ #~ msgid "Already Voted"
717
+ #~ msgstr "已经投票"
718
+
719
+ #~ msgid "You Like This"
720
+ #~ msgstr "你喜欢这个"
721
+
722
+ #~ msgid "You Dislike This"
723
+ #~ msgstr "你不喜欢这个"
724
+
725
+ #~ msgid ""
726
+ #~ "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
727
+ #~ msgstr ""
728
+ #~ "关注我的 <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
729
+
730
+ #~ msgid ""
731
+ #~ "Plugin Author Blog: <a href=\"http://alimir.ir\"> Wordpress & Programming "
732
+ #~ "World.</a>"
733
+ #~ msgstr ""
734
+ #~ "插件作者博客:<a href=\"http://alimir.ir\"> Wordpress & Programming "
735
+ #~ "World</a><br /> 感谢 <a href=\"http://www.wpdaxue.com\" target=\"_blank"
736
+ #~ "\">WordPress大学</a> 提供简体中文支持"
737
+
738
  #~ msgid "<strong>Active</strong> this option."
739
  #~ msgstr "<strong>激活</strong>这个选项"
740
 
749
  #~ msgid "Show post count"
750
  #~ msgstr "显示文章计数"
751
 
 
 
 
752
  #~ msgid "jQuery framework"
753
  #~ msgstr "Librairie jQuery"
754
 
lang/alimir-zh_TW.mo CHANGED
Binary file
lang/alimir-zh_TW.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-10-25 01:54+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Alimir <info@alimir.ir>\n"
8
  "Language-Team: 超級efly <eflyjason@gmail.com>\n"
@@ -12,244 +12,702 @@ msgstr ""
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
- "X-Generator: Poedit 1.5.4\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
  "X-Poedit-SearchPath-1: ..\n"
20
 
21
- #: ../wp-ulike.php:16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  msgid "WP ULike"
23
  msgstr "WP ULike"
24
 
25
- #: ../wp-ulike.php:17
26
- msgid ""
27
- "WP ULike plugin allows to integrate Like Button into your WordPress website "
28
- "to allow your visitors to like pages, posts AND comments. Its very simple to "
29
- "use and support a widget to display the most liked posts."
 
 
 
 
 
 
 
 
 
30
  msgstr ""
31
- "WP ULike 外掛允許集成喜歡按鈕到你的WordPress站點,讓你的訪客可以喜歡頁面和文"
32
- "章。它非常簡單易用,還支持通過小工具顯示最多人喜歡的文章。"
33
 
34
- #: ../wp-ulike.php:80 ../inc/wp-widget.php:106
35
  msgid "Like"
36
  msgstr "喜歡"
37
 
38
- #: ../wp-ulike.php:81
39
- msgid "You Like This"
40
- msgstr "你喜歡這個"
 
 
 
 
 
 
 
 
41
 
42
- #: ../wp-ulike.php:82
43
- msgid "You Dislike This"
44
- msgstr "你不喜歡這個"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
 
46
- #: ../inc/wp-options.php:4
47
- msgid "WP Ulike"
48
- msgstr "WP Ulike"
49
 
50
- #: ../inc/wp-options.php:33
51
- msgid "Configuration"
52
- msgstr "配置"
53
 
54
- #: ../inc/wp-options.php:39
55
- msgid "Image or text?"
56
- msgstr "圖片或文本?"
57
 
58
- #: ../inc/wp-options.php:54
59
- msgid "Like Text"
60
- msgstr "[喜歡]文本"
61
 
62
- #: ../inc/wp-options.php:62
63
- msgid "Dislike Text?"
64
- msgstr "[不喜歡]文本"
65
 
66
- #: ../inc/wp-options.php:70
67
  msgid "Automatic display"
68
  msgstr "自動顯示"
69
 
70
- #: ../inc/wp-options.php:74
71
  msgid ""
72
  "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
73
  "post"
74
  msgstr "<strong>在所有文章</strong>(首頁、存檔、搜索)文章的底部"
75
 
76
- #: ../inc/wp-options.php:76
77
- msgid "If you disable this option, you have to put manually the code"
78
- msgstr "如果你禁用這個選項,你必須手動添加代碼 "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
 
80
- #: ../inc/wp-options.php:76
81
- msgid "wherever you want in your template."
82
- msgstr " 到模板中你想要添加的地方。"
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
- #: ../inc/wp-options.php:80
85
- msgid "Comment likes"
86
  msgstr ""
87
 
88
- #: ../inc/wp-options.php:84
89
  msgid "<strong>On all comments</strong> at the bottom of the comment"
90
  msgstr "<strong>在所有文章</strong>(首頁、存檔、搜索)文章的底部"
91
 
92
- #: ../inc/wp-options.php:86
93
  msgid ""
94
  "If you disable this option, you have to put manually this code on comments "
95
  "text"
96
  msgstr "如果你禁用這個選項,你必須手動添加代碼 "
97
 
98
- #: ../inc/wp-options.php:90
99
- msgid "Only registered Users"
100
- msgstr "只有已注冊的用戶"
 
101
 
102
- #: ../inc/wp-options.php:94 ../inc/wp-options.php:104
103
- #: ../inc/wp-options.php:114 ../inc/wp-options.php:124
104
- msgid "Activate"
105
- msgstr "激活"
106
 
107
- #: ../inc/wp-options.php:96
108
- msgid "<strong>Only</strong> registered users have permission to like posts."
109
- msgstr "<strong>只有</strong> 已注冊的用戶才有權限喜歡文章。"
110
 
111
- #: ../inc/wp-options.php:100
112
- msgid "Show Users Like Box"
113
- msgstr "顯示用戶喜歡盒子"
114
 
115
- #: ../inc/wp-options.php:106
116
- msgid "Active this option to show users avatar in like box."
117
- msgstr "激活這個選項可以在喜歡盒子裡顯示用戶大頭貼"
 
 
118
 
119
- #: ../inc/wp-options.php:110
120
- msgid "Format Number"
 
121
  msgstr ""
122
 
123
- #: ../inc/wp-options.php:116
124
- msgid "Convert numbers of Likes with string (kilobyte) format."
 
 
 
 
 
 
 
 
125
  msgstr ""
126
 
127
- #: ../inc/wp-options.php:120
 
 
 
 
128
  msgid "Custom Style"
129
  msgstr ""
130
 
131
- #: ../inc/wp-options.php:126
132
- msgid "Active this option to see custom color settings."
133
  msgstr ""
134
 
135
- #: ../inc/wp-options.php:130
136
  msgid "Button style"
137
  msgstr ""
138
 
139
- #: ../inc/wp-options.php:135 ../inc/wp-options.php:152
140
  msgid "Background"
141
  msgstr ""
142
 
143
- #: ../inc/wp-options.php:139 ../inc/wp-options.php:156
144
  msgid "Border Color"
145
  msgstr ""
146
 
147
- #: ../inc/wp-options.php:143 ../inc/wp-options.php:160
148
  msgid "Text Color"
149
  msgstr ""
150
 
151
- #: ../inc/wp-options.php:147
152
  msgid "Counter Style"
153
  msgstr ""
154
 
155
- #: ../inc/wp-options.php:170
156
- msgid "Like this plugin?"
157
- msgstr "喜歡這個外掛?"
158
 
159
- #: ../inc/wp-options.php:173
160
- msgid ""
161
- "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
162
- "wp-ulike\"> Plugin Directory reviews</a>"
163
  msgstr ""
164
- "支持本外掛,請在 <a href=\"http://wordpress.org/plugins/wp-ulike\"> 外掛目錄"
165
- "迴響 </a> 提交 5 星級投票"
166
 
167
- #: ../inc/wp-options.php:174
168
- msgid ""
169
- "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
170
- msgstr "關注我的 <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
 
 
 
171
 
172
- #: ../inc/wp-options.php:175
 
 
 
 
 
 
 
 
 
 
 
 
173
  msgid ""
174
- "Plugin Author Blog: <a href=\"http://alimir.ir\"> Wordpress & Programming "
175
- "World.</a>"
176
  msgstr ""
177
- "外掛作者部落格:<a href=\"http://alimir.ir\"> Wordpress & Programming World</"
178
- "a><br /> 感謝 <a href=\"http://www.arefly.com\" target=\"_blank\">暢想資源</"
179
- "a> 提供繁體中文支持"
180
 
181
- #: ../inc/wp-ulike-comments.php:34 ../inc/wp-ulike-comments.php:50
182
- #: ../inc/wp-ulike-posts.php:35 ../inc/wp-ulike-posts.php:51
183
- msgid "Already Voted"
184
- msgstr "已經投票"
185
 
186
- #: ../inc/wp-ulike-comments.php:61
187
- msgid "Users who have LIKED this comment:"
188
- msgstr "誰也喜歡這個評論用戶:"
189
 
190
- #: ../inc/wp-ulike-comments.php:73
191
- msgid "You need to login in order to like this comment: "
192
- msgstr "你需要為了喜歡這個評論登陸:"
193
 
194
- #: ../inc/wp-ulike-comments.php:73 ../inc/wp-ulike-posts.php:75
195
- msgid "click here"
196
- msgstr "點擊這裡"
197
 
198
- #: ../inc/wp-ulike-posts.php:63
199
- msgid "Users who have LIKED this post:"
200
- msgstr "喜歡該文章的用戶:"
201
 
202
- #: ../inc/wp-ulike-posts.php:75
203
- msgid "You need to login in order to like this post: "
204
- msgstr "你需要登錄後才能喜歡這篇文章:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
205
 
206
- #: ../inc/wp-widget.php:8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  msgid "WP Ulike - Most Liked Posts"
208
  msgstr "WP Ulike - 最多人喜歡的文章"
209
 
210
- #: ../inc/wp-widget.php:9
211
  msgid "This widget allows you to show most liked posts."
212
  msgstr "本小工具允許你顯示最多人喜歡的文章"
213
 
214
- #: ../inc/wp-widget.php:51
215
  msgid "Most Liked Posts"
216
  msgstr "最多人喜歡的文章"
217
 
218
- #: ../inc/wp-widget.php:55 ../inc/wp-widget.php:136
219
  msgid "Title:"
220
  msgstr "標題:"
221
 
222
- #: ../inc/wp-widget.php:60
223
  msgid "Number of posts to show:"
224
  msgstr "要顯示的文章數量:"
225
 
226
- #: ../inc/wp-widget.php:66
227
- msgid "Activate post like count"
228
- msgstr "開啟「喜歡文章」計數"
229
 
230
- #: ../inc/wp-widget.php:87
231
  msgid "WP Ulike - Most Liked Users"
232
  msgstr "WP Ulike - 喜歡最多的用戶"
233
 
234
- #: ../inc/wp-widget.php:88
235
  msgid "This widget allows you to show most liked users avatars."
236
  msgstr "本小工具允許你顯示喜歡最多的用戶的大頭貼"
237
 
238
- #: ../inc/wp-widget.php:132
239
  msgid "Most Liked Users"
240
  msgstr "最多喜歡的用戶"
241
 
242
- #: ../inc/wp-widget.php:141
243
  msgid "Number of users to show:"
244
  msgstr "要显示的用戶数量:"
245
 
246
- #: ../inc/wp-widget.php:146
247
  msgid "User avatar size:"
248
  msgstr "用戶大頭貼尺寸"
249
 
250
- #: ../inc/wp-widget.php:152
251
- msgid "Activate user like count"
252
- msgstr "開啟「用戶喜歡」計數"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
 
254
  #~ msgid "<strong>Active</strong> this option."
255
  #~ msgstr "<strong>激活</strong>這個選項"
@@ -265,9 +723,6 @@ msgstr "開啟「用戶喜歡」計數"
265
  #~ msgid "Show post count"
266
  #~ msgstr "顯示文章計數"
267
 
268
- #~ msgid "Save Options"
269
- #~ msgstr "Enregistrer les options"
270
-
271
  #~ msgid "jQuery framework"
272
  #~ msgstr "Librairie jQuery"
273
 
2
  msgstr ""
3
  "Project-Id-Version: WP ULike\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-11-25 16:37+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Alimir <info@alimir.ir>\n"
8
  "Language-Team: 超級efly <eflyjason@gmail.com>\n"
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
  "Plural-Forms: nplurals=1; plural=0;\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
  "X-Poedit-SearchPath-1: ..\n"
20
 
21
+ #: ../admin/about.php:45
22
+ msgid "Welcome to WP ULike"
23
+ msgstr ""
24
+
25
+ #: ../admin/about.php:47
26
+ msgid ""
27
+ "Thank you for choosing WP ULike! This version is our leanest and most "
28
+ "powerful version yet."
29
+ msgstr ""
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
+ #: ../admin/about.php:101
84
+ msgid "Project Leaders"
85
+ msgstr ""
86
+
87
+ #: ../admin/about.php:106
88
+ msgid "Project Lead & Developer"
89
+ msgstr ""
90
+
91
+ #: ../admin/about.php:110
92
+ msgid "Translations"
93
+ msgstr ""
94
+
95
+ #: ../admin/about.php:120
96
+ msgid "Like this plugin?"
97
+ msgstr "喜歡這個外掛?"
98
+
99
+ #: ../admin/about.php:121
100
+ msgid ""
101
+ "Show your support by Rating 5 Star in <a href=\"http://wordpress.org/plugins/"
102
+ "wp-ulike\"> Plugin Directory reviews</a>"
103
+ msgstr ""
104
+ "支持本外掛,請在 <a href=\"http://wordpress.org/plugins/wp-ulike\"> 外掛目錄"
105
+ "迴響 </a> 提交 5 星級投票"
106
+
107
+ #: ../admin/admin.php:35
108
+ msgid "WP ULike Settings"
109
+ msgstr ""
110
+
111
+ #: ../admin/admin.php:38 ../wp-ulike.php:16
112
  msgid "WP ULike"
113
  msgstr "WP ULike"
114
 
115
+ #: ../admin/admin.php:43
116
+ msgid "General"
117
+ msgstr ""
118
+
119
+ #: ../admin/admin.php:47
120
+ msgid "Button Type"
121
+ msgstr ""
122
+
123
+ #: ../admin/admin.php:50
124
+ msgid "Icon"
125
+ msgstr ""
126
+
127
+ #: ../admin/admin.php:51
128
+ msgid "Text"
129
  msgstr ""
 
 
130
 
131
+ #: ../admin/admin.php:55 ../admin/classes/class-widget.php:106
132
  msgid "Like"
133
  msgstr "喜歡"
134
 
135
+ #: ../admin/admin.php:56
136
+ msgid "Button Text"
137
+ msgstr ""
138
+
139
+ #: ../admin/admin.php:60
140
+ msgid "Button Icon"
141
+ msgstr ""
142
+
143
+ #: ../admin/admin.php:61 ../admin/admin.php:250
144
+ msgid "Best size: 16x16"
145
+ msgstr ""
146
 
147
+ #: ../admin/admin.php:66
148
+ msgid "Format Number"
149
+ msgstr ""
150
+
151
+ #: ../admin/admin.php:67 ../admin/admin.php:107 ../admin/admin.php:114
152
+ #: ../admin/admin.php:143 ../admin/admin.php:150 ../admin/admin.php:179
153
+ #: ../admin/admin.php:186 ../admin/admin.php:193 ../admin/admin.php:215
154
+ #: ../admin/admin.php:261 ../admin/admin.php:268 ../admin/admin.php:275
155
+ msgid "Activate"
156
+ msgstr "激活"
157
+
158
+ #: ../admin/admin.php:68
159
+ msgid "Convert numbers of Likes with string (kilobyte) format."
160
+ msgstr ""
161
+
162
+ #: ../admin/admin.php:71
163
+ msgid "Unlike"
164
+ msgstr ""
165
+
166
+ #: ../admin/admin.php:72
167
+ msgid "Text After Like"
168
+ msgstr ""
169
+
170
+ #: ../admin/admin.php:75
171
+ msgid "Like Me Again!"
172
+ msgstr ""
173
 
174
+ #: ../admin/admin.php:76
175
+ msgid "Text After Unlike"
176
+ msgstr ""
177
 
178
+ #: ../admin/admin.php:79
179
+ msgid "You have not permission to unlike"
180
+ msgstr ""
181
 
182
+ #: ../admin/admin.php:80
183
+ msgid "Permission Text"
184
+ msgstr ""
185
 
186
+ #: ../admin/admin.php:87
187
+ msgid "Settings saved."
188
+ msgstr ""
189
 
190
+ #: ../admin/admin.php:94
191
+ msgid "Posts"
192
+ msgstr ""
193
 
194
+ #: ../admin/admin.php:99 ../admin/admin.php:135 ../admin/admin.php:171
195
  msgid "Automatic display"
196
  msgstr "自動顯示"
197
 
198
+ #: ../admin/admin.php:100
199
  msgid ""
200
  "<strong>On all posts</strong> (home, archives, search) at the bottom of the "
201
  "post"
202
  msgstr "<strong>在所有文章</strong>(首頁、存檔、搜索)文章的底部"
203
 
204
+ #: ../admin/admin.php:101
205
+ msgid ""
206
+ "If you disable this option, you have to put manually this code on wordpress "
207
+ "while loop"
208
+ msgstr ""
209
+
210
+ #: ../admin/admin.php:106 ../admin/admin.php:142 ../admin/admin.php:178
211
+ msgid "Only registered Users"
212
+ msgstr "只有已注冊的用戶"
213
+
214
+ #: ../admin/admin.php:108
215
+ msgid "<strong>Only</strong> registered users have permission to like posts."
216
+ msgstr "<strong>只有</strong> 已注冊的用戶才有權限喜歡文章。"
217
+
218
+ #: ../admin/admin.php:113 ../admin/admin.php:149 ../admin/admin.php:192
219
+ msgid "Show Liked Users Box"
220
+ msgstr ""
221
+
222
+ #: ../admin/admin.php:115 ../admin/admin.php:151 ../admin/admin.php:194
223
+ msgid ""
224
+ "Active this option to show liked users avatars in the bottom of button like."
225
+ msgstr ""
226
 
227
+ #: ../admin/admin.php:120 ../admin/admin.php:156 ../admin/admin.php:199
228
+ msgid "Size of Gravatars"
229
+ msgstr ""
230
+
231
+ #: ../admin/admin.php:121 ../admin/admin.php:157 ../admin/admin.php:200
232
+ msgid "Size of Gravatars to return (max is 512)"
233
+ msgstr ""
234
+
235
+ #: ../admin/admin.php:124
236
+ msgid "Users who have LIKED this post:"
237
+ msgstr "喜歡該文章的用戶:"
238
+
239
+ #: ../admin/admin.php:125 ../admin/admin.php:161 ../admin/admin.php:204
240
+ msgid "Users Like Box Title"
241
+ msgstr ""
242
 
243
+ #: ../admin/admin.php:130
244
+ msgid "Comments"
245
  msgstr ""
246
 
247
+ #: ../admin/admin.php:136
248
  msgid "<strong>On all comments</strong> at the bottom of the comment"
249
  msgstr "<strong>在所有文章</strong>(首頁、存檔、搜索)文章的底部"
250
 
251
+ #: ../admin/admin.php:137
252
  msgid ""
253
  "If you disable this option, you have to put manually this code on comments "
254
  "text"
255
  msgstr "如果你禁用這個選項,你必須手動添加代碼 "
256
 
257
+ #: ../admin/admin.php:144
258
+ msgid ""
259
+ "<strong>Only</strong> registered users have permission to like comments."
260
+ msgstr ""
261
 
262
+ #: ../admin/admin.php:160
263
+ msgid "Users who have LIKED this comment:"
264
+ msgstr "誰也喜歡這個評論用戶:"
 
265
 
266
+ #: ../admin/admin.php:166
267
+ msgid "BuddyPress"
268
+ msgstr ""
269
 
270
+ #: ../admin/admin.php:172
271
+ msgid "<strong>On all buddypress activities</strong> at the top of activity"
272
+ msgstr ""
273
 
274
+ #: ../admin/admin.php:173
275
+ msgid ""
276
+ "If you disable this option, you have to put manually this code on buddypres "
277
+ "activities content"
278
+ msgstr ""
279
 
280
+ #: ../admin/admin.php:180
281
+ msgid ""
282
+ "<strong>Only</strong> registered users have permission to like activities."
283
  msgstr ""
284
 
285
+ #: ../admin/admin.php:185
286
+ msgid "BuddyPress Activity"
287
+ msgstr ""
288
+
289
+ #: ../admin/admin.php:187
290
+ msgid "insert new likes in buddyPress activity page"
291
+ msgstr ""
292
+
293
+ #: ../admin/admin.php:203
294
+ msgid "Users who have liked this activity:"
295
  msgstr ""
296
 
297
+ #: ../admin/admin.php:209
298
+ msgid "Customize"
299
+ msgstr ""
300
+
301
+ #: ../admin/admin.php:214
302
  msgid "Custom Style"
303
  msgstr ""
304
 
305
+ #: ../admin/admin.php:219
306
+ msgid "Active this option to see the custom style settings."
307
  msgstr ""
308
 
309
+ #: ../admin/admin.php:223
310
  msgid "Button style"
311
  msgstr ""
312
 
313
+ #: ../admin/admin.php:224 ../admin/admin.php:237
314
  msgid "Background"
315
  msgstr ""
316
 
317
+ #: ../admin/admin.php:228 ../admin/admin.php:241
318
  msgid "Border Color"
319
  msgstr ""
320
 
321
+ #: ../admin/admin.php:232 ../admin/admin.php:245
322
  msgid "Text Color"
323
  msgstr ""
324
 
325
+ #: ../admin/admin.php:236
326
  msgid "Counter Style"
327
  msgstr ""
328
 
329
+ #: ../admin/admin.php:249
330
+ msgid "Loading Animation"
331
+ msgstr ""
332
 
333
+ #: ../admin/admin.php:255
334
+ msgid "Dashboard"
 
 
335
  msgstr ""
 
 
336
 
337
+ #: ../admin/admin.php:260
338
+ msgid "Visit Post Logs Menu"
339
+ msgstr ""
340
+
341
+ #: ../admin/admin.php:262
342
+ msgid "If you deactivate this option, \"Post Likes Logs\" Menu will hidden."
343
+ msgstr ""
344
 
345
+ #: ../admin/admin.php:267
346
+ msgid "Visit Comment Logs Menu"
347
+ msgstr ""
348
+
349
+ #: ../admin/admin.php:269
350
+ msgid "If you deactivate this option, \"Comment Likes Logs\" Menu will hidden."
351
+ msgstr ""
352
+
353
+ #: ../admin/admin.php:274
354
+ msgid "Visit Activity Logs Menu"
355
+ msgstr ""
356
+
357
+ #: ../admin/admin.php:276
358
  msgid ""
359
+ "If you deactivate this option, \"Activity Likes Logs\" Menu will hidden."
 
360
  msgstr ""
 
 
 
361
 
362
+ #: ../admin/admin.php:288 ../admin/logs.php:34
363
+ msgid "Post Likes Logs"
364
+ msgstr ""
 
365
 
366
+ #: ../admin/admin.php:292 ../admin/logs.php:147
367
+ msgid "Comment Likes Logs"
368
+ msgstr ""
369
 
370
+ #: ../admin/admin.php:296 ../admin/logs.php:260
371
+ msgid "Activity Likes Logs"
372
+ msgstr ""
373
 
374
+ #: ../admin/admin.php:299
375
+ msgid "About WP ULike"
376
+ msgstr ""
377
 
378
+ #: ../admin/classes/class-settings.php:16
379
+ msgid "Custom Settings"
380
+ msgstr ""
381
 
382
+ #: ../admin/classes/class-settings.php:27
383
+ msgid "Save Settings"
384
+ msgstr ""
385
+
386
+ #: ../admin/classes/class-settings.php:28
387
+ msgid "Reset Settings"
388
+ msgstr ""
389
+
390
+ #: ../admin/classes/class-settings.php:91
391
+ msgid "Default settings have been reset."
392
+ msgstr ""
393
+
394
+ #: ../admin/classes/class-settings.php:167
395
+ msgid ""
396
+ "Do you really want to reset all these settings to their default values ?"
397
+ msgstr ""
398
+
399
+ #: ../admin/classes/class-settings.php:232
400
+ #: ../admin/classes/class-settings.php:243
401
+ #: ../admin/classes/class-settings.php:267
402
+ msgid "No options defined."
403
+ msgstr ""
404
 
405
+ #: ../admin/classes/class-settings.php:254
406
+ #, php-format
407
+ msgid "Select %s"
408
+ msgstr ""
409
+
410
+ #: ../admin/classes/class-settings.php:255
411
+ #, php-format
412
+ msgid "Remove %s"
413
+ msgstr ""
414
+
415
+ #: ../admin/classes/class-settings.php:279
416
+ msgid "No action defined."
417
+ msgstr ""
418
+
419
+ #: ../admin/classes/class-widget.php:8
420
  msgid "WP Ulike - Most Liked Posts"
421
  msgstr "WP Ulike - 最多人喜歡的文章"
422
 
423
+ #: ../admin/classes/class-widget.php:9
424
  msgid "This widget allows you to show most liked posts."
425
  msgstr "本小工具允許你顯示最多人喜歡的文章"
426
 
427
+ #: ../admin/classes/class-widget.php:51
428
  msgid "Most Liked Posts"
429
  msgstr "最多人喜歡的文章"
430
 
431
+ #: ../admin/classes/class-widget.php:55 ../admin/classes/class-widget.php:136
432
  msgid "Title:"
433
  msgstr "標題:"
434
 
435
+ #: ../admin/classes/class-widget.php:60
436
  msgid "Number of posts to show:"
437
  msgstr "要顯示的文章數量:"
438
 
439
+ #: ../admin/classes/class-widget.php:66 ../admin/classes/class-widget.php:152
440
+ msgid "Activate Like Counter"
441
+ msgstr ""
442
 
443
+ #: ../admin/classes/class-widget.php:87
444
  msgid "WP Ulike - Most Liked Users"
445
  msgstr "WP Ulike - 喜歡最多的用戶"
446
 
447
+ #: ../admin/classes/class-widget.php:88
448
  msgid "This widget allows you to show most liked users avatars."
449
  msgstr "本小工具允許你顯示喜歡最多的用戶的大頭貼"
450
 
451
+ #: ../admin/classes/class-widget.php:132
452
  msgid "Most Liked Users"
453
  msgstr "最多喜歡的用戶"
454
 
455
+ #: ../admin/classes/class-widget.php:141
456
  msgid "Number of users to show:"
457
  msgstr "要显示的用戶数量:"
458
 
459
+ #: ../admin/classes/class-widget.php:146
460
  msgid "User avatar size:"
461
  msgstr "用戶大頭貼尺寸"
462
 
463
+ #: ../admin/logs.php:33 ../admin/logs.php:146 ../admin/logs.php:259
464
+ msgid "WP ULike Logs"
465
+ msgstr ""
466
+
467
+ #: ../admin/logs.php:43 ../admin/logs.php:156 ../admin/logs.php:269
468
+ msgid "ID"
469
+ msgstr ""
470
+
471
+ #: ../admin/logs.php:44 ../admin/logs.php:157 ../admin/logs.php:270
472
+ msgid "Username"
473
+ msgstr ""
474
+
475
+ #: ../admin/logs.php:45 ../admin/logs.php:158 ../admin/logs.php:271
476
+ msgid "Status"
477
+ msgstr ""
478
+
479
+ #: ../admin/logs.php:46
480
+ msgid "Post ID"
481
+ msgstr ""
482
+
483
+ #: ../admin/logs.php:47
484
+ msgid "Post Title"
485
+ msgstr ""
486
+
487
+ #: ../admin/logs.php:48 ../admin/logs.php:161 ../admin/logs.php:273
488
+ msgid "Date / Time"
489
+ msgstr ""
490
+
491
+ #: ../admin/logs.php:49 ../admin/logs.php:162 ../admin/logs.php:274
492
+ msgid "IP"
493
+ msgstr ""
494
+
495
+ #: ../admin/logs.php:96
496
+ msgid "Post Likes Logs Stats"
497
+ msgstr ""
498
+
499
+ #: ../admin/logs.php:100 ../admin/logs.php:213 ../admin/logs.php:322
500
+ msgid "Total Users Liked:"
501
+ msgstr ""
502
+
503
+ #: ../admin/logs.php:104
504
+ msgid "Total Posts Liked:"
505
+ msgstr ""
506
+
507
+ #: ../admin/logs.php:108 ../admin/logs.php:221 ../admin/logs.php:330
508
+ msgid "Total Likes Sum:"
509
+ msgstr ""
510
+
511
+ #: ../admin/logs.php:115 ../admin/logs.php:228 ../admin/logs.php:337
512
+ msgid ""
513
+ "<strong>ERROR:</strong> No Record Found. (This problem is created because "
514
+ "you don't have any data on this table)"
515
+ msgstr ""
516
+
517
+ #: ../admin/logs.php:159
518
+ msgid "Comment ID"
519
+ msgstr ""
520
+
521
+ #: ../admin/logs.php:160
522
+ msgid "Comment Author"
523
+ msgstr ""
524
+
525
+ #: ../admin/logs.php:209
526
+ msgid "Comment Likes Logs Stats"
527
+ msgstr ""
528
+
529
+ #: ../admin/logs.php:217
530
+ msgid "Total Comments Liked:"
531
+ msgstr ""
532
+
533
+ #: ../admin/logs.php:272
534
+ msgid "Activity ID"
535
+ msgstr ""
536
+
537
+ #: ../admin/logs.php:318
538
+ msgid "Activity Likes Logs Stats"
539
+ msgstr ""
540
+
541
+ #: ../admin/logs.php:326
542
+ msgid "Total Activities Liked:"
543
+ msgstr ""
544
+
545
+ #: ../inc/wp-functions.php:158
546
+ msgid "WP ULike Activity"
547
+ msgstr ""
548
+
549
+ #: ../inc/wp-functions.php:168 ../inc/wp-functions.php:178
550
+ msgid "liked"
551
+ msgstr ""
552
+
553
+ #: ../inc/wp-functions.php:168
554
+ msgid "comment"
555
+ msgstr ""
556
+
557
+ #: ../inc/wp-strings.php:3
558
+ msgid "WP Ulike - Most Liked Comments"
559
+ msgstr ""
560
+
561
+ #: ../inc/wp-strings.php:4
562
+ msgid "This widget allows you to show most liked comments."
563
+ msgstr ""
564
+
565
+ #: ../inc/wp-strings.php:5
566
+ msgid "Most Liked Comments"
567
+ msgstr ""
568
+
569
+ #: ../inc/wp-strings.php:6
570
+ msgid "WP Ulike - Most Liked Activities"
571
+ msgstr ""
572
+
573
+ #: ../inc/wp-strings.php:7
574
+ msgid "This widget allows you to show most liked activities."
575
+ msgstr ""
576
+
577
+ #: ../inc/wp-strings.php:8
578
+ msgid "Most Liked Activities"
579
+ msgstr ""
580
+
581
+ #: ../inc/wp-strings.php:9
582
+ msgid "Users Login Text"
583
+ msgstr ""
584
+
585
+ #: ../inc/wp-strings.php:10
586
+ msgid "Allow To Like"
587
+ msgstr ""
588
+
589
+ #: ../inc/wp-strings.php:11
590
+ msgid "Guests Only"
591
+ msgstr ""
592
+
593
+ #: ../inc/wp-strings.php:12
594
+ msgid "Registered Users Only"
595
+ msgstr ""
596
+
597
+ #: ../inc/wp-strings.php:13
598
+ msgid "Registered Users And Guests"
599
+ msgstr ""
600
+
601
+ #: ../inc/wp-strings.php:14
602
+ msgid "Who Is Allowed To Like?"
603
+ msgstr ""
604
+
605
+ #: ../inc/wp-strings.php:15
606
+ msgid "Filter Options:"
607
+ msgstr ""
608
+
609
+ #: ../inc/wp-strings.php:16
610
+ msgid "Sort Options:"
611
+ msgstr ""
612
+
613
+ #: ../inc/wp-strings.php:17
614
+ msgid "Logging Method"
615
+ msgstr ""
616
+
617
+ #: ../inc/wp-strings.php:18
618
+ msgid "Do Not Log"
619
+ msgstr ""
620
+
621
+ #: ../inc/wp-strings.php:19
622
+ msgid "Logged By Cookie"
623
+ msgstr ""
624
+
625
+ #: ../inc/wp-strings.php:20
626
+ msgid "Logged By IP"
627
+ msgstr ""
628
+
629
+ #: ../inc/wp-strings.php:21
630
+ msgid "Logged By Cookie & IP"
631
+ msgstr ""
632
+
633
+ #: ../inc/wp-strings.php:22
634
+ msgid "Logged By Username"
635
+ msgstr ""
636
+
637
+ #: ../inc/wp-strings.php:23
638
+ msgid "Wp ULike Template"
639
+ msgstr ""
640
+
641
+ #: ../inc/wp-strings.php:24
642
+ msgid "Dislike"
643
+ msgstr ""
644
+
645
+ #: ../inc/wp-strings.php:25
646
+ msgid "Dislike Support"
647
+ msgstr ""
648
+
649
+ #: ../inc/wp-strings.php:26
650
+ msgid "Text After Dislike"
651
+ msgstr ""
652
+
653
+ #: ../inc/wp-ulike-buddypress.php:73
654
+ msgid "You need to login in order to like this activity: "
655
+ msgstr ""
656
+
657
+ #: ../inc/wp-ulike-buddypress.php:73 ../inc/wp-ulike-comments.php:73
658
+ #: ../inc/wp-ulike-posts.php:75
659
+ msgid "click here"
660
+ msgstr "點擊這裡"
661
+
662
+ #: ../inc/wp-ulike-comments.php:73
663
+ msgid "You need to login in order to like this comment: "
664
+ msgstr "你需要為了喜歡這個評論登陸:"
665
+
666
+ #: ../inc/wp-ulike-posts.php:75
667
+ msgid "You need to login in order to like this post: "
668
+ msgstr "你需要登錄後才能喜歡這篇文章:"
669
+
670
+ #: ../wp-ulike.php:17
671
+ msgid ""
672
+ "WP ULike plugin allows to integrate a beautiful Ajax Like Button into your "
673
+ "wordPress website to allow your visitors to like and unlike pages, posts, "
674
+ "comments AND buddypress activities. Its very simple to use and supports many "
675
+ "options."
676
+ msgstr ""
677
+
678
+ #~ msgid "Activate user like count"
679
+ #~ msgstr "開啟「用戶喜歡」計數"
680
+
681
+ #~ msgid "You Like This"
682
+ #~ msgstr "你喜歡這個"
683
+
684
+ #~ msgid "You Dislike This"
685
+ #~ msgstr "你不喜歡這個"
686
+
687
+ #~ msgid "Configuration"
688
+ #~ msgstr "配置"
689
+
690
+ #~ msgid "Image or text?"
691
+ #~ msgstr "圖片或文本?"
692
+
693
+ #~ msgid "wherever you want in your template."
694
+ #~ msgstr " 到模板中你想要添加的地方。"
695
+
696
+ #~ msgid ""
697
+ #~ "Follow me on <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
698
+ #~ msgstr ""
699
+ #~ "關注我的 <a href=\"https://www.facebook.com/alimir.ir\"> Facebook</a>"
700
+
701
+ #~ msgid ""
702
+ #~ "Plugin Author Blog: <a href=\"http://alimir.ir\"> Wordpress & Programming "
703
+ #~ "World.</a>"
704
+ #~ msgstr ""
705
+ #~ "外掛作者部落格:<a href=\"http://alimir.ir\"> Wordpress & Programming "
706
+ #~ "World</a><br /> 感謝 <a href=\"http://www.arefly.com\" target=\"_blank\">"
707
+ #~ "暢想資源</a> 提供繁體中文支持"
708
+
709
+ #~ msgid "Already Voted"
710
+ #~ msgstr "已經投票"
711
 
712
  #~ msgid "<strong>Active</strong> this option."
713
  #~ msgstr "<strong>激活</strong>這個選項"
723
  #~ msgid "Show post count"
724
  #~ msgstr "顯示文章計數"
725
 
 
 
 
726
  #~ msgid "jQuery framework"
727
  #~ msgstr "Librairie jQuery"
728
 
lang/defualt.mo ADDED
Binary file
lang/defualt.po ADDED
@@ -0,0 +1,407 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.10\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: _e;__\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
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 ""
readme.txt CHANGED
@@ -2,18 +2,18 @@
2
  Contributors: alimir
3
  Donate link: http://alimir.ir
4
  Author: Ali Mirzaei
5
- Tags: wp ulike, wordpress youlike plugin, like button, rating, vote, voting, most liked posts, wordpress like page, wordpress like post, wordpress vote page, wordpress vote post, wp like page, wp like post, wp like plugin
6
- Requires at least: 3.0
7
- Tested up to: 4.0
8
- Stable tag: 1.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
- WP ULike enables you to add Ajax Like button into your WordPress and allowing your visitors to like and dislike posts,comments AND BP activities.
13
 
14
  == Description ==
15
 
16
- WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and dislike pages, posts, comments AND buddypress activities. Its very simple to use and supports many options.
17
 
18
  = Demo =
19
 
@@ -54,11 +54,12 @@ Also you can use this function and shortcode for the post likes:
54
  * France
55
  * Chinese (Thanks Changmeng Hu)
56
  * Chinese Tradition (Thanks Arefly)
 
57
 
58
  = Plugin Author =
59
  Website: <a href="http://about.alimir.ir" target="_blank">Ali Mirzaei</a><br />
60
- Follow on <a href="https://www.facebook.com/alimir.ir" target="_blank">Facebook</a>
61
- You can catch catch him on twitter as @alimirir
62
 
63
  == Installation ==
64
 
@@ -111,6 +112,17 @@ endif;
111
 
112
  == Changelog ==
113
 
 
 
 
 
 
 
 
 
 
 
 
114
  = 1.7 =
115
  * Added: Buddypress likes support.
116
  * Added: Post likes logs.
@@ -156,6 +168,9 @@ endif;
156
 
157
  == Upgrade Notice ==
158
 
 
 
 
159
  = 1.7 =
160
  After plugin update: If the new database table won't fixed, try deactivating the plugin and reactivating that one at a time.
161
 
2
  Contributors: alimir
3
  Donate link: http://alimir.ir
4
  Author: Ali Mirzaei
5
+ Tags: wp ulike, wordpress youlike plugin, like button, rating, vote, voting, most liked posts, wordpress like page, wordpress like post, wordpress vote page, wordpress vote post, wp like page, wp like post, wp like plugin, buddypress like system, buddypress votes, comment like system, voting button
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
 
12
+ WP ULike enables you to add Ajax Like button into your WordPress and allowing your visitors to like and unlike posts,comments AND BP activities.
13
 
14
  == Description ==
15
 
16
+ WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments AND buddypress activities. Its very simple to use and supports many options.
17
 
18
  = Demo =
19
 
54
  * France
55
  * Chinese (Thanks Changmeng Hu)
56
  * Chinese Tradition (Thanks Arefly)
57
+ * Dutch (Thanks Joey)
58
 
59
  = Plugin Author =
60
  Website: <a href="http://about.alimir.ir" target="_blank">Ali Mirzaei</a><br />
61
+ Follow on <a href="https://www.facebook.com/alimir.ir" target="_blank">Facebook</a><br />
62
+ You can catch me on twitter as @alimirir
63
 
64
  == Installation ==
65
 
112
 
113
  == Changelog ==
114
 
115
+ = 1.8 =
116
+ * Added: New setting system with separate tabs.
117
+ * Added: Option to upload button icon.
118
+ * Added: Option to upload loading animation.
119
+ * Added: Dutch (nl_NL) language. (Thanks Joey)
120
+ * Added: Avatar size option for the users liked box.
121
+ * Modified: New names for some functions.
122
+ * Modified: plugin dislike setting to unlike.
123
+ * Updated: Persian language file.
124
+ * Updated: Chinese language file.
125
+
126
  = 1.7 =
127
  * Added: Buddypress likes support.
128
  * Added: Post likes logs.
168
 
169
  == Upgrade Notice ==
170
 
171
+ = 1.8 =
172
+ In this version, we have made many changes on plugin functions and settings. So if you lose your last settings, try to add them again. :)
173
+
174
  = 1.7 =
175
  After plugin update: If the new database table won't fixed, try deactivating the plugin and reactivating that one at a time.
176
 
wp-ulike.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  Plugin Name:WP ULike
4
  Plugin URI: http://wordpress.org/plugins/wp-ulike
5
- Description: WP ULike plugin allows to integrate Like Button into your WordPress website to allow your visitors to like pages, posts AND comments. Its very simple to use and support a widget to display the most liked posts.
6
- Version: 1.7
7
  Author: Ali Mirzaei
8
  Author URI: http://about.alimir.ir
9
  Text Domain: alimir
@@ -14,13 +14,13 @@ License: GPL2
14
  //Load Translations
15
  load_plugin_textdomain( 'alimir', false, dirname( plugin_basename( __FILE__ ) ) .'/lang/' );
16
  __('WP ULike', 'alimir');
17
- __('WP ULike plugin allows to integrate Like Button into your WordPress website to allow your visitors to like pages, posts AND comments. Its very simple to use and support a widget to display the most liked posts.', 'alimir');
18
 
19
  //Do not change this value
20
  define('WP_ULIKE_DB_VERSION', '1.2');
21
 
22
  //register activation hook
23
- function wp_ulike_options() {
24
  global $wpdb;
25
 
26
  $table_name = $wpdb->prefix . "ulike";
@@ -77,45 +77,16 @@ License: GPL2
77
  update_option('wp_ulike_dbVersion', WP_ULIKE_DB_VERSION);
78
  }
79
 
80
- add_option('wp_ulike_onPage', '1', '', 'yes');
81
- add_option('wp_ulike_onComments', '1', '', 'yes');
82
- add_option('wp_ulike_onActivities', '0', '', 'yes');
83
- add_option('wp_ulike_onlyRegistered', '0', '', 'yes');
84
- add_option('wp_ulike_bp_activity_add', '0', '', 'yes');
85
- add_option('wp_ulike_user_like_box', '1', '', 'yes');
86
- add_option('wp_ulike_textOrImage', 'image', '', 'yes');
87
- add_option('wp_ulike_text', __('Like','alimir'), '', 'yes');
88
- add_option('wp_ulike_btn_text', __('You Like This','alimir'), '', 'yes');
89
- add_option('wp_ulike_dislike_text', __('You Dislike This','alimir'), '', 'yes');
90
- add_option('wp_ulike_format_number', '0', '', 'yes');
91
- add_option('wp_ulike_style', '0', '', 'yes');
92
  }
93
- register_activation_hook(__FILE__, 'wp_ulike_options');
94
 
95
  //plugin update check
 
96
  function wp_ulike_update_db_check() {
97
  if ( get_site_option( 'wp_ulike_dbVersion' ) != WP_ULIKE_DB_VERSION ) {
98
- wp_ulike_options();
99
  }
100
  }
101
- add_action( 'plugins_loaded', 'wp_ulike_update_db_check' );
102
-
103
- //register uninstall hook
104
- function wp_ulike_unset_options() {
105
- delete_option('wp_ulike_onPage');
106
- delete_option('wp_ulike_onComments');
107
- delete_option('wp_ulike_onActivities');
108
- delete_option('wp_ulike_onlyRegistered');
109
- delete_option('wp_ulike_bp_activity_add');
110
- delete_option('wp_ulike_user_like_box');
111
- delete_option('wp_ulike_textOrImage');
112
- delete_option('wp_ulike_text');
113
- delete_option('wp_ulike_btn_text');
114
- delete_option('wp_ulike_dislike_text');
115
- delete_option('wp_ulike_format_number');
116
- delete_option('wp_ulike_style');
117
- }
118
- register_uninstall_hook(__FILE__, 'wp_ulike_unset_options');
119
 
120
  //get the plugin version
121
  function wp_ulike_get_version() {
@@ -124,17 +95,20 @@ License: GPL2
124
  return $plugin_version;
125
  }
126
 
127
- //Load plugin widget
128
- include( plugin_dir_path( __FILE__ ) . 'inc/wp-widget.php');
129
  //Load plugin setting panel
130
- include( plugin_dir_path( __FILE__ ) . 'inc/wp-options.php');
 
 
 
 
131
  //Load plugin scripts
132
  include( plugin_dir_path( __FILE__ ) . 'inc/wp-script.php');
133
- //Load general functions
134
- include( plugin_dir_path( __FILE__ ) . 'inc/wp-functions.php');
135
  //Load WP ULike posts functions
136
  include( plugin_dir_path( __FILE__ ) . 'inc/wp-ulike-posts.php');
 
137
  //Load WP ULike comments functions
138
  include( plugin_dir_path( __FILE__ ) . 'inc/wp-ulike-comments.php');
 
139
  //Load WP ULike buddypress functions
140
  include( plugin_dir_path( __FILE__ ) . 'inc/wp-ulike-buddypress.php');
2
  /*
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
14
  //Load Translations
15
  load_plugin_textdomain( 'alimir', false, dirname( plugin_basename( __FILE__ ) ) .'/lang/' );
16
  __('WP ULike', 'alimir');
17
+ __('WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments AND buddypress activities. Its very simple to use and supports many options.', 'alimir');
18
 
19
  //Do not change this value
20
  define('WP_ULIKE_DB_VERSION', '1.2');
21
 
22
  //register activation hook
23
+ function wp_ulike_install() {
24
  global $wpdb;
25
 
26
  $table_name = $wpdb->prefix . "ulike";
77
  update_option('wp_ulike_dbVersion', WP_ULIKE_DB_VERSION);
78
  }
79
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  }
81
+ register_activation_hook(__FILE__, 'wp_ulike_install');
82
 
83
  //plugin update check
84
+ add_action( 'plugins_loaded', 'wp_ulike_update_db_check' );
85
  function wp_ulike_update_db_check() {
86
  if ( get_site_option( 'wp_ulike_dbVersion' ) != WP_ULIKE_DB_VERSION ) {
87
+ wp_ulike_install();
88
  }
89
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
 
91
  //get the plugin version
92
  function wp_ulike_get_version() {
95
  return $plugin_version;
96
  }
97
 
 
 
98
  //Load plugin setting panel
99
+ include( plugin_dir_path( __FILE__ ) . 'admin/admin.php');
100
+
101
+ //Load general functions
102
+ include( plugin_dir_path( __FILE__ ) . 'inc/wp-functions.php');
103
+
104
  //Load plugin scripts
105
  include( plugin_dir_path( __FILE__ ) . 'inc/wp-script.php');
106
+
 
107
  //Load WP ULike posts functions
108
  include( plugin_dir_path( __FILE__ ) . 'inc/wp-ulike-posts.php');
109
+
110
  //Load WP ULike comments functions
111
  include( plugin_dir_path( __FILE__ ) . 'inc/wp-ulike-comments.php');
112
+
113
  //Load WP ULike buddypress functions
114
  include( plugin_dir_path( __FILE__ ) . 'inc/wp-ulike-buddypress.php');